checklists.html 2.59 KB
Newer Older
1
<%inherit file="base.html" />
2
<%! from django.core.urlresolvers import reverse %>
3
<%block name="title">Course Checklists</%block>
cahrens committed
4
<%block name="bodyclass">is-signedin course uxdesign checklists</%block>
5

cahrens committed
6 7 8
<%namespace name='static' file='static_content.html'/>
<%block name="jsextra">

9
<script type="text/javascript" src="${static.url('js/template_loader.js')}"></script>
cahrens committed
10
<script type="text/javascript" src="${static.url('js/views/checklists_view.js')}"></script>
11
<script type="text/javascript" src="${static.url('js/models/checklists.js')}"></script>
cahrens committed
12 13 14

<script type="text/javascript">
    $(document).ready(function () {
15
        var checklistCollection = new CMS.Models.ChecklistCollection();
16
        checklistCollection.url = "${reverse('checklists_updates', kwargs=dict(org=context_course.location.org, course=context_course.location.course, name=context_course.location.name))}";
cahrens committed
17 18

        var editor = new CMS.Views.Checklists({
19 20
            el: $('.course-checklists'),
            collection: checklistCollection
cahrens committed
21 22 23 24 25 26 27 28
        });

    });

</script>
</%block>


29 30
<%block name="content">
<div class="wrapper-mast wrapper">
31
  <header class="mast has-actions has-subtitle">
Brian Talbot committed
32 33 34 35
    <h1 class="page-header">
      <small class="subtitle">Tools</small>
      <span class="sr">&gt; </span>Course Checklists
    </h1>
36
  </header>
37 38 39
</div>

<div class="wrapper-content wrapper">
40 41 42 43 44 45
  <section class="content">
    <article class="content-primary" role="main">
      <form id="course-checklists" class="course-checklists" method="post" action="">
        <h2 class="title title-3 sr">Current Checklists</h2>
      </form>
    </article>
cahrens committed
46

47 48
    <aside class="content-supplementary" role="complimentary">
      <div class="bit">
Mark L. Chang committed
49 50 51 52 53 54 55
        <h3 class="title title-3">What are checklists?</h3>
        <p>
          Running a course on edX is a complex undertaking. Course checklists are designed to help you understand and keep track of all the steps necessary to get your course ready for students.
        </p>
        <p>
          These checklists are shared among your course team, and any changes you make are immediately visible to other members of the team and saved automatically.
        </p>
56
      </div>
cahrens committed
57

58
      <div class="bit">
Mark L. Chang committed
59
        <h3 class="title title-3">Studio checklists</h3>
cahrens committed
60
        <nav class="nav-page checklists-current">
61 62 63
          <ol>
            % for checklist in checklists:
            <li class="nav-item">
64
              <a rel="view" href="${'#course-checklist' + str(loop.index)}">${checklist['short_description']}</a>
65 66 67
            </li>
            % endfor
          </ol>
cahrens committed
68
        </nav>
69 70 71
      </div>
    </aside>
  </section>
72 73
</div>
</%block>