cortex-reaver 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cortex_reaver/controller/tag.rb +11 -0
- data/lib/cortex_reaver/helper/auth.rb +1 -1
- data/lib/cortex_reaver/helper/navigation.rb +37 -0
- data/lib/cortex_reaver/helper/tags.rb +12 -6
- data/lib/cortex_reaver/model/user.rb +21 -1
- data/lib/cortex_reaver/public/css/form.css +105 -0
- data/lib/cortex_reaver/public/css/text.css +1 -1
- data/lib/cortex_reaver/public/images/indicator.gif +0 -0
- data/lib/cortex_reaver/public/js/jquery.autocomplete.js +849 -0
- data/lib/cortex_reaver/public/js/{autocompletefb.js → jquery.autocompletefb.js} +125 -125
- data/lib/cortex_reaver/public/js/jquery.bgiframe.min.js +10 -0
- data/lib/cortex_reaver/public/js/jquery.dimensions.js +116 -0
- data/lib/cortex_reaver/public/js/jquery.js +15 -28
- data/lib/cortex_reaver/version.rb +1 -1
- data/lib/cortex_reaver/view/comments/comment.rhtml +1 -3
- data/lib/cortex_reaver/view/journals/form.rhtml +1 -0
- data/lib/cortex_reaver/view/journals/journal.rhtml +1 -3
- data/lib/cortex_reaver/view/projects/show.rhtml +1 -3
- data/lib/cortex_reaver/view/text_layout.rhtml +4 -1
- metadata +7 -3
@@ -6,6 +6,7 @@
|
|
6
6
|
<%= form_p :title, :model => @journal %>
|
7
7
|
<%= live_name_field @journal %>
|
8
8
|
<%= live_tags_field @journal %>
|
9
|
+
|
9
10
|
<%= form_p :body, :model => @journal, :type => 'textarea', :description => 'Body (<a href="/documentation/formatting" />Formatting Help</a>)' %>
|
10
11
|
<%= attachment_form @journal %>
|
11
12
|
<input type="submit" name="submit" />
|
@@ -1,9 +1,7 @@
|
|
1
1
|
<div class="journal text-entry <%= @journal.tags.map {|t| 'tagged_' + t.name}.join(' ')%>">
|
2
2
|
<h2><a id="journal_<%= @journal.name %>" href="<%= @journal.url %>"><%=h @journal.title %></a></h2>
|
3
3
|
<div class="byline">
|
4
|
-
|
5
|
-
<%= user_link @journal.creator %> on <%= date_line @journal %>
|
6
|
-
</span>
|
4
|
+
<%= author_info @journal %>
|
7
5
|
<%= tags_on @journal %>
|
8
6
|
</div>
|
9
7
|
<div class="body">
|
@@ -1,9 +1,7 @@
|
|
1
1
|
<div class="project text-entry">
|
2
2
|
<h2><a id="project_<%= @project.name %>" href="<%= @project.url %>"><%=h @project.title %></a></h2>
|
3
3
|
<div class="byline">
|
4
|
-
|
5
|
-
<%= user_link @project.creator %> on <%= date_line @project %>
|
6
|
-
</span>
|
4
|
+
<%= author_info @project %>
|
7
5
|
<%= tags_on @project %>
|
8
6
|
</div>
|
9
7
|
<div class="body">
|
@@ -31,7 +31,10 @@
|
|
31
31
|
<script type="text/javascript" defer="defer" src="/js/cookie.js"></script>
|
32
32
|
<script type="text/javascript" defer="defer" src="/js/admin.js"></script>
|
33
33
|
<% if user.admin? or user.contributor? or user.editor? or user.moderator? %>
|
34
|
-
<script type="text/javascript" defer="defer" src="/js/
|
34
|
+
<script type="text/javascript" defer="defer" src="/js/jquery.autocomplete.js"></script>
|
35
|
+
<script type="text/javascript" defer="defer" src="/js/jquery.bgiframe.min.js"></script>
|
36
|
+
<script type="text/javascript" defer="defer" src="/js/jquery.dimensions.js"></script>
|
37
|
+
<script type="text/javascript" defer="defer" src="/js/jquery.autocompletefb.js"></script>
|
35
38
|
<% end %>
|
36
39
|
|
37
40
|
<div id="top">
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cortex-reaver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- aphyr
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-03-
|
12
|
+
date: 2009-03-24 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -228,6 +228,7 @@ files:
|
|
228
228
|
- lib/cortex_reaver/public/images/border_top.png
|
229
229
|
- lib/cortex_reaver/public/images/parent.gif
|
230
230
|
- lib/cortex_reaver/public/images/border_top_left.png
|
231
|
+
- lib/cortex_reaver/public/images/indicator.gif
|
231
232
|
- lib/cortex_reaver/public/images/border_bottom_right.png
|
232
233
|
- lib/cortex_reaver/public/images/dark_trans.png
|
233
234
|
- lib/cortex_reaver/public/images/border_bottom_left.png
|
@@ -241,9 +242,12 @@ files:
|
|
241
242
|
- lib/cortex_reaver/public/images/rss-xml-icon.png
|
242
243
|
- lib/cortex_reaver/public/js
|
243
244
|
- lib/cortex_reaver/public/js/jquery.js
|
244
|
-
- lib/cortex_reaver/public/js/
|
245
|
+
- lib/cortex_reaver/public/js/jquery.bgiframe.min.js
|
245
246
|
- lib/cortex_reaver/public/js/admin.js
|
246
247
|
- lib/cortex_reaver/public/js/photo.js
|
248
|
+
- lib/cortex_reaver/public/js/jquery.autocomplete.js
|
249
|
+
- lib/cortex_reaver/public/js/jquery.autocompletefb.js
|
250
|
+
- lib/cortex_reaver/public/js/jquery.dimensions.js
|
247
251
|
- lib/cortex_reaver/public/js/cookie.js
|
248
252
|
- lib/cortex_reaver/public/css
|
249
253
|
- lib/cortex_reaver/public/css/text.css
|