123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- <div class="form-dialog-content">
- <div class="form-horizontal">
- {{#unless can_change_weighting}}
- <div class="ag-settings-weights-message alert">{{#t}}Assignment group weights and drop rules can't be edited because
- there are assignments in one of the groups whose due dates are closed.{{/t}}</div>
- {{/unless}}
- <div class="control-group">
- <label class="control-label" for="ag_{{label_id}}_name">
- {{#t "group_name"}}Group Name:{{/t}}
- </label>
- <div class="controls">
- <input
- type="text"
- id="ag_{{label_id}}_name"
- name="name"
- value="{{name}}"
- placeholder='{{#t "example_group_name"}}e.g., Essay Group 1{{/t}}'
- />
- </div>
- </div>
- {{#if show_weight}}
- <div class="control-group">
- <div class="controls">
- <input
- type="text"
- id="ag_{{label_id}}_group_weight"
- class="span1 group_weight"
- name="group_weight"
- value="{{#if group_weight}}{{n group_weight}}{{/if}}"
- {{#unless can_change_weighting}}readonly{{/unless}}
- />
- <label style="display:inline-block" for="ag_{{label_id}}_group_weight">
- {{#t "percent_of_total"}}% of total grade{{/t}}
- </label>
- </div>
- </div>
- {{/if}}
- {{#if editable_drop}}
- <hr/>
- <fieldset>
- <legend class="drop_rules_section">{{#t}}Number of scores to ignore for each student{{/t}}</legend>
- <div class="control-group">
- <label class="control-label" for="ag_{{label_id}}_drop_lowest">
- {{#t "drop_lowest"}}Lowest Scores:{{/t}}
- </label>
- <div class="controls">
- <input
- type={{number_input}}
- id="ag_{{label_id}}_drop_lowest"
- class="span1 field"
- name="rules[drop_lowest]"
- value="{{n drop_lowest}}"
- {{#unless can_change_weighting}}readonly{{/unless}}
- />
- </div>
- </div>
- <div class="control-group">
- <label class="control-label" for="ag_{{label_id}}_drop_highest">
- {{#t "drop_highest"}}Highest Scores:{{/t}}
- </label>
- <div class="controls">
- <input
- type={{number_input}}
- id="ag_{{label_id}}_drop_highest"
- class="span1 field"
- name="rules[drop_highest]"
- value="{{n drop_highest}}"
- {{#unless can_change_weighting}}readonly{{/unless}}
- />
- </div>
- </div>
- <hr/>
- <div class="control-group">
- <label class="control-label" id="ag_{{label_id}}_never_drop">
- {{#t "never_drop"}}Never Drop:{{/t}}
- </label>
- <div class="controls never_drop_rules_group">
- </div>
- </div>
- </fieldset>
- {{/if}}
- </div>
- </div>
- <div class="form-controls">
- <button
- class="cancel_button btn dialog_closer"
- type="button"
- >{{#t "cancel"}}Cancel{{/t}}</button>
- <button
- class="create_group btn btn-primary"
- data-text-while-loading='{{#t "saving"}}Saving...{{/t}}'
- type="submit"
- >{{#t "save"}}Save{{/t}}</button>
- </div>
|