refactor/accounts (#120)

* style(ui): adding divider for login with.

* login_user.html
* register_user.html

* style(ui): 'login with' hyperlink same style as button.

style(css): adding semantic ui css class.

* build: restricting the version for docker-services-cli

the new release was not stable.
This commit is contained in:
Mojib Wali
2020-12-10 11:19:35 +01:00
committed by GitHub
parent 804bd108c5
commit 10881c5627
3 changed files with 6 additions and 2 deletions

View File

@@ -26,7 +26,8 @@
<!--Log in with SSO-->
{%- if config.INVENIO_CONFIG_TUGRAZ_SHIBBOLETH %}
<div class="login-page-button">
<div class="ui divider"></div>
<div class="login-page-button ui fluid large button">
<a href="{{ url_for('sso_saml.sso', idp='idp') }}" class="inverted tiny image label">
{% trans type='TUGRAZ' %} Log in with {{ type }}{% endtrans %}
<img src="{{ url_for('static', filename=config.INVENIO_THEME_TUGRAZ_ICON)}}" height="20px" />

View File

@@ -45,7 +45,8 @@
<!--Sigup with SSO-->
{%- if config.INVENIO_CONFIG_TUGRAZ_SHIBBOLETH %}
<div class="login-page-button">
<div class="ui divider"></div>
<div class="login-page-button ui fluid large button">
<a href="{{ url_for('sso_saml.sso', idp='idp') }}" class="inverted tiny image label">
<span style="font-size: 18px;">{{ _('Sign up with TUGRAZ ') }}</span>
<img src="{{ url_for('static', filename=config.INVENIO_THEME_TUGRAZ_ICON)}}" height="20px" />

View File

@@ -17,6 +17,8 @@ history = open("CHANGES.rst").read()
tests_require = [
"pytest-invenio>=1.4.0",
# TODO: remove once a new release is out
'docker-services-cli>=0.2.1,<0.3.0',
]
extras_require = {