[Frontend] Mods in progress to form layout

open #638
Major progress on form-row markup and CSS when
in Inspector 'part' context; General fixes cleanups
to custom checkbox/radio CSS;
This commit is contained in:
Charles Hacskaylo
2016-02-02 15:36:43 -08:00
committed by Henry
parent 68f3cd087d
commit 371669fbce
9 changed files with 264 additions and 165 deletions

View File

@@ -19,16 +19,14 @@
this source code distribution or the Licensing information page available
at runtime from the About dialog for additional information.
-->
<form name="mctForm" novalidate>
<div class="form">
<form name="mctForm" novalidate class="form">
<span ng-repeat="section in structure.sections">
<div class="section-header" ng-if="section.name">
{{section.name}}
</div>
<div class="form-section">
<ng-form name="mctFormInner" ng-repeat="row in section.rows">
<div class="form-row validates"
<div class="form-row validates l-flex-row"
ng-class="{
req: row.required,
valid: mctFormInner.$dirty && mctFormInner.$valid,
@@ -36,14 +34,14 @@
first: $index < 1
}">
<div class='label' title="{{row.description}}">
<div class='label flex-elem' title="{{row.description}}">
{{row.name}}
<span ng-if="row.description"
class="ui-symbol">
i
</span>
</div>
<div class='controls'>
<div class='controls flex-elem'>
<div class="wrapper" ng-if="row.control">
<mct-control key="row.control"
ng-model="ngModel"
@@ -59,6 +57,4 @@
</ng-form>
</div>
</span>
</div>
</form>