From 841395d11817110fc64ba4e08df7abd7a01d0dec Mon Sep 17 00:00:00 2001 From: Bincheng Wu Date: Thu, 22 Jul 2021 13:54:12 -0400 Subject: [PATCH] update help icon UI --- rsconnect_jupyter/static/connect.js | 47 +++++++++-------------------- rsconnect_jupyter/static/main.css | 5 +-- 2 files changed, 15 insertions(+), 37 deletions(-) diff --git a/rsconnect_jupyter/static/connect.js b/rsconnect_jupyter/static/connect.js index 1d96dad4..2cb01ca4 100644 --- a/rsconnect_jupyter/static/connect.js +++ b/rsconnect_jupyter/static/connect.js @@ -1067,18 +1067,17 @@ define([ ' ', ' ', ' ', - '
', - '
', - ' ', - ' ', - '
', - '
', - '
', - '
', - ' ', - ' ', - '
', - '
', + '
', + ' ', + '
', + '
', + ' ', + ' ', + '
', + '
', + ' ', + ' ', + '

', '
', ' ', ' ', @@ -1397,28 +1396,10 @@ define([ $('#rsc-publish-source > label').append(helpIcon); })(); - // setup hide all input help icon - (function() { - var msg = - 'Check hide all input documentation'; - - var helpIcon = $( - [ - '', - '' - ].join('') - ) - .data('content', msg) - .data('html', true) - .popover(); - - $('#hide-all-input-wrapper').append(helpIcon); - })(); - - // setup hide tagged input help icon + // setup hide input help icon (function() { var msg = - 'Check hide tagged input documentation'; + 'Hide input documentation'; var helpIcon = $( [ @@ -1430,7 +1411,7 @@ define([ .data('html', true) .popover(); - $('#hide-tagged-input-wrapper').append(helpIcon); + $('#hide-input-wrapper').append(helpIcon); })(); var form = publishModal.find('form').on('submit', function(e) { diff --git a/rsconnect_jupyter/static/main.css b/rsconnect_jupyter/static/main.css index 0dd063d9..8506156a 100644 --- a/rsconnect_jupyter/static/main.css +++ b/rsconnect_jupyter/static/main.css @@ -131,10 +131,7 @@ p { text-align: right; } -#hide-all-input-wrapper { - display:flex; -} -#hide-tagged-input-wrapper { +#hide-input-wrapper { display:flex; }