1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-07-19 09:37:51 +00:00

modified ui for other lang

This commit is contained in:
llj 2013-03-02 15:24:33 +08:00
parent bed0dc4000
commit 0062169395
5 changed files with 22 additions and 8 deletions

View File

@ -18,10 +18,10 @@
<table>
<tr>
<th width="4%"></th>
<th width="38%">{% trans "Email "%}</th>
<th width="35%">{% trans "Email "%}</th>
<th width="20%">{% trans "Name"%}</th>
<th width="26%">{% trans "Note"%}</th>
<th width="12%">{% trans "Operations"%}</th>
<th width="15%">{% trans "Operations"%}</th>
</tr>
{% for contact in contacts %}
<tr>

View File

@ -81,10 +81,10 @@
<tr>
<th width="4%"><!--icon--></th>
<th width="20%">{% trans "Name" %}</th>
<th width="34%">{% trans "Description" %}</th>
<th width="33%">{% trans "Description" %}</th>
<th width="16%">{% trans "Last Update" %}</th>
<th width="14%">{% trans "Shared By" %}</th>
<th width="12%">{% trans "Operations" %}</th>
<th width="13%">{% trans "Operations" %}</th>
</tr>
{% for repo in repos %}
@ -130,9 +130,9 @@
<tr>
<th width="5%"></th>
<th width="17%">{% trans "Library" %}</th>
<th width="49%">{% trans "Description" %}</th>
<th width="48%">{% trans "Description" %}</th>
<th width="15%">{% trans "Modified at" %}</th>
<th width="14%">{% trans "Modifier" %}</th>
<th width="15%">{% trans "Modifier" %}</th>
</tr>
{% for cmt in recent_commits %}

View File

@ -1210,6 +1210,7 @@ textarea:-moz-placeholder {/* for FF */
height:80px;
padding:2px;
}
#member-add-form,
#repo-share-form {
width:266px;
}
@ -1253,6 +1254,11 @@ textarea:-moz-placeholder {/* for FF */
width:5em;
color:#666;
}
.ru .group .item-name,
.de .group .item-name,
.it .group .item-name {
width:6em;
}
.member {
_height:21px;
padding-bottom:4px;
@ -1663,6 +1669,7 @@ textarea:-moz-placeholder {/* for FF */
cursor:pointer;
}
.share-permission-select {
position:relative;/*for long text in other lang in 'share admin'*/
background:#fff;
border:1px solid #ddd;
border-radius:2px;
@ -1808,6 +1815,12 @@ textarea:-moz-placeholder {/* for FF */
display:inline-block;
min-width:66px;
}
.ru .pubinfo-item {
min-width:64px;
}
.de .pubinfo-item {
min-width:63px;
}
.pubinfo-item .amount {
font-size:28px;
line-height:1;

View File

@ -56,6 +56,7 @@ function addConfirmTo(op_ele, popup) {
}
$('#confirm-con').html('<h3>' + popup['title'] + '</h3><p>' + popup['con'] + '</p>');
$('#confirm-popup').modal({appendTo:'#main'});
$('#simplemodal-container').css({'height':'auto'});
$('#confirm-yes').data('url', $(this).data('url')).click(function() {
location.href = $(this).data('url');
});

View File

@ -28,8 +28,8 @@
<th width="18%">{% trans "Name"%}</th>
<th width="21%">{% trans "Share To"%}</th>
<th width="15%">{% trans "Permission"%}</th>
<th width="30%">{% trans "Description"%}</th>
<th width="12%">{% trans "Operations"%}</th>
<th width="29%">{% trans "Description"%}</th>
<th width="13%">{% trans "Operations"%}</th>
</tr>
{% for repo in shared_repos %}
<tr data="{{repo.props.share_type}}">