[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/mod/assign/templates/ -> grading_navigation_user_selector.mustache (source)

   1  {{!
   2      This file is part of Moodle - http://moodle.org/
   3  
   4      Moodle is free software: you can redistribute it and/or modify
   5      it under the terms of the GNU General Public License as published by
   6      the Free Software Foundation, either version 3 of the License, or
   7      (at your option) any later version.
   8  
   9      Moodle is distributed in the hope that it will be useful,
  10      but WITHOUT ANY WARRANTY; without even the implied warranty of
  11      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12      GNU General Public License for more details.
  13  
  14      You should have received a copy of the GNU General Public License
  15      along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
  16  }}
  17  {{!
  18      @template mod_assign/grading_navigation_user_selector
  19  
  20      The template HTML for the user selector in the top right corner.
  21  
  22      Classes required for JS:
  23      * none
  24  
  25      Data attributes required for JS:
  26      * data-action, data-assignmentid, data-groupid, data-region
  27  
  28      Context variables required for this template:
  29      * see mod/assign/classes/output/grading_app.php
  30  
  31      Example context (json):
  32      This template uses ajax functionality, so it cannot be shown in the template library.
  33  }}
  34  <a href="#previous" data-action="previous-user">{{{larrow}}}</a>
  35  <span>
  36  <select data-action="change-user" data-assignmentid="{{assignmentid}}" data-groupid="{{groupid}}">
  37  </select>
  38  </span>
  39  <a href="#next" data-action="next-user">{{{rarrow}}}</a>
  40  
  41  <br>
  42  
  43  <span data-region="user-count">
  44  <small>
  45  <span data-region="user-count-summary">{{#str}}xofy, mod_assign, { "x": "{{index}}", "y": "{{count}}" }{{/str}}</span>
  46  </small>
  47  </span>
  48  
  49  <span data-region="configure-filters" id="filter-configuration-{{uniqid}}" class="well well-small">
  50  <form>
  51  <label><input type="checkbox" name="filter_submitted">{{#str}}filtersubmitted, mod_assign{{/str}}</label>
  52  <label><input type="checkbox" name="filter_notsubmitted">{{#str}}filternotsubmitted, mod_assign{{/str}}</label>
  53  <label><input type="checkbox" name="filter_requiregrading">{{#str}}filterrequiregrading, mod_assign{{/str}}</label>
  54  </form>
  55  </span>
  56  
  57  <a href="#" data-region="user-filters" title="{{#str}}changefilters, mod_assign{{/str}}" aria-expanded="false" aria-controls="filter-configuration-{{uniqid}}">
  58  <span class="accesshide">
  59  {{#filters}}
  60  {{filtername}}
  61  {{/filters}}
  62  {{^filters}}
  63  {{#str}}nofilters, mod_assign{{/str}}
  64  {{/filters}}
  65  </span>
  66  {{#pix}}i/filter{{/pix}}
  67  </a>


Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1