2012-09-13 15:27:34 +00:00
< %
import mylar
from mylar import version
FIX: (#746) updated autoProcessComics.py / ComicRN.py's which will now send proper completion messeages to clients, FIX: (#752) refresh series will now test if a series is 'out of whack' with it's numerical issue count (ie. 5/4) or it has no issue data due to a bad refresh / api maxing out and will adjust it's processing to accomodate either, IMP: (#750) Added ComicVine API Checker which will check API counts at regular intervals to inform/warn users of usage, as well as adding a screen-time display of API hits / mins used at the bottom of every page (refreshing/reloading pages will update counts), FIX: (#747)EOL normalization (dos2unix) on search.py - removed classes & exceptions as not being used, IMP: (#747) Skip processing issues with an invalid store date & issue date (thnx rupaschomaker), FIX: Removed strings when searching/logging torrents as was causing ascii errors especially with KAT, IMP: Added [META-TAGGING] to logging for meta-tagging module, IMP: Added ability in GUI to select CR or Cbl tags (or both) when writing metadata to cbz files, IMP: Improved support/usage with ComicTagger v1.1.15 which allows for personal CV API Key usage - if supplied to Mylar, will use when tagging with ComicTagger, IMP: Added Manual Search option to allow for individual searches of issues without changing initial status.
2014-06-18 19:58:19 +00:00
from mylar.helpers import cvapi_check
2012-09-13 15:27:34 +00:00
%>
<!doctype html>
<!-- [if lt IE 7 ]> <html lang="en" class="no - js ie6"> <![endif] -->
<!-- [if IE 7 ]> <html lang="en" class="no - js ie7"> <![endif] -->
<!-- [if IE 8 ]> <html lang="en" class="no - js ie8"> <![endif] -->
<!-- [if IE 9 ]> <html lang="en" class="no - js ie9"> <![endif] -->
<!-- [if (gt IE 9)|!(IE)]><! --> < html lang = "en" class = "no-js" > <!-- <![endif] -->
< head >
< meta charset = "UTF-8" >
< meta http-equiv = "X-UA-Compatible" content = "IE=edge,chrome=1" >
< title > Mylar - ${title}< / title >
< meta name = "description" content = "Mylar 'default' interface - made by Elmar Kouwenhoven" >
< meta name = "author" content = "Elmar Kouwenhoven" >
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" >
< link rel = "apple-touch-icon" href = "images/mylarlogo.png" >
< link rel = "stylesheet" href = "interfaces/default/css/style.css" >
< link rel = "stylesheet" href = "interfaces/default/css/jquery-ui.css" >
2012-10-16 08:16:29 +00:00
< link rel = "icon" href = "images/favicon.ico" type = "image/x-icon" >
< link rel = "shortcut icon" href = "images/favicon.ico" type = "image/x-icon" >
2012-09-13 15:27:34 +00:00
${next.headIncludes()}
< script src = "js/libs/modernizr-1.7.min.js" > < / script >
< / head >
< body >
2014-12-20 17:12:46 +00:00
< %
mylar.DONATEBUTTON = True
%>
< div id = "container" >
2012-09-13 15:27:34 +00:00
< div id = "ajaxMsg" > < / div >
% if not mylar.CURRENT_VERSION:
< div id = "updatebar" >
You're running an unknown version of Mylar. < a href = "update" > Update< / a > or
< a href = "#" onclick = "$('#updatebar').slideUp('slow');" > Close< / a >
< / div >
2014-03-19 18:54:39 +00:00
% elif mylar.CURRENT_VERSION != mylar.LATEST_VERSION and mylar.INSTALL_TYPE != 'win' and mylar.COMMITS_BEHIND > 0:
2012-09-13 15:27:34 +00:00
< div id = "updatebar" >
2014-12-20 17:12:46 +00:00
A < a href = "http://github.com/evilhero/mylar/compare/${mylar.CURRENT_VERSION}...${mylar.LATEST_VERSION}" target = "_blank" > newer version< / a > is available. You're ${mylar.COMMITS_BEHIND} commits behind. < a href = "update" > Update< / a > or < a href = "#" onclick = "$('#updatebar').slideUp('slow');" > Close< / a >
2012-09-13 15:27:34 +00:00
< / div >
% endif
< header >
< div class = "wrapper" >
< div id = "logo" >
< a href = "home" > < img src = "images/mylarlogo.png" height = "64" width = "64" alt = "mylar" > < / a >
< / div >
< ul id = "nav" >
< li > < a href = "upcoming" > wanted< / a > < / li >
2013-02-13 01:27:24 +00:00
< li > < a href = "pullist" >
%if mylar.PULLNEW == 'no':
< img src = "interfaces/default/images/grey-circle.png" height = "10" width = "10" / >
%else:
< img src = "interfaces/default/images/green-circle.png" height = "10" width = "10" / >
%endif
& nbspThis Week< / a > < / li >
< li > < a href = "manage" > Manage< / a > < / li >
< li > < a href = "history" > History< / a > < / li >
< li > < a href = "logs" class = "log" > Logs< / a > < / li >
2012-09-13 15:27:34 +00:00
< li > < a href = "config" class = "config" > < img src = "interfaces/default/images/icon_gear.png" alt = "settings" / > < / a > < / li >
< / ul >
< div id = "searchbar" >
< form action = "searchit" method = "get" >
< input type = "text" value = "" placeholder = "Search" onfocus = "if(this.value==this.defaultValue) this.value='';" name = "name" / >
< span class = "mini-icon" > < / span >
< input type = "submit" value = "Search" / >
< / form >
< / div >
< / div >
< / header >
< div id = "main" class = "main" >
< div id = "subhead" >
${next.headerIncludes()}
< / div >
${next.body()}
< / div >
< footer >
< div id = "actions" >
< small >
< a href = "shutdown" > < span class = "ui-button-icon-primary ui-icon ui-icon-power" > < / span > Shutdown< / a > |
< a href = "restart" > < span class = "ui-button-icon-primary ui-icon ui-icon-power" > < / span > Restart< / a > |
< a href = "#" onclick = "doAjaxCall('checkGithub',$(this))" data-success = "Checking for update successful" data-error = "Error checking for update" > < span class = "ui-icon ui-icon-refresh" > < / span > Check for new version< / a >
< / small >
< / div >
2013-02-06 19:55:23 +00:00
< div id = "donate" >
2014-12-20 17:12:46 +00:00
%if mylar.DONATEBUTTON:
< a href = "config#donate" > < img src = "interfaces/default/images/donate.png" height = "25" width = "120" > < / a >
%endif
2013-02-06 19:55:23 +00:00
< a href = "https://twitter.com/mylarcomics" class = "twitter-follow-button" data-show-count = "false" > @mylarcomics< / a >
< script > ! function ( d , s , id ) { var js , fjs = d . getElementsByTagName ( s ) [ 0 ] ; if ( ! d . getElementById ( id ) ) { js = d . createElement ( s ) ; js . id = id ; js . src = "//platform.twitter.com/widgets.js" ; fjs . parentNode . insertBefore ( js , fjs ) ; } } ( document , "script" , "twitter-wjs" ) ; < / script >
< / div >
2012-09-13 15:27:34 +00:00
< div id = "version" >
Version: < em > ${mylar.CURRENT_VERSION}< / em >
%if version.MYLAR_VERSION != 'master':
(${version.MYLAR_VERSION})
%endif
FIX: (#746) updated autoProcessComics.py / ComicRN.py's which will now send proper completion messeages to clients, FIX: (#752) refresh series will now test if a series is 'out of whack' with it's numerical issue count (ie. 5/4) or it has no issue data due to a bad refresh / api maxing out and will adjust it's processing to accomodate either, IMP: (#750) Added ComicVine API Checker which will check API counts at regular intervals to inform/warn users of usage, as well as adding a screen-time display of API hits / mins used at the bottom of every page (refreshing/reloading pages will update counts), FIX: (#747)EOL normalization (dos2unix) on search.py - removed classes & exceptions as not being used, IMP: (#747) Skip processing issues with an invalid store date & issue date (thnx rupaschomaker), FIX: Removed strings when searching/logging torrents as was causing ascii errors especially with KAT, IMP: Added [META-TAGGING] to logging for meta-tagging module, IMP: Added ability in GUI to select CR or Cbl tags (or both) when writing metadata to cbz files, IMP: Improved support/usage with ComicTagger v1.1.15 which allows for personal CV API Key usage - if supplied to Mylar, will use when tagging with ComicTagger, IMP: Added Manual Search option to allow for individual searches of issues without changing initial status.
2014-06-18 19:58:19 +00:00
< br / >
API Usage: ${cvapi_check(True)}
2012-09-13 15:27:34 +00:00
< / div >
< / footer >
< a href = "#main" id = "toTop" > < span > Back to top< / span > < / a >
< / div >
2013-10-01 18:37:42 +00:00
< script src = "http://code.jquery.com/jquery-1.9.1.js" > < / script >
<!-- <script src="http://code.jquery.com/ui/1.10.3/jquery - ui.js"></script> -->
2012-09-13 15:27:34 +00:00
< script src = "js/libs/jquery-1.7.2.min.js" > < / script >
2013-10-01 18:37:42 +00:00
< script src = "js/libs/jquery-ui.min.js" > < / script >
2012-09-13 15:27:34 +00:00
${next.javascriptIncludes()}
< script src = "js/plugins.js" > < / script >
< script src = "interfaces/default/js/script.js" > < / script >
<!-- [if lt IE 7 ]>
< script src = "js/libs/dd_belatedpng.js" > < / script >
< script > DD _belatedPNG . fix ( 'img, .png_bg' ) ; < / script >
<![endif]-->
<!-- This template is made by Elmar Kouwenhoven -->
< / body >
< / html >
< %def name="javascriptIncludes()">< /%def>
< %def name="headIncludes()">< /%def>
< %def name="headerIncludes()">< /%def>