mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03:00
Added percentage to email rate in members filter
This commit is contained in:
parent
4bf2702570
commit
6b878c6724
@ -41,13 +41,16 @@
|
||||
/>
|
||||
|
||||
{{else if (eq @filter.type 'email_open_rate')}}
|
||||
<GhTextInput
|
||||
@value={{@filter.value}}
|
||||
@type="number"
|
||||
@focus-out={{fn this.updateInputFilterValue @filter.type @filter.id}}
|
||||
@keyPress={{fn this.updateInputFilterValueOnEnter @filter.type @filter.id}}
|
||||
@input={{fn this.setInputFilterValue @filter.type @filter.id}}
|
||||
/>
|
||||
<div class="relative">
|
||||
<span class="gh-input-percentage-label">%</span>
|
||||
<GhTextInput
|
||||
@value={{@filter.value}}
|
||||
@type="number"
|
||||
@focus-out={{fn this.updateInputFilterValue @filter.type @filter.id}}
|
||||
@keyPress={{fn this.updateInputFilterValueOnEnter @filter.type @filter.id}}
|
||||
@input={{fn this.setInputFilterValue @filter.type @filter.id}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
{{else if (eq @filter.type 'subscriptions.plan_interval')}}
|
||||
<span class="gh-select">
|
||||
|
@ -35,6 +35,18 @@ input {
|
||||
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 {
|
||||
color: var(--midlightgrey);
|
||||
font-weight: 400;
|
||||
@ -236,6 +248,16 @@ textarea {
|
||||
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
|
||||
/* ---------------------------------------------------------- */
|
||||
|
Loading…
Reference in New Issue
Block a user