-
-
-
-
-
Please enter your name
-
-
-
+
+
+
+
+
+ {{ state.last_msg }}
+
-
+
diff --git a/src/assets/main.css b/src/assets/main.css
index 0bc8dc3..0781968 100644
--- a/src/assets/main.css
+++ b/src/assets/main.css
@@ -9,15 +9,6 @@ li {
max-width: 100% !important;
}
-body {
- height:100vh;
-}
-
-.page {
- height: 100%;
- position: relative;
-}
-
.header {
background-color: #008000;
font-weight: bold;
@@ -30,11 +21,6 @@ body {
margin-bottom: .5rem;
}
-.splitter {
- display: flex;
- height: 100%;
-}
-
.comp-column {
max-height: 100vh;
flex:1;
@@ -42,29 +28,6 @@ body {
flex-direction: column;
}
-#left-side {
- margin: 0.2em 0.1em 0.2em 0.2em;
-}
-#middle {
- margin: 0.2em 0.1em 0.1em 0.2em;
-}
-#right-side {
- margin: 0.2em 0.2em 0.1em 0.2em;
-}
-
-
-#main-content {
- height: calc(100vh - 50px);
- max-height: 100vh;
- max-width: 100vw;
-}
-
-.tabs-container {
- flex: 1;
- position: relative;
- overflow: auto;
-}
-
.tabs-panel {
height: 100%;
}
@@ -80,10 +43,6 @@ body {
overflow-y: auto;
}
-#recent {
- flex-direction: column-reverse;
-}
-
.performer, .album {
font-size: smaller;
font-style: italic;
@@ -93,10 +52,6 @@ body {
font-weight: bold;
}
-.input-group {
- margin-bottom: 0;
-}
-
.menu li {
padding:0.4em;
}
@@ -105,13 +60,6 @@ body {
padding: 0;
}
-
-#search-results div {
- vertical-align: middle;
- height: 100%
-}
-
-
.tabs-panel {
padding: 0;
}
@@ -124,33 +72,13 @@ body {
background-color: #f6f6f6;
}
-.current {
- background-color: #008000 !important;
-}
.button, button:focus {
background-color: #008000;
}
-
-
-
-.current::before, #large-current::before{
- content: "Now Playing";
- text-align: center;
- font-weight: bold;
-}
-
-.eta {
- float: right;
-}
-
-.eta::before {
- content: "in ";
-}
-
-.eta::after {
- content: " min";
+#recent .eta {
+ display: none;
}
.artist::after{
@@ -161,19 +89,6 @@ body {
background-color: #3b3b3b;
}
-body {
- background: url(syng.png) fixed;
- background-color: #8a8a8a;
- background-size: auto 50%;
- background-repeat: no-repeat;
- background-position: center;
-}
-
-.warning {
- padding: 10px;
- background-color: #a53b2a;
-}
-
.tabs {
border: none;
}
@@ -210,11 +125,3 @@ div.tabs .tabs-title {
margin-bottom: 0.1em;
background-color: #3b3b3b;
}
-
-.bulk-upload-label {
- margin-bottom: 0px;
-}
-
-.button-group .button {
- /* margin-left: 0.5em; */
-}
diff --git a/src/components/DesktopLayout.vue b/src/components/DesktopLayout.vue
index 0bc382c..c0e60fc 100644
--- a/src/components/DesktopLayout.vue
+++ b/src/components/DesktopLayout.vue
@@ -4,14 +4,26 @@ import QueueDesktop from './QueueDesktop.vue'
import RecentDesktop from './RecentDesktop.vue'
const props = defineProps(['state']);
-const emit = defineEmits(['update:searchTerm', 'search', 'append'])
+const emit = defineEmits(['update:searchTerm', 'search', 'append', 'skip', 'skipCurrent', 'moveUp'])
- $emit('update:searchTerm', val)" @search="$emit('search')" @append="(entry) => $emit('append', entry)" />
-
+ $emit('update:searchTerm', val)" @search="$emit('search')" @append="(entry) => $emit('append', entry)" />
+ $emit('skip', uuid)"
+ @moveUp="(uuid) => $emit('moveUp', uuid)"
+ @skipCurrent="$emit('skipCurrent')"
+ />
+
diff --git a/src/components/Entry.vue b/src/components/Entry.vue
index 171f296..13d755a 100644
--- a/src/components/Entry.vue
+++ b/src/components/Entry.vue
@@ -1,7 +1,29 @@
-
@@ -11,16 +33,41 @@ export default {
{{ entry.artist }}
{{ entry.title }}
{{ entry.performer }}
+ {{ eta }}