Add option for importing a course from a named branch of a git repo

This commit is contained in:
Carson Gee
2014-01-23 13:17:50 -05:00
parent b0af8ff421
commit 9d55c88c76
6 changed files with 230 additions and 42 deletions

View File

@@ -126,10 +126,16 @@ textarea {
<ul class="list-input">
<li class="field text">
<label for="repo_location">
${_('Repo location')}:
${_('Repo Location')}:
</label>
<input type="text" name="repo_location" style="width:60%" />
</li>
<li class="field text">
<label for="repo_location">
${_('Repo Branch (optional)')}:
</label>
<input type="text" name="repo_branch" style="width:60%" />
</li>
</ul>
<div class="form-actions">
<button type="submit" name="action" value="add_course">${_('Load new course from github')}</button>
@@ -201,6 +207,6 @@ textarea {
</section>
<div style="text-align:right; float: right"><span id="djangopid">${_('Django PID')}: ${djangopid}</span>
| <span id="mitxver">${_('Platform Version')}: ${mitx_version}</span></div>
| <span id="edxver">${_('Platform Version')}: ${edx_platform_version}</span></div>
</div>
</section>