Add import page template

This commit is contained in:
Calen Pennington
2012-10-12 09:03:13 -04:00
parent 02a325b018
commit c2abd4b537

21
cms/templates/import.html Normal file
View File

@@ -0,0 +1,21 @@
<%inherit file="base.html" />
<%! from django.core.urlresolvers import reverse %>
<%block name="title">Import</%block>
<%block name="bodyclass">import</%block>
<%block name="content">
<div class="main-wrapper">
<div class="inner-wrapper">
<h1>Import</h1>
<form>
<p>Importing a new course will delete all course content currently associated with your course
and replace it with the contents of the uploaded file.</p>
<p>File uploads must be zip files containing, at a minimum, a <pre>course.xml</pre> file.</p>
<p><strong>Please note that if your course has any problems with auto-generated <pre>url_name</pre>s,
re-importing your course could cause the loss of student data associated with those problems.</p>
<p>Course to import: <input type="file" name="course-data"></p>
<input type="submit" value="Delete my course and re-import!">
</form>
</div>
</div>
</%block>