diff --git a/mem/__init__.py b/mem/__init__.py index ff44d4c..8af79dd 100644 --- a/mem/__init__.py +++ b/mem/__init__.py @@ -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 diff --git a/static/icons/0.svg b/static/icons/0.svg new file mode 100644 index 0000000..3d0c51b --- /dev/null +++ b/static/icons/0.svg @@ -0,0 +1,12 @@ + + + + + + + + + + \ No newline at end of file diff --git a/static/icons/1.svg b/static/icons/1.svg new file mode 100644 index 0000000..872b135 --- /dev/null +++ b/static/icons/1.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/icons/2.svg b/static/icons/2.svg new file mode 100644 index 0000000..ca47c42 --- /dev/null +++ b/static/icons/2.svg @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/static/icons/3.svg b/static/icons/3.svg new file mode 100644 index 0000000..2820b8e --- /dev/null +++ b/static/icons/3.svg @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/static/icons/4.svg b/static/icons/4.svg new file mode 100644 index 0000000..6fa8a8e --- /dev/null +++ b/static/icons/4.svg @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/static/icons/5.svg b/static/icons/5.svg new file mode 100644 index 0000000..b76d638 --- /dev/null +++ b/static/icons/5.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/icons/6.svg b/static/icons/6.svg new file mode 100644 index 0000000..917a2a9 --- /dev/null +++ b/static/icons/6.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/icons/7.svg b/static/icons/7.svg new file mode 100644 index 0000000..04560ee --- /dev/null +++ b/static/icons/7.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/icons/8.svg b/static/icons/8.svg new file mode 100644 index 0000000..4c59526 --- /dev/null +++ b/static/icons/8.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/icons/9.svg b/static/icons/9.svg new file mode 100644 index 0000000..0b91ca6 --- /dev/null +++ b/static/icons/9.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/placeholder.svg b/static/placeholder.svg deleted file mode 100644 index e7d6ed8..0000000 --- a/static/placeholder.svg +++ /dev/null @@ -1,2 +0,0 @@ - - Placeholder \ No newline at end of file diff --git a/templates/home.html b/templates/home.html index 4587618..4911bb5 100644 --- a/templates/home.html +++ b/templates/home.html @@ -11,16 +11,15 @@ crossorigin="anonymous"> - + {% for s in services %} -
+

{{s.label}}

-
- +
+