mirror of
https://github.com/vladmandic/automatic
synced 2026-08-26 15:16:01 +02:00
complete refactor javascript to typescript and reorg frontend files and folders
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
+4
-1
@@ -19,7 +19,10 @@ gradio_theme = gr.themes.Base()
|
||||
|
||||
|
||||
def list_builtin_themes():
|
||||
files = [os.path.splitext(f)[0] for f in os.listdir('javascript') if f.endswith('.css') and f not in ['base.css', 'sdnext.css', 'style.css']]
|
||||
from modules.paths import script_path
|
||||
folder = os.path.join(script_path, "ui", "css")
|
||||
exclude = ['base.css', 'sdnext.css', 'style.css', 'timesheet.css', 'swagger.css']
|
||||
files = [os.path.splitext(f)[0] for f in os.listdir(folder) if f.endswith('.css') and f not in exclude]
|
||||
return files
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user