]> git.joonet.de Git - adminer.git/commitdiff
Change version layout
authorPeter Knut <peter@pematon.com>
Wed, 16 Oct 2024 19:32:31 +0000 (21:32 +0200)
committerJakub Vrana <jakub@vrana.cz>
Wed, 19 Feb 2025 19:47:36 +0000 (20:47 +0100)
adminer/include/adminer.inc.php
adminer/static/default.css
editor/include/adminer.inc.php

index 0910b392e8c3d7f16030e3208fecc9d7d8e14dc4..00d2fe3f8badcf7073fe9c02ceff7a451d967ea7 100644 (file)
@@ -942,8 +942,11 @@ class Adminer {
                global $VERSION, $jush, $drivers, $connection;
                ?>
 <h1>
-<?php echo $this->name(); ?> <span class="version"><?php echo $VERSION; ?></span>
-<a href="https://www.adminer.org/#download"<?php echo target_blank(); ?> id="version"><?php echo (version_compare($VERSION, $_COOKIE["adminer_version"]) < 0 ? h($_COOKIE["adminer_version"]) : ""); ?></a>
+<?php echo $this->name(); ?>
+<span class="version">
+<?php echo $VERSION; ?>
+ <a href="https://www.adminer.org/#download"<?php echo target_blank(); ?> id="version"><?php echo (version_compare($VERSION, $_COOKIE["adminer_version"]) < 0 ? h($_COOKIE["adminer_version"]) : ""); ?></a>
+</span>
 </h1>
 <?php
                if ($missing == "auth") {
index 53c896e30fa363b4ce943379e9f43a123461f997..0a09c7d8ccc8bdbf6bfe0e3bdaf3d10d29bbf031 100644 (file)
@@ -31,7 +31,7 @@ input.required { box-shadow: 1px 1px 1px red; }
 input.maxlength { box-shadow: 1px 1px 1px red; }
 input.wayoff { left: -1000px; position: absolute; }
 .block { display: block; }
-.version { color: #777; font-size: 67%; }
+.version { color: #777; font-size: 62%; }
 .js .hidden, .nojs .jsonly { display: none; }
 .js .column { position: absolute; background: #ddf; padding: .27em 1ex .3em 0; margin-top: -.27em; }
 .nowrap td, .nowrap th, td.nowrap, p.nowrap { white-space: pre; }
@@ -78,7 +78,7 @@ input.wayoff { left: -1000px; position: absolute; }
 #lang { position: absolute; top: 0; left: 0; line-height: 1.8em; padding: .3em 1em; }
 #breadcrumb { white-space: nowrap; position: absolute; top: 0; left: 21em; background: #eee; height: 2em; line-height: 1.8em; padding: 0 1em; margin: 0 0 0 -18px; }
 #h1 { color: #777; text-decoration: none; font-style: italic; }
-#version { font-size: 67%; color: red; }
+#version { color: red; }
 #schema { margin-left: 60px; position: relative; -moz-user-select: none; -webkit-user-select: none; }
 #schema .table { border: 1px solid silver; padding: 0 2px; cursor: move; position: absolute; }
 #schema .references { position: absolute; }
index 6f718c35a85b6c1e4edc75127f05bcc48efa58c5..831d1c8fb4f6ab85f98672b77f766870945e578b 100644 (file)
@@ -580,8 +580,11 @@ qsl('div').onclick = whisperClick;", "")
                global $VERSION;
                ?>
 <h1>
-<?php echo $this->name(); ?> <span class="version"><?php echo $VERSION; ?></span>
-<a href="https://www.adminer.org/editor/#download"<?php echo target_blank(); ?> id="version"><?php echo (version_compare($VERSION, $_COOKIE["adminer_version"]) < 0 ? h($_COOKIE["adminer_version"]) : ""); ?></a>
+<?php echo $this->name(); ?>
+<span class="version">
+<?php echo $VERSION; ?>
+ <a href="https://www.adminer.org/editor/#download"<?php echo target_blank(); ?> id="version"><?php echo (version_compare($VERSION, $_COOKIE["adminer_version"]) < 0 ? h($_COOKIE["adminer_version"]) : ""); ?></a>
+</span>
 </h1>
 <?php
                if ($missing == "auth") {