Skip to content

Commit

Permalink
MDL-58428 theme: Move templates from grade/report/singleview
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolate-lightning authored and sarjona committed Feb 26, 2019
1 parent 6eebb09 commit 08cefc7
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions grade/report/singleview/templates/bulk_insert.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
<input type="checkbox" name="{{applyname}}" value="1" id="{{applyname}}">
<label for="{{applyname}}">{{applylabel}}</label>
</div>
<fieldset>
<fieldset class="form-inline">
<legend class="accesshide">{{label}}</legend>
<label for="{{menuname}}">{{menulabel}}</label>
<select name="{{menuname}}" id="{{menuname}}">
<select name="{{menuname}}" id="{{menuname}}" class="form-control">
{{#menuoptions}}
<option value="{{value}}" {{#selected}}selected{{/selected}}>{{name}}</option>
{{/menuoptions}}
Expand Down
2 changes: 1 addition & 1 deletion grade/report/singleview/templates/button.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
{{!
Button.
}}
<input type="{{type}}" value={{#quote}}{{value}}{{/quote}}>
<input type="{{type}}" value={{#quote}}{{value}}{{/quote}} class="btn btn-secondary">
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{{!
Dropdown attribute.
}}
<select id="{{name}}" name="{{name}}" tabindex="1" {{#disabled}}disabled{{/disabled}}>
<select id="{{name}}" name="{{name}}" class="custom-select" tabindex="1" {{#disabled}}disabled{{/disabled}}>
{{#options}}
<option value="{{value}}" {{#selected}}selected{{/selected}}>{{name}}</option>
{{/options}}
Expand Down
2 changes: 1 addition & 1 deletion grade/report/singleview/templates/text_attribute.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
Text attribute.
}}
<label for="{{name}}" class="accesshide">{{label}}</label>
<input id="{{name}}" name="{{name}}" type="text" value="{{value}}" {{#tabindex}}tabindex="{{.}}"{{/tabindex}} {{#disabled}}disabled{{/disabled}}>
<input id="{{name}}" name="{{name}}" type="text" value="{{value}}" class="form-control" {{#tabindex}}tabindex="{{.}}"{{/tabindex}} {{#disabled}}disabled{{/disabled}}>
<input type="hidden" name="old{{name}}" value="{{value}}">
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
<input type="checkbox" name="{{applyname}}" value="1" id="{{applyname}}">
<label for="{{applyname}}">{{applylabel}}</label>
</div>
<fieldset class="form-inline">
<fieldset>
<legend class="accesshide">{{label}}</legend>
<label for="{{menuname}}">{{menulabel}}</label>
<select name="{{menuname}}" id="{{menuname}}" class="form-control">
<select name="{{menuname}}" id="{{menuname}}">
{{#menuoptions}}
<option value="{{value}}" {{#selected}}selected{{/selected}}>{{name}}</option>
{{/menuoptions}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
{{!
Button.
}}
<input type="{{type}}" value={{#quote}}{{value}}{{/quote}} class="btn btn-secondary">
<input type="{{type}}" value={{#quote}}{{value}}{{/quote}}>
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{{!
Dropdown attribute.
}}
<select id="{{name}}" name="{{name}}" class="custom-select" tabindex="1" {{#disabled}}disabled{{/disabled}}>
<select id="{{name}}" name="{{name}}" tabindex="1" {{#disabled}}disabled{{/disabled}}>
{{#options}}
<option value="{{value}}" {{#selected}}selected{{/selected}}>{{name}}</option>
{{/options}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
Text attribute.
}}
<label for="{{name}}" class="accesshide">{{label}}</label>
<input id="{{name}}" name="{{name}}" type="text" value="{{value}}" class="form-control" {{#tabindex}}tabindex="{{.}}"{{/tabindex}} {{#disabled}}disabled{{/disabled}}>
<input id="{{name}}" name="{{name}}" type="text" value="{{value}}" {{#tabindex}}tabindex="{{.}}"{{/tabindex}} {{#disabled}}disabled{{/disabled}}>
<input type="hidden" name="old{{name}}" value="{{value}}">

0 comments on commit 08cefc7

Please sign in to comment.