From 1bbc608080217006a45d268880f975617c1cc79d Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Fri, 20 Jan 2017 00:37:21 +0000 Subject: [PATCH] div of decoded inputs is hidden now --- src/templates/css/style.css | 27 +++++++++++++++++++++++++++ src/templates/my_outputs.html | 7 +++++++ 2 files changed, 34 insertions(+) diff --git a/src/templates/css/style.css b/src/templates/css/style.css index 48b2938..8f90f7a 100644 --- a/src/templates/css/style.css +++ b/src/templates/css/style.css @@ -111,4 +111,31 @@ form { [type=radio]:checked ~ label ~ .content { z-index: 1; +} + +input#toggle-1[type=checkbox] { + position: absolute; + top: -9999px; + left: -9999px; + +} +label#show-decoded-inputs { + /*-webkit-appearance: push-button;*/ + /*-moz-appearance: button;*/ + display: inline-block; + /*margin: 60px 0 10px 0;*/ + cursor: pointer; + background-color: black;; + color: white; + width: 100%; + text-align: center; +} + +div#decoded-inputs{ + display: none; +} + +/* Toggled State */ +input#toggle-1[type=checkbox]:checked ~ div#decoded-inputs { + display: block; } \ No newline at end of file diff --git a/src/templates/my_outputs.html b/src/templates/my_outputs.html index f5ec218..94ed464 100644 --- a/src/templates/my_outputs.html +++ b/src/templates/my_outputs.html @@ -76,6 +76,10 @@ {{#show_inputs}}
+ + + +

Inputs ({{inputs_no}})

{{#inputs}} @@ -139,7 +143,10 @@ So do not take this number seriously. It is probably totally wrong anyway. +
+ {{/show_inputs}}
+
\ No newline at end of file