Skip to content

Commit

Permalink
search layout tweaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
bengarrett committed Mar 24, 2024
1 parent 35bf1e7 commit 8cc8625
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions view/app/layout.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@
<li><h6 class="dropdown-header">Products</h6></li>
<li><a class="dropdown-item" href="/magazine">Magazines</a></li>
<li><a class="dropdown-item" href="/magazine/a-z">Magazines {{az}}</a></li>
<li><hr class="dropdown-divider"></li>
<li><a class="dropdown-item" href="/ftp">FTP sites {{az}}</a></li>
<li><a class="dropdown-item" href="/bbs">BBS sites</a></li>
<li><a class="dropdown-item" href="/bbs/a-z">BBS sites {{az}}</a></li>
Expand Down
10 changes: 5 additions & 5 deletions view/app/searchPost.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
{{- define "content" }}
<div class="row justify-content-md-center">
<div class="col-md-8 col-lg-6">
<div class="card border-dark mb-3 p-3">
<div class="card border-dark">
<div class="card-body">
<h5 class="card-title text-info-emphasis fs-2 lead">
{{index . "title"}}<br>
<small class="fs-5 fw-lighter">{{index . "info"}}</small>
<p class="fs-6">multiple terms can be seperated with commas</p>
</h5>
<p class="card-text">
<form class="row g-3" method="post">
<p class="card-text p-0">
<form class="row g-3 p-0" method="post">
<input autofocus class="form-control" id="relDataList" name="search-term-query" placeholder="Type in the search terms…">
<div class="d-grid gap-2 d-sm-flex justify-content-sm-end">
<button type="submit" class="btn btn-primary me-md-3">Submit</button>
<div class="btn-group" role="group">
<button type="submit" class="btn btn-primary">Submit</button>
<button type="reset" class="btn btn-outline-dark">Clear</button>
</div>
</form>
Expand Down

0 comments on commit 8cc8625

Please sign in to comment.