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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kazuhiko Shiozaki
gitlab-ce
Commits
ee89e9c8
Commit
ee89e9c8
authored
Jan 27, 2016
by
Jacob Schatz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds prev/next buttons to top area
parent
087abdf7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
4 deletions
+33
-4
app/assets/stylesheets/framework/variables.scss
app/assets/stylesheets/framework/variables.scss
+2
-1
app/assets/stylesheets/pages/issuable.scss
app/assets/stylesheets/pages/issuable.scss
+24
-0
app/views/shared/issuable/_sidebar.html.haml
app/views/shared/issuable/_sidebar.html.haml
+7
-3
No files found.
app/assets/stylesheets/framework/variables.scss
View file @
ee89e9c8
...
...
@@ -13,7 +13,7 @@ $list-font-size: 15px;
$sidebar_collapsed_width
:
62px
;
$sidebar_width
:
230px
;
$gutter_collapsed_width
:
62px
;
$gutter_width
:
32
0px
;
$gutter_width
:
25
0px
;
$avatar_radius
:
50%
;
$code_font_size
:
13px
;
$code_line_height
:
1
.5
;
...
...
@@ -41,6 +41,7 @@ $white-dark: #ededed;
$gray-light
:
#f7f7f7
;
$gray-normal
:
#ededed
;
$gray-dark
:
#ededed
;
$gray-darkest
:
#c9c9c9
;
$green-light
:
#31AF64
;
$green-normal
:
#2FAA60
;
...
...
app/assets/stylesheets/pages/issuable.scss
View file @
ee89e9c8
...
...
@@ -75,9 +75,28 @@
padding
:
$gl-padding
0
;
border-bottom
:
1px
solid
#F0F0F0
;
&
:first-child
{
padding-top
:
5px
;
}
&
:last-child
{
border
:
none
;
}
span
{
margin-top
:
7px
;
display
:
inline-block
;
}
.issuable-count
{
}
.gutter-collapse
{
margin-left
:
10px
;
border-left
:
1px
solid
#F0F0F0
;
padding-left
:
10px
;
}
}
.title
{
...
...
@@ -145,4 +164,9 @@
overflow
:
scroll
;
width
:
$gutter_width
;
padding
:
10px
20px
;
.btn
{
background
:
$gray-normal
;
border
:
1px
solid
$gray-darkest
;
}
}
\ No newline at end of file
app/views/shared/issuable/_sidebar.html.haml
View file @
ee89e9c8
%aside
.right-sidebar
.issuable-sidebar
.block
=
issuable
.
iid
of
=
issuable_count
(
:all
,
@project
)
%span
.issuable-count.pull-left
=
issuable
.
iid
of
=
issuable_count
(
:all
,
@project
)
%span
.gutter-collapse.pull-right
=
icon
(
'angle-double-right'
)
.issuable-nav.pull-right.btn-group
{
role:
'group'
,
"aria-label"
=>
'...'
}
%a
.btn.btn-default
{
href:
'#'
}
Prev
%a
.btn.btn-default
{
href:
'#'
}
Next
=
form_for
[
@project
.
namespace
.
becomes
(
Namespace
),
@project
,
issuable
],
remote:
true
,
html:
{
class:
'issuable-context-form inline-update js-issuable-update'
}
do
|
f
|
.block.assignee
.title
...
...
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