summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/extra/webcpanel/templates/default/header.html6
-rw-r--r--modules/extra/webcpanel/templates/default/memoserv/memos.html22
-rw-r--r--modules/extra/webcpanel/templates/default/style.css40
3 files changed, 51 insertions, 17 deletions
diff --git a/modules/extra/webcpanel/templates/default/header.html b/modules/extra/webcpanel/templates/default/header.html
index c16799259..35bffaa23 100644
--- a/modules/extra/webcpanel/templates/default/header.html
+++ b/modules/extra/webcpanel/templates/default/header.html
@@ -10,7 +10,11 @@
</head>
<body>
<div id="boxes">
- <div id="dialog" class="window"></div>
+ <div id="dialog" class="window">
+ <h2>Status Message:</h2>
+ <div id="dialogMsg"></div>
+ <div id="dialogClose"><a href="#" class="close">Dismiss</a></div>
+ </div>
<div id="mask"></div>
</div>
<div class="master">
diff --git a/modules/extra/webcpanel/templates/default/memoserv/memos.html b/modules/extra/webcpanel/templates/default/memoserv/memos.html
index c078137d8..e62232baa 100644
--- a/modules/extra/webcpanel/templates/default/memoserv/memos.html
+++ b/modules/extra/webcpanel/templates/default/memoserv/memos.html
@@ -7,7 +7,6 @@
var id = "#dialog";
showModal();
- setInterval('hideModal()', t);
$('.close').click(function (e) \{
e.preventDefault();
@@ -28,12 +27,14 @@
function showModal() \{
var mHeight = $(document).height();
var mWidth = $(window).width();
+
+ var alertMsg = '<br/>{CMDR}<br/>';
$('#mask').css(\{'width': mWidth, 'height': mHeight\});
$('#mask').fadeIn(200);
$('#mask').fadeTo('fast',0.75);
- $(id).html('<br/><br/>{CMDR} <br/><a href="#" class="close">Close</a>');
+ $('#dialogMsg').html(alertMsg);
var top = mHeight/2-$(id).height()/2;
var left= mWidth/2-$(id).width()/2;
@@ -41,8 +42,11 @@
$(id).css('left', left);
$('.master').fadeTo('fast',0.3);
- $(id).fadeIn(500);
- \}
+ $(id).fadeIn(500);
+ setTimeout(hideModal, t);
+
+ \}
+
\});
</script>
{END IF}
@@ -82,11 +86,13 @@
<td></td>
<td></td>
{IF EQ U YES}
- <td class="right"><a href="/memoserv/memos?channel={ESCAPED_CHANNEL_NAME}&number={I}&read=1">Mark as Read</a>
- <a href="{S}" class="reply" id="memo{I}">Reply</a> <a href="/memoserv/memos?channel={ESCAPED_CHANNEL_NAME}&number={I}&del=1">Delete</a></td>
+ <td class="right"><a href="/memoserv/memos?channel={ESCAPED_CHANNEL_NAME}&number={I}&read=1">Mark as Read</a> &nbsp;&nbsp
+ <a href="{S}" class="reply" id="memo{I}">Reply</a>&nbsp;&nbsp;
+ <a href="/memoserv/memos?channel={ESCAPED_CHANNEL_NAME}&number={I}&del=1">Delete</a></td>
{ELSE}
- <td class="right"><a href="/memoserv/memos?channel={ESCAPED_CHANNEL_NAME}&number={I}&read=2">Mark as Unread</a>
- <a href="{S}" class="reply" id="memo{I}">Reply</a> <a href="/memoserv/memos?channel={ESCAPED_CHANNEL_NAME}&number={I}&del=1">Delete</a></td>
+ <td class="right"><a href="/memoserv/memos?channel={ESCAPED_CHANNEL_NAME}&number={I}&read=2">Mark as Unread</a> &nbsp;&nbsp
+ <a href="{S}" class="reply" id="memo{I}">Reply</a> &nbsp;&nbsp
+ <a href="/memoserv/memos?channel={ESCAPED_CHANNEL_NAME}&number={I}&del=1">Delete</a></td>
{END IF}
</tr>
diff --git a/modules/extra/webcpanel/templates/default/style.css b/modules/extra/webcpanel/templates/default/style.css
index cab834ca1..73cac2329 100644
--- a/modules/extra/webcpanel/templates/default/style.css
+++ b/modules/extra/webcpanel/templates/default/style.css
@@ -124,9 +124,17 @@ body {
text-align: left;
}
+td.right a:link, td.right a:visited {
+ color: #00F;
+ text-decoration: none;
+}
+
+td.right a:hover {
+ text-decoration: underline;
+}
/* Modal Window */
#mask {
- position: aboslute;
+ position: absolute;
z-index: 9000;
background-color: #000;
height: 100%;
@@ -143,11 +151,27 @@ body {
padding:20px;
}
- #boxes #dialog {
- background-color: #FFF;
- width:375px;
- height:203px;
- padding: 20px;
- -webkit-border-radius: 15px;
- border-radius: 15px;
+#boxes #dialog {
+ text-align: center;
+ background-color: #FFF;
+ width:375px;
+ height:203px;
+ padding: 20px;
+ -webkit-border-radius: 15px;
+ border-radius: 15px;
+ display: none;
+}
+
+#dialogClose {
+ padding-top: 20px;
+}
+
+#dialogClose a:link, #dialogClose a:visited {
+ color: #000;
+ text-decoration: none;
+}
+
+#dialogClose a:hover {
+ color: #000;
+ text-decoration: underline;
}