Skip to content

Commit

Permalink
feat: Admin form UI changes to "Edit Welcome" fields (#2258)
Browse files Browse the repository at this point in the history
* feat: in "Edit Welcome", move "Color Theme" to btwn "Logo" and "Time taken for..." and add rows="12" to "Instructions..." textarea

* chore: run formatter
  • Loading branch information
jia1 authored Jun 28, 2021
1 parent f28d8dd commit d04187a
Showing 1 changed file with 23 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,28 @@ <h2 class="modal-title">Edit Welcome</h2>

<div class="row"><br /></div>

<div class="row description">
<div class="col-md-12 label-custom label-medium label-bottom">
Color Theme
</div>
<div class="col-md-12 color-field">
<div ng-repeat="color in vm.colorThemes">
<label
ng-class="vm.myform.startPage.colorTheme === '{{color}}' ? 'selected-color-field' : ''"
class="{{color}}"
>
<input
type="radio"
value="{{color}}"
ng-model="vm.myform.startPage.colorTheme"
/>
</label>
</div>
</div>
</div>

<div class="row"><br /></div>

<div class="row question">
<div class="col-md-12 label-custom label-medium label-bottom">
Time Taken for Form (in minutes)
Expand Down Expand Up @@ -164,34 +186,13 @@ <h2 class="modal-title">Edit Welcome</h2>
ng-model="vm.myform.startPage.paragraph"
placeholder="e.g. 1) You will require your sales receipt to fill this reimbursement form."
name="paragraph"
rows="12"
></textarea>
</div>
</div>

<div class="row"><br /></div>

<div class="row description">
<div class="col-md-12 label-custom label-medium label-bottom">
Color Theme
</div>
<div class="col-md-12 color-field">
<div ng-repeat="color in vm.colorThemes">
<label
ng-class="vm.myform.startPage.colorTheme === '{{color}}' ? 'selected-color-field' : ''"
class="{{color}}"
>
<input
type="radio"
value="{{color}}"
ng-model="vm.myform.startPage.colorTheme"
/>
</label>
</div>
</div>
</div>

<div class="row"><br /></div>

<div class="modal-footer row">
<button
type="submit"
Expand Down

0 comments on commit d04187a

Please sign in to comment.