mirror of
https://github.com/danbee/mpd-client
synced 2025-03-04 08:39:09 +00:00
Add library view and controller.
This commit is contained in:
parent
2d914794c8
commit
fa419d47e8
2
assets/js/controllers/library.controller.js
Normal file
2
assets/js/controllers/library.controller.js
Normal file
@ -0,0 +1,2 @@
|
||||
mpdClient.controller('library', function ($scope, api) {
|
||||
})
|
||||
6
assets/js/views/library.html
Normal file
6
assets/js/views/library.html
Normal file
@ -0,0 +1,6 @@
|
||||
<div id="library" ng-controller="library">
|
||||
<header>
|
||||
<a class="close" href="#!">Close</a>
|
||||
<h1>Library</h1>
|
||||
</header>
|
||||
</div>
|
||||
@ -8,10 +8,12 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<main>
|
||||
<div id="content">
|
||||
<div id="library"></div>
|
||||
<ng-include src="'<%= asset_path 'views/library.html' %>'"></ng-include>
|
||||
<ng-include src="'<%= asset_path 'views/queue.html' %>'"></ng-include>
|
||||
</div>
|
||||
<ng-include src="'<%= asset_path 'views/transport.html' %>'"></ng-include>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user