diff options
-rw-r--r-- | frontend/css/style.css | 15 | ||||
-rw-r--r-- | frontend/index.html | 9 |
2 files changed, 21 insertions, 3 deletions
diff --git a/frontend/css/style.css b/frontend/css/style.css index 05336ab..ff1dc84 100644 --- a/frontend/css/style.css +++ b/frontend/css/style.css | |||
@@ -63,4 +63,17 @@ footer { | |||
63 | 63 | ||
64 | footer:hover { | 64 | footer:hover { |
65 | opacity: 1; | 65 | opacity: 1; |
66 | } \ No newline at end of file | 66 | } |
67 | |||
68 | th { | ||
69 | overflow: hidden; | ||
70 | } | ||
71 | |||
72 | .entry-toolbar { | ||
73 | opacity: 0; | ||
74 | transition: opacity .25s; | ||
75 | } | ||
76 | |||
77 | tr:hover .entry-toolbar { | ||
78 | opacity: 1; | ||
79 | } | ||
diff --git a/frontend/index.html b/frontend/index.html index 4c16ed5..c0a6a4e 100644 --- a/frontend/index.html +++ b/frontend/index.html | |||
@@ -148,7 +148,7 @@ | |||
148 | <th>Name</th> | 148 | <th>Name</th> |
149 | <th>Size</th> | 149 | <th>Size</th> |
150 | <th>Modified</th> | 150 | <th>Modified</th> |
151 | <th style="text-align: right;">Action</th> | 151 | <th> </th> |
152 | </tr> | 152 | </tr> |
153 | </thead> | 153 | </thead> |
154 | <tbody> | 154 | <tbody> |
@@ -166,7 +166,12 @@ | |||
166 | <th>{{ entry.filePath }}</th> | 166 | <th>{{ entry.filePath }}</th> |
167 | <th>{{ entry.size | prettyFileSize }}</th> | 167 | <th>{{ entry.size | prettyFileSize }}</th> |
168 | <th><span v-my-tooltip="foobar" data-toggle="tooltip" title="{{ entry.mtime }}">{{ entry.mtime | prettyDate }}</span></th> | 168 | <th><span v-my-tooltip="foobar" data-toggle="tooltip" title="{{ entry.mtime }}">{{ entry.mtime | prettyDate }}</span></th> |
169 | <th style="text-align: right;"><button class="btn btn-sm btn-danger" v-on:click.stop="delAsk(entry)"><i class="fa fa-trash"></i></button></th> | 169 | <th style="text-align: right;"> |
170 | <span class="entry-toolbar"> | ||
171 | <!-- <button class="btn btn-sm btn-default" v-on:click.stop="renameAsk(entry)" title="Rename"><i class="fa fa-pencil"></i></button> --> | ||
172 | <button class="btn btn-sm btn-danger" v-on:click.stop="delAsk(entry)" title="Delete"><i class="fa fa-trash"></i></button> | ||
173 | </span> | ||
174 | </th> | ||
170 | </tr> | 175 | </tr> |
171 | </tbody> | 176 | </tbody> |
172 | </table> | 177 | </table> |