mirror of
https://github.com/TheBinaryNinja/tvapp2.git
synced 2026-06-04 13:05:41 -04:00
docs: add healthcheck page
This commit is contained in:
1
docs/material/overrides/.icons/aetherx/axd/volume.svg
Normal file
1
docs/material/overrides/.icons/aetherx/axd/volume.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Pro 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2024 Fonticons, Inc. --><defs><style>.fa-secondary{opacity:.4}</style></defs><path class="fa-secondary" d="M0 96C0 60.7 28.7 32 64 32l384 0c35.3 0 64 28.7 64 64l0 224c0 5.5-.7 10.8-2 16c-3.6-13.8-11.6-25.8-22.5-34.4c-5.4-4.3-11.6-7.7-18.2-10c-3.3-1.2-6.8-2.1-10.3-2.7c-1.8-.3-3.6-.5-5.4-.7c-.9-.1-1.8-.1-2.8-.2s-1.8-.1-2.8-.1L64 288c-29.8 0-54.9 20.4-62 48c-1.3-5.1-2-10.5-2-16L0 96zM352 384a32 32 0 1 1 -64 0 32 32 0 1 1 64 0z"/><path class="fa-primary" d="M0 352c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 64c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64l0-64zm352 32a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm64 32a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"/></svg>
|
||||
|
After Width: | Height: | Size: 872 B |
@@ -164,6 +164,7 @@ def badgeControl( args: str, page: Page, files: Files ):
|
||||
elif type == "button": return newControlButton( page, files )
|
||||
elif type == "slider": return newControlSlider( page, files )
|
||||
elif type == "env": return newControlEnvVar( page, files )
|
||||
elif type == "volume": return newControlVolume( page, files )
|
||||
elif type == "color": return newControlColor( args, page, files )
|
||||
else: return newControlDefault( page, files )
|
||||
|
||||
@@ -935,7 +936,7 @@ def newControlColor( text: str, page: Page, files: Files ):
|
||||
# Icon : Control : Env Variable
|
||||
#
|
||||
# use the following tag in your md file:
|
||||
# <!-- md:control slider -->
|
||||
# <!-- md:control env -->
|
||||
# #
|
||||
|
||||
def newControlEnvVar( page: Page, files: Files ):
|
||||
@@ -948,3 +949,21 @@ def newControlEnvVar( page: Page, files: Files ):
|
||||
icon = f"[:{icon}:]({href} 'Type: Environment Variable')",
|
||||
type = "env"
|
||||
)
|
||||
|
||||
# #
|
||||
# Icon : Control : Volume
|
||||
#
|
||||
# use the following tag in your md file:
|
||||
# <!-- md:control volume -->
|
||||
# #
|
||||
|
||||
def newControlVolume( page: Page, files: Files ):
|
||||
icon = "aetherx-axd-volume"
|
||||
href = _resolve_path( f"{PAGE_CONVENTIONS}#control", page, files )
|
||||
|
||||
print(clr.MAGENTA + 'VERBOSE - ' + clr.WHITE + ' Running ' + clr.YELLOW + inspect.stack()[0][3] + clr.WHITE + ' for page ' + clr.GREY + str(href) + clr.WHITE )
|
||||
|
||||
return badgeCreate(
|
||||
icon = f"[:{icon}:]({href} 'Type: Mountable Volume')",
|
||||
type = "volume"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user