# HG changeset patch # User hamidouk # Date 1324032381 -3600 # Node ID a6496f95e0fcc3d776058bee67096e6ef1936479 # Parent c4b74f49d336293d4021436bc02be4c25448155b fixed a couple display bugs. diff -r c4b74f49d336 -r a6496f95e0fc web/index.php --- a/web/index.php Fri Dec 16 10:44:06 2011 +0100 +++ b/web/index.php Fri Dec 16 11:46:21 2011 +0100 @@ -15,7 +15,7 @@
@@ -33,9 +33,14 @@
continue;
list($title, $stream_id, $thumbnail, $date) = explode(";", $line);
+ if (strlen($title) >= 37) {
+ $title = substr($title, 0, 35) . "...";
+ }
+
echo "";
}
?>
diff -r c4b74f49d336 -r a6496f95e0fc web/player.php
--- a/web/player.php Fri Dec 16 10:44:06 2011 +0100
+++ b/web/player.php Fri Dec 16 11:46:21 2011 +0100
@@ -17,7 +17,9 @@
@@ -66,13 +68,13 @@
$(document).ready(function() {
var config = {
gui:{
- width:640,
+ width:603,
height:480,
container:'left_pane',
css:'LdtPlayer.css',
widgets: [
{type: "PolemicWidget",
- width: 640, /* required for this widget */
+ width: 605, /* required for this widget */
height: 50,
heightmax: 50,
metadata:{
@@ -147,7 +149,7 @@
live: true,
"controlbar.position" : "none",
height: 300,
- width: 640,
+ width: 605,
provider: "rtmp"
},
modules: [
diff -r c4b74f49d336 -r a6496f95e0fc web/style.css
--- a/web/style.css Fri Dec 16 10:44:06 2011 +0100
+++ b/web/style.css Fri Dec 16 11:46:21 2011 +0100
@@ -7,12 +7,19 @@
}
#banner {
- margin: 0px auto;
+ margin: 0 auto;
width: 960px;
border-bottom: 1px solid #fe4f76;
padding-top: 10px;
- padding-bottom: 4px;
- margin-top: 7px;
+ padding-bottom: 13px;
+ margin-top: 4px;
+}
+
+#banner img {
+ margin-left: 51px;
+ float: left;
+ position: relative;
+ top: 5px;
}
#outer_div {
@@ -28,7 +35,7 @@
width: 960px;
background-image: url("../crea/imgs/background.png");
background-repeat: repeat-x;
-}
+}
#intro_title {
@@ -50,23 +57,38 @@
}
.thumb {
- width: 280px;
+ width: 270px;
height: 220px;
float: left;
- margin-top: 10px;
- margin-right: 10px;
+ margin: 5px;
background-color: #f2f2f2;
border: 1px solid #cccccc;
padding: 5px;
+ cursor: pointer;
+}
+
+.thumb:hover {
+ background-color: rgb(255, 255, 255);
}
.thumb img {
- margin: 5px;
+}
+
+.thumb .title {
+ font-family: 'PT Sans Narrow',arial,serif;
+ font-size: 18px;
+ font-weight: bold;
+ overflow: hidden;
+ white-space: nowrap;
+}
+
+.thumb .text {
+ overflow: hidden;
+ white-space: nowrap;
}
/* player.php */
table#content {
- width: 910px;
border: solid 10px #7a7a7a;
border-bottom: solid 14px #7a7a7a;
border-top: solid 14px #7a7a7a;
@@ -78,7 +100,8 @@
td#left_pane {
background-color: white;
- width: 660px;
+ vertical-align: top;
+ width: 640px;
}
td#right_pane {