• R/O
  • HTTP
  • SSH
  • HTTPS

zephyr: Commit

This repository is for zephyr, which is implemented for a GUI of Eos.


Commit MetaInfo

Revisionf39e2f75a9fadfb47ab34ad9f40b490498448079 (tree)
Time2016-02-19 00:17:15
Authorhimetani_cafe <fumifumi@yasu...>
Commiterhimetani_cafe

Log Message

[TMP] UI of websocket messaging

Change Summary

Incremental Difference

--- a/front-end/app/scripts/directives/Command.ts
+++ b/front-end/app/scripts/directives/Command.ts
@@ -62,13 +62,15 @@ namespace app.directives {
6262 private files: any;
6363 private options: declares.IOption[];
6464 private dirs: any;
65+ private messages: any;
6566
6667 constructor(private APIEndPoint: services.APIEndPoint, private $scope: ng.IScope, private MyModal: services.MyModal, private WebSocket: services.WebSocket) {
6768 var controller = this;
6869
6970 // Get OptionControlFile and bind it to $scope.options
7071 this.APIEndPoint
71- .getOptionControlFile('mrcImageNoiseAdd')
72+ //.getOptionControlFile('mrcImageNoiseAdd')
73+ .getOptionControlFile(this.name)
7274 .$promise
7375 .then(function(result) {
7476 controller.options = result.info;
@@ -81,7 +83,7 @@ namespace app.directives {
8183 controller.dirs = result.info;
8284 });
8385
84- this.heading = "[" + this.index + "]: dcdFilePring";
86+ this.heading = "[" + this.index + "]: dcdFilePrint";
8587 this.isOpen = true;
8688
8789 // When call add button at executeController, all accordion close.
@@ -90,8 +92,7 @@ namespace app.directives {
9092 });
9193
9294 this.WebSocket.on('console', function(msg) {
93- console.log('CONSOLE!!!');
94- console.log(msg);
95+ controller.messages = msg.split('\n');
9596 });
9697
9798 }
--- a/front-end/app/style.scss
+++ b/front-end/app/style.scss
@@ -2,7 +2,21 @@ $panel-bg: #eee;
22
33 .accordion-toggle {
44 cursor: pointer;
5- }
5+}
6+
7+.option-box {
8+ width: 20%
9+}
10+
11+.console-head {
12+ background-color: white;
13+}
14+
15+.console-body {
16+ background-color: white;
17+ height: 100%;
18+}
19+
620 // Import libs
721 // --------------------
822 @import "../node_modules/bootstrap-sass/assets/stylesheets/bootstrap";
--- a/front-end/app/templates/command.html
+++ b/front-end/app/templates/command.html
@@ -1,5 +1,5 @@
11 <div>
2-<uib-accordion-group heading="{{ctrl.heading}}" is-open="ctrl.isOpen" panel-class="panel-danger">
2+<uib-accordion-group heading="{{ctrl.heading}}" is-open="ctrl.isOpen" panel-class="panel-primary">
33 <uib-accordion-heading>
44 <h4 class="panel-title">
55 [{{ctrl.index}}: {{ctrl.name}}]
@@ -9,32 +9,45 @@
99 </button>
1010 </h4>
1111 </uib-accordion-heading>
12- <code>
13- <form class="form-horizontal" ng-submit="ctrl.submit()">
14- <ul class="list-inline">
15- <li>
16- <label class="control-label">
17- workspace
18- </label>
19- <select class="form-control"
20- ng-options="dir.name for dir in ctrl.dirs"
21- ng-model="ctrl.workspace"
22- ng-change="ctrl.reloadFiles()"
23- required>
24- </select>
25- </li>
26- </ul>
12+ <div class="row">
13+ <div class="col-xs-4 col-sm-4 col-md-4 col-lg-4">
14+ <code>
15+ <form class="form-horizontal" ng-submit="ctrl.submit()">
16+ <ul class="list-inline">
17+ <li>
18+ <label class="control-label">
19+ workspace
20+ </label>
21+ <select class="form-control"
22+ ng-options="dir.name for dir in ctrl.dirs"
23+ ng-model="ctrl.workspace"
24+ ng-change="ctrl.reloadFiles()"
25+ required>
26+ </select>
27+ </li>
28+ </ul>
2729
28- <option info="o" files="ctrl.files" ng-repeat="o in ctrl.options"></option>
29- <button type="submit" class="btn btn-default">
30- Execute
31- </button>
30+ <option info="o" files="ctrl.files" ng-repeat="o in ctrl.options"></option>
3231
33- <button type="button" ng-click="ctrl.debug()" class="btn btn-default">
34- Debug
35- </button>
32+ <button type="submit" class="btn btn-default">
33+ Execute
34+ </button>
3635
37- </form>
38- </code>
36+ <button type="button" ng-click="ctrl.debug()" class="btn btn-default">
37+ Debug
38+ </button>
39+
40+ </form>
41+ </code>
42+ </div>
43+ <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
44+ <h4>Message from console</h4>
45+ <div class="panel-info">
46+ <div class="panel-body console-body">
47+ <p ng-repeat="msg in ctrl.messages track by $index" class="lead">{{msg}}</p>
48+ </div>
49+ </div>
50+ </div>
51+ </div>
3952 </uib-accordion-group>
4053 </div>
--- a/front-end/app/templates/option.html
+++ b/front-end/app/templates/option.html
@@ -1,36 +1,36 @@
11 <ul class="list-inline">
2-<li 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">
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">
1212
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>
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>
2424
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">
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>
3334 </span>
34- </span>
35-</li>
35+ </li>
3636 </ul>
--- a/front-end/dist/bundle.js
+++ b/front-end/dist/bundle.js
@@ -41188,7 +41188,7 @@
4118841188 this.WebSocket = WebSocket;
4118941189 var controller = this;
4119041190 this.APIEndPoint
41191- .getOptionControlFile('mrcImageNoiseAdd')
41191+ .getOptionControlFile(this.name)
4119241192 .$promise
4119341193 .then(function (result) {
4119441194 controller.options = result.info;
@@ -41199,14 +41199,13 @@
4119941199 .then(function (result) {
4120041200 controller.dirs = result.info;
4120141201 });
41202- this.heading = "[" + this.index + "]: dcdFilePring";
41202+ this.heading = "[" + this.index + "]: dcdFilePrint";
4120341203 this.isOpen = true;
4120441204 this.$scope.$on('close', function () {
4120541205 controller.isOpen = false;
4120641206 });
4120741207 this.WebSocket.on('console', function (msg) {
41208- console.log('CONSOLE!!!');
41209- console.log(msg);
41208+ controller.messages = msg.split('\n');
4121041209 });
4121141210 }
4121241211 CommandController.prototype.submit = function () {
@@ -41797,7 +41796,7 @@
4179741796 this.WebSocket = WebSocket;
4179841797 var controller = this;
4179941798 this.APIEndPoint
41800- .getOptionControlFile('mrcImageNoiseAdd')
41799+ .getOptionControlFile(this.name)
4180141800 .$promise
4180241801 .then(function (result) {
4180341802 controller.options = result.info;
@@ -41808,14 +41807,13 @@
4180841807 .then(function (result) {
4180941808 controller.dirs = result.info;
4181041809 });
41811- this.heading = "[" + this.index + "]: dcdFilePring";
41810+ this.heading = "[" + this.index + "]: dcdFilePrint";
4181241811 this.isOpen = true;
4181341812 this.$scope.$on('close', function () {
4181441813 controller.isOpen = false;
4181541814 });
4181641815 this.WebSocket.on('console', function (msg) {
41817- console.log('CONSOLE!!!');
41818- console.log(msg);
41816+ controller.messages = msg.split('\n');
4181941817 });
4182041818 }
4182141819 CommandController.prototype.submit = function () {
@@ -42406,7 +42404,7 @@
4240642404 this.WebSocket = WebSocket;
4240742405 var controller = this;
4240842406 this.APIEndPoint
42409- .getOptionControlFile('mrcImageNoiseAdd')
42407+ .getOptionControlFile(this.name)
4241042408 .$promise
4241142409 .then(function (result) {
4241242410 controller.options = result.info;
@@ -42417,14 +42415,13 @@
4241742415 .then(function (result) {
4241842416 controller.dirs = result.info;
4241942417 });
42420- this.heading = "[" + this.index + "]: dcdFilePring";
42418+ this.heading = "[" + this.index + "]: dcdFilePrint";
4242142419 this.isOpen = true;
4242242420 this.$scope.$on('close', function () {
4242342421 controller.isOpen = false;
4242442422 });
4242542423 this.WebSocket.on('console', function (msg) {
42426- console.log('CONSOLE!!!');
42427- console.log(msg);
42424+ controller.messages = msg.split('\n');
4242842425 });
4242942426 }
4243042427 CommandController.prototype.submit = function () {
@@ -43015,7 +43012,7 @@
4301543012 this.WebSocket = WebSocket;
4301643013 var controller = this;
4301743014 this.APIEndPoint
43018- .getOptionControlFile('mrcImageNoiseAdd')
43015+ .getOptionControlFile(this.name)
4301943016 .$promise
4302043017 .then(function (result) {
4302143018 controller.options = result.info;
@@ -43026,14 +43023,13 @@
4302643023 .then(function (result) {
4302743024 controller.dirs = result.info;
4302843025 });
43029- this.heading = "[" + this.index + "]: dcdFilePring";
43026+ this.heading = "[" + this.index + "]: dcdFilePrint";
4303043027 this.isOpen = true;
4303143028 this.$scope.$on('close', function () {
4303243029 controller.isOpen = false;
4303343030 });
4303443031 this.WebSocket.on('console', function (msg) {
43035- console.log('CONSOLE!!!');
43036- console.log(msg);
43032+ controller.messages = msg.split('\n');
4303743033 });
4303843034 }
4303943035 CommandController.prototype.submit = function () {
@@ -43624,7 +43620,7 @@
4362443620 this.WebSocket = WebSocket;
4362543621 var controller = this;
4362643622 this.APIEndPoint
43627- .getOptionControlFile('mrcImageNoiseAdd')
43623+ .getOptionControlFile(this.name)
4362843624 .$promise
4362943625 .then(function (result) {
4363043626 controller.options = result.info;
@@ -43635,14 +43631,13 @@
4363543631 .then(function (result) {
4363643632 controller.dirs = result.info;
4363743633 });
43638- this.heading = "[" + this.index + "]: dcdFilePring";
43634+ this.heading = "[" + this.index + "]: dcdFilePrint";
4363943635 this.isOpen = true;
4364043636 this.$scope.$on('close', function () {
4364143637 controller.isOpen = false;
4364243638 });
4364343639 this.WebSocket.on('console', function (msg) {
43644- console.log('CONSOLE!!!');
43645- console.log(msg);
43640+ controller.messages = msg.split('\n');
4364643641 });
4364743642 }
4364843643 CommandController.prototype.submit = function () {
@@ -44233,7 +44228,7 @@
4423344228 this.WebSocket = WebSocket;
4423444229 var controller = this;
4423544230 this.APIEndPoint
44236- .getOptionControlFile('mrcImageNoiseAdd')
44231+ .getOptionControlFile(this.name)
4423744232 .$promise
4423844233 .then(function (result) {
4423944234 controller.options = result.info;
@@ -44244,14 +44239,13 @@
4424444239 .then(function (result) {
4424544240 controller.dirs = result.info;
4424644241 });
44247- this.heading = "[" + this.index + "]: dcdFilePring";
44242+ this.heading = "[" + this.index + "]: dcdFilePrint";
4424844243 this.isOpen = true;
4424944244 this.$scope.$on('close', function () {
4425044245 controller.isOpen = false;
4425144246 });
4425244247 this.WebSocket.on('console', function (msg) {
44253- console.log('CONSOLE!!!');
44254- console.log(msg);
44248+ controller.messages = msg.split('\n');
4425544249 });
4425644250 }
4425744251 CommandController.prototype.submit = function () {
@@ -44842,7 +44836,7 @@
4484244836 this.WebSocket = WebSocket;
4484344837 var controller = this;
4484444838 this.APIEndPoint
44845- .getOptionControlFile('mrcImageNoiseAdd')
44839+ .getOptionControlFile(this.name)
4484644840 .$promise
4484744841 .then(function (result) {
4484844842 controller.options = result.info;
@@ -44853,14 +44847,13 @@
4485344847 .then(function (result) {
4485444848 controller.dirs = result.info;
4485544849 });
44856- this.heading = "[" + this.index + "]: dcdFilePring";
44850+ this.heading = "[" + this.index + "]: dcdFilePrint";
4485744851 this.isOpen = true;
4485844852 this.$scope.$on('close', function () {
4485944853 controller.isOpen = false;
4486044854 });
4486144855 this.WebSocket.on('console', function (msg) {
44862- console.log('CONSOLE!!!');
44863- console.log(msg);
44856+ controller.messages = msg.split('\n');
4486444857 });
4486544858 }
4486644859 CommandController.prototype.submit = function () {
@@ -45451,7 +45444,7 @@
4545145444 this.WebSocket = WebSocket;
4545245445 var controller = this;
4545345446 this.APIEndPoint
45454- .getOptionControlFile('mrcImageNoiseAdd')
45447+ .getOptionControlFile(this.name)
4545545448 .$promise
4545645449 .then(function (result) {
4545745450 controller.options = result.info;
@@ -45462,14 +45455,13 @@
4546245455 .then(function (result) {
4546345456 controller.dirs = result.info;
4546445457 });
45465- this.heading = "[" + this.index + "]: dcdFilePring";
45458+ this.heading = "[" + this.index + "]: dcdFilePrint";
4546645459 this.isOpen = true;
4546745460 this.$scope.$on('close', function () {
4546845461 controller.isOpen = false;
4546945462 });
4547045463 this.WebSocket.on('console', function (msg) {
45471- console.log('CONSOLE!!!');
45472- console.log(msg);
45464+ controller.messages = msg.split('\n');
4547345465 });
4547445466 }
4547545467 CommandController.prototype.submit = function () {
@@ -46060,7 +46052,7 @@
4606046052 this.WebSocket = WebSocket;
4606146053 var controller = this;
4606246054 this.APIEndPoint
46063- .getOptionControlFile('mrcImageNoiseAdd')
46055+ .getOptionControlFile(this.name)
4606446056 .$promise
4606546057 .then(function (result) {
4606646058 controller.options = result.info;
@@ -46071,14 +46063,13 @@
4607146063 .then(function (result) {
4607246064 controller.dirs = result.info;
4607346065 });
46074- this.heading = "[" + this.index + "]: dcdFilePring";
46066+ this.heading = "[" + this.index + "]: dcdFilePrint";
4607546067 this.isOpen = true;
4607646068 this.$scope.$on('close', function () {
4607746069 controller.isOpen = false;
4607846070 });
4607946071 this.WebSocket.on('console', function (msg) {
46080- console.log('CONSOLE!!!');
46081- console.log(msg);
46072+ controller.messages = msg.split('\n');
4608246073 });
4608346074 }
4608446075 CommandController.prototype.submit = function () {
@@ -46669,7 +46660,7 @@
4666946660 this.WebSocket = WebSocket;
4667046661 var controller = this;
4667146662 this.APIEndPoint
46672- .getOptionControlFile('mrcImageNoiseAdd')
46663+ .getOptionControlFile(this.name)
4667346664 .$promise
4667446665 .then(function (result) {
4667546666 controller.options = result.info;
@@ -46680,14 +46671,13 @@
4668046671 .then(function (result) {
4668146672 controller.dirs = result.info;
4668246673 });
46683- this.heading = "[" + this.index + "]: dcdFilePring";
46674+ this.heading = "[" + this.index + "]: dcdFilePrint";
4668446675 this.isOpen = true;
4668546676 this.$scope.$on('close', function () {
4668646677 controller.isOpen = false;
4668746678 });
4668846679 this.WebSocket.on('console', function (msg) {
46689- console.log('CONSOLE!!!');
46690- console.log(msg);
46680+ controller.messages = msg.split('\n');
4669146681 });
4669246682 }
4669346683 CommandController.prototype.submit = function () {
@@ -47278,7 +47268,7 @@
4727847268 this.WebSocket = WebSocket;
4727947269 var controller = this;
4728047270 this.APIEndPoint
47281- .getOptionControlFile('mrcImageNoiseAdd')
47271+ .getOptionControlFile(this.name)
4728247272 .$promise
4728347273 .then(function (result) {
4728447274 controller.options = result.info;
@@ -47289,14 +47279,13 @@
4728947279 .then(function (result) {
4729047280 controller.dirs = result.info;
4729147281 });
47292- this.heading = "[" + this.index + "]: dcdFilePring";
47282+ this.heading = "[" + this.index + "]: dcdFilePrint";
4729347283 this.isOpen = true;
4729447284 this.$scope.$on('close', function () {
4729547285 controller.isOpen = false;
4729647286 });
4729747287 this.WebSocket.on('console', function (msg) {
47298- console.log('CONSOLE!!!');
47299- console.log(msg);
47288+ controller.messages = msg.split('\n');
4730047289 });
4730147290 }
4730247291 CommandController.prototype.submit = function () {
@@ -47887,7 +47876,7 @@
4788747876 this.WebSocket = WebSocket;
4788847877 var controller = this;
4788947878 this.APIEndPoint
47890- .getOptionControlFile('mrcImageNoiseAdd')
47879+ .getOptionControlFile(this.name)
4789147880 .$promise
4789247881 .then(function (result) {
4789347882 controller.options = result.info;
@@ -47898,14 +47887,13 @@
4789847887 .then(function (result) {
4789947888 controller.dirs = result.info;
4790047889 });
47901- this.heading = "[" + this.index + "]: dcdFilePring";
47890+ this.heading = "[" + this.index + "]: dcdFilePrint";
4790247891 this.isOpen = true;
4790347892 this.$scope.$on('close', function () {
4790447893 controller.isOpen = false;
4790547894 });
4790647895 this.WebSocket.on('console', function (msg) {
47907- console.log('CONSOLE!!!');
47908- console.log(msg);
47896+ controller.messages = msg.split('\n');
4790947897 });
4791047898 }
4791147899 CommandController.prototype.submit = function () {
@@ -48496,7 +48484,7 @@
4849648484 this.WebSocket = WebSocket;
4849748485 var controller = this;
4849848486 this.APIEndPoint
48499- .getOptionControlFile('mrcImageNoiseAdd')
48487+ .getOptionControlFile(this.name)
4850048488 .$promise
4850148489 .then(function (result) {
4850248490 controller.options = result.info;
@@ -48507,14 +48495,13 @@
4850748495 .then(function (result) {
4850848496 controller.dirs = result.info;
4850948497 });
48510- this.heading = "[" + this.index + "]: dcdFilePring";
48498+ this.heading = "[" + this.index + "]: dcdFilePrint";
4851148499 this.isOpen = true;
4851248500 this.$scope.$on('close', function () {
4851348501 controller.isOpen = false;
4851448502 });
4851548503 this.WebSocket.on('console', function (msg) {
48516- console.log('CONSOLE!!!');
48517- console.log(msg);
48504+ controller.messages = msg.split('\n');
4851848505 });
4851948506 }
4852048507 CommandController.prototype.submit = function () {
@@ -49105,7 +49092,7 @@
4910549092 this.WebSocket = WebSocket;
4910649093 var controller = this;
4910749094 this.APIEndPoint
49108- .getOptionControlFile('mrcImageNoiseAdd')
49095+ .getOptionControlFile(this.name)
4910949096 .$promise
4911049097 .then(function (result) {
4911149098 controller.options = result.info;
@@ -49116,14 +49103,13 @@
4911649103 .then(function (result) {
4911749104 controller.dirs = result.info;
4911849105 });
49119- this.heading = "[" + this.index + "]: dcdFilePring";
49106+ this.heading = "[" + this.index + "]: dcdFilePrint";
4912049107 this.isOpen = true;
4912149108 this.$scope.$on('close', function () {
4912249109 controller.isOpen = false;
4912349110 });
4912449111 this.WebSocket.on('console', function (msg) {
49125- console.log('CONSOLE!!!');
49126- console.log(msg);
49112+ controller.messages = msg.split('\n');
4912749113 });
4912849114 }
4912949115 CommandController.prototype.submit = function () {
--- a/front-end/dist/css/style.css
+++ b/front-end/dist/css/style.css
@@ -2,6 +2,16 @@
22 .accordion-toggle {
33 cursor: pointer; }
44
5+.option-box {
6+ width: 20%; }
7+
8+.console-head {
9+ background-color: white; }
10+
11+.console-body {
12+ background-color: white;
13+ height: 100%; }
14+
515 /*!
616 * Bootstrap v3.3.6 (http://getbootstrap.com)
717 * Copyright 2011-2015 Twitter, Inc.
--- a/front-end/dist/templates/command.html
+++ b/front-end/dist/templates/command.html
@@ -1,5 +1,5 @@
11 <div>
2-<uib-accordion-group heading="{{ctrl.heading}}" is-open="ctrl.isOpen" panel-class="panel-danger">
2+<uib-accordion-group heading="{{ctrl.heading}}" is-open="ctrl.isOpen" panel-class="panel-primary">
33 <uib-accordion-heading>
44 <h4 class="panel-title">
55 [{{ctrl.index}}: {{ctrl.name}}]
@@ -9,32 +9,45 @@
99 </button>
1010 </h4>
1111 </uib-accordion-heading>
12- <code>
13- <form class="form-horizontal" ng-submit="ctrl.submit()">
14- <ul class="list-inline">
15- <li>
16- <label class="control-label">
17- workspace
18- </label>
19- <select class="form-control"
20- ng-options="dir.name for dir in ctrl.dirs"
21- ng-model="ctrl.workspace"
22- ng-change="ctrl.reloadFiles()"
23- required>
24- </select>
25- </li>
26- </ul>
12+ <div class="row">
13+ <div class="col-xs-4 col-sm-4 col-md-4 col-lg-4">
14+ <code>
15+ <form class="form-horizontal" ng-submit="ctrl.submit()">
16+ <ul class="list-inline">
17+ <li>
18+ <label class="control-label">
19+ workspace
20+ </label>
21+ <select class="form-control"
22+ ng-options="dir.name for dir in ctrl.dirs"
23+ ng-model="ctrl.workspace"
24+ ng-change="ctrl.reloadFiles()"
25+ required>
26+ </select>
27+ </li>
28+ </ul>
2729
28- <option info="o" files="ctrl.files" ng-repeat="o in ctrl.options"></option>
29- <button type="submit" class="btn btn-default">
30- Execute
31- </button>
30+ <option info="o" files="ctrl.files" ng-repeat="o in ctrl.options"></option>
3231
33- <button type="button" ng-click="ctrl.debug()" class="btn btn-default">
34- Debug
35- </button>
32+ <button type="submit" class="btn btn-default">
33+ Execute
34+ </button>
3635
37- </form>
38- </code>
36+ <button type="button" ng-click="ctrl.debug()" class="btn btn-default">
37+ Debug
38+ </button>
39+
40+ </form>
41+ </code>
42+ </div>
43+ <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
44+ <h4>Message from console</h4>
45+ <div class="panel-info">
46+ <div class="panel-body console-body">
47+ <p ng-repeat="msg in ctrl.messages track by $index" class="lead">{{msg}}</p>
48+ </div>
49+ </div>
50+ </div>
51+ </div>
3952 </uib-accordion-group>
4053 </div>
--- a/front-end/dist/templates/option.html
+++ b/front-end/dist/templates/option.html
@@ -1,36 +1,36 @@
11 <ul class="list-inline">
2-<li 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">
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">
1212
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>
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>
2424
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">
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>
3334 </span>
34- </span>
35-</li>
35+ </li>
3636 </ul>
Show on old repository browser