Added the id #room_ROOMNAME to the body tag, this enables us to use some conditionals...
authorthe_mgt <themgt@ueberserver.de>
Mon, 4 Jul 2011 23:50:34 +0000 (01:50 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Sun, 4 Sep 2011 21:30:29 +0000 (21:30 +0000)
body#room_ROOMNAME #some_id { whatever-css: youlike; }

Made the file chooser input selector bigger so that you can actually read the filename
Added class .bio to the bio view and a service.css to style it

webcit/static/styles/service.css [new file with mode: 0644]
webcit/static/styles/webcit.css
webcit/static/t/files.html
webcit/static/t/head.html
webcit/userlist.c

diff --git a/webcit/static/styles/service.css b/webcit/static/styles/service.css
new file mode 100644 (file)
index 0000000..8456e68
--- /dev/null
@@ -0,0 +1,26 @@
+.service {
+       padding 0.5em;
+}
+
+.bio table {
+       font-family: mono;
+       background-color: #deded0;
+       margin: 0.5em 1em;
+       border: 1px solid #5C646B;
+       -webkit-box-shadow: #666 0px 1px 2px;
+       -moz-box-shadow: #666 0px 2px 3px;
+       box-shadow: #666 0px 2px 3px;
+       behavior: url(/static/styles/PIE.htc);
+}
+
+.bio img {
+        max-width: 200px;
+        padding: 0.5em;
+        background-color: #fff;
+        border: 1px solid #5C646B;
+        box-shadow: #666 0px 2px 3px;
+        -webkit-box-shadow: #666 0px 1px 2px;
+        -moz-box-shadow: #666 0px 2px 3px;
+}
+
+.bio h1 { float: right; }
index cbafa5517f9de81d5173c1a9ac864705f321fa54..e922f9dd8f29966172deccfa0fb2bf0452efc1b5 100644 (file)
@@ -14,6 +14,7 @@
 @import url("box.css");
 @import url("message.css");
 @import url("modal.css");
+@import url("service.css");
 
 @media print {
        input#toggler, .toolbar { display: none }
index 99ea5f5be4c2da8effd93e5188760d4193079691..268eaeefd0feab437b7e5b19c7e68ff780b63bd0 100644 (file)
@@ -7,8 +7,8 @@
                <form enctype="multipart/form-data" method="POST" accept-charset="UTF-8" action="upload_file" name="upload_file_form">
                        <input type="hidden" name="nonce" value="<?NONCE>">
                        <?_("Upload a file:")>&nbsp;
+                       <input name="filename" size="60" type="file">&nbsp;
                        <div id="navbar">
-                               <input name="filename" size="1" type="file">&nbsp;
                                <?_("Description:")>&nbsp;
                                <input type="text" name="description" maxlength="50" size="50">&nbsp;
                                <input type="submit" name="attach_button" value="<?_("Upload")>">
index 5473907b32abcc2b00e3ca0d8f9475de5c15fd90..7e6125cfbad11419f05f8758f442d3e9d0f2ab85 100644 (file)
@@ -25,7 +25,7 @@
                <script type="text/javascript" src="static/ctdldragdrop.js"></script>
                <script type="text/javascript" src="static/modal.js"></script>
        </head>
-<body>
+<body id="room_<?CURRENT_ROOM>">
 <div id="is_logged_in" style="display:none"><?%("COND:LOGGEDIN", 1, 1, 1, "no", "yes")></div>
 <?ICONBAR>
 <!-- begin modal box -->
index 7b63bf81b31d0e19e8c1e505eec78e91db098825..d5b33238be46ad093b40fb837da1a7be987e3355 100644 (file)
@@ -119,7 +119,7 @@ void showuser(void)
         wc_printf("</h1>");
         wc_printf("</div>");
 
-        wc_printf("<div id=\"content\" class=\"service\">\n");
+        wc_printf("<div id=\"content\" class=\"service bio\">\n");
 
        wc_printf("<table class=\"userlist_background\"><tr><td>\n");