Fix uplaod page display
This commit is contained in:
@@ -588,7 +588,9 @@ export default {
|
|||||||
<div class="settings-footer">
|
<div class="settings-footer">
|
||||||
<a href="https://git.lutran.fr/franzz/spot" :title="lang.get('credits.git')" target="_blank" rel="noopener">
|
<a href="https://git.lutran.fr/franzz/spot" :title="lang.get('credits.git')" target="_blank" rel="noopener">
|
||||||
<SpotIcon :icon="'credits'" :text="lang.get('credits.project')" />
|
<SpotIcon :icon="'credits'" :text="lang.get('credits.project')" />
|
||||||
</a> {{ lang.get('credits.license') }}</div>
|
</a>
|
||||||
|
<span> {{ lang.get('credits.license') }}</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div :class="'map-control map-control-icon settings-control map-control-'+(isMobile()?'bottom':'top')" @click="toggleSettingsPanel">
|
<div :class="'map-control map-control-icon settings-control map-control-'+(isMobile()?'bottom':'top')" @click="toggleSettingsPanel">
|
||||||
<SpotIcon :icon="settingsPanelOpen?'prev':'menu'" />
|
<SpotIcon :icon="settingsPanelOpen?'prev':'menu'" />
|
||||||
|
|||||||
@@ -118,10 +118,12 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<div id="upload">
|
<div id="upload">
|
||||||
|
<div class="section header">
|
||||||
<a name="back" class="button" href="#project"><SpotIcon :icon="'back'" :text="lang.get('action.back')" /></a>
|
<a name="back" class="button" href="#project"><SpotIcon :icon="'back'" :text="lang.get('action.back')" /></a>
|
||||||
<h1>{{ lang.get('upload.media.title') }}</h1>
|
<h1>{{ this.project.name }}</h1>
|
||||||
<h2>{{ this.project.name }}</h2>
|
</div>
|
||||||
<div class="section" v-if="project.editable">
|
<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" />
|
<input id="fileupload" type="file" name="files[]" multiple accept=".gif,.jpg,.jpeg,.png,.mov,.mp4" @change="onFileChange" />
|
||||||
</div>
|
</div>
|
||||||
<div class="section progress" v-if="progress > 0">
|
<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)" />
|
<SpotButton :classes="'save'" :icon="'save'" :text="lang.get('action.save')" @click="addComment(file)" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<h1>{{ lang.get('upload.position.title') }}</h1>
|
<div class="section location" v-if="project.editable">
|
||||||
<div class="section location">
|
<h2>{{ lang.get('upload.position.title') }}</h2>
|
||||||
<SpotButton :icon="'message'" :text="lang.get('upload.position.new')" @click="addPosition()" />
|
<SpotButton :icon="'message'" :text="lang.get('upload.position.new')" @click="addPosition()" />
|
||||||
</div>
|
</div>
|
||||||
<div class="section logs" v-if="logs.length > 0">
|
<div class="section logs" v-if="logs.length > 0">
|
||||||
|
|||||||
@@ -125,6 +125,12 @@ h1 {
|
|||||||
margin: 1em 0 0.5em;
|
margin: 1em 0 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font-size: 1.2em;
|
||||||
|
font-weight: bold;
|
||||||
|
margin: 1em 0 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
/* Feedback */
|
/* Feedback */
|
||||||
|
|
||||||
.feedback {
|
.feedback {
|
||||||
|
|||||||
@@ -53,16 +53,21 @@
|
|||||||
|
|
||||||
.settings-footer {
|
.settings-footer {
|
||||||
flex: 0 1 auto;
|
flex: 0 1 auto;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
background: color.$default-bg;
|
background: color.$default-bg;
|
||||||
border-radius: 0 0 3px 3px;
|
border-radius: 0 0 var.$block-radius var.$block-radius;
|
||||||
font-size: 0.7em;
|
font-size: 0.7em;
|
||||||
padding: var.$text-spacing;
|
padding: var.$text-spacing;
|
||||||
text-align: center;
|
|
||||||
color: color.$default;
|
color: color.$default;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: color.$default;
|
color: color.$default;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: color.$default-hover;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -6,10 +6,15 @@
|
|||||||
|
|
||||||
.section {
|
.section {
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
|
|
||||||
|
& + .section {
|
||||||
margin-top: var.$block-spacing;
|
margin-top: var.$block-spacing;
|
||||||
padding: 0 var.$block-spacing var.$block-spacing var.$block-spacing;
|
}
|
||||||
border-bottom: 1px solid color.$default-bg;
|
}
|
||||||
}
|
|
||||||
|
#fileupload {
|
||||||
|
padding: var.$block-spacing 0;
|
||||||
|
}
|
||||||
|
|
||||||
.progress {
|
.progress {
|
||||||
.bar {
|
.bar {
|
||||||
@@ -47,8 +52,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.logs {
|
.logs {
|
||||||
padding: var.$block-spacing;
|
|
||||||
|
|
||||||
p.log {
|
p.log {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user