2013-01-15 17:32:08 +00:00
|
|
|
<%inherit file="base.html" /> <%!
|
2013-01-11 21:20:51 +00:00
|
|
|
import mylar
|
|
|
|
from mylar.helpers import checked
|
|
|
|
%>
|
|
|
|
<%def name="headerIncludes()">
|
|
|
|
<div id="subhead_container">
|
|
|
|
</div>
|
|
|
|
</%def>
|
|
|
|
|
|
|
|
<%def name="body()">
|
|
|
|
<div id="paddingheader">
|
2013-01-15 17:32:08 +00:00
|
|
|
<h1 class="clearfix">Ultron Error-Checker</h1>
|
2013-01-11 21:20:51 +00:00
|
|
|
</div>
|
|
|
|
<div id="tabs">
|
|
|
|
<ul>
|
2013-01-15 17:32:08 +00:00
|
|
|
<li><a href="#tabs-1">Analysis Required</a></li>
|
2013-01-11 21:20:51 +00:00
|
|
|
</ul>
|
|
|
|
<div id="tabs-1" class="configtable">
|
2013-01-21 18:11:37 +00:00
|
|
|
|
2013-01-11 21:20:51 +00:00
|
|
|
<table>
|
|
|
|
<tr>
|
2013-01-15 17:32:08 +00:00
|
|
|
<td width="250">
|
2013-01-11 21:20:51 +00:00
|
|
|
<fieldset>
|
|
|
|
<div>
|
|
|
|
<img src="${comicimage}" alt="" height="350" width="230" />
|
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
</td>
|
2013-01-15 17:32:08 +00:00
|
|
|
<td width="100%">
|
|
|
|
<span style="position:absolute">
|
|
|
|
<img src="interfaces/default/images/ultron.png" style="float:right" height="125" width="125">
|
|
|
|
<fieldset>
|
|
|
|
<center><legend>Error-Check.</legend></center>
|
2013-02-27 16:12:33 +00:00
|
|
|
<strong>I cannot add the requested comic.</strong>
|
2013-01-11 21:20:51 +00:00
|
|
|
<p>I've figured out that the Comic that you've selected to watch isn't listed
|
|
|
|
correctly on the other databases I need to query. This is most likely due to
|
|
|
|
an incorrect spelling, but sometimes it could because the year is wrong, or even
|
|
|
|
the issues are incorrect. So you need to help me out on this one - please select
|
|
|
|
below which series from the list is the one that you want to add.<br/></p>
|
|
|
|
<br/>
|
|
|
|
<center><b>This is what you've given me to look for:</b><br/><br/>
|
|
|
|
<legend>${comicname} (${comicyear})</br>
|
|
|
|
${comicissues} Issues</legend></center>
|
|
|
|
<br/>
|
2013-01-15 17:32:08 +00:00
|
|
|
</fieldset>
|
|
|
|
</span></td>
|
2013-01-11 21:20:51 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<table class="display" id="searchmanage_table">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th id="comicpub">Publisher</th>
|
|
|
|
<th id="comicname">Comic Name</th>
|
|
|
|
<th id="comicissues">Year</th>
|
|
|
|
<th id="comicissues">Issues</th>
|
|
|
|
<th id="addcomic"></th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
%if cresults:
|
|
|
|
%for result in cresults:
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td id="comicpub"><title="${result['ComicPublisher']}">${result['ComicPublisher']}</td>
|
|
|
|
<td id="comicname"><a href="${result['ComicURL']}" title="${result['ComicName']}" target="_blank">${result['ComicName']}</td>
|
|
|
|
<td id="comicissues"><title="${result['ComicYear']}">${result['ComicYear']}</td>
|
|
|
|
<td id="comicissues">${result['ComicIssues']}</td>
|
2013-01-14 05:42:03 +00:00
|
|
|
<td id="addcomic"><a href="from_Exceptions?comicid=${result['ComicID']}&comicname=${result['ComicName'] |u}&comicyear=${result['ComicYear']}&comicissues=${result['ComicIssues']}&comicpublisher=${result['ComicPublisher']}&gcdid=${result['GCDID']}"><span class="ui-icon-plus"></span>Add Series</a></td>
|
2013-01-11 21:20:51 +00:00
|
|
|
</tr>
|
|
|
|
%endfor
|
|
|
|
%else:
|
|
|
|
<tr>
|
|
|
|
<td colspan="5"><center><legend>There are no results to display</legend></center></td>
|
|
|
|
</tr>
|
|
|
|
%endif
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2013-01-21 18:11:37 +00:00
|
|
|
<form action="error_change" method="GET">
|
2013-01-11 21:20:51 +00:00
|
|
|
<input type="hidden" name="comicid" value=${comicid}>
|
2013-01-29 09:02:23 +00:00
|
|
|
<input type="hidden" name="comicname" value=${comicname |u}>
|
2013-01-11 21:20:51 +00:00
|
|
|
<div><br/>
|
|
|
|
<label><center><strong>Didn't get it right? Enter what it should be (or the GCD-ID) here:</strong></label></center>
|
|
|
|
<center><input type="text" name="errorgcd" size="30"><input type="submit" value="Update"/></center>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</%def>
|
|
|
|
<%def name="javascriptIncludes()">
|
|
|
|
<script>
|
|
|
|
function initThisPage() {
|
|
|
|
jQuery( "#tabs" ).tabs();
|
|
|
|
initActions();
|
|
|
|
};
|
|
|
|
$(document).ready(function() {
|
|
|
|
initThisPage();
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</%def>
|