mirror of
https://github.com/vrana/adminer.git
synced 2025-08-14 10:34:01 +02:00
Increase space after SQL result (fix #937)
This commit is contained in:
@@ -9,6 +9,7 @@
|
|||||||
- CSS: Sticky table headers (bug #918)
|
- CSS: Sticky table headers (bug #918)
|
||||||
- CSS: Allow more custom styles with dark mode (bug #925)
|
- CSS: Allow more custom styles with dark mode (bug #925)
|
||||||
- CSS: Increase maximum width of string edit (bug #930)
|
- CSS: Increase maximum width of string edit (bug #930)
|
||||||
|
- CSS: Increase space after SQL result (bug #937)
|
||||||
- Plugins: autoload plugins from adminer-plugins/
|
- Plugins: autoload plugins from adminer-plugins/
|
||||||
- Plugins: configure plugins with adminer-plugins.php
|
- Plugins: configure plugins with adminer-plugins.php
|
||||||
- Plugins: Display loaded plugins in server overview
|
- Plugins: Display loaded plugins in server overview
|
||||||
|
@@ -159,7 +159,7 @@ if (!$error && $_POST) {
|
|||||||
if (!$_POST["only_errors"]) {
|
if (!$_POST["only_errors"]) {
|
||||||
echo "<form action='' method='post'>\n";
|
echo "<form action='' method='post'>\n";
|
||||||
$num_rows = $result->num_rows;
|
$num_rows = $result->num_rows;
|
||||||
echo "<p>" . ($num_rows ? ($limit && $num_rows > $limit ? lang('%d / ', $limit) : "") . lang('%d row(s)', $num_rows) : "");
|
echo "<p class='sql-footer'>" . ($num_rows ? ($limit && $num_rows > $limit ? lang('%d / ', $limit) : "") . lang('%d row(s)', $num_rows) : "");
|
||||||
echo $time;
|
echo $time;
|
||||||
if ($connection2 && preg_match("~^($space|\\()*+SELECT\\b~i", $q) && ($explain = explain($connection2, $q))) {
|
if ($connection2 && preg_match("~^($space|\\()*+SELECT\\b~i", $q) && ($explain = explain($connection2, $q))) {
|
||||||
echo ", <a href='#$explain_id'>Explain</a>" . script("qsl('a').onclick = partial(toggle, '$explain_id');", "");
|
echo ", <a href='#$explain_id'>Explain</a>" . script("qsl('a').onclick = partial(toggle, '$explain_id');", "");
|
||||||
|
@@ -59,6 +59,7 @@ input.wayoff { left: -1000px; position: absolute; }
|
|||||||
.view { font-style: italic; }
|
.view { font-style: italic; }
|
||||||
.active { font-weight: bold; }
|
.active { font-weight: bold; }
|
||||||
.sqlarea { width: 98%; }
|
.sqlarea { width: 98%; }
|
||||||
|
.sql-footer { margin-bottom: 2.5em; }
|
||||||
.explain table { white-space: pre; }
|
.explain table { white-space: pre; }
|
||||||
.icon { width: 18px; height: 18px; background-color: navy; }
|
.icon { width: 18px; height: 18px; background-color: navy; }
|
||||||
.icon:hover { background-color: red; }
|
.icon:hover { background-color: red; }
|
||||||
|
Reference in New Issue
Block a user