radiant-forum-extension 0.6.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -3
- data/VERSION +1 -1
- data/app/controllers/forums_controller.rb +13 -5
- data/app/controllers/posts_controller.rb +9 -3
- data/app/controllers/topics_controller.rb +10 -3
- data/app/helpers/forum_helper.rb +105 -0
- data/app/models/post_attachment.rb +20 -12
- data/app/models/topic.rb +1 -1
- data/app/views/admin/forums/index.html.haml +63 -65
- data/app/views/admin/reader_configuration/_edit_forum.html.haml +6 -0
- data/app/views/admin/reader_configuration/_forum.html.haml +6 -0
- data/app/views/forums/_forum.html.haml +1 -2
- data/app/views/forums/index.html.haml +27 -25
- data/app/views/forums/show.html.haml +31 -19
- data/app/views/posts/_attachment.html.haml +5 -2
- data/app/views/posts/_form.html.haml +3 -5
- data/app/views/posts/_post.html.haml +32 -29
- data/app/views/posts/_uploader.html.haml +2 -3
- data/app/views/posts/index.html.haml +27 -11
- data/app/views/topics/_form.html.haml +3 -3
- data/app/views/topics/_topic.html.haml +10 -11
- data/app/views/topics/index.html.haml +28 -22
- data/app/views/topics/new.html.haml +32 -27
- data/app/views/topics/show.html.haml +25 -10
- data/config/locales/en.yml +58 -0
- data/config/routes.rb +5 -5
- data/forum_extension.rb +18 -11
- data/lib/forum_readers_controller.rb +1 -0
- data/lib/tasks/radiant_forum_extension_tasks.rake +54 -31
- data/public/images/{forum → furniture}/attachment.png +0 -0
- data/public/images/{forum → furniture}/attachment_link.png +0 -0
- data/public/images/{forum → furniture}/attachment_over.png +0 -0
- data/public/images/{forum → furniture}/chk_off.png +0 -0
- data/public/images/{forum → furniture}/chk_on.png +0 -0
- data/public/images/{forum → furniture}/feed_14.png +0 -0
- data/public/images/{forum → furniture}/feed_28.png +0 -0
- data/public/images/furniture/post.png +0 -0
- data/public/images/furniture/post_over.png +0 -0
- data/public/images/{forum → furniture}/rdo_off.png +0 -0
- data/public/images/{forum → furniture}/rdo_on.png +0 -0
- data/public/images/{forum → furniture}/wait_16_grey.gif +0 -0
- data/public/javascripts/forum.js +198 -0
- data/public/stylesheets/sass/forum.sass +247 -0
- data/radiant-forum-extension.gemspec +21 -28
- metadata +26 -53
- data/lib/forum_helper.rb +0 -109
- data/public/images/forum/post_14.png +0 -0
- data/public/images/forum/post_14_over.png +0 -0
- data/public/javascripts/platform/forum.js +0 -175
- data/public/javascripts/platform/remotecontent.js +0 -89
- data/public/stylesheets/admin/forum.css +0 -87
- data/public/stylesheets/platform/forum.css +0 -70
@@ -1,70 +0,0 @@
|
|
1
|
-
div#forum h1,div#forum h2{margin-bottom:24px;line-height:1.2;}
|
2
|
-
div#forum a.floating{float:right;margin:0 0 10px 20px;}
|
3
|
-
div#forum a.feedlink{background:url(/images/forum/feed_14.png) no-repeat 0 4px;padding-left:18px;color:#f58822;}
|
4
|
-
div#forum div#forum_preamble{color:#4d4e53;margin-bottom:24px;margin-top:10px;}
|
5
|
-
div#forum div#forum_preamble p{margin-top:0;}
|
6
|
-
div#forum div.reply{margin-left:0;}
|
7
|
-
div#forum div.first_post{margin-left:0;}
|
8
|
-
div#forum div.post_header a.replied{color:#cacac8;}
|
9
|
-
div#forum a.newmessage{font-family: 'HelveticaNeue-Light', helvetica, arial, sans-serif;font-size: 1.6em;background:transparent url(/images/forum/post_14.png) no-repeat 0 4px;padding-left:18px;margin-left: 20px;}
|
10
|
-
div#forum a.newmessage:hover{background-image:url(/images/forum/post_14_over.png);}
|
11
|
-
ul.main{list-style:none;margin:20px 0 50px 0;padding:0;}
|
12
|
-
ul.main li{clear:left;margin:30px 0;}
|
13
|
-
ul.main li .subject a,ul.main li .subject a:visited{font-family:helvetica,arial,sans-serif;font-size:160%;font-weight:bold;line-height:1;}
|
14
|
-
ul.main li div.preview{font-size:85%;color:#4d4e53;}
|
15
|
-
ul.main li div.preview p{margin-top:5px;}
|
16
|
-
ul.main li.sticky .subject a,ul.main li.sticky .subject a:visited{color:#d1005d;}
|
17
|
-
ul.main li.locked .subject a,ul.main li.locked .subject a:visited{color:#4d4e53;}
|
18
|
-
.context,.updatenote{display:block;font-family:helvetica,arial,sans-serif;font-size:0.8em;line-height:1.4;color:#cacac8;margin:0;}
|
19
|
-
div#forum div.post{position:relative;clear:left;margin:10px 0 50px 0;}
|
20
|
-
div#forum div.first_post{margin-top:30px;clear:both;}
|
21
|
-
div#forum div.post_header h2{margin:0;line-height:1.1;}
|
22
|
-
div#forum div.post_header h2 a.speaker{font-weight:bold;}
|
23
|
-
div#forum div.post_body{position:relative;}
|
24
|
-
div#forum div.post_body p{margin-top:.25em;}
|
25
|
-
div#forum div.post_body div.post blockquote{color:#cacac8;border-left-width:5px;border-left-style:solid;border-left-color:#cacac8;margin:0;padding-left:20px;}
|
26
|
-
div#forum div.over{background-color:#e2e1dc;}
|
27
|
-
div#forum div.post_control{font-size:85%;color:#cacac8;}
|
28
|
-
div#forum div.post_control p{margin:0;}
|
29
|
-
div#forum div.post_control p.post_admin{float:right;}
|
30
|
-
div#forum div.post_control p.post_admin a, div#forum div.post_control p.post_admin a:visited{font-family:helvetica,arial,sans-serif;font-size:0.8em;line-height:1;padding:4px;color:white;background-color:#e2e1dd;-moz-border-radius: 4px;-webkit-border-radius: 4px;}
|
31
|
-
div#forum div.post_control p.post_admin a.edit_post:hover{background-color:#1c8064;}
|
32
|
-
div#forum div.post_control p.post_admin a.delete_post:hover{background-color:#c00;}
|
33
|
-
div#forum div.post_control a{color:#1bb68b;}
|
34
|
-
div#forum div.post_control a.edit_post{color:#d1005d;}
|
35
|
-
div#forum div.post_control a.delete_post{padding-left:5px;color:#d1005d;}
|
36
|
-
div#forum div.post_control a:hover{color:#1bb68b;}
|
37
|
-
div#forum div.post_control a.waiting,div#forum div.post_control div#forum p.waiting{color:#cacac8;padding-left:18px;background:transparent url(/images/forum/wait_16_grey.gif) no-repeat left top;}
|
38
|
-
div#forum div.post_wrapper{position:relative;}
|
39
|
-
div#forum div.post_wrapper div.post_form{margin:0 0 20px 0;padding:0;background:white url(/images/forum/wait_16_grey.gif) no-repeat center center;}
|
40
|
-
div#forum div.post_wrapper div.post_form form{background-color:#ffffff;margin:0;}
|
41
|
-
div#forum div.post_wrapper div.post_form form label{display:none;}
|
42
|
-
div#forum div.post_wrapper div.post_form form textarea{left:0;right:0;color:#559dc4;border-color:#cacac8;font-size:normal;font-size:1em;}
|
43
|
-
div#forum div.post_wrapper div.post_form form p{margin:0;}
|
44
|
-
img.smiley{margin:3px 3px 0 3px;}
|
45
|
-
div.upload_handler,div.post_attachments{margin:0 0 30px 0;border-left-width:5px;border-left-style:solid;border-left-color:#cacac8;padding-left:20px;}
|
46
|
-
div.upload_handler h4,div.post_attachments h4{margin:0;font-family:helvetica,arial,sans-serif;font-size:0.8em;line-height:1.4;color:#cacac8;margin:-3px 0 2px -10px;}
|
47
|
-
div.upload_handler ul,div.post_attachments ul{margin:0;list-style:none;padding:0;}
|
48
|
-
div.upload_handler li,div.post_attachments li{clear:none;margin:0;}
|
49
|
-
div.upload_handler a.attachment,div.post_attachments a.attachment{background:url(/images/forum/attachment_link.png) no-repeat 0 2px;padding-left:18px;}
|
50
|
-
div.upload_handler a.attachment:hover,div.post_attachments a.attachment:hover{background-image:url(/images/forum/attachment_over.png);}
|
51
|
-
div.upload_handler a.remove,div.post_attachments a.remove{font-family:helvetica,arial,sans-serif;font-size:50%;color:#d1005d;}
|
52
|
-
a.cancel:hover,a.remove:hover{background-color:#d1005d;color:#ffffff;}
|
53
|
-
|
54
|
-
div.upload_handler ul.attachments input{display:none;}
|
55
|
-
div.uploads{display:none;}
|
56
|
-
div.upload_handler ul li a{color:#4d4e53;}
|
57
|
-
|
58
|
-
div.upload_handler div.selector{position:relative;cursor:pointer;}
|
59
|
-
div.upload_handler div.selector input.filefield{position:relative;z-index: 100; opacity: 0;}
|
60
|
-
div.upload_handler div.selector div.addfile{position:absolute;z-index: 99;top:0;}
|
61
|
-
div.upload_handler div.selector div.addfile a{background:url(/images/forum/attachment_link.png) no-repeat 0 2px;padding-left:18px;}
|
62
|
-
|
63
|
-
div#forum_search {margin: 40px 0 0 0;}
|
64
|
-
div#forum_search h2, div#forum_search p {margin: 0;}
|
65
|
-
div#forum_search input.standard {width: 80%;}
|
66
|
-
div#forum_search input.button { font-size: 1.2em; line-height: 1; color: #4d4e53; padding: 5px; margin: 0 0 0 6px;}
|
67
|
-
|
68
|
-
|
69
|
-
p.administrative{font-family:helvetica,arial,sans-serif;color:#cacac8;}
|
70
|
-
img.feedicon{margin:8px 0;}
|