Browse Source

themes/sourcehut: add search input to mailbox view

master
Simon Ser 4 years ago
parent
commit
3d9ddc05be
No known key found for this signature in database GPG Key ID: FDE7BE0E88F5E48
3 changed files with 14 additions and 0 deletions
  1. +3
    -0
      themes/sourcehut/assets/style.css
  2. +7
    -0
      themes/sourcehut/mailbox.html
  3. +4
    -0
      themes/sourcehut/scss/main.scss

+ 3
- 0
themes/sourcehut/assets/style.css View File

@@ -5511,6 +5511,9 @@ body {
.mailbox-container > .row, .message-container > .row {
flex-grow: 1; }

.mailbox-container form {
padding: 10px; }

.mailboxes-column {
border-right: 3px #ddd solid;
padding: 0; }


+ 7
- 0
themes/sourcehut/mailbox.html View File

@@ -40,6 +40,13 @@
</ul>
</div>
<div class="col-md-10 messages-column">
<div class="nav flex-column">
<form method="get" action="">
<input type="text" name="query" value="{{.Query}}"
class="form-control" placeholder="Search">
</form>
</div>

{{if .Messages}}
<ul class="nav flex-column">
{{range .Messages}}


+ 4
- 0
themes/sourcehut/scss/main.scss View File

@@ -43,6 +43,10 @@ body {
}
}

.mailbox-container form {
padding: 10px;
}

.mailboxes-column {
border-right: 3px #ddd solid;
padding: 0;


Loading…
Cancel
Save