Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
dc41a933
Commit
dc41a933
authored
Jun 14, 2016
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update scss to make the views look nicer
parent
975e3887
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
9 deletions
+13
-9
app/assets/stylesheets/pages/environments.scss
app/assets/stylesheets/pages/environments.scss
+5
-0
app/views/projects/deployments/_deployment.html.haml
app/views/projects/deployments/_deployment.html.haml
+1
-1
app/views/projects/environments/_environment.html.haml
app/views/projects/environments/_environment.html.haml
+3
-4
app/views/projects/environments/index.html.haml
app/views/projects/environments/index.html.haml
+1
-1
app/views/projects/environments/show.html.haml
app/views/projects/environments/show.html.haml
+3
-3
No files found.
app/assets/stylesheets/pages/environments.scss
0 → 100644
View file @
dc41a933
.environments
{
.commit-title
{
margin
:
0
;
}
}
app/views/projects/deployments/_deployment.html.haml
View file @
dc41a933
...
...
@@ -9,7 +9,7 @@
·
=
link_to
deployment
.
short_sha
,
namespace_project_commit_path
(
@project
.
namespace
,
@project
,
deployment
.
sha
),
class:
"commit-id monospace"
%p
%p
.commit-title
%span
-
if
commit_title
=
deployment
.
commit_title
=
link_to_gfm
commit_title
,
namespace_project_commit_path
(
@project
.
namespace
,
@project
,
deployment
.
sha
),
class:
"commit-row-message"
...
...
app/views/projects/environments/_environment.html.haml
View file @
dc41a933
...
...
@@ -13,17 +13,16 @@
·
=
link_to
last_deployment
.
short_sha
,
namespace_project_commit_path
(
@project
.
namespace
,
@project
,
last_deployment
.
sha
),
class:
"commit-id monospace"
%p
%p
.commit-title
%span
-
if
commit_title
=
last_deployment
.
commit_title
=
link_to_gfm
commit_title
,
namespace_project_commit_path
(
@project
.
namespace
,
@project
,
last_deployment
.
sha
),
class:
"commit-row-message"
-
else
Cant find HEAD commit for this branch
-
else
%p
%p
.commit-title
No deployments yet
%td
-
if
last_deployment
%p
#{
time_ago_with_tooltip
(
last_deployment
.
created_at
)
}
#{
time_ago_with_tooltip
(
last_deployment
.
created_at
)
}
app/views/projects/environments/index.html.haml
View file @
dc41a933
...
...
@@ -15,7 +15,7 @@
No environments to show
-
else
.table-holder
%table
.table
%table
.table
.environments
%tbody
%th
Environment
%th
Last deployment
...
...
app/views/projects/environments/show.html.haml
View file @
dc41a933
...
...
@@ -5,7 +5,7 @@
%div
{
class:
(
container_class
)
}
.top-area
.col-md-9
%h3
=
@environment
.
name
.
titleize
%h3
.page-title
=
@environment
.
name
.
titleize
.col-md-3
.nav-controls
...
...
@@ -13,13 +13,13 @@
=
link_to
'Destroy'
,
namespace_project_environment_path
(
@project
.
namespace
,
@project
,
@environment
),
data:
{
confirm:
'Are you sure?'
},
class:
'btn btn-danger'
,
method: :delete
-
if
@deployments
.
blank?
%ul
.content-list
%ul
.content-list
.environments
%li
.nothing-here-block
No deployments for
%strong
=
@environment
.
name
-
else
.table-holder
%table
.table.
build
s
%table
.table.
environment
s
%thead
%tr
%th
ID
...
...
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