Add import page template
This commit is contained in:
21
cms/templates/import.html
Normal file
21
cms/templates/import.html
Normal 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>
|
||||
Reference in New Issue
Block a user