2015-02-09 04:24:58 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
2016-03-08 05:22:28 +00:00
|
|
|
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
2015-03-27 10:30:07 +00:00
|
|
|
<title i18n-text="manageTitle"></title>
|
2015-02-09 04:24:58 +00:00
|
|
|
<style>
|
|
|
|
body {
|
2015-03-15 03:35:30 +00:00
|
|
|
margin: 0;
|
2015-02-09 04:24:58 +00:00
|
|
|
font: 12px arial,sans-serif;
|
|
|
|
}
|
|
|
|
a, a:visited {
|
|
|
|
color: #555;
|
|
|
|
-webkit-transition: color 0.5s;
|
|
|
|
}
|
|
|
|
a:hover {
|
|
|
|
color: #999;
|
|
|
|
}
|
|
|
|
#header {
|
|
|
|
height: 100%;
|
|
|
|
width: 250px;
|
|
|
|
position: fixed;
|
2015-03-15 03:35:30 +00:00
|
|
|
top: 0;
|
2015-02-09 04:24:58 +00:00
|
|
|
padding: 15px;
|
|
|
|
border-right: 1px dashed #AAA;
|
2015-03-15 03:35:30 +00:00
|
|
|
-webkit-box-shadow: 0 0 50px -18px black;
|
2015-02-09 04:24:58 +00:00
|
|
|
}
|
2015-03-24 00:52:18 +00:00
|
|
|
#header h1 {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2015-02-09 04:24:58 +00:00
|
|
|
#installed {
|
2015-03-04 07:55:35 +00:00
|
|
|
position: relative;
|
|
|
|
margin-left: 280px;
|
2015-02-09 04:24:58 +00:00
|
|
|
}
|
2015-03-04 07:55:35 +00:00
|
|
|
[style-id] {
|
2015-02-09 04:24:58 +00:00
|
|
|
margin: 10px;
|
2015-03-15 03:35:30 +00:00
|
|
|
padding: 0 15px;
|
2015-02-09 04:24:58 +00:00
|
|
|
}
|
2015-03-04 07:55:35 +00:00
|
|
|
[style-id] {
|
2015-02-09 04:24:58 +00:00
|
|
|
border-top: 2px solid gray;
|
|
|
|
}
|
2015-03-04 07:55:35 +00:00
|
|
|
#installed::after {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
width: 100%; height: 2px;
|
|
|
|
background-color: #fff;
|
|
|
|
}
|
2015-09-01 18:47:40 +00:00
|
|
|
img[src*="world"] {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
vertical-align: middle;
|
|
|
|
image-rendering: -webkit-optimize-contrast;
|
|
|
|
}
|
2015-08-03 05:47:13 +00:00
|
|
|
.applies-to {
|
|
|
|
word-break: break-word;
|
|
|
|
}
|
2015-02-09 04:24:58 +00:00
|
|
|
.applies-to, .actions {
|
|
|
|
padding-left: 15px;
|
|
|
|
}
|
|
|
|
.applies-to-extra {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
.disabled h2::after {
|
|
|
|
content: " (Disabled)";
|
|
|
|
}
|
|
|
|
.disabled {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
.disabled .disable {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.enabled .enable {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Default, no update buttons */
|
|
|
|
.update, .check-update {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
/* Check update button for things that can*/
|
|
|
|
*[style-update-url] .check-update {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
/* Update check in progress */
|
|
|
|
.checking-update .check-update {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
/* Updates available */
|
|
|
|
.can-update .update {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
.can-update .check-update {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
/* Updates not available */
|
|
|
|
.no-update .check-update {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
/* Updates done */
|
|
|
|
.update-done .check-update {
|
|
|
|
display: none;
|
|
|
|
}
|
2015-03-12 23:00:23 +00:00
|
|
|
.hidden {display: none}
|
2015-02-20 07:18:54 +00:00
|
|
|
|
|
|
|
@media(max-width:675px) {
|
|
|
|
#header {
|
|
|
|
height: auto;
|
|
|
|
position: inherit;
|
|
|
|
width: auto;
|
|
|
|
border-right: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#installed {
|
2015-03-15 03:35:30 +00:00
|
|
|
margin-left: 0;
|
2015-02-20 07:18:54 +00:00
|
|
|
}
|
|
|
|
|
2015-03-04 07:55:35 +00:00
|
|
|
[style-id] {
|
2015-03-15 03:35:30 +00:00
|
|
|
margin: 0;
|
2015-02-20 07:18:54 +00:00
|
|
|
}
|
|
|
|
}
|
2015-03-04 07:55:35 +00:00
|
|
|
|
2017-01-13 09:00:01 +00:00
|
|
|
#header {
|
|
|
|
overflow: auto;
|
2017-01-13 16:33:52 +00:00
|
|
|
height: calc(100vh - 30px)
|
2017-01-13 09:00:01 +00:00
|
|
|
}
|
|
|
|
|
2015-03-04 07:55:35 +00:00
|
|
|
fieldset {
|
|
|
|
border-width: 1px;
|
|
|
|
border-radius: 6px;
|
|
|
|
margin: 1em 0;
|
|
|
|
}
|
|
|
|
.enabled-only > .disabled, .edited-only > [style-update-url] {
|
|
|
|
display: none;
|
|
|
|
}
|
2015-05-08 15:07:33 +00:00
|
|
|
|
|
|
|
#search {
|
|
|
|
width: calc(100% - 4px);
|
|
|
|
margin: 0.25rem 4px 0;
|
|
|
|
border-radius: 0.25rem;
|
|
|
|
padding-left: 0.25rem;
|
|
|
|
border-width: 1px;
|
|
|
|
}
|
|
|
|
|
2017-01-13 08:53:17 +00:00
|
|
|
#import ul {
|
|
|
|
margin-left: 0;
|
|
|
|
padding-left: 0;
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
#import li {
|
|
|
|
margin-bottom: .5em;
|
|
|
|
}
|
|
|
|
#import pre {
|
|
|
|
background:#eee;
|
|
|
|
overflow: auto;
|
|
|
|
margin: 0 0 .5em 0;
|
|
|
|
}
|
|
|
|
|
2015-02-09 04:24:58 +00:00
|
|
|
</style>
|
2015-07-19 15:27:19 +00:00
|
|
|
|
|
|
|
<template data-id="style">
|
|
|
|
<div>
|
|
|
|
<h2 class="style-name"></h2>
|
|
|
|
<p class="applies-to"></p>
|
|
|
|
<p class="actions">
|
|
|
|
<a class="style-edit-link" href="edit.html?id="><button i18n-text="editStyleLabel"></button></a>
|
|
|
|
<button class="enable" i18n-text="enableStyleLabel"></button>
|
|
|
|
<button class="disable" i18n-text="disableStyleLabel"></button>
|
|
|
|
<button class="delete" i18n-text="deleteStyleLabel"></button>
|
|
|
|
<button class="check-update" i18n-text="checkForUpdate"></button>
|
|
|
|
<button class="update" i18n-text="installUpdate"></button>
|
|
|
|
<span class="update-note"></span>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
2016-03-19 21:58:01 +00:00
|
|
|
<template data-id="styleHomepage">
|
|
|
|
<a target="_blank">
|
|
|
|
<img src="world_go.png" alt="*">
|
|
|
|
</a>
|
|
|
|
</template>
|
|
|
|
|
2015-02-09 04:24:58 +00:00
|
|
|
<script src="localization.js"></script>
|
|
|
|
<script src="health.js"></script>
|
|
|
|
<script src="storage.js"></script>
|
|
|
|
<script src="messaging.js"></script>
|
2015-02-09 04:25:35 +00:00
|
|
|
<script src="apply.js"></script>
|
2015-05-27 20:30:22 +00:00
|
|
|
<script src="manage.js"></script>
|
2015-02-09 04:24:58 +00:00
|
|
|
</head>
|
|
|
|
<body id="stylish-manage">
|
|
|
|
<div id="header">
|
2015-03-27 10:30:07 +00:00
|
|
|
<h1 id="manage-heading" i18n-text="manageHeading"></h1>
|
2015-03-04 07:55:35 +00:00
|
|
|
<fieldset>
|
2015-03-27 10:30:07 +00:00
|
|
|
<legend id="filters" i18n-text="manageFilters"></legend>
|
|
|
|
<div><input id="manage.onlyEnabled" type="checkbox"><label id="manage.onlyEnabled-label" for="manage.onlyEnabled" i18n-text="manageOnlyEnabled"></label></div>
|
|
|
|
<div><input id="manage.onlyEdited" type="checkbox"><label id="manage.onlyEdited-label" for="manage.onlyEdited" i18n-text="manageOnlyEdited"></label></div>
|
2015-05-08 15:07:33 +00:00
|
|
|
<div><input id="search" type="search" i18n-placeholder="searchStyles"></div>
|
2015-03-04 07:55:35 +00:00
|
|
|
</fieldset>
|
2015-03-27 10:30:07 +00:00
|
|
|
<p><button id="check-all-updates" i18n-text="checkAllUpdates"></button></p>
|
2015-03-15 04:21:08 +00:00
|
|
|
<p>
|
2015-03-27 10:30:07 +00:00
|
|
|
<button id="apply-all-updates" class="hidden" i18n-text="applyAllUpdates"></button>
|
|
|
|
<span id="update-all-no-updates" class="hidden" i18n-text="updateAllCheckSucceededNoUpdate"></span>
|
2015-03-15 04:21:08 +00:00
|
|
|
</p>
|
2015-03-27 10:30:07 +00:00
|
|
|
<p><a href="edit.html"><button id="add-style-label" i18n-text="addStyleLabel"></button></a></p>
|
2015-02-09 04:24:58 +00:00
|
|
|
<div id="options">
|
2015-03-27 10:30:07 +00:00
|
|
|
<h2 id="options-heading" i18n-text="optionsHeading"></h2>
|
2016-03-24 02:38:15 +00:00
|
|
|
<div><input id="show-badge" type="checkbox"><label id="show-badge-label" for="show-badge" i18n-text="prefShowBadge"></label></div>
|
2015-03-27 10:30:07 +00:00
|
|
|
<div><input id="popup.stylesFirst" type="checkbox"><label id="stylesFirst-label" for="popup.stylesFirst" i18n-text="popupStylesFirst"></label></div>
|
2015-02-09 04:24:58 +00:00
|
|
|
</div>
|
2017-01-30 19:22:28 +00:00
|
|
|
<div id="backup">
|
|
|
|
<h2>Backup</h2>
|
2017-02-03 12:53:27 +00:00
|
|
|
<span>Larger files may take a moment, be patient.<br><br></span>
|
2017-01-30 19:22:28 +00:00
|
|
|
<button id="file-all-styles" i18n-text="bckpInstStyles"></button>
|
|
|
|
<button id="unfile-all-styles" i18n-text="retrieveBckp"></button>
|
2017-01-11 11:55:38 +00:00
|
|
|
</div>
|
2016-03-20 02:45:41 +00:00
|
|
|
<p id="manage-text" i18n-html="manageText"></p>
|
2015-02-09 04:24:58 +00:00
|
|
|
</div>
|
|
|
|
<div id="installed"></div>
|
2017-01-30 19:22:28 +00:00
|
|
|
<script src="backup/fileSaveLoad.js"></script>
|
|
|
|
<script src="backup/manage/fileSaveLoad.js"></script>
|
2015-02-09 04:24:58 +00:00
|
|
|
</body>
|
|
|
|
</html>
|