mirror of
https://github.com/haiwen/seahub.git
synced 2025-10-22 03:16:34 +00:00
[repo] modified ui details
This commit is contained in:
@@ -1416,9 +1416,6 @@ textarea:-moz-placeholder {/* for FF */
|
||||
#repo-top .hd {
|
||||
margin-right:15px;
|
||||
}
|
||||
#repo-basic-info .desc {
|
||||
font-size:1.2em;
|
||||
}
|
||||
#repo-basic-info .link-icon {
|
||||
margin:0 5px 0 15px;
|
||||
}
|
||||
@@ -1474,6 +1471,7 @@ textarea:-moz-placeholder {/* for FF */
|
||||
padding:8px 10px;
|
||||
}
|
||||
.repo-file-list-topbar .path {
|
||||
font-size:14px;
|
||||
line-height:25px;
|
||||
margin:0;
|
||||
}
|
||||
@@ -2351,11 +2349,13 @@ textarea:-moz-placeholder {/* for FF */
|
||||
right:10px;
|
||||
}
|
||||
#bottom-bar button {
|
||||
color:#fff;
|
||||
font-size:15px;
|
||||
background:#000;
|
||||
opacity:0.75;
|
||||
margin-left:5px;
|
||||
color:#424242;
|
||||
background:#fff;
|
||||
border-color:#cacaca;
|
||||
margin-left:2px;
|
||||
}
|
||||
#bottom-bar button:focus {
|
||||
outline:none;
|
||||
}
|
||||
#bottom-bar [class^='icon-'] {
|
||||
margin-right:3px;
|
||||
|
@@ -25,17 +25,13 @@
|
||||
<a href="{{ SITE_ROOT }}seafile_access_check/?repo_id={{repo.props.id}}" target="_blank">{% trans "Download" %}</a>
|
||||
{% endif %}
|
||||
{% if is_repo_owner %}
|
||||
<a id="repo-setting-btn" href="{% url 'repo_settings' repo.id %}"><img class="link-icon vam" src="{{ MEDIA_URL }}img/lib_setting.png" alt="" /><span class="vam">{% trans "Settings" %}</span></a>
|
||||
<a id="repo-setting-btn" href="{% url 'repo_settings' repo.id %}" class="normal"><img class="link-icon vam" src="{{ MEDIA_URL }}img/lib_setting.png" alt="" /><span class="vam">{% trans "Settings" %}</span></a>
|
||||
{% endif %}
|
||||
{% if user_perm == 'rw' %}
|
||||
<a id="recycle-btn" href="{% url 'repo_recycle_view' repo.id %}"><img class="link-icon vam" src="{{ MEDIA_URL }}img/lib_trash.png" alt="" /><span class="vam">{% trans "Trash"%}</span></a>
|
||||
<a id="recycle-btn" href="{% url 'repo_recycle_view' repo.id %}" class="normal"><img class="link-icon vam" src="{{ MEDIA_URL }}img/lib_trash.png" alt="" /><span class="vam">{% trans "Trash"%}</span></a>
|
||||
{% endif %}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!--div id="repo-latest-commit">
|
||||
{% include 'snippets/current_commit.html' %}
|
||||
</div-->
|
||||
</div>
|
||||
|
||||
{% if repo.enc_version == 2 and not server_crypto and repo.encrypted %}
|
||||
|
@@ -18,8 +18,8 @@
|
||||
<tr>
|
||||
<th width="4%"><!--icon--></th>
|
||||
<th width="24%">{% trans "Name" %}</th>
|
||||
<th width="43%">{% trans "Description" %}</th>
|
||||
<th width="15%">{% trans "Last Update" %}</th>
|
||||
<th width="40%">{% trans "Description" %}</th>
|
||||
<th width="18%">{% trans "Last Update" %}</th>
|
||||
<th width="14%">{% trans "Operations" %}</th>
|
||||
</tr>
|
||||
{% for repo in owned_repos %}
|
||||
@@ -65,8 +65,8 @@
|
||||
<tr>
|
||||
<th width="4%"><!--icon--></th>
|
||||
<th width="24%">{% trans "Name" %}</th>
|
||||
<th width="43%">{% trans "Origin" %}</th>
|
||||
<th width="15%">{% trans "Last Update" %}</th>
|
||||
<th width="40%">{% trans "Origin" %}</th>
|
||||
<th width="18%">{% trans "Last Update" %}</th>
|
||||
<th width="14%">{% trans "Operations" %}</th>
|
||||
</tr>
|
||||
{% for repo in sub_repos %}
|
||||
@@ -215,8 +215,8 @@
|
||||
<tr>
|
||||
<th width="4%"><!--icon--></th>
|
||||
<th width="24%">{% trans "Name" %}</th>
|
||||
<th width="43%">{% trans "Description" %}</th>
|
||||
<th width="15%">{% trans "Last Update" %}</th>
|
||||
<th width="40%">{% trans "Description" %}</th>
|
||||
<th width="18%">{% trans "Last Update" %}</th>
|
||||
<th width="14%">{% trans "Operations" %}</th>
|
||||
</tr>
|
||||
<tr class="repo-item">
|
||||
|
@@ -1,12 +1,11 @@
|
||||
{% load seahub_tags i18n %}
|
||||
<div class="repo-file-list-topbar ovhd">
|
||||
<p class="path fleft">
|
||||
{% trans "Current path: "%}
|
||||
{% for name, link in zipped %}
|
||||
{% if not forloop.last %}
|
||||
<a href="{{ SITE_ROOT }}repo/{{ repo.id }}/?p={{ link|urlencode }}" class="dir-link">{{ name }}</a> /
|
||||
{% if forloop.first or not forloop.last %}
|
||||
<a href="{{ SITE_ROOT }}repo/{{ repo.id }}/?p={{ link|urlencode }}" class="dir-link normal">{{ name }}</a> /
|
||||
{% else %}
|
||||
<span id="cur-dir-name">{{ name }}</span>
|
||||
<span id="cur-dir-name">{{ name }}</span> /
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</p>
|
||||
|
Reference in New Issue
Block a user