Skip to content
Permalink
d28a1d40f1
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
97 lines (83 sloc) 4.92 KB
<div ng-controller='userController' data-ng-init="initOrders()">
<div class="container">
<div class="row sm-flex-center">
<div class="col-sm-7">
<uib-tabset>
<uib-tab heading="Add Playlists">
<table>
<center><b>Playlist Name</b></center>
<center>Click a playlist to see track listing</center>
<tr ng-repeat="x in myPlaylists">
<td width="80%">
<text ng-click="openCustom('sm'',x)">{{x.Name}}</text>
</td>
<td width="20%">Add to Cart</td>
</tr>
<tr ng-repeat="x in playlists">
<td width="80%">
<text ng-click="open(x)">{{x.Name}}</text>
</td>
<td width="20%">Add to Cart</td>
</tr>
</table>
</uib-tab>
<uib-tab heading="Add Tracks">
<form name="myForm">
<table>
<td width="90%"><center><input type="text" ng-model="token" class="form-control" placeholder="Search our music database!" /></center></td>
<td width="20%">
<center>
<select name="singleSelect" ng-model="data.singleSelect">
<option value="">Please select Search</option>
<option value="Track">Search by Track</option>
<option value="Artist">Search by Artist</option>
<option value="Album">Search by Album</option>
<option value="Genre">Search by Genre</option>
<option value="Composer">Search by Composer</option>
<option value="Media">Search by Media</option>
</select><br>
</center>
</td>
<td width="10%">
<center>
<button type="button" class="btn btn-sm" ng-click="search(token,data.singleSelect)">
&nbsp&nbsp<span class="glyphicon glyphicon-search"></span>&nbsp&nbsp
</button>
</center>
</td>
</table>
</form>
<div id="grid1" ui-grid="orderOptions" class="gridStyle"></div>
</uib-tab>
</uib-tabset>
</div>
<div class="col-sm-3 middle" style="overflow-y: scroll; height:450px;">
<table>
<tr><th colspan="2"><center>Current Order</center></th></tr>
<td width="90%"><center>Track Name</center></td>
<td width="10%"><center>Price</center></td>
<tr ng-repeat="x in currOrder">
<td width="90%">{{x.TrackName}}</td>
<td width="10%">{{x.UnitPrice}}</td>
</tr>
</table>
</div>
</div>
</div>
<br /><br /><br /><br /><br /><br /><br /><br />
Link to Order Screen that lets a customer select a playlist to order (from MyPlaylist
or Playlist) or as selected by track via the detailed searching of tracks by track name,
album name, artist name, composer name, genre name, and/or media name. The
Order screen is tied to a Shopping Cart.<br />
Pending/Completed Orders and Status Screen – this should drill down to one order in a read
only mode to view a specific order when reached from the selection on the Customer
Dashboard<br />Order Screen: A screen for that lets a customer select a playlist to order (from MyPlaylist or
Playlist) or as selected by track via the detailed searching of tracks by track name, album
name, artist name, composer name, genre name, and/or media name. The Order screen is
tied to a Shopping Cart. You need to decide the way for customers to select either playlists
(their own in MyPlaylists or in Playlists) or from tracks that are then included in a shopping
cart.<br />
Shopping Cart Screen – to show the items that are being placed for potential order. Time
permitting, you should add the ability to edit the order (remove tracks) but this is not an
immediate initial features.
</div>