photoviewer 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +1 -1
- data/app/views/list/_base.html.erb +69 -0
- data/app/views/list/email.html.erb +52 -0
- data/app/views/list/get_mails.html.erb +9 -0
- data/app/views/list/index.html.erb +11 -6
- data/coverage/app-controllers-application_rb.html +659 -659
- data/coverage/app-controllers-list_controller_rb.html +717 -717
- data/coverage/app-helpers-application_helper_rb.html +651 -651
- data/coverage/app-helpers-list_helper_rb.html +650 -650
- data/coverage/index.html +390 -390
- data/db/schema.rb +14 -14
- data/doc/app/classes/ApplicationController.html +119 -0
- data/doc/app/classes/ApplicationHelper.html +112 -0
- data/doc/app/classes/List.html +134 -0
- data/doc/app/classes/ListController.html +461 -0
- data/doc/app/classes/ListHelper.html +128 -0
- data/doc/app/created.rid +1 -0
- data/doc/app/files/app/controllers/application_rb.html +124 -0
- data/doc/app/files/app/controllers/list_controller_rb.html +124 -0
- data/doc/app/files/app/helpers/application_helper_rb.html +124 -0
- data/doc/app/files/app/helpers/list_helper_rb.html +124 -0
- data/doc/app/files/app/models/list_rb.html +124 -0
- data/doc/app/files/doc/README_FOR_APP.html +110 -0
- data/doc/app/fr_class_index.html +31 -0
- data/doc/app/fr_file_index.html +32 -0
- data/doc/app/fr_method_index.html +38 -0
- data/doc/app/index.html +24 -0
- data/doc/app/rdoc-style.css +208 -0
- data/log/development.log +2121 -675
- data/log/test.log +22 -630
- data/nbproject/private/private.xml +4 -0
- data/nbproject/private/rake-t.txt +64 -0
- data/nbproject/project.properties +2 -0
- data/nbproject/project.xml +9 -0
- data/public/images/skins/Skins_176A2-a.png +0 -0
- data/public/images/skins/Skins_176A2-b.png +0 -0
- metadata +136 -99
- data/catalog.xml +0 -4
data/Rakefile
CHANGED
@@ -0,0 +1,69 @@
|
|
1
|
+
<%
|
2
|
+
@ctbu="#e1c9c9"
|
3
|
+
@cslt2u="#c29393"
|
4
|
+
@cslt2h="#555555"
|
5
|
+
@csbs="#006699"
|
6
|
+
@fontup="#000000"
|
7
|
+
@fontover="#ffffff"
|
8
|
+
%>
|
9
|
+
|
10
|
+
<style xmlns="http://www.mobio.com/ext">
|
11
|
+
|
12
|
+
<class name="footer">
|
13
|
+
<background-image
|
14
|
+
value="../images/skins/Skins_176A2-b.png"/>
|
15
|
+
<font-weight value="bold" />
|
16
|
+
<font-color value="<%=@fontover%>" />
|
17
|
+
</class>
|
18
|
+
<class name="body">
|
19
|
+
<background-image
|
20
|
+
value="../images/skins/Skins_176A2-a.png" />
|
21
|
+
<scrollbar-track-color value="<%=@ctbu%>" />
|
22
|
+
<scrollbar-slider-color value="<%=@csbs%>" />
|
23
|
+
</class>
|
24
|
+
|
25
|
+
<class name="grid">
|
26
|
+
<border value="1"/>
|
27
|
+
</class>
|
28
|
+
|
29
|
+
<class name="rowheader" parent="white">
|
30
|
+
<background-color value="transparent"/>
|
31
|
+
</class>
|
32
|
+
<class name="rowheader:focused">
|
33
|
+
<background-color value="#ffffff"/>
|
34
|
+
</class>
|
35
|
+
<class name="rowheader:selected">
|
36
|
+
<background-color value="#ffffff"/>
|
37
|
+
</class>
|
38
|
+
<class name="header" parent="white">
|
39
|
+
<font-weight value="bold" />
|
40
|
+
<background-color value="transparent"/>
|
41
|
+
</class>
|
42
|
+
<class name="header:focused">
|
43
|
+
<background-color value="#cccccc"/>
|
44
|
+
</class>
|
45
|
+
<class name="white">
|
46
|
+
<font-color value="#FFFFFF" />
|
47
|
+
</class>
|
48
|
+
<class name="white:selected">
|
49
|
+
<font-color value="#000000" />
|
50
|
+
</class>
|
51
|
+
<class name="label:selected">
|
52
|
+
<font-color value="<%=@fontover%>" />
|
53
|
+
</class>
|
54
|
+
<class name="bold" parent="label-ov">
|
55
|
+
<font-weight value="bold" />
|
56
|
+
</class>
|
57
|
+
<class name="center" parent="label-ov">
|
58
|
+
<align value="text-center" />
|
59
|
+
</class>
|
60
|
+
<class name="item">
|
61
|
+
<background-color value="transparent" />
|
62
|
+
</class>
|
63
|
+
<class name="item:focused">
|
64
|
+
<background-color value="#ffffff" />
|
65
|
+
</class>
|
66
|
+
<class name="item:selected">
|
67
|
+
<background-color value="#ffffff" />
|
68
|
+
</class>
|
69
|
+
</style>
|
@@ -0,0 +1,52 @@
|
|
1
|
+
<html id="root" xmlns="http://www.mobio.com/ext"
|
2
|
+
xmlns:xhtml="http://www.w3.org/1999/xhtml"
|
3
|
+
xmlns:xf="http://www.w3.org/2002/xforms"
|
4
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
5
|
+
xmlns:ext="http://www.mobio.com/ext"
|
6
|
+
xmlns:ev="http://www.w3.org/2001/xml-events">
|
7
|
+
<xhtml:head>
|
8
|
+
<xf:model>
|
9
|
+
<xf:instance id="emails" src="get_mails"/>
|
10
|
+
</xf:model>
|
11
|
+
|
12
|
+
</xhtml:head>
|
13
|
+
|
14
|
+
<%= render :partial => 'base' %>
|
15
|
+
|
16
|
+
<xhtml:body style="body">
|
17
|
+
|
18
|
+
<grid height="100%" style="grid">
|
19
|
+
<rowset nodeset="instance('emails')/email">
|
20
|
+
<headers height="1ex">
|
21
|
+
<header label="Subject" style="header" ref="." sort="click"/>
|
22
|
+
<header label="From" style="header" ref="@from" sort="click" />
|
23
|
+
<header label="Date" style="header" ref="date" sort="click"/>
|
24
|
+
</headers>
|
25
|
+
<row style="rowheader">
|
26
|
+
<rowheader height="1ex" style="rowheader" width="2em">
|
27
|
+
<output height="1ex" style="white" ref="@id"/>
|
28
|
+
</rowheader>
|
29
|
+
|
30
|
+
<item height="1ex" width="23em" style="item">
|
31
|
+
<output ref="." style="white" height="1ex" />
|
32
|
+
</item>
|
33
|
+
<item height="1ex" width="15em" style="item">
|
34
|
+
<output ref="@from" style="white" height="1ex"/>
|
35
|
+
</item>
|
36
|
+
<item height="1ex" width="5em" style="item">
|
37
|
+
<output ref="@date" style="white" height="1ex"/>
|
38
|
+
</item>
|
39
|
+
</row></rowset></grid>
|
40
|
+
|
41
|
+
<footer style="footer">
|
42
|
+
<softkey position="1">
|
43
|
+
<label>Back</label>
|
44
|
+
<back ev:event="DOMActivate" />
|
45
|
+
</softkey>
|
46
|
+
<softkey position="3">
|
47
|
+
<label>Refresh</label>
|
48
|
+
<xf:load ev:event="DOMActivate" resource="email"/>
|
49
|
+
</softkey>
|
50
|
+
</footer>
|
51
|
+
</xhtml:body>
|
52
|
+
</html>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<% headers['Content-Type']='application/xml' %>
|
2
|
+
<data xmlns="">
|
3
|
+
<email id ="1" date="4/3" read="0" from="richard H.">Lunch?</email>
|
4
|
+
<email id ="2" date="4/2" read="0" from="admin@foo.com">Meeting reminder</email>
|
5
|
+
<email id ="3" date="4/2" read="1" from="customerservice@amazon.com">Your account activities</email>
|
6
|
+
<email id ="4" date="3/29" read="1" from="Amazon.com">Now available: "Best of Mad Libs" by Roger Price on Amazon</email>
|
7
|
+
<email id ="5" date="3/28" read="1" from="Judy R">[fusal]Sign up for spring soccer</email>
|
8
|
+
<email id ="6" date="3/25" read="0" from="Mrs. Mcnil">Fw: field trip photos and clips</email>
|
9
|
+
</data>
|
@@ -16,12 +16,13 @@
|
|
16
16
|
</xf:model>
|
17
17
|
|
18
18
|
</xhtml:head>
|
19
|
+
<%= render :partial => 'base' %>
|
19
20
|
|
20
|
-
<xhtml:body style="body">
|
21
|
-
|
22
|
-
<output height="1ex"
|
21
|
+
<xhtml:body style="body">
|
22
|
+
|
23
|
+
<output height="1ex" style="white">Test App</output>
|
23
24
|
<button height="1ex" >
|
24
|
-
<label>Test Banner Image</label>
|
25
|
+
<label style="white">Test Banner Image</label>
|
25
26
|
<xf:send submission="banner" ev:event="DOMActivate" />
|
26
27
|
</button>
|
27
28
|
|
@@ -29,8 +30,12 @@
|
|
29
30
|
<label>Test grid image</label>
|
30
31
|
<xf:send submission="view" ev:event="DOMActivate" />
|
31
32
|
</button>
|
32
|
-
|
33
|
-
<
|
33
|
+
|
34
|
+
<button height="1ex" >
|
35
|
+
<label>Test grid header</label>
|
36
|
+
<xf:load resource="email" ev:event="DOMActivate" />
|
37
|
+
</button>
|
38
|
+
<footer style="footer">
|
34
39
|
<softkey position="1">
|
35
40
|
<label>Back</label>
|
36
41
|
<xf:load ev:event="DOMActivate" >
|