summaryrefslogtreecommitdiffstats
path: root/statistics.html
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2010-07-25 13:00:30 +0200
committerArno <am@disconnect.de>2010-07-25 13:00:30 +0200
commit004b9243248a29eaa73b5fae5a5ef7b5ca914f94 (patch)
tree0b1f9f413d798390fba316d5093bbd5dcd466398 /statistics.html
parentbfcb2cd0e0168e1f740678a626a5d5077cf6e677 (diff)
downloadSheMov-004b9243248a29eaa73b5fae5a5ef7b5ca914f94.tar.gz
SheMov-004b9243248a29eaa73b5fae5a5ef7b5ca914f94.tar.bz2
SheMov-004b9243248a29eaa73b5fae5a5ef7b5ca914f94.zip
Fixed StatisticsDialog
adapted StatisticsDialog to the new database schema and make it use WebKit and HTML to display the graph bars. This change obsoleted the classes ActorCountModel and GraphBarWidget.
Diffstat (limited to 'statistics.html')
-rw-r--r--statistics.html67
1 files changed, 67 insertions, 0 deletions
diff --git a/statistics.html b/statistics.html
new file mode 100644
index 0000000..d4432c2
--- /dev/null
+++ b/statistics.html
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>{title}</title>
+<style type="text/css">
+body, html {
+ margin: 10px;
+ padding: 10px;
+ background: #0015F2;
+ color: #d9ed1b;
+}
+body {
+ min-width: 100%;
+}
+h1 {
+ text-align:center;
+ margin-top: 0;
+ padding-top: 0;
+}
+.overview {
+ border: 1px solid;
+ margin-left: auto;
+ margin-right: auto;
+}
+td.desc {
+ width: 15%;
+}
+td.total {
+ width: 15%;
+ text-align: right;
+}
+.bar {
+ width: 60%;
+ background-color: #0FE6FD;
+ text-align: right;
+ border-left: solid 1px;
+ padding-right: 0.5em;
+}
+.bar div {
+ border-top: 2px solid #066FF7;
+ border-bottom: 2px solid #066FF7;
+ background-color: #d9ed1b;
+ text-align: right;
+ float: left;
+ padding-top: 0;
+ height: 1em;
+}
+</style>
+</head>
+<body>
+<h1>{title}</h1>
+<table class="overview">
+<thead>
+<tr>
+<th>{desc}</th>
+<th>Graph</th>
+<th>Number</th>
+</tr>
+</thead>
+<tbody>
+{table}
+</tbody>
+</table>
+</body>
+</html>