parent
3128c7f063
commit
8e4b2fbbb0
|
@ -17,7 +17,7 @@
|
||||||
<template data-id="style">
|
<template data-id="style">
|
||||||
<div class="entry">
|
<div class="entry">
|
||||||
<h2 class="style-name">
|
<h2 class="style-name">
|
||||||
<a class="style-name-link" href="edit.html?id="></a>
|
<a class="style-name-link"></a>
|
||||||
<a target="_blank" class="homepage"></a>
|
<a target="_blank" class="homepage"></a>
|
||||||
</h2>
|
</h2>
|
||||||
<p class="applies-to">
|
<p class="applies-to">
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
<span class="targets"></span>
|
<span class="targets"></span>
|
||||||
</p>
|
</p>
|
||||||
<p class="actions">
|
<p class="actions">
|
||||||
<a class="style-edit-link" href="edit.html?id=">
|
<a class="style-edit-link">
|
||||||
<button i18n-text="editStyleLabel"></button>
|
<button i18n-text="editStyleLabel"></button>
|
||||||
</a>
|
</a>
|
||||||
<button class="enable" i18n-text="enableStyleLabel"></button>
|
<button class="enable" i18n-text="enableStyleLabel"></button>
|
||||||
|
@ -42,7 +42,7 @@
|
||||||
<div class="entry">
|
<div class="entry">
|
||||||
<h2 class="style-name">
|
<h2 class="style-name">
|
||||||
<input class="checker" type="checkbox" i18n-title="toggleStyle">
|
<input class="checker" type="checkbox" i18n-title="toggleStyle">
|
||||||
<a class="style-name-link" href="edit.html?id="></a>
|
<a class="style-name-link"></a>
|
||||||
</h2>
|
</h2>
|
||||||
<p class="actions">
|
<p class="actions">
|
||||||
<a target="_blank" class="homepage"></a>
|
<a target="_blank" class="homepage"></a>
|
||||||
|
|
|
@ -155,7 +155,7 @@ function createStyleElement({style, name}) {
|
||||||
checker: $('.checker', entry) || {},
|
checker: $('.checker', entry) || {},
|
||||||
nameLink: $('.style-name-link', entry),
|
nameLink: $('.style-name-link', entry),
|
||||||
editLink: $('.style-edit-link', entry) || {},
|
editLink: $('.style-edit-link', entry) || {},
|
||||||
editHrefBase: $('.style-name-link', entry).getAttribute('href'),
|
editHrefBase: 'edit.html?id=',
|
||||||
homepage: $('.homepage', entry),
|
homepage: $('.homepage', entry),
|
||||||
homepageIcon: template[`homepageIcon${newUI.enabled ? 'Small' : 'Big'}`],
|
homepageIcon: template[`homepageIcon${newUI.enabled ? 'Small' : 'Big'}`],
|
||||||
appliesTo: $('.applies-to', entry),
|
appliesTo: $('.applies-to', entry),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user