Sha256: edcf50a0e05d38823b86704cb03005b2a099daa6692de5bdd1b62b296d19359c

Contents?: true

Size: 1.97 KB

Versions: 1

Compression:

Stored size: 1.97 KB

Contents

<div class="row">
	<div class="col-md-12">
		<form class="form-inline">
			<div class="form-group">
				<input id="channel_filter" type="text" class="form-control" placeholder="Filter..." ng-model="channelFilter">
			</div>
			<div class="form-group">
				<div class="checkbox">
					<label>
						<input type="checkbox" ng-model="showHiddenChannels"> Show hidden channels</input>
					</label>
				</div>
			</div>
		</form>
	</div>
</div>
<div class="col-md-4" ng-repeat-start="channel in channels | orderBy:name | filter:shouldShowChannel | filter:channelFilter">
	<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-hide="channel.hidden" class="glyphicon glyphicon-remove pull-right" style="color:black" ng-click="hideChannel(channel)" title="Hide channel" ></a>
					<a ng-href="channels" ng-show="channel.hidden" class="glyphicon glyphicon-ok pull-right" style="color:black" 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="col-md-1">{{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="col-md-1">{{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 class="clearfix" ng-show="$index % 3 == 2" ng-repeat-end></div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
simple_pvr-1.1.0 public/partials/channels.html