aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJohannes Zellner <johannes@cloudron.io>2018-05-17 14:36:29 +0200
committerJohannes Zellner <johannes@cloudron.io>2018-05-17 14:36:29 +0200
commitc248373641e65b585e0029176a608d6f4160642d (patch)
tree0046d2bdff7611c6918c532b748aa485945c9972
parent13df9f95b03daec6f2ce4d5a5d2a62657e814d0d (diff)
downloadSurfer-c248373641e65b585e0029176a608d6f4160642d.tar.gz
Surfer-c248373641e65b585e0029176a608d6f4160642d.tar.zst
Surfer-c248373641e65b585e0029176a608d6f4160642d.zip
Fix the file drop events
-rw-r--r--frontend/css/style.css2
-rw-r--r--frontend/index.html6
2 files changed, 6 insertions, 2 deletions
diff --git a/frontend/css/style.css b/frontend/css/style.css
index 702aa5e..5c9236b 100644
--- a/frontend/css/style.css
+++ b/frontend/css/style.css
@@ -6,7 +6,7 @@ body {
6 color: rgb(96, 98, 102); 6 color: rgb(96, 98, 102);
7} 7}
8 8
9body > .el-container { 9.el-container {
10 height: 100%; 10 height: 100%;
11} 11}
12 12
diff --git a/frontend/index.html b/frontend/index.html
index 93ea3e3..2e2e5e3 100644
--- a/frontend/index.html
+++ b/frontend/index.html
@@ -19,7 +19,9 @@
19</head> 19</head>
20<body> 20<body>
21 21
22<el-container id="app" @drop="drop" @dragover="dragOver"> 22<div id="app" @drop="drop" @dragover="dragOver">
23
24<el-container>
23 <input type="file" ref="upload" style="display: none" id="uploadInput" multiple/> 25 <input type="file" ref="upload" style="display: none" id="uploadInput" multiple/>
24 26
25 <el-dialog title="Login" :visible.sync="ready && !session.valid" width="30%" :close-on-press-escape="false" :show-close="false"> 27 <el-dialog title="Login" :visible.sync="ready && !session.valid" width="30%" :close-on-press-escape="false" :show-close="false">
@@ -111,6 +113,8 @@
111 <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> 113 <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>
112</el-container> 114</el-container>
113 115
116</div>
117
114<script src="/_admin/js/app.js"></script> 118<script src="/_admin/js/app.js"></script>
115 119
116</body> 120</body>