mirror of
https://github.com/Astatin3/Polyboard.git
synced 2026-06-09 00:28:07 -06:00
Things almost done
This commit is contained in:
@@ -0,0 +1 @@
|
||||
<p>Test123123!</p>
|
||||
@@ -0,0 +1,11 @@
|
||||
<p>Test!</p>
|
||||
<button id="testButton" onclick="testFunc()">test!</button>
|
||||
<script>
|
||||
function getel(el) {return document.getElementById(el)}
|
||||
|
||||
function testFunc() {
|
||||
window.sendRaw('test1', {
|
||||
data: 'test!'
|
||||
})
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,10 @@
|
||||
from modules.main import test as test
|
||||
|
||||
def test1(ac, data):
|
||||
print(ac)
|
||||
print(data)
|
||||
|
||||
def main(mm):
|
||||
# mm.addAuthEventListener('test1', test1)
|
||||
print(mm.rawServer.addEventListener('test1', test1))
|
||||
#mm.rawServer.addEventListener('login', test1)
|
||||
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"name": "main",
|
||||
"creators": ["ASTATIN3"],
|
||||
"version": "1.0",
|
||||
"entrypoint": "modules/main/main.py",
|
||||
"tabs": [
|
||||
{
|
||||
"name": "main",
|
||||
"defaultPage": "dashboard",
|
||||
"pages": [
|
||||
{
|
||||
"type": "page",
|
||||
"name": "dashboard",
|
||||
"location": "modules/main/Dashboard.html"
|
||||
},
|
||||
{
|
||||
"type": "folder",
|
||||
"name": "folder 1",
|
||||
"pages": [
|
||||
{
|
||||
"type": "page",
|
||||
"name": "dashboardcopy",
|
||||
"location": "modules/main/Dashboard-copy.html"
|
||||
},
|
||||
{
|
||||
"type": "folder",
|
||||
"name": "folder 2",
|
||||
"pages": [
|
||||
{
|
||||
"type": "page",
|
||||
"name": "dashboardcopy",
|
||||
"location": "modules/main/Dashboard-copy.html"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
def test():
|
||||
return "testsjdhgkjrhsgkhjertestsjdhgkjrhsgkhjertestsjdhgkjrhsgkhjer"
|
||||
Reference in New Issue
Block a user