Skip to content
GitLab
Explore
Sign in
Commits on Source (2)
Refactoring of the links on the homepage (reset and new account)
· cde78c79
Marco De Donno
authored
Jul 16, 2019
cde78c79
Patch UI for the git related informations on the homepage
· 9167c053
Marco De Donno
authored
Jul 16, 2019
9167c053
Hide whitespace changes
Inline
Side-by-side
templates/login.html
View file @
9167c053
...
@@ -45,14 +45,16 @@
...
@@ -45,14 +45,16 @@
</a>
</a>
</div>
</div>
<div
class=
"icnml_shybox"
id=
"password_reset"
>
<div
class=
"icnml_shybox"
id=
"password_reset"
>
<a
href=
"{{ url_for( 'password_reset' ) }}"
>
Click HERE to reset your password
</a>
<a
href=
"{{ url_for( 'password_reset' ) }}"
>
Password reset
</a>
<br>
</div>
<a
href=
"{{ url_for( 'new_user' ) }}"
>
Click HERE to create a new account
</a>
<div
class=
"icnml_shybox"
id=
"new_account"
>
<a
href=
"{{ url_for( 'new_user' ) }}"
>
Request an account
</a>
</div>
</div>
</div>
</div>
<div
class=
"icnml_shybox"
style=
"margin-top: 10px;"
>
<div
class=
"icnml_shybox"
style=
"margin-top: 10px;"
>
<span
id=
"icnml_version"
></span>
<span
id=
"icnml_version"
></span>
<br>
</div>
<div
class=
"icnml_shybox"
>
<a
id=
"icnml_tree_files"
href=
"#"
></a>
<a
id=
"icnml_tree_files"
href=
"#"
></a>
</div>
</div>
</div>
</div>
...
@@ -194,6 +196,7 @@
...
@@ -194,6 +196,7 @@
$
(
"
#login_button
"
).
remove
();
$
(
"
#login_button
"
).
remove
();
$
(
"
#password_reset
"
).
remove
();
$
(
"
#password_reset
"
).
remove
();
$
(
"
#new_account
"
).
remove
();
$
(
"
#icnml_homepage_form
"
)
$
(
"
#icnml_homepage_form
"
)
.
prepend
(
.
prepend
(
...
@@ -258,7 +261,6 @@
...
@@ -258,7 +261,6 @@
.
attr
(
"
href
"
,
data
.
treeurl
)
.
attr
(
"
href
"
,
data
.
treeurl
)
.
attr
(
"
target
"
,
"
_blank
"
)
.
attr
(
"
target
"
,
"
_blank
"
)
.
css
(
"
text-decoration
"
,
"
underline
"
)
.
css
(
"
text-decoration
"
,
"
underline
"
)
.
css
(
"
margin-right
"
,
"
4px
"
)
.
text
(
"
See and download the source code here
"
);
.
text
(
"
See and download the source code here
"
);
}
}
}
);
}
);
...
...