From 388c6068d8e79214b443517d56e5e3732d47a8a0 Mon Sep 17 00:00:00 2001 From: Adam Coldrick Date: Mon, 13 Jul 2015 13:27:44 +0000 Subject: [PATCH] Stop using fixed-width containers The fixed-width means that lots of screen space is wasted as blank space on larger monitors. Using .container-fluid means that the page content uses all of the available space, rather than being limited to a maximum of 1080px. Also, override bootstrap's defauls .container-fluid to add a small left/right margin (5% each side). Change-Id: I7bce6c7ba0ce315e601476fa9cd9f7f4a1ed787b --- src/app/admin/template/project_group.html | 2 +- src/app/admin/template/project_group_edit.html | 2 +- src/app/admin/template/team.html | 2 +- src/app/admin/template/team_edit.html | 2 +- src/app/admin/template/user.html | 2 +- src/app/admin/template/user_edit.html | 2 +- src/app/auth/template/busy.html | 2 +- src/app/auth/template/error.html | 2 +- src/app/dashboard/template/dashboard.html | 2 +- src/app/dashboard/template/index.html | 2 +- src/app/pages/template/about.html | 2 +- src/app/profile/template/preferences.html | 2 +- src/app/profile/template/tokens.html | 2 +- src/app/project_group/template/detail.html | 2 +- src/app/project_group/template/list.html | 2 +- src/app/projects/template/detail.html | 2 +- src/app/projects/template/list.html | 2 +- src/app/projects/template/new.html | 2 +- src/app/search/template/index.html | 2 +- src/app/stories/template/detail.html | 2 +- src/app/stories/template/list.html | 2 +- src/index.html | 2 +- src/theme/base/bootstrap_addons.less | 4 ++++ 23 files changed, 26 insertions(+), 22 deletions(-) diff --git a/src/app/admin/template/project_group.html b/src/app/admin/template/project_group.html index c3fa0d9b..2cc43569 100644 --- a/src/app/admin/template/project_group.html +++ b/src/app/admin/template/project_group.html @@ -14,7 +14,7 @@ ~ under the License. --> -
+
diff --git a/src/app/admin/template/project_group_edit.html b/src/app/admin/template/project_group_edit.html index 1dfa5d62..e2f851ba 100644 --- a/src/app/admin/template/project_group_edit.html +++ b/src/app/admin/template/project_group_edit.html @@ -14,7 +14,7 @@ ~ under the License. --> -
+

{{projectGroup.title}} diff --git a/src/app/admin/template/team.html b/src/app/admin/template/team.html index f0476d4d..aaf35d18 100644 --- a/src/app/admin/template/team.html +++ b/src/app/admin/template/team.html @@ -14,7 +14,7 @@ ~ under the License. --> -
+

Teams

diff --git a/src/app/admin/template/team_edit.html b/src/app/admin/template/team_edit.html index ecf6ac93..0d5ba41e 100644 --- a/src/app/admin/template/team_edit.html +++ b/src/app/admin/template/team_edit.html @@ -14,7 +14,7 @@ ~ under the License. --> -
+

Edit Team

diff --git a/src/app/admin/template/user.html b/src/app/admin/template/user.html index 89507123..dfc0451e 100644 --- a/src/app/admin/template/user.html +++ b/src/app/admin/template/user.html @@ -14,7 +14,7 @@ ~ under the License. --> -
+
diff --git a/src/app/admin/template/user_edit.html b/src/app/admin/template/user_edit.html index 03f30db4..a4ad17c7 100644 --- a/src/app/admin/template/user_edit.html +++ b/src/app/admin/template/user_edit.html @@ -14,7 +14,7 @@ ~ under the License. --> -
+

{{user.full_name}}

diff --git a/src/app/auth/template/busy.html b/src/app/auth/template/busy.html index 701aeedb..56f851cd 100644 --- a/src/app/auth/template/busy.html +++ b/src/app/auth/template/busy.html @@ -14,7 +14,7 @@ ~ under the License. --> -
+

diff --git a/src/app/auth/template/error.html b/src/app/auth/template/error.html index 7e9dedf3..fdb373b4 100644 --- a/src/app/auth/template/error.html +++ b/src/app/auth/template/error.html @@ -14,7 +14,7 @@ ~ under the License. --> -

+

Oh no!

diff --git a/src/app/dashboard/template/dashboard.html b/src/app/dashboard/template/dashboard.html index b01d9ca1..8dc824fe 100644 --- a/src/app/dashboard/template/dashboard.html +++ b/src/app/dashboard/template/dashboard.html @@ -1,4 +1,4 @@ -
+

Dashboard

diff --git a/src/app/dashboard/template/index.html b/src/app/dashboard/template/index.html index eb568643..be1f95e6 100644 --- a/src/app/dashboard/template/index.html +++ b/src/app/dashboard/template/index.html @@ -1,4 +1,4 @@ -
+

StoryBoard

diff --git a/src/app/pages/template/about.html b/src/app/pages/template/about.html index 0dd34f95..213036a6 100644 --- a/src/app/pages/template/about.html +++ b/src/app/pages/template/about.html @@ -14,7 +14,7 @@ ~ under the License. --> -
+

StoryBoard

diff --git a/src/app/profile/template/preferences.html b/src/app/profile/template/preferences.html index d157e3d6..2cb3f349 100644 --- a/src/app/profile/template/preferences.html +++ b/src/app/profile/template/preferences.html @@ -14,7 +14,7 @@ ~ under the License. --> -
+

-
+

Authentication diff --git a/src/app/project_group/template/detail.html b/src/app/project_group/template/detail.html index 871eb858..833a3e32 100644 --- a/src/app/project_group/template/detail.html +++ b/src/app/project_group/template/detail.html @@ -1,4 +1,4 @@ -
+

diff --git a/src/app/project_group/template/list.html b/src/app/project_group/template/list.html index f84caaa4..36f8c436 100644 --- a/src/app/project_group/template/list.html +++ b/src/app/project_group/template/list.html @@ -13,7 +13,7 @@ ~ License for the specific language governing permissions and limitations ~ under the License. --> -
-
+
-
-
+

New Project

diff --git a/src/app/search/template/index.html b/src/app/search/template/index.html index deda0b5d..2bd99f95 100644 --- a/src/app/search/template/index.html +++ b/src/app/search/template/index.html @@ -13,7 +13,7 @@ ~ License for the specific language governing permissions and limitations ~ under the License. --> -
diff --git a/src/app/stories/template/detail.html b/src/app/stories/template/detail.html index 7ccd09dd..7e2bb215 100644 --- a/src/app/stories/template/detail.html +++ b/src/app/stories/template/detail.html @@ -14,7 +14,7 @@ ~ under the License. --> -
+
-
-
+

diff --git a/src/theme/base/bootstrap_addons.less b/src/theme/base/bootstrap_addons.less index 8001ed70..c24c9a91 100644 --- a/src/theme/base/bootstrap_addons.less +++ b/src/theme/base/bootstrap_addons.less @@ -203,3 +203,7 @@ td .form-group:last-child { right: (@grid-gutter-width / 2); bottom: @padding-base-horizontal; } + +div .container-fluid { + margin: 0% 5%; +}