MDL-55584 theme_noname: Patching for better feel in grades
[moodle.git] / theme / noname / templates / gradereport_history / user_button.mustache
1 <div class="{{classes}}">
2     <div method="{{method}}" action="{{url}}" id="{{formid}}">
3         {{#params}}
4             <input type="hidden" name="{{name}}" value="{{value}}">
5         {{/params}}
6         <input type="button" class="btn btn-secondary selectortrigger"
7             id="{{id}}"
8             title={{#quote}}{{tooltip}}{{/quote}}
9             value={{#quote}}{{label}}{{/quote}}
10             {{#disabled}}disabled{{/disabled}}>
11     </div>
12 </div>
13 {{#hasactions}}
14     {{#js}}
15         require(['core/yui'], function(Y) {
16             {{#actions}}
17                 Y.on('{{event}}', {{{jsfunction}}}, '#{{id}}', null{{#jsfunctionargs}}, {{{jsfunctionargs}}}{{/jsfunctionargs}});
18             {{/actions}}
19         });
20     {{/js}}
21 {{/hasactions}}