OSDN Git Service

Modified: Upload, Command execution
[eos/zephyr.git] / front-end / dist / templates / option.html
1 <ul class="list-inline">
2     <li class="option-box" ng-repeat="arg in ctrl.info.arg">
3         <span ng-switch="arg.formType">
4             <span ng-switch-when="number">
5                 <label class="control-label">
6                     {{arg.argName}}
7                 </label>
8                 <input type="number"
9                        class="form-control"
10                        ng-model="arg.input"
11                        ng-required="ctrl.info.optionProperties">
12
13             </span>
14             <span ng-switch-when="select">
15                 <label class="control-label">
16                     {{arg.argName}}
17                 </label>
18                 <select class="form-control"
19                         ng-options="file.name for file in ctrl.files"
20                         ng-model="arg.input"
21                         ng-required="ctrl.info.optionProperties">
22                 </select>
23             </span>
24
25             <span ng-switch-when="text">
26                 <label class="control-label">
27                     {{arg.argName}}
28                 </label>
29                 <input type="text"
30                        class="form-control"
31                        ng-model="arg.input"
32                        ng-required="ctrl.info.optionProperties">
33             </span>
34         </span>
35     </li>
36 </ul>