1
+ < div style ="padding: 10px ">
2
+ < small > To add input systems, please use FieldWorks (FLEx).</ small >
3
+ </ div >
1
4
< div class ="row ">
2
5
<!-- Left column: input system list -->
3
6
< div class ="col-md-3 ">
4
- <!-- control buttons -->
5
- < div class ="form-group ">
6
- < button class ="btn btn-sm btn-primary " id ="configuration-new-btn " data-ng-click ="$ctrl.openNewLanguageModal($ctrl.suggestedLanguageCodes) ">
7
- < i class ="fa fa-plus iconPadding "> </ i > New</ button >
8
- </ div >
9
-
10
7
<!-- picklist -->
11
8
< dl class ="picklists " style ="height: 300px; overflow: auto; ">
12
9
< dt > Language Names</ dt >
25
22
26
23
<!-- Right column: input system setup -->
27
24
< div class ="col-md-9 settings-panel ">
28
- <!-- control buttons -->
29
- < div uib-dropdown class ="dropdown form-group btn-group ">
30
- < button uib-dropdown-toggle class ="btn btn-sm btn-std pui-no-caret " id ="configuration-dropdown-btn "> < i class ="fa fa-ellipsis-v "> </ i > </ button >
31
- < div class ="dropdown-menu " uib-dropdown-menu >
32
- < a href class ="dropdown-item " id ="configuration-add-ipa-btn " tabindex ="-1 " data-ng-class ="{disabled: $ctrl.newExists($ctrl.selects.special.optionsOrder[1])} "
33
- data-ng-click ="$ctrl.addInputSystem($ctrl.iscInputSystemViewModels[$ctrl.selectedInputSystemId].language, $ctrl.iscInputSystemViewModels[$ctrl.selectedInputSystemId].inputSystem.languageName, $ctrl.selects.special.optionsOrder[1]) ">
34
- < i class ="fa fa-plus "> </ i > Add IPA for
35
- < span class ="notranslate "> {{$ctrl.iscInputSystemViewModels[$ctrl.selectedInputSystemId].inputSystem.languageName}}</ span > </ a >
36
- < a href class ="dropdown-item " id ="configuration-add-voice-btn " tabindex ="-1 " data-ng-class ="{disabled: $ctrl.newExists($ctrl.selects.special.optionsOrder[2])} "
37
- data-ng-click ="$ctrl.addInputSystem($ctrl.iscInputSystemViewModels[$ctrl.selectedInputSystemId].language, $ctrl.iscInputSystemViewModels[$ctrl.selectedInputSystemId].inputSystem.languageName, $ctrl.selects.special.optionsOrder[2]) ">
38
- < i class ="fa fa-plus "> </ i > Add Voice for
39
- < span class ="notranslate "> {{$ctrl.iscInputSystemViewModels[$ctrl.selectedInputSystemId].inputSystem.languageName}}</ span > </ a >
40
- < a href class ="dropdown-item " id ="configuration-add-variant-btn " tabindex ="-1 "
41
- data-ng-click ="$ctrl.addInputSystem($ctrl.iscInputSystemViewModels[$ctrl.selectedInputSystemId].language, $ctrl.iscInputSystemViewModels[$ctrl.selectedInputSystemId].inputSystem.languageName, $ctrl.selects.special.optionsOrder[3]) ">
42
- < i class ="fa fa-plus "> </ i > Add a variant of
43
- < span class ="notranslate "> {{$ctrl.iscInputSystemViewModels[$ctrl.selectedInputSystemId].inputSystem.languageName}}</ span > </ a >
44
- < div class ="dropdown-divider " data-ng-show ="! $ctrl.isInputSystemInUse() "> </ div >
45
- < a href class ="dropdown-item " id ="configuration-remove-btn " data-ng-show ="! $ctrl.isInputSystemInUse() " tabindex ="-1 "
46
- data-ng-click ="$ctrl.removeInputSystem($ctrl.selectedInputSystemId) ">
47
- < i class ="fa fa-trash "> </ i > Remove
48
- < span class ="notranslate "> {{$ctrl.iscInputSystemViewModels[$ctrl.selectedInputSystemId].languageDisplayName()}}</ span > </ a >
49
- </ div >
50
- </ div >
51
-
52
25
<!-- settings -->
53
26
< div class ="card card-body bg-light " data-ng-show ="$ctrl.iscInputSystemViewModels[$ctrl.selectedInputSystemId] ">
54
27
< label class ="col-form-label float-right "> {{$ctrl.iscInputSystemViewModels[$ctrl.selectedInputSystemId].inputSystem.tag}}</ label >
@@ -57,7 +30,7 @@ <h3 data-ng-show="!$ctrl.isUnlistedLanguage($ctrl.iscInputSystemViewModels[$ctrl
57
30
{{$ctrl.iscInputSystemViewModels[$ctrl.selectedInputSystemId].languageDisplayName()}}</ h3 >
58
31
<!-- unlisted language name -->
59
32
<!--suppress HtmlFormInputWithoutLabel -->
60
- < input type ="text " id ="languageName " style ="font-size: 1.35em; color: black; font-weight: 700; border: 0; height: 32px; width: 365px "
33
+ < input type ="text " id ="languageName " style ="font-size: 1.35em; color: black; font-weight: 700; height: 32px; width: 365px "
61
34
data-ng-model ="$ctrl.iscInputSystemViewModels[$ctrl.selectedInputSystemId].inputSystem.languageName "
62
35
data-ng-show ="$ctrl.isUnlistedLanguage($ctrl.iscInputSystemViewModels[$ctrl.selectedInputSystemId].language) ">
63
36
< div class ="form-group ">
@@ -80,16 +53,16 @@ <h3 data-ng-show="!$ctrl.isUnlistedLanguage($ctrl.iscInputSystemViewModels[$ctrl
80
53
</ div >
81
54
< br >
82
55
< p class ="text-warning " data-ng-show ="$ctrl.isInputSystemInUse() ">
83
- < small > Some settings are disabled because the Input System may already be in use .</ small >
56
+ < small > Some settings are disabled. Please edit these in Fieldworks (FLEx) .</ small >
84
57
</ p >
85
58
< div class ="form-group ">
86
59
< label class ="col-form-label " for ="special "> Special</ label >
87
60
< div class ="controls ">
88
- < select class ="form-control custom-select " id ="special "
61
+ < input type =" text " class ="form-control " id ="special "
89
62
data-ng-model ="$ctrl.iscInputSystemViewModels[$ctrl.selectedInputSystemId].special "
90
- data-ng-disabled ="$ctrl.isInputSystemInUse() "
91
63
data-ng-change ="$ctrl.specialChanged($ctrl.iscInputSystemViewModels[$ctrl.selectedInputSystemId].special) "
92
- data-ng-options ="$ctrl.selects.special.options[key] for key in $ctrl.selects.special.optionsOrder "> </ select >
64
+ disabled >
65
+ </ input >
93
66
</ div >
94
67
</ div >
95
68
@@ -98,18 +71,17 @@ <h3 data-ng-show="!$ctrl.isUnlistedLanguage($ctrl.iscInputSystemViewModels[$ctrl
98
71
< div class ="form-group " data-ng-show ="$ctrl.iscInputSystemViewModels[$ctrl.selectedInputSystemId].special == $ctrl.selects.special.optionsOrder[1] ">
99
72
< label class ="col-form-label " for ="purpose "> Purpose</ label >
100
73
< div class ="controls ">
101
- < select class ="form-control custom-select " id ="purpose "
74
+ < input type =" text " class ="form-control " id ="purpose "
102
75
data-ng-model ="$ctrl.iscInputSystemViewModels[$ctrl.selectedInputSystemId].purpose "
103
- data-ng-disabled ="$ctrl.isInputSystemInUse() "
104
- data-ng-options ="$ctrl.selects.purpose.options[key] for key in $ctrl.selects.purpose.optionsOrder ">
105
- < option value =""> unspecified</ option > </ select >
76
+ disabled >
77
+ </ input >
106
78
</ div >
107
79
< label class ="col-form-label " for ="ipaVariant "> Variant (limited to letters or numbers, no spaces)</ label >
108
80
< div class ="controls ">
109
81
< input type ="text " class ="form-control " id ="ipaVariant " size ="25 "
110
82
model-transform-limit ="35 " model-transform-no-space data-ng-trim ="false "
111
83
data-ng-model ="$ctrl.iscInputSystemViewModels[$ctrl.selectedInputSystemId].variantString "
112
- data-ng- disabled=" $ctrl.isInputSystemInUse() " >
84
+ disabled >
113
85
</ div >
114
86
</ div >
115
87
<!-- Voice -->
@@ -119,33 +91,31 @@ <h3 data-ng-show="!$ctrl.isUnlistedLanguage($ctrl.iscInputSystemViewModels[$ctrl
119
91
< input type ="text " class ="form-control " id ="voiceVariant " size ="25 "
120
92
model-transform-limit ="35 " model-transform-no-space data-ng-trim ="false "
121
93
data-ng-model ="$ctrl.iscInputSystemViewModels[$ctrl.selectedInputSystemId].variantString "
122
- data-ng- disabled=" $ctrl.isInputSystemInUse() " >
94
+ disabled >
123
95
</ div >
124
96
</ div >
125
97
<!-- Script / Region / Variant -->
126
98
< div class ="form-group " data-ng-show ="$ctrl.iscInputSystemViewModels[$ctrl.selectedInputSystemId].special == $ctrl.selects.special.optionsOrder[3] ">
127
99
< label class ="col-form-label " for ="script "> Script</ label >
128
100
< div class ="controls ">
129
- < select class ="form-control custom-select " id ="script "
101
+ < input type =" text " class ="form-control " id ="script "
130
102
data-ng-model ="$ctrl.iscInputSystemViewModels[$ctrl.selectedInputSystemId].script "
131
- data-ng-disabled ="$ctrl.isInputSystemInUse() "
132
- data-ng-options ="key as option.join(', ') for (key, option) in $ctrl.selects.script.options ">
133
- < option value =""> -- select a script --</ option > </ select >
103
+ disabled >
104
+ </ input >
134
105
</ div >
135
106
< label class ="col-form-label " for ="region "> Region</ label >
136
107
< div class ="controls ">
137
- < select class ="form-control custom-select " id ="region "
108
+ < input type =" text " class ="form-control " id ="region "
138
109
data-ng-model ="$ctrl.iscInputSystemViewModels[$ctrl.selectedInputSystemId].region "
139
- data-ng-disabled ="$ctrl.isInputSystemInUse() "
140
- data-ng-options ="key as option for (key, option) in $ctrl.selects.region.options ">
141
- < option value =""> -- select a region --</ option > </ select >
110
+ disabled >
111
+ </ input >
142
112
</ div >
143
113
< label class ="col-form-label " for ="variant "> Variant (limited to letters or numbers, no spaces)</ label >
144
114
< div class ="controls ">
145
115
< input type ="text " class ="form-control " id ="variant " size ="25 "
146
116
model-transform-limit ="35 " model-transform-no-space data-ng-trim ="false "
147
117
data-ng-model ="$ctrl.iscInputSystemViewModels[$ctrl.selectedInputSystemId].variantString "
148
- data-ng- disabled=" $ctrl.isInputSystemInUse() " >
118
+ disabled >
149
119
</ div >
150
120
</ div >
151
121
</ div >
0 commit comments