checklists.html 2.33 KB
Newer Older
1
<%inherit file="base.html" />
Mark Hoeber committed
2
<%def name="online_help_token()"><% return "checklist" %></%def>
3 4 5 6
<%!
  from django.core.urlresolvers import reverse
  from django.utils.translation import ugettext as _
%>
7
<%block name="title">${_("Course Checklists")}</%block>
8
<%block name="bodyclass">is-signedin course view-checklists</%block>
9

cahrens committed
10
<%namespace name='static' file='static_content.html'/>
11 12 13 14 15 16 17 18 19

<%block name="header_extras">
% for template_name in ["checklist"]:
  <script type="text/template" id="${template_name}-tpl">
    <%static:include path="js/${template_name}.underscore" />
  </script>
% endfor
</%block>

20 21 22 23
<%block name="requirejs">
  require(["js/factories/checklists"], function (ChecklistsFactory) {
    ChecklistsFactory("${handler_url}");
  });
cahrens committed
24 25 26
</%block>


27 28
<%block name="content">
<div class="wrapper-mast wrapper">
29
  <header class="mast has-actions has-subtitle">
Brian Talbot committed
30
    <h1 class="page-header">
David Baumgold committed
31 32
      <small class="subtitle">${_("Tools")}</small>
      <span class="sr">&gt; </span>${_("Course Checklists")}
Brian Talbot committed
33
    </h1>
34
  </header>
35 36 37
</div>

<div class="wrapper-content wrapper">
38 39 40
  <section class="content">
    <article class="content-primary" role="main">
      <form id="course-checklists" class="course-checklists" method="post" action="">
David Baumgold committed
41
        <h2 class="title title-3 sr">${_("Current Checklists")}</h2>
42 43
      </form>
    </article>
cahrens committed
44

45
    <aside class="content-supplementary" role="complementary">
46
      <div class="bit">
47
        <h3 class="title title-3">${_("What are course checklists?")}</h3>
Mark L. Chang committed
48
        <p>
49
          ${_("Course checklists are tools to help you understand and keep track of all the steps necessary to get your course ready for students.")}
Mark L. Chang committed
50 51
        </p>
        <p>
52
          ${_("Any changes you make to these checklists are saved automatically and are immediately visible to other course team members.")}
Mark L. Chang committed
53
        </p>
54
      </div>
cahrens committed
55

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