mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
theme: Move icons to app folders
- This improves modularity. Each app brings its own icons in its directory instead of a centralized directory. Tests: - Install an app and notice that the installation notification has the icon. - Visit an app's page in Apps and System (cockpit) section and ensure that the app's icon is being shown. - Visit the Apps and System section and notice that apps' icons are being shown. - Visit the home page and notice that shortcuts' icons are being shown. - Visit the URL /plinth/api/0/shortcuts and notice that the URLs for icons are accessible and lead to proper icon files. - Build developer documentation and notice that Tutorial -> View and Reference > Menu pages show the expected updates. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
f30c028289
commit
ac3754fa2f
79 files changed
+103
-81
No files matched your search
@@ -64,8 +64,8 @@ menu item we want to present.
|
||||
* The third parameter is a short description for the menu item.
|
||||
|
||||
* The fourth parameter is the name of the icon to use when showing the menu
|
||||
item. An SVG file and a PNG should be created in the ``static/theme/icons/``
|
||||
directory.
|
||||
item. An SVG file and a PNG should be created in the
|
||||
``plinth/modules/transmission/static/icons/`` directory.
|
||||
|
||||
* The fifth parameter is the URL that the user should be directed to when the
|
||||
menu item is clicked. This is a Django URL name and we have already created a
|
||||
|
||||
Reference in new issue
Block a user