diff options
author | Gabriel Giovanini <gabrielg.desouza@gmail.com> | 2019-06-23 14:57:04 +0200 |
---|---|---|
committer | Gabriel Giovanini <gabrielg.desouza@gmail.com> | 2019-06-23 14:57:04 +0200 |
commit | 130982347384849c3f874e0ce3cba1de915e1307 (patch) | |
tree | 3979a94399dbc48693a51cc53a9d8ac89f58ab1b | |
parent | 438db2bb3d651d624178dd4cc4baac5f81b36a09 (diff) | |
download | genpass-130982347384849c3f874e0ce3cba1de915e1307.tar.gz genpass-130982347384849c3f874e0ce3cba1de915e1307.tar.bz2 genpass-130982347384849c3f874e0ce3cba1de915e1307.zip |
Update to layout and clean up a bit
-rw-r--r-- | public/index.html | 2 | ||||
-rw-r--r-- | src/genpass/core.cljs | 14 |
2 files changed, 10 insertions, 6 deletions
diff --git a/public/index.html b/public/index.html index 1020e19..567514b 100644 --- a/public/index.html +++ b/public/index.html @@ -7,7 +7,7 @@ </head> <body> <div id="app"> - <h3>Loading Pathfinder Tools...</h3> + <h3>Loading genpass...</h3> </div> <script src="./js/app.js" type="text/javascript"></script> diff --git a/src/genpass/core.cljs b/src/genpass/core.cljs index 1e71f76..6ae0f4a 100644 --- a/src/genpass/core.cljs +++ b/src/genpass/core.cljs @@ -6,14 +6,18 @@ (def password (r/atom (genpwd))) (defn main-section [] - [:div.columns>div.column + [:div [:div.field>div.control>input.input.is-primary {:type "text" :value @password}] - [:div.field>div.control>input.button.is-primary - {:value "Generate" - :type "button" - :on-click #(reset! password (genpwd))}]]) + [:div.field.is-grouped + [:div.control>input.button.is-primary + {:value "Generate" + :type "button" + :on-click #(reset! password (genpwd))}] + [:div.control>input.button.is-primary.is-success + {:value "Copy" + :type "button"}]]]) (defn home-page [] [:div |