relevance / pretty_buttons
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | Fri Apr 11 10:03:03 -0700 2008 | |
| |
README | Fri Apr 11 10:03:03 -0700 2008 | |
| |
Rakefile | Fri Apr 11 10:03:03 -0700 2008 | |
| |
init.rb | Fri Apr 11 10:03:03 -0700 2008 | |
| |
install.rb | Fri Apr 11 10:03:03 -0700 2008 | |
| |
lib/ | Thu May 01 20:06:29 -0700 2008 | |
| |
public/ | Fri Apr 11 10:03:03 -0700 2008 | |
| |
tasks/ | Fri Apr 11 10:03:03 -0700 2008 | |
| |
test/ | Thu May 01 20:06:29 -0700 2008 | |
| |
uninstall.rb | Fri Apr 11 10:03:03 -0700 2008 |
README
PrettyButtons ============= Based on the methods by Kevin Hale to create nice cross browser buttons. (see http://particletree.com/features/rediscovering-the-button-element) <button type="submit" class="button positive"> <img src="css/blueprint/plugins/buttons/icons/tick.png" alt=""/> Save </button> <a class="button" href="/password/reset/"> <img src="css/blueprint/plugins/buttons/icons/key.png" alt=""/> Change Password </a> <a href="#" class="button negative"> <img src="css/blueprint/plugins/buttons/icons/cross.png" alt=""/> Cancel </a> Example ======= <p class="buttons"> <%= pretty_positive_button "Create" %> <%= pretty_negative_button_link 'Cancel', posts_path %> </p> <p class="buttons"> <%= pretty_button "Add Comment", "icons/comment.gif" %> </p> <p class="buttons"> <%= pretty_button_link "Contact Us", contact_path, {:icon_path => "icons/contact.gif"} %> </p> Silk Icons from http://famfamfam.com/lab/icons/silk/, released under the Creative Commons Attribution 2.5 License Copyright (c) 2008 Relevance, Inc., released under the MIT license
