diff --git a/adminer/db.inc.php b/adminer/db.inc.php index 6d7f8dd8..4ef8b781 100644 --- a/adminer/db.inc.php +++ b/adminer/db.inc.php @@ -157,7 +157,8 @@ if ($adminer->homepage()) { } echo '
' . lang('Create table') . "\n"; - echo (support("view") ? '' . lang('Create view') . "\n" : ""); + echo (support("view") ? ' | ' . lang('Create view') . "\n" : ""); + echo '
'; if (support("routine")) { echo "" . h(str_replace("\n", " ", $query)) . "
(" . format_time($start) . ")"
. (support("sql") ? " " . lang('Edit') . "" : "")
- . " " . lang('Copy to clipboard') . ""
+ . " | " . lang('Copy to clipboard') . ""
. $return
;
}
@@ -658,7 +658,7 @@ class Adminer {
return " " . @date("H:i:s") . "" // @ - time zone may be not set
. " $return
" . shorten_utf8($query, 1000) . "
"
. ($time ? " ($time)" : '')
- . (support("sql") ? '' . lang('Edit') . ' ' . lang('Copy to clipboard') . '' : '') + . (support("sql") ? '
' . lang('Edit') . ' | ' . lang('Copy to clipboard') . '' : '') . '
" . (support("sql") ? "" . lang('SQL command') . "\n" . lang('Import') . "\n" : "") . ""; + echo "
" . (support("sql") ? "" . lang('SQL command') . "\n | " . lang('Import') . "\n" : "") . "";
if (support("dump")) {
- echo "" . lang('Export') . "\n";
+ echo " | " . lang('Export') . "\n";
}
}
if ($_GET["ns"] !== "" && !$missing && DB != "") {
- echo '" . lang('Create table') . "\n";
+ echo '
" . lang('Create table') . "\n";
if (!$tables) {
echo "
" . $adminer->sqlCommandQuery($q) . "
\n";
- $print .= "" . lang('Copy to clipboard') . "";
+ $print .= " | " . lang('Copy to clipboard') . "";
if ($jush == "sqlite" && preg_match("~^$space*+ATTACH\\b~i", $q, $match)) {
// PHP doesn't support setting SQLITE_LIMIT_ATTACHED
echo $print;
diff --git a/adminer/static/default.css b/adminer/static/default.css
index 9b84ac78..0a0ba88d 100644
--- a/adminer/static/default.css
+++ b/adminer/static/default.css
@@ -24,7 +24,7 @@ code { background: #eee; }
tbody tr:hover td, tbody tr:hover th { background: #eee; }
pre { margin: 1em 0 0; }
pre, textarea { font: 100%/1.25 monospace; }
-input { vertical-align: middle; border-radius: 5px; padding: 2px; }
+input, button { vertical-align: middle; border-radius: 5px; padding: 2px; }
input.default { box-shadow: 1px 1px 1px #777; }
input.required { box-shadow: 1px 1px 1px red; }
input.maxlength { box-shadow: 1px 1px 1px red; }
@@ -64,7 +64,7 @@ select { border-radius: 5px; padding: 2px; vertical-align: middle;; }
.footer { position: sticky; bottom: 0; margin-right: -20px; border-top: 20px solid rgba(255, 255, 255, .7); border-image: linear-gradient(rgba(255, 255, 255, .2), #fff) 100% 0; }
.footer > div { background: #fff; padding: 0 0 .5em; }
.footer fieldset { margin-top: 0; }
-.links a { white-space: nowrap; margin-right: 5px; }
+.links a { white-space: nowrap; }
.logout { margin-top: .5em; position: absolute; top: 0; right: 0; }
.loadmore { margin-left: 1ex; }
/* .edit used in designs */