mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2026-04-30 23:00:30 +00:00
e9e8c8d218
Build and push containers / metadata (push) Has been cancelled
Build and push containers / build-push-containers (push) Has been cancelled
Publish Python 🐍distribution 📦 to PyPI and TestPyPI / Build distribution 📦 (push) Has been cancelled
ChangeDetection.io Container Build Test / Build linux/amd64 (alpine) (push) Has been cancelled
ChangeDetection.io Container Build Test / Build linux/arm64 (alpine) (push) Has been cancelled
ChangeDetection.io Container Build Test / Build linux/amd64 (main) (push) Has been cancelled
ChangeDetection.io Container Build Test / Build linux/arm/v7 (main) (push) Has been cancelled
ChangeDetection.io Container Build Test / Build linux/arm/v8 (main) (push) Has been cancelled
ChangeDetection.io Container Build Test / Build linux/arm64 (main) (push) Has been cancelled
ChangeDetection.io App Test / lint-code (push) Has been cancelled
ChangeDetection.io App Test / lint-translations (push) Has been cancelled
Publish Python 🐍distribution 📦 to PyPI and TestPyPI / Test the built package works basically. (push) Has been cancelled
Publish Python 🐍distribution 📦 to PyPI and TestPyPI / Publish Python 🐍 distribution 📦 to PyPI (push) Has been cancelled
ChangeDetection.io App Test / test-application-3-10 (push) Has been cancelled
ChangeDetection.io App Test / test-application-3-11 (push) Has been cancelled
ChangeDetection.io App Test / test-application-3-12 (push) Has been cancelled
ChangeDetection.io App Test / test-application-3-13 (push) Has been cancelled
ChangeDetection.io App Test / test-application-3-14 (push) Has been cancelled
64 lines
4.0 KiB
HTML
64 lines
4.0 KiB
HTML
{# Menu items template - used for both desktop and mobile menus #}
|
|
{# CSS media queries handle which version displays - no need for conditional classes #}
|
|
|
|
|
|
{% if current_user.is_authenticated or not has_password %}
|
|
{% if not current_diff_url %}
|
|
<li class="pure-menu-item menu-collapsible {% if request.endpoint.startswith('tags.') %}active{% endif %}">
|
|
<a href="{{ url_for('tags.tags_overview_page') }}" class="pure-menu-link">{{ _('GROUPS') }}</a>
|
|
</li>
|
|
<li class="pure-menu-item menu-collapsible {% if request.endpoint.startswith('settings.') %}active{% endif %}">
|
|
<a href="{{ url_for('settings.settings_page') }}" class="pure-menu-link">{{ _('SETTINGS') }}</a>
|
|
</li>
|
|
<li class="pure-menu-item menu-collapsible {% if request.endpoint.startswith('imports.') %}active{% endif %}">
|
|
<a href="{{ url_for('imports.import_page') }}" class="pure-menu-link">{{ _('IMPORT') }}</a>
|
|
</li>
|
|
<li class="pure-menu-item" id="menu-pause">
|
|
<a href="{{ url_for('settings.toggle_all_paused') }}" ><img src="{{url_for('static_content', group='images', filename='pause.svg')}}" alt="{% if all_paused %}{{ _('Resume automatic scheduling') }}{% else %}{{ _('Pause auto-queue scheduling of watches') }}{% endif %}" title="{% if all_paused %}{{ _('Scheduling is paused - click to resume') }}{% else %}{{ _('Pause auto-queue scheduling of watches') }}{% endif %}" class="icon icon-pause"{% if not all_paused %} style="opacity: 0.3"{% endif %}></a>
|
|
</li>
|
|
<li class="pure-menu-item " id="menu-mute">
|
|
<a href="{{ url_for('settings.toggle_all_muted') }}" ><img src="{{url_for('static_content', group='images', filename='bell-off.svg')}}" alt="{% if all_muted %}{{ _('Unmute notifications') }}{% else %}{{ _('Mute notifications') }}{% endif %}" title="{% if all_muted %}{{ _('Notifications are muted - click to unmute') }}{% else %}{{ _('Mute notifications') }}{% endif %}" class="icon icon-mute"{% if not all_muted %} style="opacity: 0.3"{% endif %}></a>
|
|
</li>
|
|
{% else %}
|
|
<li class="pure-menu-item menu-collapsible">
|
|
<a href="{{ url_for('ui.ui_edit.edit_page', uuid=uuid, next='diff') }}"
|
|
class="pure-menu-link">{{ _('EDIT') }}</a>
|
|
</li>
|
|
{% endif %}
|
|
{%- if current_user.is_authenticated -%}
|
|
<li class="pure-menu-item menu-collapsible">
|
|
<a href="{{ url_for('logout', redirect=request.path) }}" class="pure-menu-link">{{ _('LOG OUT') }}</a>
|
|
</li>
|
|
{%- endif -%}
|
|
|
|
{% else %}
|
|
<li class="pure-menu-item menu-collapsible">
|
|
<a class="pure-menu-link" href="https://changedetection.io">{{ _('Website Change Detection and Notification.') }}</a>
|
|
</li>
|
|
{% endif %}
|
|
<li class="pure-menu-item menu-collapsible" id="inline-menu-extras-group">
|
|
<button class="toggle-button toggle-ai-mode" type="button" title="{{ _('Toggle AI Mode') }}" data-llm-configured="{{ 'true' if llm_configured else 'false' }}" data-llm-settings-url="{{ url_for('settings.settings_page') }}#ai">
|
|
<span class="visually-hidden">{{ _('Toggle AI mode') }}</span>
|
|
{% include "svgs/ai-mode-icon.svg" %}<span class="ai-mode-label">LLM</span>
|
|
</button>
|
|
<button class="toggle-button toggle-light-mode " type="button" title="{{ _('Toggle Light/Dark Mode') }}">
|
|
<span class="visually-hidden">{{ _('Toggle light/dark mode') }}</span>
|
|
<span class="icon-light">
|
|
{% include "svgs/light-mode-toggle-icon.svg" %}
|
|
</span>
|
|
<span class="icon-dark">
|
|
{% include "svgs/dark-mode-toggle-icon.svg" %}
|
|
</span>
|
|
</button>
|
|
<button class="toggle-button language-selector" type="button" title="{{ _('Change Language') }}">
|
|
<span class="visually-hidden">{{ _('Change language') }}</span>
|
|
<span class="{{ get_flag_for_locale(get_locale()) }}" id="language-selector-flag"></span>
|
|
</button>
|
|
<a class="github-link" href="https://github.com/dgtlmoon/changedetection.io"
|
|
target="_blank"
|
|
rel="noopener" >
|
|
{% include "svgs/github.svg" %}
|
|
</a>
|
|
</li>
|
|
|