Instead of storing a cookie for every plugin that requires launch, we create a single cookie with '+' separated value. We make use of the cookieStore native API (available everywhere since June 2025) to access cookie data. The variables are renamed to be more explicit. We now use class-based SCSS for styling, instead of manually setting style.display attribute.
39 lines
1.2 KiB
HTML
39 lines
1.2 KiB
HTML
{% extends "index.html" %}
|
|
|
|
{% block workspace_header %}
|
|
<div class="info">
|
|
<div class="info-container">
|
|
<div class="page-title">{% block page_title %}{% endblock %}</div>
|
|
<div class="page-description">{% block page_description %}{% endblock %}</div>
|
|
</div>
|
|
<div class="page-button">
|
|
{% block page_button_top %}{% endblock %}
|
|
</div>
|
|
</div>
|
|
{% block searchbar %}
|
|
<div class="search-and-button">
|
|
<div class="search">
|
|
<img src="{{ url_for('static', filename='img/search.svg') }}"/>
|
|
<input
|
|
id="search-input"
|
|
type="text"
|
|
class="form-control search-input"
|
|
name="search"
|
|
placeholder="Search..."
|
|
hx-get="{{ search_endpoint }}"
|
|
hx-trigger="input changed delay:300ms, search"
|
|
hx-target="#plugins-list">
|
|
</div>
|
|
<div class="page-button">
|
|
{% block page_button %}{% endblock %}
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
{% block warning %}
|
|
<div id="warning-launch-required-main">
|
|
<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>
|
|
</div>
|
|
{% endblock %}
|
|
{% endblock %}
|