Commit c2483736 by Johannes Zellner

Fix the file drop events

1 parent 13df9f95
Showing with 6 additions and 2 deletions
...@@ -6,7 +6,7 @@ body { ...@@ -6,7 +6,7 @@ body {
color: rgb(96, 98, 102); color: rgb(96, 98, 102);
} }
body > .el-container { .el-container {
height: 100%; height: 100%;
} }
......
...@@ -19,7 +19,9 @@ ...@@ -19,7 +19,9 @@
</head> </head>
<body> <body>
<el-container id="app" @drop="drop" @dragover="dragOver"> <div id="app" @drop="drop" @dragover="dragOver">
<el-container>
<input type="file" ref="upload" style="display: none" id="uploadInput" multiple/> <input type="file" ref="upload" style="display: none" id="uploadInput" multiple/>
<el-dialog title="Login" :visible.sync="ready && !session.valid" width="30%" :close-on-press-escape="false" :show-close="false"> <el-dialog title="Login" :visible.sync="ready && !session.valid" width="30%" :close-on-press-escape="false" :show-close="false">
...@@ -111,6 +113,8 @@ ...@@ -111,6 +113,8 @@
<el-footer style="height: 24px">Built by the <a href="https://cloudron.io" target="_blank">Cloudron.io</a> team. <a href="https://git.cloudron.io/cloudron/surfer" target="_blank">Get the code</a></el-footer> <el-footer style="height: 24px">Built by the <a href="https://cloudron.io" target="_blank">Cloudron.io</a> team. <a href="https://git.cloudron.io/cloudron/surfer" target="_blank">Get the code</a></el-footer>
</el-container> </el-container>
</div>
<script src="/_admin/js/app.js"></script> <script src="/_admin/js/app.js"></script>
</body> </body>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!