Updated source/rips and jobs pages to reflect code changes
This commit is contained in:
@@ -1,17 +1,18 @@
|
||||
<h2>Setup Rips</h2>
|
||||
|
||||
{if $rips_submitted}
|
||||
<p>
|
||||
Processing rips now...
|
||||
</p>
|
||||
<h3>Jobs Queued</h3>
|
||||
|
||||
<pre>{$rips|var_dump}</pre>
|
||||
<p>
|
||||
The rips have been queued, and processing has begun in the background. View the <a href="{$base_uri}jobs/" title="View running jobs">Jobs</a> page
|
||||
to see a list of running jobs, or the <a href="{$base_uri}logs/" title="View logs">logs</a> page for more detailed progress information.
|
||||
</p>
|
||||
{else}
|
||||
<form name="setup-rips" id="setup-rips" action="{$base_uri}rips/setup-rip/submit/" method="post">
|
||||
<fieldset>
|
||||
<legend>Configure titles to rip</legend>
|
||||
|
||||
<input type="hidden" name="id" value="{$source_path_encoded}" />
|
||||
<input type="hidden" name="id" value="{$source->filenameEncoded()|escape:"html"}" />
|
||||
|
||||
<input type="submit" name="submit" value="Queue rips" />
|
||||
|
||||
@@ -25,9 +26,6 @@
|
||||
<input type="checkbox" id="rip-title-{$title->id()}" name="rips[{$title->id()}][queue]" value="1" />
|
||||
<label for="rip-title-{$title->id()}">Rip this title</label>
|
||||
|
||||
<input type="checkbox" id="rip-chapters-{$title->id()}" name="rips[{$title->id()}][include-chapters]" value="{$title->id()}" checked="checked" />
|
||||
<label for="rip-title-{$title->id()}">Include chapter markers</label>
|
||||
|
||||
<hr />
|
||||
|
||||
<label for="rip-audio-{$title->id()}">Audio tracks</label>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>Source</th>
|
||||
<td>{$source_path|escape:"html"}</td>
|
||||
<td>{$source->filename()|escape:"html"}</td>
|
||||
</tr>
|
||||
{if $titles}
|
||||
<tr>
|
||||
|
||||
@@ -10,10 +10,12 @@
|
||||
</p>
|
||||
<ul>
|
||||
{foreach from=$sources item=source}
|
||||
{assign var='source_filename' value=$source->filename()}
|
||||
{assign var='source_filename_encoded' value=$source->filenameEncoded()}
|
||||
<li>
|
||||
[ <a href="{$base_uri}rips/source-details/id/{$source|base64_encode|replace:"/":"-"}" title="Browse source details">Browse</a> |
|
||||
<a href="{$base_uri}rips/setup-rip/id/{$source|base64_encode|replace:"/":"-"}" title="Rip this source">Rip</a> ]
|
||||
{$source|escape:'html'}{if $sources_cached.$source} (cached){/if}
|
||||
[ <a href="{$base_uri}rips/source-details/id/{$source_filename_encoded}" title="Browse source details">Browse</a> |
|
||||
<a href="{$base_uri}rips/setup-rip/id/{$source_filename_encoded}" title="Rip this source">Rip</a> ]
|
||||
{$source_filename|escape:'html'}{if $sources_cached.$source_filename} (cached){/if}
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user