diff --git a/media/css/seahub.css b/media/css/seahub.css index d19355c1ac..161b751c1e 100644 --- a/media/css/seahub.css +++ b/media/css/seahub.css @@ -17,8 +17,8 @@ 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; width:740px; margin:3px 0 5px; } -td, th { padding: 3px; /*border: 1px solid #aaa;*/ } +table { border-spacing: 0; border-collapse: collapse; width:770px; margin:3px 0 5px; } +td, th { padding: 3px; word-break:break-word; } th { /*color:#808;*/ color:#333; text-align:left; } tr.even { background-color: #FAFAFA; } tr.odd { background-color: #EBEBEB; } diff --git a/templates/myhome.html b/templates/myhome.html index 60104dba54..e8f37a9e55 100644 --- a/templates/myhome.html +++ b/templates/myhome.html @@ -19,10 +19,10 @@ {% if owned_repos %} - - - - + + + + {% for repo in owned_repos %} @@ -42,10 +42,10 @@ {% if fetched_repos %}
名字ID描述操作名字ID描述操作
- - - - + + + + {% for repo in fetched_repos %} diff --git a/templates/ownerhome.html b/templates/ownerhome.html index 84eeef62f0..1911b94195 100644 --- a/templates/ownerhome.html +++ b/templates/ownerhome.html @@ -17,10 +17,10 @@ {% if owned_repos %}
名字ID描述操作名字ID描述操作
- - - - + + + + {% for repo in owned_repos %} @@ -44,10 +44,10 @@ {% if fetched_repos %}
名字ID描述操作名字ID描述操作
- - - - + + + + {% for repo in fetched_repos %} diff --git a/templates/repo.html b/templates/repo.html index 117a357f2b..86cbb24d7e 100644 --- a/templates/repo.html +++ b/templates/repo.html @@ -21,8 +21,8 @@

基本信息

名字ID描述操作名字ID描述操作
- - + + @@ -44,8 +44,8 @@
ID{{repo.props.id}}ID{{repo.props.id}}
描述
- - + + {% for commit in commits %} diff --git a/templates/repos.html b/templates/repos.html index 9d67583089..0ec2f0cf48 100644 --- a/templates/repos.html +++ b/templates/repos.html @@ -6,11 +6,11 @@ {% if repos %}
修改时间描述修改时间描述
- - - - - + + + + + {% for repo in repos %} diff --git a/templates/useradmin.html b/templates/useradmin.html index 7eb270ca3f..a0f9f581c5 100644 --- a/templates/useradmin.html +++ b/templates/useradmin.html @@ -13,11 +13,11 @@

所有用户

名字拥有者ID描述操作名字拥有者ID描述操作
- - - - - + + + + + {% for user in users %}
邮箱是否激活个人 ID角色操作邮箱是否激活个人 ID角色操作