Fix uplaod page display
This commit is contained in:
@@ -118,10 +118,12 @@ export default {
|
||||
</script>
|
||||
<template>
|
||||
<div id="upload">
|
||||
<a name="back" class="button" href="#project"><SpotIcon :icon="'back'" :text="lang.get('action.back')" /></a>
|
||||
<h1>{{ lang.get('upload.media.title') }}</h1>
|
||||
<h2>{{ this.project.name }}</h2>
|
||||
<div class="section header">
|
||||
<a name="back" class="button" href="#project"><SpotIcon :icon="'back'" :text="lang.get('action.back')" /></a>
|
||||
<h1>{{ this.project.name }}</h1>
|
||||
</div>
|
||||
<div class="section" v-if="project.editable">
|
||||
<h2>{{ lang.get('upload.media.title') }}</h2>
|
||||
<input id="fileupload" type="file" name="files[]" multiple accept=".gif,.jpg,.jpeg,.png,.mov,.mp4" @change="onFileChange" />
|
||||
</div>
|
||||
<div class="section progress" v-if="progress > 0">
|
||||
@@ -135,8 +137,8 @@ export default {
|
||||
<SpotButton :classes="'save'" :icon="'save'" :text="lang.get('action.save')" @click="addComment(file)" />
|
||||
</div>
|
||||
</div>
|
||||
<h1>{{ lang.get('upload.position.title') }}</h1>
|
||||
<div class="section location">
|
||||
<div class="section location" v-if="project.editable">
|
||||
<h2>{{ lang.get('upload.position.title') }}</h2>
|
||||
<SpotButton :icon="'message'" :text="lang.get('upload.position.new')" @click="addPosition()" />
|
||||
</div>
|
||||
<div class="section logs" v-if="logs.length > 0">
|
||||
|
||||
Reference in New Issue
Block a user