From 0e527e147ce9cb88e7af3646807ea8e0d6199bed Mon Sep 17 00:00:00 2001 From: nkanaev Date: Sat, 27 Jun 2026 21:46:44 +0100 Subject: [PATCH] frontend: import index template --- src/assets/bundle.js | 440 ++++++++++++++++++++++++++++++++++ src/assets/javascripts/app.ts | 2 + 2 files changed, 442 insertions(+) diff --git a/src/assets/bundle.js b/src/assets/bundle.js index fbdcdc1..2f37325 100644 --- a/src/assets/bundle.js +++ b/src/assets/bundle.js @@ -10945,6 +10945,445 @@ } }; + // src/assets/javascripts/templates/index.html + var templates_default = `
+ +
+ +
+
{% inline "anchor.svg" %}
+
+ + + +
+ + + + + + + + + + +
+ +
+ + + + +
+ +
{{ refreshRateTitle }}
+ +
+ + + + +
+ + +
+ + +
+ + +
+ + {% inline "upload.svg" %} + {{ $t('export') }} + + + + + +
+
+ +
+
+ + +
+
+
+ +
+ +
+ +
+
+
+
+ + {{ $t('refreshing_progress', {count: loading.feeds}) }} +
+
+ +
+ +
+ +
+ {% inline "search.svg" %} + + +
+ + + + + + + + + {% inline "globe.svg" %} + {{ $t('website') }} + + + {% inline "rss.svg" %} + {{ $t('feed_link') }} + + + + + + + + + + + + + + + + + + + +
+
+ + +
+
+ {{ feed_errors[current.feed.id] }} +
+
+ +
+
+ + + + + + + + + +
+ + +
+
+ + + {% inline "external-link.svg" %} + +
+ + + +
+
+
+

{{ itemSelectedDetails.title || $t('untitled') }}

+
+
+ + {{ (feedsById[itemSelectedDetails.feed_id] || {}).title }} + +
+ +
+
+
+
+
+ +
{{ media.description }}
+
+
+ + +
+
+
+
+
+ + +
+

{{ $t('new_feed') }}

+
+ + + + +
+

+ {{ $t('multiple_feeds_found') }} + {{ $t('cancel') }} +

+ +
+ +
+
+
+

{{ $t('keyboard_shortcuts') }}

+ + + + + + + + + + + + + + + + + + + +
1 2 3{{ $t('kb_show_filters') }}
/ {{ $t('kb_focus_search') }}
 
j k {{ $t('kb_next_prev_article') }}
l h {{ $t('kb_next_prev_feed') }}
q {{ $t('kb_close_article') }}
 
R {{ $t('kb_mark_all_read') }}
r {{ $t('kb_mark_read') }}
s {{ $t('kb_mark_starred') }}
o {{ $t('kb_open_link') }}
i {{ $t('kb_read_here') }}
f b {{ $t('kb_scroll_content') }}
+
+
+
+`; + // src/assets/javascripts/app.ts var app = window.app; var TITLE = document.title; @@ -11133,6 +11572,7 @@ }); Vue.use(i18n_default); var vm = new Vue({ + template: templates_default, created: function() { this.refreshStats().then(this.refreshFeeds.bind(this)).then(this.refreshItems.bind(this, false)); api_default.feeds.list_errors().then(function(errors) { diff --git a/src/assets/javascripts/app.ts b/src/assets/javascripts/app.ts index cd21ab6..cb4a08d 100644 --- a/src/assets/javascripts/app.ts +++ b/src/assets/javascripts/app.ts @@ -1,6 +1,7 @@ import Vue from 'vue/dist/vue.esm.js' import i18n from './i18n' import api from './api' +import template from './templates/index.html' with {type: 'text'} var app = window.app @@ -209,6 +210,7 @@ Vue.component('relative-time', { Vue.use(i18n) var vm = new Vue({ + template: template, created: function() { this.refreshStats() .then(this.refreshFeeds.bind(this))