[Logilogi-svn] SF.net SVN: logilogi: [310] projects/ogog/trunk
Status: Beta
Brought to you by:
wybow
|
From: <wy...@us...> - 2007-05-22 19:59:37
|
Revision: 310
http://logilogi.svn.sourceforge.net/logilogi/?rev=310&view=rev
Author: wybow
Date: 2007-05-22 12:58:33 -0700 (Tue, 22 May 2007)
Log Message:
-----------
Applied a few usabillity enhanchments...
Modified Paths:
--------------
projects/ogog/trunk/app/controllers/post_controller.rb
projects/ogog/trunk/app/views/post/_double_url_bar.rhtml
projects/ogog/trunk/app/views/post/_post.rhtml
projects/ogog/trunk/app/views/post/_post_top_block_score.rhtml
projects/ogog/trunk/app/views/post/index.rhtml
projects/ogog/trunk/public/images/bar.jpg
projects/ogog/trunk/public/images/bar.svg
projects/ogog/trunk/public/images/logo.jpg
projects/ogog/trunk/public/images/req_rec.png
projects/ogog/trunk/public/images/req_rec.svg
projects/ogog/trunk/public/stylesheets/ogog.css
Modified: projects/ogog/trunk/app/controllers/post_controller.rb
===================================================================
--- projects/ogog/trunk/app/controllers/post_controller.rb 2007-05-22 15:34:52 UTC (rev 309)
+++ projects/ogog/trunk/app/controllers/post_controller.rb 2007-05-22 19:58:33 UTC (rev 310)
@@ -106,8 +106,9 @@
private
def cloud_s
- tags = Tag.top_tags(Context.current.link.received_tags, :order => "count DESC, word", :limit => 100).
+ tags = Tag.top_tags(Context.current.link.received_tags, :order => "count DESC, word", :limit => 71).
sort_by {|tag| tag.word}
+ tags.delete(Tag.overall)
render_to_string(:partial => 'cloud',
:locals => {:tags => tags})
end
Modified: projects/ogog/trunk/app/views/post/_double_url_bar.rhtml
===================================================================
--- projects/ogog/trunk/app/views/post/_double_url_bar.rhtml 2007-05-22 15:34:52 UTC (rev 309)
+++ projects/ogog/trunk/app/views/post/_double_url_bar.rhtml 2007-05-22 19:58:33 UTC (rev 310)
@@ -7,5 +7,5 @@
</dd>
</dl>
<div class="req_rec_image">
- <%= image_tag 'req_rec.png', :size => '220x100' %>
+ <%= image_tag 'req_rec.png', :size => '285x100' %>
</div>
Modified: projects/ogog/trunk/app/views/post/_post.rhtml
===================================================================
--- projects/ogog/trunk/app/views/post/_post.rhtml 2007-05-22 15:34:52 UTC (rev 309)
+++ projects/ogog/trunk/app/views/post/_post.rhtml 2007-05-22 19:58:33 UTC (rev 310)
@@ -9,7 +9,7 @@
<h5><%= link_to_post(truncate(post.title, 35), post, Context.current.tag) %></h5>
</td></tr>
<tr><td colspan="3" class="snippet">
- <%= post.snippet + link_to_post(' ...read on', post, Context.current.tag) %>
+ <%= post.snippet + link_to_post(' ...read on and rate', post, Context.current.tag) %>
</td></tr>
<tr>
<td colspan="2" class="published">
@@ -19,7 +19,7 @@
<td class="bad_rating">
<% if tagging.weight == 0.0 and tagging.score >= 0 %>
<div id="bad_rating<%= post.id %>" class="bad_rating" >
- <%= link_to_remote 'bad!', {:url => {:action => 'rate_bad', :id => post,
+ <%= link_to_remote 'rate bad!', {:url => {:action => 'rate_bad', :id => post,
:tag_string => tagging.tag.to_s}}, :title => '1 skull, 0.0 weight' %>
</div>
<% end %>
Modified: projects/ogog/trunk/app/views/post/_post_top_block_score.rhtml
===================================================================
--- projects/ogog/trunk/app/views/post/_post_top_block_score.rhtml 2007-05-22 15:34:52 UTC (rev 309)
+++ projects/ogog/trunk/app/views/post/_post_top_block_score.rhtml 2007-05-22 19:58:33 UTC (rev 310)
@@ -5,7 +5,7 @@
</div>
</td>
<td class="word">
- In words: <%= score_in_words(tagging.score) %>
+ which means: <%= score_in_words(tagging.score) %>
</td>
<td class="power">
Power: <%= tagging_power(tagging) %>
Modified: projects/ogog/trunk/app/views/post/index.rhtml
===================================================================
--- projects/ogog/trunk/app/views/post/index.rhtml 2007-05-22 15:34:52 UTC (rev 309)
+++ projects/ogog/trunk/app/views/post/index.rhtml 2007-05-22 19:58:33 UTC (rev 310)
@@ -1,6 +1,6 @@
<% if User.anonymous? and Context.current.tag == Tag.overall %>
<div id="quick_info" class="box large noticable">
- <p>OgOg.org is all about your blog. You can <span class="highlight">rate articles from RSS-feeds</span> and receive good rankings and <span class="highlight">extra voting power</span> when your own posts are rated well. Take <%= link_to 'the tour', url_for(:controller => :doc, :action => :tour) %>. And if that is not enough, OgOg.org <%= link_to 'is yours too', url_for(:controller => :doc, :action => :development) %>!</p>
+ <p>Take <%= link_to 'the tour', url_for(:controller => :doc, :action => :tour) %>. OgOg is a meritocracy that is all about your blog. You can <span class="highlight">rate articles from RSS-feeds</span> and receive <span class="highlight">extra voting power</span> when your own posts are rated well. And OgOg.org <%= link_to 'is yours too', url_for(:controller => :doc, :action => :development) %>!</p>
</div>
<% end %>
<div id="middle_container">
Modified: projects/ogog/trunk/public/images/bar.jpg
===================================================================
(Binary files differ)
Modified: projects/ogog/trunk/public/images/bar.svg
===================================================================
--- projects/ogog/trunk/public/images/bar.svg 2007-05-22 15:34:52 UTC (rev 309)
+++ projects/ogog/trunk/public/images/bar.svg 2007-05-22 19:58:33 UTC (rev 310)
@@ -9,7 +9,7 @@
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="200"
+ width="280"
height="28"
id="svg2008"
sodipodi:version="0.32"
@@ -57,7 +57,7 @@
xlink:href="#linearGradient2927"
id="linearGradient13008"
gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(0.744109,0,0,0.539443,-74.74774,-105.8064)"
+ gradientTransform="matrix(1.044238,0,0,0.535243,-105.6205,-104.8695)"
x1="101.10726"
y1="223.07635"
x2="369.508"
@@ -74,11 +74,11 @@
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="2"
- inkscape:cx="73.849723"
+ inkscape:cx="76.975573"
inkscape:cy="26.560761"
inkscape:document-units="px"
inkscape:current-layer="layer1"
- width="200px"
+ width="280px"
height="28px"
inkscape:window-width="914"
inkscape:window-height="626"
@@ -100,13 +100,13 @@
inkscape:groupmode="layer"
id="layer1">
<rect
- style="opacity:1;fill:#eee;fill-opacity:1;fill-rule:nonzero;stroke:url(#linearGradient13008);stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+ style="opacity:1;fill:#eee;fill-opacity:1;fill-rule:nonzero;stroke:url(#linearGradient13008);stroke-width:1.18000591;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect13006"
- width="196.65771"
- height="23.118916"
- x="2.0182076"
- y="2.9708705"
- rx="15.285712"
- ry="15.092754" />
+ width="275.97772"
+ height="22.93891"
+ x="2.1082106"
+ y="3.0608735"
+ rx="13.95105"
+ ry="14.975241" />
</g>
</svg>
Modified: projects/ogog/trunk/public/images/logo.jpg
===================================================================
(Binary files differ)
Modified: projects/ogog/trunk/public/images/req_rec.png
===================================================================
(Binary files differ)
Modified: projects/ogog/trunk/public/images/req_rec.svg
===================================================================
--- projects/ogog/trunk/public/images/req_rec.svg 2007-05-22 15:34:52 UTC (rev 309)
+++ projects/ogog/trunk/public/images/req_rec.svg 2007-05-22 19:58:33 UTC (rev 310)
@@ -9,15 +9,15 @@
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="220"
+ width="285"
height="100"
id="svg2"
sodipodi:version="0.32"
inkscape:version="0.44"
- sodipodi:docbase="/home/wybo/ogog/docs/logo"
- sodipodi:docname="reqrec.svg"
+ sodipodi:docbase="/home/wybo/ogog/docs/misc"
+ sodipodi:docname="req_rec.svg"
version="1.0"
- inkscape:export-filename="/home/wybo/ogog/docs/logo/reqrec.png"
+ inkscape:export-filename="/home/wybo/ogog/docs/misc/req_rec.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<defs
@@ -97,7 +97,7 @@
xlink:href="#linearGradient6522"
id="linearGradient13008"
gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(0.591955,0,0,0.666907,-4.684402,-116.8845)"
+ gradientTransform="matrix(0.853645,0,0,0.664001,-31.61936,-116.2361)"
x1="101.10726"
y1="223.07635"
x2="369.508"
@@ -107,7 +107,7 @@
xlink:href="#linearGradient6522"
id="linearGradient13018"
gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(0.591955,0,0,0.666907,-42.49395,-79.15061)"
+ gradientTransform="matrix(0.850948,0,0,0.664028,-69.15114,-78.50835)"
x1="101.10726"
y1="223.07635"
x2="369.508"
@@ -134,15 +134,15 @@
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1.4"
- inkscape:cx="473.93888"
- inkscape:cy="701.84931"
+ inkscape:cx="175.67703"
+ inkscape:cy="164.70645"
inkscape:document-units="px"
inkscape:current-layer="layer1"
- inkscape:window-width="1280"
- inkscape:window-height="949"
- inkscape:window-x="0"
- inkscape:window-y="25"
- width="220px"
+ inkscape:window-width="1270"
+ inkscape:window-height="945"
+ inkscape:window-x="1280"
+ inkscape:window-y="31"
+ width="285px"
height="100px" />
<metadata
id="metadata7">
@@ -160,50 +160,50 @@
inkscape:groupmode="layer"
id="layer1">
<rect
- style="opacity:1;fill:#eee;fill-opacity:1;fill-rule:nonzero;stroke:url(#linearGradient13018);stroke-width:0.62831455;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+ style="opacity:1;fill:#eee;fill-opacity:1;fill-rule:nonzero;stroke:url(#linearGradient13018);stroke-width:1.20000005;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect13010"
- width="156.44542"
- height="28.58172"
- x="18.574978"
- y="55.329628"
- rx="15.285712"
- ry="15.092754" />
+ width="224.89346"
+ height="28.458334"
+ x="18.636671"
+ y="55.391319"
+ rx="17.687811"
+ ry="15.0276" />
<rect
- style="opacity:1;fill:#eee;fill-opacity:1;fill-rule:nonzero;stroke:url(#linearGradient13008);stroke-width:0.62831455;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+ style="opacity:1;fill:#eee;fill-opacity:1;fill-rule:nonzero;stroke:url(#linearGradient13008);stroke-width:1.20000005;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect13006"
- width="156.44542"
- height="28.58172"
- x="56.384525"
- y="17.595736"
- rx="15.285712"
- ry="15.092754" />
+ width="225.60657"
+ height="28.457159"
+ x="56.446804"
+ y="17.658018"
+ rx="16.328897"
+ ry="15.026979" />
<text
xml:space="preserve"
- style="font-size:18.64875412px;font-style:normal;font-weight:normal;fill:#ccc;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
+ style="font-size:18.64875412px;font-style:normal;font-weight:normal;fill:#b1b1b1;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
x="80.420685"
y="37.974834"
id="text3839"><tspan
sodipodi:role="line"
id="tspan3841"
x="80.420685"
- y="37.974834">Requested</tspan></text>
+ y="37.974834">Tags you requested</tspan></text>
<text
xml:space="preserve"
- style="font-size:19.69517708px;font-style:normal;font-weight:normal;fill:#ccc;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
+ style="font-size:19.69517708px;font-style:normal;font-weight:normal;fill:#b1b1b1;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
x="41.544853"
y="76.837044"
id="text4732"><tspan
sodipodi:role="line"
id="tspan4734"
x="41.544853"
- y="76.837044">Received</tspan></text>
+ y="76.837044">Tags we could find</tspan></text>
<path
- style="fill:#eee;fill-opacity:1;fill-rule:nonzero;stroke:url(#linearGradient6512);stroke-width:0.66602689;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+ style="fill:#eee;fill-opacity:1;fill-rule:nonzero;stroke:url(#linearGradient6512);stroke-width:1.2;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="M 44.386689,24.925432 L 61.565414,7.7467147 C 65.632141,3.6799873 72.246122,3.7460911 76.394956,7.894932 L 76.246746,56.785488 C 72.180018,60.852221 65.566038,60.786118 61.417196,56.637277 L 44.534906,39.75498 C 40.386066,35.606146 40.319963,28.992167 44.386689,24.925432 z "
id="rect3836"
sodipodi:nodetypes="ccccccc" />
<path
- style="fill:#eee;fill-opacity:1;fill-rule:nonzero;stroke:url(#linearGradient13020);stroke-width:0.66602689;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+ style="fill:#eee;fill-opacity:1;fill-rule:nonzero;stroke:url(#linearGradient13020);stroke-width:1.2;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="M 6.5771412,62.659328 L 23.755866,45.48061 C 27.822593,41.413883 34.436574,41.479987 38.585408,45.628828 L 38.437198,94.519384 C 34.37047,98.586114 27.75649,98.520014 23.607648,94.371174 L 6.7253582,77.488874 C 2.5765182,73.340044 2.5104152,66.726063 6.5771412,62.659328 z "
id="path13016"
sodipodi:nodetypes="ccccccc" />
Modified: projects/ogog/trunk/public/stylesheets/ogog.css
===================================================================
--- projects/ogog/trunk/public/stylesheets/ogog.css 2007-05-22 15:34:52 UTC (rev 309)
+++ projects/ogog/trunk/public/stylesheets/ogog.css 2007-05-22 19:58:33 UTC (rev 310)
@@ -140,7 +140,7 @@
}
div.box {
float: left;
- border: 2px solid #CCFF00;
+ border: 2px solid #E3FFAC;
padding: 0.5em;
margin: 0.6em;
background: #FFFFFF;
@@ -155,7 +155,7 @@
width: 14em;
}
div.noticable {
- background-color: #F7F3E8;
+ background-color: #E3FFAC;
}
#logo {
text-align: center;
@@ -256,6 +256,9 @@
/* Menu */
+#menu {
+ background: #E3FFAC;
+}
#menu ul {
padding: 0px;
display: inline;
@@ -403,7 +406,7 @@
font-size: 0.8em;
}
div.post table.post td.bad_rating {
- width: 4em;
+ width: 6.5em;
}
#viewpoints table td.score {
text-align: right;
@@ -555,8 +558,9 @@
div.bad_rating,
div.bad_rating_over {
float: right;
- width: 4em;
+ width: 6.3em;
height: 25px;
+ margin-right: 0.2em;
background: url(/images/bad_rating.jpg) no-repeat;
}
div.bad_rating {
@@ -570,7 +574,7 @@
#quick_info p {
margin: 0;
- font-size: 1.1em;
+ font-size: 1.2em;
}
#slide {
text-align: center;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|