fix: trim / prefix in static image url
This prefix does not cause any issue but it's unnecessary.
This commit is contained in:
parent
c719af6ecd
commit
0ce05a9cd7
@ -13,7 +13,7 @@
|
|||||||
{% block searchbar %}
|
{% block searchbar %}
|
||||||
<div class="search-and-button">
|
<div class="search-and-button">
|
||||||
<div class="search">
|
<div class="search">
|
||||||
<img src="{{ url_for('static', filename='/img/search.svg') }}"/>
|
<img src="{{ url_for('static', filename='img/search.svg') }}"/>
|
||||||
<input
|
<input
|
||||||
id="search-input"
|
id="search-input"
|
||||||
type="text"
|
type="text"
|
||||||
@ -31,7 +31,7 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block warning %}
|
{% block warning %}
|
||||||
<div id="warning-main">
|
<div id="warning-main">
|
||||||
<img src="{{ url_for('static', filename='/img/Featured icon.svg')}}" alt="">
|
<img src="{{ url_for('static', filename='img/Featured icon.svg')}}" alt="">
|
||||||
<span>Changes have been made to some plugins that will only take effect after running launch platform.</span>
|
<span>Changes have been made to some plugins that will only take effect after running launch platform.</span>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
<div class="description">{{ plugin.description|safe }}</div>
|
<div class="description">{{ plugin.description|safe }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="warning" hx-preserve="true" id="warning-cookie-{{plugin.name}}">
|
<div class="warning" hx-preserve="true" id="warning-cookie-{{plugin.name}}">
|
||||||
<img src="{{ url_for('static', filename='/img/Featured icon.svg')}}" alt="" title="Run launch platform for changes to this plugin to take effect">
|
<img src="{{ url_for('static', filename='img/Featured icon.svg')}}" alt="" title="Run launch platform for changes to this plugin to take effect">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{ switch(plugin.name, plugin.is_enabled)}}
|
{{ switch(plugin.name, plugin.is_enabled)}}
|
||||||
|
|||||||
@ -42,7 +42,7 @@
|
|||||||
{% if pagination.previous_page %}
|
{% if pagination.previous_page %}
|
||||||
<a hx-get="{{ url_for('plugin_store_list', page=pagination.previous_page)}}" hx-target="#plugins-list">
|
<a hx-get="{{ url_for('plugin_store_list', page=pagination.previous_page)}}" hx-target="#plugins-list">
|
||||||
<div class="pagination-button">
|
<div class="pagination-button">
|
||||||
<img src="{{ url_for('static', filename='/img/arrow-left.svg')}}" alt="">
|
<img src="{{ url_for('static', filename='img/arrow-left.svg')}}" alt="">
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -56,7 +56,7 @@
|
|||||||
{% if pagination.next_page %}
|
{% if pagination.next_page %}
|
||||||
<a hx-get="{{ url_for('plugin_store_list', page=pagination.next_page)}}" hx-target="#plugins-list">
|
<a hx-get="{{ url_for('plugin_store_list', page=pagination.next_page)}}" hx-target="#plugins-list">
|
||||||
<div class="pagination-button">
|
<div class="pagination-button">
|
||||||
<img src="{{ url_for('static', filename='/img/arrow-right.svg')}}" alt="">
|
<img src="{{ url_for('static', filename='img/arrow-right.svg')}}" alt="">
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@ -9,7 +9,7 @@
|
|||||||
<title>Tutor Deck</title>
|
<title>Tutor Deck</title>
|
||||||
|
|
||||||
<!-- Favicon -->
|
<!-- Favicon -->
|
||||||
<link rel="icon" type="image/x-icon" href="{{ url_for('static', filename='/img/favicon.png') }}">
|
<link rel="icon" type="image/x-icon" href="{{ url_for('static', filename='img/favicon.png') }}">
|
||||||
<!-- CSS -->
|
<!-- CSS -->
|
||||||
<!-- <link rel="stylesheet" href="css/normalize.css"> -->
|
<!-- <link rel="stylesheet" href="css/normalize.css"> -->
|
||||||
<!-- <link rel="stylesheet" href="css/styles.css"> -->
|
<!-- <link rel="stylesheet" href="css/styles.css"> -->
|
||||||
@ -22,26 +22,26 @@
|
|||||||
<main>
|
<main>
|
||||||
<nav>
|
<nav>
|
||||||
<header>
|
<header>
|
||||||
<img id="web-logo" src="{{ url_for('static', filename='/img/tutor deck logo.svg') }}"/>
|
<a href="{{ url_for('home') }}"><img id="web-logo" src="{{ url_for('static', filename='img/tutor deck logo.svg') }}"/></a>
|
||||||
<img id="mobile-logo" src="{{ url_for('static', filename='/img/Mobile Logo.svg') }}"/>
|
<a href="{{ url_for('home') }}"><img id="mobile-logo" src="{{ url_for('static', filename='img/Mobile Logo.svg') }}"/></a>
|
||||||
</header>
|
</header>
|
||||||
<menu>
|
<menu>
|
||||||
<a href="{{ url_for('plugin_store') }}" id="plugin-marketplace">
|
<a href="{{ url_for('plugin_store') }}" id="plugin-marketplace">
|
||||||
<img id="plugin-marketplace-logo" src="{{ url_for('static', filename='/img/shopping-bag.svg') }}"/>
|
<img src="{{ url_for('static', filename='img/shopping-bag.svg') }}"/>
|
||||||
<h4>Plugin Marketplace</h4>
|
<h4>Plugin Marketplace</h4>
|
||||||
</a>
|
</a>
|
||||||
<a href="{{ url_for('plugin_installed') }}" id="my-plugins">
|
<a href="{{ url_for('plugin_installed') }}" id="my-plugins">
|
||||||
<img id="my-plugins-logo" src="{{ url_for('static', filename='/img/stack.svg') }}"/>
|
<img src="{{ url_for('static', filename='img/stack.svg') }}"/>
|
||||||
<h4>Installed Plugins</h4>
|
<h4>Installed Plugins</h4>
|
||||||
</a>
|
</a>
|
||||||
<a href="{{ url_for('advanced') }}" id="advanced">
|
<a href="{{ url_for('advanced') }}" id="advanced">
|
||||||
<img id="advanced-logo" src="{{ url_for('static', filename='/img/advanced-mode.svg') }}"/>
|
<img src="{{ url_for('static', filename='img/advanced-mode.svg') }}"/>
|
||||||
<h4>Developer Mode</h4>
|
<h4>Developer Mode</h4>
|
||||||
</a>
|
</a>
|
||||||
</menu>
|
</menu>
|
||||||
<menu>
|
<menu>
|
||||||
<a href="{{ url_for('local_launch_view') }}" id="local-launch">
|
<a href="{{ url_for('local_launch_view') }}" id="local-launch">
|
||||||
<img id="local-launch-logo" src="{{ url_for('static', filename='/img/local-launch.svg') }}"/>
|
<img src="{{ url_for('static', filename='img/local-launch.svg') }}"/>
|
||||||
<h4>Apply changes</h4>
|
<h4>Apply changes</h4>
|
||||||
</a>
|
</a>
|
||||||
<p>Run launch platform to save all changes.</p>
|
<p>Run launch platform to save all changes.</p>
|
||||||
@ -51,7 +51,7 @@
|
|||||||
<section>
|
<section>
|
||||||
<header>
|
<header>
|
||||||
<div id="warning-command-running">
|
<div id="warning-command-running">
|
||||||
<img src="{{ url_for('static', filename='/img/Featured icon.svg')}}" alt="">
|
<img src="{{ url_for('static', filename='img/Featured icon.svg')}}" alt="">
|
||||||
<span>Command execution in progress. <a href="{{ url_for('advanced') }}">Click here</a> to view details.</span>
|
<span>Command execution in progress. <a href="{{ url_for('advanced') }}">Click here</a> to view details.</span>
|
||||||
</div>
|
</div>
|
||||||
{% block workspace_header %}{% endblock %}
|
{% block workspace_header %}{% endblock %}
|
||||||
@ -70,7 +70,7 @@
|
|||||||
<div class="modal-container" id="modal_container">
|
<div class="modal-container" id="modal_container">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<img src="{{ url_for('static', filename='/img/Featured icon.svg') }}" alt="">
|
<img src="{{ url_for('static', filename='img/Featured icon.svg') }}" alt="">
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<h3>Apply Changes to Your Platform?</h3>
|
<h3>Apply Changes to Your Platform?</h3>
|
||||||
@ -89,9 +89,9 @@
|
|||||||
<div class="toast">
|
<div class="toast">
|
||||||
<div class="toast-content">
|
<div class="toast-content">
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<img src="{{ url_for('static', filename='/img/Icon.svg' )}}">
|
<img src="{{ url_for('static', filename='img/Icon.svg' )}}">
|
||||||
<span class="text text-1" id="toast-title"> {{ toast }} </span>
|
<span class="text text-1" id="toast-title"> {{ toast }} </span>
|
||||||
<img class="close-toast-button" src="{{ url_for('static', filename='/img/X.svg' )}}">
|
<img class="close-toast-button" src="{{ url_for('static', filename='img/X.svg' )}}">
|
||||||
</div>
|
</div>
|
||||||
<div class="message">
|
<div class="message">
|
||||||
<span class="text text-2" id="toast-description">
|
<span class="text text-2" id="toast-description">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user