Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
3.6 kB
1
Indexable
Never
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <link
      href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0-beta1/dist/css/bootstrap.min.css"
      rel="stylesheet"
      integrity="sha384-0evHe/X+R7YkIZDRvuzKMRqM+OrBnVFBL6DOitfPri4tjfHxaWutUpFmBp4vmVor"
      crossorigin="anonymous"
    />
    <title>Digitastic Data Chat</title>
  </head>

  <body>
    <div
      class="d-flex flex-column flex-md-row align-items-center p-3 px-md-4 mb-3 border-bottom shadow-sm text-white"
      style="background-color: #174171"
    >
      <h5 class="my-0 mr-md-auto font-weight-normal px-4">
        Digitastic Data Chat|Reports
      </h5>
      <nav class="my-2 my-md-0 mr-md-3">
        <a class="p-2 text-white" href="/">Home</a>
        <a class="p-2 text-white" href="/dbSelect">Db & Table Select</a>
        <a class="p-2 text-white" href="/oldQuestions">Questions</a>
      </nav>
      <div class="d-inline-flex mt-2 mt-md-0 ms-md-auto">
        <a class="btn btn-outline-light" href="/logout">Logout</a>
      </div>
    </div>

    <div class="container-fluid d-flex flex-column">
      <form action="/" method="post">
        <textarea
          class="form-control resize-none overflow-auto"
          rows="3"
          placeholder="Data raporu almak icin, istediginizi buraya yazin..."
          name="question"
          style="max-height: 250px;"
        ></textarea>

        <button class="btn btn-outline-primary mt-4 container-fluid" type="submit">
          Oluştur
        </button>
      </form>

      <h2 class="my-2 mt-4" style="color: #174171;">Reports</h2>

      <p>
        <b>Soru:</b> ilk 5 musterilerin isimlerini, idlerini ve cc lerini getir
      </p>

      <input
        class="form-control overflow-auto"
        type="text"
        value="SELECT id, name, cc FROM client LIMIT 5;"
        aria-label="Disabled input example"
        disabled
        readonly
      />

      <table class="table table-striped table-sm table-hover" style="margin-top: 3rem;">
        <thead class="text-white" style="background-color: #174171 !important;">
          <tr>
            <th scope="col">Index</th>

            <th scope="col">id</th>

            <th scope="col">name</th>

            <th scope="col">cc</th>
          </tr>
        </thead>
        <tbody class="table-group-divider border-white">
          <tr>
            <th scope="row">0</th>

            <td>135217-10225</td>

            <td>1</td>

            <td>Tüshaus, Dorothee</td>
          </tr>

          <tr>
            <th scope="row">1</th>

            <td>135217-10002</td>

            <td>2</td>

            <td>S73 Steuerberatungsgesellschaft mbH</td>
          </tr>

          <tr>
            <th scope="row">2</th>

            <td>135217-10128</td>

            <td>3</td>

            <td>freizeichen service GmbH</td>
          </tr>

          <tr>
            <th scope="row">3</th>

            <td>135217-10322</td>

            <td>4</td>

            <td>digital73 it service gmbh</td>
          </tr>

          <tr>
            <th scope="row">4</th>

            <td>135217-10286</td>

            <td>6</td>

            <td>Hotel Lindenufer Management GmbH</td>
          </tr>
        </tbody>
      </table>
    </div>

    <div class="mx-auto" style="width: 300px">
      <pre style="color:#174171">&copy; 2023 - digitastic</pre>
    </div>
  </body>
</html>