diff options
author | Robert Adams | 2013-01-24 10:44:57 -0800 |
---|---|---|
committer | Robert Adams | 2013-01-24 10:44:57 -0800 |
commit | 427ab219b8ecf7f039d03ed3067e183db1434fb2 (patch) | |
tree | 520cdf2f0afb00fe8dbb28801d4fbf98902788dd /bin/data/sim.css | |
parent | * Added in the manifold point dept on collision desc. In BulletSim engine Bul... (diff) | |
download | opensim-SC-427ab219b8ecf7f039d03ed3067e183db1434fb2.zip opensim-SC-427ab219b8ecf7f039d03ed3067e183db1434fb2.tar.gz opensim-SC-427ab219b8ecf7f039d03ed3067e183db1434fb2.tar.bz2 opensim-SC-427ab219b8ecf7f039d03ed3067e183db1434fb2.tar.xz |
Add JSONification of WebStats module. Adds a '?json' query parameter
to the fetch URL to return the data in JSON format. Also adds a simple
'sim.html' that uses JavaScript to display the JSON data. Not pretty
but an example.
Diffstat (limited to 'bin/data/sim.css')
-rw-r--r-- | bin/data/sim.css | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/bin/data/sim.css b/bin/data/sim.css new file mode 100644 index 0000000..e584a1a --- /dev/null +++ b/bin/data/sim.css | |||
@@ -0,0 +1,85 @@ | |||
1 | body { | ||
2 | font-family: Veranda,Arial,Helvetica,sans-serif; | ||
3 | font-size: 12px; | ||
4 | background: #4A5F6D; | ||
5 | color: #EEEAD6; | ||
6 | padding: 0px; | ||
7 | margin: 0px; | ||
8 | } | ||
9 | .footer { | ||
10 | font-family: Veranda,Arial,Helvetica,sans-serif; | ||
11 | font-size: 10px; | ||
12 | } | ||
13 | td { | ||
14 | font-family: Veranda,Arial,Helvetica,sans-serif; | ||
15 | font-size: 12px; | ||
16 | padding: 4px; | ||
17 | margin: 4px; | ||
18 | } | ||
19 | blockquote { | ||
20 | font-family: Veranda,Arial,Helvetica,sans-serif; | ||
21 | font-style: italic; | ||
22 | font-size: 12px; | ||
23 | } | ||
24 | pre { | ||
25 | padding: 5px; | ||
26 | background-color: #8080B0; | ||
27 | color: #000000; | ||
28 | margin-left: 20px; | ||
29 | font-size: 11px; | ||
30 | } | ||
31 | :link { | ||
32 | color: #ffffff; | ||
33 | } | ||
34 | :visited { | ||
35 | color: #d0d0d0; | ||
36 | } | ||
37 | .SimSectionHeader { | ||
38 | font-size: 120%; | ||
39 | } | ||
40 | div.SimSectionContainer { | ||
41 | padding: 10px 0px 0px 20px; | ||
42 | } | ||
43 | /* SimStats ===================================== */ | ||
44 | #SimSimStats div { | ||
45 | margin-left: 20px; | ||
46 | background: #3A4F5D; | ||
47 | } | ||
48 | #SimSimStats table td { | ||
49 | text-align: right; | ||
50 | padding: 0px 0px 0px 5px; | ||
51 | margin: 0px 0px 0px 0px; | ||
52 | } | ||
53 | /* Region Stats ===================================== */ | ||
54 | #SimRegionStats div { | ||
55 | margin-left: 20px; | ||
56 | background: #3A4F5D; | ||
57 | } | ||
58 | #SimRegionStats table { | ||
59 | border: 1px; | ||
60 | border-style: solid; | ||
61 | } | ||
62 | #SimRegionStats table td { | ||
63 | text-align: right; | ||
64 | padding: 0px 0px 0px 5px; | ||
65 | margin: 0px 0px 0px 0px; | ||
66 | } | ||
67 | /* Session Stats ===================================== */ | ||
68 | #SimSessionStats div { | ||
69 | margin-left: 20px; | ||
70 | background: #3A4F5D; | ||
71 | } | ||
72 | #SimSessionStats table td { | ||
73 | text-align: right; | ||
74 | padding: 0px 0px 0px 5px; | ||
75 | margin: 0px 0px 0px 0px; | ||
76 | } | ||
77 | /* LogFile ===================================== */ | ||
78 | #SimLogFile div { | ||
79 | margin-left: 20px; | ||
80 | } | ||
81 | #SimLogFile table td { | ||
82 | text-align: right; | ||
83 | padding: 0px 0px 0px 5px; | ||
84 | margin: 0px 0px 0px 0px; | ||
85 | } | ||