From f9149595c9a1344be54193e70d66a6fa0ecc49e7 Mon Sep 17 00:00:00 2001 From: rugk Date: Mon, 31 Oct 2016 12:20:07 +0100 Subject: [PATCH] Change alert to loading info message --- css/bootstrap/privatebin.css | 4 ++++ css/privatebin.css | 6 +++++- js/privatebin.js | 5 ----- tpl/bootstrap-compact.php | 2 +- tpl/bootstrap-dark-page.php | 2 +- tpl/bootstrap-dark.php | 2 +- tpl/bootstrap-page.php | 2 +- tpl/bootstrap.php | 9 +++++++-- tpl/page.php | 2 +- 9 files changed, 21 insertions(+), 13 deletions(-) diff --git a/css/bootstrap/privatebin.css b/css/bootstrap/privatebin.css index b26421b4..e63e63fe 100644 --- a/css/bootstrap/privatebin.css +++ b/css/bootstrap/privatebin.css @@ -98,6 +98,10 @@ body.navbar-spacing { margin-bottom: 10px; } +.smallErrorText { + font-size: 80%; +} + .comment { border-left: 1px solid #ccc; padding: 5px 0 5px 10px; diff --git a/css/privatebin.css b/css/privatebin.css index fa97c89c..0fa76234 100644 --- a/css/privatebin.css +++ b/css/privatebin.css @@ -117,7 +117,7 @@ h3.title { #pasteresult { background-color: #1F2833; color: #fff; - padding: 4px 12px; + padding: 4px 12px; clear: both; -moz-box-shadow: inset 0 2px 2px #000; -webkit-box-shadow: inset 0 2px 2px #000; @@ -285,6 +285,10 @@ input { color:#ff0; } +.smallErrorText { + font-size: 80%; +} + /* --- discussion related CSS ------- */ #discussion { /* Discussion container */ diff --git a/js/privatebin.js b/js/privatebin.js index b6d104dc..faf09602 100644 --- a/js/privatebin.js +++ b/js/privatebin.js @@ -20,11 +20,6 @@ /** global: showdown */ /** global: sjcl */ -$(document).ready(function() { - // hide "no javascript" message as early as possible - $('#noscript').hide(); -}) - // Immediately start random number generator collector. sjcl.random.startCollectors(); diff --git a/tpl/bootstrap-compact.php b/tpl/bootstrap-compact.php index b4790be7..657b5788 100644 --- a/tpl/bootstrap-compact.php +++ b/tpl/bootstrap-compact.php @@ -52,7 +52,7 @@ if ($MARKDOWN): - + diff --git a/tpl/bootstrap-dark-page.php b/tpl/bootstrap-dark-page.php index 14676c01..b57e880e 100644 --- a/tpl/bootstrap-dark-page.php +++ b/tpl/bootstrap-dark-page.php @@ -52,7 +52,7 @@ if ($MARKDOWN): - + diff --git a/tpl/bootstrap-dark.php b/tpl/bootstrap-dark.php index 2da3d02f..9ceb15f7 100644 --- a/tpl/bootstrap-dark.php +++ b/tpl/bootstrap-dark.php @@ -52,7 +52,7 @@ if ($MARKDOWN): - + diff --git a/tpl/bootstrap-page.php b/tpl/bootstrap-page.php index 235f4877..fe49a3fd 100644 --- a/tpl/bootstrap-page.php +++ b/tpl/bootstrap-page.php @@ -52,7 +52,7 @@ if ($MARKDOWN): - + diff --git a/tpl/bootstrap.php b/tpl/bootstrap.php index cd9a787a..2eade554 100644 --- a/tpl/bootstrap.php +++ b/tpl/bootstrap.php @@ -52,7 +52,7 @@ if ($MARKDOWN): - + @@ -280,7 +280,6 @@ if (!strlen($ERROR)): endif; ?>alert alert-danger"> - +
+ +