git @ Cat's Eye Technologies StateLab / master public / index.html
master

Tree @master (Download .tar.gz)

index.html @masterraw · history · blame

<!DOCTYPE html>
<!--
Copyright (c) 2024 Chris Pressey, Cat's Eye Technologies
This file is distributed under an MIT license.  See LICENSES directory:
SPDX-License-Identifier: LicenseRef-MIT-X-StateLab
-->
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>StateLab</title>
    <style>
      body {
        font-family: Arial, sans-serif;
        line-height: 1.6;
        padding: 20px;
        max-width: 800px;
        margin: 0 auto;
      }
      .state-diagram-executor {
        display: flex;
        flex-direction: column;
        gap: 20px;
      }
      textarea {
        width: 100%;
        height: 150px;
        margin-bottom: 10px;
      }
      .current-state {
        border: 1px solid #ccc;
        padding: 10px;
        border-radius: 4px;
      }
      .transitions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
      }
      button {
        padding: 5px 10px;
        background-color: #007bff;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
      }
      button:disabled {
        background-color: #ccc;
        cursor: not-allowed;
      }
      </style>
    </head>
  <body>
    <div id="root"></div>
  </body>
</html>