2017-03-23 03:41:50 +00:00
|
|
|
<html id="stylus">
|
2012-04-16 01:56:12 +00:00
|
|
|
|
2017-02-28 23:57:03 +00:00
|
|
|
<head>
|
2017-04-01 04:37:25 +00:00
|
|
|
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
|
|
|
<link rel="stylesheet" href="popup.css">
|
2015-07-19 15:27:19 +00:00
|
|
|
|
2017-04-08 17:45:45 +00:00
|
|
|
<!-- Notes:
|
|
|
|
* Chrome doesn't garbage-collect (or even leaks) SVG <symbol> referenced via <use> so we'll embed the code directly
|
|
|
|
* inter-tag whitespace in templates is automatically removed in localization.js
|
|
|
|
* i18n-anything attribute automatically creates "anything" attribute
|
|
|
|
-->
|
|
|
|
|
2017-04-01 04:37:25 +00:00
|
|
|
<template data-id="style">
|
|
|
|
<div class="entry">
|
|
|
|
<div class="left-gutter">
|
|
|
|
<input class="checker" type="checkbox">
|
|
|
|
</div>
|
|
|
|
<div class="main-controls">
|
|
|
|
<label class="style-name"></label>
|
|
|
|
<div class="actions">
|
|
|
|
<a href="#" class="enable" i18n-text="enableStyleLabel"></a>
|
|
|
|
<a href="#" class="disable" i18n-text="disableStyleLabel"></a>
|
|
|
|
<a class="style-edit-link" href="edit.html?id=" i18n-title="editStyleLabel">
|
2017-04-08 17:45:45 +00:00
|
|
|
<svg class="svg-icon edit" viewBox="0 0 14 16">
|
|
|
|
<path fill-rule="evenodd" d="M0 12v3h3l8-8-3-3-8 8zm3 2H1v-2h1v1h1v1zm10.3-9.3L12 6 9 3l1.3-1.3a.996.996 0 0 1 1.41 0l1.59 1.59c.39.39.39 1.02 0 1.41z"/>
|
|
|
|
</svg>
|
2017-04-01 04:37:25 +00:00
|
|
|
</a>
|
|
|
|
<a href="#" class="delete" i18n-title="deleteStyleLabel">
|
2017-04-08 17:45:45 +00:00
|
|
|
<svg class="svg-icon remove" viewBox="0 0 14 16">
|
|
|
|
<path fill-rule="evenodd" d="M11 2H9c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1H2c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1v9c0 .55.45 1 1 1h7c.55 0 1-.45 1-1V5c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm-1 12H3V5h1v8h1V5h1v8h1V5h1v8h1V5h1v9zm1-10H2V3h9v1z"/>
|
|
|
|
</svg>
|
2017-04-01 04:37:25 +00:00
|
|
|
</a>
|
2017-02-28 23:57:03 +00:00
|
|
|
</div>
|
2017-04-01 04:37:25 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
2012-04-16 01:56:12 +00:00
|
|
|
|
2017-04-01 04:37:25 +00:00
|
|
|
<template data-id="writeStyle">
|
|
|
|
<a class="write-style-link"></a>
|
|
|
|
</template>
|
2017-03-21 01:32:38 +00:00
|
|
|
|
2017-04-01 04:37:25 +00:00
|
|
|
<template data-id="noStyles">
|
|
|
|
<div id="no-styles" class="entry" i18n-text="noStylesForSite"></div>
|
|
|
|
</template>
|
2017-03-25 03:04:24 +00:00
|
|
|
|
2017-04-01 04:37:25 +00:00
|
|
|
<template data-id="regexpProblemIndicator">
|
|
|
|
<div class="regexp-problem-indicator" i18n-title="styleRegexpProblemTooltip"></div>
|
|
|
|
</template>
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2017-04-01 04:37:25 +00:00
|
|
|
<template data-id="regexpProblemExplanation">
|
|
|
|
<div id="regexp-explanation">
|
|
|
|
<div id="regexp-partial" i18n-html="styleRegexpPartialExplanation"></div>
|
|
|
|
<div id="regexp-invalid" i18n-text="styleRegexpInvalidExplanation"></div>
|
|
|
|
<button i18n-text="confirmOK"></button>
|
|
|
|
</div>
|
|
|
|
</template>
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2017-04-08 10:19:44 +00:00
|
|
|
<script src="dom.js"></script>
|
2017-03-30 23:18:41 +00:00
|
|
|
<script src="localization.js"></script>
|
2017-04-01 04:37:25 +00:00
|
|
|
<script src="messaging.js"></script>
|
2017-04-11 10:51:40 +00:00
|
|
|
<script src="prefs.js"></script>
|
2017-04-01 04:37:25 +00:00
|
|
|
<script src="apply.js"></script>
|
|
|
|
<script src="popup.js"></script>
|
2017-02-28 23:57:03 +00:00
|
|
|
</head>
|
2012-04-16 01:56:12 +00:00
|
|
|
|
2017-03-05 14:40:48 +00:00
|
|
|
<body id="stylus-popup">
|
2017-04-01 04:37:25 +00:00
|
|
|
|
|
|
|
<div id="confirm">
|
|
|
|
<div>
|
|
|
|
<b>Style's Name</b>
|
|
|
|
<span i18n-text="deleteStyleConfirm"></span>
|
|
|
|
<div>
|
|
|
|
<button i18n-text="confirmDelete" data-cmd="ok"></button>
|
|
|
|
<button i18n-text="confirmCancel" data-cmd="cancel"></button>
|
|
|
|
</div>
|
2017-03-13 19:26:43 +00:00
|
|
|
</div>
|
2017-04-01 04:37:25 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="installed"></div>
|
|
|
|
|
|
|
|
<div class="actions">
|
|
|
|
<div id="disable-all-wrapper">
|
|
|
|
<div class="left-gutter">
|
|
|
|
<input id="disableAll" type="checkbox">
|
|
|
|
</div>
|
|
|
|
<div class="main-controls">
|
|
|
|
<label id="disableAll-label" for="disableAll" i18n-text="disableAllStyles"></label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="left-gutter"></div>
|
|
|
|
<div class="main-controls">
|
|
|
|
<div id="find-styles">
|
|
|
|
<a id="find-styles-link" href="#" i18n-text="findStylesForSite"></a>
|
|
|
|
</div>
|
|
|
|
<div id="write-style">
|
|
|
|
<span id="write-style-for" i18n-text="writeStyleFor"></span>
|
|
|
|
</div>
|
2017-02-28 23:57:03 +00:00
|
|
|
</div>
|
2017-03-06 13:54:56 +00:00
|
|
|
<!-- Actions -->
|
|
|
|
<div id="popup-options">
|
2017-04-09 06:43:51 +00:00
|
|
|
<button id="popup-manage-button" i18n-text="openManage" data-href="manage.html"></button>
|
2017-04-01 04:37:25 +00:00
|
|
|
<button id="popup-options-button" i18n-text="openOptionsPopup"></button>
|
2017-04-09 06:43:51 +00:00
|
|
|
<button id="popup-shortcuts-button" class="chromium-only" i18n-text="openShortcutsPopup"></button>
|
2017-02-28 23:57:03 +00:00
|
|
|
</div>
|
2017-04-01 04:37:25 +00:00
|
|
|
</div>
|
|
|
|
</body>
|
2017-03-06 13:54:56 +00:00
|
|
|
</html>
|