1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-05-26 06:19:00 +02:00

Bugfix management interface HTML (#2574)

* bugfix: don't display management interface internals on frontpage
* nitpick: remove trailing whitespace

fixes #2572
This commit is contained in:
Nils Norman Haukås
2026-05-23 16:22:53 +02:00
committed by GitHub
parent b162b96da2
commit 86d78e946a

View File

@@ -45,44 +45,42 @@
</div> </div>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<fieldset> <fieldset>
<legend> <legend>
<label for="addaliasSenders" class="col-sm-1 control-label">Permitted Senders</label> <label for="addaliasSenders" class="col-sm-1 control-label">Permitted Senders</label>
</legend> </legend>
<div class="col-sm-10"> <div class="col-sm-10">
<div class="radio"> <div class="radio">
<label for="addaliasForwardsToNotAdvanced"> <label for="addaliasForwardsToNotAdvanced">
<input id="addaliasForwardsToNotAdvanced" <input id="addaliasForwardsToNotAdvanced"
name="addaliasForwardsToDivToggle" name="addaliasForwardsToDivToggle"
type="radio" type="radio"
checked checked
onclick="$('#addaliasForwardsToDiv').toggle(false)"> onclick="$('#addaliasForwardsToDiv').toggle(false)">
Any mail user listed in the Forwards To box can send mail claiming to be from Any mail user listed in the Forwards To box can send mail claiming to be from
<span class="regularalias">the alias address</span> <span class="regularalias">the alias address</span>
<span class="catchall domainalias">any address on the alias domain</span>. <span class="catchall domainalias">any address on the alias domain</span>.
</label> </label>
</div> </div>
<div class="radio"> <div class="radio">
<label for="addaliasForwardsToAdvanced"> <label for="addaliasForwardsToAdvanced">
<input id="addaliasForwardsToAdvanced" <input id="addaliasForwardsToAdvanced"
name="addaliasForwardsToDivToggle" name="addaliasForwardsToDivToggle"
type="radio" type="radio"
onclick="$('#addaliasForwardsToDiv').toggle(true)"> onclick="$('#addaliasForwardsToDiv').toggle(true)">
I&rsquo;ll enter the mail users that can send mail claiming to be from I&rsquo;ll enter the mail users that can send mail claiming to be from
<span class="regularalias">the alias address</span> <span class="regularalias">the alias address</span>
<span class="catchall domainalias">any address on the alias domain</span>. <span class="catchall domainalias">any address on the alias domain</span>.
</label> </label>
</div>
</div> </div>
</div> </fieldset>
</fieldset> </div>
</div> <div id="addaliasForwardsToDiv" style="margin-top: .5em; margin-left: 1.4em; display: none;">
<div id="addaliasForwardsToDiv" style="margin-top: .5em; margin-left: 1.4em; display: none;"> <textarea class="form-control" rows="3" id="addaliasSenders" placeholder="one user per line or separated by commas"></textarea>
<textarea class="form-control" rows="3" id="addaliasSenders" placeholder="one user per line or separated by commas"></textarea>
</div>
</div>
</div> </div>
<div class="form-group"> <div class="form-group">
<div class="col-sm-offset-1 col-sm-11"> <div class="col-sm-offset-1 col-sm-11">
@@ -96,7 +94,7 @@
<table id="alias_table" class="table" style="width: auto"> <table id="alias_table" class="table" style="width: auto">
<thead> <thead>
<tr> <tr>
<th scope="col" aria-label="Actions"></th> <th scope="col" aria-label="Actions"></th>
<th scope="col"> Alias<br></th> <th scope="col"> Alias<br></th>
<th scope="col"> Forwards To</th> <th scope="col"> Forwards To</th>
<th scope="col"> Permitted Senders</th> <th scope="col"> Permitted Senders</th>