1
0
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:
Dan Barber 2014-03-21 17:33:15 +00:00
parent 2d914794c8
commit fa419d47e8
3 changed files with 15 additions and 5 deletions

View File

@ -0,0 +1,2 @@
mpdClient.controller('library', function ($scope, api) {
})

View File

@ -0,0 +1,6 @@
<div id="library" ng-controller="library">
<header>
<a class="close" href="#!">Close</a>
<h1>Library</h1>
</header>
</div>

View File

@ -8,10 +8,12 @@
</head>
<body>
<div id="content">
<div id="library"></div>
<ng-include src="'<%= asset_path 'views/queue.html' %>'"></ng-include>
</div>
<ng-include src="'<%= asset_path 'views/transport.html' %>'"></ng-include>
<main>
<div id="content">
<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>