mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-19 10:26:17 +00:00
modified simple-input-popups
This commit is contained in:
@@ -26,9 +26,10 @@
|
||||
<p>{% blocktrans %}You can create a group by clicking "New Group" button. Group is a place for you and your friends leaving messages and collaborating on libraries.{% endblocktrans %}</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
<form id="group-add-form" action="" method="post" name="group-add-form" class="hide">
|
||||
<form id="group-add-form" action="" method="post" name="group-add-form" class="simple-input-popup hide">
|
||||
<h3>{% trans "New Group" %}</h3>
|
||||
<label>{% trans "Group Name" %}</label><br />
|
||||
<input id="group_name" name="group_name" value="" /><br />
|
||||
<input id="group_name" name="group_name" value="" class="long-input" /><br />
|
||||
<p class="error hide"></p>
|
||||
<input id="group-add-submit" type="submit" value="{% trans "Submit" %}" />
|
||||
<input id="group-add-submit" type="submit" class="submit" value="{% trans "Submit" %}" />
|
||||
</form>
|
||||
|
@@ -556,12 +556,19 @@ textarea:-moz-placeholder {/* for FF */
|
||||
.simplemodal-close {
|
||||
margin-left:5px;
|
||||
}
|
||||
#confirm-popup {
|
||||
#confirm-popup,
|
||||
#rename-form {
|
||||
min-width:255px;
|
||||
}
|
||||
#confirm-popup button {
|
||||
margin-top:.8em;
|
||||
}
|
||||
.simple-input-popup {
|
||||
width:255px;
|
||||
}
|
||||
.simple-input-popup .long-input {
|
||||
width:99%;
|
||||
}
|
||||
|
||||
/*ui-autocomplete*/
|
||||
.ui-autocomplete {
|
||||
|
@@ -159,21 +159,23 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<form id="add-new-dir-form" action="" method="post" class="hide">{% csrf_token %}
|
||||
<h4>{% trans "Directory Name"%}</h4>
|
||||
<form id="add-new-dir-form" action="" method="post" class="simple-input-popup hide">{% csrf_token %}
|
||||
<h3>{% trans "New Directory" %}</h3>
|
||||
<label>{% trans "Directory Name" %}</label>
|
||||
<input type="hidden" name="repo_id" value="{{ repo.id }}" />
|
||||
<input type="hidden" name="parent_dir" value="{{ path }}" />
|
||||
<input type="text" name="new_dir_name" value="" /><br />
|
||||
<input type="text" name="new_dir_name" value="" class="long-input" /><br />
|
||||
<p class="error hide"></p>
|
||||
<input type="submit" value="{% trans "Submit" %}" class="submit" />
|
||||
<button class="simplemodal-close">{% trans "Cancel" %}</button>
|
||||
</form>
|
||||
|
||||
<form id="add-new-file-form" action="" method="post" class="hide">{% csrf_token %}
|
||||
<h4>{% trans "File Name"%}</h4>
|
||||
<form id="add-new-file-form" action="" method="post" class="simple-input-popup hide">{% csrf_token %}
|
||||
<h3>{% trans "New File" %}</h3>
|
||||
<label>{% trans "File Name" %}</label>
|
||||
<input type="hidden" name="repo_id" value="{{ repo.id }}" />
|
||||
<input type="hidden" name="parent_dir" value="{{ path }}" />
|
||||
<input type="text" name="new_file_name" value="" /><br />
|
||||
<input type="text" name="new_file_name" value="" class="long-input" /><br />
|
||||
<p class="error hide"></p>
|
||||
<input type="submit" value="{% trans "Submit"%}" class="submit" />
|
||||
<button class="simplemodal-close">{% trans "Cancel"%}</button>
|
||||
|
Reference in New Issue
Block a user