public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Trace
data/web/templates/edit/relayhost.twig
Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.
Author
Date
Commit
Line
Code
1
{% extends 'edit.twig' %}
3
{% block inner_content %}
4
{% if result %}
5
<h4>{{ lang.edit.resource }}</h4>
6
<form class="form-horizontal" role="form" method="post" data-id="editrelayhost">
7
<input type="hidden" value="0" name="active">
8
<div class="row mb-2">
9
<label class="control-label col-sm-2" for="hostname">{{ lang.add.hostname }}</label>
10
<div class="col-sm-10">
11
<input type="text" class="form-control" name="hostname" value="{{ result.hostname }}" required>
12
<p class="text-muted">{{ lang.add.relayhost_wrapped_tls_info|raw }}</p>
13
</div>
14
</div>
15
<div class="row mb-2">
16
<label class="control-label col-sm-2" for="username">{{ lang.add.username }}</label>
17
<div class="col-sm-10">
18
<input type="text" class="form-control" name="username" value="{{ result.username }}">
19
</div>
20
</div>
21
<div class="row mb-4">
22
<label class="control-label col-sm-2" for="password">{{ lang.add.password }}</label>
23
<div class="col-sm-10">
24
<input type="text" data-hibp="true" class="form-control" name="password" value="{{ result.password }}">
25
</div>
26
</div>
27
<div class="row mb-2">
28
<div class="offset-sm-2 col-sm-10">
29
<div class="form-check">
30
<label><input type="checkbox" class="form-check-input" value="1" name="active"{% if result.active == '1' %} checked{% endif %}> {{ lang.edit.active }}</label>
31
</div>
32
</div>
33
</div>
34
<div class="row mb-2">
35
<div class="offset-sm-2 col-sm-10">
36
<button class="btn btn-xs-lg d-block d-sm-inline btn-success" data-action="edit_selected" data-id="editrelayhost" data-item="{{ result.id }}" data-api-url='edit/relayhost' data-api-attr='{}' href="#">{{ lang.edit.save }}</button>
37
</div>
38
</div>
39
</form>
40
{% else %}
41
{{ parent() }}
42
{% endif %}
43
{% endblock %}