This repository has been archived by the owner on May 12, 2022. It is now read-only.
forked from Asmor/5e-monsters
-
Notifications
You must be signed in to change notification settings - Fork 7
/
sheet-check.html
executable file
·114 lines (110 loc) · 4.95 KB
/
sheet-check.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
<!DOCTYPE html>
<html ng-app="app">
<head>
<title>KFC Sheet Checker</title>
<meta charset="utf-8">
<style>
tr[data-severity="fail"] {
color: red;
}
tr[data-severity="warn"] {
color: goldenrod;
}
tr[data-severity="good"] {
color: green;
}
.notice {
padding-bottom: 20px;
}
</style>
</head>
<body>
<script src="thirdparty/angular/angular.js"></script>
<script src="sheetchecker.js"></script>
<script id="sheet-checker-template" language="template/angular">
<div ng-if="viaSharable">
<h1>IMPORTANT</h1>
<div class="notice">
If you usually use the secure HTTPS version of KFC, you'll need to use an HTTPS link to load this content, and vice versa. You're currently looking at the {{ secureType }} version.
<a ng-href="{{ otherTypeLink }}">Switch to {{ otherType }}</a>
</div>
</div>
<input ng-model="name" placeholder="Name (optional)">
<input ng-model="sheetId" placeholder="Sheet ID or URL">
<button ng-click="test()">Test</button>
<button ng-click="add()" ng-disabled="untested || !name">Add to KFC {{ name ? "" : "(requires name)"}}</button>
<div ng-if="sharableLink && !untested">
Sharable link: <a href="{{ sharableLink }}">{{ sharableLink }}</a>
</div>
<table>
<tr
ng-repeat="message in messages"
data-severity="{{ message.severity }}"
>
<td ng-if="message.message" colspan="4">{{ message.message }}</td>
<td ng-if="!message.message">{{ message.fid }}</td>
<td ng-if="!message.message">{{ message.field }}</td>
<td ng-if="!message.message">{{ message.reason }}</td>
<td ng-if="!message.message">{{ message.value }}</td>
</tr>
</table>
</script>
<script src="app/meta/alignments.js"></script>
<script src="app/meta/crInfo.js"></script>
<script src="app/services/misc.service.js"></script>
<script src="app/services/monsters.service.js"></script>
<script src="app/services/sheet-loader.service.js"></script>
<script src="scripts/monsterfactory.js"></script>
<sheet-checker></sheet-checker>
<!--
<script src="app/app.module.js"></script>
<script src="app/app.routes.js"></script>
<script src="app/battle-setup/battle-setup.controller.js"></script>
<script src="app/battle-setup/combatant-setup.component.js"></script>
<script src="app/battle-setup/combatant-setup.controller.js"></script>
<script src="app/battle-tracker/battle-tracker.controller.js"></script>
<script src="app/battle-tracker/combatant.component.js"></script>
<script src="app/common/constants.js"></script>
<script src="app/common/difficulty-legend.component.js"></script>
<script src="app/common/number-input.controller.js"></script>
<script src="app/common/number-input.directive.js"></script>
<script src="app/encounter-builder/current-encounter.component.js"></script>
<script src="app/encounter-builder/current-encounter.controller.js"></script>
<script src="app/encounter-builder/encounter-builder.controller.js"></script>
<script src="app/encounter-builder/group-info.component.js"></script>
<script src="app/encounter-builder/group-info.controller.js"></script>
<script src="app/encounter-builder/monster-table.component.js"></script>
<script src="app/encounter-builder/monster-table.controller.js"></script>
<script src="app/encounter-builder/party-level-selector.component.js"></script>
<script src="app/encounter-builder/party-level-selector.controller.js"></script>
<script src="app/encounter-builder/search.component.js"></script>
<script src="app/encounter-builder/search.controller.js"></script>
<script src="app/encounter-manager/encounter-manager.controller.js"></script>
<script src="app/encounter-manager/manager-row.component.js"></script>
<script src="app/encounter-manager/manager-row.controller.js"></script>
<script src="app/filters/filter-and-sort-monsters.filter.js"></script>
<script src="app/filters/positive-and-negative-numbers.filter.js"></script>
<script src="app/filters/sort-encounter.filter.js"></script>
<script src="app/meta/player-levels.js"></script>
<script src="app/navbar/navbar.component.js"></script>
<script src="app/players/edit-players.controller.js"></script>
<script src="app/players/manage-players.controller.js"></script>
<script src="app/players/players.controller.js"></script>
<script src="app/services/actionQueue.service.js"></script>
<script src="app/services/combat.service.js"></script>
<script src="app/services/encounter.service.js"></script>
<script src="app/services/integration.service.js"></script>
<script src="app/services/library.service.js"></script>
<script src="app/services/metaInfo.service.js"></script>
<script src="app/services/party-info.service.js"></script>
<script src="app/services/players.service.js"></script>
<script src="app/services/randomencounter.service.js"></script>
<script src="app/services/sources.service.js"></script>
<script src="app/services/store.service.js"></script>
<script src="app/test.controller.js"></script>
<script src="app/util/logger.js"></script>
<script src="app/util/router-helper.provider.js"></script>
<script src="app/util/shuffle.js"></script>
-->
</body>
</html>