[mw-devel] MW3 r1238 - in trunk/webclient: . templates
dez at sucs.org
dez at sucs.org
Sun Nov 14 12:58:49 GMT 2010
Author: dez
Date: 2010-11-14 12:58:49 +0000 (Sun, 14 Nov 2010)
New Revision: 1238
Modified:
trunk/webclient/mw.css
trunk/webclient/templates/front.html
Log:
Alterations to widths to cope with long usernames
Modified: trunk/webclient/mw.css
===================================================================
--- trunk/webclient/mw.css 2010-11-14 11:51:20 UTC (rev 1237)
+++ trunk/webclient/mw.css 2010-11-14 12:58:49 UTC (rev 1238)
@@ -1,3 +1,8 @@
+body {
+ margin: 5px;
+ padding 5px;
+}
+
.whoinfo {
padding: 5px;
background: #fff;
@@ -48,22 +53,23 @@
#whoouter {
float: right;
right: 10px;
-padding-top: 2px;
color: #d6d6d6;
}
#sayouter {
clear: both;
+ bottom: 0;
+ position: fixed;
+ width: 100%;
+ padding-bottom: 5px;
}
#wholist {
background-color: #000000;
- width: 10em;
+ width: 11em;
list-style: none;
margin: 0;
padding: 0;
- padding-top: 5px;
- padding-bottom: 5px;
/* overflow: auto; */
}
@@ -80,6 +86,12 @@
white-space: pre-wrap;
}
+#textouter {
+background: #666666;
+ width: 80%;
+ margin-right: -12em;
+}
+
#textlist {
padding: 5px;
}
@@ -127,19 +139,19 @@
.msg_poster {
float: left;
display: block;
- width: 10em;
+ width: 9.5em;
text-align: right;
}
.msg_content {
- padding-left: 11em;
+ padding-left: 10em;
text-indent: -1em;
display: block;
word-wrap: break-word;
}
.msg_content.withts {
- padding-left: 14.5em;
+ padding-left: 14em;
}
/* ************************************ */
Modified: trunk/webclient/templates/front.html
===================================================================
--- trunk/webclient/templates/front.html 2010-11-14 11:51:20 UTC (rev 1237)
+++ trunk/webclient/templates/front.html 2010-11-14 12:58:49 UTC (rev 1238)
@@ -1,25 +1,21 @@
<div id="whoouter">
-<ul id="wholist">
-</ul>
+ <ul id="wholist">
+ </ul>
</div>
<div id="textouter"><div id="textlist"><p class="welcome">Milliways III - Web Edition</p></div></div>
<div id="sayouter">
-<form action="" id="sayform">
- <textarea name="sayit" id="sayit" onKeyDown="return submitenter(this,event)"></textarea>
-</form>
-
-<form action="{$self}" method="post" id="logoutform">
- <input type="hidden" name="action" value="logout">
- <input type="button" name="escape" value="Escape" onclick="insertEscape(true);"><br />
- <input type="submit" name="submit" value="Logout" onclick="sendCmd('quit');">
-</form>
+ <form action="" id="sayform">
+ <textarea name="sayit" id="sayit" onKeyDown="return submitenter(this,event)"></textarea>
+ </form>
+ <form action="{$self}" method="post" id="logoutform">
+ <input type="hidden" name="action" value="logout">
+ <input type="button" name="escape" value="Escape" onclick="insertEscape(true);"><br />
+ <input type="submit" name="submit" value="Logout" onclick="sendCmd('quit');">
+ </form>
</div>
-<pre id="debug" style="clear: both;">
-</pre>
-
<script language="javascript" type="text/javascript">
-pageInit();
+ pageInit();
</script>
More information about the mw-devel
mailing list