229 lines
9.6 KiB
HTML
229 lines
9.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<meta charset="UTF-8" />
|
|
<title data-msg="extensionName"></title>
|
|
<link rel="stylesheet" href="../../css/common.css" type="text/css">
|
|
<link rel="stylesheet" href="../../css/popup.css" type="text/css">
|
|
</head>
|
|
|
|
<body>
|
|
<div id="header">
|
|
<h1 data-msg="extensionName">Indie Wiki Buddy</h1>
|
|
<div>
|
|
<div>
|
|
<button id="openSettingsButton" data-msg="popupOpenSettings"></button>
|
|
</div>
|
|
<div id="power">
|
|
<input id="powerCheckbox" type="checkbox" />
|
|
<label for="powerCheckbox">
|
|
<img id="powerImage" src="" alt="" width="20" />
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="links">
|
|
<a href="../guide/index.html" data-msg="settingsGuide"></a>
|
|
<a href="https://getindie.wiki" target="_blank" data-msg="settingsWebsite"></a>
|
|
<a href="https://getindie.wiki/changelog/" target="_blank" data-msg="settingsChangelog"></a>
|
|
<a href="https://getindie.wiki/#submit" target="_blank" data-msg="settingsSubmitWiki"></a>
|
|
<a href="https://github.com/KevinPayravi/indie-wiki-buddy" target="_blank" data-msg="settingsSourceCode"></a>
|
|
</div>
|
|
<div id="notificationBannerContainer">
|
|
<span id="notificationBannerOpera">
|
|
<span data-msg="settingsBannerOpera"></span>
|
|
<a id="operaPermsHideLink" href="#" data-msg="settingsBannerHide"></a>
|
|
</span>
|
|
</div>
|
|
<div id="content">
|
|
<form name="options" class="options">
|
|
<fieldset id="defaultSettings">
|
|
<legend><span aria-hidden="true">⚙️</span> <span data-msg="popupDefault"></span></legend>
|
|
<div role="radiogroup" aria-labelledby="defaultWikiActionLabel">
|
|
<span id="defaultWikiActionLabel" data-msg="popupWikiLegendWikiExp"></span>
|
|
<div class="radioGroup horizontal">
|
|
<label>
|
|
<input id="defaultWikiActionDisabledRadio" type="radio" name="defaultWikiAction" value="disabled" />
|
|
<img src="../../images/toggle-disabled.png" height="12" alt="" />
|
|
<span data-msg="settingsDisabled"></span>
|
|
</label>
|
|
<label>
|
|
<input id="defaultWikiActionAlertRadio" type="radio" name="defaultWikiAction" value="alert" />
|
|
<img src="../../images/toggle-alert.png" height="12" alt="" />
|
|
<span data-msg="settingsAlert"></span>
|
|
</label>
|
|
<label>
|
|
<input id="defaultWikiActionRedirectRadio" type="radio" name="defaultWikiAction" value="redirect" />
|
|
<img src="../../images/toggle-redirect.png" height="12" alt="" />
|
|
<span data-msg="settingsRedirect"></span>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
<div role="radiogroup" aria-labelledby="defaultSearchActionLabel">
|
|
<span id="defaultSearchActionLabel" data-msg="popupWikiLegendSearchExp"></span>
|
|
<div class="radioGroup horizontal">
|
|
<label>
|
|
<input id="defaultSearchActionDisabledRadio" type="radio" name="defaultSearchAction" value="disabled" />
|
|
<img src="../../images/toggle-disabled.png" height="12" alt="" />
|
|
<span data-msg="settingsDisabled"></span>
|
|
</label>
|
|
<label>
|
|
<input id="defaultSearchActionAlertRadio" type="radio" name="defaultSearchAction" value="replace" />
|
|
<img src="../../images/toggle-replace.png" height="12" alt="" />
|
|
<span data-msg="settingsReplace"></span>
|
|
</label>
|
|
<label>
|
|
<input id="defaultSearchActionRedirectRadio" type="radio" name="defaultSearchAction" value="hide" />
|
|
<img src="../../images/toggle-hide.png" height="12" alt="" />
|
|
<span data-msg="settingsHide"></span>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
<div class="center">
|
|
<span
|
|
data-msg="popupSettingsPerWiki"
|
|
data-msg-ph-1="<a id='openSettingsLink' href='#'>"
|
|
data-msg-ph-2="</a>"></span>
|
|
<br />
|
|
<span data-msg="popupSettingsOverride"></span>
|
|
</div>
|
|
</fieldset>
|
|
<fieldset id="generalSettings">
|
|
<legend><span aria-hidden="true">⚙️</span> <span data-msg="settingsGeneral"></span></legend>
|
|
<div class="settingToggle">
|
|
<label>
|
|
<input id="notificationsCheckbox" type="checkbox" />
|
|
<span id="notificationsIcon" aria-hidden="true"></span>
|
|
<span data-msg="settingsNotifications"></span>
|
|
</label>
|
|
</div>
|
|
<div class="settingToggle">
|
|
<label>
|
|
<input id="crossLanguageCheckbox" type="checkbox" />
|
|
<span id="crossLanguageIcon" aria-hidden="true"></span>
|
|
<span data-msg="settingsCrossLanguage"></span>
|
|
</label>
|
|
</div>
|
|
<div class="settingToggle">
|
|
<label>
|
|
<input id="openChangelogCheckbox" type="checkbox" />
|
|
<span id="openChangelogIcon" aria-hidden="true"></span>
|
|
<span data-msg="settingsOpenChangelog"></span>
|
|
</label>
|
|
</div>
|
|
</fieldset>
|
|
<fieldset id="generalSettings">
|
|
<legend><span aria-hidden="true">🔍</span> <span data-msg="settingsSearchEngineFiltering"></span></legend>
|
|
<div class="settingToggle searchEngineToggles">
|
|
<label>
|
|
<input id="googleCheckbox" data-search-engine="google" type="checkbox" />
|
|
Google
|
|
</label>
|
|
<label>
|
|
<input id="bingCheckbox" data-search-engine="bing" type="checkbox" />
|
|
Bing
|
|
</label>
|
|
<label>
|
|
<input id="duckduckgoCheckbox" data-search-engine="duckduckgo" type="checkbox" />
|
|
DuckDuckGo
|
|
</label>
|
|
<label>
|
|
<input id="braveCheckbox" data-search-engine="brave" type="checkbox" />
|
|
Brave
|
|
</label>
|
|
<label>
|
|
<input id="ecosiaCheckbox" data-search-engine="ecosia" type="checkbox" />
|
|
Ecosia
|
|
</label>
|
|
<label>
|
|
<input id="kagiCheckbox" data-search-engine="kagi" type="checkbox" />
|
|
Kagi
|
|
</label>
|
|
<label>
|
|
<input id="qwantCheckbox" data-search-engine="qwant" type="checkbox" />
|
|
Qwant
|
|
</label>
|
|
<label>
|
|
<input id="startpageCheckbox" data-search-engine="startpage" type="checkbox" />
|
|
Startpage
|
|
</label>
|
|
<label>
|
|
<input id="yahooCheckbox" data-search-engine="yahoo" type="checkbox" />
|
|
Yahoo
|
|
</label>
|
|
<label>
|
|
<input id="yandexCheckbox" data-search-engine="yandex" type="checkbox" />
|
|
Yandex
|
|
</label>
|
|
</div>
|
|
<hr>
|
|
<div class="settingToggle">
|
|
<label>
|
|
<input id="hiddenResultsBannerCheckbox" type="checkbox" />
|
|
<img src="../../images/toggle-banner.png" height="12" alt="" />
|
|
<span data-msg="settingsHiddenResultsBanner"></span>
|
|
</label>
|
|
</div>
|
|
<div class="settingToggle">
|
|
<label>
|
|
<input id="reorderResultsCheckbox" type="checkbox" />
|
|
<img src="../../images/toggle-move-up.png" height="12" alt="" />
|
|
<span data-msg="settingsReorderResults"></span>
|
|
</label>
|
|
</div>
|
|
</fieldset>
|
|
<fieldset id="breezewikiSettings">
|
|
<legend>
|
|
<span aria-hidden="true">༄</span>
|
|
<span
|
|
data-msg="settingsBreezeWiki"
|
|
data-msg-ph-1="<a id='breeezwikiLearnMore' href='https://breezewiki.com/' target='_blank'>"
|
|
data-msg-ph-2="</a>"></span>
|
|
</legend>
|
|
<div role="radiogroup">
|
|
<div class="radioGroup vertical">
|
|
<label>
|
|
<input id="breeezwikiSettingDisabledRadio" type="radio" name="breezewikiSetting" value="off" />
|
|
<img src="../../images/toggle-disabled.png" height="12" alt="" />
|
|
<span data-msg="settingsBreezeWikiDisabled"></span>
|
|
</label>
|
|
<label>
|
|
<input id="breezewikiSettingBannerRadio" type="radio" name="breezewikiSetting" value="banner" />
|
|
<img src="../../images/toggle-alert.png" height="12" alt="" />
|
|
<span data-msg="settingsBreezeWikiBanner"></span>
|
|
</label>
|
|
<label>
|
|
<input id="breezewikiSettingRedirectRadio" type="radio" name="breezewikiSetting" value="redirect" />
|
|
<img src="../../images/toggle-redirect.png" height="12" alt="" />
|
|
<span data-msg="settingsBreezeWikiRedirect"></span>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
<div id="breezewikiHost" class="settingToggle">
|
|
<label>
|
|
<span data-msg="settingsBreezeWikiHost"></span>
|
|
<select name="breezewikiHost" id="breezewikiHostSelect"></select>
|
|
</label>
|
|
<label id="breezewikiCustomHost">
|
|
<span data-msg="settingsBreezeWikiCustomHost"></span>
|
|
<input disabled type="text" id="customBreezewikiHost" name="customBreezewikiHost"
|
|
data-msg-attr="placeholder=popupBreezeWikiSeeSettings" size="30" />
|
|
<span
|
|
id="breezewikiCustomHostStatus"
|
|
data-msg="popupBreezeWikiSeeSettingsLink"
|
|
data-msg-ph-1="<a href='../settings/index.html' target='_blank'>"
|
|
data-msg-ph-2="</a>"></span>
|
|
</label>
|
|
</div>
|
|
</fieldset>
|
|
</form>
|
|
</div>
|
|
</body>
|
|
<script type="text/javascript" src="../../scripts/common-functions.js"></script>
|
|
<script type="text/javascript" src="../common-page-functions.js"></script>
|
|
<script type="text/javascript" src="popup.js"></script>
|
|
|
|
</html>
|