Skip to content
Snippets Groups Projects
Commit a41875d2 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Replace %h5.title with div.title

parent e97abfce
No related branches found
No related tags found
No related merge requests found
Showing
with 35 additions and 41 deletions
Loading
Loading
@@ -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;
}
Loading
Loading
@@ -106,7 +103,7 @@
 
.btn {
position: relative;
top: -2px;
margin-top: -2px;
}
 
.nav-pills {
Loading
Loading
Loading
Loading
@@ -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;}
Loading
Loading
Loading
Loading
@@ -10,8 +10,8 @@
margin: 0px;
box-shadow: none;
 
> .title {
padding: 2px 15px;
.title .btn {
margin: 0;
}
.nav-projects-tabs li { padding: 0; }
}
Loading
Loading
@@ -37,8 +37,6 @@
padding: 4px 6px;
width: 202px;
float: left;
margin-top: 3px;
margin-left: -2px;
}
}
 
Loading
Loading
.admin_dash.row
.span4
.ui-box
%h5.title Projects
.title Projects
.data.padded
= link_to admin_projects_path do
%h1= Project.count
Loading
Loading
@@ -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
Loading
Loading
@@ -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
Loading
Loading
Loading
Loading
@@ -8,7 +8,7 @@
.row
.span6
.ui-box
%h5.title
.title
Group info:
%ul.well-list
%li
Loading
Loading
@@ -50,7 +50,7 @@
= @group.created_at.stamp("March 1, 1999")
 
.ui-box
%h5.title
.title
Projects
%small
(#{@group.projects.count})
Loading
Loading
@@ -64,7 +64,7 @@
 
.span6
.ui-box
%h5.title
.title
Add user(s) to the group:
.ui-box-body.form-holder
%p.light
Loading
Loading
@@ -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
Loading
Loading
Loading
Loading
@@ -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|
Loading
Loading
Loading
Loading
@@ -7,7 +7,7 @@
.row
.span6
.ui-box
%h5.title
.title
Project info:
%ul.well-list
%li
Loading
Loading
@@ -76,7 +76,7 @@
.span6
- if @group
.ui-box
%h5.title
.title
%strong #{@group.name} Group
members (#{@group.users_groups.count})
.pull-right
Loading
Loading
@@ -87,7 +87,7 @@
= render 'users_groups/users_group', member: member, show_controls: false
 
.ui-box
%h5.title
.title
Team
%small
(#{@project.users.count})
Loading
Loading
Loading
Loading
@@ -32,7 +32,7 @@
 
.span9
.ui-box
%h5.title
.title
Users (#{@users.total_count})
%ul.well-list
- @users.each do |user|
Loading
Loading
Loading
Loading
@@ -21,7 +21,7 @@
.row
.span6
.ui-box
%h5.title
.title
Account:
.pull-right
= image_tag gravatar_icon(@user.email, 32), class: "avatar s32"
Loading
Loading
@@ -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
Loading
Loading
@@ -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)
Loading
Loading
.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
Loading
Loading
.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
Loading
Loading
Loading
Loading
@@ -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
Loading
Loading
Loading
Loading
@@ -22,7 +22,7 @@
 
.span9
.ui-box
%h5.title
.title
Projects (#{@projects.total_count})
.pull-right.light
%small Last activity
Loading
Loading
.ui-box
%h5.title
.title
Projects (#{projects.count})
- if can? current_user, :manage_group, @group
%span.pull-right
Loading
Loading
Loading
Loading
@@ -18,7 +18,7 @@
.tab-content
.tab-pane.active#tab-edit
.ui-box
%h5.title
.title
%strong= @group.name
Group Settings:
%div.form-holder
Loading
Loading
@@ -42,7 +42,7 @@
 
.tab-pane#tab-projects
.ui-box
%h5.title
.title
%strong= @group.name
Projects:
- if can? current_user, :manage_group, @group
Loading
Loading
@@ -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
Loading
Loading
@@ -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.
Loading
Loading
Loading
Loading
@@ -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|
Loading
Loading
Loading
Loading
@@ -9,7 +9,7 @@
Only group owners can manage group members
.span6
.ui-box
%h5.title
.title
%strong #{@group.name}
Group Members
%small
Loading
Loading
Loading
Loading
@@ -14,7 +14,7 @@
.span4
.ui-box
.title
%h5 Quick help
Quick help
%ul.well-list
%li
Email your
Loading
Loading
@@ -38,7 +38,7 @@
.span4
.ui-box
.title
%h5 User documentation
User documentation
%ul.well-list
%li
%strong= link_to "Workflow", help_workflow_path
Loading
Loading
@@ -67,7 +67,7 @@
.span4
.ui-box
.title
%h5 Admin documentation
Admin documentation
%ul.well-list
 
%li
Loading
Loading
.ui-box
%h5.title
.title
%strong Groups
(#{@groups.count})
- if current_user.can_create_group?
Loading
Loading
Loading
Loading
@@ -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"
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment