Private GIT
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SickRage-1
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vlbox
SickRage-1
Commits
8f89c7ec
Commit
8f89c7ec
authored
Jul 30, 2015
by
Alexis Tyler
Browse files
Options
Downloads
Patches
Plain Diff
home_addExistingShows mako and home_addShows mako
parent
6babc55c
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
gui/slick/interfaces/default/home_addExistingShow.mako
+2
-2
2 additions, 2 deletions
gui/slick/interfaces/default/home_addExistingShow.mako
gui/slick/interfaces/default/home_addShows.mako
+24
-23
24 additions, 23 deletions
gui/slick/interfaces/default/home_addShows.mako
with
26 additions
and
25 deletions
gui/slick/interfaces/default/home_addExistingShow.mako
+
2
−
2
View file @
8f89c7ec
...
...
@@ -7,8 +7,8 @@
global sbPath="../.."
global statpath="../.."
#
global topmenu="home"
#
global statpath="../.."
global topmenu="home"
import os.path
include file=os.path.join(sickbeard.PROG_DIR, "gui/slick/interfaces/default/inc_top.mako")
%>
...
...
This diff is collapsed.
Click to expand it.
gui/slick/interfaces/default/home_addShows.mako
+
24
−
23
View file @
8f89c7ec
#import os.path
#import urllib
#import sickbeard
#set global $title="Add Show"
#set global $header="Add Show"
<%!
import os.path
import urllib
import sickbeard
global title="Add Show"
global header="Add Show"
#set
global
$
sbPath="../.."
global sbPath="../.."
#set
global
$
statpath="../.."
#
#set
global
$
topmenu="home"
#
#
import os.path
global statpath="../.."
global topmenu="home"
import os.path
#
include
$
os.path.join(
$
sickbeard.PROG_DIR, "gui/slick/interfaces/default/inc_top.
tmpl
")
#
if
$varExists('header')
<h1 class="header">$header</h1>
#
else
<h1 class="title">$title</h1>
#
end
if
include os.path.join(sickbeard.PROG_DIR, "gui/slick/interfaces/default/inc_top.
mako
")
%>
%
if
not header is UNDEFINED:
<h1 class="header">$
{
header
}
</h1>
%
else
<h1 class="title">$
{
title
}
</h1>
%
endif
<div id="addShowPortal">
<a href="$sbRoot/home/addShows/newShow/" id="btnNewShow" class="btn btn-large">
<a href="$
{
sbRoot
}
/home/addShows/newShow/" id="btnNewShow" class="btn btn-large">
<div class="button"><div class="icon-addnewshow"></div></div>
<div class="buttontext">
<h3>Add New Show</h3>
...
...
@@ -29,8 +30,8 @@
</a>
<br/><br/>
#
if
$
sickbeard.USE_TRAKT == True:
<a href="$sbRoot/home/addShows/trendingShows/" id="btnNewShow" class="btn btn-large">
%
if sickbeard.USE_TRAKT == True:
<a href="$
{
sbRoot
}
/home/addShows/trendingShows/" id="btnNewShow" class="btn btn-large">
<div class="button"><div class="icon-addtrendingshow"></div></div>
<div class="buttontext">
<h3>Add Trending Show</h3>
...
...
@@ -40,7 +41,7 @@
<br/><br/>
<a href="$sbRoot/home/addShows/recommendedShows/" id="btnNewShow" class="btn btn-large">
<a href="$
{
sbRoot
}
/home/addShows/recommendedShows/" id="btnNewShow" class="btn btn-large">
<div class="button"><div class="icon-addrecommendedshow"></div></div>
<div class="buttontext">
<h3>Add Recommended Shows</h3>
...
...
@@ -49,8 +50,8 @@
</a>
<br/><br/>
#
end
if
<a href="$sbRoot/home/addShows/existingShows/" id="btnExistingShow" class="btn btn-large">
%
endif
<a href="$
{
sbRoot
}
/home/addShows/existingShows/" id="btnExistingShow" class="btn btn-large">
<div class="button"><div class="icon-addexistingshow"></div></div>
<div class="buttontext">
<h3>Add Existing Shows</h3>
...
...
@@ -61,4 +62,4 @@
</div>
#
include
$
os.path.join(
$
sickbeard.PROG_DIR,"gui/slick/interfaces/default/inc_bottom.
tmpl
")
%
include
file=
os.path.join(sickbeard.PROG_DIR,
"gui/slick/interfaces/default/inc_bottom.
mako
")
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment