From 68eef70e3413cee2df0a47c461bddde75588707c Mon Sep 17 00:00:00 2001 From: Lukas Garberg Date: Sun, 26 Oct 2014 03:06:24 +0100 Subject: [PATCH] www: Bootstrap-styled buttons Replaced buttons with Bootstrap-styled ones. While at it, I took the opportunity to changed the color from red (which generally symbolizes errors) to green. Also made a small CSS change to remove the white space to the left of the date selector at the add/edit prefix page. --- nipap-www/nipapwww/public/templates/pool_form.html | 4 ++-- nipap-www/nipapwww/public/templates/prefix_form.html | 6 +++--- nipap-www/nipapwww/public/templates/vrf_form.html | 4 ++-- nipap-www/nipapwww/templates/macros.html | 6 +++--- nipap-www/nipapwww/templates/pool_list.html | 2 +- nipap-www/nipapwww/templates/prefix_list.html | 2 +- nipap-www/nipapwww/templates/vrf_list.html | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/nipap-www/nipapwww/public/templates/pool_form.html b/nipap-www/nipapwww/public/templates/pool_form.html index 10cc2ba60..300d41ccf 100644 --- a/nipap-www/nipapwww/public/templates/pool_form.html +++ b/nipap-www/nipapwww/public/templates/pool_form.html @@ -135,8 +135,8 @@

Properties of new po
- - + +
diff --git a/nipap-www/nipapwww/public/templates/prefix_form.html b/nipap-www/nipapwww/public/templates/prefix_form.html index eee769926..7f7d10dc7 100644 --- a/nipap-www/nipapwww/public/templates/prefix_form.html +++ b/nipap-www/nipapwww/public/templates/prefix_form.html @@ -132,7 +132,7 @@

Prefix options

Expires
-
+

@@ -364,8 +364,8 @@

Prefix options

- - + +
diff --git a/nipap-www/nipapwww/public/templates/vrf_form.html b/nipap-www/nipapwww/public/templates/vrf_form.html index 8599a4082..a0ec9bd1a 100644 --- a/nipap-www/nipapwww/public/templates/vrf_form.html +++ b/nipap-www/nipapwww/public/templates/vrf_form.html @@ -120,8 +120,8 @@

- - + +
diff --git a/nipap-www/nipapwww/templates/macros.html b/nipap-www/nipapwww/templates/macros.html index e8bc2ecab..b3da24c0b 100644 --- a/nipap-www/nipapwww/templates/macros.html +++ b/nipap-www/nipapwww/templates/macros.html @@ -27,9 +27,9 @@ -
- -
+ diff --git a/nipap-www/nipapwww/templates/pool_list.html b/nipap-www/nipapwww/templates/pool_list.html index a78a671ce..909f1f61c 100644 --- a/nipap-www/nipapwww/templates/pool_list.html +++ b/nipap-www/nipapwww/templates/pool_list.html @@ -14,7 +14,7 @@
- {{ nipap.button('Add pool', color='red', url=h.url(controller = 'pool', action = 'add')) }} + Add pool
diff --git a/nipap-www/nipapwww/templates/prefix_list.html b/nipap-www/nipapwww/templates/prefix_list.html index 25d3d6fa3..12584f65f 100644 --- a/nipap-www/nipapwww/templates/prefix_list.html +++ b/nipap-www/nipapwww/templates/prefix_list.html @@ -124,7 +124,7 @@ {{ nipap.prefix_search_form(c.search_opt_parent, c.search_opt_child) }}
-