Skip to content

Commit

Permalink
Neaten up Right Side Settings Panel
Browse files Browse the repository at this point in the history
Remove links to other musicbox's until ability to configure their IP's
in settings.
  • Loading branch information
southafricanrob committed Mar 17, 2015
1 parent 0f4be1b commit c11d252
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
2 changes: 2 additions & 0 deletions mopidy_musicbox_webclient/static/css/jquery.mobile.flatui.css
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,8 @@ input.ui-input-text.ui-slider-input {
border: 2px solid #eee !important;
}

#theme .ui-btn.ui-submit {display: inline-block; width: 45%}
#theme-choose {color:white;margin-left:25%}
/* corner rounding classes
-----------------------------------------------------------------------------------------------------------*/

Expand Down
19 changes: 10 additions & 9 deletions mopidy_musicbox_webclient/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,10 @@
<!------------ right hand settings panel ------------>
<div data-role="panel" id="panel2" data-position="right" data-theme="a" data-display="overlay" data-position-fixed="true" data-swipe-close="true" data-swipe-open="true">
<ul class="ui-listview mainNav" data-role="listview" data-theme="a">
<!--
<h1 id="" >Players</h1>
<!-- These hrefs should be set in settings -->
<!--<a href="#" data-rel="close" class="ui-icon ui-icon-delete ui-icon-shadow" >close</a>-->
<li id="upstairs" data-icon="false">
<a href="http://192.168.1.3">
<span class="navtxt">Upstairs </span><i class="fa fa-music"></i></a>
Expand All @@ -218,7 +217,8 @@ <h1 id="" >Players</h1>
<span class="navtxt">Deck </span><i class="fa fa-music"></i></a>
</li>
<h1 id="" >&nbsp;</h1>
-->
<h1 id="" >&nbsp;</h1>

<li id="navSettings" data-icon="false">
<a href="/settings" onclick="toast('Loading...', 2000);">
Expand All @@ -235,18 +235,19 @@ <h1 id="" >&nbsp;</h1>

</ul>
<br>
<a href="#" data-role="button" data-rel="close" id="" data-transition="slidedown" data-theme="b">Close</a>
<br>
<br>
<br>
<br>


<form>
<input type="submit" onclick="switch_style('dark');return false;" name="theme" value="Dark Theme" id="dark">
<input type="submit" onclick="switch_style('light');return false;" name="theme" value="Light Theme" id="light">
</form>
<h4 id="theme-choose">Choose Theme</h4>
<form id="theme">
<input type="submit" onclick="switch_style('dark');return false;" name="theme" value="Dark" id="dark">
<input type="submit" onclick="switch_style('light');return false;" name="theme" value="Light" id="light">
</form>

<a href="#" data-role="button" data-rel="close" id="" data-transition="slidedown" data-theme="b">Close</a>

</div>
<!------------ /right hand settings panel ------------>

Expand Down

0 comments on commit c11d252

Please sign in to comment.