1
0
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:
llj
2014-02-21 18:32:56 +08:00
parent 686cb0a200
commit f61ec323ae
4 changed files with 22 additions and 27 deletions

View File

@@ -1416,9 +1416,6 @@ textarea:-moz-placeholder {/* for FF */
#repo-top .hd { #repo-top .hd {
margin-right:15px; margin-right:15px;
} }
#repo-basic-info .desc {
font-size:1.2em;
}
#repo-basic-info .link-icon { #repo-basic-info .link-icon {
margin:0 5px 0 15px; margin:0 5px 0 15px;
} }
@@ -1474,6 +1471,7 @@ textarea:-moz-placeholder {/* for FF */
padding:8px 10px; padding:8px 10px;
} }
.repo-file-list-topbar .path { .repo-file-list-topbar .path {
font-size:14px;
line-height:25px; line-height:25px;
margin:0; margin:0;
} }
@@ -2351,11 +2349,13 @@ textarea:-moz-placeholder {/* for FF */
right:10px; right:10px;
} }
#bottom-bar button { #bottom-bar button {
color:#fff; color:#424242;
font-size:15px; background:#fff;
background:#000; border-color:#cacaca;
opacity:0.75; margin-left:2px;
margin-left:5px; }
#bottom-bar button:focus {
outline:none;
} }
#bottom-bar [class^='icon-'] { #bottom-bar [class^='icon-'] {
margin-right:3px; margin-right:3px;

View File

@@ -25,17 +25,13 @@
<a href="{{ SITE_ROOT }}seafile_access_check/?repo_id={{repo.props.id}}" target="_blank">{% trans "Download" %}</a> <a href="{{ SITE_ROOT }}seafile_access_check/?repo_id={{repo.props.id}}" target="_blank">{% trans "Download" %}</a>
{% endif %} {% endif %}
{% if is_repo_owner %} {% 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 %} {% endif %}
{% if user_perm == 'rw' %} {% 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 %} {% endif %}
</span> </span>
</div> </div>
<!--div id="repo-latest-commit">
{% include 'snippets/current_commit.html' %}
</div-->
</div> </div>
{% if repo.enc_version == 2 and not server_crypto and repo.encrypted %} {% if repo.enc_version == 2 and not server_crypto and repo.encrypted %}

View File

@@ -18,8 +18,8 @@
<tr> <tr>
<th width="4%"><!--icon--></th> <th width="4%"><!--icon--></th>
<th width="24%">{% trans "Name" %}</th> <th width="24%">{% trans "Name" %}</th>
<th width="43%">{% trans "Description" %}</th> <th width="40%">{% trans "Description" %}</th>
<th width="15%">{% trans "Last Update" %}</th> <th width="18%">{% trans "Last Update" %}</th>
<th width="14%">{% trans "Operations" %}</th> <th width="14%">{% trans "Operations" %}</th>
</tr> </tr>
{% for repo in owned_repos %} {% for repo in owned_repos %}
@@ -65,8 +65,8 @@
<tr> <tr>
<th width="4%"><!--icon--></th> <th width="4%"><!--icon--></th>
<th width="24%">{% trans "Name" %}</th> <th width="24%">{% trans "Name" %}</th>
<th width="43%">{% trans "Origin" %}</th> <th width="40%">{% trans "Origin" %}</th>
<th width="15%">{% trans "Last Update" %}</th> <th width="18%">{% trans "Last Update" %}</th>
<th width="14%">{% trans "Operations" %}</th> <th width="14%">{% trans "Operations" %}</th>
</tr> </tr>
{% for repo in sub_repos %} {% for repo in sub_repos %}
@@ -215,8 +215,8 @@
<tr> <tr>
<th width="4%"><!--icon--></th> <th width="4%"><!--icon--></th>
<th width="24%">{% trans "Name" %}</th> <th width="24%">{% trans "Name" %}</th>
<th width="43%">{% trans "Description" %}</th> <th width="40%">{% trans "Description" %}</th>
<th width="15%">{% trans "Last Update" %}</th> <th width="18%">{% trans "Last Update" %}</th>
<th width="14%">{% trans "Operations" %}</th> <th width="14%">{% trans "Operations" %}</th>
</tr> </tr>
<tr class="repo-item"> <tr class="repo-item">

View File

@@ -1,12 +1,11 @@
{% load seahub_tags i18n %} {% load seahub_tags i18n %}
<div class="repo-file-list-topbar ovhd"> <div class="repo-file-list-topbar ovhd">
<p class="path fleft"> <p class="path fleft">
{% trans "Current path: "%}
{% for name, link in zipped %} {% for name, link in zipped %}
{% if not forloop.last %} {% if forloop.first or not forloop.last %}
<a href="{{ SITE_ROOT }}repo/{{ repo.id }}/?p={{ link|urlencode }}" class="dir-link">{{ name }}</a> / <a href="{{ SITE_ROOT }}repo/{{ repo.id }}/?p={{ link|urlencode }}" class="dir-link normal">{{ name }}</a> /
{% else %} {% else %}
<span id="cur-dir-name">{{ name }}</span> <span id="cur-dir-name">{{ name }}</span> /
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</p> </p>
@@ -26,9 +25,9 @@
{% endif %} {% endif %}
{% endif %} {% endif %}
</div> </div>
<div id="repo-latest-commit" class="clear"> <div id="repo-latest-commit" class="clear">
{% include 'snippets/current_commit.html' %} {% include 'snippets/current_commit.html' %}
</div> </div>
</div> </div>
<table class="repo-file-list"> <table class="repo-file-list">