mirror of
https://github.com/StefBuwalda/dashboard_test.git
synced 2025-10-30 03:09:59 +00:00
Updated frontend and changed a little backend
Added svg icons to the applications. Frontend will display the icon by name of [id].[icon_filetype] which defaults to svg. Able to set to other filetypes. Changed the frontend to center the application
This commit is contained in:
@@ -9,7 +9,7 @@ class service:
|
||||
public: bool
|
||||
error: Optional[str]
|
||||
ping: Optional[int]
|
||||
icon_filetype: Optional[str]
|
||||
icon_filetype: str
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
@@ -17,7 +17,7 @@ class service:
|
||||
url: str = "",
|
||||
label: str = "",
|
||||
public: bool = True,
|
||||
icon_filetype: Optional[str] = None,
|
||||
icon_filetype: str = "svg",
|
||||
):
|
||||
self.id = id
|
||||
self.url = url
|
||||
|
||||
Reference in New Issue
Block a user