Просмотр исходного кода

Adjust CSS and edit mail account

Kristan Kenney 5 лет назад
Родитель
Сommit
17a7373b10

+ 1 - 1
web/css/src/themes/default.css

@@ -3158,7 +3158,7 @@ a.button.cancel {
   color: #777;
   border: 1px solid #d9d9d9;
   padding: 6px 6px 6px 18px;
-  margin-top: 102px;
+  margin-top: 97px;
   min-width: 320px;
   overflow: hidden;
   box-shadow: 0px 1px 4px rgba(0,0,0,0.15);

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
web/css/themes/default.min.css


+ 28 - 22
web/templates/admin/edit_mail_acc.html

@@ -88,39 +88,40 @@
                             </td>
                         </tr>
                         <tr>
-                            <td class="vst-text input-type input-label">
-                                <?php print _('Quota');?> <span class="optional">(<?=_('in megabytes')?>)</span>
+                            <td class="vst-text input-label">
+                                <?php print _('Send login credentials to email address') ?>
                             </td>
                         </tr>
                         <tr>
-                          <td>
-                                <input type="text" size="20" class="vst-input" name="v_quota" value="<? if (!empty($v_quota)) {echo htmlentities(trim($v_quota, "'"));} else { echo "0"; } ?>">
-                                <i class="unlim-trigger fas fa-infinity" title="<?=_('Unlimited')?>" id="unlim-quota"></i>
+                            <td>
+                                <input type="text"  class="vst-input" name="v_send_email" value="<?=htmlentities(trim($v_send_email, "'"))?>">
+                                <input type="hidden" name="v_credentials" id="v_credentials">
                             </td>
                         </tr>
                         <tr>
                             <td class="vst-text input-type input-label">
-                                <?php print _('Aliases');?> <span class="optional">(<?=_('use local-part')?>)</span>
+                                <?php print _('Quota');?> <span class="optional">(<?=_('in megabytes')?>)</span>
                             </td>
                         </tr>
                         <tr>
-                            <td>
-                                <textarea size="20" class="vst-textinput short" name="v_aliases"><?=htmlentities(trim($v_aliases, "'"))?></textarea>
+                          <td>
+                                <input type="text" size="20" class="vst-input" name="v_quota" value="<? if (!empty($v_quota)) {echo htmlentities(trim($v_quota, "'"));} else { echo "0"; } ?>">
+                                <i class="unlim-trigger fas fa-infinity" title="<?=_('Unlimited')?>" id="unlim-quota"></i>
                             </td>
                         </tr>
                         <tr>
                             <td class="vst-text input-type input-label">
-                                <?php print _('Forward to');?> <span class="optional">(<?=_('one or more email addresses')?>)</span>
+                                <?php print _('Aliases');?> <span class="optional">(<?=_('use local-part')?>)</span>
                             </td>
                         </tr>
                         <tr>
                             <td>
-                                <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>
+                                <textarea size="20" class="vst-textinput short" name="v_aliases"><?=htmlentities(trim($v_aliases, "'"))?></textarea>
                             </td>
                         </tr>
                         <tr>
                             <td class="vst-text input-label">
-                                <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>
+                                <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>
                             </td>
                         </tr>
                         <tr <?php if ($v_blackhole == 'yes') echo 'style="display:none"'; ?> id="id_fwd_for">
@@ -149,17 +150,22 @@
                                 </table>
                             </td>
                         </tr>
-                    <tr>
-                        <td class="vst-text input-label">
-                            <?php print _('Send login credentials to email address') ?>
-                        </td>
-                    </tr>
-                    <tr>
-                        <td>
-                            <input type="text"  class="vst-input" name="v_send_email" value="<?=htmlentities(trim($v_send_email, "'"))?>">
-                            <input type="hidden" name="v_credentials" id="v_credentials">
-                        </td>
-                    </tr>
+                        <tr>
+                            <td>
+                                <table id="v-fwd-opt">
+                                    <tr>
+                                        <td class="vst-text input-type input-label">
+                                            <?php print _('Forward to');?> <span class="optional">(<?=_('one or more email addresses')?>)</span>
+                                        </td>
+                                    </tr>
+                                    <tr>
+                                        <td>
+                                            <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>
+                                        </td>
+                                    </tr>
+                                </table>
+                            </td>
+                        </tr>
                     </table>
                     <table class="data-col2">
                     </table>

Некоторые файлы не были показаны из-за большого количества измененных файлов