4
4
</ div >
5
5
< div class ="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-4 ">
6
6
< div >
7
- < label
8
- class ="rounded-lg relative border p-4 flex cursor-pointer h-full focus:outline-none bg-white "
7
+ < label class ="rounded-lg relative border p-4 flex cursor-pointer h-full focus:outline-none bg-white "
9
8
(click) ="toggleTab(0) " [ngClass] ="openTab === 0 ? 'border-black' : 'border-gray' ">
10
9
< input type ="radio " name ="upload-file " [value] ="0 " [checked] ="true "
11
10
class ="h-4 w-4 mt-0.5 cursor-pointer shrink-0 text-indigo-600 border-gray-300 focus:ring-indigo-500 "
26
25
< div class ="col-span-3 lg:col-span-4 ml-3 ">
27
26
< span id ="integrate-api-0-label " class ="block text-sm font-medium text-gray-900 ">
28
27
Integrate via API </ span >
29
- < span id ="integrate-api-0-description "
30
- class ="block text-sm font-normal text-gray-500 "> Upload data
28
+ < span id ="integrate-api-0-description " class ="block text-sm font-normal text-gray-500 "> Upload data
31
29
via our API. </ span >
32
30
</ div >
33
31
< div class ="col-span-3 lg:col-span-2 text-right items-center flex ">
42
40
< label class ="bg-white rounded-lg relative border p-4 flex h-full focus:outline-none ">
43
41
< div class ="grid grid-cols-6 gap-4 w-full ">
44
42
< div class ="col-span-3 lg:col-span-4 ml-3 ">
45
- < span id ="integrate-database-0-label "
46
- class =" block text-sm font-medium text-gray-900 " > Integrate database </ span >
47
- < span id ="integrate-database-0-description "
48
- class =" block text-sm font-normal text-gray-500 " > Integrate data directly from a
43
+ < span id ="integrate-database-0-label " class =" block text-sm font-medium text-gray-900 " > Integrate
44
+ database </ span >
45
+ < span id ="integrate-database-0-description " class =" block text-sm font-normal text-gray-500 " >
46
+ Integrate data directly from a
49
47
DB. </ span >
50
48
</ div >
51
49
< div class ="col-span-3 lg:col-span-2 text-right items-center flex ">
70
68
href ="https://docs.kern.ai/docs/setup " target ="_blank "> < span
71
69
class ="underline cursor-pointer "> documentation</ span > </ a > for further
72
70
details.</ label >
73
- < input name ="twitterAPI " type ="text "
74
- class ="input input-sm input-bordered w-full placeholder-italic "
71
+ < input name ="twitterAPI " type ="text " class ="input input-sm input-bordered w-full placeholder-italic "
75
72
placeholder ="Enter your API key here ... ">
76
73
</ div >
77
74
< div class ="form-control mt-6 ">
@@ -102,16 +99,16 @@ <h3 class="text-sm font-medium text-yellow-800">File required</h3>
102
99
< div class ="form-group " *ngIf ="openTab === 0 ">
103
100
< label class ="text-gray-500 text-sm font-normal ">
104
101
You can specify import file upload options for your file. See how this is done for < a
105
- href ="https://pandas.pydata.org/docs/reference/api/pandas.read_json.html "
106
- target =" _blank " > < span class ="underline cursor-pointer "> JSON</ span > </ a > , < a
107
- href ="https://pandas.pydata.org/docs/reference/api/pandas.read_csv.html "
108
- target =" _blank " > < span class ="underline cursor-pointer "> CSV</ span > </ a > and < a
109
- href ="https://pandas.pydata.org/docs/reference/api/pandas.read_excel.html "
110
- target =" _blank " > < span class ="underline cursor-pointer "> spreadsheets</ span > </ a > . If you leave
102
+ href ="https://pandas.pydata.org/docs/reference/api/pandas.read_json.html " target =" _blank " > < span
103
+ class ="underline cursor-pointer "> JSON</ span > </ a > , < a
104
+ href ="https://pandas.pydata.org/docs/reference/api/pandas.read_csv.html " target =" _blank " > < span
105
+ class ="underline cursor-pointer "> CSV</ span > </ a > and < a
106
+ href ="https://pandas.pydata.org/docs/reference/api/pandas.read_excel.html " target =" _blank " > < span
107
+ class ="underline cursor-pointer "> spreadsheets</ span > </ a > . If you leave
111
108
it blank, we'll use default settings
112
109
</ label >
113
110
< div >
114
- < textarea class ="shadow mt-1 p-4 text-sm w-full placeholder-indigo " rows ="3 "
111
+ < textarea #importOptions class ="shadow mt-1 p-4 text-sm w-full placeholder-indigo " rows ="3 "
115
112
placeholder ="E.g. for uncommon CSV sep=\t lineterminator=\r "> </ textarea >
116
113
</ div >
117
- </ div >
114
+ </ div >
0 commit comments