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
a2b3eb13
Unverified
Commit
a2b3eb13
authored
May 29, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move from ui-box to panels
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
38ff5d1a
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
32 additions
and
24 deletions
+32
-24
dashboard.js.coffee
app/assets/javascripts/dashboard.js.coffee
+1
-1
lists.scss
app/assets/stylesheets/generic/lists.scss
+9
-0
ui_box.scss
app/assets/stylesheets/generic/ui_box.scss
+0
-9
gl_bootstrap.scss
app/assets/stylesheets/gl_bootstrap.scss
+8
-0
show.html.haml
app/views/admin/background_jobs/show.html.haml
+1
-1
show.html.haml
app/views/admin/groups/show.html.haml
+1
-1
show.html.haml
app/views/admin/projects/show.html.haml
+1
-1
edit.html.haml
app/views/groups/edit.html.haml
+2
-2
edit.html.haml
app/views/projects/edit.html.haml
+9
-9
No files found.
app/assets/javascripts/dashboard.js.coffee
View file @
a2b3eb13
...
@@ -4,7 +4,7 @@ class Dashboard
...
@@ -4,7 +4,7 @@ class Dashboard
$
(
".dash-filter"
).
keyup
->
$
(
".dash-filter"
).
keyup
->
terms
=
$
(
this
).
val
()
terms
=
$
(
this
).
val
()
uiBox
=
$
(
this
).
parents
(
'.
ui-box
'
).
first
()
uiBox
=
$
(
this
).
parents
(
'.
panel
'
).
first
()
if
terms
==
""
||
terms
==
undefined
if
terms
==
""
||
terms
==
undefined
uiBox
.
find
(
".dash-list li"
).
show
()
uiBox
.
find
(
".dash-list li"
).
show
()
else
else
...
...
app/assets/stylesheets/generic/lists.scss
View file @
a2b3eb13
...
@@ -72,6 +72,15 @@
...
@@ -72,6 +72,15 @@
font-size
:
14px
;
font-size
:
14px
;
line-height
:
18px
;
line-height
:
18px
;
}
}
.row_title
{
font-weight
:
500
;
color
:
#444
;
&
:hover
{
color
:
#444
;
text-decoration
:
underline
;
}
}
}
}
}
}
...
...
app/assets/stylesheets/generic/ui_box.scss
View file @
a2b3eb13
...
@@ -106,15 +106,6 @@
...
@@ -106,15 +106,6 @@
}
}
}
}
.row_title
{
font-weight
:
500
;
color
:
#444
;
&
:hover
{
color
:
#444
;
text-decoration
:
underline
;
}
}
.form-holder
{
.form-holder
{
padding-top
:
20px
;
padding-top
:
20px
;
form
{
form
{
...
...
app/assets/stylesheets/gl_bootstrap.scss
View file @
a2b3eb13
...
@@ -221,3 +221,11 @@ ul.breadcrumb {
...
@@ -221,3 +221,11 @@ ul.breadcrumb {
position
:
relative
;
position
:
relative
;
white-space
:
nowrap
;
white-space
:
nowrap
;
}
}
/**
* Add some extra stuff to panels
*
*/
.panel
{
}
app/views/admin/background_jobs/show.html.haml
View file @
a2b3eb13
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
.panel.panel-default
.panel.panel-default
.panel-heading
Sidekiq running processes
.panel-heading
Sidekiq running processes
.body
.
panel-
body
-
if
@sidekiq_processes
.
empty?
-
if
@sidekiq_processes
.
empty?
%h4
.cred
%h4
.cred
%i
.icon-warning-sign
%i
.icon-warning-sign
...
...
app/views/admin/groups/show.html.haml
View file @
a2b3eb13
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
.panel.panel-default
.panel.panel-default
.panel-heading
.panel-heading
Add user(s) to the group:
Add user(s) to the group:
.body.form-holder
.
panel-
body.form-holder
%p
.light
%p
.light
Read more about project permissions
Read more about project permissions
%strong
=
link_to
"here"
,
help_page_path
(
"permissions"
,
"permissions"
),
class:
"vlink"
%strong
=
link_to
"here"
,
help_page_path
(
"permissions"
,
"permissions"
),
class:
"vlink"
...
...
app/views/admin/projects/show.html.haml
View file @
a2b3eb13
...
@@ -78,7 +78,7 @@
...
@@ -78,7 +78,7 @@
.panel.panel-default
.panel.panel-default
.panel-heading
.panel-heading
Transfer project
Transfer project
.body
.
panel-
body
=
form_for
@project
,
url:
transfer_admin_project_path
(
@project
),
method: :put
,
html:
{
class:
'form-horizontal'
}
do
|
f
|
=
form_for
@project
,
url:
transfer_admin_project_path
(
@project
),
method: :put
,
html:
{
class:
'form-horizontal'
}
do
|
f
|
.form-group
.form-group
=
f
.
label
:namespace_id
,
"Namespace"
,
class:
'control-label'
=
f
.
label
:namespace_id
,
"Namespace"
,
class:
'control-label'
...
...
app/views/groups/edit.html.haml
View file @
a2b3eb13
...
@@ -84,9 +84,9 @@
...
@@ -84,9 +84,9 @@
.nothing-here-block
This group has no projects yet
.nothing-here-block
This group has no projects yet
.tab-pane
#tab-remove
.tab-pane
#tab-remove
.panel.panel-default.panel.panel-d
efault-d
anger
.panel.panel-default.panel.panel-danger
.panel-heading
Remove group
.panel-heading
Remove group
.body
.
panel-
body
%p
%p
Removing group will cause all child projects and resources to be removed.
Removing group will cause all child projects and resources to be removed.
%p
%p
...
...
app/views/projects/edit.html.haml
View file @
a2b3eb13
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
Project settings:
Project settings:
%p
.light
Some settings, such as "Transfer Project", are hidden inside the danger area below
%p
.light
Some settings, such as "Transfer Project", are hidden inside the danger area below
%hr
%hr
.
form-holder
.
panel-body
=
form_for
@project
,
remote:
true
,
html:
{
class:
"edit_project form-horizontal"
}
do
|
f
|
=
form_for
@project
,
remote:
true
,
html:
{
class:
"edit_project form-horizontal"
}
do
|
f
|
%fieldset
%fieldset
.form-group.project_name_holder
.form-group.project_name_holder
...
@@ -106,13 +106,13 @@
...
@@ -106,13 +106,13 @@
.js-toggle-content.hide
.js-toggle-content.hide
-
if
can?
current_user
,
:archive_project
,
@project
-
if
can?
current_user
,
:archive_project
,
@project
.panel.panel-default.panel.panel-d
efault-d
anger
.panel.panel-default.panel.panel-danger
.panel-heading
.panel-heading
-
if
@project
.
archived?
-
if
@project
.
archived?
Unarchive project
Unarchive project
-
else
-
else
Archive project
Archive project
.body
.
panel-
body
-
if
@project
.
archived?
-
if
@project
.
archived?
%p
%p
Unarchiving the project will mark its repository as active.
Unarchiving the project will mark its repository as active.
...
@@ -137,10 +137,10 @@
...
@@ -137,10 +137,10 @@
.nothing-here-block
Only the project owner can archive a project
.nothing-here-block
Only the project owner can archive a project
-
if
can?
(
current_user
,
:change_namespace
,
@project
)
-
if
can?
(
current_user
,
:change_namespace
,
@project
)
.panel.panel-default.panel.panel-d
efault-d
anger
.panel.panel-default.panel.panel-danger
.panel-heading
Transfer project
.panel-heading
Transfer project
.errors-holder
.errors-holder
.
form-holder
.
panel-body
=
form_for
(
@project
,
url:
transfer_project_path
(
@project
),
method: :put
,
remote:
true
,
html:
{
class:
'transfer-project form-horizontal'
})
do
|
f
|
=
form_for
(
@project
,
url:
transfer_project_path
(
@project
),
method: :put
,
remote:
true
,
html:
{
class:
'transfer-project form-horizontal'
})
do
|
f
|
.form-group
.form-group
=
f
.
label
:namespace_id
,
class:
'control-label'
do
=
f
.
label
:namespace_id
,
class:
'control-label'
do
...
@@ -157,10 +157,10 @@
...
@@ -157,10 +157,10 @@
-
else
-
else
.nothing-here-block
Only the project owner can transfer a project
.nothing-here-block
Only the project owner can transfer a project
.panel.panel-default.panel.panel-d
efault-d
anger
.panel.panel-default.panel.panel-danger
.panel-heading
Rename repository
.panel-heading
Rename repository
.errors-holder
.errors-holder
.
form-holder
.
panel-body
=
form_for
(
@project
,
html:
{
class:
'form-horizontal'
})
do
|
f
|
=
form_for
(
@project
,
html:
{
class:
'form-horizontal'
})
do
|
f
|
.form-group
.form-group
=
f
.
label
:path
,
class:
'control-label'
do
=
f
.
label
:path
,
class:
'control-label'
do
...
@@ -177,9 +177,9 @@
...
@@ -177,9 +177,9 @@
=
f
.
submit
'Rename'
,
class:
"btn btn-remove"
=
f
.
submit
'Rename'
,
class:
"btn btn-remove"
-
if
can?
(
current_user
,
:remove_project
,
@project
)
-
if
can?
(
current_user
,
:remove_project
,
@project
)
.panel.panel-default.panel.panel-d
efault-d
anger
.panel.panel-default.panel.panel-danger
.panel-heading
Remove project
.panel-heading
Remove project
.body
.
panel-
body
%p
%p
Removing the project will delete its repository and all related resources including issues, merge requests etc.
Removing the project will delete its repository and all related resources including issues, merge requests etc.
%br
%br
...
...
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