Remove profile from footer, already in header
This commit is contained in:
parent
061ca795f3
commit
a5c6e338b6
3 changed files with 1 additions and 9 deletions
|
|
@ -52,6 +52,7 @@ footer {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
#stats li {
|
#stats li {
|
||||||
margin: 0 1rem;
|
margin: 0 1rem;
|
||||||
|
|
|
||||||
|
|
@ -201,10 +201,6 @@
|
||||||
<footer>
|
<footer>
|
||||||
<div class="flexrow">
|
<div class="flexrow">
|
||||||
<ul id="stats">
|
<ul id="stats">
|
||||||
<li>
|
|
||||||
<div class="text-muted small hidden-sm-down">Profile</div>
|
|
||||||
<p class="stats-label" id="stat-profile">Profile</p>
|
|
||||||
</li>
|
|
||||||
<li>
|
<li>
|
||||||
<div class="text-muted small hidden-sm-down">Distance</div>
|
<div class="text-muted small hidden-sm-down">Distance</div>
|
||||||
<p class="stats-label" id="distance">0 <abbr title="kilometer">km</abbr></p>
|
<p class="stats-label" id="distance">0 <abbr title="kilometer">km</abbr></p>
|
||||||
|
|
|
||||||
|
|
@ -18,11 +18,6 @@ BR.RoutingOptions = BR.Control.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
refreshUI: function() {
|
refreshUI: function() {
|
||||||
var profile = $('#profile option:selected'),
|
|
||||||
alternative = $('#alternative option:selected');
|
|
||||||
|
|
||||||
$('#stat-profile').html(profile.text() + ' (' + alternative.text() +')');
|
|
||||||
|
|
||||||
// we do not allow to select more than one profile and/or alternative at a time
|
// we do not allow to select more than one profile and/or alternative at a time
|
||||||
// so we disable the current selected items
|
// so we disable the current selected items
|
||||||
$('#profile-alternative').find('option:disabled').each(function(index) {
|
$('#profile-alternative').find('option:disabled').each(function(index) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue