% var langs = require("ep_etherpad-lite/node/hooks/i18n").availableLangs , pluginUtils = require('ep_etherpad-lite/static/js/pluginfw/shared') , skinColors = require('ep_etherpad-lite/node/utils/SkinColors') ; var renderLang = (req && typeof req.acceptsLanguages === 'function' && req.acceptsLanguages(Object.keys(langs))) || 'en'; var renderDir = (langs[renderLang] && langs[renderLang].direction === 'rtl') ? 'rtl' : 'ltr'; // theme-color matches the configured toolbar so mobile address bars don't // paint a mismatched system color above the toolbar on first paint. We do // not emit a prefers-color-scheme: dark variant: the client-side dark-mode // auto-switch is gated on enableDarkMode, matchMedia, and a localStorage // white-mode override, none of which a media query can express. var configuredColor = skinColors.configuredToolbarColor(settings.skinName, settings.skinVariants); %>
<% e.begin_block("htmlHead"); %> <% e.end_block(); %>
<% if (settings.enablePadWideSettings) { %>
These settings are locked for you by this pad's creator. Ask the pad creator if you need them changed.
<% } %> <% e.end_block(); %>
<% e.end_block(); %>
<% e.end_block(); %>
<% e.end_block(); %>
This token is the only way to delete this pad if you lose your browser session or switch device. Save it somewhere safe — it is shown here exactly once.
<% } %>