-
-
Notifications
You must be signed in to change notification settings - Fork 62
/
blacklist.html
228 lines (191 loc) · 8.25 KB
/
blacklist.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="description" content="">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>Content Blacklist - Pf2eTools</title>
<!--PF2ETOOLS_SCRIPT_HEAD_ANCHOR-->
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/jquery-ui.css">
<link rel="stylesheet" href="css/jquery-ui-slider-pips.css">
<link rel="stylesheet" href="css/style.css">
<!-- Embeds -->
<meta content="Pf2eTools" property="og:site_name">
<meta content="Content Blacklist" property="og:title">
<meta content="https://pf2etools.com/favicon-256x256.png" property="og:image">
<!-- Favicons -->
<link rel="icon" type="image/svg+xml" href="favicon.svg">
<link rel="icon" type="image/png" sizes="256x256" href="favicon-256x256.png">
<link rel="icon" type="image/png" sizes="144x144" href="favicon-144x144.png">
<link rel="icon" type="image/png" sizes="128x128" href="favicon-128x128.png">
<link rel="icon" type="image/png" sizes="64x64" href="favicon-64x64.png">
<link rel="icon" type="image/png" sizes="48x48" href="favicon-48x48.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png">
<!-- Chrome Web App Icons -->
<link rel="manifest" href="manifest.webmanifest">
<meta name="application-name" content="Pf2eTools">
<meta name="theme-color" content="#5E0000">
<!-- Windows Start Menu tiles -->
<meta name="msapplication-config" content="browserconfig.xml"/>
<meta name="msapplication-TileColor" content="#5E0000">
<!-- Apple Touch Icons -->
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon-180x180.png">
<link rel="apple-touch-icon" sizes="360x360" href="apple-touch-icon-360x360.png">
<link rel="apple-touch-icon" sizes="167x167" href="apple-touch-icon-167x167.png">
<link rel="apple-touch-icon" sizes="152x152" href="apple-touch-icon-152x152.png">
<link rel="apple-touch-icon" sizes="120x120" href="apple-touch-icon-120x120.png">
<meta name="apple-mobile-web-app-title" content="Pf2eTools">
<!-- macOS Safari Pinned Tab and Touch Bar -->
<link rel="mask-icon" href="safari-pinned-tab.svg" color="#5E0000">
<!-- OpenSearch -->
<link rel="search" href="open-search.xml" title="Search Pf2eTools" type="application/opensearchdescription+xml">
<script type="text/javascript" src="sw-injector.js"></script>
<script src="js/styleswitch.js"></script>
<script src="js/navigation.js"></script>
<script src="js/browsercheck.js"></script>
<style>
.intro {
padding: 0 2em;
margin-top: 2em;
}
.intro p:last-child {
margin-bottom: 0;
}
.subtitle {
margin-top: -10px;
margin-bottom: 10px;
}
.source,
.category,
.name {
line-height: 22px;
}
.btn-offset {
margin-left: 1em;
}
</style>
</head>
<body>
<header class="hidden-xs hidden-sm page__header">
<div class="container">
<h1 class="page__title">Content Blacklist</h1>
<p class="page__subtitle">Exclude content and export configurations.</p>
</div>
</header>
<nav class="container page__nav" id="navigation">
<ul class="nav nav-pills page__nav-inner" id="navbar"></ul>
</nav>
<main class="container" id="main_content">
<div class="row intro">
<p>
This page allows you to create configurations which "blacklist" site content, hiding it from list
pages.
This can be used, for example, in conjunction with homebrew content, to create a campaign JSON file
containing additions to the base game,
as well as the removal of extraneous content.
</p>
<p><i class="text-muted">
With great power comes great responsibility. If you are a GM intending to use this system to remove parts of
the game you
consider broken; inconvenient; or otherwise in need of adjustment, please first consider the needs and
expectations of your players,
as well as the extensive playtesting and design iteration of which 2nd Edition was the result.
If something is in the game, it is probably there for a reason.
</i></p>
</div>
<hr>
<div class="row">
<div class="form-group col-12">
<button class="btn btn-default mr-2 mt-2" onclick="Blacklist.addAllNonStandard()">Exclude All Non-Standard Sources</button>
<button class="btn btn-default mr-2 mt-2" onclick="Blacklist.removeAllNonStandard()">Include All Non-Standard Sources</button>
<button class="btn btn-default mr-2 mt-2" onclick="Blacklist.addAllAdventures()">Exclude All Adventures</button>
<button class="btn btn-default mr-2 mt-2" onclick="Blacklist.removeAllAdventures()">Include All Adventures</button>
<button class="btn btn-default mr-2 mt-2" onclick="Blacklist.addAllSources()">Exclude All Sources</button>
<button class="btn btn-default mt-2" onclick="Blacklist.removeAllSources()">Include All Sources</button>
</div>
</div>
<div class="row">
<div class="form-group col-3">
<label for="bl-source">Source</label>
<select class="loading form-control form-inline" id="bl-source" disabled>
<option class="loading-temp" value="loading">Loading...</option>
<option value="*">*</option>
</select>
</div>
<div class="form-group col-3">
<label for="bl-category">Category</label>
<select class="loading form-control form-inline" id="bl-category" disabled>
<option class="loading-temp" value="loading">Loading...</option>
<option value="*">*</option>
</select>
</div>
<div class="form-group col-3">
<label for="bl-name">Name</label>
<select class="loading form-control form-inline" id="bl-name" disabled>
<option class="loading-temp" value="loading">Loading...</option>
<option value="*">*</option>
</select>
</div>
<div class="form-group col-3">
<div style="padding-top: 25px;">
<button class="loading btn btn-default" onclick="Blacklist.add()" disabled>Add Exclusion</button>
</div>
</div>
</div>
<div class="row">
<div class="form-group col-12">
<button class="btn btn-default" onclick="Blacklist.export()">Export List</button>
<button class="btn btn-default" onclick="Blacklist.import(event)" title="SHIFT for Add Only">Import List
</button>
<button class="btn btn-danger btn-offset" onclick="window.confirm('Are you sure?') && Blacklist.reset()">
Reset List
</button>
</div>
</div>
<hr>
<h4>Exclusion List</h4>
<div class="text-muted subtitle"><i>Rows marked with a star (*) in a field match everything in that field</i></div>
<div class="row" id="listcontainer">
<div class="lst__form-top" id="filter-search-group">
<div class="w-100 relative">
<input type="search" id="search" autocomplete="off" autocapitalize="off" spellcheck="false"
class="search form-control lst__search lst__search--no-border-h">
<div class="lst__wrp-search-glass no-events flex-vh-center"><span
class="glyphicon glyphicon-search" type="submit"></span></div>
<div class="lst__wrp-search-visible no-events flex-vh-center"></div>
</div>
<button class="btn btn-default" id="reset">Reset Search</button>
</div>
<div id="filtertools" class="input-group input-group--bottom flex no-shrink">
<button class="col-5 sort btn btn-default btn-xs ve-grow" data-sort="source">Source</button>
<button class="col-3 sort btn btn-default btn-xs" data-sort="category">Category</button>
<button class="col-3 sort btn btn-default btn-xs" data-sort="name">Name</button>
<button class="col-1 sort btn btn-default btn-xs" disabled> </button>
</div>
<ul class="list-display-only blacklist"></ul>
</div>
</main>
<!--PF2ETOOLS_SCRIPT_ANCHOR-->
<script src="lib/jquery.js"></script>
<script src="js/scalecreature.js"></script>
<script src="lib/jquery-ui.js"></script>
<script src="lib/jquery-ui-slider-pip.js"></script>
<script src="js/parser.js"></script>
<script src="js/utils.js"></script>
<script src="js/utils-ui.js"></script>
<script src="lib/localforage.js"></script>
<script src="js/omnidexer.js"></script>
<script src="js/omnisearch.js"></script>
<script src="js/filter.js"></script>
<script src="js/render.js"></script>
<script src="js/render-dice.js"></script>
<script src="js/hist.js"></script>
<script src="js/blacklist.js"></script>
<script src="js/list2.js"></script>
<script src="lib/elasticlunr.js"></script>
</body>
</html>