Fix CSS of paragraph forms

This commit is contained in:
Damien Corneau 2015-06-15 16:06:59 +09:00
parent e3f3016548
commit 75d12c3675
2 changed files with 9 additions and 4 deletions

View file

@ -22,6 +22,11 @@
min-height: 32px;
}
.paragraphForm.form-horizontal .form-group {
margin-right: 0px;
margin-left: 0px;
}
.paragraph .tableDisplay .hljs {
background: none;
}

View file

@ -64,12 +64,12 @@ limitations under the License.
<form id="{{paragraph.id}}_form" role="form"
ng-show="!paragraph.config.tableHide && !asIframe"
class="form-horizontal">
<div class="form-group"
class=" paragraphForm form-horizontal row">
<div class="form-group col-sm-6 col-md-6 col-lg-4"
ng-repeat="formulaire in paragraph.settings.forms"
ng-Init="loadForm(formulaire, paragraph.settings.params)">
<label class="col-sm-1 control-label input-sm" ng-class="{'disable': paragraph.status == 'RUNNING' || paragraph.status == 'PENDING' }">{{formulaire.name}}</label>
<div class="col-sm-3">
<label class="control-label input-sm" ng-class="{'disable': paragraph.status == 'RUNNING' || paragraph.status == 'PENDING' }">{{formulaire.name}}</label>
<div class="">
<input class="form-control input-sm"
ng-if="!paragraph.settings.forms[formulaire.name].options"
ng-enter="runParagraph(getEditorValue())"