Code cleanups
[e-mobility-charging-stations-simulator.git] / src / ui / httpd / start.ts
similarity index 79%
rename from src/ui/http/start.ts
rename to src/ui/httpd/start.ts
index 27b7fcb9cb37673e83e2d9ba8529fb2c1c9a6052..28396dfcc9181a4ad0a8cbcf01ab6ce430ff1ba3 100644 (file)
@@ -5,12 +5,11 @@ const app = express();
 
 app.get('/', (request, response) => {
   response.send(`
+
   <form>
-  <input type="button" onclick="window.location.href='/start';" value="Start" />
-  <input type="button" onclick="window.location.href='/stop';" value="Stop" />
-</form>
+    <input type="button" onclick="window.location.href='/start';" value="Start" />
+    <input type="button" onclick="window.location.href='/stop';" value="Stop" />
+  </form>
 
   `);
 });