mirror of
https://github.com/vrana/adminer.git
synced 2025-08-13 18:14:07 +02:00
Align dates (Editor)
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1245 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -31,6 +31,7 @@ tr:hover td, tr:hover th { background: #ddf; }
|
||||
.time { color: silver; font-size: 70%; float: right; margin-top: -3em; }
|
||||
.function { text-align: right; }
|
||||
.number { text-align: right; }
|
||||
.datetime { text-align: right; }
|
||||
.type { width: 15ex; width: auto\9; }
|
||||
#menu { position: absolute; margin: 10px 0 0; padding: 0 0 30px 0; top: 2em; left: 0; width: 19em; overflow: auto; overflow-y: hidden; white-space: nowrap; }
|
||||
#menu p { padding: .8em 1em; margin: 0; border-bottom: 1px solid #ccc; }
|
||||
|
@@ -159,6 +159,8 @@ ORDER BY ORDINAL_POSITION");
|
||||
}
|
||||
if (!$link && $field["full_type"] != "tinyint(1)" && ereg('int|float|double|decimal', $field["type"])) {
|
||||
$return = "<div class='number'>$return</div>"; // Firefox doesn't support <colgroup>
|
||||
} elseif (ereg('date', $field["type"])) {
|
||||
$return = "<div class='datetime'>$return</div>";
|
||||
}
|
||||
return $return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user