forked from ariestae/5etools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
blacklist.html
152 lines (128 loc) · 5.02 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
<!DOCTYPE html>
<html lang="en">
<head>
<!--5ETOOLS_VERSION-->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Content Blacklist - 5etools</title>
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/style.css">
<link rel="icon" href="favicon.png">
<script type="text/javascript" src="lib/js-cookie.js"></script>
<script type="text/javascript" src="js/styleswitch.js"></script>
<script type="text/javascript" src="js/navigation.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">
<div class="container">
<h1>Content Blacklist</h1>
<p>Exclude content and export configurations</p>
</div>
</header>
<nav class="container" id="navigation">
<ul class="nav nav-pills" id="navbar">
</ul>
</nav>
<main class="container bodyContent">
<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're a DM 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 iterations of which 5th Edition was the result.
If something is in the game, it's probably there for a reason.
</i></p>
</div>
<hr>
<div class="row">
<div class="form-group col-xs-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-xs-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-xs-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-xs-3">
<div style="padding-top: 25px;">
<button type="button" class="loading btn btn-default" onclick="Blacklist.add()" disabled>Add Exclusion</button>
</div>
</div>
</div>
<div class="row">
<div class="form-group col-xs-12">
<button type="button" class="btn btn-default" onclick="Blacklist.export()">Export List</button>
<button type="button" class="btn btn-default" onclick="Blacklist.import(event)" title="SHIFT for Add Only">Import List</button>
<button type="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="input-group" id="filter-search-input-group">
<input type="search" id="search" class="search form-control" placeholder="Find content...">
<span class="input-group-btn">
<button class="btn btn-default" type="button" id="reset">Reset Search</button>
</span>
</div>
<div id="filtertools" class="sortlabel btn-group">
<button class="col-xs-3 sort btn btn-default btn-xs" type="button" data-sort="source">Source</button>
<button class="col-xs-3 sort btn btn-default btn-xs" type="button" data-sort="category">Category</button>
<button class="col-xs-3 sort btn btn-default btn-xs" type="button" data-sort="name">Name</button>
<button class="col-xs-3 sort btn btn-default btn-xs" type="button" disabled> </button>
</div>
<ul class="list-display-only blacklist"></ul>
</div>
</main>
<footer class="container">
</footer> <!--5ETOOLS_SCRIPT_ANCHOR-->
<script type="text/javascript" src="lib/jquery.js"></script>
<script type="text/javascript" src="js/utils.js"></script>
<script type="text/javascript" src="js/omnisearch.js"></script>
<script type="text/javascript" src="js/entryrender.js"></script>
<script type="text/javascript" src="js/blacklist.js"></script>
<script type="text/javascript" src="lib/list.js"></script>
<script type="text/javascript" src="lib/bootstrap.js"></script>
<script type="text/javascript" src="lib/elasticlunr.js"></script>
</body>
</html>