diff options
| author | Fuwn <[email protected]> | 2020-12-04 21:53:08 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2020-12-04 21:53:08 +0000 |
| commit | 19c88d8fab4c59390eb795f071e960f70ed6e884 (patch) | |
| tree | 44768f0b39ac20755b213c72918cf98f614ff122 /templates/threads.html.hbs | |
| parent | chore: update log (diff) | |
| download | chan-test_actix-yarte.tar.xz chan-test_actix-yarte.zip | |
not working loltest_actix-yarte
Diffstat (limited to 'templates/threads.html.hbs')
| -rw-r--r-- | templates/threads.html.hbs | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/templates/threads.html.hbs b/templates/threads.html.hbs deleted file mode 100644 index f9f1b85..0000000 --- a/templates/threads.html.hbs +++ /dev/null @@ -1,57 +0,0 @@ -<title>chan - /{{ this.0.board }}/</title> - -{{> header }} - -<form action="/api/v1/post" method="post"> - <div class="form-group"> - <label for="name">Name <span class="badge badge-info">Optional</span></label> - <input class="form-control" name="name" type="text" - placeholder="Anonymous"> - </div> - - <div class="form-group"> - <label for="comment">Comment <span class="badge badge-warning">Required</span></label> - <textarea class="form-control" name="comment" cols="48" rows="4" - wrap="soft" placeholder="comment" required></textarea> - </div> - - <div class="form-group form-check"> - <input class="form-check-input" type="checkbox" disabled> - <label class="form-check-label">I'm not a robot. <span class="badge badge-warning">Required</span> <span class="badge badge-danger">Disabled</span></label> - </div> - - <div class="form-group"> - <label class="form-check-label">Image <span class="badge badge-info">Optional</span> <span class="badge badge-danger">Disabled</span></label> - <input class="form-control-file" type="file" disabled> - </div> - - <input type="hidden" name="board" value="{{ this.0.board }}"> - - <button type="submit" class="btn btn-primary">Post</button> -</form> -<br> - -<hr> - -{{ #if this }} - {{ #each this }} - <!-- <div class="post" style="width: 420px"> - <h2>{{ this.name }}</h4> - <p>{{ this.comment }}</p> - </div> --> - - <div class="card"> - <div class="card-body"> - <h2>{{ this.name }}</h4> - <p>{{ this.comment }}</p> - - <button class="btn btn-primary" disabled>View thread</button> - </div> - </div> - <br> - {{ /each }} -{{ else }} - <div class="alert alert-primary" role="alert"> - No posts have been made today! - </div> -{{ /if }} |