summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-02-12 17:48:17 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-02-12 17:48:17 +0200
commit0cd873c2d3724bc373e1d8b9e5b32c01e32c1927 (patch)
tree8fba25c80c4c3e052e64979356bdcef61748b00b /app/views
parentc0e622eae2f4b940b8488cf5f5e76d34034ae82a (diff)
downloadgitlab-ce-0cd873c2d3724bc373e1d8b9e5b32c01e32c1927.tar.gz
fixed layout for ipad. changed main width
Diffstat (limited to 'app/views')
-rw-r--r--app/views/layouts/_project_menu.html.haml4
-rw-r--r--app/views/layouts/admin.html.haml2
-rw-r--r--app/views/layouts/application.html.haml2
-rw-r--r--app/views/layouts/devise.html.haml2
-rw-r--r--app/views/layouts/profile.html.haml4
-rw-r--r--app/views/layouts/project.html.haml2
6 files changed, 6 insertions, 10 deletions
diff --git a/app/views/layouts/_project_menu.html.haml b/app/views/layouts/_project_menu.html.haml
index 721544da398..6d12f30fd60 100644
--- a/app/views/layouts/_project_menu.html.haml
+++ b/app/views/layouts/_project_menu.html.haml
@@ -17,6 +17,4 @@
- if @project.wall_enabled
= link_to wall_project_path(@project), :class => current_page?(:controller => "projects", :action => "wall", :id => @project) ? "current" : nil do
- @Wall
- - if @project.common_notes.today.count > 0
- %span.label= @project.common_notes.today.count
+ Wall
diff --git a/app/views/layouts/admin.html.haml b/app/views/layouts/admin.html.haml
index d651a50c987..98d890c199f 100644
--- a/app/views/layouts/admin.html.haml
+++ b/app/views/layouts/admin.html.haml
@@ -4,7 +4,7 @@
%body.admin
= render "layouts/flash"
= render "layouts/head_panel", :title => "Admin area"
- .container-fluid
+ .container
%nav.main_menu
= link_to "Users", admin_users_path, :class => controller.controller_name == "users" ? "current" : nil
= link_to "Projects", admin_projects_path, :class => controller.controller_name == "projects" ? "current" : nil
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml
index 1619090dc13..7025684f34c 100644
--- a/app/views/layouts/application.html.haml
+++ b/app/views/layouts/application.html.haml
@@ -4,7 +4,7 @@
%body.application
= render "layouts/flash"
= render "layouts/head_panel", :title => "Dashboard"
- .container-fluid
+ .container
= render :partial => "layouts/app_menu"
.content
.row
diff --git a/app/views/layouts/devise.html.haml b/app/views/layouts/devise.html.haml
index 43c35623293..efa99f743cc 100644
--- a/app/views/layouts/devise.html.haml
+++ b/app/views/layouts/devise.html.haml
@@ -3,4 +3,4 @@
= render "layouts/head"
%body.login-page
= render :partial => "layouts/flash"
- .container-fluid= yield
+ .container= yield
diff --git a/app/views/layouts/profile.html.haml b/app/views/layouts/profile.html.haml
index 0cf9fc88322..8db7af75d81 100644
--- a/app/views/layouts/profile.html.haml
+++ b/app/views/layouts/profile.html.haml
@@ -4,15 +4,13 @@
%body.profile
= render "layouts/flash"
= render "layouts/head_panel", :title => "Profile"
- .container-fluid
+ .container
%nav.main_menu
= link_to "Profile", profile_path, :class => current_page?(:controller => "profile", :action => :show) ? "current" : nil
= link_to "Password & token", profile_password_path, :class => current_page?(:controller => "profile", :action => :password) ? "current" : nil
= link_to "Design", profile_design_path, :class => current_page?(:controller => "profile", :action => :design) ? "current" : nil
= link_to keys_path, :class => controller.controller_name == "keys" ? "current" : nil do
Keys
- - unless current_user.keys.empty?
- %span.label= current_user.keys.count
.content
.row
.span12= yield
diff --git a/app/views/layouts/project.html.haml b/app/views/layouts/project.html.haml
index 965a40cd8b8..cf7674199ef 100644
--- a/app/views/layouts/project.html.haml
+++ b/app/views/layouts/project.html.haml
@@ -4,7 +4,7 @@
%body.project
= render "layouts/flash"
= render "layouts/head_panel", :title => @project.name
- .container-fluid
+ .container
= render :partial => "layouts/project_menu"
.content
- if @full_content