瀏覽代碼

Add report button to the bottom, so other buttons don't shift position per song

theflametrooper 8 年之前
父節點
當前提交
737fed3cac
共有 1 個文件被更改,包括 7 次插入6 次删除
  1. 7 6
      frontend/components/Station/OfficialHeader.vue

+ 7 - 6
frontend/components/Station/OfficialHeader.vue

@@ -97,12 +97,6 @@
 					<span class="skip-votes">{{$parent.currentSong.skipVotes}}</span>
 					<span class="icon-purpose">Skip current song</span>
 				</a>
-				<a v-if='$parent.$parent.loggedIn && !$parent.noSong && !$parent.simpleSong' class="sidebar-item" href='#' @click='$parent.modals.report = !$parent.modals.report'>
-					<span class='icon'>
-						<i class='material-icons'>report</i>
-					</span>
-					<span class="icon-purpose">Report a song</span>
-				</a>
 				<a v-if='$parent.$parent.loggedIn && !$parent.noSong' class="sidebar-item" href='#' @click='$parent.modals.addSongToPlaylist = true'>
 					<span class='icon'>
 						<i class='material-icons'>playlist_add</i>
@@ -123,6 +117,13 @@
 				</span>
 				<span class="icon-purpose">Display users in the station</span>
 			</a>
+			<hr>
+			<a v-if='$parent.$parent.loggedIn && !$parent.noSong && !$parent.simpleSong' class="sidebar-item" href='#' @click='$parent.modals.report = !$parent.modals.report'>
+				<span class='icon'>
+					<i class='material-icons'>report</i>
+				</span>
+				<span class="icon-purpose">Report a song</span>
+			</a>
 		</div>
 	</div>
 </template>