Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
diaspora
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Milan
diaspora
Commits
7611bc1c
Commit
7611bc1c
authored
14 years ago
by
danielvincent
Browse files
Options
Downloads
Patches
Plain Diff
user dropdown
parent
adbe5f7c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/views/layouts/application.html.haml
+11
-9
11 additions, 9 deletions
app/views/layouts/application.html.haml
public/stylesheets/sass/application.sass
+44
-13
44 additions, 13 deletions
public/stylesheets/sass/application.sass
with
55 additions
and
22 deletions
app/views/layouts/application.html.haml
+
11
−
9
View file @
7611bc1c
...
...
@@ -44,15 +44,17 @@
%span
.sub_text
PREVIEW
#session_action
%ul
%li
#global_search
=
form_tag
(
people_path
,
:method
=>
'get'
)
do
=
text_field_tag
'q'
,
nil
,
:placeholder
=>
"Search"
,
:type
=>
'search'
,
:results
=>
5
%li
=
link_to
current_user
.
real_name
,
current_user
.
person
%li
=
link_to
"settings"
,
edit_user_path
(
current_user
)
%li
=
link_to
t
(
'.logout.'
),
destroy_user_session_path
#global_search
=
form_tag
(
people_path
,
:method
=>
'get'
)
do
=
text_field_tag
'q'
,
nil
,
:placeholder
=>
"Search"
,
:type
=>
'search'
,
:results
=>
5
%ul
#user_menu
.avatar
=
owner_image_tag
=
link_to
current_user
.
real_name
,
'#'
%li
=
link_to
"profile"
,
current_user
.
person
%li
=
link_to
"settings"
,
edit_user_path
(
current_user
)
%li
=
link_to
t
(
'.logout.'
),
destroy_user_session_path
=
render
"shared/aspect_nav"
=
render
"shared/sub_header"
...
...
This diff is collapsed.
Click to expand it.
public/stylesheets/sass/application.sass
+
44
−
13
View file @
7611bc1c
...
...
@@ -115,6 +115,7 @@ header
a
:
color
#CCC
:
text-shadow
0
1px
0
#444
&
:hover
:
background
none
...
...
@@ -128,28 +129,58 @@ header
:
border
none
:
color
#fff
#session_action
ul
#user_menu
:
z-index
10
:
font
:
size
14px
:
padding
5px
10px
:
left
40px
:
margin
0
:
top
-2px
:
right
-5px
:
position
absolute
:
display
inline
:
top
0
:
right
0
ul
:list
:style
none
:
padding
0
:
margin
0
:
display
inline
:list
:style
none
li
:
display
none
a
:
display
block
&
:hover
li
:
display
inline
:
margin
:
right
1em
:
display
block
&
:last-child
:
margin
:
right
0
&
:hover
:
margin
:
top
-3px
:
right
-6px
:
background
:
color
#333
:
border
1px
solid
#999
:
box-shadow
0
1px
2px
#333
:-webkit-box-shadow
0
1px
2px
#333
:-moz-box-shadow
0
1px
2px
#333
.avatar
:
height
20px
:
width
20px
:
position
absolute
:
left
5px
:
display
block
#global_search
:
margin
:
left
400px
#aspect_header
:-webkit-box-shadow
0px
-4px
6px
-2px
#777
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment