mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-12-25 07:47:05 +00:00
WIP
This commit is contained in:
parent
7b60c0850c
commit
03472788fd
@ -13,7 +13,7 @@
|
|||||||
<h3>SMTP Relay Configuration</h3>
|
<h3>SMTP Relay Configuration</h3>
|
||||||
<form class="form-horizontal" role="form" onsubmit="return false;">
|
<form class="form-horizontal" role="form" onsubmit="return false;">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<table style="width: 600px">
|
<table id="smtp-relays" class="table" style="width: 600px">
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<label for="use_relay" class="col-sm-1 control-label">Use Relay?</label>
|
<label for="use_relay" class="col-sm-1 control-label">Use Relay?</label>
|
||||||
@ -97,7 +97,9 @@
|
|||||||
relay_auth_pass.disabled = !(relay_enabled && auth_enabled)
|
relay_auth_pass.disabled = !(relay_enabled && auth_enabled)
|
||||||
}
|
}
|
||||||
|
|
||||||
$(api(
|
function show_smtp_relays() {
|
||||||
|
$('#smtp-relays tbody').html("<tr><td colspan='2' class='text-muted'>Loading...</td></tr>")
|
||||||
|
api(
|
||||||
"/system/smtp/relay",
|
"/system/smtp/relay",
|
||||||
"GET",
|
"GET",
|
||||||
{},
|
{},
|
||||||
@ -111,5 +113,6 @@
|
|||||||
|
|
||||||
checkfields()
|
checkfields()
|
||||||
}
|
}
|
||||||
))
|
)
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user