Commit 91106c40 authored by Curtis Adam's avatar Curtis Adam

Add a description text for tablets and smartphones

parent 1bcb912e
......@@ -208,7 +208,9 @@
"noCollege": "ohne Hochschule",
"noCourse": "ohne Studiengang",
"noModuleLong": "ohne Modul",
"noModuleShort": "ohne"
"noModuleShort": "ohne",
"filter-info-small": "Beschreibung für tablets",
"filter-info-extra-small": "Beschreibung für smartphones"
},
"set-list-empty": {
"emptytextlist": "Du hast noch keine Kartei erstellt. Informiere dich unter \"Hilfe\", was du mit einer eigenen Kartei tun
......
......@@ -217,7 +217,9 @@
"noCollege": "No college",
"noCourse": "No course",
"noModuleLong": "No module",
"noModuleShort": "None"
"noModuleShort": "None",
"filter-info-small": "",
"filter-info-extra-small": ""
},
"set-list-empty": {
"emptytextlist": "You have not created any deck of cards yet",
......
......@@ -11,11 +11,14 @@
</div>
<br>
{{/if}}
<nav class="navbar navbar-default {{#if isActiveRoute 'pool'}}{{#unless selectingCardsetToLearn}}pool-filter-margin{{/unless}}{{/if}}">
<nav class="navbar navbar-default {{#if isActiveRoute 'pool'}}{{#unless
selectingCardsetToLearn}}pool-filter-margin{{/unless}}{{/if}}">
<div class="container-fluid" id="filter-nav-wrapper">
<div class="navbar-header">
<button class="resetFilters btn btn-raised btn-danger hidden-lg" id="resetBtnMobile"
<button class="resetFilters btn btn-raised btn-danger hidden-lg float-left" id="resetBtnMobile"
role="button"><i class="glyphicon glyphicon-filter"></i> {{_ "set-list.reset"}} </button>
<p class="navbar-text visible-sm-inline-block">{{_ "set-list.filter-info-small"}}</p>
<p class="navbar-text visible-xs-inline-block">{{_ "set-list.filter-info-extra-small"}}</p>
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
data-target="#filter-nav"
aria-expanded="false">
......@@ -37,9 +40,9 @@
aria-haspopup="true" aria-expanded="false" id="topicBtn" value="down">
{{#if isActiveRoute regex='course'}}
{{_ "courseIteration.list.courseIteration"}}
{{else}}
{{else}}
{{_ "set-list.topic"}}
{{/if}}
{{/if}}
<span class="glyphicon glyphicon-sort"></span>
</a>
......@@ -186,7 +189,8 @@
</a>
<ul class="dropdown-menu">
<li>
<a href="#" class="filterLearnphase active" data-id="reset">{{_ "set-list.everything"}}</a>
<a href="#" class="filterLearnphase active" data-id="reset">{{_
"set-list.everything"}}</a>
</li>
<li><a href="#" class="filterLearnphase" data-id="true">
{{_ "set-list.activeLearnphase"}}
......
......@@ -105,6 +105,18 @@
}
}
@media (max-width: 991px) {
.navbar-toggle.collapsed {
margin-top: 15px;
}
#resetBtnMobile {
float: left;
}
.visible-xs-inline-block {
padding-left: 10px;
}
}
@media (min-width: 768px) {
#filterCheckbox {
padding-bottom: 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment