Skip to content

Commit 0dd5482

Browse files
1 parent effcacd commit 0dd5482

6 files changed

Lines changed: 121 additions & 265 deletions

File tree

‎appdata/settings.html‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@
104104
text-overflow: ellipsis;
105105
opacity: 0.7;
106106
font-family: inherit;
107+
display: flex;
108+
flex-direction: row;
109+
align-items: center;
107110
}
108111

109112
/* Change background color of buttons on hover */
@@ -113,9 +116,10 @@
113116
}
114117

115118
.tab button i {
116-
font-size: 10px;
117119
transform: translate(-6px, 0px) scale(1.5);
118120
margin-left: 10px;
121+
font-size: 12px;
122+
margin-right: 3px;
119123
}
120124

121125
.advancedsettab {

‎index.html‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,9 @@ <h2 id="notifTitle">...</h2>
171171
</biv>
172172
</your>
173173
<info navobj>
174+
<div id="panels">
175+
176+
</div>
174177
<div id="batterydisdiv" class="navmalobj">
175178
<span id="battery-p-display">
176179
</span>

‎panelData/time.js‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
ntxPanel.greenflag = async function() {
2+
await ntx.sysUI.toast("hi");
3+
ntx.panel.setHTML(``);
4+
}
5+
ntxPanel.onPanelClick = function() {
6+
ntx.sysUI.toast("damn");
7+
}
8+
ntxPanel.getInfo = function() {
9+
return {
10+
"name":"hi app"
11+
};
12+
}

‎script.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2094,6 +2094,7 @@ document.addEventListener("DOMContentLoaded", async function () {
20942094
"scripts/dompurify.js",
20952095
"scripts/scripties.js",
20962096
"scripts/windman.js",
2097+
"scripts/panels.js",
20972098
"scripts/ntx.js"
20982099
];
20992100

0 commit comments

Comments
 (0)