diff --git a/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/login.less b/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/login.less index e66326d..8edf8f2 100644 --- a/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/login.less +++ b/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/login.less @@ -1,3 +1,31 @@ .ui.inverted.header{ color:#000; -} \ No newline at end of file +} + +.login-page-button { + margin: 5%; + text-align: center !important; + & a { + padding: 5px; + cursor: pointer; + } + & a:hover { + background-color: #000; + color: #fff !important; + text-decoration: none; + } + } + +.text-color{ + color: #000; +} + +@media (max-width: 767px) { + #switch_left { + order: 2; + } + #switch_right { + order: 1; + } +} + diff --git a/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html b/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html index f67d276..59d0ca5 100644 --- a/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html +++ b/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html @@ -1,6 +1,7 @@ {# Copyright (C) 2020 TUGRAZ - Copyright (C) 2020 mojib wali. + Copyright (C) 2020 mojib wali + Copyright (C) 2020 Nikita Lvov invenio-theme-tugraz is free software; you can redistribute it and/or modify it under the terms of the MIT License; see LICENSE file for more @@ -14,57 +15,61 @@ {% block page_body %}
+
+ +
+ {% endblock page_body %} \ No newline at end of file diff --git a/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html b/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html index a82c137..fbb41ff 100644 --- a/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html +++ b/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html @@ -1,6 +1,7 @@ {# Copyright (C) 2020 TUGRAZ - Copyright (C) 2020 mojib wali. + Copyright (C) 2020 mojib wali + Copyright (C) 2020 Nikita Lvov invenio-theme-tugraz is free software; you can redistribute it and/or modify it under the terms of the MIT License; see LICENSE file for more @@ -13,47 +14,80 @@ {% block page_body %}
+
-
-
- - {%- block form_header %} - - {%- endblock form_header %} +
+
+

{{ _('Create an Account') }}

+
- {%- with form = register_user_form %} -
+
+
+

{{ _('Citeable. Discoverable.') }}

+

+ {{ _('Uploads get a Digital Object Identifier (DOI) to make them easily and uniquely citeable.')}} +

{{ _('Communities.') }}

+

+ {{ _('Accept or reject uploads to your own community (e.g workshops, EU projects, institutions or entire disciplines).') }} + +

{{ _('Trusted Research Data Management') }}

+

+ {{ _('Built on top of TU Graz expertise in managing of the research data from the Graz University of Technology.') }} + + + +

+
+ +
+ + + + {%- if config.INVENIO_CONFIG_TUGRAZ_SHIBBOLETH %} + +
Or
+ {%- endif %} + + {%- block form_header %} + + {%- block form_outer %} + {%- endblock form_outer %} + {%- endblock form_header %} + {%- with form = register_user_form %} + {{ form_errors(form) }} {{ form.hidden_tag() }} {%- block registration_form_fields scoped %} - {{ render_field(form.email, icon="user icon", autofocus=True, errormsg=False) }} - {{ render_field(form.password, icon="lock icon", errormsg=False) }} - {%- if form.password_confirm %} - {{ render_field(form.password_confirm, icon="lock icon", errormsg=False) }} - {%- endif %} + {{ render_field(form.email, icon="user icon", autofocus=True, errormsg=False) }} + {{ render_field(form.password, icon="lock icon", errormsg=False) }} + {%- if form.password_confirm %} + {{ render_field(form.password_confirm, icon="lock icon", errormsg=False) }} + {%- endif %} {%- endblock registration_form_fields %} {%- if form.recaptcha %} -
{{ form.recaptcha() }}
+
{{ form.recaptcha() }}
{%- endif %} - +
+ +
- {%- endwith %} - + {%- endwith %} + +
-
- {{ _('Already have an account?') }} - {{ _('Log In') }} -
+ {% endblock page_body %} \ No newline at end of file