░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
pplmvsvm
LOCATION:
/var/www/canvas/ui/shared/wiki/jst
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: WikiPageEdit.handlebars
<div class="edit-content"> <div id="edit_wikipage_title_container" class="edit-header"> {{#if CAN.EDIT_TITLE}} {{#if content_is_locked}} <h1>{{title}}</h1> <input name="title" type="hidden" value="{{title}}"> {{else}} <label for="title">{{#t "title_label"}}Page Title{{/t}}</label> <input id="title" name="title" type="text" class="span4 title" value="{{title}}" maxlength="255" autofocus> {{/if}} {{else}} <h2>{{title}}</h2> {{/if}} </div> {{#if content_is_locked}} {{{body}}} {{else}} <label for="wiki_page_body" class="hidden-readable" aria-hidden="true">{{#t}}Raw HTML Editor{{/t}}</label> <textarea id="wiki_page_body" rows="20" cols="40" name="body" class="body" aria-hidden="true"{{#unless PAGE_RIGHTS.update}} autofocus{{/unless}}>{{convertApiUserContent body forEditing=1}}</textarea> {{/if}} {{#if CAN.EDIT_ROLES}} <div class="responsive-control-group options"> <label class="control-label"><strong>{{#t "options_label"}}Options{{/t}}</strong></label> <div class="controls"> <label id="editing_roles_label" for="editing_roles">{{t "Users allowed to edit this page"}}</label> <select id="editing_roles" aria-label="{{t "Users allowed to edit this page"}}" name="editing_roles" class="responsive-width"> {{#if SHOW.COURSE_ROLES}} <option value="teachers"{{#if IS.TEACHER_ROLE}} selected{{/if}}>{{#t "course_editing_roles.only_teachers"}}Only teachers{{/t}}</option> <option value="teachers,students"{{#if IS.STUDENT_ROLE}} selected{{/if}}>{{#t "course_editing_roles.teachers_and_students"}}Teachers and students{{/t}}</option> <option value="teachers,students,public"{{#if IS.ANYONE_ROLE}} selected{{/if}}>{{#t "course_editing_roles.anyone"}}Anyone{{/t}}</option> {{else}} <option value="members"{{#if IS.MEMBER_ROLE}} selected{{/if}}>{{#t "editing_roles.only_members"}}Only members{{/t}}</option> <option value="members,public"{{#if IS.ANYONE_ROLE}} selected{{/if}}>{{#t "editing_roles.anyone"}}Anyone{{/t}}</option> {{/if}} </select> {{#if ENV.CAN_SET_TODO_DATE}} <div class="controls-section"> <label for="student_planner_checkbox" class="checkbox"> <input value="1" type="checkbox" id="student_planner_checkbox" name="student_planner_checkbox" {{checkedIf todo_date}} /> {{#t}}Add to student to-do{{/t}} </label> <div id="todo_date_container" /> </div> {{/if}} {{#if CAN.PUBLISH}} {{#if ENV.FEATURES.scheduled_page_publication}} <div class="controls-section"> <label for="publish_at_input"> {{#t}}Publish At{{/t}} <input id="publish_at_input" type="text" class="datetime_field input-medium" name="publish_at" value="{{datetimeFormattedWithTz publish_at}}" data-tooltip='{"position":"top","force_position":"true"}' /> </label> </div> {{/if}} {{/if}} {{#if ENV.CONDITIONAL_RELEASE_SERVICE_ENABLED}} <div class="controls-section"> <label class="checkbox" for="conditional_content"> {{checkbox "assignment.set_assignment" id="conditional_content" class="element_toggler" checked=set_assignment}} {{#t}}Allow in mastery paths{{/t}} </label> </div> {{/if}} </div> </div> {{/if}} </div> <div class="form-actions clearfix"> <div> <label for="notify_of_update" class="checkbox clearfix pull-left" style="margin-top:5px"> {{checkbox "notify_of_update"}} {{#t "notify_users_text"}}Notify users that this content has changed{{/t}} </label> <div class="page-edit__action_buttons"> <button class="btn cancel">{{#t "buttons.cancel"}}Cancel{{/t}}</button> {{#if CAN.PUBLISH_NOW}} <button class="btn btn-default save_and_publish">{{#t "buttons.save_and_publish"}}Save & Publish{{/t}}</button> {{/if}} <button class="btn btn-primary submit">{{#t "buttons.save"}}Save{{/t}}</button> </div> </div> </div>
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 WikiPageEdit.handlebars
HANDLEBARS
4.2 KB
2023-09-24 03:36
EDIT
📄 WikiPageEdit.handlebars.json
JSON
40 B
2023-09-24 03:36
EDIT