initial
Added bunch tiles, more to add
This commit is contained in:
@@ -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,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 |
Reference in New Issue
Block a user