Added bunch tiles, more to add
This commit is contained in:
ben
2022-12-31 01:46:55 +00:00
parent efc156689f
commit f5250e0584
54 changed files with 89 additions and 46 deletions
+9
View File
@@ -1,6 +1,7 @@
import asyncio
from fastapi import APIRouter
from fastapi.staticfiles import StaticFiles
from lnbits.db import Database
from lnbits.helpers import template_renderer
@@ -11,6 +12,14 @@ db = Database("ext_events")
events_ext: APIRouter = APIRouter(prefix="/events", tags=["Events"])
events_static_files = [
{
"path": "/events/static",
"app": StaticFiles(packages=[("lnbits", "extensions/events/static")]),
"name": "events_static",
}
]
def events_renderer():
return template_renderer(["lnbits/extensions/events/templates"])
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "Events",
"short_description": "Sell and register event tickets",
"icon": "local_activity",
"tile": "./events/static/image/events.png",
"contributors": ["benarc"]
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB