Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fc-pregmod
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pregmodfan
fc-pregmod
Commits
04d60d8f
Commit
04d60d8f
authored
6 years ago
by
lowercasedonkey
Browse files
Options
Downloads
Patches
Plain Diff
Show number of assigned slaves on tabs
parent
fb0e660f
No related branches found
No related tags found
1 merge request
!4031
Show number of assigned slaves on tabs
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/uncategorized/main.tw
+86
-11
86 additions, 11 deletions
src/uncategorized/main.tw
with
86 additions
and
11 deletions
src/uncategorized/main.tw
+
86
−
11
View file @
04d60d8f
...
@@ -106,20 +106,95 @@ __''MAIN MENU''__ //[[Summary Options]]//
...
@@ -106,20 +106,95 @@ __''MAIN MENU''__ //[[Summary Options]]//
<body>
<body>
<div class="tab">
<div class="tab">
<<set _penthouseSlaves = 0>>
<<if $useSlaveSummaryOverviewTab == 1>>
<<if $useSlaveSummaryOverviewTab == 1>>
<button class="tablinks" onclick="opentab(event, 'overview')" id="tab overview">Overview</button>
<button class="tablinks" onclick="opentab(event, 'overview')" id="tab overview">Overview</button>
<</if>>
<</if>>
<button class="tablinks" onclick="opentab(event, 'resting')" id="tab resting">Resting</button>
<button class="tablinks" onclick="opentab(event, 'resting')" id="tab resting">
<button class="tablinks" onclick="opentab(event, 'stay confined')" id="tab stay confined">Confined</button>
Resting
<button class="tablinks" onclick="opentab(event, 'take classes')" id="tab take classes">Students</button>
<<if $JobIDArray['rest'].length > 0>>
<button class="tablinks" onclick="opentab(event, 'please you')" id="tab please you">Fucktoys</button>
<<print " (" + $JobIDArray['rest'].length + ")">>
<button class="tablinks" onclick="opentab(event, 'whore')" id="tab whore">Whores</button>
<<set _penthouseSlaves += $JobIDArray['rest'].length>>
<button class="tablinks" onclick="opentab(event, 'serve the public')" id="tab serve the public">Public Servants</button>
<</if>>
<button class="tablinks" onclick="opentab(event, 'be a servant')" id="tab be a servant">Servants</button>
</button>
<button class="tablinks" onclick="opentab(event, 'get milked')" id="tab milked">Cows</button>
<button class="tablinks" onclick="opentab(event, 'stay confined')" id="tab stay confined">
<button class="tablinks" onclick="opentab(event, 'work a glory hole')" id="tab work a glory hole">Gloryhole</button>
Confined
<button class="tablinks" onclick="opentab(event, 'be a subordinate slave')" id="tab be a subordinate slave">Subordinate slaves</button>
<<if $JobIDArray['stay confined'].length > 0>>
<button class="tablinks" onclick="opentab(event, 'all')" id="tab all">All</button>
<<print " (" + $JobIDArray['stay confined'].length + ")">>
<<set _penthouseSlaves += $JobIDArray['stay confined'].length>>
<</if>>
</button>
<button class="tablinks" onclick="opentab(event, 'take classes')" id="tab take classes">
Students
<<if $JobIDArray['take classes'].length > 0>>
<<print " (" + $JobIDArray['take classes'].length + ")">>
<<set _penthouseSlaves += $JobIDArray['take classes'].length>>
<</if>>
</button>
<button class="tablinks" onclick="opentab(event, 'please you')" id="tab please you">
Fucktoys
<<if $JobIDArray['please you'].length > 0>>
<<print " (" + $JobIDArray['please you'].length + ")">>
<<set _penthouseSlaves += $JobIDArray['please you'].length>>
<</if>>
</button>
<button class="tablinks" onclick="opentab(event, 'whore')" id="tab whore">
Whores
<<if $JobIDArray['whore'].length > 0>>
<<print " (" + $JobIDArray['whore'].length + ")">>
<<set _penthouseSlaves += $JobIDArray['whore'].length>>
<</if>>
</button>
<button class="tablinks" onclick="opentab(event, 'serve the public')" id="tab serve the public">
Public Servants
<<if $JobIDArray['serve the public'].length > 0>>
<<print " (" + $JobIDArray['serve the public'].length + ")">>
<<set _penthouseSlaves += $JobIDArray['serve the public'].length>>
<</if>>
</button>
<button class="tablinks" onclick="opentab(event, 'be a servant')" id="tab be a servant">
Servants
<<if $JobIDArray['be a servant'].length > 0>>
<<print " (" + $JobIDArray['be a servant'].length + ")">>
<<set _penthouseSlaves += $JobIDArray['be a servant'].length>>
<</if>>
</button>
<button class="tablinks" onclick="opentab(event, 'get milked')" id="tab milked">
Cows
<<if $JobIDArray['get milked'].length > 0>>
<<print " (" + $JobIDArray['get milked'].length + ")">>
<<set _penthouseSlaves += $JobIDArray['get milked'].length>>
<</if>>
</button>
<button class="tablinks" onclick="opentab(event, 'work a glory hole')" id="tab work a glory hole">
Gloryhole
<<if $JobIDArray['work a glory hole'].length > 0>>
<<print " (" + $JobIDArray['work a glory hole'].length + ")">>
<<set _penthouseSlaves += $JobIDArray['work a glory hole'].length>>
<</if>>
</button>
<button class="tablinks" onclick="opentab(event, 'be a subordinate slave')" id="tab be a subordinate slave">
Subordinate slaves
<<if $JobIDArray['be a subordinate slave'].length > 0>>
<<print " (" + $JobIDArray['be a subordinate slave'].length + ")">>
<<set _penthouseSlaves += $JobIDArray['be a subordinate slave'].length>>
<</if>>
</button>
<button class="tablinks" onclick="opentab(event, 'all')" id="tab all">
All
<<if _penthouseSlaves > 0>>
<<if $Headgirl != 0>>
<<set _penthouseSlaves++>>
<</if>>
<<if $Recruiter != 0>>
<<set _penthouseSlaves++>>
<</if>>
<<if $Bodyguard != 0>>
<<set _penthouseSlaves++>>
<</if>>
<<print " (" + _penthouseSlaves + ")">>
<</if>>
</button>
</div>
</div>
<div id="overview" class="tabcontent">
<div id="overview" class="tabcontent">
...
...
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