Commit a41875d2 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Replace %h5.title with div.title

parent 0c8ebb704179
......@@ -88,13 +88,10 @@
text-shadow: 0 1px 1px #fff;
padding: 10px;
font-size: 14px;
line-height: 20px;
font-weight: normal;
margin: 0;
h5 {
margin: 0;
}
> a {
text-shadow: 0 1px 1px #fff;
}
......@@ -106,7 +103,7 @@
.btn {
position: relative;
top: -2px;
margin-top: -2px;
}
.nav-pills {
......
......@@ -77,7 +77,6 @@
@mixin md-typography {
code { padding: 0 4px; }
p { font-size: 14px; }
h1 { margin-top: 30px;}
h2 { margin-top: 25px;}
h3 { margin-top: 20px;}
......
......@@ -10,8 +10,8 @@
margin: 0px;
box-shadow: none;
> .title {
padding: 2px 15px;
.title .btn {
margin: 0;
}
.nav-projects-tabs li { padding: 0; }
}
......@@ -37,8 +37,6 @@
padding: 4px 6px;
width: 202px;
float: left;
margin-top: 3px;
margin-left: -2px;
}
}
......
.admin_dash.row
.span4
.ui-box
%h5.title Projects
.title Projects
.data.padded
= link_to admin_projects_path do
%h1= Project.count
......@@ -9,7 +9,7 @@
= link_to 'New Project', new_project_path, class: "btn btn-small"
.span4
.ui-box
%h5.title Users
.title Users
.data.padded
= link_to admin_users_path do
%h1= User.count
......@@ -17,7 +17,7 @@
= link_to 'New User', new_admin_user_path, class: "btn btn-small"
.span4
.ui-box
%h5.title Groups
.title Groups
.data.padded
= link_to admin_groups_path do
%h1= Group.count
......
......@@ -8,7 +8,7 @@
.row
.span6
.ui-box
%h5.title
.title
Group info:
%ul.well-list
%li
......@@ -50,7 +50,7 @@
= @group.created_at.stamp("March 1, 1999")
.ui-box
%h5.title
.title
Projects
%small
(#{@group.projects.count})
......@@ -64,7 +64,7 @@
.span6
.ui-box
%h5.title
.title
Add user(s) to the group:
.ui-box-body.form-holder
%p.light
......@@ -79,7 +79,7 @@
%hr
= submit_tag 'Add users into group', class: "btn btn-create"
.ui-box
%h5.title
.title
%strong #{@group.name}
Group Members
%small
......
......@@ -41,7 +41,7 @@
= link_to "Reset", admin_projects_path, class: "btn"
.span8
.ui-box
%h5.title
.title
Projects (#{@projects.total_count})
%ul.well-list
- @projects.each do |project|
......
......@@ -7,7 +7,7 @@
.row
.span6
.ui-box
%h5.title
.title
Project info:
%ul.well-list
%li
......@@ -76,7 +76,7 @@
.span6
- if @group
.ui-box
%h5.title
.title
%strong #{@group.name} Group
members (#{@group.users_groups.count})
.pull-right
......@@ -87,7 +87,7 @@
= render 'users_groups/users_group', member: member, show_controls: false
.ui-box
%h5.title
.title
Team
%small
(#{@project.users.count})
......
......@@ -32,7 +32,7 @@
.span9
.ui-box
%h5.title
.title
Users (#{@users.total_count})
%ul.well-list
- @users.each do |user|
......
......@@ -21,7 +21,7 @@
.row
.span6
.ui-box
%h5.title
.title
Account:
.pull-right
= image_tag gravatar_icon(@user.email, 32), class: "avatar s32"
......@@ -65,7 +65,7 @@
- if @user.users_groups.present?
.ui-box
%h5.title Groups:
.title Groups:
%ul.well-list
- @user.users_groups.each do |user_group|
- group = user_group.group
......@@ -76,7 +76,7 @@
.span6
.ui-box
%h5.title Projects (#{@projects.count})
.title Projects (#{@projects.count})
%ul.well-list
- @projects.sort_by(&:name_with_namespace).each do |project|
- tm = project.team.find_tm(@user.id)
......
.ui-box
%h5.title.clearfix
.title.clearfix
= search_field_tag :filter_group, nil, placeholder: 'Filter by name', class: 'dash-filter'
- if current_user.can_create_group?
%span.pull-right
......
.ui-box
%h5.title.clearfix
.title.clearfix
= search_field_tag :filter_projects, nil, placeholder: 'Filter by name', class: 'dash-filter'
- if current_user.can_create_project?
%span.pull-right
......
......@@ -13,7 +13,7 @@
- @issues.group_by(&:project).each do |group|
%div.ui-box
- project = group[0]
%h5.title
.title
= link_to_project project
 
%i.icon-angle-right
......
......@@ -22,7 +22,7 @@
.span9
.ui-box
%h5.title
.title
Projects (#{@projects.total_count})
.pull-right.light
%small Last activity
......
.ui-box
%h5.title
.title
Projects (#{projects.count})
- if can? current_user, :manage_group, @group
%span.pull-right
......
......@@ -18,7 +18,7 @@
.tab-content
.tab-pane.active#tab-edit
.ui-box
%h5.title
.title
%strong= @group.name
Group Settings:
%div.form-holder
......@@ -42,7 +42,7 @@
.tab-pane#tab-projects
.ui-box
%h5.title
.title
%strong= @group.name
Projects:
- if can? current_user, :manage_group, @group
......@@ -67,7 +67,7 @@
.tab-pane#tab-transfer
.ui-box.ui-box-danger
%h5.title Transfer group
.title Transfer group
.ui-box-body
%p
Transferring group will cause loss of admin control over group and all child projects
......@@ -78,7 +78,7 @@
.tab-pane#tab-remove
.ui-box.ui-box-danger
%h5.title Remove group
.title Remove group
.ui-box-body
%p
Remove of group will cause removing all child projects and resources.
......
......@@ -12,7 +12,7 @@
- @issues.group_by(&:project).each do |group|
%div.ui-box
- project = group[0]
%h5.title
.title
= link_to_project project
%ul.well-list.issues-list
- group[1].each do |issue|
......
......@@ -9,7 +9,7 @@
Only group owners can manage group members
.span6
.ui-box
%h5.title
.title
%strong #{@group.name}
Group Members
%small
......
......@@ -14,7 +14,7 @@
.span4
.ui-box
.title
%h5 Quick help
Quick help
%ul.well-list
%li
Email your
......@@ -38,7 +38,7 @@
.span4
.ui-box
.title
%h5 User documentation
User documentation
%ul.well-list
%li
%strong= link_to "Workflow", help_workflow_path
......@@ -67,7 +67,7 @@
.span4
.ui-box
.title
%h5 Admin documentation
Admin documentation
%ul.well-list
%li
......
.ui-box
%h5.title
.title
%strong Groups
(#{@groups.count})
- if current_user.can_create_group?
......
......@@ -7,7 +7,7 @@
.ui-box
%h5.title
.title
SSH Keys (#{@keys.count})
.pull-right
= link_to "Add SSH Key", new_profile_key_path, class: "btn btn-small btn-primary"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment