diff --git a/media/css/seahub.css b/media/css/seahub.css index 2528e5332a..64e27a0f81 100644 --- a/media/css/seahub.css +++ b/media/css/seahub.css @@ -2,7 +2,6 @@ body,div,h1,h2,h3,h4,h5,h6,p,ul,li,blockquote,form,input,button,img { margin:0; ul > li { list-style:none; } .error { color:red; } .float_left { float:left; } -.hidden { display:none } .clear { clear:both; } .fleft { float:left } .fright { float:right } @@ -18,7 +17,7 @@ ul > li { list-style:none; } a { color:#ee8833; text-decoration:none; font-weight:bold; } a:hover { color: #ff9933; text-decoration: underline; } /* table */ -table { border-spacing: 0; border-collapse: collapse; } +table { border-spacing: 0; border-collapse: collapse; margin:3px 0 5px; } td, th { padding: 3px; border: 1px solid #aaa; } th { color:#808; } tr.even { background-color: #FAFAFA; } @@ -178,5 +177,5 @@ span.small-action-link { font-size: 9px; } input.ccnet_id { width: 400px; } .notification { background:#FDF; width:580px; margin:10px 0; border:1px solid #faf; padding:10px; } .repo-list { - margin-bottom: 10px; + margin-bottom: 12px; } diff --git a/templates/ownerhome.html b/templates/ownerhome.html index ca3794db98..16e38c9ef3 100644 --- a/templates/ownerhome.html +++ b/templates/ownerhome.html @@ -15,7 +15,7 @@

{{ owner }}的同步目录

{% endif %} {% if owned_repos %} - +
@@ -28,7 +28,7 @@ - + {% endfor %}
名字 ID{{ repo.props.name }} {{ repo.props.id }} {{ repo.props.desc }}删除
@@ -42,7 +42,7 @@

{{ owner }}用过的同步目录

{% endif %} {% if fetched_repos %} - +
@@ -55,11 +55,32 @@ - + {% endfor %}
名字 ID{{ repo.props.name }} {{ repo.props.id }} {{ repo.props.desc }}删除
{% else %}

暂无

{% endif %} + +
+

确定要删除吗?

+ + +
+{% endblock %} + +{% block extra_script %} + {% endblock %} diff --git a/templates/repo.html b/templates/repo.html index 101ad144ab..2374eb7e3a 100644 --- a/templates/repo.html +++ b/templates/repo.html @@ -5,36 +5,37 @@

{{repo.props.name}}

-
-

新口令:

+ +

新口令:


- +

基本信息

+
- + - + - + {% if is_owner %} - + {% else %} - + {% endif %}
IDID {{repo.props.id}}
描述描述 {{repo.props.desc}}
访问口令访问口令{{token}} {{token}} 只有拥有者可见只有同步目录拥有者可见
-

提交记录

- +

修改记录

+
- + {% for commit in commits %} @@ -54,8 +55,6 @@ $(function() { $("#modify-token-btn").click(function() { $("#modify-token-form").modal({appendTo: "#main"}); }); - - $("#modify-token-form").hide(); }) {% endblock %} diff --git a/templates/useradmin.html b/templates/useradmin.html index 3e61d2bda1..4ab0fb5705 100644 --- a/templates/useradmin.html +++ b/templates/useradmin.html @@ -49,15 +49,11 @@ {% endfor %}
时间修改时间 描述
- +
+

的新角色 (即 MyClient 等):

+
+ +

确认要删除?