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
1a3ca6b1
Commit
1a3ca6b1
authored
Aug 19, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4797 from mbajur/flashes-revived
Make flash messages fixed and sticked to bottom
parents
0e387919
798f7db2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
app/assets/javascripts/main.js.coffee
app/assets/javascripts/main.js.coffee
+1
-1
app/assets/stylesheets/common.scss
app/assets/stylesheets/common.scss
+4
-0
No files found.
app/assets/javascripts/main.js.coffee
View file @
1a3ca6b1
...
...
@@ -89,7 +89,7 @@ $ ->
if
(
flash
=
$
(
".flash-container"
)).
length
>
0
flash
.
click
->
$
(
@
).
fadeOut
()
flash
.
show
()
setTimeout
(
->
flash
.
fadeOut
()),
9
000
setTimeout
(
->
flash
.
fadeOut
()),
5
000
# Disable form buttons while a form is submitting
$
(
'body'
).
on
'ajax:complete, ajax:beforeSend, submit'
,
'form'
,
(
e
)
->
...
...
app/assets/stylesheets/common.scss
View file @
1a3ca6b1
...
...
@@ -51,6 +51,10 @@ table a code {
text-align
:
center
;
color
:
#fff
;
font-size
:
14px
;
position
:
fixed
;
bottom
:
0
;
width
:
100%
;
opacity
:
0
.8
;
.flash-notice
{
background
:
#49C
;
...
...
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