From f82425a20d4acbbab0313bf1c820142b4d4b7b80 Mon Sep 17 00:00:00 2001 From: Thomas E Tuoti Date: Wed, 18 Dec 2024 13:52:59 -0700 Subject: [PATCH] Find/Replace 4spaces for Tab4, to make consistent with guidelines --- .../multiwikiserver/modules/mws-server.js | 62 +++++++------- .../modules/routes/handlers/delete-bag.js | 40 ++++----- .../modules/routes/handlers/delete-recipe.js | 40 ++++----- .../modules/routes/handlers/post-bag.js | 38 ++++----- .../modules/routes/handlers/post-recipe.js | 50 +++++------ .../multiwikiserver/templates/get-index.tid | 82 +++++++++---------- 6 files changed, 156 insertions(+), 156 deletions(-) diff --git a/plugins/tiddlywiki/multiwikiserver/modules/mws-server.js b/plugins/tiddlywiki/multiwikiserver/modules/mws-server.js index 1209100dd..05f0dcb46 100644 --- a/plugins/tiddlywiki/multiwikiserver/modules/mws-server.js +++ b/plugins/tiddlywiki/multiwikiserver/modules/mws-server.js @@ -317,37 +317,37 @@ Server.prototype.addAuthenticator = function(AuthenticatorClass) { }; Server.prototype.findMatchingRoute = function(request,state) { - for(var t=0; tjsonget[description]] }}}/>
-
jsonget[recipe_name]addprefix[/recipes/]] }}} method="post" onsubmit="return confirmRecipeDelete(this)"> - - -
+
jsonget[recipe_name]addprefix[/recipes/]] }}} method="post" onsubmit="return confirmRecipeDelete(this)"> + + +
@@ -133,19 +133,19 @@ title: $:/plugins/tiddlywiki/multiwikiserver/templates/get-index @@ -254,23 +254,23 @@ title: $:/plugins/tiddlywiki/multiwikiserver/templates/get-index } .mws-delete-button { - background-color: #f44336; - color: white; - padding: 5px 10px; - border: none; - border-radius: 4px; - cursor: pointer; - margin-left: 10px; + background-color: #f44336; + color: white; + padding: 5px 10px; + border: none; + border-radius: 4px; + cursor: pointer; + margin-left: 10px; } .mws-delete-button:hover { - background-color: #d32f2f; + background-color: #d32f2f; } .mws-wiki-card-actions { - display: flex; - justify-content: flex-end; - margin-top: 10px; + display: flex; + justify-content: flex-end; + margin-top: 10px; margin-left: 1em; } @@ -353,34 +353,34 @@ title: $:/plugins/tiddlywiki/multiwikiserver/templates/get-index } .mws-config-button:hover { - background-color: #45a049; + background-color: #45a049; } .mws-modal-content { - padding: 20px; + padding: 20px; } .mws-modal-section { - margin-bottom: 15px; + margin-bottom: 15px; } .mws-modal-buttons { - display: flex; - gap: 10px; - justify-content: flex-end; - margin-top: 20px; + display: flex; + gap: 10px; + justify-content: flex-end; + margin-top: 20px; } .mws-modal-button-primary { - background-color: #4CAF50; - color: white; - padding: 8px 16px; - border: none; - border-radius: 4px; - cursor: pointer; + background-color: #4CAF50; + color: white; + padding: 8px 16px; + border: none; + border-radius: 4px; + cursor: pointer; } .mws-modal-button-primary:hover { - background-color: #45a049; + background-color: #45a049; }