Skip to content

Commit

Permalink
minor appearance tweaks and updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
cristi committed Oct 14, 2009
1 parent f5ddf89 commit 34b3ffa
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 14 deletions.
17 changes: 6 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ About

An extension by [Aissac][ai] that adds [Paperclipped][paperclipped] based [Tiny MCE][tinymce] support to [Radiant CMS][rd]. This extension provides a `Rich Text Editor` filter and allows you to edit the content using the TinyMCE editor. It also provides an Image and File browser to help you manage the Paperclipped assets.

Tested on Radiant 0.7.1 and 0.8.
Tested on Radiant 0.7.1, 0.8 and 0.9 RC1.

Features
---
Expand Down Expand Up @@ -63,13 +63,6 @@ The last step is to update the Tiny-Paper assets:

rake radiant:extensions:tiny_paper:update

###Note

To get the Radiant 0.7.1 version tag you need to:

cd vendor/extensions/tiny_paper/
git checkout v0.7

Usage
---

Expand All @@ -84,12 +77,14 @@ The File Browser can be accessed through the `insert/edit link` icon and has two
Contributors
---

* Cristi Duma
* Istvan Hoka
* Cristi Duma ([@cristi_duma][cd])
* Istvan Hoka ([@ihoka][ih])

[ai]: http://aissac.ro/
[rd]: http://radiantcms.org/
[settings]: http://github.com/Squeegy/radiant-settings/tree/master
[paperclipped]: http://github.com/kbingman/paperclipped/tree/master
[tp]: http://blog.aissac.ro/radiant/tiny-paper-extension/
[tinymce]: http://tinymce.moxiecode.com/
[tinymce]: http://tinymce.moxiecode.com/
[cd]: http://twitter.com/cristi_duma
[ih]: http://twitter.com/ihoka
4 changes: 2 additions & 2 deletions app/views/admin/tiny_paper/_images_sizes.html.haml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
= link_to 'Cancel', '#', :onclick => "$(this).up('.image_sizes').hide(); return false;", :class => "cancel_image_sizes"
%h4 Choose size
%p= asset.title
%div
Expand All @@ -8,5 +9,4 @@
%td= asset.width(k).to_s + 'px x ' + asset.height(k).to_s + 'px'
%tr
%th= link_to "original", asset.asset.url
%td= asset.width.to_s + 'px x ' + asset.height.to_s + 'px'
= link_to 'Cancel', '#', :onclick => "$(this).up('.image_sizes').hide(); return false;", :class => "cancel_image_sizes"
%td= asset.width.to_s + 'px x ' + asset.height.to_s + 'px'
2 changes: 1 addition & 1 deletion app/views/admin/tiny_paper/pages.html.haml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#tiny_paper
#top
#top.pages_list
%ul.clearfix
%li= link_to "Files", files_path
%li= link_to "Pages", pages_path, :class => "selected"
Expand Down
12 changes: 12 additions & 0 deletions public/stylesheets/sass/admin/tiny_paper.sass
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
:-webkit-border-bottom-right-radius 10px
:border 1px solid #0066CC
:padding 10px 10px 0 10px
:margin-bottom 10px
&.pages_list
p
:padding 0 0 7px 0
.left
:float left
:width 30%
Expand Down Expand Up @@ -127,6 +131,7 @@
:margin-right 5px

ul.asset_images
:padding-left 40px
li
:list-style none
:float left
Expand Down Expand Up @@ -164,9 +169,16 @@
:padding 10px
:width 380px
:min-height 150px
:-webkit-border-radius 12px
:-moz-border-radius 12px
h4, p
:text-align center
a.cancel_image_sizes
:background transparent url('/images/admin/tab_close.png') no-repeat left top
:text-indent -9999px
:display block
:width 16px
:height 16px
:float right

#sizes
Expand Down

0 comments on commit 34b3ffa

Please sign in to comment.