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
Boxiang Sun
gitlab-ce
Commits
83eb63cb
Commit
83eb63cb
authored
Mar 25, 2013
by
Andrew8xx8
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New layout for snippets added
parent
8adf9c79
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
app/views/layouts/snippets.html.haml
app/views/layouts/snippets.html.haml
+24
-0
No files found.
app/views/layouts/snippets.html.haml
0 → 100644
View file @
83eb63cb
!!! 5
%html
{
lang:
"en"
}
=
render
"layouts/head"
,
title:
"Snipepts"
%body
{
class:
"#{app_theme} application"
}
=
render
"layouts/head_panel"
,
title:
"Snippets"
=
render
"layouts/flash"
.container
%ul
.main_menu
=
nav_link
(
path:
'dashboard#show'
,
html_options:
{
class:
'home'
})
do
=
link_to
root_path
,
title:
"Back to dashboard"
do
%i
.icon-arrow-left
=
nav_link
(
path:
'snippet#new'
)
do
=
link_to
new_snippet_path
do
New snippet
=
nav_link
(
path:
'snippets#user_index'
)
do
=
link_to
user_snippets_path
(
@current_user
)
do
My snippets
=
nav_link
(
path:
'snippets#index'
)
do
=
link_to
snippets_path
do
Discover snippets
=
nav_link
(
path:
'search#show'
)
do
=
link_to
"Search"
,
search_path
.content
=
yield
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