mirror of
https://github.com/haiwen/seahub.git
synced 2025-06-26 23:17:58 +00:00
improved tables
This commit is contained in:
parent
2af0fe696b
commit
fbe5f18f64
@ -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; }
|
||||
|
@ -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 %}
|
||||
|
@ -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 %}
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user