From 7e952ff312f5ab859041651fd647b22a77e98afe Mon Sep 17 00:00:00 2001 From: lance Date: Sun, 10 Mar 2019 23:19:07 -0700 Subject: [PATCH] more hacking...somewhat usable --- _includes/create_form.html | 6 +- _includes/response.html | 6 ++ _includes/retrieve_form.html | 1 - assets/css/main.css | 26 +++++- assets/js/main.js | 166 +++++++++++++---------------------- index.html | 1 + retrieve.html | 1 + 7 files changed, 95 insertions(+), 112 deletions(-) create mode 100644 _includes/response.html diff --git a/_includes/create_form.html b/_includes/create_form.html index 00b8bde..fa04dca 100644 --- a/_includes/create_form.html +++ b/_includes/create_form.html @@ -9,11 +9,15 @@
+
+ + +
-

+ diff --git a/_includes/response.html b/_includes/response.html new file mode 100644 index 0000000..750b535 --- /dev/null +++ b/_includes/response.html @@ -0,0 +1,6 @@ + diff --git a/_includes/retrieve_form.html b/_includes/retrieve_form.html index 3b07c7c..63562e7 100644 --- a/_includes/retrieve_form.html +++ b/_includes/retrieve_form.html @@ -8,7 +8,6 @@
-

diff --git a/assets/css/main.css b/assets/css/main.css index a2022da..9a75ac1 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -1193,8 +1193,8 @@ input, select, textarea { @media screen and (max-width: 1680px) { #footer { - bottom: 3.5em; - left: 3.5em; + bottom: 2em; + left: 2em; } } @@ -1229,7 +1229,6 @@ input, select, textarea { } -/* Switch Context */ .switch_context { font-size: 1em; position: absolute; @@ -1240,5 +1239,24 @@ input, select, textarea { } #secret-response { - width: 51%; + width: 70%; + overflow: auto; + border-radius: 8px; + border: 1px solid white; + background-color: rgb(153, 153, 153, .2); + margin-left: .5em; + margin-bottom: 2em; +} + +#secret-response p, #secret-response label { + margin: 0 !important; +} + +.checkbox { + padding: .5em 0 0 1em; +} + +.hidden { + visibility: hidden; + transition: opacity 2s ease-in-out; } diff --git a/assets/js/main.js b/assets/js/main.js index ce859c2..f230ee1 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -2,111 +2,65 @@ # front matter in order to pull in the api endpoint from config --- -/* - Eventually by HTML5 UP - html5up.net | @ajlkn - Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) -*/ -(function() { - - "use strict"; - - var $body = document.querySelector('body'); - - // Methods/polyfills. - - // classList | (c) @remy | github.com/remy/polyfills | rem.mit-license.org - !function(){function t(t){this.el=t;for(var n=t.className.replace(/^\s+|\s+$/g,"").split(/\s+/),i=0;i {% include header.html %} {% include create_form.html %} + {% include response.html %} {% include footer.html %} {% include scripts.html %} diff --git a/retrieve.html b/retrieve.html index bf7ee79..577263e 100644 --- a/retrieve.html +++ b/retrieve.html @@ -10,6 +10,7 @@ description: Retrieve an existing secret with your token.
{% include header.html %} {% include retrieve_form.html %} + {% include response.html %} {% include footer.html %} {% include scripts.html %}