File tree 4 files changed +60
-5
lines changed
libs/components/Dashboard
4 files changed +60
-5
lines changed Original file line number Diff line number Diff line change 6
6
<form >
7
7
<div class =" space-y-12" >
8
8
<div class =" border-b border-gray-900/10 pb-12" >
9
- <div class =" mt-10 grid grid-cols-1 gap-x-6 gap-y-8 sm:grid-cols-6" >
9
+ <div class =" grid grid-cols-1 gap-x-6 gap-y-8 sm:grid-cols-6" >
10
10
<div class =" sm:col-span-3" >
11
11
<label for =" default-config" class =" block text-sm font-medium leading-6 text-gray-900" >Deploy AI
12
12
Endpoints</label >
27
27
</div >
28
28
</div >
29
29
30
- <div class =" sm:col-span-3" ></ div >
30
+ <div class =" sm:col-span-3" / >
31
31
32
32
<div class =" sm:col-span-3" >
33
33
<div >
Original file line number Diff line number Diff line change
1
+ <script setup lang="ts">
2
+
3
+ </script >
4
+
5
+ <template >
6
+ <form >
7
+ <div class =" space-y-12" >
8
+ <div class =" border-b border-gray-900/10 pb-12" >
9
+ <div class =" grid grid-cols-1 gap-x-6 gap-y-8 sm:grid-cols-6" >
10
+ <div class =" sm:col-span-3" >
11
+ <label for =" driver" class =" block text-sm font-medium leading-6 text-gray-900" >Driver</label >
12
+ <div class =" mt-2" >
13
+ <select id =" driver" name =" country" autocomplete =" country-name" class =" block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:max-w-xs sm:text-sm sm:leading-6" >
14
+ <option selected >
15
+ Fathom
16
+ </option >
17
+ <option >Google Analytics</option >
18
+ </select >
19
+ </div >
20
+ </div >
21
+ <div class =" sm:col-span-3" />
22
+
23
+ <div class =" sm:col-span-3" >
24
+ <label for =" google-analytics" class =" block text-sm font-medium leading-6 text-gray-900" >Google Analytics (tracking-id)</label >
25
+ <div class =" mt-2" >
26
+ <input id =" google-analytics" type =" text" name =" google-analytics" placeholder =" UA-XXXXXXXXX-X" class =" block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6" >
27
+ </div >
28
+ </div >
29
+
30
+ <div class =" sm:col-span-3" >
31
+ <label for =" fathom" class =" block text-sm font-medium leading-6 text-gray-900" >Fathom (site-id)</label >
32
+ <div class =" mt-2" >
33
+ <input id =" fathom" type =" text" placeholder =" WOLZMJDL" name =" fathom" class =" block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6" >
34
+ </div >
35
+ </div >
36
+ </div >
37
+ </div >
38
+ </div >
39
+ <div class =" mt-6 flex items-center justify-end gap-x-6" >
40
+ <button type =" button" class =" text-sm font-semibold leading-6 text-gray-900" >
41
+ Cancel
42
+ </button >
43
+ <Button
44
+ type =" submit"
45
+ class =" rounded-md bg-indigo-600 px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"
46
+ >
47
+ Save
48
+ </Button >
49
+ </div >
50
+ </form >
51
+ </template >
52
+
53
+ <style scoped>
54
+
55
+ </style >
Original file line number Diff line number Diff line change 1
1
<script setup lang="ts">
2
2
import AIForm from ' ./Forms/AIForm.vue'
3
+ import AnalyticsForm from ' ./Forms/AnalyticsForm.vue'
3
4
4
5
const props = defineProps ({
5
6
name: String ,
@@ -113,7 +114,7 @@ const pageTitle = computed < String > (() => options.find(option => option.key =
113
114
<AIForm />
114
115
</template >
115
116
<template v-else-if =" name === ' analytics' " >
116
- TODO Analytics
117
+ < AnalyticsForm />
117
118
</template >
118
119
<template v-else >
119
120
<div class =" text-center" >
@@ -127,7 +128,6 @@ const pageTitle = computed < String > (() => options.find(option => option.key =
127
128
</div >
128
129
</template >
129
130
</div >
130
-
131
131
</div >
132
132
</main >
133
133
</template >
Original file line number Diff line number Diff line change 26
26
<li >
27
27
<RouterLink to =" analytics" class =" sidebar-links group flex items-center justify-between" >
28
28
<div class =" flex items-center gap-x-2" >
29
- <div class =" i-heroicons-square-3-stack-3d text-gray-500 w-5 h-5 dark:text-gray-200 group-hover:text-gray-700 transition duration-150 ease-in-out" />
29
+ <div class =" i-heroicons-chart-bar text-gray-500 w-5 h-5 dark:text-gray-200 group-hover:text-gray-700 transition duration-150 ease-in-out" />
30
30
Analytics
31
31
</div >
32
32
<div class =" i-heroicons-chevron-right text-gray-500 w-5 h-5 dark:text-gray-200 group-hover:text-gray-700 transition duration-150 ease-in-out self-end" />
You can’t perform that action at this time.
0 commit comments