Make seen reports visible, widgetize tables

This commit is contained in:
Latif Khalifa
2013-10-11 10:37:55 +02:00
parent 73c10e7e3b
commit 2f4164b3b7
3 changed files with 44 additions and 37 deletions

View File

@@ -109,8 +109,8 @@ class Layout
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<link rel="stylesheet" type="text/css" href="<?php print URL_ROOT ?>/css/singularity/jquery-ui-1.10.3.custom.min.css"/>
<link rel="stylesheet" type="text/css" href="<?php print URL_ROOT ?>/singularity.css"/>
<link rel="stylesheet" type="text/css" href="<?php print URL_ROOT ?>/css/singularity/jquery-ui-1.10.3.custom.css"/>
<link rel="stylesheet" type="text/css" href="<?php print URL_ROOT ?>/css/singularity/singularity.css"/>
<link rel="shortcut icon" href="<?php print IMG_ROOT ?>/favicon.ico" type="image/x-icon" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
@@ -120,32 +120,14 @@ class Layout
//<![CDATA[
$(function() {
$( ".toolbarbutton" ).button();
$( ".rowhighlight" )
/*
$( ".rowhighlight" ).on("mousedown", function(e) {
$(this).addClass("ui-state-disabled");
});
*/
});
$().ready(function(){
$(".jtable th").each(function(){
$(this).addClass("ui-widget-header");
});
$(".jtable td").each(function(){
$(this).addClass("ui-widget-content");
});
$(".jtable tr").hover(
function()
{
$(this).children("td").addClass("ui-state-hover");
},
function()
{
$(this).children("td").removeClass("ui-state-hover");
}
);
});
//]]>
</script>