From c33f536cc523e21c29cf06d0c906009b01b6f576 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Fri, 4 Oct 2013 18:30:55 +0200 Subject: [PATCH] use col-xs- instead of col-md- as the bootstrap doc states "Each tier of classes scales up, meaning if you plan on setting the same widths for xs and sm, you only need to specify xs." --- plugins/hazelnut/static/js/hazelnut.js | 2 +- portal/templates/contact.html | 6 +-- portal/templates/dashboard.html | 6 +-- portal/templates/registration_view.html | 50 ++++++++++++------------ portal/templates/slice-request-view.html | 6 +-- ui/templates/layout-unfold1.html | 4 +- ui/templates/layout-unfold2.html | 8 ++-- 7 files changed, 41 insertions(+), 41 deletions(-) diff --git a/plugins/hazelnut/static/js/hazelnut.js b/plugins/hazelnut/static/js/hazelnut.js index dbff4ce1..ab22c1e4 100644 --- a/plugins/hazelnut/static/js/hazelnut.js +++ b/plugins/hazelnut/static/js/hazelnut.js @@ -82,7 +82,7 @@ var actual_options = { // Customize the position of Datatables elements (length,filter,button,...) // we use a fluid row on top and another on the bottom, making sure we take 12 grid elt's each time - sDom: "<'row'<'col-md-5'l><'col-md-1'r><'col-md-6'f>>t<'row'<'col-md-5'i><'col-md-7'p>>", + sDom: "<'row'<'col-xs-5'l><'col-xs-1'r><'col-xs-6'f>>t<'row'<'col-xs-5'i><'col-xs-7'p>>", // XXX as of sept. 2013, I cannot locate a bootstrap3-friendly mode for now // hopefully this would come with dataTables v1.10 ? // in any case, search for 'sPaginationType' all over the code for more comments diff --git a/portal/templates/contact.html b/portal/templates/contact.html index 3468b0ff..5161971b 100644 --- a/portal/templates/contact.html +++ b/portal/templates/contact.html @@ -18,11 +18,11 @@
{% for field in form %}
- -
{{ field.errors }} {{ field }}

{{ field.help_text }}

+ +
{{ field.errors }} {{ field }}

{{ field.help_text }}

{% endfor %} -
+
diff --git a/portal/templates/dashboard.html b/portal/templates/dashboard.html index c80da1af..972e4b1b 100644 --- a/portal/templates/dashboard.html +++ b/portal/templates/dashboard.html @@ -11,7 +11,7 @@
-
+

User profile

@@ -24,7 +24,7 @@
-
+

Testbeds

@@ -33,7 +33,7 @@
-
+

Slices

diff --git a/portal/templates/registration_view.html b/portal/templates/registration_view.html index 88de5729..d7788d0d 100644 --- a/portal/templates/registration_view.html +++ b/portal/templates/registration_view.html @@ -20,22 +20,22 @@
{% csrf_token %}
- -
+ +
-

Enter your first name

+

Enter your first name

- -
+ +
-

Enter your last name

+

Enter your last name

- -
+ +
-

Please select an authority responsible for vetting your account

+

Please select an authority responsible for vetting your account

- -
+ +
-

Enter a valid email address

+

Enter a valid email address

- -
+ +
-

Enter password

+

Enter password

- -
+ +
-

Retype the password

+

Retype the password

- -
+ +
-

Genkey: Account Delegation Automatic (Recommended)

+

Genkey: Account Delegation Automatic (Recommended)