app-themer 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +17 -52
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/app-themer.gemspec +2 -2
- metadata +3 -3
data/README.md
CHANGED
@@ -1,9 +1,14 @@
|
|
1
1
|
App Themer
|
2
2
|
=============
|
3
3
|
|
4
|
-
App Themer is a rails generator
|
5
|
-
|
6
|
-
|
4
|
+
App Themer is a rails generator inspired by [web-app-theme](http://github.com/pilu/web-app-theme) that allows you to quickly generate a complete admin template for your rails app.
|
5
|
+
|
6
|
+
Features
|
7
|
+
--------
|
8
|
+
|
9
|
+
* HTML5 - based on [html5-boilerplate](http://github.com/paulirish/html5-boilerplate)
|
10
|
+
* Tested in IE6
|
11
|
+
|
7
12
|
|
8
13
|
Installation
|
9
14
|
------------
|
@@ -19,7 +24,7 @@ Usage
|
|
19
24
|
|
20
25
|
### Layout Generator
|
21
26
|
|
22
|
-
Used without parameters, app_themer generates the layout
|
27
|
+
Used without parameters, app_themer generates the layout file application.html.erb using the default theme.
|
23
28
|
|
24
29
|
rails g app_themer:layout
|
25
30
|
|
@@ -29,7 +34,7 @@ You can specify the layout file name in the first parameter:
|
|
29
34
|
|
30
35
|
If you want to use another theme, instead of the default, you can use the `--theme` option:
|
31
36
|
|
32
|
-
rails g app_themer:layout admin --theme="
|
37
|
+
rails g app_themer:layout admin --theme="a-theme" # there currently is only 1 theme
|
33
38
|
|
34
39
|
You can specify the template engine with `--engine=name` option, where name can be erb (default) or haml:
|
35
40
|
|
@@ -37,7 +42,7 @@ You can specify the template engine with `--engine=name` option, where name can
|
|
37
42
|
|
38
43
|
If you want to generate the stylesheets of a specific theme without changing the previously generated layout you can pass the `--no-layout` option:
|
39
44
|
|
40
|
-
rails g app_themer:layout --theme=
|
45
|
+
rails g app_themer:layout --theme=a-theme --no-layout
|
41
46
|
|
42
47
|
|
43
48
|
You can specify the text used in the header with the `--app-name` option:
|
@@ -50,7 +55,7 @@ If you need a layout for login and signup pages, you can use the `--type` option
|
|
50
55
|
|
51
56
|
### View Generator
|
52
57
|
|
53
|
-
Start creating your controllers manually or with a scaffold, and then use the
|
58
|
+
Start creating your controllers manually or with a scaffold, and then use the view generator to overwrite the previously generated views.
|
54
59
|
|
55
60
|
If you have a controller named like the plural of the used model you can specify just the first parameter:
|
56
61
|
|
@@ -90,24 +95,6 @@ If you want to show form error messages inside the generated forms, use the foll
|
|
90
95
|
end
|
91
96
|
end
|
92
97
|
|
93
|
-
If you want to have translated pages, simple create in your locale.yml the keys just like config/locales/en_us.yml example.
|
94
|
-
|
95
|
-
en_us:
|
96
|
-
app-themer:
|
97
|
-
save: Save
|
98
|
-
cancel: Cancel
|
99
|
-
list: List
|
100
|
-
edit: Edit
|
101
|
-
new: New
|
102
|
-
show: Show
|
103
|
-
delete: Delete
|
104
|
-
confirm: Are you sure?
|
105
|
-
created_at: Created at
|
106
|
-
all: All
|
107
|
-
|
108
|
-
|
109
|
-
![Web App Theme screenshot](http://img.skitch.com/20091109-c2k618qerx1ysw5ytxsighuf3f.jpg)
|
110
|
-
|
111
98
|
Contributing
|
112
99
|
---
|
113
100
|
|
@@ -120,39 +107,17 @@ Contributing
|
|
120
107
|
Links
|
121
108
|
-----
|
122
109
|
|
123
|
-
* Repository: git
|
124
|
-
*
|
125
|
-
*
|
126
|
-
* Gem: <http://gemcutter.org/gems/app-themer>
|
127
|
-
* Themes: <http://pilu.github.com/app-themer>
|
110
|
+
* Repository: git@github.com:PoeticSystems/app-themer.git
|
111
|
+
* Issues: <http://github.com/PoeticSystems/app-themer/issues>
|
112
|
+
* Gem: <https://rubygems.org/gems/app-themer>
|
128
113
|
|
129
114
|
Author
|
130
115
|
------
|
131
116
|
|
132
|
-
|
133
|
-
|
134
|
-
Contributors
|
135
|
-
------------
|
136
|
-
|
137
|
-
* Nelson Fernandez
|
138
|
-
* Giovanni Intini
|
139
|
-
* Jeremy Durham
|
140
|
-
* Wouter de Vries
|
141
|
-
* Marco Borromeo
|
142
|
-
* rick mckay
|
143
|
-
* Peter Sarnacki
|
144
|
-
* Garret Alfert
|
145
|
-
* Mikkel Hoegh
|
146
|
-
* Juan Maria Martinez Arce
|
147
|
-
* Stas SUSHKOV
|
148
|
-
* Daniel Cukier
|
149
|
-
* Roberto Klein
|
150
|
-
* Bryan Woods
|
151
|
-
* Sandro Duarte
|
152
|
-
* David Francisco
|
117
|
+
[Matthew Hager](http://github.com/MatthewHager) - Poetic Systems
|
153
118
|
|
154
119
|
Credits
|
155
120
|
-------
|
156
|
-
|
121
|
+
* Based on [web-app-theme](http://github.com/pilu/web-app-theme) by Andrea Franz - [http://gravityblast.com](http://gravityblast.com)
|
157
122
|
* Icons: FAMFAMFAM Silk icons <http://www.famfamfam.com/lab/icons/silk/>
|
158
123
|
* Buttons: Particletree - Rediscovering the Button Element <http://particletree.com/features/rediscovering-the-button-element/>
|
data/Rakefile
CHANGED
@@ -6,7 +6,7 @@ begin
|
|
6
6
|
Jeweler::Tasks.new do |gem|
|
7
7
|
gem.name = "app-themer"
|
8
8
|
gem.summary = %Q{HTML5 web app theme generator for rails projects}
|
9
|
-
gem.description = %Q{
|
9
|
+
gem.description = %Q{App Themer is a rails generator inspired by web-app-theme that allows you to quickly generate a complete admin template for your rails app.}
|
10
10
|
gem.email = "matthew@poeticsystems.com"
|
11
11
|
gem.homepage = "http://github.com/PoeticSystems/app-themer"
|
12
12
|
gem.authors = ["Matthew Hager"]
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.1
|
data/app-themer.gemspec
CHANGED
@@ -5,12 +5,12 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{app-themer}
|
8
|
-
s.version = "0.4.
|
8
|
+
s.version = "0.4.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Matthew Hager"]
|
12
12
|
s.date = %q{2010-10-18}
|
13
|
-
s.description = %q{
|
13
|
+
s.description = %q{App Themer is a rails generator inspired by web-app-theme that allows you to quickly generate a complete admin template for your rails app.}
|
14
14
|
s.email = %q{matthew@poeticsystems.com}
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE",
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 4
|
8
|
-
-
|
9
|
-
version: 0.4.
|
8
|
+
- 1
|
9
|
+
version: 0.4.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Matthew Hager
|
@@ -30,7 +30,7 @@ dependencies:
|
|
30
30
|
version: "0"
|
31
31
|
type: :development
|
32
32
|
version_requirements: *id001
|
33
|
-
description:
|
33
|
+
description: App Themer is a rails generator inspired by web-app-theme that allows you to quickly generate a complete admin template for your rails app.
|
34
34
|
email: matthew@poeticsystems.com
|
35
35
|
executables: []
|
36
36
|
|