Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F7687231
unit_setting.vue
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
unit_setting.vue
View Options
<template>
<span
v-if="matchesExpertLevel"
class="UnitSetting"
>
<label
:for="path"
class="size-label"
>
<slot />
</label>
{{ ' ' }}
<input
:id="path"
class="input number-input"
type="number"
:step="step"
:disabled="disabled"
:min="min || 0"
:value="stateValue"
@change="updateValue"
>
<Select
:id="path"
:model-value="stateUnit"
:disabled="disabled"
class="unit-input unstyled"
@change="updateUnit"
>
<option
v-for="option in units"
:key="option"
:value="option"
>
{{ getUnitString(option) }}
</option>
</Select>
{{ ' ' }}
<ModifiedIndicator
:changed="isChanged"
:onclick="reset"
/>
</span>
</template>
<script src="./unit_setting.js"></script>
<style lang="scss">
.UnitSetting {
.number-input {
max-width: 6.5em;
text-align: right;
}
.unit-input,
.unit-input select {
min-width: 4em;
width: auto;
}
}
</style>
File Metadata
Details
Attached
Mime Type
text/html
Expires
Wed, Sep 3, 7:43 PM (1 d, 15 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
437183
Default Alt Text
unit_setting.vue (1 KB)
Attached To
Mode
rPUFE pleroma-fe-upstream
Attached
Detach File
Event Timeline
Log In to Comment