From b423866d0debe72d6bef7c9cedaef93e09b0698d Mon Sep 17 00:00:00 2001 From: Russel Yasol Date: Sun, 24 Mar 2024 22:38:21 +0800 Subject: [PATCH] added reboot button --- simpleadmin/www/atcommander.html | 69 ++++++++++++++++++++++++++++++-- simpleadmin/www/styles.css | 41 +++++++++++++++++++ 2 files changed, 106 insertions(+), 4 deletions(-) create mode 100644 simpleadmin/www/styles.css diff --git a/simpleadmin/www/atcommander.html b/simpleadmin/www/atcommander.html index 5bc2ff7..da5bfda 100644 --- a/simpleadmin/www/atcommander.html +++ b/simpleadmin/www/atcommander.html @@ -9,6 +9,7 @@ + @@ -122,11 +123,40 @@
+
+

+ +

+ + + +

Here are some useful commands:

- diff --git a/simpleadmin/www/styles.css b/simpleadmin/www/styles.css new file mode 100644 index 0000000..8537dd4 --- /dev/null +++ b/simpleadmin/www/styles.css @@ -0,0 +1,41 @@ + .modal-overlay { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: rgba(0, 0, 0, 0.5); + z-index: 1000; + display: flex; + justify-content: center; + align-items: center; + } + + .loading-modal { + background-color: #fff; + padding: 20px; + border-radius: 10px; + text-align: center; + } + + .spinner { + border: 4px solid rgba(0, 0, 0, 0.1); + border-left-color: #333; + border-radius: 50%; + width: 40px; + height: 40px; + animation: spin 1s linear infinite; + margin: 0 auto 10px auto; + } + + .loading-text { + font-size: 18px; + color: #333; + } + + @keyframes spin { + to { + transform: rotate(360deg); + } + } + \ No newline at end of file