-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HTML Setup: Add a custom channel edit screen.
Breaks the channel attributes into three categories: 1) Basic Settings: Those channel attributes which can be freely and without fatal consequence changed. Channel Number, Callsign, XMLTV ID, Icon File, Visibility, Use EIT, etc. 2) Advanced Settings: Those channel attributes which, when changed incorrectly, could break the channel. Advises the user to leave alone, hidden in an accordion. 3) Expert Information: Information which either must not be changed otherwise the channel cannot be updated (sourceid, chanid) or which we have no easy way of modifying without a whole slough of other information (modulation, frequency, SI Standard). Still does not save, but we're basically one update function away from being able to do that.
- Loading branch information
Robert McNamara
committed
Apr 12, 2011
1 parent
2b3de68
commit d583497
Showing
4 changed files
with
140 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -210,3 +210,7 @@ | |
display: none; | ||
} | ||
|
||
.expert { | ||
display: none; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
<div id='channelsettings'> | ||
<h3><a href="#">Basic Settings</a></h3> | ||
<div id='channeldetail-basicsettings'> | ||
<p> | ||
<table width="100%" cellpadding="0" cellspacing="10" border="0"> | ||
<tr> | ||
<td>Channel Number:</td><td><input id='channelDetailSettingChanNum' /></td> | ||
</tr> | ||
<tr> | ||
<td>Channel Name:</td><td><input id='channelDetailSettingChannelName' /></td> | ||
</tr> | ||
<tr> | ||
<td>Callsign:</td><td><input id='channelDetailSettingCallSign' /></td> | ||
</tr> | ||
<tr> | ||
<td>XMLTV ID:</td><td><input id='channelDetailSettingXMLTVID' /></td> | ||
</tr> | ||
<tr> | ||
<td>Icon File:</td><td><input id='channelDetailSettingIconURL' /></td> | ||
</tr> | ||
<tr> | ||
<td width="100%"><input id='channelDetailSettingVisible' type='checkbox'/> Make this channel visible</td> | ||
</tr> | ||
<tr> | ||
<td width="100%"><input id='channelDetailSettingUseEIT' type='checkbox'/> Use Over-the-air guide data for this channel</td> | ||
</tr> | ||
</table> | ||
</p> | ||
</div> | ||
|
||
<h3><a href="#">Advanced Settings</a></h3> | ||
<div id='channeldetail-advancedsettings'> | ||
<p> | ||
<b>Do not edit these settings! You will almost certainly break your channel!</b> | ||
<table width="100%" cellpadding="0" cellspacing="10" border="0"> | ||
<tr> | ||
<td>Frequency ID:</td><td><input id='channelDetailSettingFrequencyId' /></td> | ||
</tr> | ||
<tr> | ||
<td>Multiplex ID:</td><td><input id='channelDetailSettingMplexId' /></td> | ||
</tr> | ||
<tr> | ||
<td>Service ID:</td><td><input id='channelDetailSettingServiceId' /></td> | ||
</tr> | ||
<tr> | ||
<td>Format:</td><td><input id='channelDetailSettingFormat' /></td> | ||
</tr> | ||
<tr> | ||
<td>Default Authority:</td><td><input id='channelDettailSettingDefaultAuthority' /></td> | ||
</tr> | ||
<tr> | ||
<td>ATSC Major Channel:</td><td><input id='channelDetailSettingATSCMajorChannel' /></td> | ||
</tr> | ||
<tr> | ||
<td>ATSC Minor Channel:</td><td><input id='channelDetailSettingATSCMinorChannel' /></td> | ||
</tr> | ||
</table> | ||
</p> | ||
</div> | ||
|
||
<h3><a href="#">Expert Information</a></h3> | ||
<div id='channeldetail-expertsettings'> | ||
<p> | ||
<table width="100%" cellpadding="0" cellspacing="10" border="0"> | ||
<tr> | ||
<td width="50%">Channel ID:</td><td><div style="text-align:right" id='channelDetailSettingChanId'></div></td> | ||
</tr> | ||
<tr> | ||
<td width="50%">Source ID:</td><td><div style="text-align:right" id='channelDetailSettingSourceId'></div></td> | ||
</tr> | ||
<tr> | ||
<td width="50%">Channel Modulation:</td><td><div style="text-align:right" id='channelDetailSettingModulation'></div></td> | ||
</tr> | ||
<tr> | ||
<td width="50%">Channel Frequency:</td><td><div style="text-align:right" id='channelDetailSettingFrequency'></div></td> | ||
</tr> | ||
<tr> | ||
<td width="50%">SI Standard:</td><td><div style="text-align:right" id='channelDetailSettingSIStandard'></div></td> | ||
</tr> | ||
</table> | ||
</p> | ||
</div> | ||
|
||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters