mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Added percentage to email rate in members filter
This commit is contained in:
parent
4bf2702570
commit
6b878c6724
2 changed files with 32 additions and 7 deletions
|
@ -41,6 +41,8 @@
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{{else if (eq @filter.type 'email_open_rate')}}
|
{{else if (eq @filter.type 'email_open_rate')}}
|
||||||
|
<div class="relative">
|
||||||
|
<span class="gh-input-percentage-label">%</span>
|
||||||
<GhTextInput
|
<GhTextInput
|
||||||
@value={{@filter.value}}
|
@value={{@filter.value}}
|
||||||
@type="number"
|
@type="number"
|
||||||
|
@ -48,6 +50,7 @@
|
||||||
@keyPress={{fn this.updateInputFilterValueOnEnter @filter.type @filter.id}}
|
@keyPress={{fn this.updateInputFilterValueOnEnter @filter.type @filter.id}}
|
||||||
@input={{fn this.setInputFilterValue @filter.type @filter.id}}
|
@input={{fn this.setInputFilterValue @filter.type @filter.id}}
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
|
|
||||||
{{else if (eq @filter.type 'subscriptions.plan_interval')}}
|
{{else if (eq @filter.type 'subscriptions.plan_interval')}}
|
||||||
<span class="gh-select">
|
<span class="gh-select">
|
||||||
|
|
|
@ -35,6 +35,18 @@ input {
|
||||||
user-select: text;
|
user-select: text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input::-webkit-outer-spin-button,
|
||||||
|
input::-webkit-inner-spin-button {
|
||||||
|
appearance: none;
|
||||||
|
margin: 0;
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
input[type=number] {
|
||||||
|
appearance: textfield;
|
||||||
|
}
|
||||||
|
|
||||||
::-webkit-input-placeholder {
|
::-webkit-input-placeholder {
|
||||||
color: var(--midlightgrey);
|
color: var(--midlightgrey);
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
@ -236,6 +248,16 @@ textarea {
|
||||||
opacity: 1.0;
|
opacity: 1.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.gh-input-percentage-label {
|
||||||
|
display: block;
|
||||||
|
content: "hello";
|
||||||
|
position: absolute;
|
||||||
|
right: 10px;
|
||||||
|
top: 6px;
|
||||||
|
font-size: 1.3rem;
|
||||||
|
color: var(--midgrey);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Radio / Checkboxes
|
/* Radio / Checkboxes
|
||||||
/* ---------------------------------------------------------- */
|
/* ---------------------------------------------------------- */
|
||||||
|
|
Loading…
Add table
Reference in a new issue