Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
front
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
funkwhale
front
Commits
cf72d8a5
Commit
cf72d8a5
authored
Jun 15, 2017
by
Agate
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed
#14
: added hint that radio is playing in queue
parent
d1203627
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
src/components/Sidebar.vue
src/components/Sidebar.vue
+12
-0
src/components/audio/Player.vue
src/components/audio/Player.vue
+0
-1
No files found.
src/components/Sidebar.vue
View file @
cf72d8a5
...
...
@@ -74,6 +74,16 @@
</tr>
</tbody>
</table>
<div
v-if=
"radios.running"
class=
"ui black message"
>
<div
class=
"content"
>
<div
class=
"header"
>
<i
class=
"feed icon"
></i>
You have a radio playing
</div>
<p>
New tracks will be appended here automatically.
</p>
<div
@
click=
"radios.stop()"
class=
"ui basic inverted red button"
>
Stop radio
</div>
</div>
</div>
</div>
</div>
<div
class=
"ui inverted segment player-wrapper"
>
...
...
@@ -90,6 +100,7 @@ import SearchBar from '@/components/audio/SearchBar'
import
auth
from
'
@/auth
'
import
queue
from
'
@/audio/queue
'
import
backend
from
'
@/audio/backend
'
import
radios
from
'
@/radios
'
import
$
from
'
jquery
'
...
...
@@ -105,6 +116,7 @@ export default {
auth
:
auth
,
backend
:
backend
,
queue
:
queue
,
radios
,
favoriteTracks
}
},
...
...
src/components/audio/Player.vue
View file @
cf72d8a5
...
...
@@ -30,7 +30,6 @@
</div>
<div
class=
" actions eight wide column"
>
<track-favorite-icon
v-if=
"queue.currentTrack"
:track=
"queue.currentTrack"
></track-favorite-icon>
<i
@
click=
"radios.stop()"
title=
"You have a radio playing"
v-if=
"radios.running"
class=
"ui blue inverted feed icon"
></i>
</div>
<div
class=
"right floated four wide column"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment