Files
edx-platform/cms/templates/overview.html
2012-10-01 16:15:19 -04:00

81 lines
3.4 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<%inherit file="base.html" />
<%! from django.core.urlresolvers import reverse %>
<%block name="title">CMS Courseware Overview</%block>
<%block name="content">
<div class="main-wrapper">
<div class="inner-wrapper">
<h1>Courseware</h1>
<input type="text" class="courseware-unit-search-input search wip-box" placeholder="search units" />
<article class="courseware-overview">
<a href="#" class="new-courseware-section-button wip-box"><span class="plus-icon"></span> New Section</a>
% for section in sections:
<section class="courseware-section branch">
<header>
<a href="#" class="expand-collapse-icon collapse"></a>
<div class="item-details">
<h3>${section.display_name}</h3>
<h4><strong>Unscheduled:</strong> <a href="#">click here to set</a></h4>
</div>
<div class="item-actions">
<a href="#" class="edit-button wip"><span class="delete-icon"></span></a>
<a href="#" class="drag-handle wip"></a>
</div>
</header>
<div class="unit-list">
<div class="list-header">
<a href="#" class="new-subsection-item wip-box">
<span class="new-folder-icon"></span>New Subsection
</a>
</div>
<ol>
% for subsection in section.get_children():
<li class="branch collapsed">
<div class="section-item">
<div>
<a href="#" class="expand-collapse-icon expand"></a>
<a href="#">
<span class="folder-icon"></span>
<span class="subsection-name"><span class="subsection-name-value">${subsection.display_name}</span></span>
</a>
</div>
<div class="item-actions">
<a href="#" class="delete-button wip"><span class="delete-icon"></span></a>
<a href="#" class="drag-handle wip"></a>
</div>
</div>
<ol>
% for unit in subsection.get_children():
<li class="leaf">
<div class="section-item">
<a href="${reverse('edit_unit', args=[unit.location])}" class="hidden-item">
<span class="${unit.category}-icon"></span>${unit.display_name} <span class="hidden-tag"> hidden</span>
</a>
<div class="item-actions">
<a href="${reverse('delete_unit', args=[unit.location])}" class="edit-button wip"><span class="delete-icon"></span></a>
<a href="#" class="visibility-toggle hidden wip"><span class="toggle-icon"></span></a>
<a href="#" class="drag-handle wip"></a>
</div>
</div>
</li>
% endfor
<li>
<a href="#" class="new-unit-item wip">
<span class="new-unit-icon"></span>New Unit
</a>
</li>
</ol>
</li>
% endfor
</ol>
</div>
</section>
% endfor
</article>
</div>
<%include file="widgets/upload_assets.html"/>
</div>
<footer></footer>
</%block>