iwa-panda2

Manage Weather Data by International Weather Agency (Version 2)
Log | Files | Refs | README

add_user.html (2678B)


      1 <!DOCTYPE html>
      2 <html lang="eng">
      3     <head>
      4         <title>Add user</title>
      5         <link rel="stylesheet" type="text/css" href="/css/login.css"/>
      6         <meta name="viewport" content="width=device-width, initial-scale=1.0">
      7     </head>
      8       <body>
      9       <nav class="navbar">
     10           <ul>
     11               <li><a href="/dashboard" class="a-small-logo"><IMG class="img-small-logo" SRC="/img/small_logo.png"></a></li>
     12               <li><a href="/dashboard" class="a-big-logo"><IMG class="img-big-logo" SRC="/img/big-logo.png"></a></li>
     13           </ul>
     14       </nav>
     15       <div class="container mx-auto text-center">
     16           <div class="row">
     17               <div class="col-md-12 title">
     18                   <h1>Add user</h1>
     19               </div>
     20           </div>
     21       </div>
     22         <div class="container">
     23             <div class="row justify-content-center">
     24             <div class="col-md-6">
     25                 <div class="card">
     26                     <div class="card-header">Login</div>
     27                     <div class="card-body">
     28             <form action="/user/add" method="post">
     29                 <div class="form-group">
     30                     <label for="first_name" class="form-label"><b>Voornaam:</b></label>
     31                     <input type="text" class="form-control" name="first_name" id="first_name" placeholder="{{$first_name_error "%%" "First name" !format_if }}" value="{{$first_name "%%" "" !format_if }}">
     32                 </div>
     33                 <div class="form-group">
     34                     <label for="last_name" class="form-label"><b>Achternaam:</b></label>
     35                     <input type="text" class="form-control" name="last_name" id="last_name" placeholder="{{$last_name_error "%%" "Last name" !format_if}}" value="{{$last_name "%%" "" !format_if }}">
     36                 </div>
     37                 <div class="form-group">
     38                     <label for="email" class="form-label"><b>Email:</b></label>
     39                     <input type="text" class="form-control" name="email" id="email" placeholder="{{$email_error "%%" "Email" !format_if}}" value="{{$email "%%" "" !format_if}}">
     40                 </div>
     41                 <div class="form-group">
     42                     <label for="password" class="form-label"><b>Wachtwoord:</b></label>
     43                     <input type="password" class="form-control" name="password" id="password" placeholder="{{$email_error "%%" "******" !format_if}}">
     44                 </div>
     45                 <button type="submit" class="btn btn-primary" name="submit">Add user</button>
     46             </form>
     47             {{$msg}}
     48                     </div>
     49                 </div>
     50                 </div>
     51             </div>
     52         </div>
     53     </body>
     54 </html>