diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2017-11-01 14:12:04 +0100 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2017-11-01 14:17:34 +0100 |
commit | 18dff925bec138afb0a717a5728caf4f63bbb593 (patch) | |
tree | ecd1e2b5ee50999fb2b5f182cf6dd634fa8fd7b1 /apps | |
parent | bc476682061aa54f197f96ff091373cd4ca92677 (diff) | |
download | nextcloud-server-18dff925bec138afb0a717a5728caf4f63bbb593.tar.gz nextcloud-server-18dff925bec138afb0a717a5728caf4f63bbb593.zip |
Directly show link
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/css/public.scss | 13 | ||||
-rw-r--r-- | apps/files_sharing/templates/public.php | 4 |
2 files changed, 8 insertions, 9 deletions
diff --git a/apps/files_sharing/css/public.scss b/apps/files_sharing/css/public.scss index 1e7267086fd..51c2bc9f4ce 100644 --- a/apps/files_sharing/css/public.scss +++ b/apps/files_sharing/css/public.scss @@ -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 */ diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php index eb721f8eedf..beeefe13cbd 100644 --- a/apps/files_sharing/templates/public.php +++ b/apps/files_sharing/templates/public.php @@ -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']) { ?> |