From 99f5ee8e72bc50e22f64d1bfd7396b3a4df6d8df Mon Sep 17 00:00:00 2001 From: Alex Orid Date: Tue, 11 May 2021 23:09:19 -0400 Subject: [PATCH] Improved CSS --- user_client/v1/index.html | 222 ++++++++++++++++++++++++------------ user_client/v1/style.css | 6 +- user_client/v1/webclient.js | 17 ++- 3 files changed, 166 insertions(+), 79 deletions(-) diff --git a/user_client/v1/index.html b/user_client/v1/index.html index 68a5c7b..8ab21ef 100644 --- a/user_client/v1/index.html +++ b/user_client/v1/index.html @@ -29,29 +29,12 @@
  • About
  • - - - -
    - -
    - -
    - -
    - +
    + +
    +
    +
    +
    +
    + + refresh + +

    Settings

    +
    +
    +
    +
    + +
    +
    +
    +
    +
    + +
    +
    +
    +

    Made by Alex Orid,
    The Curious Nerd

    +
    - - -
    - - -
    +
    diff --git a/user_client/v1/style.css b/user_client/v1/style.css index fc99f7d..43273b4 100644 --- a/user_client/v1/style.css +++ b/user_client/v1/style.css @@ -20,12 +20,12 @@ p { display: flex; } -#bodyarea{ +.bodyarea{ background-color: rgb(250, 250, 250); padding: 0; - padding-top: 4em; + padding-top: 3em; margin: 0; - height: 100%; + min-height: 90%; } #sidebar_area{ diff --git a/user_client/v1/webclient.js b/user_client/v1/webclient.js index 1d111e9..ea29e75 100644 --- a/user_client/v1/webclient.js +++ b/user_client/v1/webclient.js @@ -26,14 +26,14 @@ fetch_GetList = (fetchURL) => response = fetch(fetchURL) GetList = async (listType) => { if (true) { - ListRequestOBJ = { + let ListRequestOBJ = { 'request_name': listType, 'request_type': "list" } - params = "?request_name="+encodeURIComponent(ListRequestOBJ.request_name)+"&"+"request_type="+encodeURIComponent(ListRequestOBJ.request_type); - targetURL = "http://127.0.0.1:42055/api/v1/user_client/get"+params; - console.log(targetURL) - a = await fetch_GetList(targetURL); + let params = "?request_name="+encodeURIComponent(ListRequestOBJ.request_name)+"&"+"request_type="+encodeURIComponent(ListRequestOBJ.request_type); + let targetURL = "http://127.0.0.1:42055/api/v1/user_client/get"+params; + //console.log(targetURL) + let a = await fetch_GetList(targetURL); //console.log("return: "+a); return a } @@ -59,7 +59,12 @@ async function GetListCommands() { return notDictionary } -let returnedCommands = GetListCommands(); +function updateCommandList() { + let returnedCommands = GetListCommands(); +} + +updateCommandList(); + async function GetListRewards() {