junebug 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
data/README CHANGED
@@ -5,7 +5,7 @@ Junebug is a minimalist wiki, running on Camping.
5
5
 
6
6
  == Status
7
7
 
8
- Junebug v0.0.7 release, 2006-11-07
8
+ Junebug v0.0.8 release, 2006-11-08
9
9
 
10
10
  This is an alpha release. Use at your own risk. Please do not use this for anything important.
11
11
 
data/deploy/Rakefile ADDED
@@ -0,0 +1,19 @@
1
+ $:.unshift "../lib"
2
+
3
+ require 'rubygems'
4
+ require 'rake'
5
+
6
+ require 'junebug/config'
7
+
8
+ desc "Update stylesheets"
9
+ task :update_stylesheets do
10
+ junebug_root = Junebug::Config.rootdir
11
+ puts junebug_root
12
+ cp File.join(junebug_root, 'deploy', 'static', 'style', 'base.css'), File.join('static', 'style')
13
+ end
14
+
15
+
16
+
17
+
18
+
19
+
@@ -46,8 +46,8 @@ body {
46
46
  }
47
47
 
48
48
  #hd {
49
- border-top: 6px solid #4e0dc4;
50
- background-color: #3f276a;
49
+ border-top: 6px solid #4682b4;
50
+ background-color: #191970;
51
51
  padding: 8px 25px;
52
52
  color: #ffffff;
53
53
  }
@@ -134,12 +134,16 @@ body {
134
134
 
135
135
  /* WIKI CONTENT STYLES */
136
136
  .content {
137
- font-size: 100%;
137
+ font-size: 107%;
138
138
  }
139
139
 
140
+ .content a:link, .content a:visited, .content a:hover {
141
+ color: #00f;
142
+ }
140
143
 
141
144
  .content h2, .content h3, .content h4 {
142
- color: 04766f;
145
+ /* color: #04766f;*/
146
+ color: #548b54;
143
147
  }
144
148
 
145
149
  .content h1 {
@@ -148,29 +152,29 @@ body {
148
152
  }
149
153
 
150
154
  .content h2 {
151
- font-size: 152%;
152
- border-bottom: 1px dotted #bbb;
153
- margin-top: 25px;
155
+ font-size: 129%;
156
+ border-bottom: 2px dotted #bbb;
157
+ margin-top: 20px;
154
158
  margin-bottom: 10px;
155
159
  /* background-color: #d6fbf4;*/
156
160
  }
157
161
 
158
162
  .content h3 {
159
163
  font-size: 129%;
160
- margin-top: 25px;
164
+ margin-top: 20px;
161
165
  margin-bottom: 10px;
162
166
  /* border-bottom: 1px dotted #bbb;*/
163
167
  }
164
168
 
165
169
  .content h4 {
166
170
  font-size: 107%;
167
- margin-top: 10px;
171
+ margin-top: 15px;
168
172
  margin-bottom: 10px;
169
173
  }
170
174
 
171
175
  .content ul {
172
176
  list-style-type: square;
173
- margin: 10px 0px 10px 28px;
177
+ margin: 10px 0px 10px 15px;
174
178
  }
175
179
 
176
180
  .content li {
@@ -183,7 +187,7 @@ body {
183
187
  }
184
188
 
185
189
  .content p {
186
- line-height: 140%;
190
+ line-height: 130%;
187
191
  margin: 10px 0px;
188
192
  }
189
193
 
@@ -193,6 +197,8 @@ body {
193
197
 
194
198
  .content strong {
195
199
  font-weight: bold;
200
+ background-color: #ffffcc;
201
+ padding: 3px;
196
202
  }
197
203
 
198
204
  .content label {
@@ -3,6 +3,10 @@ module Junebug
3
3
  module Config
4
4
  extend self
5
5
 
6
+ def rootdir
7
+ return File.dirname(__FILE__) + "/../../"
8
+ end
9
+
6
10
  def script
7
11
  return File.dirname(__FILE__) + "/../junebug.rb"
8
12
  end
data/lib/junebug/views.rb CHANGED
@@ -9,6 +9,8 @@ module Junebug::Views
9
9
  link :href=>'/static/style/yui/fonts.css', :type=>'text/css', :rel=>'stylesheet'
10
10
  link :href=>'/static/style/yui/grids.css', :type=>'text/css', :rel=>'stylesheet'
11
11
  link :href=>'/static/style/base.css', :type=>'text/css', :rel=>'stylesheet'
12
+ link :href=>Junebug.config['feed'], :rel => "alternate", :title => "Recently Updated Pages", :type => "application/atom+xml"
13
+
12
14
  }
13
15
  body {
14
16
  div :id=>'doc', :class=>'yui-t7' do
@@ -217,7 +219,7 @@ module Junebug::Views
217
219
  def _header type, page_title
218
220
  div :id=>'hd' do
219
221
  span :id=>'userlinks', :style=>'float: right;' do
220
- @state.user_id.blank? ? a('sign in', :href=>R(Login)) : (text "#{@state.user_username} - " ; a('sign out', :href=>R(Logout)))
222
+ @state.user_id.blank? ? a('sign in', :href=>R(Login)) : (text "Welcome, #{@state.user_username} - " ; a('sign out', :href=>R(Logout)))
221
223
  end
222
224
  if type == :static
223
225
  h1 page_title
data/lib/junebug.rb CHANGED
@@ -40,7 +40,6 @@ end
40
40
 
41
41
 
42
42
  if __FILE__ == $0 || ENV['DAEMONS_ARGV']
43
- puts "In Postamble"
44
43
  # When using daemons, the current dir is /
45
44
  # So we need to set it to the junebug root
46
45
  FileUtils.cd ENV['JUNEBUG_ROOT'] if ENV['JUNEBUG_ROOT']
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: junebug
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.0.7
6
+ version: 0.0.8
7
7
  date: 2006-11-08 00:00:00 -08:00
8
8
  summary: Junebug is a minimalist ruby wiki.
9
9
  require_paths:
@@ -43,6 +43,7 @@ files:
43
43
  - lib/junebug/views.rb
44
44
  - deploy/config.yml
45
45
  - deploy/console
46
+ - deploy/Rakefile
46
47
  - deploy/static
47
48
  - deploy/wiki
48
49
  - deploy/static/images