my_wiki_generator 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/my_wiki/grep.txt +238 -0
- data/my_wiki/my_wiki_generator.rb +248 -0
- data/my_wiki/templates/POST_GENERATION_REMINDER +1 -0
- data/my_wiki/templates/app/controllers/application.rb +75 -0
- data/my_wiki/templates/app/controllers/content_history_controller.rb +49 -0
- data/my_wiki/templates/app/controllers/login_controller.rb +93 -0
- data/my_wiki/templates/app/controllers/my_wiki_admin_controller.rb +26 -0
- data/my_wiki/templates/app/controllers/my_wiki_controller.rb +250 -0
- data/my_wiki/templates/app/controllers/page_admin_controller.rb +51 -0
- data/my_wiki/templates/app/controllers/user_admin_controller.rb +34 -0
- data/my_wiki/templates/app/helpers/application_helper.rb +3 -0
- data/my_wiki/templates/app/helpers/content_history_helper.rb +2 -0
- data/my_wiki/templates/app/helpers/login_helper.rb +2 -0
- data/my_wiki/templates/app/helpers/my_wiki_admin_helper.rb +2 -0
- data/my_wiki/templates/app/helpers/my_wiki_helper.rb +94 -0
- data/my_wiki/templates/app/helpers/page_admin_helper.rb +2 -0
- data/my_wiki/templates/app/helpers/user_admin_helper.rb +2 -0
- data/my_wiki/templates/app/models/attachment.rb +55 -0
- data/my_wiki/templates/app/models/content.rb +32 -0
- data/my_wiki/templates/app/models/content_history.rb +49 -0
- data/my_wiki/templates/app/models/content_sweeper.rb +7 -0
- data/my_wiki/templates/app/models/my_wiki_mailer.rb +29 -0
- data/my_wiki/templates/app/models/role.rb +18 -0
- data/my_wiki/templates/app/models/setting.rb +7 -0
- data/my_wiki/templates/app/models/user.rb +60 -0
- data/my_wiki/templates/app/views/content_history/_form.rhtml +19 -0
- data/my_wiki/templates/app/views/content_history/edit.rhtml +9 -0
- data/my_wiki/templates/app/views/content_history/list.rhtml +27 -0
- data/my_wiki/templates/app/views/content_history/new.rhtml +8 -0
- data/my_wiki/templates/app/views/content_history/show.rhtml +21 -0
- data/my_wiki/templates/app/views/layouts/my_wiki.rhtml +105 -0
- data/my_wiki/templates/app/views/login/edit.rhtml +25 -0
- data/my_wiki/templates/app/views/login/login.rhtml +23 -0
- data/my_wiki/templates/app/views/login/logout.rhtml +10 -0
- data/my_wiki/templates/app/views/login/signup.rhtml +23 -0
- data/my_wiki/templates/app/views/login/welcome.rhtml +13 -0
- data/my_wiki/templates/app/views/my_wiki/_form.rhtml +11 -0
- data/my_wiki/templates/app/views/my_wiki/css.rhtml +224 -0
- data/my_wiki/templates/app/views/my_wiki/diff.rhtml +4 -0
- data/my_wiki/templates/app/views/my_wiki/edit.rhtml +34 -0
- data/my_wiki/templates/app/views/my_wiki/fileinfo.rhtml +22 -0
- data/my_wiki/templates/app/views/my_wiki/list.rhtml +1 -0
- data/my_wiki/templates/app/views/my_wiki/mails.rhtml +1 -0
- data/my_wiki/templates/app/views/my_wiki/new.rhtml +6 -0
- data/my_wiki/templates/app/views/my_wiki/recent.rhtml +3 -0
- data/my_wiki/templates/app/views/my_wiki/search.rhtml +5 -0
- data/my_wiki/templates/app/views/my_wiki/search_result.rhtml +10 -0
- data/my_wiki/templates/app/views/my_wiki/show.rhtml +31 -0
- data/my_wiki/templates/app/views/my_wiki_admin/index.rhtml +5 -0
- data/my_wiki/templates/app/views/my_wiki_admin/setting.rhtml +64 -0
- data/my_wiki/templates/app/views/my_wiki_mailer/inform.rhtml +3 -0
- data/my_wiki/templates/app/views/page_admin/_form.rhtml +22 -0
- data/my_wiki/templates/app/views/page_admin/edit.rhtml +9 -0
- data/my_wiki/templates/app/views/page_admin/list.rhtml +55 -0
- data/my_wiki/templates/app/views/page_admin/new.rhtml +8 -0
- data/my_wiki/templates/app/views/page_admin/show.rhtml +8 -0
- data/my_wiki/templates/app/views/user_admin/_form.rhtml +10 -0
- data/my_wiki/templates/app/views/user_admin/change_password.rhtml +9 -0
- data/my_wiki/templates/app/views/user_admin/list.rhtml +25 -0
- data/my_wiki/templates/app/views/user_admin/signup.rhtml +20 -0
- data/my_wiki/templates/components/admin/menu/menu.rhtml +5 -0
- data/my_wiki/templates/components/admin/menu_controller.rb +3 -0
- data/my_wiki/templates/components/list/list/list.rhtml +11 -0
- data/my_wiki/templates/components/list/list_controller.rb +11 -0
- data/my_wiki/templates/components/sidebar/sidebar/show.rhtml +7 -0
- data/my_wiki/templates/components/sidebar/sidebar_controller.rb +9 -0
- data/my_wiki/templates/config/routes.rb +35 -0
- data/my_wiki/templates/db/migrate/001_my_wiki_migration.rb +75 -0
- data/my_wiki/templates/lib/diff/lcs.rb +1105 -0
- data/my_wiki/templates/lib/diff/lcs/array.rb +21 -0
- data/my_wiki/templates/lib/diff/lcs/block.rb +51 -0
- data/my_wiki/templates/lib/diff/lcs/callbacks.rb +322 -0
- data/my_wiki/templates/lib/diff/lcs/change.rb +169 -0
- data/my_wiki/templates/lib/diff/lcs/hunk.rb +257 -0
- data/my_wiki/templates/lib/diff/lcs/ldiff.rb +226 -0
- data/my_wiki/templates/lib/diff/lcs/string.rb +19 -0
- data/my_wiki/templates/lib/login_system.rb +87 -0
- data/my_wiki/templates/lib/markup/simple_markup.rb +489 -0
- data/my_wiki/templates/lib/markup/simple_markup/fragments.rb +329 -0
- data/my_wiki/templates/lib/markup/simple_markup/inline.rb +338 -0
- data/my_wiki/templates/lib/markup/simple_markup/lines.rb +151 -0
- data/my_wiki/templates/lib/markup/simple_markup/preprocess.rb +68 -0
- data/my_wiki/templates/lib/markup/simple_markup/to_flow.rb +188 -0
- data/my_wiki/templates/lib/markup/simple_markup/to_html.rb +302 -0
- data/my_wiki/templates/lib/markup/simple_markup/to_latex.rb +333 -0
- data/my_wiki/templates/lib/my_wiki_plugin.rb +60 -0
- data/my_wiki/templates/lib/my_wiki_plugins/christel.rb +5 -0
- data/my_wiki/templates/lib/my_wiki_plugins/join.rb +3 -0
- data/my_wiki/templates/lib/my_wiki_plugins/link_to_attach.rb +17 -0
- data/my_wiki/templates/lib/my_wiki_plugins/recent.rb +8 -0
- data/my_wiki/templates/public/javascripts/my_wiki.js +8 -0
- data/my_wiki/templates/public/stylesheets/my_wiki/back.jpg +0 -0
- data/my_wiki/templates/public/stylesheets/my_wiki/back1.jpg +0 -0
- data/my_wiki/templates/public/stylesheets/my_wiki/back2.jpg +0 -0
- data/my_wiki/templates/public/stylesheets/my_wiki/foot.jpg +0 -0
- data/my_wiki/templates/public/stylesheets/my_wiki/h1.gif +0 -0
- data/my_wiki/templates/public/stylesheets/my_wiki/h1.jpg +0 -0
- data/my_wiki/templates/public/stylesheets/my_wiki/menu.jpg +0 -0
- data/my_wiki/templates/public/stylesheets/my_wiki/menu2.jpg +0 -0
- data/my_wiki/templates/public/stylesheets/my_wiki/menu_c.jpg +0 -0
- data/my_wiki/templates/public/stylesheets/my_wiki/my_wiki.css +336 -0
- data/my_wiki/templates/public/stylesheets/my_wiki/title.jpg +0 -0
- metadata +181 -0
@@ -0,0 +1,19 @@
|
|
1
|
+
<%%= error_messages_for 'content_history' %>
|
2
|
+
|
3
|
+
<!--[form:content_history]-->
|
4
|
+
<p><label for="content_history_content_updated_at">Content updated at</label><br/>
|
5
|
+
<%%= datetime_select 'content_history', 'content_updated_at' %></p>
|
6
|
+
|
7
|
+
<p><label for="content_history_title">Title</label><br/>
|
8
|
+
<%%= text_field 'content_history', 'title' %></p>
|
9
|
+
|
10
|
+
<p><label for="content_history_body">Body</label><br/>
|
11
|
+
<%%= text_area 'content_history', 'body' %></p>
|
12
|
+
|
13
|
+
<p><label for="content_history_updated_by">Updated by</label><br/>
|
14
|
+
<%%= text_field 'content_history', 'updated_by' %></p>
|
15
|
+
|
16
|
+
<p><label for="content_history_version">Version</label><br/>
|
17
|
+
<%%= text_field 'content_history', 'version' %></p>
|
18
|
+
<!--[eoform:content_history]-->
|
19
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<h1>Editing content_history</h1>
|
2
|
+
|
3
|
+
<%%= start_form_tag :action => 'update', :id => @content_history %>
|
4
|
+
<%%= render :partial => 'form' %>
|
5
|
+
<%%= submit_tag 'Edit' %>
|
6
|
+
<%%= end_form_tag %>
|
7
|
+
|
8
|
+
<%%= link_to 'Show', :action => 'show', :id => @content_history %> |
|
9
|
+
<%%= link_to 'Back', :action => 'list' %>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<h1>Listing content_histories</h1>
|
2
|
+
|
3
|
+
<table>
|
4
|
+
<tr>
|
5
|
+
<%% for column in ContentHistory.content_columns %>
|
6
|
+
<th><%%= column.human_name %></th>
|
7
|
+
<%% end %>
|
8
|
+
</tr>
|
9
|
+
|
10
|
+
<%% for content_history in @content_histories %>
|
11
|
+
<tr>
|
12
|
+
<%% for column in ContentHistory.content_columns %>
|
13
|
+
<td><%%=h content_history.send(column.name) %></td>
|
14
|
+
<%% end %>
|
15
|
+
<td><%%= link_to 'Show', :action => 'show', :id => content_history %></td>
|
16
|
+
<td><%%= link_to 'Edit', :action => 'edit', :id => content_history %></td>
|
17
|
+
<td><%%= link_to 'Destroy', { :action => 'destroy', :id => content_history }, :confirm => 'Are you sure?' %></td>
|
18
|
+
</tr>
|
19
|
+
<%% end %>
|
20
|
+
</table>
|
21
|
+
|
22
|
+
<%%= link_to 'Previous page', { :page => @content_history_pages.current.previous } if @content_history_pages.current.previous %>
|
23
|
+
<%%= link_to 'Next page', { :page => @content_history_pages.current.next } if @content_history_pages.current.next %>
|
24
|
+
|
25
|
+
<br />
|
26
|
+
|
27
|
+
<%%= link_to 'New content_history', :action => 'new' %>
|
@@ -0,0 +1,21 @@
|
|
1
|
+
<%%= @mytemplate.render(@content_history.body, :view=>self) %>
|
2
|
+
<hr />
|
3
|
+
<div class="history">
|
4
|
+
<%% if @next_version.nil? -%>
|
5
|
+
<%%= link_to "Forward in time", :controller => '<%= file_name %>', :action => 'show', :id => @content_history.content_id %>
|
6
|
+
(Current version)
|
7
|
+
<%% else -%>
|
8
|
+
<%%= link_to "Current Revision", :controller => '<%= file_name %>', :action => 'show', :id => @content_history.content_id %>
|
9
|
+
<%%= link_to "Forward in time", :version => @next_version %>
|
10
|
+
<%%= "(##{@next_version})" %>
|
11
|
+
<%% end -%>
|
12
|
+
|
13
|
+
<%% unless @prev_version.nil? -%>
|
14
|
+
<%%= link_to "Back in time", :version => @prev_version %>
|
15
|
+
<%%= "(##{@prev_version})" %>
|
16
|
+
<%% end -%>
|
17
|
+
|
18
|
+
<%% if FIRST_VERSION < (@content_history.version - 1) -%>
|
19
|
+
<%%= link_to "First Revision", :version => FIRST_VERSION %>
|
20
|
+
<%% end -%>
|
21
|
+
</div>
|
@@ -0,0 +1,105 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<title><%%= session[:settings].site_title.gsub(/<.+?>/, '') %>: <%%= controller.action_name %></title>
|
4
|
+
<%%= javascript_include_tag "<%= file_name %>" %>
|
5
|
+
<%% session[:css] ||= session[:settings].css -%>
|
6
|
+
<%%= stylesheet_link_tag session[:css] %>
|
7
|
+
<%%= auto_discovery_link_tag :rss, :controller => '<%= file_name %>', :action => 'rss' %>
|
8
|
+
</head>
|
9
|
+
|
10
|
+
<body>
|
11
|
+
|
12
|
+
<div class="user">
|
13
|
+
<%% if @session[:user].nil? -%>
|
14
|
+
anonymous coward
|
15
|
+
<%% else -%>
|
16
|
+
<%%= @session[:user][:login] %>/<%%= @session[:user].role.name.downcase %>
|
17
|
+
<%% end -%>
|
18
|
+
</div>
|
19
|
+
|
20
|
+
<%% if session[:settings].use_sidebar -%>
|
21
|
+
<div class="sidebar">
|
22
|
+
<div class="title"><%%=sanitize session[:settings].site_title %></div>
|
23
|
+
|
24
|
+
<div class="barbody">
|
25
|
+
<%% if %w{<%= file_name %>_admin user_admin page_admin}.include? params[:controller] -%>
|
26
|
+
<%%= render_component :controller => "admin/menu", :action => 'menu' %>
|
27
|
+
<%% else -%>
|
28
|
+
<%%= render_component :controller => "sidebar/sidebar", :action => "show" %>
|
29
|
+
<%% end -%>
|
30
|
+
</div>
|
31
|
+
</div>
|
32
|
+
<div class="main_with_sidebar">
|
33
|
+
<%% else -%>
|
34
|
+
<div class="main_without_sidebar">
|
35
|
+
<%% end -%>
|
36
|
+
|
37
|
+
<div class="body">
|
38
|
+
<div class="header">
|
39
|
+
<div class="menu">
|
40
|
+
<%%= link_to '新規作成', {:controller => '<%= file_name %>', :action => 'new'} %>
|
41
|
+
|
|
42
|
+
<%% if controller.action_name == 'show' -%>
|
43
|
+
<%% if controller.is_a? ContentHistoryController -%>
|
44
|
+
<%%= link_to 'ロールバック',
|
45
|
+
{:controller => 'content_history',
|
46
|
+
:action => 'rollback',
|
47
|
+
:content_id => @content_history.content_id,
|
48
|
+
:version => @content_history.version}, :confirm => 'Are you sure?' %>
|
49
|
+
|
|
50
|
+
<%%= link_to '差分',
|
51
|
+
{:controller => 'content_history',
|
52
|
+
:action => 'diff',
|
53
|
+
:content_id => @content_history.content_id,
|
54
|
+
:version => @content_history.version} %>
|
55
|
+
|
|
56
|
+
<%% else -%>
|
57
|
+
<%%= link_to '編集', {:controller => '<%= file_name %>', :action => 'edit', :id => @content} %>
|
58
|
+
|
|
59
|
+
<%% unless @max.nil? -%>
|
60
|
+
<%%= link_to '差分', {:controller => '<%= file_name %>', :action => 'diff', :id => @content} %>
|
61
|
+
|
|
62
|
+
<%% end -%>
|
63
|
+
<%% end -%>
|
64
|
+
<%% end -%>
|
65
|
+
<%%= link_to 'FrontPage', {:controller => '<%= file_name %>', :action => 'show', :title => 'FrontPage'} %>
|
66
|
+
|
|
67
|
+
<%%= link_to 'ページ一覧', {:controller => '<%= file_name %>', :action => 'list'} %>
|
68
|
+
|
|
69
|
+
<%%= link_to '検索', {:controller => '<%= file_name %>', :action => 'search'} %>
|
70
|
+
|
|
71
|
+
<%%= link_to '更新履歴', {:controller => '<%= file_name %>', :action => 'recent'} %>
|
72
|
+
|
|
73
|
+
<%%= link_to 'RSS', {:controller => '<%= file_name %>', :action => 'rss'} %>
|
74
|
+
|
|
75
|
+
<%% if !@session[:user].nil? and @session[:user].role.admin? -%>
|
76
|
+
<%%= link_to '管理', {:controller => '<%= file_name %>_admin', :action => 'index'} %>
|
77
|
+
|
|
78
|
+
<%% end -%>
|
79
|
+
<%% if @session[:user].nil? -%>
|
80
|
+
<%%= link_to 'ログイン', {:controller => 'login', :action => 'login'} %>
|
81
|
+
<%% else -%>
|
82
|
+
<%%= link_to 'ログアウト', {:controller => 'login', :action => 'logout'} %>
|
83
|
+
<%% end -%>
|
84
|
+
</div>
|
85
|
+
|
86
|
+
<h1><%%=h @title %></h1>
|
87
|
+
<%% if !@content.nil? and @content.freezed -%>
|
88
|
+
<div class="freezed"><span class="freezed">凍結中</span></div>
|
89
|
+
<%% end -%>
|
90
|
+
</div>
|
91
|
+
|
92
|
+
<div class="content">
|
93
|
+
<%% if flash.has_key? :notice -%>
|
94
|
+
<p style="color: green"><%%= flash[:notice] %></p>
|
95
|
+
<%% end -%>
|
96
|
+
|
97
|
+
<%%= @content_for_layout %>
|
98
|
+
|
99
|
+
<div class="footer"><%%=sanitize session[:settings].footer %></div>
|
100
|
+
</div>
|
101
|
+
</div>
|
102
|
+
</div>
|
103
|
+
|
104
|
+
</body>
|
105
|
+
</html>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<%%= start_form_tag :action=> "edit" %>
|
2
|
+
|
3
|
+
<div title="Account edit" id="editform" class="form">
|
4
|
+
<h3>Edit</h3>
|
5
|
+
<%%= error_messages_for 'user' %><br/>
|
6
|
+
|
7
|
+
<%%= hidden_field "user", "login", :value => @user.login %>
|
8
|
+
<label for="user_login">Desired login:</label><br/>
|
9
|
+
<%%=h @user.login %><br/>
|
10
|
+
<label for="old_password">Old password:</label><br/>
|
11
|
+
<%%= password_field_tag "old_password", "", :size => 30 %><br/>
|
12
|
+
<label for="user_password">New password:</label><br/>
|
13
|
+
<%%= password_field "user", "password", :value => "", :size => 30 %><br/>
|
14
|
+
<label for="user_password_confirmation">Confirm password:</label><br/>
|
15
|
+
<%%= password_field "user", "password_confirmation", :size => 30 %><br/>
|
16
|
+
<%% if !session[:user].nil? and session[:user].role.admin? %>
|
17
|
+
<label for="user_role">Role:</label><br/>
|
18
|
+
<%%= collection_select :user, :role_id, @roles, :id, :name, :selected_value => @user.role.id %><br />
|
19
|
+
<%% end %>
|
20
|
+
|
21
|
+
<input type="submit" value="Edit »" class="primary" />
|
22
|
+
</div>
|
23
|
+
|
24
|
+
<%%= end_form_tag %>
|
25
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<%%= start_form_tag :action=> "login" %>
|
2
|
+
|
3
|
+
<div title="Account login" id="loginform" class="form">
|
4
|
+
<h3>ログインしてください</h3>
|
5
|
+
|
6
|
+
<%% if @flash['notice'] %>
|
7
|
+
<div id="message"><%%= @flash['notice'] %></div>
|
8
|
+
<%% end %>
|
9
|
+
|
10
|
+
<label for="user_login">ユーザー名:</label><br/>
|
11
|
+
<input type="text" name="user_login" id="user_login" size="30" value=""/><br/>
|
12
|
+
|
13
|
+
<label for="user_password">パスワード:</label><br/>
|
14
|
+
<input type="password" name="user_password" id="user_password" size="30"/>
|
15
|
+
|
16
|
+
<br/>
|
17
|
+
<input type="submit" name="login" value="Login »" class="primary" />
|
18
|
+
|
19
|
+
</div>
|
20
|
+
|
21
|
+
<%%= end_form_tag %>
|
22
|
+
|
23
|
+
<%%= link_to 'Register', :controller => 'login', :action => 'signup' %>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<%%= start_form_tag :action=> "signup" %>
|
2
|
+
|
3
|
+
<div title="Account signup" id="signupform" class="form">
|
4
|
+
<h3>Signup</h3>
|
5
|
+
<%%= error_messages_for 'user' %><br/>
|
6
|
+
|
7
|
+
<label for="user_login">Desired login:</label><br/>
|
8
|
+
<%%= text_field "user", "login", :size => 30 %><br/>
|
9
|
+
<label for="user_password">Choose password:</label><br/>
|
10
|
+
<%%= password_field "user", "password", :size => 30 %><br/>
|
11
|
+
<label for="user_password_confirmation">Confirm password:</label><br/>
|
12
|
+
<%%= password_field "user", "password_confirmation", :size => 30 %><br/>
|
13
|
+
<%% if !session[:user].nil? and session[:user].role.admin? -%>
|
14
|
+
<label for="user_role">Role:</label><br/>
|
15
|
+
<%%= collection_select :user, :role_id, @roles, :id, :name %><br />
|
16
|
+
<%% else -%>
|
17
|
+
<%%= hidden_field "user", "role_id", :value=>1 %>
|
18
|
+
<%% end -%>
|
19
|
+
|
20
|
+
<input type="submit" value="Signup »" class="primary" />
|
21
|
+
|
22
|
+
<%%= end_form_tag %>
|
23
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
|
2
|
+
<div class="memo">
|
3
|
+
<h3>Welcome</h3>
|
4
|
+
|
5
|
+
<p>You are now logged into the system...</p>
|
6
|
+
<p>
|
7
|
+
Since you are here it's safe to assume the application never called store_location, otherwise
|
8
|
+
you would have been redirected somewhere else after a successful login.
|
9
|
+
</p>
|
10
|
+
|
11
|
+
<%%= link_to "« logout", :action=>"logout"%>
|
12
|
+
|
13
|
+
</div>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<%%= error_messages_for 'content' %>
|
2
|
+
|
3
|
+
<!--[form:content]-->
|
4
|
+
<p><label for="content_title">タイトル</label><br/>
|
5
|
+
<%%= text_field 'content', 'title' %></p>
|
6
|
+
|
7
|
+
<p><label for="content_body">本文</label><br/>
|
8
|
+
<%%= text_area 'content', 'body', :cols => '60' %></p>
|
9
|
+
|
10
|
+
<%%= hidden_field 'content', 'version' %>
|
11
|
+
<!--[eoform:content]-->
|
@@ -0,0 +1,224 @@
|
|
1
|
+
<%%
|
2
|
+
urls = %w{
|
3
|
+
3minutes/3minutes.css
|
4
|
+
3pink/3pink.css
|
5
|
+
alfa/alfa.css
|
6
|
+
another_blue/another_blue.css
|
7
|
+
aoikuruma/aoikuruma.css
|
8
|
+
arrow/arrow.css
|
9
|
+
at/at.css
|
10
|
+
autumn/autumn.css
|
11
|
+
babypink/babypink.css
|
12
|
+
be_r5/be_r5.css
|
13
|
+
bill/bill.css
|
14
|
+
bistro_menu/bistro_menu.css
|
15
|
+
black-lingerie/black-lingerie.css
|
16
|
+
black_mamba/black_mamba.css
|
17
|
+
blackbox/blackbox.css
|
18
|
+
blue-border/blue-border.css
|
19
|
+
blue-feather/blue-feather.css
|
20
|
+
bluegrad/bluegrad.css
|
21
|
+
bluely/bluely.css
|
22
|
+
book/book.css
|
23
|
+
book2-feminine/book2-feminine.css
|
24
|
+
book3-sky/book3-sky.css
|
25
|
+
bright-green/bright-green.css
|
26
|
+
brown/brown.css
|
27
|
+
bubble/bubble.css
|
28
|
+
candy/candy.css
|
29
|
+
cards/cards.css
|
30
|
+
cat/cat.css
|
31
|
+
check/check.css
|
32
|
+
cherry/cherry.css
|
33
|
+
cherry_blossom/cherry_blossom.css
|
34
|
+
christmas/christmas.css
|
35
|
+
citrus/citrus.css
|
36
|
+
clover/clover.css
|
37
|
+
cool_ice/cool_ice.css
|
38
|
+
cosmos/cosmos.css
|
39
|
+
cross/cross.css
|
40
|
+
curtain/curtain.css
|
41
|
+
darkness-pop/darkness-pop.css
|
42
|
+
darkwhite/darkwhite.css
|
43
|
+
date/date.css
|
44
|
+
deepblue/deepblue.css
|
45
|
+
desert/desert.css
|
46
|
+
diamond_dust/diamond_dust.css
|
47
|
+
dice/dice.css
|
48
|
+
digital_gadgets/digital_gadgets.css
|
49
|
+
dog/dog.css
|
50
|
+
dot/dot.css
|
51
|
+
double/double.css
|
52
|
+
earth-brown/earth-brown.css
|
53
|
+
easy/easy.css
|
54
|
+
emboss/emboss.css
|
55
|
+
fine/fine.css
|
56
|
+
flower/flower.css
|
57
|
+
fluxbox/fluxbox.css
|
58
|
+
fluxbox2/fluxbox2.css
|
59
|
+
fluxbox3/fluxbox3.css
|
60
|
+
fri/fri.css
|
61
|
+
futaba/futaba.css
|
62
|
+
garden/garden.css
|
63
|
+
gardenia/gardenia.css
|
64
|
+
gear/gear.css
|
65
|
+
germany/germany.css
|
66
|
+
gingham-blue/gingham-blue.css
|
67
|
+
gingham-gray/gingham-gray.css
|
68
|
+
gingham-green/gingham-green.css
|
69
|
+
gingham-purple/gingham-purple.css
|
70
|
+
gingham-yellow/gingham-yellow.css
|
71
|
+
giza/giza.css
|
72
|
+
glass/glass.css
|
73
|
+
gold/gold.css
|
74
|
+
gray/gray.css
|
75
|
+
gray-note/gray-note.css
|
76
|
+
gray2/gray2.css
|
77
|
+
green-border/green-border.css
|
78
|
+
green_leaves/green_leaves.css
|
79
|
+
greentea3/greentea3.css
|
80
|
+
happa/happa.css
|
81
|
+
haru/haru.css
|
82
|
+
hatena/hatena.css
|
83
|
+
hellali/hellali.css
|
84
|
+
himawari/himawari.css
|
85
|
+
husen/husen.css
|
86
|
+
hydrangea/hydrangea.css
|
87
|
+
iris/iris.css
|
88
|
+
kaeru/kaeru.css
|
89
|
+
kaizou/kaizou.css
|
90
|
+
kaki/kaki.css
|
91
|
+
kanban/kanban.css
|
92
|
+
kanshin/kanshin.css
|
93
|
+
kotatsu/kotatsu.css
|
94
|
+
light-blue/light-blue.css
|
95
|
+
lightning/lightning.css
|
96
|
+
lime/lime.css
|
97
|
+
line/line.css
|
98
|
+
loose-leaf/loose-leaf.css
|
99
|
+
lovely/lovely.css
|
100
|
+
lovely_pink/lovely_pink.css
|
101
|
+
lr/lr.css
|
102
|
+
ls.txt/ls.txt.css
|
103
|
+
madrascheck/madrascheck.css
|
104
|
+
magic/magic.css
|
105
|
+
marguerite/marguerite.css
|
106
|
+
maroon/maroon.css
|
107
|
+
matcha/matcha.css
|
108
|
+
metal/metal.css
|
109
|
+
midnight/midnight.css
|
110
|
+
mintblue/mintblue.css
|
111
|
+
mizu/mizu.css
|
112
|
+
momonga/momonga.css
|
113
|
+
mono/mono.css
|
114
|
+
monotone/monotone.css
|
115
|
+
moo/moo.css
|
116
|
+
nachtmusik/nachtmusik.css
|
117
|
+
nahanaha/nahanaha.css
|
118
|
+
nande-ya-nen/nande-ya-nen.css
|
119
|
+
narrow/narrow.css
|
120
|
+
natrium/natrium.css
|
121
|
+
natural_gray/natural_gray.css
|
122
|
+
nebula/nebula.css
|
123
|
+
necktie/necktie.css
|
124
|
+
nenga/nenga.css
|
125
|
+
nippon/nippon.css
|
126
|
+
noel/noel.css
|
127
|
+
note/note.css
|
128
|
+
ocha/ocha.css
|
129
|
+
old-pavement/old-pavement.css
|
130
|
+
orange/orange.css
|
131
|
+
orange-blue/orange-blue.css
|
132
|
+
orange-border/orange-border.css
|
133
|
+
orange_flower/orange_flower.css
|
134
|
+
orangegrad/orangegrad.css
|
135
|
+
pain/pain.css
|
136
|
+
pale/pale.css
|
137
|
+
paper/paper.css
|
138
|
+
parabola/parabola.css
|
139
|
+
pastelpink/pastelpink.css
|
140
|
+
petith/petith.css
|
141
|
+
petith-b/petith-b.css
|
142
|
+
pettan/pettan.css
|
143
|
+
pink-border/pink-border.css
|
144
|
+
pinkgrad/pinkgrad.css
|
145
|
+
piyo-family/piyo-family.css
|
146
|
+
plum/plum.css
|
147
|
+
pool_side/pool_side.css
|
148
|
+
pudding/pudding.css
|
149
|
+
puppy/puppy.css
|
150
|
+
purple_sun/purple_sun.css
|
151
|
+
quiet_black/quiet_black.css
|
152
|
+
rain/rain.css
|
153
|
+
rainy-season/rainy-season.css
|
154
|
+
rectangle/rectangle.css
|
155
|
+
redgrid/redgrid.css
|
156
|
+
repro/repro.css
|
157
|
+
right/right.css
|
158
|
+
russet/russet.css
|
159
|
+
s-blue/s-blue.css
|
160
|
+
s-pink/s-pink.css
|
161
|
+
sagegreen/sagegreen.css
|
162
|
+
sakana/sakana.css
|
163
|
+
sakura/sakura.css
|
164
|
+
savanna/savanna.css
|
165
|
+
scarlet/scarlet.css
|
166
|
+
seam-line/seam-line.css
|
167
|
+
sepia/sepia.css
|
168
|
+
sidelight/sidelight.css
|
169
|
+
silver/silver.css
|
170
|
+
silver2/silver2.css
|
171
|
+
simple/simple.css
|
172
|
+
simpleblack/simpleblack.css
|
173
|
+
sky/sky.css
|
174
|
+
sleepy_kitten/sleepy_kitten.css
|
175
|
+
smoking_black/smoking_black.css
|
176
|
+
smoking_white/smoking_white.css
|
177
|
+
snake/snake.css
|
178
|
+
snow_man/snow_man.css
|
179
|
+
snowy/snowy.css
|
180
|
+
sodapop/sodapop.css
|
181
|
+
spring/spring.css
|
182
|
+
starlight/starlight.css
|
183
|
+
stripe/stripe.css
|
184
|
+
subdued/subdued.css
|
185
|
+
summer_wave/summer_wave.css
|
186
|
+
sunset/sunset.css
|
187
|
+
tag/tag.css
|
188
|
+
tdiarynet/tdiarynet.css
|
189
|
+
teacup/teacup.css
|
190
|
+
themebench.rhtml/themebench.rhtml.css
|
191
|
+
thin/thin.css
|
192
|
+
tile/tile.css
|
193
|
+
tinybox/tinybox.css
|
194
|
+
tinybox_green/tinybox_green.css
|
195
|
+
treetop/treetop.css
|
196
|
+
triple_gray/triple_gray.css
|
197
|
+
tuki/tuki.css
|
198
|
+
w2k_button/w2k_button.css
|
199
|
+
white/white.css
|
200
|
+
white-lingerie/white-lingerie.css
|
201
|
+
white_flower/white_flower.css
|
202
|
+
whiteout/whiteout.css
|
203
|
+
will/will.css
|
204
|
+
windowz/windowz.css
|
205
|
+
wine/wine.css
|
206
|
+
winter/winter.css
|
207
|
+
wood/wood.css
|
208
|
+
xmastree/xmastree.css
|
209
|
+
xxx/xxx.css
|
210
|
+
yukon/yukon.css
|
211
|
+
}
|
212
|
+
%>
|
213
|
+
|
214
|
+
<%%= start_form_tag :action => 'change_css' %>
|
215
|
+
<select name="css" editable="true">
|
216
|
+
<%%= options_for_select urls %>
|
217
|
+
</select>
|
218
|
+
<%%= submit_tag 'Set' %>
|
219
|
+
<%%= end_form_tag %>
|
220
|
+
|
221
|
+
<%%= start_form_tag :action => 'change_css' %>
|
222
|
+
<input type="text" name="css" size="50" />
|
223
|
+
<%%= submit_tag 'Set' %>
|
224
|
+
<%%= end_form_tag %>
|