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
Tatuya Kamada
gitlab-ce
Commits
04c674e6
Commit
04c674e6
authored
Mar 10, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup after removing group tab from dashboard aside
parent
7fd4dc1e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
40 deletions
+0
-40
app/assets/javascripts/dashboard.js.coffee
app/assets/javascripts/dashboard.js.coffee
+0
-12
app/assets/stylesheets/pages/dashboard.scss
app/assets/stylesheets/pages/dashboard.scss
+0
-28
No files found.
app/assets/javascripts/dashboard.js.coffee
View file @
04c674e6
class
@
Dashboard
constructor
:
->
@
initSidebarTab
()
new
ProjectsList
()
initSidebarTab
:
->
key
=
"dashboard_sidebar_filter"
# store selection in cookie
$
(
'.dash-sidebar-tabs a'
).
on
'click'
,
(
e
)
->
$
.
cookie
(
key
,
$
(
e
.
target
).
attr
(
'id'
))
# show tab from cookie
sidebar_filter
=
$
.
cookie
(
key
)
$
(
"#"
+
sidebar_filter
).
tab
(
'show'
)
if
sidebar_filter
app/assets/stylesheets/pages/dashboard.scss
View file @
04c674e6
...
...
@@ -23,25 +23,6 @@
}
}
.dash-sidebar-tabs
{
margin-bottom
:
2px
;
border
:
none
;
margin
:
0
!
important
;
li
{
&
.active
{
a
{
background-color
:
whitesmoke
!
important
;
border-bottom
:
1px
solid
whitesmoke
!
important
;
}
}
a
{
border-color
:
#DDD
!
important
;
}
}
}
.project-row
,
.group-row
{
padding
:
0
!
important
;
font-size
:
14px
;
...
...
@@ -116,15 +97,6 @@
}
}
.dash-new-group
{
background
:
$gl-success
;
border
:
1px
solid
$gl-success
;
a
{
color
:
#FFF
;
}
}
.dash-list
.str-truncated
{
max-width
:
72%
;
}
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