From 7780376f5ff47705b45ac7150ac3c880a90502f0 Mon Sep 17 00:00:00 2001 From: noot Date: Thu, 1 Aug 2024 01:44:15 +0800 Subject: [PATCH 1/3] search bar functionality --- nodejs/public/lib/js/app-base.js | 2 + nodejs/views/hosts.ejs | 592 +++++++++++++++++-------------- 2 files changed, 321 insertions(+), 273 deletions(-) diff --git a/nodejs/public/lib/js/app-base.js b/nodejs/public/lib/js/app-base.js index c4ec287..94766bf 100644 --- a/nodejs/public/lib/js/app-base.js +++ b/nodejs/public/lib/js/app-base.js @@ -307,6 +307,8 @@ $( document ).ready(function(){ $('.fa-circle-minus').click(function(){ $(this).closest('.card').find('.card-body').slideToggle('fast'); + // $(this).closest('.card').find('.card-header').slideToggle('fast'); + }); $('.fa-circle-xmark').click(function(){ diff --git a/nodejs/views/hosts.ejs b/nodejs/views/hosts.ejs index 08824ba..a6e6387 100755 --- a/nodejs/views/hosts.ejs +++ b/nodejs/views/hosts.ejs @@ -1,318 +1,364 @@ <%- include('top') %> - + - - + - - -
- -
- -
- - - - - Proxy List - - - - -
+
+ + + + + Proxy List + + + + +
+ + + +
+ + +
- + -
- - - - - - - - - - - - - - - -
- Host Name - - target - - Actions -
- - {{{ forcessl_text }}}{{ host }} - - - {{{ targetssl_text }}}{{ ip }}:{{ targetPort }} - -
- - - -
-
+ + +
+ + + + +
- -<%- include('bottom') %> + <%- include('bottom') %> \ No newline at end of file From f2f5abbf7e10f50042a6d806a8495bb92940fb9e Mon Sep 17 00:00:00 2001 From: noot Date: Thu, 1 Aug 2024 02:38:09 +0800 Subject: [PATCH 2/3] Revert "search bar functionality" This reverts commit 7780376f5ff47705b45ac7150ac3c880a90502f0. --- nodejs/public/lib/js/app-base.js | 2 - nodejs/views/hosts.ejs | 606 ++++++++++++++----------------- 2 files changed, 280 insertions(+), 328 deletions(-) diff --git a/nodejs/public/lib/js/app-base.js b/nodejs/public/lib/js/app-base.js index 94766bf..c4ec287 100644 --- a/nodejs/public/lib/js/app-base.js +++ b/nodejs/public/lib/js/app-base.js @@ -307,8 +307,6 @@ $( document ).ready(function(){ $('.fa-circle-minus').click(function(){ $(this).closest('.card').find('.card-body').slideToggle('fast'); - // $(this).closest('.card').find('.card-header').slideToggle('fast'); - }); $('.fa-circle-xmark').click(function(){ diff --git a/nodejs/views/hosts.ejs b/nodejs/views/hosts.ejs index a6e6387..08824ba 100755 --- a/nodejs/views/hosts.ejs +++ b/nodejs/views/hosts.ejs @@ -1,364 +1,318 @@ <%- include('top') %> - + - + div.editWindow{ + margin-bottom: 1em; + } - -