mirror of
https://github.com/Cian-H/invenio-theme-iform.git
synced 2026-01-06 19:11:57 +00:00
footer template
Custom footer design.
This commit is contained in:
@@ -33,4 +33,5 @@ recursive-include invenio_theme_tugraz *.scss
|
||||
recursive-include invenio_theme_tugraz *.svg
|
||||
recursive-include invenio_theme_tugraz *.less
|
||||
recursive-include invenio_theme_tugraz *.ico
|
||||
recursive-include tests *.py
|
||||
recursive-include tests *.py
|
||||
recursive-include invenio_theme_tugraz *.jpg
|
||||
@@ -7,23 +7,38 @@
|
||||
*/
|
||||
|
||||
#footer {
|
||||
color: #fff;
|
||||
color: #5E5E5E;
|
||||
|
||||
&.footer-bottom {
|
||||
background-color: #E4154B;
|
||||
padding-top: 15px;
|
||||
padding-bottom: 15px;
|
||||
font-weight: 300;
|
||||
font-size: 14px;
|
||||
/*background-image: url("/static/images/footer.jpg");*/
|
||||
-webkit-background-size: 100% 100%;
|
||||
-moz-background-size: 100% 100%;
|
||||
-o-background-size: 100% 100%;
|
||||
background-size: 100% 100%;
|
||||
min-height: 100%;
|
||||
/* the following 2 lines are a hack for IE6 */
|
||||
height: auto !important;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background-attachment: fixed;
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: #ffffffd6;
|
||||
font-weight: 600;
|
||||
&.footer-bottom {
|
||||
background-color: #fff;
|
||||
padding-top: 15px;
|
||||
padding-bottom: 15px;
|
||||
font-size: 16px;
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: #5E5E5E;
|
||||
|
||||
&:hover, &:focus {
|
||||
color: #ffffff;
|
||||
background-color: #000000;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:hover, &:focus {
|
||||
color: #ffffff;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.bodytext{
|
||||
font-size: 16px;
|
||||
}
|
||||
@@ -57,3 +57,7 @@ search.button
|
||||
.ui.search.button{
|
||||
background-color:#e4154b;
|
||||
}
|
||||
|
||||
.ui.search.button:hover{
|
||||
background-color:#000000;
|
||||
}
|
||||
|
||||
@@ -18,10 +18,6 @@ class inveniothemetugraz(object):
|
||||
|
||||
def __init__(self, app=None):
|
||||
"""Extension initialization."""
|
||||
# TODO: This is an example of translation string with comment. Please
|
||||
# remove it.
|
||||
# NOTE: This is a note to a translator.
|
||||
_('A translation string')
|
||||
if app:
|
||||
self.init_app(app)
|
||||
|
||||
@@ -32,12 +28,6 @@ class inveniothemetugraz(object):
|
||||
|
||||
def init_config(self, app):
|
||||
"""Initialize configuration."""
|
||||
# Use theme's base template if theme is installed
|
||||
if 'BASE_TEMPLATE' in app.config:
|
||||
app.config.setdefault(
|
||||
'INVENIO_THEME_TUGRAZ_BASE_TEMPLATE',
|
||||
app.config['BASE_TEMPLATE'],
|
||||
)
|
||||
for k in dir(config):
|
||||
if k.startswith('INVENIO_THEME_TUGRAZ_'):
|
||||
app.config.setdefault(k, getattr(config, k))
|
||||
|
||||
BIN
invenio_theme_tugraz/static/images/TU_Austria_Logo.png
Normal file
BIN
invenio_theme_tugraz/static/images/TU_Austria_Logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.1 KiB |
BIN
invenio_theme_tugraz/static/images/footer.jpg
Normal file
BIN
invenio_theme_tugraz/static/images/footer.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 220 KiB |
@@ -16,19 +16,102 @@
|
||||
{{ webpack['invenio-theme-tugraz-js.js'] }}
|
||||
{%- endblock javascript %}
|
||||
|
||||
<div id="margin-divider" class="ui divider">
|
||||
</div>
|
||||
|
||||
<footer id="footer" class="footer-bottom">
|
||||
<div class="ui grid container">
|
||||
<div class="eight wide column left aligned">
|
||||
{% trans invenio_rdm="http://inveniosoftware.org/products/rdm" %}Powered by <a
|
||||
href="{{invenio_rdm}}">InvenioRDM</a>{% endtrans %}
|
||||
|
||||
<div class="ui container">
|
||||
|
||||
<div class="ui grid">
|
||||
<div class="doubling four column row">
|
||||
|
||||
|
||||
<div class="column">
|
||||
|
||||
<h2>repository.tugraz.at</h2>
|
||||
<p class="bodytext">
|
||||
<a href="{{ url_for('invenio_rdm_records.coming_soon') }}">
|
||||
Impressum<i class="angle right icon"></i>
|
||||
</a>
|
||||
<br>
|
||||
<a href="{{ url_for('invenio_rdm_records.coming_soon') }}">
|
||||
Datenschutzerklärung<i class="angle right icon"></i>
|
||||
</a>
|
||||
<br>
|
||||
<a href="{{ url_for('invenio_rdm_records.coming_soon') }}">
|
||||
Feedback<i class="angle right icon"></i>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="column">
|
||||
|
||||
<h2>Repository</h2>
|
||||
|
||||
<p class="bodytext">
|
||||
Graz University of Technology<br>
|
||||
Rechbauerstraße 12<br>
|
||||
8010 GRAZ<br>
|
||||
AUSTRIA<br>
|
||||
Phone: +43 316 873 0<br>
|
||||
Fax: +43 316 873 6009<br>
|
||||
E-Mail: <a href="javascript:linkTo_UnCryptMailto('ocknvq,kphqBvwitcb0cv');" class="int-link-mail">
|
||||
info<span style="display: none;">
|
||||
noSpam</span>@tugraz.at <i class="envelope outline icon"></i></a><br>
|
||||
<a href="https://www.tugraz.at/en/home/" class="int-link-internal">
|
||||
www.tugraz.at</a><br>
|
||||
<a href="https://tu4u.tugraz.at/campusplan/">Campus map <i class="external alternate icon"></i></a><br>
|
||||
Opening hours: 6 am – 8 pm
|
||||
</p>
|
||||
|
||||
<img height="30" width="167" txdam="31701"
|
||||
src="{{ url_for('static', filename='images/TU_Austria_Logo.png')}}">
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="column">
|
||||
|
||||
<h2>Features</h2>
|
||||
|
||||
<h4>Scalability</h4>
|
||||
|
||||
<h4>Institutional integration</h4>
|
||||
|
||||
<h4>Next Generation Repository
|
||||
</h4>
|
||||
|
||||
<h4>Repository Profiles</h4>
|
||||
|
||||
<h4>Resilient</h4>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="column">
|
||||
|
||||
<h2>Connected Services</h2>
|
||||
<p class="bodytext">
|
||||
|
||||
<a href="https://pure.tugraz.at" title="PURE">
|
||||
PURE <i class="external alternate icon"></i></a><br>
|
||||
|
||||
<a href="http://campusonline.tugraz.at" title="CAMPUS online">
|
||||
CampusOnline <i class="external alternate icon"></i></a><br>
|
||||
</p>
|
||||
|
||||
<h2>Barrierefreiheit</h2>
|
||||
<p class="bodytext">Tipp:<br> Use Ctrl + and Crtl -<br> to change the font size.</p>
|
||||
|
||||
</div>
|
||||
<div class="eight wide column right aligned">
|
||||
<!--
|
||||
{%- if config.I18N_LANGUAGES %}
|
||||
{% from "invenio_i18n/macros/language_selector.html" import language_selector_dropdown %}
|
||||
{{ language_selector_dropdown() }}
|
||||
{%- endif %}
|
||||
-->
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</footer>
|
||||
|
||||
@@ -10,3 +10,4 @@
|
||||
pep8ignore = docs/conf.py ALL
|
||||
addopts = --pep8 --doctest-glob="*.rst" --doctest-modules --cov=invenio_theme_tugraz --cov-report=term-missing
|
||||
testpaths = docs tests invenio_theme_tugraz
|
||||
filterwarnings = ignore::pytest.PytestDeprecationWarning
|
||||
@@ -8,7 +8,7 @@
|
||||
# details.
|
||||
|
||||
pydocstyle invenio_theme_tugraz tests docs && \
|
||||
isort --check-only --diff && \
|
||||
isort invenio_theme_tugraz tests --check-only --diff && \
|
||||
check-manifest --ignore ".travis-*" && \
|
||||
sphinx-build -qnNW docs docs/_build/html && \
|
||||
python setup.py test
|
||||
pytest
|
||||
|
||||
Reference in New Issue
Block a user