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
Jérome Perrin
gitlab-ce
Commits
4ee2f74b
Commit
4ee2f74b
authored
Feb 16, 2018
by
haseeb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
embedd button related fixes
parent
27e8d38c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
app/assets/stylesheets/framework/snippets.scss
app/assets/stylesheets/framework/snippets.scss
+4
-0
app/views/shared/snippets/_header.html.haml
app/views/shared/snippets/_header.html.haml
+3
-3
No files found.
app/assets/stylesheets/framework/snippets.scss
View file @
4ee2f74b
...
@@ -46,3 +46,7 @@
...
@@ -46,3 +46,7 @@
.snippet-scope-menu
.btn-new
{
.snippet-scope-menu
.btn-new
{
margin-top
:
15px
;
margin-top
:
15px
;
}
}
.snippet-embed-input
{
height
:
35px
;
}
app/views/shared/snippets/_header.html.haml
View file @
4ee2f74b
...
@@ -40,10 +40,10 @@
...
@@ -40,10 +40,10 @@
.dropdown-menu
.dropdown-menu
%ul
%ul
%li
%li
%a
#embed-btn
{
href:
"#"
}
Embed
%a
#embed-btn
{
href:
"#"
}
Embed
%li
%li
%a
#share-btn
{
href:
"#"
}
Share
%a
#share-btn
{
href:
"#"
}
Share
%input
#snippet-url-area
.form-control
{
type:
"text"
,
autocomplete:
'off'
,
value:
snippet_embed
}
%input
#snippet-url-area
.
snippet-embed-input.
form-control
{
type:
"text"
,
autocomplete:
'off'
,
value:
snippet_embed
}
.input-group-btn
.input-group-btn
%a
#clipboard-btn
.btn.btn-default
{
title:
"Copy to clipboard"
,
data:
{
toggle:
"tooltip"
,
placement:
"bottom"
,
title:
"Copy source to clipboard"
,
container:
"body"
,
clipboard_target:
'#snippet-url-area'
}
}
%a
#clipboard-btn
.btn.btn-default
{
title:
"Copy to clipboard"
,
data:
{
toggle:
"tooltip"
,
placement:
"bottom"
,
title:
"Copy source to clipboard"
,
container:
"body"
,
clipboard_target:
'#snippet-url-area'
}
}
=
sprite_icon
(
'duplicate'
,
size:
16
)
=
sprite_icon
(
'duplicate'
,
size:
16
)
...
...
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