github.com/nizigama/simple-note@v0.0.0-20210501235539-2cc762e06fe8/templates/note.html (about)

     1  <!doctype html>
     2  <html lang="en">
     3  
     4  <head>
     5      <!-- Required meta tags -->
     6      <meta charset="utf-8">
     7      <meta name="viewport" content="width=device-width, initial-scale=1">
     8  
     9      <!-- Bootstrap CSS -->
    10      <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/css/bootstrap.min.css" rel="stylesheet"
    11          integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6" crossorigin="anonymous">
    12  
    13      <title>Simple note</title>
    14  </head>
    15  
    16  <body>
    17  
    18      {{ template "protectedHeader" }}
    19  
    20      <div class="container mt-4">
    21          <p class="fs-2 fw-bold">Create a note</p>
    22  
    23          <form method="post" style="width: 50%;">
    24              <div class="mb-3">
    25                  <input required type="text" name="title" class="form-control" placeholder="Note title">
    26              </div>
    27              <div class="mb-3">
    28                  <textarea required class="form-control" name="note" rows="6" placeholder="Write something here"></textarea>
    29              </div>
    30              <input type="submit" value="Create" class="btn btn-sm btn-success">
    31          </form>
    32  
    33      </div>
    34  
    35  
    36      <div style="position: absolute;bottom: 10px; left: 0;right: 0;text-align: center;">Copyrights @{{ index . "year" }}
    37      </div>
    38      </div>
    39      <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/js/bootstrap.bundle.min.js"
    40          integrity="sha384-JEW9xMcG8R+pH31jmWH6WWP0WintQrMb4s7ZOdauHnUtxwoG2vI5DkLtS3qm9Ekf"
    41          crossorigin="anonymous"></script>
    42  
    43  </body>
    44  
    45  </html>