BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
78865a0c
Commit
78865a0c
authored
Dec 26, 2014
by
Marin Jankovski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move styling to css.
parent
9fd06180
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
8 deletions
+15
-8
projects.scss
app/assets/stylesheets/sections/projects.scss
+7
-0
_branches_list.html.haml
...iews/projects/protected_branches/_branches_list.html.haml
+8
-8
No files found.
app/assets/stylesheets/sections/projects.scss
View file @
78865a0c
...
...
@@ -308,3 +308,10 @@ ul.nav.nav-projects-tabs {
display
:
none
;
}
}
table
.table.protected-branches-list
tr
.no-border
{
th
,
td
{
border
:
0
;
}
}
app/views/projects/protected_branches/_branches_list.html.haml
View file @
78865a0c
...
...
@@ -2,10 +2,10 @@
%h5
Already Protected:
%table
.table.protected-branches-list
%thead
%tr
%th
{
style:
"border:0;"
}
Branch
%th
{
style:
"border:0;"
}
Developers can push
%th
{
style:
"border:0;"
}
%tr
.no-border
%th
Branch
%th
Developers can push
%th
%tbody
-
@branches
.
each
do
|
branch
|
...
...
@@ -22,8 +22,8 @@
.pull-right
-
if
can?
current_user
,
:admin_project
,
@project
=
link_to
'Unprotect'
,
[
@project
,
branch
],
data:
{
confirm:
'Branch will be writable for developers. Are you sure?'
},
method: :delete
,
class:
"btn btn-remove btn-small"
%tr
%td
{
style:
"border:0;"
}
%tr
.no-border
%td
-
if
commit
=
branch
.
commit
=
link_to
project_commit_path
(
@project
,
commit
.
id
),
class:
'commit_short_id'
do
=
commit
.
short_id
...
...
@@ -32,5 +32,5 @@
#{
time_ago_with_tooltip
(
commit
.
committed_date
)
}
-
else
(branch was removed from repository)
%td
{
style:
"border:0;"
}
%td
{
style:
"border:0;"
}
%td
%td
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment