2012-08-29 05:40:47 +00:00
|
|
|
<form id="repo-create-form" action="" method="post" class="hide">
|
2012-10-09 06:38:13 +00:00
|
|
|
<h3>新建资料库</h3>
|
2012-07-28 08:41:24 +00:00
|
|
|
<label>名称:</label><br/>
|
|
|
|
<input id="repo-name" type="text" name="repo_name" value="" /><br />
|
|
|
|
<label>描述:</label><br/>
|
|
|
|
<textarea id="repo-desc" name="repo_desc"></textarea>
|
2012-09-26 02:49:00 +00:00
|
|
|
{% if create_shared_repo %}
|
|
|
|
<label style="display:block">共享权限:</label>
|
|
|
|
<select name="permission">
|
|
|
|
<option value="rw" selected="selected">可读写</option>
|
|
|
|
<option value="r">只可浏览</option>
|
|
|
|
</select>
|
|
|
|
{% endif %}
|
2012-07-28 08:41:24 +00:00
|
|
|
<div class="repo-create-encryption">
|
|
|
|
<input type="checkbox" name="encryption" id="encrypt-switch" /><label>加密</label><br />
|
|
|
|
<label>密码:</label><span class="tip">(3到15个字符)</span><br />
|
|
|
|
<input type="password" name="passwd" disabled="disabled" class="passwd input-disabled" /><br />
|
|
|
|
<label>密码确认:</label><br />
|
|
|
|
<input type="password" name="passwd_again" disabled="disabled" class="passwd input-disabled" />
|
|
|
|
</div>
|
|
|
|
<p class="error hide"></p>
|
|
|
|
<input type="submit" id="repo-create-submit" value="提交" class="submit" />
|
|
|
|
</form>
|