diff --git a/web/css/styles.min.css b/web/css/styles.min.css index 67ed2c4b..cf51d76d 100644 --- a/web/css/styles.min.css +++ b/web/css/styles.min.css @@ -1285,6 +1285,10 @@ div.l-content > div.l-separator:nth-of-type(4) { height: 28px; min-width: 208px; padding-left: 4px; + appearance:none; + -moz-appearance:none; + -webkit-appearance:none; + padding-left: 10px; } .l-select select:focus { border: 0; @@ -2465,6 +2469,7 @@ label { font-size: 19px; font-weight: normal; height: 43px; + cursor: pointer; margin: 2px 6px 0 0; min-width: 138px; padding: 8px 1px 6px 10px; @@ -2475,7 +2480,6 @@ label { -moz-appearance:none; -webkit-appearance:none; text-shadow: 0 0 0 #555; - cursor: pointer; } .vst-list.long-2 { @@ -2503,6 +2507,9 @@ label { background-position: -210px -604px; text-shadow: none !important; } +.vst-list.flat:hover { + color: #ff6701; +} a.vst-text, a.vst-text b{ @@ -2548,6 +2555,9 @@ a.vst-text:active b{ font-family:"Lucida Console", Monaco, monospace; white-space: pre; } +.vst-textinput.short { + width: 360px; +} #advanced-options .console{ width: 833px; height: 600px; @@ -2823,8 +2833,8 @@ a.button.cancel { font-size: 12px; color: #777; border: 1px solid #d9d9d9; - padding: 7px 5px 12px 20px; - margin-top: 17px; + padding: 0px 5px 12px 20px; + margin-top: 64px; width: 334px; overflow: hidden; } @@ -2844,6 +2854,12 @@ a.button.cancel { width: 190px; white-space: nowrap; } +.mail-infoblock a { + color: #2c9491; +} +.mail-infoblock a:hover { + color: #ff6701; +} .additional-info { margin-left: 30px; diff --git a/web/templates/admin/add_mail_acc.html b/web/templates/admin/add_mail_acc.html index 5e009646..eec6a45a 100644 --- a/web/templates/admin/add_mail_acc.html +++ b/web/templates/admin/add_mail_acc.html @@ -184,6 +184,15 @@ <td><?=__('SMTP auth method')?>:</td> <td><div><?=__('Normal password')?></div></td> </tr> + <? + list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"].":"); + $webmail = "http://".$http_host."/webmail/"; + if (!empty($_SESSION['MAIL_URL'])) $webmail = $_SESSION['MAIL_URL']; + ?> + <tr> + <td><?=__('Webmail URL')?>:</td> + <td><div><a class="vst" href="<?=$webmail?>" target="_blank"><?=$webmail?> <i></i></a></div></td> + </tr> </table> </div> </td> diff --git a/web/templates/admin/edit_mail_acc.html b/web/templates/admin/edit_mail_acc.html index 20a286f9..673afda0 100644 --- a/web/templates/admin/edit_mail_acc.html +++ b/web/templates/admin/edit_mail_acc.html @@ -86,7 +86,7 @@ </tr> <tr> <td> - <textarea size="20" class="vst-textinput" name="v_aliases"><?php if (!empty($v_aliases)) echo htmlentities($v_aliases); ?></textarea> + <textarea size="20" class="vst-textinput short" name="v_aliases"><?php if (!empty($v_aliases)) echo htmlentities($v_aliases); ?></textarea> </td> </tr> <tr> @@ -193,10 +193,19 @@ <td><?=__('SMTP auth method')?>:</td> <td><div><?=__('Normal password')?></div></td> </tr> + <? + list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"].":"); + $webmail = "http://".$http_host."/webmail/"; + if (!empty($_SESSION['MAIL_URL'])) $webmail = $_SESSION['MAIL_URL']; + ?> + <tr> + <td><?=__('Webmail URL')?>:</td> + <td><div><a class="vst" href="<?=$webmail?>" target="_blank"><?=$webmail?> <i></i></a></div></td> + </tr> </table> </div> </td> </tr> </table> </form> -</div> \ No newline at end of file +</div>