diff --git a/src/frontend.template.php b/src/frontend.template.php index 074b2cd..a9e420e 100644 --- a/src/frontend.template.php +++ b/src/frontend.template.php @@ -20,11 +20,12 @@ $mailIds = array_map(function ($mail) { }, $emails); $mailIdsJoinedString = filter_var(join('|', $mailIds), FILTER_SANITIZE_SPECIAL_CHARS); -function niceDate($date){ +function niceDate($date) { + // TODO: make nicer return $date; } -?> +?> @@ -40,9 +41,9 @@ function niceDate($date){ - <?php - echo $emails ? "(" . count($emails) . ") " : ""; - echo $user->address ?> + <?php + echo $emails ? "(" . count($emails) . ") " : ""; + echo $user->address ?> @@ -79,7 +80,8 @@ function niceDate($date){ + Reload! + @@ -97,8 +99,8 @@ function niceDate($date){ address ?>   + Copy + @@ -118,8 +120,8 @@ function niceDate($date){

- - Open random mailbox + + Open random mailbox

@@ -139,17 +141,16 @@ function niceDate($date){
@
- + domain ? ' selected ' : ''; + print ""; + } + ?> -
@@ -168,92 +169,93 @@ function niceDate($date){
-id, FILTER_VALIDATE_INT); - ?> -
+ +
+
+
- -
-
- -
-
- -
-
-

Emails will appear here automatically.

-
-
-
-
-
-
+
+
+

Emails will appear here automatically.

+
+
+
+
+
+
+
-
@@ -337,11 +339,10 @@ function niceDate($date){ /** from https://github.com/twbs/bootstrap/blob/c11132351e3e434f6d4ed72e5a418eb692c6a319/assets/js/src/application.js */ clipboard.on('success', function (e) { $(e.trigger) - .attr('title', 'Copied!') - .tooltip('_fixTitle') - .tooltip('show') - .attr('title', 'Copy to clipboard') - .tooltip('_fixTitle'); + .attr('title', 'Copied!') + .tooltip('_fixTitle') + .tooltip('show') + .tooltip('_fixTitle'); e.clearSelection(); }); diff --git a/src/style.css b/src/style.css index a27dcfa..53043ff 100644 --- a/src/style.css +++ b/src/style.css @@ -92,7 +92,7 @@ footer { } #new-content-avalable { - /*display: none;*/ + display: none; text-align: center; }