Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F7687845
media_upload.vue
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
943 B
Referenced Files
None
Subscribers
None
media_upload.vue
View Options
<template>
<div
class="media-upload"
@drop.prevent
@dragover.prevent="fileDrag"
@drop="fileDrop"
>
<label
class="label"
:title="$t('tool_tip.media_upload')"
>
<i
v-if="uploading"
class="progress-icon icon-spin4 animate-spin"
/>
<i
v-if="!uploading"
class="new-icon icon-upload"
/>
<input
v-if="uploadReady"
type="file"
style="position: fixed; top: -100em"
multiple="true"
@change="change"
>
</label>
</div>
</template>
<script src="./media_upload.js" ></script>
<style lang="scss">
.media-upload {
.label {
display: inline-block;
}
.new-icon {
cursor: pointer;
}
.progress-icon {
display: inline-block;
line-height: 0;
&::before {
/* Overriding fontello to achieve the perfect speeeen */
margin: 0;
line-height: 0;
}
}
}
</style>
File Metadata
Details
Attached
Mime Type
text/html
Expires
Thu, Sep 4, 12:11 AM (58 m, 39 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
435998
Default Alt Text
media_upload.vue (943 B)
Attached To
Mode
rPUFE pleroma-fe-upstream
Attached
Detach File
Event Timeline
Log In to Comment