diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2015-02-12 23:47:46 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-05-06 15:48:16 +0200 |
commit | 75071bc5fb3151f80cf87d92b33d6e85e4184149 (patch) | |
tree | a8f0972503d395ac588980a96e0b10da33bb47cf | |
parent | 96b8337aa18ec199c925883dfb5d85bc310270b6 (diff) | |
download | Ishtar-75071bc5fb3151f80cf87d92b33d6e85e4184149.tar.bz2 Ishtar-75071bc5fb3151f80cf87d92b33d6e85e4184149.zip |
Beautiful button for reseting wizards!
-rw-r--r-- | ishtar_common/static/media/style.css | 16 | ||||
-rw-r--r-- | ishtar_common/templates/ishtar/wizard/default_wizard.html | 2 |
2 files changed, 17 insertions, 1 deletions
diff --git a/ishtar_common/static/media/style.css b/ishtar_common/static/media/style.css index 3e8efc131..c9143b026 100644 --- a/ishtar_common/static/media/style.css +++ b/ishtar_common/static/media/style.css @@ -16,6 +16,10 @@ div.form { background-color: #922; } +#reset_wizards{ + background-color: #D14; +} + /* color */ #window hr, #context_menu .red, @@ -27,6 +31,7 @@ a.add-button{ color:#61615C; } +#reset_wizards, #window h1{ color:#fff; } @@ -64,6 +69,7 @@ div.form { } /* radius */ +a.button, a.add-button, a.remove, .sheet, #progress-content, @@ -258,6 +264,16 @@ div#validation-bar.big{ height:60px; } +a.button{ + padding:0.5em; +} + +#reset_wizards{ + right:50px; + position:absolute; + color: white; +} + .display_details_inline, .display_details{ display:inline-block; diff --git a/ishtar_common/templates/ishtar/wizard/default_wizard.html b/ishtar_common/templates/ishtar/wizard/default_wizard.html index 2eb62457b..62aafff45 100644 --- a/ishtar_common/templates/ishtar/wizard/default_wizard.html +++ b/ishtar_common/templates/ishtar/wizard/default_wizard.html @@ -44,7 +44,7 @@ <div id='validation-bar'> <input type="submit" id="submit_form" name='validate' value="{% trans "Validate" %}"/> {% if next_steps %}<input type="submit" id="submit_end_form" name='validate_and_end' value="{% trans "Validate and end" %}"/>{% endif %} - <input type="button" id="reset_wizards" name='cancel' value="{% trans "Cancel" %}" onclick="window.location='{% url 'reset_wizards' %}';"/> + <a href='{% url 'reset_wizards' %}' id="reset_wizards" class='button'>{% trans "Cancel" %}</a> </div> </div> </form> |