Update AvWeb and add Licenses
This commit is contained in:
@@ -1,3 +1,20 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
# avalon-bbs avalon.py
|
||||
# Copyright (C) 2026 The Avalon Team <avalon@icolotl.com>
|
||||
|
||||
# This program is free software: you can redistribute it and/or modify it under
|
||||
# the terms of the GNU Affero General Public License as published by the Free
|
||||
# Software Foundation, either version 3 of the License, or (at your option) any
|
||||
# later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU Affero General Public License along
|
||||
# with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from avdefs import AccountType
|
||||
|
||||
class AvalonConnection:
|
||||
|
||||
@@ -1,3 +1,20 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
# avalon-bbs avdefs.py
|
||||
# Copyright (C) 2026 The Avalon Team <avalon@icolotl.com>
|
||||
|
||||
# This program is free software: you can redistribute it and/or modify it under
|
||||
# the terms of the GNU Affero General Public License as published by the Free
|
||||
# Software Foundation, either version 3 of the License, or (at your option) any
|
||||
# later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU Affero General Public License along
|
||||
# with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from enum import Enum, auto
|
||||
|
||||
class AccountType(Enum):
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
from flask import Flask
|
||||
|
||||
app = Flask(__name__)
|
||||
11
web/index.html
Normal file
11
web/index.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Avalon BBS</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<script src="script.js" defer></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Avalon BBS</h1>
|
||||
</body>
|
||||
</html>
|
||||
16
web/script.js
Normal file
16
web/script.js
Normal file
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* avalon-bbs script.js
|
||||
* Copyright (C) 2026 The Avalon Team <avalon@icolotl.com>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License as published by the Free
|
||||
* Software Foundation, either version 3 of the License, or (at your option) any
|
||||
* later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License along
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
4
web/style.css
Normal file
4
web/style.css
Normal file
@@ -0,0 +1,4 @@
|
||||
html {
|
||||
background-color: #222;
|
||||
color: #f0a;
|
||||
}
|
||||
Reference in New Issue
Block a user