Directly show link

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
Jan-Christoph Borchardt 2017-11-01 14:12:04 +01:00
parent bc47668206
commit 18dff925be
2 changed files with 8 additions and 9 deletions

View File

@ -101,14 +101,13 @@ thead {
opacity: .5;
}
.directLink label {
font-weight: normal;
opacity: .5;
#directLink-container {
flex-wrap: wrap;
}
.directLink input {
margin-left: 5px;
width: 300px;
max-width: 90%;
#directLink {
margin-left: 30px;
flex-basis: 100%;
}
/* header buttons */

View File

@ -59,10 +59,10 @@ $maxUploadFilesize = min($upload_max_filesize, $post_max_size);
</a>
</li>
<li>
<a href="#">
<a href="#" id="directLink-container">
<span class="icon icon-public"></span>
<label for="directLink"><?php p($l->t('Direct link')) ?></label>
<input id="directLink" class="hidden" type="text" readonly value="<?php p($_['downloadURL']); ?>">
<input id="directLink" type="text" readonly value="<?php p($_['previewURL']); ?>">
</a>
</li>
<?php if ($_['server2serversharing']) { ?>