rutema_web 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING.txt +340 -0
- data/History.txt +34 -0
- data/Manifest.txt +26 -0
- data/README.txt +88 -0
- data/Rakefile +26 -0
- data/bin/rutema_web +6 -0
- data/lib/rutema_web/gems.rb +10 -0
- data/lib/rutema_web/main.rb +44 -0
- data/lib/rutema_web/model.rb +78 -0
- data/lib/rutema_web/public/css/style.css +105 -0
- data/lib/rutema_web/public/images/bg_menu.gif +0 -0
- data/lib/rutema_web/public/images/bg_submenu.gif +0 -0
- data/lib/rutema_web/public/images/left.png +0 -0
- data/lib/rutema_web/public/images/right.png +0 -0
- data/lib/rutema_web/public/images/run_error.png +0 -0
- data/lib/rutema_web/public/images/run_ok.png +0 -0
- data/lib/rutema_web/public/images/run_warn.png +0 -0
- data/lib/rutema_web/public/images/step_error.png +0 -0
- data/lib/rutema_web/public/images/step_ok.png +0 -0
- data/lib/rutema_web/public/images/step_warn.png +0 -0
- data/lib/rutema_web/public/images/tie_logo.gif +0 -0
- data/lib/rutema_web/public/js/folding.js +16 -0
- data/lib/rutema_web/public/js/jquery.js +4376 -0
- data/lib/rutema_web/ruport_formatter.rb +31 -0
- data/lib/rutema_web/sinatra.rb +467 -0
- data/lib/rutema_web/views/layout.erb +54 -0
- data/test/test_model.rb +48 -0
- data/test/test_rutema_web.rb +107 -0
- metadata +185 -0
@@ -0,0 +1,105 @@
|
|
1
|
+
/* CSS Document */
|
2
|
+
|
3
|
+
/*PAGE LAYOUT*/
|
4
|
+
body {
|
5
|
+
margin-left: 0px;
|
6
|
+
margin-top: 0px;
|
7
|
+
margin-right: 0px;
|
8
|
+
margin-bottom: 0px;
|
9
|
+
}
|
10
|
+
table {
|
11
|
+
font: 0.9em Tahoma, sans-serif;
|
12
|
+
color: #666666;
|
13
|
+
text-align: left;
|
14
|
+
|
15
|
+
}
|
16
|
+
#logo{float:left; background-image:url(/images/tie_logo.gif); width:234px; height:213px;}
|
17
|
+
#topheader{float:right; width:566px; height:97px; background-color:#F0F0F0; position:relative}
|
18
|
+
#toplinks{position:absolute; right:10px; top:10px;}
|
19
|
+
#menu{float:right; width:566px; height:32px; background-image:url(/images/bg_menu.gif); background-repeat:repeat-x;}
|
20
|
+
#submenu{float:right; width:566px; height:32px; background-image:url(/images/bg_submenu.gif); background-position:top; background-repeat:repeat-x;}
|
21
|
+
#contenttext{float:right; width:566px;}
|
22
|
+
#contentnopanel{float:left; width:800px}
|
23
|
+
#leftpanel{float:left; width:234px;}
|
24
|
+
#footer{float:left; width:800px; background-color:#F0F0F0; padding:10px;}
|
25
|
+
#footernopanel{float:left; width:800px; background-color:#F0F0F0; padding:10px;}
|
26
|
+
/*GRAY PANEL*/
|
27
|
+
.graypanel{
|
28
|
+
border:solid 1px #666666; background-color:#F7F7F7; padding:10px; margin:10px;
|
29
|
+
}
|
30
|
+
|
31
|
+
/*TEXT STYLES*/
|
32
|
+
.bodytext {
|
33
|
+
font: 0.9em Tahoma, sans-serif;
|
34
|
+
color: #666666;
|
35
|
+
}
|
36
|
+
|
37
|
+
.titletext {
|
38
|
+
font: 0.7em Tahoma, sans-serif;
|
39
|
+
font-size:26px;
|
40
|
+
font-weight:bold;
|
41
|
+
color:#CC0000;
|
42
|
+
}
|
43
|
+
.whitetitle {
|
44
|
+
font: 0.7em Tahoma, sans-serif;
|
45
|
+
font-size:36px;
|
46
|
+
font-weight:bold;
|
47
|
+
color:#FFFFFF;
|
48
|
+
}
|
49
|
+
.smalltitle {
|
50
|
+
font: 0.7em Tahoma, sans-serif;
|
51
|
+
font-size:20px;
|
52
|
+
font-weight:bold;
|
53
|
+
color:#CC0000;
|
54
|
+
}
|
55
|
+
.smallwhitetext {
|
56
|
+
font: 0.7em Tahoma, sans-serif;
|
57
|
+
font-size: 11px;
|
58
|
+
font-weight:bold;
|
59
|
+
color: #FFFFFF;
|
60
|
+
}
|
61
|
+
.smallwhitetext a{
|
62
|
+
font: 0.7em Tahoma, sans-serif;
|
63
|
+
font-size: 11px;
|
64
|
+
font-weight:bold;
|
65
|
+
color: #FFFFFF;
|
66
|
+
text-decoration:none;
|
67
|
+
}
|
68
|
+
.smallwhitetext a:hover{
|
69
|
+
text-decoration:underline;
|
70
|
+
}
|
71
|
+
.smallgraytext {
|
72
|
+
font: 0.7em Tahoma, sans-serif;
|
73
|
+
font-size: 11px;
|
74
|
+
font-weight:bold;
|
75
|
+
color:#999999;
|
76
|
+
}
|
77
|
+
.smallgraytext a{
|
78
|
+
font: 0.7em Tahoma, sans-serif;
|
79
|
+
font-size: 11px;
|
80
|
+
font-weight:bold;
|
81
|
+
color:#999999;
|
82
|
+
text-decoration:none;
|
83
|
+
}
|
84
|
+
.smallgraytext a:hover{
|
85
|
+
text-decoration:underline;
|
86
|
+
}
|
87
|
+
.smallredtext {
|
88
|
+
font: 0.7em Tahoma, sans-serif;
|
89
|
+
font-size: 11px;
|
90
|
+
font-weight:bold;
|
91
|
+
color:#CC0000;
|
92
|
+
}
|
93
|
+
.smallredtext a{
|
94
|
+
font: 0.7em Tahoma, sans-serif;
|
95
|
+
font-size: 11px;
|
96
|
+
font-weight:bold;
|
97
|
+
color:#CC0000;
|
98
|
+
text-decoration:none;
|
99
|
+
}
|
100
|
+
.smallredtext a:hover{
|
101
|
+
text-decoration:underline;
|
102
|
+
}
|
103
|
+
.vtable tr td {
|
104
|
+
text-align: left;
|
105
|
+
}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,16 @@
|
|
1
|
+
function toggleFolding(){
|
2
|
+
$(".scenario_output").hide();
|
3
|
+
$(".scenario_error").hide();
|
4
|
+
$(".scenario_output").parents("td").prepend("<a class=\"output_link\" href='' title='read the output log'>output</a>");
|
5
|
+
$(".scenario_error").parents("td").prepend("<a class=\"error_link\" href='' title='read the error log'>errors</a>");
|
6
|
+
$("a.output_link").click(function(event){
|
7
|
+
$(this).parents("td").children(".scenario_output").toggle();
|
8
|
+
// Stop the link click from doing its normal thing
|
9
|
+
event.preventDefault();
|
10
|
+
});
|
11
|
+
$("a.error_link").click(function(event){
|
12
|
+
$(this).parents("td").children(".scenario_error").toggle();
|
13
|
+
// Stop the link click from doing its normal thing
|
14
|
+
event.preventDefault();
|
15
|
+
});
|
16
|
+
};
|