Skip to content

Commit 17a7373

Browse files
author
Kristan Kenney
committed
Adjust CSS and edit mail account
1 parent 2ac7f6f commit 17a7373

File tree

3 files changed

+30
-24
lines changed

3 files changed

+30
-24
lines changed

web/css/src/themes/default.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3158,7 +3158,7 @@ a.button.cancel {
31583158
color: #777;
31593159
border: 1px solid #d9d9d9;
31603160
padding: 6px 6px 6px 18px;
3161-
margin-top: 102px;
3161+
margin-top: 97px;
31623162
min-width: 320px;
31633163
overflow: hidden;
31643164
box-shadow: 0px 1px 4px rgba(0,0,0,0.15);

web/css/themes/default.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/templates/admin/edit_mail_acc.html

Lines changed: 28 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -88,39 +88,40 @@
8888
</td>
8989
</tr>
9090
<tr>
91-
<td class="vst-text input-type input-label">
92-
<?php print _('Quota');?> <span class="optional">(<?=_('in megabytes')?>)</span>
91+
<td class="vst-text input-label">
92+
<?php print _('Send login credentials to email address') ?>
9393
</td>
9494
</tr>
9595
<tr>
96-
<td>
97-
<input type="text" size="20" class="vst-input" name="v_quota" value="<? if (!empty($v_quota)) {echo htmlentities(trim($v_quota, "'"));} else { echo "0"; } ?>">
98-
<i class="unlim-trigger fas fa-infinity" title="<?=_('Unlimited')?>" id="unlim-quota"></i>
96+
<td>
97+
<input type="text" class="vst-input" name="v_send_email" value="<?=htmlentities(trim($v_send_email, "'"))?>">
98+
<input type="hidden" name="v_credentials" id="v_credentials">
9999
</td>
100100
</tr>
101101
<tr>
102102
<td class="vst-text input-type input-label">
103-
<?php print _('Aliases');?> <span class="optional">(<?=_('use local-part')?>)</span>
103+
<?php print _('Quota');?> <span class="optional">(<?=_('in megabytes')?>)</span>
104104
</td>
105105
</tr>
106106
<tr>
107-
<td>
108-
<textarea size="20" class="vst-textinput short" name="v_aliases"><?=htmlentities(trim($v_aliases, "'"))?></textarea>
107+
<td>
108+
<input type="text" size="20" class="vst-input" name="v_quota" value="<? if (!empty($v_quota)) {echo htmlentities(trim($v_quota, "'"));} else { echo "0"; } ?>">
109+
<i class="unlim-trigger fas fa-infinity" title="<?=_('Unlimited')?>" id="unlim-quota"></i>
109110
</td>
110111
</tr>
111112
<tr>
112113
<td class="vst-text input-type input-label">
113-
<?php print _('Forward to');?> <span class="optional">(<?=_('one or more email addresses')?>)</span>
114+
<?php print _('Aliases');?> <span class="optional">(<?=_('use local-part')?>)</span>
114115
</td>
115116
</tr>
116117
<tr>
117118
<td>
118-
<textarea size="20" class="vst-textinput short" name="v_fwd" id="v_fwd" <?php if($v_blackhole == 'yes') echo "disabled";?>><?=htmlentities(trim($v_fwd, "'"))?></textarea>
119+
<textarea size="20" class="vst-textinput short" name="v_aliases"><?=htmlentities(trim($v_aliases, "'"))?></textarea>
119120
</td>
120121
</tr>
121122
<tr>
122123
<td class="vst-text input-label">
123-
<label><input type="checkbox" size="20" class="vst-checkbox" id="v_blackhole" name="v_blackhole" <?php if ($v_blackhole == 'yes') echo "checked=yes" ?>><?php print _('Discard all mail');?></label>
124+
<label><input type="checkbox" size="20" class="vst-checkbox" onclick="javascript:elementHideShow('v-fwd-opt');" id="v_blackhole" name="v_blackhole" <?php if ($v_blackhole == 'yes') echo "checked=yes" ?>><?php print _('Discard all mail');?></label>
124125
</td>
125126
</tr>
126127
<tr <?php if ($v_blackhole == 'yes') echo 'style="display:none"'; ?> id="id_fwd_for">
@@ -149,17 +150,22 @@
149150
</table>
150151
</td>
151152
</tr>
152-
<tr>
153-
<td class="vst-text input-label">
154-
<?php print _('Send login credentials to email address') ?>
155-
</td>
156-
</tr>
157-
<tr>
158-
<td>
159-
<input type="text" class="vst-input" name="v_send_email" value="<?=htmlentities(trim($v_send_email, "'"))?>">
160-
<input type="hidden" name="v_credentials" id="v_credentials">
161-
</td>
162-
</tr>
153+
<tr>
154+
<td>
155+
<table id="v-fwd-opt">
156+
<tr>
157+
<td class="vst-text input-type input-label">
158+
<?php print _('Forward to');?> <span class="optional">(<?=_('one or more email addresses')?>)</span>
159+
</td>
160+
</tr>
161+
<tr>
162+
<td>
163+
<textarea size="20" class="vst-textinput short" name="v_fwd" id="v_fwd" <?php if($v_blackhole == 'yes') echo "disabled";?>><?=htmlentities(trim($v_fwd, "'"))?></textarea>
164+
</td>
165+
</tr>
166+
</table>
167+
</td>
168+
</tr>
163169
</table>
164170
<table class="data-col2">
165171
</table>

0 commit comments

Comments
 (0)