diff options
-rw-r--r-- | modules/gallery/css/upgrader.css | 6 | ||||
-rw-r--r-- | modules/gallery/views/upgrader.html.php | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/modules/gallery/css/upgrader.css b/modules/gallery/css/upgrader.css index 01689a97..e1038ad1 100644 --- a/modules/gallery/css/upgrader.css +++ b/modules/gallery/css/upgrader.css @@ -91,7 +91,7 @@ div.button-active:hover { background: #ccc; } -div#confirmation { +div#dialog { position: absolute; background: blue; z-index: 1000; @@ -99,13 +99,13 @@ div#confirmation { text-align: center; } -div#confirmation a.close { +div#dialog a.close { float: right; padding: 10px; text-decoration: none; } -div#confirmation div { +div#dialog div { margin: 2px; padding: 20px; border: 2px solid #999; diff --git a/modules/gallery/views/upgrader.html.php b/modules/gallery/views/upgrader.html.php index 90e1c5b6..0c985c6b 100644 --- a/modules/gallery/views/upgrader.html.php +++ b/modules/gallery/views/upgrader.html.php @@ -12,8 +12,8 @@ <div id="inner"> <? if ($can_upgrade): ?> <? if ($done): ?> - <div id="confirmation"> - <a onclick="$('#confirmation').fadeOut(); return false;" href="#" class="close">[x]</a> + <div id="dialog"> + <a onclick="$('#dialog').fadeOut(); return false;" href="#" class="close">[x]</a> <div> <h1> <?= t("That's it!") ?> </h1> <p> @@ -24,8 +24,8 @@ </div> <script type="text/javascript"> $(document).ready(function() { - $("#confirmation").css("left", Math.round(($(window).width() - $("#confirmation").width()) / 2)); - $("#confirmation").css("top", Math.round(($(window).height() - $("#confirmation").height()) / 2)); + $("#dialog").css("left", Math.round(($(window).width() - $("#dialog").width()) / 2)); + $("#dialog").css("top", Math.round(($(window).height() - $("#dialog").height()) / 2)); }); </script> <? endif ?> |