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
Léo-Paul Géneau
gitlab-ce
Commits
510b1058
Commit
510b1058
authored
May 06, 2016
by
Jacob Schatz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add nice new Todo bell
parent
b1230bbd
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletion
+10
-1
app/assets/stylesheets/framework/variables.scss
app/assets/stylesheets/framework/variables.scss
+1
-0
app/assets/stylesheets/pages/todos.scss
app/assets/stylesheets/pages/todos.scss
+8
-1
app/views/layouts/header/_default.html.haml
app/views/layouts/header/_default.html.haml
+1
-0
No files found.
app/assets/stylesheets/framework/variables.scss
View file @
510b1058
...
@@ -77,6 +77,7 @@ $provider-btn-group-border: #e5e5e5;
...
@@ -77,6 +77,7 @@ $provider-btn-group-border: #e5e5e5;
$provider-btn-not-active-color
:
#4688f1
;
$provider-btn-not-active-color
:
#4688f1
;
$link-underline-blue
:
#4a8bee
;
$link-underline-blue
:
#4a8bee
;
$layout-link-gray
:
#7e7c7c
;
$layout-link-gray
:
#7e7c7c
;
$todo-alert-blue
:
#428bca
;
/*
/*
* Color schema
* Color schema
...
...
app/assets/stylesheets/pages/todos.scss
View file @
510b1058
...
@@ -6,9 +6,16 @@
...
@@ -6,9 +6,16 @@
.navbar-nav
{
.navbar-nav
{
li
{
li
{
.badge.todos-pending-count
{
.badge.todos-pending-count
{
background-color
:
$gl-icon-color
;
margin-top
:
-5px
;
margin-top
:
-5px
;
font-weight
:
normal
;
font-weight
:
normal
;
background
:
$todo-alert-blue
;
margin-left
:
-17px
;
font-size
:
11px
;
color
:
white
;
padding
:
3px
;
padding-top
:
1px
;
padding-bottom
:
1px
;
border-radius
:
3px
;
}
}
}
}
}
}
...
...
app/views/layouts/header/_default.html.haml
View file @
510b1058
...
@@ -23,6 +23,7 @@
...
@@ -23,6 +23,7 @@
=
icon
(
'wrench fw'
)
=
icon
(
'wrench fw'
)
%li
%li
=
link_to
dashboard_todos_path
,
title:
'Todos'
,
data:
{
toggle:
'tooltip'
,
placement:
'bottom'
,
container:
'body'
}
do
=
link_to
dashboard_todos_path
,
title:
'Todos'
,
data:
{
toggle:
'tooltip'
,
placement:
'bottom'
,
container:
'body'
}
do
=
icon
(
'bell fw'
)
%span
.badge.todos-pending-count
%span
.badge.todos-pending-count
=
todos_pending_count
=
todos_pending_count
-
if
current_user
.
can_create_project?
-
if
current_user
.
can_create_project?
...
...
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