aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/css/public.scss17
-rw-r--r--core/js/public/publicpage.js7
2 files changed, 21 insertions, 3 deletions
diff --git a/core/css/public.scss b/core/css/public.scss
index 412016bc625..cc2c6bd0826 100644
--- a/core/css/public.scss
+++ b/core/css/public.scss
@@ -17,11 +17,22 @@
#header-secondary-action {
margin-right: 13px;
- input[type='text'] {
- width: 200px;
+ ul li {
+ min-width: 270px;
+ }
+ #save-external-share {
+ form {
+ display: flex;
+ margin: 0;
+ }
+ .hidden {
+ display: none;
+ }
+ #save-button-confirm {
+ flex-grow: 0;
+ }
}
}
-
}
#content {
diff --git a/core/js/public/publicpage.js b/core/js/public/publicpage.js
index 1b37005540f..e71bdff12ae 100644
--- a/core/js/public/publicpage.js
+++ b/core/js/public/publicpage.js
@@ -25,6 +25,13 @@ $(document).ready(function () {
$('#body-public').find('.header-right .menutoggle').click(function() {
$(this).next('.popovermenu').toggleClass('open');
});
+
+ $('#save-external-share').find('label').click(function () {
+ $(this).toggleClass('hidden');
+ $('.save-form').toggleClass('hidden')
+ $('#remote_address').focus();
+ });
+
});
$(document).mouseup(function(e) {