Private GIT

Skip to content
Snippets Groups Projects
Commit 05d83c7b authored by Jonathon Saine's avatar Jonathon Saine
Browse files

Initial tweak of massedit design.

parent 19a892b9
Branches
Tags
No related merge requests found
...@@ -19,7 +19,9 @@ ...@@ -19,7 +19,9 @@
<link rel="stylesheet" type="text/css" href="$sbRoot/css/smooth-grinder/jquery-ui-1.8.9.custom.css" /> <link rel="stylesheet" type="text/css" href="$sbRoot/css/smooth-grinder/jquery-ui-1.8.9.custom.css" />
<link rel="stylesheet" type="text/css" href="$sbRoot/css/superfish.css" /> <link rel="stylesheet" type="text/css" href="$sbRoot/css/superfish.css" />
<link rel="stylesheet" type="text/css" href="$sbRoot/css/tablesorter.css"/> <link rel="stylesheet" type="text/css" href="$sbRoot/css/tablesorter.css"/>
<link rel="stylesheet" type="text/css" href="$sbRoot/css/ui.dropdownchecklist.themeroller.css">
<link rel="stylesheet" type="text/css" media="only screen and (max-device-width: 480px)" href="$sbRoot/css/iphone.css" /> <link rel="stylesheet" type="text/css" media="only screen and (max-device-width: 480px)" href="$sbRoot/css/iphone.css" />
<style type="text/css"> <style type="text/css">
<!-- <!--
.ac_loading { background: white url("$sbRoot/images/loading16.gif") right center no-repeat; } .ac_loading { background: white url("$sbRoot/images/loading16.gif") right center no-repeat; }
......
...@@ -13,17 +13,17 @@ ...@@ -13,17 +13,17 @@
<script type="text/javascript" src="$sbRoot/js/qualityChooser.js"></script> <script type="text/javascript" src="$sbRoot/js/qualityChooser.js"></script>
<script type="text/javascript" src="$sbRoot/js/massEdit.js"></script> <script type="text/javascript" src="$sbRoot/js/massEdit.js"></script>
<form action="massEditSubmit" method="post"> <form action="massEditSubmit" method="post">
<input type="hidden" name="toEdit" value="$showList" /> <input type="hidden" name="toEdit" value="$showList" />
<h3>Root show directories:</h3> <h3>Root show directories:</h3>
<br />
#for $cur_dir in $root_dir_list: #for $cur_dir in $root_dir_list:
#set $cur_index = $root_dir_list.index($cur_dir) #set $cur_index = $root_dir_list.index($cur_dir)
<input type="button" class="edit_root_dir" id="edit_root_dir_$cur_index" value="Edit">
$cur_dir => <span id="display_new_root_dir_$cur_index">$cur_dir</span> $cur_dir => <span id="display_new_root_dir_$cur_index">$cur_dir</span>
<input type="hidden" name="orig_root_dir_$cur_index" value="$cur_dir"> <input type="hidden" name="orig_root_dir_$cur_index" value="$cur_dir">
<input type="text" style="display: none" name="new_root_dir_$cur_index" id="new_root_dir_$cur_index" class="new_root_dir" value="$cur_dir"> <input type="text" style="display: none" name="new_root_dir_$cur_index" id="new_root_dir_$cur_index" class="new_root_dir" value="$cur_dir">
<input type="button" class="edit_root_dir" id="edit_root_dir_$cur_index" value="Edit">
<br /> <br />
#end for #end for
<br /> <br />
...@@ -66,6 +66,74 @@ Then Re-download the episodes in any or all of these qualities as they are avail ...@@ -66,6 +66,74 @@ Then Re-download the episodes in any or all of these qualities as they are avail
<br /> <br />
<br /> <br />
* Note: Changing the show paths or season folders value will cause all selected shows to be refreshed.<br /> * Note: Changing the show paths or season folders value will cause all selected shows to be refreshed.<br />
<br /><br /><br /><br /><br /><br />
<table id="masseditTable" class="sickbeardTable" style="width: 400px;" cellspacing="1" border="0" cellpadding="0">
<thead><tr><th colspan="2">Mass Edit - Temp Design</th></tr></thead>
<tbody>
<tr>
<td nowrap="nowrap"><span style="font-weight: 700; font-size: 13px;">Quality: </span></td>
<td>
<select id="edit_quality2">
<option value="keep">&lt; keep &gt;</option>
#set $selected = None
<option value="0">Custom
#for $curPreset in sorted($common.qualityPresets):
<option value="$curPreset" #if $curPreset == $quality_value then "SELECTED" else ""#>$common.qualityPresetStrings[$curPreset]
#end for
</select>
</td>
</tr>
<tr class="alt">
<td align="center" valign="top">
<b>Initial:</b><br/>
#set $anyQualityList = filter(lambda x: x > $common.Quality.NONE, $common.Quality.qualityStrings)
<select id="anyQualities" name="anyQualities" multiple="multiple" size="len($anyQualityList)" disabled>
#for $curQuality in sorted($anyQualityList):
<option value="$curQuality" #if $curQuality in $anyQualities then "SELECTED" else ""#>$common.Quality.qualityStrings[$curQuality]
#end for
</select>
</td>
<td align="center" valign="top">
<b>Archive:</b><br/>
#set $bestQualityList = filter(lambda x: x > $common.Quality.SDTV, $common.Quality.qualityStrings)
<select id="bestQualities" name="bestQualities" multiple="multiple" size="len($bestQualityList)" disabled>
#for $curQuality in sorted($bestQualityList):
<option value="$curQuality" #if $curQuality in $bestQualities then "SELECTED" else ""#>$common.Quality.qualityStrings[$curQuality]
#end for
</select>
</td>
</tr>
<tr>
<td nowrap="nowrap"><span style="font-weight: 700; font-size: 13px;">Season Folders: </span></td>
<td>
<select id="edit_season_folders2">
<option value="keep">&lt; keep &gt;</option>
<option value="enable">enable</option>
<option value="disable">disable</option>
</select>
</td>
</tr>
<tr>
<td nowrap="nowrap"><span style="font-weight: 700; font-size: 13px;">Paused: </span></td>
<td>
<select id="edit_paused2">
<option value="keep">&lt; keep &gt;</option>
<option value="enable">enable</option>
<option value="disable">disable</option>
</select>
</td>
</tr>
</tbody>
</table>
<br /><br /><br /><br /><br /><br />
<script type="text/javascript" charset="utf-8"> <script type="text/javascript" charset="utf-8">
jQuery('#location').fileBrowser({ title: 'Select Show Location' }); jQuery('#location').fileBrowser({ title: 'Select Show Location' });
</script> </script>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment