mirror of
https://github.com/haiwen/seahub.git
synced 2025-07-15 16:04:01 +00:00
24 lines
1.1 KiB
HTML
24 lines
1.1 KiB
HTML
<form id="repo-create-form" action="" method="post" class="hide">
|
|
<h3>新建资料库</h3>
|
|
<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>
|
|
{% if create_shared_repo %}
|
|
<label style="display:block">共享权限:</label>
|
|
<select name="permission">
|
|
<option value="rw" selected="selected">可读写</option>
|
|
<option value="r">只可浏览</option>
|
|
</select>
|
|
{% endif %}
|
|
<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>
|