Skip to content

Commit 2df2f3b

Browse files
committed
Updates
0 parents  commit 2df2f3b

File tree

5 files changed

+5451
-0
lines changed

5 files changed

+5451
-0
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
dist
2+
package-lock.json
3+
node_modules

appconfig.json

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"appName": "ComponentCounter",
3+
"description": "Tracks materials as they appear in the chat box.",
4+
"appUrl": "./index.html",
5+
"configUrl": "./appconfig.json",
6+
"iconUrl": "./icon.png",
7+
"defaultWidth": 245,
8+
"defaultHeight": 236,
9+
"minWidth": 245,
10+
"requestHandlers": [],
11+
"activators": [],
12+
"permissions": "pixel,gamestate,overlay"
13+
}

icon.png

13.2 KB
Loading

index.html

+107
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<link
5+
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css"
6+
rel="stylesheet"
7+
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH"
8+
crossorigin="anonymous"
9+
/>
10+
<script
11+
src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"
12+
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
13+
crossorigin="anonymous"
14+
></script>
15+
<link rel="stylesheet" type="text/css" href="https://runeapps.org/nis/nis.css" />
16+
<link rel="stylesheet" type="text/css" href="https://runeapps.org/runeappslib.css" />
17+
</head>
18+
<body class="nis">
19+
<div class="container scroll">
20+
<div class="row matHeader">
21+
<div class="col">Materials</div>
22+
<div class="col">Quantity</div>
23+
</div>
24+
<div class="row ancient">
25+
<div class="mats col">
26+
<span style="word-wrap: break-word; white-space: normal; color:white"
27+
>If this message is showing for an extended period of time, then the chatbox reader for Alt1 isn't working due to an update. Please be
28+
patient, and the issue will be fixed as soon as it can!</span
29+
>
30+
</div>
31+
</div>
32+
<div class="row rare">
33+
<div class="mats col"></div>
34+
</div>
35+
<div class="row uncommon">
36+
<div class="mats col"></div>
37+
</div>
38+
<div class="row common">
39+
<div class="mats col"></div>
40+
</div>
41+
<div class="row fixed-bottom">
42+
<div class="row">
43+
<div class="col">
44+
<button class="nisbutton" data-bs-toggle="modal" data-bs-target="#settings" type="button">Settings</button>
45+
</div>
46+
<div class="col">
47+
<div class="row pt-2">
48+
<div class="col">Actions:</div>
49+
<div class="col"><span class="actions">0</span></div>
50+
</div>
51+
</div>
52+
</div>
53+
</div>
54+
</div>
55+
<div class="modal nis" tabindex="-1" role="dialog" id="settings">
56+
<div class="modal-dialog" role="document">
57+
<div class="modal-content">
58+
<div class="modal-header">
59+
<h5 class="modal-title">Settings</h5>
60+
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close">
61+
<span aria-hidden="true">&times;</span>
62+
</button>
63+
</div>
64+
<div class="modal-body">
65+
<div class="row">
66+
<div class="col" title="Allows the user to select the chat box the app should target.">
67+
<h6>Select Chat</h6>
68+
</div>
69+
<div class="col">
70+
<select class="chat">
71+
<option value="">Select Chat</option>
72+
</select>
73+
</div>
74+
</div>
75+
<div class="row">
76+
<div class="col" title="Exports the current data as a CSV file.">
77+
<button class="nisbutton export">CSV Export</button>
78+
</div>
79+
</div>
80+
<div class="row">
81+
<div class="col">
82+
<button class="nisbutton" data-type="reset" data-bs-toggle="collapse" href="#resetApp">Factory Reset</button>
83+
</div>
84+
</div>
85+
<div class="row collapse danger" id="resetApp">
86+
<div class="col">
87+
<div class="row">
88+
<div class="col text-center">This will remove all saved data and set all settings to default. This is irreversable!</div>
89+
</div>
90+
<div class="row">
91+
<div class="col">
92+
<button class="nisbutton clear" data-type="reset" data-bs-toggle="collapse" href="#resetApp">Yes</button>
93+
</div>
94+
<div class="col">
95+
<button class="nisbutton" data-bs-toggle="collapse" href="#resetApp">No</button>
96+
</div>
97+
</div>
98+
</div>
99+
</div>
100+
</div>
101+
</div>
102+
</div>
103+
</div>
104+
105+
<script src="./main.js"></script>
106+
</body>
107+
</html>

main.js

+5,328
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)