1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-08-13 16:53:54 -04:00
SickRage/gui/slick/interfaces/default/home_postprocess.tmpl
Supremicus 2c510aa210 Improve UI to display fluidly on different screen sizes.
Fixes the issue where top menu items would disappear on smaller screens.
Add Bootstrap v3.2.0 with Normalize v3.0.1 from github.com/twbs/bootstrap.
Add a modified jquery pnotify stylesheet.
Various UI tweaks.
Update CHANGES.md and TODO.txt
2014-10-23 23:23:56 +01:00

85 lines
2.4 KiB
Cheetah

#import sickbeard
#set global $header="Post Processing"
#set global $title="Post Processing"
#set global $sbPath="../.."
#set global $topmenu="home"#
#import os.path
#include $os.path.join($sickbeard.PROG_DIR, "gui/slick/interfaces/default/inc_top.tmpl")
<div id="content800">
#if $varExists('header')
<h1 class="header">$header</h1>
#else
<h1 class="title">$title</h1>
#end if
<div id="postProcess">
<form name="processForm" method="post" action="processEpisode" style="line-height: 40px;">
<table>
<input type="hidden" id="type" name="type" value="manual">
<tr>
<td style="padding-right:10px;">
<b>Enter the folder containing the episode:</b>
</td>
<td>
<input type="text" name="dir" id="episodeDir" class="form-control form-control-inline input-sm input350" />
</td>
</tr>
<tr>
<td>
<b>Process Method to be used:</b>
</td>
<td>
<select name="process_method" id="process_method" class="form-control form-control-inline input-sm" >
#set $process_method_text = {'copy': "Copy", 'move': "Move", 'hardlink': "Hard Link", 'symlink' : "Symbolic Link"}
#for $curAction in ('copy', 'move', 'hardlink', 'symlink'):
#if $sickbeard.PROCESS_METHOD == $curAction:
#set $process_method = "selected=\"selected\""
#else
#set $process_method = ""
#end if
<option value="$curAction" $process_method>$process_method_text[$curAction]</option>
#end for
</select>
</td>
</tr>
<tr>
<td>
<b>Force already Post Processed Dir/Files:</b>
</td>
<td>
<input id="force" name="force" type="checkbox">
</td>
</tr>
<tr>
<td>
<b>Mark Dir/Files as priority download:</b>
</td>
<td>
<input id="is_priority" name="is_priority" type="checkbox">
<span style="line-height: 0; font-size: 12px;"><i>&nbsp;(Check it to replace the file even if it exists at higher quality)</i></span>
</td>
</tr>
#if $sickbeard.USE_FAILED_DOWNLOADS:
<tr>
<td>
<b>Mark download as failed:</b>
</td>
<td>
<input id="failed" name="failed" type="checkbox">
</td>
</tr>
#end if
</table>
<input id="submit" class="btn" type="submit" value="Process" />
</form>
<script type="text/javascript" charset="utf-8">
<!--
jQuery('#episodeDir').fileBrowser({ title: 'Select Unprocessed Episode Folder', key: 'postprocessPath' });
//-->
</script>
</div>
#include $os.path.join($sickbeard.PROG_DIR,"gui/slick/interfaces/default/inc_bottom.tmpl")