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
+8
View File
@@ -1,4 +1,5 @@
from fastapi import APIRouter
from fastapi.staticfiles import StaticFiles
from lnbits.db import Database
from lnbits.helpers import template_renderer
@@ -11,5 +12,12 @@ hivemind_ext: APIRouter = APIRouter(prefix="/hivemind", tags=["hivemind"])
def hivemind_renderer():
return template_renderer(["lnbits/extensions/hivemind/templates"])
hivemind_static_files = [
{
"path": "/hivemind/static",
"app": StaticFiles(packages=[("lnbits", "extensions/hivemind/static")]),
"name": "hivemind_static",
}
]
from .views import * # noqa
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "Hivemind",
"short_description": "Make cheap talk expensive!",
"icon": "batch_prediction",
"tile": "./hivemind/static/image/hivemind.png",
"contributors": ["fiatjaf"]
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB