1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 08:16:07 +00:00

[ui] modified ui details of 'share popup' & 'dir view'

This commit is contained in:
llj
2015-04-01 16:43:09 +08:00
committed by Daniel Pan
parent 165f7ccf6e
commit 1b306dac28
5 changed files with 19 additions and 10 deletions

View File

@@ -9,14 +9,13 @@
width:123px;
}
.repo-file-list .dirent-op {
width:150px;
padding-left:30px;
width:120px;
}
.repo-file-list .hidden-op {
min-width: 100px;
}
.displayed-op .download,
.displayed-op .share,
.displayed-op .delete {
.displayed-op .op {
margin-left:5px;
}
.hidden-op a {

View File

@@ -3486,3 +3486,13 @@ textarea:-moz-placeholder {/* for FF */
#multi-dirents-op .del-dirents {
background-position: -57px -5px;
}
#dir-private-share .label {
margin:6px 0 8px;
}
#dir-private-share .select2-container {
margin-bottom:10px;
}
#dir-private-share .submit {
margin-top:18px;
}

BIN
media/img/more_op.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 B

View File

@@ -24,7 +24,7 @@
<% } %>
</div>
<% if (user_perm == 'rw') { %>
<img src="{{ MEDIA_URL }}img/dropdown-arrow.png" title="{% trans "More operations" %}" alt="{% trans "More operations" %}" class="more-op-icon cspt" />
<img src="{{ MEDIA_URL }}img/more_op.png" title="{% trans "More operations" %}" alt="{% trans "More operations" %}" class="more-op-icon cspt" />
<ul class="hidden-op hide">
<li><a class="op rename" href="#">{% trans "Rename" %}</a></li>
<li><a class="op mv" href="#">{% trans "Move" %}</a></li>
@@ -78,7 +78,7 @@
<% } %>
</div>
<% if (user_perm == 'rw') { %>
<img src="{{ MEDIA_URL }}img/dropdown-arrow.png" title="{% trans "More Operations"%}" alt="{% trans "More Operations"%}" class="more-op-icon cspt" />
<img src="{{ MEDIA_URL }}img/more_op.png" title="{% trans "More Operations"%}" alt="{% trans "More Operations"%}" class="more-op-icon cspt" />
<ul class="hidden-op hide">
<li><a class="op rename" href="#">{% trans "Rename" %}</a></li>
<li><a class="op mv" href="#">{% trans "Move" %}</a></li>

View File

@@ -99,19 +99,19 @@
<% if (!is_virtual && is_repo_owner) { %>
<div id="dir-private-share" class="tabs-panel hide">
<form id="dir-private-share-form" action="" class="hide">
<label>{% trans "People:" %}</label><br />
<label class="label">{% trans "People:" %}</label><br />
<input type="hidden" name="emails" class="w100" /><br />
<label>{% trans "Groups:" %}</label><br />
<label class="label">{% trans "Groups:" %}</label><br />
<select name="groups" class="w100" multiple="multiple"></select><br />
<label>{% trans "Permission:" %}</label><br />
<label class="label">{% trans "Permission:" %}</label><br />
<select name="permission" class="share-permission-select w100">
<option value="rw" selected="selected">{% trans "Read-Write"%}</option>
<option value="r">{% trans "Read-Only"%}</option>
</select>
<p class="error hide"></p>
<input type="submit" value="{% trans "Submit" %}" />
<input type="submit" value="{% trans "Submit" %}" class="submit" />
</form>
</div>
<% } %>