summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortza <marios8543@gmail.com>2022-04-04 03:46:22 +0300
committertza <marios8543@gmail.com>2022-04-04 03:46:22 +0300
commit449933ec2fa78c3070b764081672ca1c61bcd23e (patch)
treead230f9a7860e6a4c53df42155dd696cb9367e30
parentf1e47767c86866ede2b71c35a78c8914a5129ae7 (diff)
downloaddecky-loader-449933ec2fa78c3070b764081672ca1c61bcd23e.tar.gz
decky-loader-449933ec2fa78c3070b764081672ca1c61bcd23e.zip
fixed tile view not displaying and added library js to iframe root
-rw-r--r--plugin_loader/templates/plugin_view.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin_loader/templates/plugin_view.html b/plugin_loader/templates/plugin_view.html
index 8a482fae..d0275a7a 100644
--- a/plugin_loader/templates/plugin_view.html
+++ b/plugin_loader/templates/plugin_view.html
@@ -1,6 +1,7 @@
<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">
+<script src="/static/library.js"></script>
{% 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;">
@@ -15,7 +16,7 @@
{% 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 }}
+ {{ plugin.tile_view_html|safe }}
</div>
{% else %}
<div class="quickaccesscontrols_PanelSectionRow_26R5w">