cityssm/parking-ticket-system

View on GitHub
public/html/ticket-editStatus.html

Summary

Maintainability
Test Coverage
=<div class="modal">
  <div class="modal-background"></div>
  <div class="modal-card">
    <header class="modal-card-head">
      <h3 class="modal-card-title">Edit a Status</h3>
      <button class="delete is-close-modal-button" aria-label="close" type="button"></button>
    </header>
    <section class="modal-card-body">
      <form id="form--editStatus">
        <input id="editStatus--ticketId" name="ticketId" type="hidden" />
        <input id="editStatus--statusIndex" name="statusIndex" type="hidden" />

        <div class="field">
          <label class="label" for="editStatus--statusKey">Status</label>
          <div class="control is-expanded">
            <div class="select is-fullwidth">
              <select id="editStatus--statusKey" name="statusKey" required></select>
            </div>
          </div>
        </div>

        <div class="field is-hidden">
          <label class="label" for="editStatus--statusField"></label>
          <div class="control">
            <input class="input" id="editStatus--statusField" name="statusField" />
          </div>
        </div>

        <div class="field is-hidden">
          <label class="label" for="editStatus--statusField2"></label>
          <div class="control">
            <input class="input" id="editStatus--statusField2" name="statusField2" />
          </div>
        </div>

        <div class="field">
          <label class="label" for="editStatus--statusNote">Notes</label>
          <div class="control">
            <textarea class="textarea" id="editStatus--statusNote" name="statusNote"></textarea>
          </div>
        </div>

        <div class="columns">
          <div class="column">
            <div class="field">
              <label class="label" for="editStatus--statusDateString">Status Date</label>
              <div class="control">
                <input class="input" id="editStatus--statusDateString" name="statusDateString" type="date" required />
              </div>
            </div>
          </div>
          <div class="column">
            <div class="field">
              <label class="label" for="editStatus--statusTimeString">Status Time</label>
              <div class="control">
                <input class="input" id="editStatus--statusTimeString" name="statusTimeString" type="time" required />
              </div>
            </div>
          </div>
        </div>
      </form>
    </section>
    <footer class="modal-card-foot justify-flex-end">
      <button class="button is-close-modal-button" type="button">Cancel</button>
      <button class="button is-success" type="submit" form="form--editStatus">Update Status</button>
    </footer>
  </div>
</div>