mirror of
https://github.com/Cian-H/invenio-theme-iform.git
synced 2026-08-17 17:02:53 +01:00
footer template
Custom footer design.
This commit is contained in:
+2
-1
@@ -33,4 +33,5 @@ recursive-include invenio_theme_tugraz *.scss
|
|||||||
recursive-include invenio_theme_tugraz *.svg
|
recursive-include invenio_theme_tugraz *.svg
|
||||||
recursive-include invenio_theme_tugraz *.less
|
recursive-include invenio_theme_tugraz *.less
|
||||||
recursive-include invenio_theme_tugraz *.ico
|
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 {
|
#footer {
|
||||||
color: #fff;
|
color: #5E5E5E;
|
||||||
|
|
||||||
&.footer-bottom {
|
/*background-image: url("/static/images/footer.jpg");*/
|
||||||
background-color: #E4154B;
|
-webkit-background-size: 100% 100%;
|
||||||
padding-top: 15px;
|
-moz-background-size: 100% 100%;
|
||||||
padding-bottom: 15px;
|
-o-background-size: 100% 100%;
|
||||||
font-weight: 300;
|
background-size: 100% 100%;
|
||||||
font-size: 14px;
|
min-height: 100%;
|
||||||
|
/* the following 2 lines are a hack for IE6 */
|
||||||
|
height: auto !important;
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
background-attachment: fixed;
|
||||||
|
|
||||||
a {
|
&.footer-bottom {
|
||||||
text-decoration: none;
|
background-color: #fff;
|
||||||
color: #ffffffd6;
|
padding-top: 15px;
|
||||||
font-weight: 600;
|
padding-bottom: 15px;
|
||||||
|
font-size: 16px;
|
||||||
|
|
||||||
|
a {
|
||||||
|
text-decoration: none;
|
||||||
|
color: #5E5E5E;
|
||||||
|
|
||||||
|
&:hover, &:focus {
|
||||||
|
color: #ffffff;
|
||||||
|
background-color: #000000;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&:hover, &:focus {
|
.bodytext{
|
||||||
color: #ffffff;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -57,3 +57,7 @@ search.button
|
|||||||
.ui.search.button{
|
.ui.search.button{
|
||||||
background-color:#e4154b;
|
background-color:#e4154b;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ui.search.button:hover{
|
||||||
|
background-color:#000000;
|
||||||
|
}
|
||||||
|
|||||||
@@ -18,10 +18,6 @@ class inveniothemetugraz(object):
|
|||||||
|
|
||||||
def __init__(self, app=None):
|
def __init__(self, app=None):
|
||||||
"""Extension initialization."""
|
"""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:
|
if app:
|
||||||
self.init_app(app)
|
self.init_app(app)
|
||||||
|
|
||||||
@@ -32,12 +28,6 @@ class inveniothemetugraz(object):
|
|||||||
|
|
||||||
def init_config(self, app):
|
def init_config(self, app):
|
||||||
"""Initialize configuration."""
|
"""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):
|
for k in dir(config):
|
||||||
if k.startswith('INVENIO_THEME_TUGRAZ_'):
|
if k.startswith('INVENIO_THEME_TUGRAZ_'):
|
||||||
app.config.setdefault(k, getattr(config, k))
|
app.config.setdefault(k, getattr(config, k))
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 4.1 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 220 KiB |
@@ -16,19 +16,102 @@
|
|||||||
{{ webpack['invenio-theme-tugraz-js.js'] }}
|
{{ webpack['invenio-theme-tugraz-js.js'] }}
|
||||||
{%- endblock javascript %}
|
{%- endblock javascript %}
|
||||||
|
|
||||||
|
<div id="margin-divider" class="ui divider">
|
||||||
|
</div>
|
||||||
|
|
||||||
<footer id="footer" class="footer-bottom">
|
<footer id="footer" class="footer-bottom">
|
||||||
<div class="ui grid container">
|
|
||||||
<div class="eight wide column left aligned">
|
<div class="ui container">
|
||||||
{% trans invenio_rdm="http://inveniosoftware.org/products/rdm" %}Powered by <a
|
|
||||||
href="{{invenio_rdm}}">InvenioRDM</a>{% endtrans %}
|
<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>
|
||||||
<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>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</footer>
|
</footer>
|
||||||
|
|||||||
@@ -10,3 +10,4 @@
|
|||||||
pep8ignore = docs/conf.py ALL
|
pep8ignore = docs/conf.py ALL
|
||||||
addopts = --pep8 --doctest-glob="*.rst" --doctest-modules --cov=invenio_theme_tugraz --cov-report=term-missing
|
addopts = --pep8 --doctest-glob="*.rst" --doctest-modules --cov=invenio_theme_tugraz --cov-report=term-missing
|
||||||
testpaths = docs tests invenio_theme_tugraz
|
testpaths = docs tests invenio_theme_tugraz
|
||||||
|
filterwarnings = ignore::pytest.PytestDeprecationWarning
|
||||||
+2
-2
@@ -8,7 +8,7 @@
|
|||||||
# details.
|
# details.
|
||||||
|
|
||||||
pydocstyle invenio_theme_tugraz tests docs && \
|
pydocstyle invenio_theme_tugraz tests docs && \
|
||||||
isort --check-only --diff && \
|
isort invenio_theme_tugraz tests --check-only --diff && \
|
||||||
check-manifest --ignore ".travis-*" && \
|
check-manifest --ignore ".travis-*" && \
|
||||||
sphinx-build -qnNW docs docs/_build/html && \
|
sphinx-build -qnNW docs docs/_build/html && \
|
||||||
python setup.py test
|
pytest
|
||||||
|
|||||||
Reference in New Issue
Block a user