Sha256: 27d8f370b53a7ffc27821d69ef0d57caa3934ecc6b589b88c5bf5d9ad2087479

Contents?: true

Size: 1.81 KB

Versions: 5

Compression:

Stored size: 1.81 KB

Contents

<div class="row">
	<div class="span12">
		<form class="form-inline">
			<input id="channel_filter" type="text" placeholder="Filter..." ng-model="channelFilter">
			<label class="checkbox">
				<input type="checkbox" ng-model="showHiddenChannels">Show hidden channels</input>
			</label>
		</form>
	</div>
</div>
<div class="row" ng-repeat="channelChunk in channels | orderBy:name | filter:shouldShowChannel | filter:channelFilter | chunk:3">
	<div ng-repeat="channel in channelChunk" class="span4">
		<table class="table table-condensed">
			<thead>
				<tr>
					<th colspan="2">
						<img ng-show="channel.icon_url" class="channel-icon" ng-src="{{channel.icon_url}}" />
						<span class="channel-name">
							{{channel.name}}
						</span>
						<a ng-href="channels" ng-hide="channel.hidden" class="icon-remove pull-right" ng-click="hideChannel(channel)" title="Hide channel" ></a>
						<a ng-href="channels" ng-show="channel.hidden" class="icon-ok pull-right" ng-click="showChannel(channel)" title="Show channel"></a>
					</th>
				</tr>
			</thead>
			<tbody>
				<tr ng-show="channel.current_programme" ng-class="classForProgrammeLine(channel.current_programme)">
					<td class="span1">{{channel.current_programme.start_time | date:'HH:mm'}}</td>
					<td><a ng-href="/programmes/{{channel.current_programme.id}}">{{channel.current_programme.title}}</td></tr>
				<tr ng-repeat="upcomingProgramme in channel.upcoming_programmes" ng-class="classForProgrammeLine(upcomingProgramme)">
					<td class="span1">{{upcomingProgramme.start_time | date:'HH:mm'}}</td>
					<td><a ng-href="/programmes/{{upcomingProgramme.id}}">{{upcomingProgramme.title}}</a></td></tr>
				<tr>
					<td colspan="2">
						<a ng-href="/channels/{{channel.id}}/programmeListings/today" class="pull-right">...</a>
					</td>
				</tr>
			</tbody>
		</table>
	</div>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
simple_pvr-1.0.0 public/partials/channels.html
simple_pvr-0.0.4 public/partials/channels.html
simple_pvr-0.0.3 public/partials/channels.html
simple_pvr-0.0.2 public/partials/channels.html
simple_pvr-0.0.1 public/partials/channels.html