Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
web app
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
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
ICNML
web app
Commits
ee912fb9
Commit
ee912fb9
authored
5 years ago
by
Marco De Donno
Browse files
Options
Downloads
Patches
Plain Diff
Rename the login warning div
parent
334edb16
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/login.html
+3
-3
3 additions, 3 deletions
templates/login.html
with
3 additions
and
3 deletions
templates/login.html
+
3
−
3
View file @
ee912fb9
...
...
@@ -38,7 +38,7 @@
</div>
</div>
<div
id=
"icnml_login_error"
class=
"icnml_box_error"
></div>
<div
id=
"warning"
class=
"icnml_box_warning"
></div>
<div
id=
"
icnml_login_
warning"
class=
"icnml_box_warning"
></div>
<div
class=
"icnml_button"
>
<a
class=
"ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
id=
"login_button"
role=
"button"
aria-disabled=
"false"
>
<span
class=
"ui-button-text"
>
Login
</span>
...
...
@@ -151,7 +151,7 @@
$
(
"
#icnml_login_error
"
).
text
(
data
.
message
);
if
(
typeof
data
.
time
!==
"
undefined
"
)
$
(
"
#warning
"
).
text
(
"
Current server time:
"
+
moment
.
utc
(
data
.
time
*
1000
).
local
().
format
(
"
MMMM Do YYYY, HH:mm:ss
"
)
);
$
(
"
#
icnml_login_
warning
"
).
text
(
"
Current server time:
"
+
moment
.
utc
(
data
.
time
*
1000
).
local
().
format
(
"
MMMM Do YYYY, HH:mm:ss
"
)
);
}
}
},
...
...
@@ -244,7 +244,7 @@
{
if
(
!
window
.
crypto
||
!
window
.
crypto
.
subtle
||
!
window
.
TextEncoder
||
!
window
.
TextDecoder
)
{
$
(
"
#warning
"
)
$
(
"
#
icnml_login_
warning
"
)
.
text
(
"
Your browser does not support client-side cryptography. Please use compatible browser (Firefox, Chrome, Opera, Safari, ...) to protect your password before sending it to the ICNML server.
"
);
$
(
"
#username
"
).
prop
(
"
disabled
"
,
true
);
...
...
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