mirror of
https://github.com/Cian-H/invenio-theme-iform.git
synced 2026-02-19 15:08:02 +00:00
copyrights, footer.html, i18n
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (C) 2019 TUGRAZ.
|
||||
* Copyright (C) 2020 TUGRAZ.
|
||||
* Copyright (C) 2020 mojib wali.
|
||||
*
|
||||
* 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 details.
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (C) 2019 TUGRAZ.
|
||||
* Copyright (C) 2020 TUGRAZ.
|
||||
* Copyright (C) 2020 mojib wali.
|
||||
*
|
||||
* 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 details.
|
||||
@@ -232,54 +233,3 @@
|
||||
color:#E4154B;
|
||||
text-decoration:underline
|
||||
}
|
||||
|
||||
/*CUSTOM*********************/
|
||||
/* On hover color changed
|
||||
* from #0377cd
|
||||
* to #E4154B
|
||||
*/
|
||||
.section-content-white-bg a:hover,
|
||||
.section-content-white-bg a:focus,
|
||||
.section-content-light-bg a:hover,
|
||||
.section-content-light-bg a:focus,
|
||||
.hp-blog-section a:hover,
|
||||
.hp-blog-section a:focus {
|
||||
color: #E4154B;
|
||||
}
|
||||
|
||||
/*
|
||||
* Logos background frontpage.
|
||||
* from rgba(173, 206, 224, 0.52)
|
||||
* to #ffffff
|
||||
*/
|
||||
.section-content-light-bg {
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
/*
|
||||
* section title.
|
||||
* from #0377cd
|
||||
* to #000000
|
||||
*/
|
||||
.section-title {
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
/***
|
||||
login background color
|
||||
from : rgba(13,95,137,.8)
|
||||
To #ffffff
|
||||
*/
|
||||
.cover-page {
|
||||
//text-align: center;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
/***
|
||||
login & sigup page title
|
||||
from : #0377cd
|
||||
To #000000
|
||||
*/
|
||||
.panel-free-title {
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright (C) 2020 TUGRAZ.
|
||||
* Copyright (C) 2020 mojib wali.
|
||||
*
|
||||
* 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 details.
|
||||
*/
|
||||
|
||||
/* On hover color changed
|
||||
* from #0377cd
|
||||
* to #E4154B
|
||||
*/
|
||||
.section-content-white-bg a:hover,
|
||||
.section-content-white-bg a:focus,
|
||||
.section-content-light-bg a:hover,
|
||||
.section-content-light-bg a:focus,
|
||||
.hp-blog-section a:hover,
|
||||
.hp-blog-section a:focus {
|
||||
color: #E4154B;
|
||||
}
|
||||
|
||||
/*
|
||||
* Logos background frontpage.
|
||||
* from rgba(173, 206, 224, 0.52)
|
||||
* to #ffffff
|
||||
*/
|
||||
.section-content-light-bg {
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
/*
|
||||
* section title.
|
||||
* from #0377cd
|
||||
* to #000000
|
||||
*/
|
||||
.section-title {
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
/***
|
||||
login background color
|
||||
from : rgba(13,95,137,.8)
|
||||
To #ffffff
|
||||
*/
|
||||
.cover-page {
|
||||
//text-align: center;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
/***
|
||||
login & sigup page title
|
||||
from : #0377cd
|
||||
To #000000
|
||||
*/
|
||||
.panel-free-title {
|
||||
color: #000000;
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (C) 2019 TUGRAZ.
|
||||
* Copyright (C) 2020 TUGRAZ.
|
||||
* Copyright (C) 2020 mojib wali.
|
||||
*
|
||||
* 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 details.
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (C) 2019 TUGRAZ.
|
||||
* Copyright (C) 2020 TUGRAZ.
|
||||
* Copyright (C) 2020 mojib wali.
|
||||
*
|
||||
* 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 details.
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (C) 2019 TUGRAZ.
|
||||
* Copyright (C) 2020 TUGRAZ.
|
||||
* Copyright (C) 2020 mojib wali.
|
||||
*
|
||||
* 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 details.
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (C) 2019 TUGRAZ.
|
||||
* Copyright (C) 2020 TUGRAZ.
|
||||
* Copyright (C) 2020 mojib wali.
|
||||
*
|
||||
* 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 details.
|
||||
@@ -9,3 +10,4 @@
|
||||
@import "../invenio_app_rdm/theme";
|
||||
@import "header";
|
||||
@import "footer";
|
||||
@import "overrides";
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (C) 2019 TUGRAZ.
|
||||
* Copyright (C) 2020 TUGRAZ.
|
||||
* Copyright (C) 2020 mojib wali.
|
||||
*
|
||||
* 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 details.
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
|
||||
"""invenio module for TUGRAZ theme."""
|
||||
|
||||
from flask_babelex import gettext as _
|
||||
|
||||
# TODO: This is an example file. Remove it if your package does not use any
|
||||
# extra configuration variables.
|
||||
|
||||
@@ -36,6 +38,9 @@ THEME_FRONTPAGE_TEMPLATE = 'invenio_theme_tugraz/frontpage.html'
|
||||
# Login page
|
||||
SECURITY_LOGIN_USER_TEMPLATE = 'invenio_theme_tugraz/accounts/login.html'
|
||||
|
||||
# footer template
|
||||
THEME_FOOTER_TEMPLATE = 'invenio_theme_tugraz/footer.html'
|
||||
|
||||
# uncomment this to use the login with Tugraz @ login.html
|
||||
SHIBBOLETH_ISACTIVE = 'False'
|
||||
|
||||
@@ -50,3 +55,12 @@ MAIL_SERVER = '129.27.11.182'
|
||||
SECURITY_EMAIL_SENDER = 'info@invenio-rdm.tugraz.at'
|
||||
SECURITY_EMAIL_SUBJECT_REGISTER = 'Welcome to RDM!'
|
||||
MAIL_SUPPRESS_SEND = False
|
||||
|
||||
# Invenio-I18N
|
||||
# ============
|
||||
# See https://invenio-i18n.readthedocs.io/en/latest/configuration.html
|
||||
# Other supported languages (do not include BABEL_DEFAULT_LOCALE in list).
|
||||
I18N_LANGUAGES = [
|
||||
('de', _('German'))
|
||||
]
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{#
|
||||
Copyright (C) 2020 TUGRAZ
|
||||
Copyright (C) 2020 mojib wali.
|
||||
|
||||
invenio-theme-tugraz is free software; you can redistribute it and/or
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{#
|
||||
Copyright (C) 2020 TUGRAZ
|
||||
Copyright (C) 2020 mojib wali.
|
||||
|
||||
invenio-theme-tugraz is free software; you can redistribute it and/or
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
{#
|
||||
Copyright (C) 2020 TUGRAZ
|
||||
Copyright (C) 2020 mojib wali.
|
||||
|
||||
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
|
||||
details.
|
||||
#}
|
||||
|
||||
<footer id="footer" class="footer-bottom">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-xs-6 col-xs-push-6 text-right">
|
||||
<!--
|
||||
{%- if config.I18N_LANGUAGES %}
|
||||
{% from "invenio_i18n/macros/language_selector.html" import language_selector_dropdown %}
|
||||
{{ language_selector_dropdown() }}
|
||||
{%- endif %}
|
||||
-->
|
||||
</div>
|
||||
<div class="col-xs-6 col-xs-pull-6">
|
||||
{% trans invenio_rdm="http://inveniosoftware.org/products/rdm" %}Powered by <a href="{{invenio_rdm}}">InvenioRDM</a>{% endtrans %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
@@ -1,4 +1,5 @@
|
||||
{#
|
||||
Copyright (C) 2020 TUGRAZ
|
||||
Copyright (C) 2020 mojib wali.
|
||||
|
||||
invenio-theme-tugraz is free software; you can redistribute it and/or
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{#
|
||||
Copyright (C) 2020 TUGRAZ
|
||||
Copyright (C) 2020 mojib wali.
|
||||
|
||||
invenio-theme-tugraz is free software; you can redistribute it and/or
|
||||
@@ -117,6 +118,7 @@
|
||||
|
||||
<div class="short-menu-left">
|
||||
|
||||
|
||||
<div id="all-menu-top-left-item">
|
||||
<div class="short-menu-left-lang">
|
||||
<!-- TODO language change not necessary because we have no english version -->
|
||||
@@ -124,7 +126,17 @@
|
||||
</div>
|
||||
|
||||
<div class="short-menu-left-search">
|
||||
|
||||
{%- if config.I18N_LANGUAGES %}
|
||||
<span style="margin-right:10px; font-size:18px;">
|
||||
{%- for l in current_i18n.get_locales() %}
|
||||
{%- if current_i18n.language != l.language %}
|
||||
<a href="{{ url_for('invenio_i18n.set_lang', lang_code=l.language) }}">{{ l.get_display_name() [0:2]}}</a>
|
||||
{% else %}
|
||||
<strong>{{ l.get_display_name() [0:2] }}</strong>
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
</span>
|
||||
{%- endif %}
|
||||
<a href="/search">
|
||||
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg"
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{#
|
||||
Copyright (C) 2020 TUGRAZ
|
||||
Copyright (C) 2020 mojib wali.
|
||||
|
||||
invenio-theme-tugraz is free software; you can redistribute it and/or
|
||||
@@ -6,6 +7,7 @@
|
||||
details.
|
||||
#}
|
||||
|
||||
|
||||
{%- extends config.THEME_HEADER_TEMPLATE %}
|
||||
|
||||
{#- Remove search field from top bar on frontpage #}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{#
|
||||
Copyright (C) 2020 TUGRAZ
|
||||
Copyright (C) 2020 mojib wali.
|
||||
|
||||
invenio-theme-tugraz is free software; you can redistribute it and/or
|
||||
|
||||
Reference in New Issue
Block a user