modification

added missing css
* autofocus to search input
* changed the name to Repository
This commit is contained in:
mb-wali
2020-07-24 12:02:31 +02:00
committed by GitHub
6 changed files with 15 additions and 6 deletions

View File

@@ -10,7 +10,7 @@
width: 18px;
height: 18px;
vertical-align: top;
fill: red;
fill: #e4154b;
}
/*****logo section******/

View File

@@ -49,3 +49,11 @@ forcing the font changes
body {
font-family: "Source Sans Pro";
}
/***
search.button
**/
.ui.search.button{
background-color:#e4154b;
}

View File

@@ -6,6 +6,7 @@
* under the terms of the MIT License; see LICENSE file for more details.
*/
@import "variables";
@import "header";
@import "footer";
@import "overrides";

View File

@@ -43,7 +43,7 @@ THEME_HEADER_LOGIN_TEMPLATE = 'invenio_theme_tugraz/accounts/header_login.html'
THEME_FOOTER_TEMPLATE = 'invenio_theme_tugraz/footer.html'
"""footer template"""
THEME_FRONTPAGE_TITLE = _('Frontpage Title')
THEME_FRONTPAGE_TITLE = _('TU Graz Repository')
"""Frontpage title."""
THEME_SITENAME = _('Repository')

View File

@@ -46,13 +46,13 @@
</div>
</div>
<div class="short-menu-right">
{# <div class="short-menu-right-h"> onclick="toggleVisibility('heading');"> #}
{%- block navbar_right %}
{%- include config.THEME_HEADER_LOGIN_TEMPLATE %}
{%- endblock navbar_right %}
</div>
</div>
</div>
<!----END MENU------------------------------------------------------------->
@@ -62,7 +62,7 @@
<div class="affiliation-text">
<a title="RDM" href="{{url_for('invenio_theme_tugraz.index')}}">
TU Graz
<br>{{_ ("Research Data Management")}}
<br>{{_ ("Repository")}}
</a>
</div>

View File

@@ -22,7 +22,7 @@
<div class="eight wide column">
<form action="/search" class="ui form">
<div class="ui fluid big action input">
<input type="text" name="q" class="form-control" placeholder="{{ _("Type and press enter to search") }}">
<input type="text" name="q" autofocus="autofocus" class="form-control" placeholder="{{ _("Type and press enter to search") }}">
<button type="submit" class="ui icon search button"><i class="search icon"></i></button>
</div>
</form>