Browse Source

Updated the Room page. Changed the bug icon to a flag. I also place a vote count NEXT to the skip button so users can easily see the amount of votes.

Wesley McCann 9 years ago
parent
commit
592265e4f5
2 changed files with 9 additions and 2 deletions
  1. 4 0
      app/client/stylesheets/app.css
  2. 5 2
      app/client/templates/room.html

+ 4 - 0
app/client/stylesheets/app.css

@@ -317,3 +317,7 @@ hr{
         line-height: 1.8em;
     }
 }
+
+.vote_count {
+  vertical-align: middle;
+}

+ 5 - 2
app/client/templates/room.html

@@ -7,8 +7,11 @@
                         <li><a href="/"><i class="material-icons">home</i></a></li>
                         <li><a href="#add_song_modal" id="add-song-modal-button"><i
                                 class="material-icons">playlist_add</i></a></li>
-                        <li><a href="#bug_report_modal"><i class="material-icons">bug_report</i></a></li>
-                        <li><a href="#" id="vote-skip"><i class="material-icons">skip_next</i> <span class="new badge">{{votes}}</span></a></li>
+                        <li><a href="#bug_report_modal"><i class="material-icons">flag</i></a></li>
+                        <li><a href="#"><i class="material-icons left">skip_next</i>{{votes}}</a></li>
+                        {{#if isAdmin}}
+                          <li><a href="#"><i class="material-icons">shuffle</i></a></li>
+                        {{/if}}
                     </ul>
                     <span class="brand-logo center">{{type}}</span>
                     <ul class="right hide-on-med-and-down">