2012-09-13 15:27:34 +00:00
|
|
|
<%inherit file="base.html" />
|
|
|
|
<%!
|
|
|
|
from mylar import db
|
|
|
|
import mylar
|
|
|
|
%>
|
|
|
|
|
|
|
|
<%def name="headerIncludes()">
|
|
|
|
<div id="subhead_container">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<a href="manage" class="back">« Back to manage overview</a>
|
|
|
|
</%def>
|
|
|
|
|
|
|
|
|
|
|
|
<%def name="body()">
|
|
|
|
<div id="manageheader" class="title">
|
2012-09-14 17:29:01 +00:00
|
|
|
<h1 class="clearfix">Manage comics</h1>
|
2012-09-13 15:27:34 +00:00
|
|
|
</div>
|
2012-09-18 04:00:43 +00:00
|
|
|
<form action="markComics" method="get" id="markComics">
|
2014-06-11 18:39:50 +00:00
|
|
|
<div id="markcomics" style="top:0;">
|
2012-09-18 04:00:43 +00:00
|
|
|
<select name="action" onChange="doAjaxCall('markComics',$(this),'table',true);" data-error="You didn't select any comics">
|
2012-09-13 15:27:34 +00:00
|
|
|
<option disabled="disabled" selected="selected">Choose...</option>
|
2016-09-30 20:10:08 +00:00
|
|
|
<option value="pause">Delete Series</option>
|
|
|
|
<option value="pause">Pause Series</option>
|
|
|
|
<option value="recheck">Recheck Files</option>
|
|
|
|
<option value="refresh">Refresh Series</option>
|
|
|
|
<option value="delete">Resume Series</option>
|
2012-09-13 15:27:34 +00:00
|
|
|
</select>
|
|
|
|
selected comics
|
|
|
|
<input type="hidden" value="Go">
|
|
|
|
</div>
|
2014-06-11 18:39:50 +00:00
|
|
|
<div class="table_wrapper">
|
|
|
|
|
2012-09-13 15:27:34 +00:00
|
|
|
<table class="display" id="manage_comic">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th id="select"><input type="checkbox" onClick="toggle(this)" /></th>
|
|
|
|
<th id="albumart"></th>
|
|
|
|
<th id="name">Comic Name</th>
|
|
|
|
<th id="status">Status</th>
|
2016-09-30 20:10:08 +00:00
|
|
|
<th id="stat_icon"></th>
|
|
|
|
<th id="latest">Latest Issue</th>
|
2012-09-13 15:27:34 +00:00
|
|
|
<th id="publisher">Publisher</th>
|
|
|
|
<th id="have">Have</th>
|
|
|
|
<th id="lastupdated">Updated</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
%for comic in comics:
|
IMP: Ability to use 32P session cookies for Auth Login (thnx @btx), IMP: 32P Backlog support! (individual issues only), FIX: 32P will only do one search occurance, instead of issue-numbered padded searching, IMP: When post-processing, if series is in a Paused status or is in an Ended publishing state with 100% of issues completed - will ignore series for post-processing comparisons, IMP: Dynamic Name matching added as matching algorithims in Weekly Pull Lists, FIX: If series contained a '+', would not be able to scan in files for comparison checks (or during post-processing), FIX: File-checking/Post-Processing was taking the incorrect subdirectory path due to escaped slashes (windows only), FIX: If a series contained more than one/multiple special characters, dynamic naming would be slightly off and cause matching problems in some cases, FIX: When peforming a migration of paths in the db using the locmove option, invalid character references would occur on some machines when moving between OS', IMP: Added status checking of an issue prior to downloading (should fix duplicate downloading of same issue within a specific timeframe), FIX: Fixed some parsing issues when using the ALT_PULL=1 method of the weekly pull list, FIX: Fixed some 500 errors when using reverse proxy (flush Impors, Recheck Files, Manage), FIX: When selecting 'Clear Post-Processed items' from history tab, will now also clear 'Processed' items as well, FIX: When importing series that were successfully scanned for metadata and contained valid ComicID's, would fail to regenerate the dataset, IMP: Added exception catch for ComicVine API limit being reached when performing imports (graceful error), IMP: Added graphical icons to indicate Pause/Loading/Error/Active state in the Manage Comics section
2016-05-12 15:28:28 +00:00
|
|
|
<%
|
|
|
|
if comic['Status'] == 'Paused':
|
|
|
|
grade = 'X'
|
|
|
|
elif comic['Status'] == 'Loading':
|
|
|
|
grade = 'L'
|
|
|
|
elif comic['Status'] == 'Error':
|
|
|
|
grade = 'X'
|
|
|
|
else:
|
|
|
|
grade = 'A'
|
|
|
|
%>
|
2014-06-02 19:02:28 +00:00
|
|
|
<tr>
|
IMP: Added ALT_PULL=2 method for weeklypull management. Will now update against an external site and pull down already populated ComicID/IssueID's for the series that exist on the pullist. Alternate Search Names aren't needed with this option to match on pullist, as well as CV API Hits are also not used since it is all populated. Also allows for future viewing of pullists (up to 4 weeks in advance), FIX: Alternate search names now will be searched against when doing manual post-processing, FIX: When manually post-processing, if series volume wasn't specified would fail to match against v1 (by default), IMP:(#1309) Https_chain option now allowed within config.ini, IMP: 32P pack support on a per series basis (will search individual torrents first before packs), IMP: When pack is snatched, will mark all issues within pack that are not in a Downloaded status as Snatched within Mylar (annuals currently don't work), IMP: Removed unnecessary config spamming on startup when verbose mode was enabled, IMP: Allow for searching on 32p against series+publisher for some titles that distinguish between series by different publisher, IMP: Better series matching when trying to find series matches on 32P, FIX: When metatagging, if volume label is not provided within Mylar would default to None (now will be v1), IMP:(#1304) Attempt at better file parsing when utf-8 filenames are being parsed, FIX: Proper handling of Infinity issue number when file-checking, FIX: When adding series and annuals were enabled, if annual was a new release, would not be shown on the annual subset table for the given series (and subsequently wouldn't be auto-marked as Wanted), FIX:(#1306) Correct handling of the imported value when doing an import and moving files was selected (would previously error out during moving for some imports), FIX: When cbz files were being imported and were attempted to being auto-imported, would fail due to improper handling of the imported variable, FIX: Manage issues will now default the dropdown to the correct selected option, FIX: Manage Comics - fixed dropdown options for multiple selection of series - delete/pause/resume, IMP: Added 'delete stragglers' option to Story Arcs when deleting an arc to ensure that all traces of the arc are removed from the db, FIX: Manual/group metatagging would not tag properly if the START_YEAR_AS_VOLUME option was enabled, FIX: (#1313) NzbHydra wouldn't set the nzbid properly when using Failed Download handling/Retrying
2016-07-10 22:28:14 +00:00
|
|
|
<td id="select"><input type="checkbox" name="${comic['ComicName']}[${comic['ComicYear']}]" value="${comic['ComicID']}" class="checkbox" /></td>
|
2012-09-27 03:39:19 +00:00
|
|
|
<td id="albumart"><div><img src="${comic['ComicImage']}" height="75" width="50"></div></td>
|
2013-07-10 01:45:10 +00:00
|
|
|
<td id="name"><span title="${comic['ComicSortName']}"></span><a href="comicDetails?ComicID=${comic['ComicID']}">${comic['ComicName']} (${comic['ComicYear']})</a></td>
|
IMP: Ability to use 32P session cookies for Auth Login (thnx @btx), IMP: 32P Backlog support! (individual issues only), FIX: 32P will only do one search occurance, instead of issue-numbered padded searching, IMP: When post-processing, if series is in a Paused status or is in an Ended publishing state with 100% of issues completed - will ignore series for post-processing comparisons, IMP: Dynamic Name matching added as matching algorithims in Weekly Pull Lists, FIX: If series contained a '+', would not be able to scan in files for comparison checks (or during post-processing), FIX: File-checking/Post-Processing was taking the incorrect subdirectory path due to escaped slashes (windows only), FIX: If a series contained more than one/multiple special characters, dynamic naming would be slightly off and cause matching problems in some cases, FIX: When peforming a migration of paths in the db using the locmove option, invalid character references would occur on some machines when moving between OS', IMP: Added status checking of an issue prior to downloading (should fix duplicate downloading of same issue within a specific timeframe), FIX: Fixed some parsing issues when using the ALT_PULL=1 method of the weekly pull list, FIX: Fixed some 500 errors when using reverse proxy (flush Impors, Recheck Files, Manage), FIX: When selecting 'Clear Post-Processed items' from history tab, will now also clear 'Processed' items as well, FIX: When importing series that were successfully scanned for metadata and contained valid ComicID's, would fail to regenerate the dataset, IMP: Added exception catch for ComicVine API limit being reached when performing imports (graceful error), IMP: Added graphical icons to indicate Pause/Loading/Error/Active state in the Manage Comics section
2016-05-12 15:28:28 +00:00
|
|
|
<td id="status">${comic['recentstatus']}</td>
|
|
|
|
<td id="stat_icon">
|
|
|
|
%if comic['Status'] == 'Paused':
|
|
|
|
<img src="interfaces/default/images/pause-icon.png" alt="Paused" width="16" height="16" />
|
|
|
|
%elif comic['Status'] == 'Loading':
|
|
|
|
<img src="interfaces/default/images/hourglass.png" alt="Loading" width="16" height="16" />
|
|
|
|
%elif comic['Status'] == 'Error':
|
|
|
|
<img src="interfaces/default/images/cross.png" alt="Error" width="16" height="16" />
|
|
|
|
%else:
|
|
|
|
<img src="interfaces/default/images/checkmark.png" alt="Active" width="16" height="16" />
|
|
|
|
%endif
|
|
|
|
</td>
|
2012-09-13 15:27:34 +00:00
|
|
|
<td id="latest">${comic['LatestIssue']} (${comic['LatestDate']})</td>
|
|
|
|
<td id="publisher">${comic['ComicPublisher']}</td>
|
2014-06-02 19:02:28 +00:00
|
|
|
<td id="have" valign="center"><span title="${comic['percent']}"></span><div class="progress-container"><div style="width:${comic['percent']}%"><div style="width:${comic['percent']}%"><div class="havetracks">${comic['haveissues']}/${comic['totalissues']}</div></div></div></td>
|
2012-09-13 15:27:34 +00:00
|
|
|
<td id="lastupdated">${comic['DateAdded']}</td>
|
|
|
|
</tr>
|
|
|
|
%endfor
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2014-06-11 18:39:50 +00:00
|
|
|
</form>
|
2012-09-13 15:27:34 +00:00
|
|
|
</%def>
|
|
|
|
|
|
|
|
<%def name="headIncludes()">
|
|
|
|
<link rel="stylesheet" href="interfaces/default/css/data_table.css">
|
|
|
|
</%def>
|
|
|
|
|
|
|
|
<%def name="javascriptIncludes()">
|
|
|
|
<script src="js/libs/jquery.dataTables.min.js"></script>
|
|
|
|
<script>
|
2014-06-02 19:02:28 +00:00
|
|
|
function initThisPage() {
|
|
|
|
$('#manage_comic').dataTable(
|
|
|
|
{
|
|
|
|
"bDestroy": true,
|
|
|
|
"aoColumnDefs": [
|
|
|
|
{ 'bSortable': false, 'aTargets': [ 0, 1 ] }
|
|
|
|
],
|
|
|
|
"aLengthMenu": [[10, 25, 50, -1], [10, 25, 50, 'All' ]],
|
|
|
|
"oLanguage": {
|
|
|
|
"sLengthMenu":"Show _MENU_ results per page",
|
|
|
|
"sEmptyTable": "No results",
|
|
|
|
"sInfo":"Showing _START_ to _END_ of _TOTAL_ results",
|
|
|
|
"sInfoEmpty":"Showing 0 to 0 of 0 results",
|
|
|
|
"sInfoFiltered":"(filtered from _MAX_ total results)",
|
|
|
|
"sSearch" : ""},
|
|
|
|
"bStateSave": true,
|
|
|
|
"iDisplayLength": 25,
|
|
|
|
"sPaginationType": "full_numbers",
|
|
|
|
"aaSorting": [[2, 'desc'],[3, 'desc']]
|
|
|
|
});
|
|
|
|
resetFilters("comic");
|
|
|
|
}
|
|
|
|
|
|
|
|
$(document).ready(function(){
|
|
|
|
initThisPage();
|
|
|
|
});
|
|
|
|
$(window).load(function(){
|
|
|
|
initFancybox();
|
|
|
|
});
|
|
|
|
</script>
|
2012-09-13 15:27:34 +00:00
|
|
|
|
|
|
|
</%def>
|