From 8b7ec99af326243ea457a321ea50764bf8069047 Mon Sep 17 00:00:00 2001 From: Cheer Xiao Date: Mon, 10 Oct 2011 23:08:28 +0800 Subject: [PATCH] Refined mirrors stat table: alick * move description column to the right most * move style attrib to css xiaq * fixed escape sequence missing semicolon ( ) * doctype changed to html * validated by w3c now! --- index.php | 22 +++++++++++----------- mirrors.tuna.css | 19 ++++++++++++++++++- 2 files changed, 29 insertions(+), 12 deletions(-) diff --git a/index.php b/index.php index 003b2da..7ff3950 100644 --- a/index.php +++ b/index.php @@ -1,4 +1,4 @@ - + @@ -143,12 +143,12 @@ function format_size($size) 名称 - 描述 维护者 状态 大小 文件总数 同步完成时间 + 描述 @@ -160,30 +160,30 @@ function format_size($size) - - 同步完成 + 同步完成 - 正在同步 + 正在同步 - 未知 + 未知 - 同步失败 + 同步失败 -   -   -   +   +   +   + - +

HTTP统计

diff --git a/mirrors.tuna.css b/mirrors.tuna.css index 75cd6b3..6c372aa 100644 --- a/mirrors.tuna.css +++ b/mirrors.tuna.css @@ -12,7 +12,8 @@ font-weight: bolder; } .description { - width: 20em; + font-size: smaller; + width: auto; } .tuna-logo img { @@ -20,3 +21,19 @@ border-style: none; } +.sync-state { + white-space: nowrap; +} + +.sync-ed { + background-color: #00ff00; +} +.sync-ing { + background-color: #ffff00; +} +.sync-unknown { + background-color: #00ffff; +} +.sync-fail { + background-color: #ff0000; +}