@@ -70,52 +70,52 @@ export class ExportOptions extends LitElement {
7070 /* language=pug */
7171 render ( ) {
7272 return pug `
73- main.container
74- .title-div
75- span.inner-span-image(style="margin-right: 10px;")
76- img(
77- src="${ chrome . runtime . getURL ( '../files/icons/icon-48.png' ) } "
78- alt="${ appInfos . APP_SNAME } icon"
79- width="48"
80- height="48"
81- )
82- h1.title Export Options
83- form#options-form(@submit="${ this . saveOptions } ")
84- #options-fieldset
85- sl-input#filenameTemplate(
86- .value="${ this . filenameTemplate } "
87- @sl-input="${ this . handleInputChange } "
88- placeholder="Enter filename format"
89- label="Filename format:"
90- )
91- div
92- p The filename format is a string containing placeholders, that will be replaced by the actual values when exporting a page.
93- p The currently supported placeholders are:
94- i Domain placeholders:
95- ul
96- li %W - Sub-domain name (e.g. "Phind Search", "Perplexity Pages")
97- li %H - Host name (e.g. "www.chatgpt.com")
98- li %T - Title of the page (first 60 characters)
99- i Date placeholders:
100- ul
101- li %t - Timestamp (Unix time)
102- li %Y - Year
103- li %M - Month
104- li %D - Day
105- li %h - Hour
106- li %m - Minutes
107- li %s - Seconds
108- sl-input#webhookUrl(
109- .value="${ this . webhookUrl } "
110- @sl-input="${ this . handleInputChange } "
111- placeholder="Enter webhook URL (optional)"
112- label="Webhook URL:"
113- )
114- sl-button(variant="primary" type="submit") Save changes
115- p(class="feedback")
116- span Options page is currently in beta.
117- a(href="${ appInfos . URLS . DISCUSSIONS } " target="_blank") Share feedback and report bugs.
118- div(class="toast-stack")
73+ main.container
74+ .title-div
75+ span.inner-span-image(style="margin-right: 10px;")
76+ img(
77+ src="${ chrome . runtime . getURL ( '../files/icons/icon-48.png' ) } "
78+ alt="${ appInfos . APP_SNAME } icon"
79+ width="48"
80+ height="48"
81+ )
82+ h1.title Export Options
83+ form#options-form(@submit="${ this . saveOptions } ")
84+ #options-fieldset
85+ sl-input#filenameTemplate(
86+ .value="${ this . filenameTemplate } "
87+ @sl-input="${ this . handleInputChange } "
88+ placeholder="Enter filename format"
89+ label="Filename format:"
90+ )
91+ div
92+ p The filename format is a string containing placeholders, that will be replaced by the actual values when exporting a page.
93+ p The currently supported placeholders are:
94+ i Domain placeholders:
95+ ul
96+ li %W - Sub-domain name (e.g. "Phind Search", "Perplexity Pages")
97+ li %H - Host name (e.g. "www.chatgpt.com")
98+ li %T - Title of the page (first 60 characters)
99+ i Date placeholders:
100+ ul
101+ li %t - Timestamp (Unix time)
102+ li %Y - Year
103+ li %M - Month
104+ li %D - Day
105+ li %h - Hour
106+ li %m - Minutes
107+ li %s - Seconds
108+ sl-input#webhookUrl(
109+ .value="${ this . webhookUrl } "
110+ @sl-input="${ this . handleInputChange } "
111+ placeholder="Enter webhook URL (optional)"
112+ label="Webhook URL:"
113+ )
114+ sl-button(variant="primary" type="submit") Save changes
115+ p(class="feedback")
116+ span Options page is currently in beta.
117+ a(href="${ appInfos . URLS . DISCUSSIONS } " target="_blank") Share feedback and report bugs.
118+ div(class="toast-stack")
119119 ` ;
120120 }
121121
0 commit comments