blob: 5cbdc59179e9e6cdd32eb6caf287d2a5cbac936b [file] [log] [blame]
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +01001<div role="tabpanel" class="tab-pane fade" id="tab-config-rspamd" role="tabpanel" aria-labelledby="tab-config-rspamd">
2 <div class="card mb-4">
3 <div class="card-header d-flex fs-5">
4 <button class="btn d-md-none flex-grow-1 text-start" data-bs-target="#collapse-tab-config-rspamd" data-bs-toggle="collapse" aria-controls="ollapse-tab-config-rspamd">
5 Rspamd UI
6 </button>
7 <span class="d-none d-md-block">Rspamd UI</span>
Matthias Andreas Benkard12a57352021-12-28 18:02:04 +01008 </div>
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +01009 <div id="collapse-tab-config-rspamd" class="card-body collapse" data-bs-parent="#admin-content">
Matthias Andreas Benkard12a57352021-12-28 18:02:04 +010010 <div class="row">
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +010011 <div class="col-12 d-flex d-sm-none mb-4">
12 <img id="rspamd_logo_sm" class="img-responsive mx-auto" src="/img/rspamd_logo_dark.png" alt="Rspamd UI">
Matthias Andreas Benkard12a57352021-12-28 18:02:04 +010013 </div>
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +010014 <div class="col-sm-9 col-12">
Matthias Andreas Benkard12a57352021-12-28 18:02:04 +010015 <form class="form-horizontal" autocapitalize="none" data-id="admin" autocorrect="off" role="form" method="post">
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +010016 <div class="row mb-4">
17 <div class="offset-sm-3 col-sm-9">
Matthias Andreas Benkard12a57352021-12-28 18:02:04 +010018 <label>
19 <a href="/rspamd/" target="_blank"><i class="bi bi-window"></i> Rspamd UI</a>
20 </label>
21 </div>
22 </div>
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +010023 <div class="row mb-2">
24 <label class="control-label col-sm-3 text-sm-end" for="rspamd_ui_pass">{{ lang.admin.password }}:</label>
Matthias Andreas Benkard12a57352021-12-28 18:02:04 +010025 <div class="col-sm-9">
26 <input type="password" class="form-control" id="rspamd_ui_pass" name="rspamd_ui_pass" autocomplete="new-password" required>
27 </div>
28 </div>
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +010029 <div class="row mb-4">
30 <label class="control-label col-sm-3 text-sm-end" for="rspamd_ui_pass2">{{ lang.admin.password_repeat }}:</label>
Matthias Andreas Benkard12a57352021-12-28 18:02:04 +010031 <div class="col-sm-9">
32 <input type="password" class="form-control" id="rspamd_ui_pass2" name="rspamd_ui_pass2" autocomplete="new-password" required>
33 </div>
34 </div>
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +010035 <div class="row mb-4">
36 <div class="offset-sm-3 col-sm-9">
37 <button type="submit" class="btn btn-sm d-block d-sm-inline btn-success" id="rspamd_ui" name="rspamd_ui" href="#"><i class="bi bi-check-lg"></i> {{ lang.admin.save }}</button>
Matthias Andreas Benkard12a57352021-12-28 18:02:04 +010038 </div>
39 </div>
40 </form>
41 </div>
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +010042 <div class="col-sm-3 d-none d-sm-block">
43 <img id="rspamd_logo" class="img-responsive" src="/img/rspamd_logo_dark.png" alt="Rspamd UI">
Matthias Andreas Benkard12a57352021-12-28 18:02:04 +010044 </div>
45 </div>
46 </div>
47 </div>
48</div>