summaryrefslogtreecommitdiff
path: root/plugin_loader/templates/plugin_view.html
diff options
context:
space:
mode:
Diffstat (limited to 'plugin_loader/templates/plugin_view.html')
-rw-r--r--plugin_loader/templates/plugin_view.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/plugin_loader/templates/plugin_view.html b/plugin_loader/templates/plugin_view.html
new file mode 100644
index 00000000..8a482fae
--- /dev/null
+++ b/plugin_loader/templates/plugin_view.html
@@ -0,0 +1,31 @@
+<link rel="stylesheet" href="/steam_resource/css/2.css">
+<link rel="stylesheet" href="/steam_resource/css/39.css">
+<link rel="stylesheet" href="/steam_resource/css/library.css">
+
+{% if not plugins|length %}
+<div class="basicdialog_Field_ugL9c basicdialog_WithChildrenBelow_1RjOd basicdialog_InlineWrapShiftsChildrenBelow_3a6QZ basicdialog_ExtraPaddingOnChildrenBelow_2-owv basicdialog_StandardPadding_1HrfN basicdialog_HighlightOnFocus_1xh2W Panel Focusable" style="--indent-level:0;">
+ <div class="basicdialog_FieldChildren_279n8" style="color: white; font-size: large; padding-top: 10px;">
+ No plugins installed :(
+ </div>
+</div>
+{% endif %}
+
+<div class="quickaccessmenu_TabGroupPanel_1QO7b Panel Focusable">
+ <div class="quickaccesscontrols_PanelSectionRow_26R5w">
+ {% for plugin in plugins %}
+ {% if plugin.tile_view_html|length %}
+ <div onclick="location.href = '/plugins/load/{{ plugin.name }}'" class="basicdialog_Field_ugL9c basicdialog_WithChildrenBelow_1RjOd basicdialog_InlineWrapShiftsChildrenBelow_3a6QZ basicdialog_ExtraPaddingOnChildrenBelow_2-owv basicdialog_StandardPadding_1HrfN basicdialog_HighlightOnFocus_1xh2W Panel Focusable" style="--indent-level:0;">
+ {{ plugin.tile_view_html }}
+ </div>
+ {% else %}
+ <div class="quickaccesscontrols_PanelSectionRow_26R5w">
+ <div onclick="location.href = '/plugins/load/{{ plugin.name }}'" class="basicdialog_Field_ugL9c basicdialog_WithChildrenBelow_1RjOd basicdialog_InlineWrapShiftsChildrenBelow_3a6QZ basicdialog_ExtraPaddingOnChildrenBelow_2-owv basicdialog_StandardPadding_1HrfN basicdialog_HighlightOnFocus_1xh2W Panel Focusable" style="--indent-level:0;">
+ <div class="basicdialog_FieldChildren_279n8">
+ <button type="button" tabindex="0" class="DialogButton _DialogLayout Secondary basicdialog_Button_1Ievp Focusable">{{ plugin.name }}</button>
+ </div>
+ </div>
+ </div>
+ {% endif %}
+ {% endfor %}
+ </div>
+</div> \ No newline at end of file