2012-10-27 06:11:37 +00:00
|
|
|
{% load i18n %}
|
2012-08-29 05:40:47 +00:00
|
|
|
<form id="repo-create-form" action="" method="post" class="hide">
|
2012-10-27 06:11:37 +00:00
|
|
|
<h3>{% trans "New Library"%}</h3>
|
|
|
|
<label>{% trans "Name"%}</label><br/>
|
2012-07-28 08:41:24 +00:00
|
|
|
<input id="repo-name" type="text" name="repo_name" value="" /><br />
|
2012-10-27 06:11:37 +00:00
|
|
|
<label>{% trans "Description"%}</label><br/>
|
2012-07-28 08:41:24 +00:00
|
|
|
<textarea id="repo-desc" name="repo_desc"></textarea>
|
2012-09-26 02:49:00 +00:00
|
|
|
{% if create_shared_repo %}
|
2012-10-27 06:11:37 +00:00
|
|
|
<label style="display:block">{% trans "Share Permission"%}</label>
|
2012-09-26 02:49:00 +00:00
|
|
|
<select name="permission">
|
2012-10-27 06:11:37 +00:00
|
|
|
<option value="rw" selected="selected">{% trans "Read-Write"%}</option>
|
|
|
|
<option value="r">{% trans "Read-Only"%}</option>
|
2012-09-26 02:49:00 +00:00
|
|
|
</select>
|
|
|
|
{% endif %}
|
2012-07-28 08:41:24 +00:00
|
|
|
<div class="repo-create-encryption">
|
2012-10-27 06:11:37 +00:00
|
|
|
<input type="checkbox" name="encryption" id="encrypt-switch" /><label>{% trans "Encrypt"%}</label><br />
|
|
|
|
<label>{% trans "Password"%}</label><span class="tip">{% trans "(3-15 characters)"%}</span><br />
|
2012-07-28 08:41:24 +00:00
|
|
|
<input type="password" name="passwd" disabled="disabled" class="passwd input-disabled" /><br />
|
2012-10-29 13:43:52 +00:00
|
|
|
<label>{% trans "Password again"%}</label><br />
|
2012-07-28 08:41:24 +00:00
|
|
|
<input type="password" name="passwd_again" disabled="disabled" class="passwd input-disabled" />
|
|
|
|
</div>
|
|
|
|
<p class="error hide"></p>
|
2012-10-29 03:19:21 +00:00
|
|
|
<input type="submit" id="repo-create-submit" value="{% trans "Submit"%}" class="submit"/>
|
2012-07-28 08:41:24 +00:00
|
|
|
</form>
|