[Frontend] Normalized buttons in toolbar
WTD-894 Fixed application of CSS styles in HTML templates to format buttons properly; In-progress...
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
<a href=""
|
<a class="t-btn l-btn s-btn s-icon-btn s-very-subtle"
|
||||||
class="t-btn l-btn s-btn s-icon-btn s-very-subtle"
|
|
||||||
ng-class="{ labeled: parameters.labeled }"
|
ng-class="{ labeled: parameters.labeled }"
|
||||||
title="{{parameters.action.getMetadata().description}}"
|
title="{{parameters.action.getMetadata().description}}"
|
||||||
ng-click="parameters.action.perform()">
|
ng-click="parameters.action.perform()">
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
<a href=""
|
<a class="t-btn l-btn s-btn s-icon-btn s-very-subtle xxx"
|
||||||
class="t-btn l-btn s-btn s-icon-btn s-very-subtle"
|
|
||||||
ng-class="{ labeled: structure.text }"
|
ng-class="{ labeled: structure.text }"
|
||||||
ng-click="structure.click()">
|
ng-click="structure.click()">
|
||||||
<span class="ui-symbol icon">
|
<span class="ui-symbol icon">
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<div class="s-btn s-icon-btn s-very-subtle btn-menu menu-element dropdown click-invoke"
|
<div class="t-btn l-btn s-btn s-icon-btn s-very-subtle btn-menu menu-element dropdown click-invoke"
|
||||||
ng-controller="ClickAwayController as toggle">
|
ng-controller="ClickAwayController as toggle">
|
||||||
|
|
||||||
<span ng-click="toggle.toggle()">
|
<span ng-click="toggle.toggle()">
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<div class="s-btn s-icon-btn s-very-subtle btn-menu menu-element dropdown click-invoke"
|
<div class="t-btn l-btn s-btn s-icon-btn s-very-subtle btn-menu menu-element dropdown click-invoke"
|
||||||
ng-controller="ClickAwayController as toggle">
|
ng-controller="ClickAwayController as toggle">
|
||||||
|
|
||||||
<span ng-click="toggle.toggle()">
|
<span ng-click="toggle.toggle()">
|
||||||
|
|||||||
@@ -1,34 +1,29 @@
|
|||||||
<form name="tool-bar btn-bar contents" novalidate>
|
<form novalidate>
|
||||||
|
<div class="tool-bar btn-bar contents abs">
|
||||||
<div class="form">
|
<span ng-repeat="section in structure.sections"
|
||||||
<span ng-repeat="section in structure.sections"
|
class="control-group"
|
||||||
class="control-group coordinates"
|
ng-if="!section.hidden"
|
||||||
ng-if="!section.hidden"
|
title="{{section.description}}">
|
||||||
title="{{section.description}}">
|
<ng-form ng-repeat="item in section.items"
|
||||||
|
ng-class="{ 'input-labeled': item.name }"
|
||||||
<ng-form ng-repeat="item in section.items"
|
ng-hide="item.hidden"
|
||||||
ng-class="{ 'input-labeled': item.name }"
|
class="inline"
|
||||||
ng-hide="item.hidden"
|
title="{{item.description}}"
|
||||||
class="inline"
|
name="mctFormInner">
|
||||||
title="{{item.description}}"
|
|
||||||
name="mctFormInner">
|
|
||||||
|
|
||||||
<label ng-if="item.name">
|
|
||||||
{{item.name}}:
|
|
||||||
</label>
|
|
||||||
<mct-control key="item.control"
|
|
||||||
ng-class="{ disabled: item.disabled }"
|
|
||||||
ng-model="ngModel"
|
|
||||||
ng-required="item.required"
|
|
||||||
ng-pattern="getRegExp(item.pattern)"
|
|
||||||
options="item.options"
|
|
||||||
structure="item"
|
|
||||||
field="item.key">
|
|
||||||
</mct-control>
|
|
||||||
|
|
||||||
</ng-form>
|
|
||||||
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
<label ng-if="item.name">
|
||||||
|
{{item.name}}:
|
||||||
|
</label>
|
||||||
|
<mct-control key="item.control"
|
||||||
|
ng-class="{ disabled: item.disabled }"
|
||||||
|
ng-model="ngModel"
|
||||||
|
ng-required="item.required"
|
||||||
|
ng-pattern="getRegExp(item.pattern)"
|
||||||
|
options="item.options"
|
||||||
|
structure="item"
|
||||||
|
field="item.key">
|
||||||
|
</mct-control>
|
||||||
|
</ng-form>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
Reference in New Issue
Block a user