1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-06-27 07:28:42 +00:00

improved tables

This commit is contained in:
llj 2012-04-01 14:25:25 +08:00
parent 2af0fe696b
commit fbe5f18f64
6 changed files with 32 additions and 32 deletions

View File

@ -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; }

View File

@ -19,10 +19,10 @@
{% if owned_repos %}
<table class="repo-list">
<tr>
<th>名字</th>
<th>ID</th>
<th>描述</th>
<th>操作</th>
<th width="12%">名字</th>
<th width="33%">ID</th>
<th width="47%">描述</th>
<th width="8%">操作</th>
</tr>
{% for repo in owned_repos %}
@ -42,10 +42,10 @@
{% if fetched_repos %}
<table class="repo-list">
<tr>
<th>名字</th>
<th>ID</th>
<th>描述</th>
<th>操作</th>
<th width="12%">名字</th>
<th width="33%">ID</th>
<th width="47%">描述</th>
<th width="8%">操作</th>
</tr>
{% for repo in fetched_repos %}

View File

@ -17,10 +17,10 @@
{% if owned_repos %}
<table class="repo-list">
<tr>
<th>名字</th>
<th>ID</th>
<th>描述</th>
<th>操作</th>
<th width="12%">名字</th>
<th width="33%">ID</th>
<th width="47%">描述</th>
<th width="8%">操作</th>
</tr>
{% for repo in owned_repos %}
@ -44,10 +44,10 @@
{% if fetched_repos %}
<table class="repo-list">
<tr>
<th>名字</th>
<th>ID</th>
<th>描述</th>
<th>操作</th>
<th width="12%">名字</th>
<th width="33%">ID</th>
<th width="47%">描述</th>
<th width="8%">操作</th>
</tr>
{% for repo in fetched_repos %}

View File

@ -21,8 +21,8 @@
<h3>基本信息</h3>
<table>
<tr>
<th>ID</th>
<td>{{repo.props.id}}</td>
<th width="12%">ID</th>
<td width="88%">{{repo.props.id}}</td>
</tr>
<tr>
<th>描述</th>
@ -44,8 +44,8 @@
<table>
<tr>
<!-- <th>ID</th> -->
<th>修改时间</th>
<th>描述</th>
<th width="20%">修改时间</th>
<th width="80%">描述</th>
</tr>
{% for commit in commits %}
<tr>

View File

@ -6,11 +6,11 @@
{% if repos %}
<table class="repo-list">
<tr>
<th>名字</th>
<th>拥有者</th>
<th>ID</th>
<th>描述</th>
<th>操作</th>
<th width="12%">名字</th>
<th width="20%">拥有者</th>
<th width="33%">ID</th>
<th width="27%">描述</th>
<th width="8%">操作</th>
</tr>
{% for repo in repos %}
<tr>

View File

@ -13,11 +13,11 @@
<h2>所有用户</h2>
<table class="user-list">
<tr>
<th>邮箱</th>
<th>是否激活</th>
<th>个人 ID</th>
<th>角色</th>
<th>操作</th>
<th width="30%">邮箱</th>
<th width="10%">是否激活</th>
<th width="40%">个人 ID</th>
<th width="10%">角色</th>
<th width="10%">操作</th>
</tr>
{% for user in users %}