jrhicks-static-generators 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Manifest +7 -2
- data/Rakefile +1 -1
- data/rails_generators/static_app/static_app_generator.rb +0 -1
- data/rails_generators/static_app/templates/blueprint/AUTHORS.textile +3 -0
- data/rails_generators/static_app/templates/blueprint/README +3 -0
- data/rails_generators/static_app/templates/blueprint/README.textile +42 -0
- data/rails_generators/static_app/templates/blueprint/icons/cross.png +0 -0
- data/rails_generators/static_app/templates/blueprint/icons/key.png +0 -0
- data/rails_generators/static_app/templates/blueprint/icons/tick.png +0 -0
- data/rails_generators/static_app/templates/blueprint/ie.css +0 -0
- data/rails_generators/static_app/templates/blueprint/print.css +0 -0
- data/rails_generators/static_app/templates/blueprint/readme.txt +32 -0
- data/rails_generators/static_app/templates/blueprint/screen.css +99 -58
- data/rails_generators/static_app/templates/standard_header.html.erb +7 -7
- data/rails_generators/static_app/templates/static_style.css +99 -0
- data/rails_generators/static_scaffold/templates/layout.html.erb +64 -2
- data/static-generators.gemspec +3 -3
- metadata +9 -4
- data/rails_generators/static_app/templates/blueprint/LICENSE +0 -314
- data/rails_generators/static_app/templates/blueprint/grid.png +0 -0
data/Manifest
CHANGED
@@ -3,10 +3,15 @@ lib/static_generators.rb
|
|
3
3
|
LICENSE
|
4
4
|
rails_generators/static_app/static_app_generator.rb
|
5
5
|
rails_generators/static_app/templates/application_helper.rb
|
6
|
-
rails_generators/static_app/templates/blueprint/
|
6
|
+
rails_generators/static_app/templates/blueprint/AUTHORS.textile
|
7
|
+
rails_generators/static_app/templates/blueprint/icons/cross.png
|
8
|
+
rails_generators/static_app/templates/blueprint/icons/key.png
|
9
|
+
rails_generators/static_app/templates/blueprint/icons/tick.png
|
7
10
|
rails_generators/static_app/templates/blueprint/ie.css
|
8
|
-
rails_generators/static_app/templates/blueprint/LICENSE
|
9
11
|
rails_generators/static_app/templates/blueprint/print.css
|
12
|
+
rails_generators/static_app/templates/blueprint/README
|
13
|
+
rails_generators/static_app/templates/blueprint/README.textile
|
14
|
+
rails_generators/static_app/templates/blueprint/readme.txt
|
10
15
|
rails_generators/static_app/templates/blueprint/screen.css
|
11
16
|
rails_generators/static_app/templates/header_bg.png
|
12
17
|
rails_generators/static_app/templates/icons/cross.png
|
data/Rakefile
CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
|
|
2
2
|
require 'rake'
|
3
3
|
require 'echoe'
|
4
4
|
|
5
|
-
Echoe.new('static-generators', '0.3.
|
5
|
+
Echoe.new('static-generators', '0.3.4') do |p|
|
6
6
|
p.project = "staticgenerators"
|
7
7
|
p.description = "Generate attractive interfaces that are easy to edit."
|
8
8
|
p.url = "http://github.com/jrhicks/static-scaffolds"
|
@@ -20,7 +20,6 @@ class StaticAppGenerator < Rails::Generator::Base
|
|
20
20
|
File.join("lib/tasks","static_generate.rake"))
|
21
21
|
|
22
22
|
# BluePrint CSS
|
23
|
-
m.file "blueprint/grid.png", "public/images/blueprint_css_grid.png"
|
24
23
|
m.file "blueprint/print.css", "public/stylesheets/print.css"
|
25
24
|
m.file "blueprint/ie.css", "public/stylesheets/ie.css"
|
26
25
|
m.file "blueprint/screen.css", "public/stylesheets/screen.css"
|
@@ -0,0 +1,42 @@
|
|
1
|
+
h1. Blueprint CSS Tabs Plugin Readme
|
2
|
+
|
3
|
+
This plugin adds a simple and flexible set of horizontal tabs to Blueprint.
|
4
|
+
|
5
|
+
h2. Usage:
|
6
|
+
|
7
|
+
# Upload the screen.css file to a new directory on your server (preferably tabsplugin/)
|
8
|
+
# Include the plugin file in the @<head/>@ of your webpage.
|
9
|
+
<link rel="stylesheet" href="tabsplugin/screen.css" type="text/css" media="screen,projection">
|
10
|
+
# Add the class @"tabs"@ to your list. An example:
|
11
|
+
<pre>
|
12
|
+
<ul class='tabs'>
|
13
|
+
<li><a href='#text1'>Tab 1</a></li>
|
14
|
+
<li><a href='#text2'>Tab 2</a></li>
|
15
|
+
<li><a href='#text3'>Tab 3</a></li>
|
16
|
+
</ul>
|
17
|
+
</pre>
|
18
|
+
|
19
|
+
h2. More options:
|
20
|
+
|
21
|
+
You can add a label to your list by adding the class @"label"@ to the first item. This item should not have a link in it.
|
22
|
+
<pre>
|
23
|
+
<ul class='tabs'>
|
24
|
+
<li class='label'>This is a "label":</li>
|
25
|
+
<li><a href='#text1'>Tab 1</a></li>
|
26
|
+
<li><a href='#text2'>Tab 2</a></li>
|
27
|
+
<li><a href='#text3'>Tab 3</a></li>
|
28
|
+
</ul>
|
29
|
+
</pre>
|
30
|
+
|
31
|
+
You can mark the currently selected item with the class @"selected"@.
|
32
|
+
<pre>
|
33
|
+
<ul class='tabs'>
|
34
|
+
<li><a href='#text1' class='selected'>Tab 1</a></li>
|
35
|
+
<li><a href='#text2'>Tab 2</a></li>
|
36
|
+
<li><a href='#text3'>Tab 3</a></li>
|
37
|
+
</ul>
|
38
|
+
</pre>
|
39
|
+
|
40
|
+
h2. Demo:
|
41
|
+
|
42
|
+
View a demo at "blueprintcss.org":http://blueprintcss.org/demos/tabs.html
|
Binary file
|
Binary file
|
Binary file
|
File without changes
|
File without changes
|
@@ -0,0 +1,32 @@
|
|
1
|
+
Buttons
|
2
|
+
|
3
|
+
* Gives you great looking CSS buttons, for both <a> and <button>.
|
4
|
+
* Demo: particletree.com/features/rediscovering-the-button-element
|
5
|
+
|
6
|
+
|
7
|
+
Credits
|
8
|
+
----------------------------------------------------------------
|
9
|
+
|
10
|
+
* Created by Kevin Hale [particletree.com]
|
11
|
+
* Adapted for Blueprint by Olav Bjorkoy [bjorkoy.com]
|
12
|
+
|
13
|
+
|
14
|
+
Usage
|
15
|
+
----------------------------------------------------------------
|
16
|
+
|
17
|
+
1) Add this plugin to lib/settings.yml.
|
18
|
+
See compress.rb for instructions.
|
19
|
+
|
20
|
+
2) Use the following HTML code to place the buttons on your site:
|
21
|
+
|
22
|
+
<button type="submit" class="button positive">
|
23
|
+
<img src="css/blueprint/plugins/buttons/icons/tick.png" alt=""/> Save
|
24
|
+
</button>
|
25
|
+
|
26
|
+
<a class="button" href="/password/reset/">
|
27
|
+
<img src="css/blueprint/plugins/buttons/icons/key.png" alt=""/> Change Password
|
28
|
+
</a>
|
29
|
+
|
30
|
+
<a href="#" class="button negative">
|
31
|
+
<img src="css/blueprint/plugins/buttons/icons/cross.png" alt=""/> Cancel
|
32
|
+
</a>
|
@@ -53,8 +53,7 @@ ol {list-style-type:decimal;}
|
|
53
53
|
dl {margin:0 0 1.5em 0;}
|
54
54
|
dl dt {font-weight:bold;}
|
55
55
|
dd {margin-left:1.5em;}
|
56
|
-
|
57
|
-
table {margin-bottom:1.4em;}
|
56
|
+
table {margin-bottom:1.4em;width:100%;}
|
58
57
|
th {font-weight:bold;}
|
59
58
|
thead th {background:#c3d9ff;}
|
60
59
|
th, td, caption {padding:4px 10px 4px 5px;}
|
@@ -74,7 +73,7 @@ caption {background:#eee;}
|
|
74
73
|
.top {margin-top:0;padding-top:0;}
|
75
74
|
.bottom {margin-bottom:0;padding-bottom:0;}
|
76
75
|
|
77
|
-
/* forms.css
|
76
|
+
/* forms.css */
|
78
77
|
label {font-weight:bold;}
|
79
78
|
fieldset {padding:1.4em;margin:0 0 1.5em 0;border:1px solid #ccc;}
|
80
79
|
legend {font-weight:bold;font-size:1.2em;}
|
@@ -93,62 +92,62 @@ form.inline p {margin-bottom:0;}
|
|
93
92
|
.success {background:#E6EFC2;color:#264409;border-color:#C6D880;}
|
94
93
|
.error a {color:#8a1f11;}
|
95
94
|
.notice a {color:#514721;}
|
96
|
-
.success a {color:#264409;}
|
95
|
+
.success a {color:#264409;}
|
97
96
|
|
98
97
|
/* grid.css */
|
99
|
-
.container {width:
|
100
|
-
.showgrid {background:url(/
|
101
|
-
.column, div.span-1, div.span-2, div.span-3, div.span-4, div.span-5, div.span-6, div.span-7, div.span-8, div.span-9, div.span-10, div.span-11, div.span-12, div.span-13, div.span-14, div.span-15, div.span-16, div.span-17, div.span-18, div.span-19, div.span-20, div.span-21, div.span-22, div.span-23, div.span-24 {float:left;margin-right:
|
98
|
+
.container {width:956px;margin:0 auto;}
|
99
|
+
.showgrid {background:url(src/grid.png);}
|
100
|
+
.column, div.span-1, div.span-2, div.span-3, div.span-4, div.span-5, div.span-6, div.span-7, div.span-8, div.span-9, div.span-10, div.span-11, div.span-12, div.span-13, div.span-14, div.span-15, div.span-16, div.span-17, div.span-18, div.span-19, div.span-20, div.span-21, div.span-22, div.span-23, div.span-24 {float:left;margin-right:4px;}
|
102
101
|
.last, div.last {margin-right:0;}
|
103
|
-
.span-1 {width:
|
104
|
-
.span-2 {width:
|
105
|
-
.span-3 {width:
|
106
|
-
.span-4 {width:
|
107
|
-
.span-5 {width:
|
108
|
-
.span-6 {width:
|
109
|
-
.span-7 {width:
|
110
|
-
.span-8 {width:
|
111
|
-
.span-9 {width:
|
112
|
-
.span-10 {width:
|
113
|
-
.span-11 {width:
|
114
|
-
.span-12 {width:
|
115
|
-
.span-13 {width:
|
116
|
-
.span-14 {width:
|
117
|
-
.span-15 {width:
|
118
|
-
.span-16 {width:
|
119
|
-
.span-17 {width:
|
120
|
-
.span-18 {width:
|
121
|
-
.span-19 {width:
|
122
|
-
.span-20 {width:
|
123
|
-
.span-21 {width:
|
124
|
-
.span-22 {width:
|
125
|
-
.span-23 {width:
|
126
|
-
.span-24, div.span-24 {width:
|
102
|
+
.span-1 {width:36px;}
|
103
|
+
.span-2 {width:76px;}
|
104
|
+
.span-3 {width:116px;}
|
105
|
+
.span-4 {width:156px;}
|
106
|
+
.span-5 {width:196px;}
|
107
|
+
.span-6 {width:236px;}
|
108
|
+
.span-7 {width:276px;}
|
109
|
+
.span-8 {width:316px;}
|
110
|
+
.span-9 {width:356px;}
|
111
|
+
.span-10 {width:396px;}
|
112
|
+
.span-11 {width:436px;}
|
113
|
+
.span-12 {width:476px;}
|
114
|
+
.span-13 {width:516px;}
|
115
|
+
.span-14 {width:556px;}
|
116
|
+
.span-15 {width:596px;}
|
117
|
+
.span-16 {width:636px;}
|
118
|
+
.span-17 {width:676px;}
|
119
|
+
.span-18 {width:716px;}
|
120
|
+
.span-19 {width:756px;}
|
121
|
+
.span-20 {width:796px;}
|
122
|
+
.span-21 {width:836px;}
|
123
|
+
.span-22 {width:876px;}
|
124
|
+
.span-23 {width:916px;}
|
125
|
+
.span-24, div.span-24 {width:956px;margin:0;}
|
127
126
|
input.span-1, textarea.span-1, input.span-2, textarea.span-2, input.span-3, textarea.span-3, input.span-4, textarea.span-4, input.span-5, textarea.span-5, input.span-6, textarea.span-6, input.span-7, textarea.span-7, input.span-8, textarea.span-8, input.span-9, textarea.span-9, input.span-10, textarea.span-10, input.span-11, textarea.span-11, input.span-12, textarea.span-12, input.span-13, textarea.span-13, input.span-14, textarea.span-14, input.span-15, textarea.span-15, input.span-16, textarea.span-16, input.span-17, textarea.span-17, input.span-18, textarea.span-18, input.span-19, textarea.span-19, input.span-20, textarea.span-20, input.span-21, textarea.span-21, input.span-22, textarea.span-22, input.span-23, textarea.span-23, input.span-24, textarea.span-24 {border-left-width:1px!important;border-right-width:1px!important;padding-left:5px!important;padding-right:5px!important;}
|
128
|
-
input.span-1, textarea.span-1 {width:
|
129
|
-
input.span-2, textarea.span-2 {width:
|
130
|
-
input.span-3, textarea.span-3 {width:
|
131
|
-
input.span-4, textarea.span-4 {width:
|
132
|
-
input.span-5, textarea.span-5 {width:
|
133
|
-
input.span-6, textarea.span-6 {width:
|
134
|
-
input.span-7, textarea.span-7 {width:
|
135
|
-
input.span-8, textarea.span-8 {width:
|
136
|
-
input.span-9, textarea.span-9 {width:
|
137
|
-
input.span-10, textarea.span-10 {width:
|
138
|
-
input.span-11, textarea.span-11 {width:
|
139
|
-
input.span-12, textarea.span-12 {width:
|
140
|
-
input.span-13, textarea.span-13 {width:
|
141
|
-
input.span-14, textarea.span-14 {width:
|
142
|
-
input.span-15, textarea.span-15 {width:
|
143
|
-
input.span-16, textarea.span-16 {width:
|
144
|
-
input.span-17, textarea.span-17 {width:
|
145
|
-
input.span-18, textarea.span-18 {width:
|
146
|
-
input.span-19, textarea.span-19 {width:
|
147
|
-
input.span-20, textarea.span-20 {width:
|
148
|
-
input.span-21, textarea.span-21 {width:
|
149
|
-
input.span-22, textarea.span-22 {width:
|
150
|
-
input.span-23, textarea.span-23 {width:
|
151
|
-
input.span-24, textarea.span-24 {width:
|
127
|
+
input.span-1, textarea.span-1 {width:24px!important;}
|
128
|
+
input.span-2, textarea.span-2 {width:64px!important;}
|
129
|
+
input.span-3, textarea.span-3 {width:104px!important;}
|
130
|
+
input.span-4, textarea.span-4 {width:144px!important;}
|
131
|
+
input.span-5, textarea.span-5 {width:184px!important;}
|
132
|
+
input.span-6, textarea.span-6 {width:224px!important;}
|
133
|
+
input.span-7, textarea.span-7 {width:264px!important;}
|
134
|
+
input.span-8, textarea.span-8 {width:304px!important;}
|
135
|
+
input.span-9, textarea.span-9 {width:344px!important;}
|
136
|
+
input.span-10, textarea.span-10 {width:384px!important;}
|
137
|
+
input.span-11, textarea.span-11 {width:424px!important;}
|
138
|
+
input.span-12, textarea.span-12 {width:464px!important;}
|
139
|
+
input.span-13, textarea.span-13 {width:504px!important;}
|
140
|
+
input.span-14, textarea.span-14 {width:544px!important;}
|
141
|
+
input.span-15, textarea.span-15 {width:584px!important;}
|
142
|
+
input.span-16, textarea.span-16 {width:624px!important;}
|
143
|
+
input.span-17, textarea.span-17 {width:664px!important;}
|
144
|
+
input.span-18, textarea.span-18 {width:704px!important;}
|
145
|
+
input.span-19, textarea.span-19 {width:744px!important;}
|
146
|
+
input.span-20, textarea.span-20 {width:784px!important;}
|
147
|
+
input.span-21, textarea.span-21 {width:824px!important;}
|
148
|
+
input.span-22, textarea.span-22 {width:864px!important;}
|
149
|
+
input.span-23, textarea.span-23 {width:904px!important;}
|
150
|
+
input.span-24, textarea.span-24 {width:944px!important;}
|
152
151
|
.append-1 {padding-right:40px;}
|
153
152
|
.append-2 {padding-right:80px;}
|
154
153
|
.append-3 {padding-right:120px;}
|
@@ -195,8 +194,8 @@ input.span-24, textarea.span-24 {width:938px!important;}
|
|
195
194
|
.prepend-21 {padding-left:840px;}
|
196
195
|
.prepend-22 {padding-left:880px;}
|
197
196
|
.prepend-23 {padding-left:920px;}
|
198
|
-
div.border {padding-right:
|
199
|
-
div.colborder {padding-right:
|
197
|
+
div.border {padding-right:1px;margin-right:2px;border-right:1px solid #eee;}
|
198
|
+
div.colborder {padding-right:21px;margin-right:22px;border-right:1px solid #eee;}
|
200
199
|
.pull-1 {margin-left:-40px;}
|
201
200
|
.pull-2 {margin-left:-80px;}
|
202
201
|
.pull-3 {margin-left:-120px;}
|
@@ -254,4 +253,46 @@ hr {background:#ddd;color:#ddd;clear:both;float:none;width:100%;height:.1em;marg
|
|
254
253
|
hr.space {background:#fff;color:#fff;}
|
255
254
|
.clearfix:after, .container:after {content:"\0020";display:block;height:0;clear:both;visibility:hidden;overflow:hidden;}
|
256
255
|
.clearfix, .container {display:block;}
|
257
|
-
.clear {clear:both;}
|
256
|
+
.clear {clear:both;}
|
257
|
+
|
258
|
+
/* fancy-type */
|
259
|
+
p + p {text-indent:2em;margin-top:-1.5em;}
|
260
|
+
form p + p {text-indent:0;}
|
261
|
+
.alt {color:#666;font-family:"Warnock Pro", "Goudy Old Style","Palatino","Book Antiqua", Georgia, serif;font-style:italic;font-weight:normal;}
|
262
|
+
.dquo {margin-left:-.5em;}
|
263
|
+
p.incr, .incr p {font-size:10px;line-height:1.44em;margin-bottom:1.5em;}
|
264
|
+
.caps {font-variant:small-caps;letter-spacing:1px;text-transform:lowercase;font-size:1.2em;line-height:1%;font-weight:bold;padding:0 2px;}
|
265
|
+
|
266
|
+
/* buttons */
|
267
|
+
a.button, button {display:block;float:left;margin:0.7em 0.5em 0.7em 0;padding:5px 10px 5px 7px;border:1px solid #dedede;border-top:1px solid #eee;border-left:1px solid #eee;background-color:#f5f5f5;font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;font-size:100%;line-height:130%;text-decoration:none;font-weight:bold;color:#565656;cursor:pointer;}
|
268
|
+
button {width:auto;overflow:visible;padding:4px 10px 3px 7px;}
|
269
|
+
button[type] {padding:4px 10px 4px 7px;line-height:17px;}
|
270
|
+
*:first-child+html button[type] {padding:4px 10px 3px 7px;}
|
271
|
+
button img, a.button img {margin:0 3px -3px 0 !important;padding:0;border:none;width:16px;height:16px;float:none;}
|
272
|
+
button:hover, a.button:hover {background-color:#dff4ff;border:1px solid #c2e1ef;color:#336699;}
|
273
|
+
a.button:active {background-color:#6299c5;border:1px solid #6299c5;color:#fff;}
|
274
|
+
body .positive {color:#529214;}
|
275
|
+
a.positive:hover, button.positive:hover {background-color:#E6EFC2;border:1px solid #C6D880;color:#529214;}
|
276
|
+
a.positive:active {background-color:#529214;border:1px solid #529214;color:#fff;}
|
277
|
+
body .negative {color:#d12f19;}
|
278
|
+
a.negative:hover, button.negative:hover {background-color:#fbe3e4;border:1px solid #fbc2c4;color:#d12f19;}
|
279
|
+
a.negative:active {background-color:#d12f19;border:1px solid #d12f19;color:#fff;}
|
280
|
+
|
281
|
+
/* tabs */
|
282
|
+
.tabs {border-bottom:1px solid #ccc;height:1%;margin:0 0 .75em 0;min-height:auto;overflow:auto;}
|
283
|
+
.tabs li {border:1px solid #ccc;border-bottom:none;float:left;line-height:1.5;list-style-type:none;margin:0 .25em 0 0;padding:0;}
|
284
|
+
.tabs li a {background:#ddd;border:1px solid #eee;border-bottom:none;color:#222;cursor:pointer;display:block;float:left;font-weight:bold;padding:.15em .33em .25em .33em;}
|
285
|
+
.tabs li a.selected {background:#666;border:1px solid #666;border-bottom:none;color:#fff;cursor:default;}
|
286
|
+
.tabs li a, .tabs li a:focus, .tabs li a:hover {text-decoration:none;}
|
287
|
+
.tabs li a:focus, .tabs li a:hover {color:#555;outline:none;}
|
288
|
+
.tabs li a.selected:focus, .tabs li a.selected:hover {color:#fafafa;}
|
289
|
+
.tabs li.label {border:none;font-weight:bold;line-height:1.5;margin-right:.5em;padding:.25em .33em .25em .33em;}
|
290
|
+
|
291
|
+
/* static_app */
|
292
|
+
.container {margin-left:7px;}
|
293
|
+
|
294
|
+
/* semantic class names */
|
295
|
+
div.presentation {margin-right:0;padding-right:0;margin-right:0;width:756px;}
|
296
|
+
div.navigation {width:196px;}
|
297
|
+
div.account {margin-right:0;padding-right:0;margin-right:0;width:196px;}
|
298
|
+
div.crumbtrail {width:756px;}
|
@@ -4,11 +4,11 @@
|
|
4
4
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
5
|
<head>
|
6
6
|
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
7
|
-
<title><%%= h yield(:title) ||
|
7
|
+
<title><%%= h yield(:title) || "Highrise" %></title>
|
8
8
|
<%%= stylesheet_link_tag 'static_style' %>
|
9
9
|
<%%= javascript_include_tag 'sorttable' %>
|
10
10
|
|
11
|
-
|
11
|
+
<%# Uni-Form %>
|
12
12
|
<style type="text/css" media="screen">
|
13
13
|
@import "/stylesheets/default-style.css";
|
14
14
|
@import "/stylesheets/uni-form.css";
|
@@ -31,14 +31,14 @@
|
|
31
31
|
<%%= javascript_include_tag 'uni-form.jquery' %>
|
32
32
|
|
33
33
|
|
34
|
+
<!-- Liquid Blueprint CSS -->
|
34
35
|
<link rel="stylesheet" href="/stylesheets/screen.css" type="text/css" media="screen, projection">
|
35
|
-
|
36
|
+
<!--[if IE]><link rel="stylesheet" href="/stylesheets/ie.css" type="text/css" media="screen, projection"><![endif]-->
|
37
|
+
|
36
38
|
<link rel="stylesheet" href="/stylesheets/redmond/jquery-ui-1.7.2.custom.css" type="text/css" media="screen">
|
37
39
|
|
38
|
-
|
39
|
-
|
40
|
-
$(document).ready(function(){ $("#navmenu-h li,#navmenu-v li").hover( function() { $(this).addClass("iehover"); }, function() { $(this).removeClass("iehover"); } ); });
|
41
|
-
%>
|
40
|
+
|
41
|
+
|
42
42
|
|
43
43
|
</head>
|
44
44
|
<body>
|
@@ -1,6 +1,105 @@
|
|
1
1
|
/* Author: Craig Erskine Description: Dynamic Menu System - Horizontal/Vertical */ ul#navmenu-h { margin: 0; padding: 0; list-style: none; position: relative; } ul#navmenu-h ul { width: 160px; /* Sub Menu Width */ margin: 0; list-style: none; display: none; position: absolute; top: 100%; left: 0; } ul#navmenu-h ul ul,ul#navmenu-h ul ul ul { top: 0; left: 100%; } ul#navmenu-h li { float: left; display: inline; position: relative; } ul#navmenu-h ul li { width: 100%; display: block; } /* Root Menu */ ul#navmenu-h a { border-top: 1px solid #FFF; border-right: 1px solid #FFF; padding: 6px; float: left; display: block; background: #DDD; color: #666; font: bold 11px Arial, sans-serif; text-decoration: none; height: 1%; } /* Root Menu Hover Persistence */ ul#navmenu-h a:hover,ul#navmenu-h li:hover a,ul#navmenu-h li.iehover a { background: #BBB; color: #FFF; } /* 2nd Menu */ ul#navmenu-h li:hover li a,ul#navmenu-h li.iehover li a { float: none; background: #BBB; } /* 2nd Menu Hover Persistence */ ul#navmenu-h li:hover li a:hover,ul#navmenu-h li:hover li:hover a,ul#navmenu-h li.iehover li a:hover,ul#navmenu-h li.iehover li.iehover a { background: #999; } /* 3rd Menu */ ul#navmenu-h li:hover li:hover li a,ul#navmenu-h li.iehover li.iehover li a { background: #999; } /* 3rd Menu Hover Persistence */ ul#navmenu-h li:hover li:hover li a:hover,ul#navmenu-h li:hover li:hover li:hover a,ul#navmenu-h li.iehover li.iehover li a:hover,ul#navmenu-h li.iehover li.iehover li.iehover a { background: #666; } /* 4th Menu */ ul#navmenu-h li:hover li:hover li:hover li a,ul#navmenu-h li.iehover li.iehover li.iehover li a { background: #666; } /* 4th Menu Hover */ ul#navmenu-h li:hover li:hover li:hover li a:hover,ul#navmenu-h li.iehover li.iehover li.iehover li a:hover { background: #333; } /* Hover Function - Do Not Move */ ul#navmenu-h li:hover ul ul,ul#navmenu-h li:hover ul ul ul,ul#navmenu-h li.iehover ul ul,ul#navmenu-h li.iehover ul ul ul { display: none; } ul#navmenu-h li:hover ul,ul#navmenu-h ul li:hover ul,ul#navmenu-h ul ul li:hover ul,ul#navmenu-h li.iehover ul,ul#navmenu-h ul li.iehover ul,ul#navmenu-h ul ul li.iehover ul { display: block; }
|
2
2
|
/* Author: Craig Erskine Description: Dynamic Menu System - Vertical */ ul#navmenu-v,ul#navmenu-v li,ul#navmenu-v ul { width: 160px; /* Menu Width */ margin: 0; list-style: none; } ul#navmenu-v li { float: left; position: relative; width: 100%; } ul#navmenu-v li.iehover { z-index: 1000; /* IE z-index bugfix */ } ul#navmenu-v ul { display: none; position: absolute; top: 0; left: 100%; z-index: 9999; } /* Root Menu */ ul#navmenu-v a { border-top: 1px solid #FFF; border-right: 1px solid #FFF; padding: 6px; display: block; background: #DDD; color: #666; font: bold 11px Arial, sans-serif; text-decoration: none; height: 1%; } /* Root Menu Hover Persistence */ ul#navmenu-v a:hover,ul#navmenu-v li:hover a,ul#navmenu-v li.iehover a { background: #BBB; color: #FFF; } /* 2nd Menu */ ul#navmenu-v li:hover li a,ul#navmenu-v li.iehover li a { float: none; background: #BBB; } /* 2nd Menu Hover Persistence */ ul#navmenu-v li:hover li a:hover,ul#navmenu-v li:hover li:hover a,ul#navmenu-v li.iehover li a:hover,ul#navmenu-v li.iehover li.iehover a { background: #999; } /* 3rd Menu */ ul#navmenu-v li:hover li:hover li a,ul#navmenu-v li.iehover li.iehover li a { background: #999; } /* 3rd Menu Hover Persistence */ ul#navmenu-v li:hover li:hover li a:hover,ul#navmenu-v li:hover li:hover li:hover a,ul#navmenu-v li.iehover li.iehover li a:hover,ul#navmenu-v li.iehover li.iehover li.iehover a { background: #666; } /* 4th Menu */ ul#navmenu-v li:hover li:hover li:hover li a,ul#navmenu-v li.iehover li.iehover li.iehover li a { background: #666; } /* 4th Menu Hover */ ul#navmenu-v li:hover li:hover li:hover li a:hover,ul#navmenu-v li.iehover li.iehover li.iehover li a:hover { background: #333; } /* Hover Function - Do Not Move */ ul#navmenu-v li:hover ul ul,ul#navmenu-v li:hover ul ul ul,ul#navmenu-v li.iehover ul ul,ul#navmenu-v li.iehover ul ul ul { display: none; } ul#navmenu-v li:hover ul,ul#navmenu-v ul li:hover ul,ul#navmenu-v ul ul li:hover ul,ul#navmenu-v li.iehover ul,ul#navmenu-v ul li.iehover ul,ul#navmenu-v ul ul li.iehover ul { display: block; }
|
3
3
|
|
4
|
+
|
5
|
+
.model_selector {
|
6
|
+
border-bottom: 3px solid #6982a7;
|
7
|
+
font-weight: bold;
|
8
|
+
color: white;
|
9
|
+
}
|
10
|
+
|
11
|
+
.model_selection {
|
12
|
+
font-size: 1.25em;
|
13
|
+
padding-top: 3px;
|
14
|
+
padding-bottom: 2px;
|
15
|
+
padding-left: 5px;
|
16
|
+
background-color: #6982a7;
|
17
|
+
border-bottom: 1px solid #6982a7; /* 778bAF; */
|
18
|
+
font-weight: bold;
|
19
|
+
color: white;
|
20
|
+
}
|
21
|
+
|
22
|
+
|
23
|
+
.model_selection a {
|
24
|
+
width: 100%;
|
25
|
+
display: block;
|
26
|
+
text-decoration: none;
|
27
|
+
background-color: #778bAF; /* #899ab7; */
|
28
|
+
padding-top: 3px;
|
29
|
+
padding-bottom: 2px;
|
30
|
+
padding-left: 5px;
|
31
|
+
margin-top: -3px;
|
32
|
+
margin-bottom: -2px;
|
33
|
+
margin-left: -5px;
|
34
|
+
color: white;
|
35
|
+
}
|
36
|
+
|
37
|
+
.model_selection a:hover {
|
38
|
+
background-color: #FFDE6B;
|
39
|
+
color: black;
|
40
|
+
}
|
41
|
+
|
42
|
+
.model_selection a:active {
|
43
|
+
color: black;
|
44
|
+
text-decoration: underline;
|
45
|
+
}
|
46
|
+
|
47
|
+
.work_area_header {
|
48
|
+
font-size: 1.25em;
|
49
|
+
padding-top: 3px;
|
50
|
+
padding-bottom: 2px;
|
51
|
+
padding-left: 5px;
|
52
|
+
background-color: #899AB7;
|
53
|
+
border-top: 1px solid #6982a7; /* 778bAF; */
|
54
|
+
border-right: 1px solid #6982a7; /* 778bAF; */
|
55
|
+
border-left: 1px solid #6982a7; /* 778bAF; */
|
56
|
+
color: white;
|
57
|
+
}
|
58
|
+
|
59
|
+
.presentation_selector {
|
60
|
+
background-color: #D4D4D4;
|
61
|
+
padding-left: 5px;
|
62
|
+
padding-top: 7px;
|
63
|
+
border: 1px solid #AAAAAA;
|
64
|
+
}
|
65
|
+
|
66
|
+
.presentation_selection {
|
67
|
+
padding-top: 4px;
|
68
|
+
padding-bottom: 3px;
|
69
|
+
padding-left: 7px;
|
70
|
+
padding-right: 7px;
|
71
|
+
|
72
|
+
background-color: #F3F3F3;
|
73
|
+
display: inline;
|
74
|
+
border-top: 1px solid #AAAAAA;
|
75
|
+
border-left: 1px solid #AAAAAA;
|
76
|
+
border-right: 1px solid #AAAAAA;
|
77
|
+
border-bottom: 1px solid #F3F3F3;
|
78
|
+
|
79
|
+
}
|
80
|
+
|
81
|
+
|
82
|
+
.presentation_selection a {
|
83
|
+
background-color: #E2E2E2;
|
84
|
+
display: inline;
|
85
|
+
border: 1px solid #AAAAAA;
|
86
|
+
|
87
|
+
padding-top: 4px;
|
88
|
+
padding-bottom: 3px;
|
89
|
+
padding-left: 7px;
|
90
|
+
padding-right: 7px;
|
91
|
+
|
92
|
+
margin-top: -4px;
|
93
|
+
margin-bottom: -3px;
|
94
|
+
margin-left: -7px;
|
95
|
+
margin-right: -14px;
|
96
|
+
|
97
|
+
text-decoration: none;
|
98
|
+
color: black;
|
99
|
+
|
100
|
+
}
|
101
|
+
|
102
|
+
|
4
103
|
.fieldWithErrors {
|
5
104
|
padding: 2px;
|
6
105
|
background-color: red;
|
@@ -1,3 +1,65 @@
|
|
1
1
|
<%%=render :partial=>"shared/standard_header"%>
|
2
|
-
|
3
|
-
|
2
|
+
|
3
|
+
<div class="container showgrid" >
|
4
|
+
<img src="/images/spacer.gif" style="border: 1px; height: 1px; width: 950px;">
|
5
|
+
|
6
|
+
<div>
|
7
|
+
<div class="span-20">
|
8
|
+
<h1>Static App</h1>
|
9
|
+
</div>
|
10
|
+
<div class="span-4 last">
|
11
|
+
<%%=link_to "Logout"%>
|
12
|
+
</div>
|
13
|
+
</div> <!-- end application header -->
|
14
|
+
|
15
|
+
<!-- Application Body -->
|
16
|
+
<div>
|
17
|
+
|
18
|
+
<!-- Left Column -->
|
19
|
+
<div class="span-5">
|
20
|
+
<div class="model_selector">
|
21
|
+
<div class="model_selection ui-corner-tl">
|
22
|
+
Clients
|
23
|
+
</div>
|
24
|
+
<div class="model_selection">
|
25
|
+
<%%=link_to 'Projects'%>
|
26
|
+
</div>
|
27
|
+
<div class="model_selection">
|
28
|
+
<%%=link_to 'Users'%>
|
29
|
+
</div>
|
30
|
+
<div class="model_selection">
|
31
|
+
<%%=link_to 'Offices'%>
|
32
|
+
</div>
|
33
|
+
<div class="model_selection">
|
34
|
+
<%%=link_to 'Vendors'%>
|
35
|
+
</div>
|
36
|
+
</div> <!-- end model selector -->
|
37
|
+
</div> <!-- end left_column -->
|
38
|
+
|
39
|
+
<!-- Right Column -->
|
40
|
+
<div class='span-19 last'>
|
41
|
+
<table><tr style="margin: 0; padding:0;"><td style="margin: 0; padding:0;">
|
42
|
+
<div class="work_area">
|
43
|
+
<div class="work_area_header ui-corner-tr">
|
44
|
+
Application Work Area Title Bar
|
45
|
+
</div>
|
46
|
+
<div class="presentation_selector">
|
47
|
+
<div class="presentation_selection">
|
48
|
+
<%%=link_to "Table"%>
|
49
|
+
</div>
|
50
|
+
<div class="presentation_selection">
|
51
|
+
<%%=link_to "Map"%>
|
52
|
+
</div>
|
53
|
+
<div class="presentation_selection">
|
54
|
+
<%%=link_to "Hourly Averages"%>
|
55
|
+
</div>
|
56
|
+
</div> <!-- end presentation selector -->
|
57
|
+
<div class="presentation_window">
|
58
|
+
<%%=yield%>
|
59
|
+
</div> <!-- end presentation window -->
|
60
|
+
</td></tr></table>
|
61
|
+
</div> <!-- end work_area -->
|
62
|
+
</div> <!-- end right column -->
|
63
|
+
</div> <!-- end application body -->
|
64
|
+
|
65
|
+
<%%=render :partial=>"shared/standard_footer"%>
|
data/static-generators.gemspec
CHANGED
@@ -2,15 +2,15 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{static-generators}
|
5
|
-
s.version = "0.3.
|
5
|
+
s.version = "0.3.4"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Jeffrey Hicks"]
|
9
|
-
s.date = %q{2009-07-
|
9
|
+
s.date = %q{2009-07-13}
|
10
10
|
s.description = %q{Generate attractive interfaces that are easy to edit.}
|
11
11
|
s.email = %q{jrhicks (at) gmail (dot) com}
|
12
12
|
s.extra_rdoc_files = ["CHANGELOG", "lib/static_generators.rb", "LICENSE", "README.md", "tasks/deployment.rake", "TODO"]
|
13
|
-
s.files = ["CHANGELOG", "lib/static_generators.rb", "LICENSE", "rails_generators/static_app/static_app_generator.rb", "rails_generators/static_app/templates/application_helper.rb", "rails_generators/static_app/templates/blueprint/
|
13
|
+
s.files = ["CHANGELOG", "lib/static_generators.rb", "LICENSE", "rails_generators/static_app/static_app_generator.rb", "rails_generators/static_app/templates/application_helper.rb", "rails_generators/static_app/templates/blueprint/AUTHORS.textile", "rails_generators/static_app/templates/blueprint/icons/cross.png", "rails_generators/static_app/templates/blueprint/icons/key.png", "rails_generators/static_app/templates/blueprint/icons/tick.png", "rails_generators/static_app/templates/blueprint/ie.css", "rails_generators/static_app/templates/blueprint/print.css", "rails_generators/static_app/templates/blueprint/README", "rails_generators/static_app/templates/blueprint/README.textile", "rails_generators/static_app/templates/blueprint/readme.txt", "rails_generators/static_app/templates/blueprint/screen.css", "rails_generators/static_app/templates/header_bg.png", "rails_generators/static_app/templates/icons/cross.png", "rails_generators/static_app/templates/icons/doc.png", "rails_generators/static_app/templates/icons/email.png", "rails_generators/static_app/templates/icons/external.png", "rails_generators/static_app/templates/icons/feed.png", "rails_generators/static_app/templates/icons/key.png", "rails_generators/static_app/templates/icons/pdf.png", "rails_generators/static_app/templates/icons/tick.png", "rails_generators/static_app/templates/icons/visited.png", "rails_generators/static_app/templates/icons/xls.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-bg_flat_55_fbec88_40x100.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-bg_glass_85_dfeffc_1x400.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-bg_glass_95_fef1ec_1x400.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-icons_217bc0_256x240.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-icons_2e83ff_256x240.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-icons_469bdd_256x240.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-icons_6da8d5_256x240.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-icons_cd0a0a_256x240.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-icons_d8e7f3_256x240.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-icons_f9bd01_256x240.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/jquery-ui-1.7.2.custom.css", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/index.html", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/js/jquery-1.3.2.min.js", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/js/jquery-ui-1.7.2.custom.min.js", "rails_generators/static_app/templates/jrails/jquery-ui.js", "rails_generators/static_app/templates/jrails/jquery.js", "rails_generators/static_app/templates/jrails/jrails.js", "rails_generators/static_app/templates/layout.html.erb", "rails_generators/static_app/templates/layout_helper.rb", "rails_generators/static_app/templates/navigation_bar_bg.gif", "rails_generators/static_app/templates/plugins/jrails/CHANGELOG", "rails_generators/static_app/templates/plugins/jrails/init.rb", "rails_generators/static_app/templates/plugins/jrails/install.rb", "rails_generators/static_app/templates/plugins/jrails/javascripts/jquery-ui.js", "rails_generators/static_app/templates/plugins/jrails/javascripts/jquery.js", "rails_generators/static_app/templates/plugins/jrails/javascripts/jrails.js", "rails_generators/static_app/templates/plugins/jrails/javascripts/sources/jrails.js", "rails_generators/static_app/templates/plugins/jrails/lib/jrails.rb", "rails_generators/static_app/templates/plugins/jrails/README", "rails_generators/static_app/templates/plugins/jrails/tasks/jrails.rake", "rails_generators/static_app/templates/sorttable/sorttable.js", "rails_generators/static_app/templates/standard_banner.html.erb", "rails_generators/static_app/templates/standard_footer.html.erb", "rails_generators/static_app/templates/standard_header.html.erb", "rails_generators/static_app/templates/standard_navigation.html.erb", "rails_generators/static_app/templates/static_generator.rake", "rails_generators/static_app/templates/static_style.css", "rails_generators/static_app/templates/uni-form/jquery.js", "rails_generators/static_app/templates/uni-form/uni-form-generic.css", "rails_generators/static_app/templates/uni-form/uni-form.css", "rails_generators/static_app/templates/uni-form/uni-form.jquery.js", "rails_generators/static_app/USAGE", "rails_generators/static_authorization/static_authorization_generator.rb", "rails_generators/static_authorization/templates/migration.rb", "rails_generators/static_authorization/USAGE", "rails_generators/static_gen_specs/static_gen_specs_generator.rb", "rails_generators/static_gen_specs/templates/generator_specs.rb", "rails_generators/static_gen_specs/templates/model_gen_specs.rb", "rails_generators/static_gen_specs/USAGE", "rails_generators/static_scaffold/static_scaffold_generator.rb", "rails_generators/static_scaffold/templates/controller.rb", "rails_generators/static_scaffold/templates/fake_data.rake", "rails_generators/static_scaffold/templates/functional_test.rb", "rails_generators/static_scaffold/templates/helper.rb", "rails_generators/static_scaffold/templates/helper_test.rb", "rails_generators/static_scaffold/templates/layout.html.erb", "rails_generators/static_scaffold/templates/model.rb", "rails_generators/static_scaffold/templates/paperclip_tokens.rb", "rails_generators/static_scaffold/templates/view_edit.html.erb", "rails_generators/static_scaffold/templates/view_index.html.erb", "rails_generators/static_scaffold/templates/view_new.html.erb", "rails_generators/static_scaffold/templates/view_show.html.erb", "rails_generators/static_scaffold/USAGE", "Rakefile", "README.md", "tasks/deployment.rake", "TODO", "USAGE", "Manifest", "static-generators.gemspec"]
|
14
14
|
s.has_rdoc = true
|
15
15
|
s.homepage = %q{http://github.com/jrhicks/static-scaffolds}
|
16
16
|
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Static-generators", "--main", "README.md"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jrhicks-static-generators
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeffrey Hicks
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-07-
|
12
|
+
date: 2009-07-13 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -32,10 +32,15 @@ files:
|
|
32
32
|
- LICENSE
|
33
33
|
- rails_generators/static_app/static_app_generator.rb
|
34
34
|
- rails_generators/static_app/templates/application_helper.rb
|
35
|
-
- rails_generators/static_app/templates/blueprint/
|
35
|
+
- rails_generators/static_app/templates/blueprint/AUTHORS.textile
|
36
|
+
- rails_generators/static_app/templates/blueprint/icons/cross.png
|
37
|
+
- rails_generators/static_app/templates/blueprint/icons/key.png
|
38
|
+
- rails_generators/static_app/templates/blueprint/icons/tick.png
|
36
39
|
- rails_generators/static_app/templates/blueprint/ie.css
|
37
|
-
- rails_generators/static_app/templates/blueprint/LICENSE
|
38
40
|
- rails_generators/static_app/templates/blueprint/print.css
|
41
|
+
- rails_generators/static_app/templates/blueprint/README
|
42
|
+
- rails_generators/static_app/templates/blueprint/README.textile
|
43
|
+
- rails_generators/static_app/templates/blueprint/readme.txt
|
39
44
|
- rails_generators/static_app/templates/blueprint/screen.css
|
40
45
|
- rails_generators/static_app/templates/header_bg.png
|
41
46
|
- rails_generators/static_app/templates/icons/cross.png
|
@@ -1,314 +0,0 @@
|
|
1
|
-
Blueprint CSS Framework License
|
2
|
-
----------------------------------------------------------------
|
3
|
-
|
4
|
-
Copyright (c) 2007-2008 blueprintcss.org
|
5
|
-
|
6
|
-
The Blueprint CSS Framework is available for use in all personal or
|
7
|
-
commercial projects, under both the (modified) MIT and the GPL license. You
|
8
|
-
may choose the one that fits your project.
|
9
|
-
|
10
|
-
|
11
|
-
The (modified) MIT License
|
12
|
-
----------------------------------------------------------------
|
13
|
-
|
14
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
15
|
-
of this software and associated documentation files (the "Software"), to deal
|
16
|
-
in the Software without restriction, including without limitation the rights
|
17
|
-
to use, copy, modify, merge, publish, distribute, sub-license, and/or sell
|
18
|
-
copies of the Software, and to permit persons to whom the Software is
|
19
|
-
furnished to do so, subject to the following conditions:
|
20
|
-
|
21
|
-
The above copyright notice, and every other copyright notice found in this
|
22
|
-
software, and all the attributions in every file, and this permission notice
|
23
|
-
shall be included in all copies or substantial portions of the Software.
|
24
|
-
|
25
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
26
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
27
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
|
28
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
29
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
30
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
31
|
-
THE SOFTWARE.
|
32
|
-
|
33
|
-
|
34
|
-
The GPL License
|
35
|
-
----------------------------------------------------------------
|
36
|
-
|
37
|
-
GNU GENERAL PUBLIC LICENSE
|
38
|
-
Version 2, June 1991
|
39
|
-
|
40
|
-
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
41
|
-
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
42
|
-
Everyone is permitted to copy and distribute verbatim copies
|
43
|
-
of this license document, but changing it is not allowed.
|
44
|
-
|
45
|
-
Preamble
|
46
|
-
|
47
|
-
The licenses for most software are designed to take away your
|
48
|
-
freedom to share and change it. By contrast, the GNU General Public
|
49
|
-
License is intended to guarantee your freedom to share and change free
|
50
|
-
software--to make sure the software is free for all its users. This
|
51
|
-
General Public License applies to most of the Free Software
|
52
|
-
Foundation's software and to any other program whose authors commit to
|
53
|
-
using it. (Some other Free Software Foundation software is covered by
|
54
|
-
the GNU Lesser General Public License instead.) You can apply it to
|
55
|
-
your programs, too.
|
56
|
-
|
57
|
-
When we speak of free software, we are referring to freedom, not
|
58
|
-
price. Our General Public Licenses are designed to make sure that you
|
59
|
-
have the freedom to distribute copies of free software (and charge for
|
60
|
-
this service if you wish), that you receive source code or can get it
|
61
|
-
if you want it, that you can change the software or use pieces of it
|
62
|
-
in new free programs; and that you know you can do these things.
|
63
|
-
|
64
|
-
To protect your rights, we need to make restrictions that forbid
|
65
|
-
anyone to deny you these rights or to ask you to surrender the rights.
|
66
|
-
These restrictions translate to certain responsibilities for you if you
|
67
|
-
distribute copies of the software, or if you modify it.
|
68
|
-
|
69
|
-
For example, if you distribute copies of such a program, whether
|
70
|
-
gratis or for a fee, you must give the recipients all the rights that
|
71
|
-
you have. You must make sure that they, too, receive or can get the
|
72
|
-
source code. And you must show them these terms so they know their
|
73
|
-
rights.
|
74
|
-
|
75
|
-
We protect your rights with two steps: (1) copyright the software, and
|
76
|
-
(2) offer you this license which gives you legal permission to copy,
|
77
|
-
distribute and/or modify the software.
|
78
|
-
|
79
|
-
Also, for each author's protection and ours, we want to make certain
|
80
|
-
that everyone understands that there is no warranty for this free
|
81
|
-
software. If the software is modified by someone else and passed on, we
|
82
|
-
want its recipients to know that what they have is not the original, so
|
83
|
-
that any problems introduced by others will not reflect on the original
|
84
|
-
authors' reputations.
|
85
|
-
|
86
|
-
Finally, any free program is threatened constantly by software
|
87
|
-
patents. We wish to avoid the danger that redistributors of a free
|
88
|
-
program will individually obtain patent licenses, in effect making the
|
89
|
-
program proprietary. To prevent this, we have made it clear that any
|
90
|
-
patent must be licensed for everyone's free use or not licensed at all.
|
91
|
-
|
92
|
-
The precise terms and conditions for copying, distribution and
|
93
|
-
modification follow.
|
94
|
-
|
95
|
-
GNU GENERAL PUBLIC LICENSE
|
96
|
-
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
97
|
-
|
98
|
-
0. This License applies to any program or other work which contains
|
99
|
-
a notice placed by the copyright holder saying it may be distributed
|
100
|
-
under the terms of this General Public License. The "Program", below,
|
101
|
-
refers to any such program or work, and a "work based on the Program"
|
102
|
-
means either the Program or any derivative work under copyright law:
|
103
|
-
that is to say, a work containing the Program or a portion of it,
|
104
|
-
either verbatim or with modifications and/or translated into another
|
105
|
-
language. (Hereinafter, translation is included without limitation in
|
106
|
-
the term "modification".) Each licensee is addressed as "you".
|
107
|
-
|
108
|
-
Activities other than copying, distribution and modification are not
|
109
|
-
covered by this License; they are outside its scope. The act of
|
110
|
-
running the Program is not restricted, and the output from the Program
|
111
|
-
is covered only if its contents constitute a work based on the
|
112
|
-
Program (independent of having been made by running the Program).
|
113
|
-
Whether that is true depends on what the Program does.
|
114
|
-
|
115
|
-
1. You may copy and distribute verbatim copies of the Program's
|
116
|
-
source code as you receive it, in any medium, provided that you
|
117
|
-
conspicuously and appropriately publish on each copy an appropriate
|
118
|
-
copyright notice and disclaimer of warranty; keep intact all the
|
119
|
-
notices that refer to this License and to the absence of any warranty;
|
120
|
-
and give any other recipients of the Program a copy of this License
|
121
|
-
along with the Program.
|
122
|
-
|
123
|
-
You may charge a fee for the physical act of transferring a copy, and
|
124
|
-
you may at your option offer warranty protection in exchange for a fee.
|
125
|
-
|
126
|
-
2. You may modify your copy or copies of the Program or any portion
|
127
|
-
of it, thus forming a work based on the Program, and copy and
|
128
|
-
distribute such modifications or work under the terms of Section 1
|
129
|
-
above, provided that you also meet all of these conditions:
|
130
|
-
|
131
|
-
a) You must cause the modified files to carry prominent notices
|
132
|
-
stating that you changed the files and the date of any change.
|
133
|
-
|
134
|
-
b) You must cause any work that you distribute or publish, that in
|
135
|
-
whole or in part contains or is derived from the Program or any
|
136
|
-
part thereof, to be licensed as a whole at no charge to all third
|
137
|
-
parties under the terms of this License.
|
138
|
-
|
139
|
-
c) If the modified program normally reads commands interactively
|
140
|
-
when run, you must cause it, when started running for such
|
141
|
-
interactive use in the most ordinary way, to print or display an
|
142
|
-
announcement including an appropriate copyright notice and a
|
143
|
-
notice that there is no warranty (or else, saying that you provide
|
144
|
-
a warranty) and that users may redistribute the program under
|
145
|
-
these conditions, and telling the user how to view a copy of this
|
146
|
-
License. (Exception: if the Program itself is interactive but
|
147
|
-
does not normally print such an announcement, your work based on
|
148
|
-
the Program is not required to print an announcement.)
|
149
|
-
|
150
|
-
These requirements apply to the modified work as a whole. If
|
151
|
-
identifiable sections of that work are not derived from the Program,
|
152
|
-
and can be reasonably considered independent and separate works in
|
153
|
-
themselves, then this License, and its terms, do not apply to those
|
154
|
-
sections when you distribute them as separate works. But when you
|
155
|
-
distribute the same sections as part of a whole which is a work based
|
156
|
-
on the Program, the distribution of the whole must be on the terms of
|
157
|
-
this License, whose permissions for other licensees extend to the
|
158
|
-
entire whole, and thus to each and every part regardless of who wrote it.
|
159
|
-
|
160
|
-
Thus, it is not the intent of this section to claim rights or contest
|
161
|
-
your rights to work written entirely by you; rather, the intent is to
|
162
|
-
exercise the right to control the distribution of derivative or
|
163
|
-
collective works based on the Program.
|
164
|
-
|
165
|
-
In addition, mere aggregation of another work not based on the Program
|
166
|
-
with the Program (or with a work based on the Program) on a volume of
|
167
|
-
a storage or distribution medium does not bring the other work under
|
168
|
-
the scope of this License.
|
169
|
-
|
170
|
-
3. You may copy and distribute the Program (or a work based on it,
|
171
|
-
under Section 2) in object code or executable form under the terms of
|
172
|
-
Sections 1 and 2 above provided that you also do one of the following:
|
173
|
-
|
174
|
-
a) Accompany it with the complete corresponding machine-readable
|
175
|
-
source code, which must be distributed under the terms of Sections
|
176
|
-
1 and 2 above on a medium customarily used for software interchange; or,
|
177
|
-
|
178
|
-
b) Accompany it with a written offer, valid for at least three
|
179
|
-
years, to give any third party, for a charge no more than your
|
180
|
-
cost of physically performing source distribution, a complete
|
181
|
-
machine-readable copy of the corresponding source code, to be
|
182
|
-
distributed under the terms of Sections 1 and 2 above on a medium
|
183
|
-
customarily used for software interchange; or,
|
184
|
-
|
185
|
-
c) Accompany it with the information you received as to the offer
|
186
|
-
to distribute corresponding source code. (This alternative is
|
187
|
-
allowed only for noncommercial distribution and only if you
|
188
|
-
received the program in object code or executable form with such
|
189
|
-
an offer, in accord with Subsection b above.)
|
190
|
-
|
191
|
-
The source code for a work means the preferred form of the work for
|
192
|
-
making modifications to it. For an executable work, complete source
|
193
|
-
code means all the source code for all modules it contains, plus any
|
194
|
-
associated interface definition files, plus the scripts used to
|
195
|
-
control compilation and installation of the executable. However, as a
|
196
|
-
special exception, the source code distributed need not include
|
197
|
-
anything that is normally distributed (in either source or binary
|
198
|
-
form) with the major components (compiler, kernel, and so on) of the
|
199
|
-
operating system on which the executable runs, unless that component
|
200
|
-
itself accompanies the executable.
|
201
|
-
|
202
|
-
If distribution of executable or object code is made by offering
|
203
|
-
access to copy from a designated place, then offering equivalent
|
204
|
-
access to copy the source code from the same place counts as
|
205
|
-
distribution of the source code, even though third parties are not
|
206
|
-
compelled to copy the source along with the object code.
|
207
|
-
|
208
|
-
4. You may not copy, modify, sublicense, or distribute the Program
|
209
|
-
except as expressly provided under this License. Any attempt
|
210
|
-
otherwise to copy, modify, sublicense or distribute the Program is
|
211
|
-
void, and will automatically terminate your rights under this License.
|
212
|
-
However, parties who have received copies, or rights, from you under
|
213
|
-
this License will not have their licenses terminated so long as such
|
214
|
-
parties remain in full compliance.
|
215
|
-
|
216
|
-
5. You are not required to accept this License, since you have not
|
217
|
-
signed it. However, nothing else grants you permission to modify or
|
218
|
-
distribute the Program or its derivative works. These actions are
|
219
|
-
prohibited by law if you do not accept this License. Therefore, by
|
220
|
-
modifying or distributing the Program (or any work based on the
|
221
|
-
Program), you indicate your acceptance of this License to do so, and
|
222
|
-
all its terms and conditions for copying, distributing or modifying
|
223
|
-
the Program or works based on it.
|
224
|
-
|
225
|
-
6. Each time you redistribute the Program (or any work based on the
|
226
|
-
Program), the recipient automatically receives a license from the
|
227
|
-
original licensor to copy, distribute or modify the Program subject to
|
228
|
-
these terms and conditions. You may not impose any further
|
229
|
-
restrictions on the recipients' exercise of the rights granted herein.
|
230
|
-
You are not responsible for enforcing compliance by third parties to
|
231
|
-
this License.
|
232
|
-
|
233
|
-
7. If, as a consequence of a court judgment or allegation of patent
|
234
|
-
infringement or for any other reason (not limited to patent issues),
|
235
|
-
conditions are imposed on you (whether by court order, agreement or
|
236
|
-
otherwise) that contradict the conditions of this License, they do not
|
237
|
-
excuse you from the conditions of this License. If you cannot
|
238
|
-
distribute so as to satisfy simultaneously your obligations under this
|
239
|
-
License and any other pertinent obligations, then as a consequence you
|
240
|
-
may not distribute the Program at all. For example, if a patent
|
241
|
-
license would not permit royalty-free redistribution of the Program by
|
242
|
-
all those who receive copies directly or indirectly through you, then
|
243
|
-
the only way you could satisfy both it and this License would be to
|
244
|
-
refrain entirely from distribution of the Program.
|
245
|
-
|
246
|
-
If any portion of this section is held invalid or unenforceable under
|
247
|
-
any particular circumstance, the balance of the section is intended to
|
248
|
-
apply and the section as a whole is intended to apply in other
|
249
|
-
circumstances.
|
250
|
-
|
251
|
-
It is not the purpose of this section to induce you to infringe any
|
252
|
-
patents or other property right claims or to contest validity of any
|
253
|
-
such claims; this section has the sole purpose of protecting the
|
254
|
-
integrity of the free software distribution system, which is
|
255
|
-
implemented by public license practices. Many people have made
|
256
|
-
generous contributions to the wide range of software distributed
|
257
|
-
through that system in reliance on consistent application of that
|
258
|
-
system; it is up to the author/donor to decide if he or she is willing
|
259
|
-
to distribute software through any other system and a licensee cannot
|
260
|
-
impose that choice.
|
261
|
-
|
262
|
-
This section is intended to make thoroughly clear what is believed to
|
263
|
-
be a consequence of the rest of this License.
|
264
|
-
|
265
|
-
8. If the distribution and/or use of the Program is restricted in
|
266
|
-
certain countries either by patents or by copyrighted interfaces, the
|
267
|
-
original copyright holder who places the Program under this License
|
268
|
-
may add an explicit geographical distribution limitation excluding
|
269
|
-
those countries, so that distribution is permitted only in or among
|
270
|
-
countries not thus excluded. In such case, this License incorporates
|
271
|
-
the limitation as if written in the body of this License.
|
272
|
-
|
273
|
-
9. The Free Software Foundation may publish revised and/or new versions
|
274
|
-
of the General Public License from time to time. Such new versions will
|
275
|
-
be similar in spirit to the present version, but may differ in detail to
|
276
|
-
address new problems or concerns.
|
277
|
-
|
278
|
-
Each version is given a distinguishing version number. If the Program
|
279
|
-
specifies a version number of this License which applies to it and "any
|
280
|
-
later version", you have the option of following the terms and conditions
|
281
|
-
either of that version or of any later version published by the Free
|
282
|
-
Software Foundation. If the Program does not specify a version number of
|
283
|
-
this License, you may choose any version ever published by the Free Software
|
284
|
-
Foundation.
|
285
|
-
|
286
|
-
10. If you wish to incorporate parts of the Program into other free
|
287
|
-
programs whose distribution conditions are different, write to the author
|
288
|
-
to ask for permission. For software which is copyrighted by the Free
|
289
|
-
Software Foundation, write to the Free Software Foundation; we sometimes
|
290
|
-
make exceptions for this. Our decision will be guided by the two goals
|
291
|
-
of preserving the free status of all derivatives of our free software and
|
292
|
-
of promoting the sharing and reuse of software generally.
|
293
|
-
|
294
|
-
NO WARRANTY
|
295
|
-
|
296
|
-
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
297
|
-
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
298
|
-
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
299
|
-
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
300
|
-
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
301
|
-
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
302
|
-
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
303
|
-
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
304
|
-
REPAIR OR CORRECTION.
|
305
|
-
|
306
|
-
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
307
|
-
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
308
|
-
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
309
|
-
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
310
|
-
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
311
|
-
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
312
|
-
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
313
|
-
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
314
|
-
POSSIBILITY OF SUCH DAMAGES.
|
Binary file
|