Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
3pia
VISPA
VISPA web
Commits
9b833976
Commit
9b833976
authored
Nov 20, 2014
by
Marcel Rieger
Browse files
Minor code cleaning.
parent
1838a308
Changes
2
Hide whitespace changes
Inline
Side-by-side
vispa/static/js/base/dialog.js
View file @
9b833976
...
...
@@ -33,31 +33,18 @@
var
tmpl
=
{
wrapper
:
'
\
<div class="modal fade" style="position: absolute; overflow: hidden; margin: 0px;">
\
<div class="modal-dialog" style="position: relative; height: 100%; width: 100%; margin: 0px; overflow: hidden;">
\
<div class="modal-content" style="margin: 40px auto; min-width: 300px; max-width: 75%; width: 600px; overflow: hidden;">
\
</div>
\
</div>
\
</div>
\
'
,
header
:
'
\
<div class="modal-header">
\
<button type="button" class="close" aria-hidden="true">
\
wrapper
:
"
<div class='modal fade' style='position: absolute; overflow: hidden; margin: 0px;'><div class='modal-dialog' style='position: relative; height: 100%; width: 100%; margin: 0px; overflow: hidden;'><div class='modal-content' style='margin: 40px auto; min-width: 300px; max-width: 75%; width: 600px; overflow: hidden;'></div></div></div>
"
,
header
:
"
\
<div class='modal-header'>
\
<button type='button' class='close' aria-hidden='true'>
\
×
\
</button>
\
<h4 class=
"
modal-title
"
></h4>
\
<h4 class=
'
modal-title
'
></h4>
\
</div>
\
'
,
body
:
'
\
<div class="modal-body" style="overflow: auto;"></div>
\
'
,
footer
:
'
\
<div class="modal-footer"></div>
\
'
,
button
:
'
\
<button type="button" class="btn"></button>
\
'
"
,
body
:
"
<div class='modal-body' style='overflow: auto;'></div>
"
,
footer
:
"
<div class='modal-footer'></div>
"
,
button
:
"
<button type='button' class='btn'></button>
"
};
...
...
vispa/static/js/sites/index/vispa.js
View file @
9b833976
...
...
@@ -280,7 +280,7 @@ var Vispa = Emitter.extend({
$
(
"
.vispa-nav #reset-password
"
).
click
(
function
(
event
)
{
self
.
POST
(
vispa
.
url
.
dynamic
(
"
/ajax/forgotpassword
"
),
{
username
:
vispaUser
.
name
})
.
done
(
function
()
{
var
header
=
"
<i class='glyphicon glyphicon-envelope'></i> Success
"
var
header
=
"
<i class='glyphicon glyphicon-envelope'></i> Success
"
;
vispa
.
messenger
.
alert
(
"
Further instructions have been sent to your mail address!
"
,
{
header
:
header
});
...
...
@@ -302,7 +302,7 @@ var Vispa = Emitter.extend({
header
:
"
<i class='glyphicon glyphicon-question-sign'></i> Create account
"
});
event
.
preventDefault
();
})
})
;
}
return
this
;
...
...
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