[Bps-public-commit] Prophet - A disconnected, replicated p2p database branch, master, updated. d68518866547f2795fe6dc38338266d709740969
jesse
jesse at bestpractical.com
Mon Jan 26 21:40:10 EST 2009
The branch, master has been updated
via d68518866547f2795fe6dc38338266d709740969 (commit)
from 7834ee945dfe879acdbfed1bcde621817717ba9a (commit)
Summary of changes:
lib/Prophet/Server.pm | 4 +++-
lib/Prophet/Server/ViewHelpers/Widget.pm | 2 +-
share/web/static/yui/css/reset.css | 7 +++++++
3 files changed, 11 insertions(+), 2 deletions(-)
create mode 100644 share/web/static/yui/css/reset.css
- Log -----------------------------------------------------------------
commit d68518866547f2795fe6dc38338266d709740969
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Mon Jan 26 21:39:59 2009 -0500
Add YUI CSS resets
diff --git a/lib/Prophet/Server.pm b/lib/Prophet/Server.pm
index 44724a6..98d52ef 100644
--- a/lib/Prophet/Server.pm
+++ b/lib/Prophet/Server.pm
@@ -74,7 +74,9 @@ sub setup_template_roots {
sub css {
- return '/static/prophet/jquery/css/superfish.css',
+ return
+ '/static/prophet/yui/css/reset.css',
+ '/static/prophet/jquery/css/superfish.css',
'/static/prophet/jquery/css/superfish-navbar.css',
'/static/prophet/jquery/css/jquery.autocomplete.css',
'/static/prophet/jquery/css/tablesorter/style.css',
diff --git a/lib/Prophet/Server/ViewHelpers/Widget.pm b/lib/Prophet/Server/ViewHelpers/Widget.pm
index cb38bd3..0ba5309 100644
--- a/lib/Prophet/Server/ViewHelpers/Widget.pm
+++ b/lib/Prophet/Server/ViewHelpers/Widget.pm
@@ -75,8 +75,8 @@ sub render {
type => 'hidden'
);
- outs_raw( $orig->render_input );
outs_raw( $self->field->render );
+ outs_raw( $orig->render_input );
if ($self->autocomplete) {
$self->_render_autocompleter();
}
diff --git a/share/web/static/yui/css/reset.css b/share/web/static/yui/css/reset.css
new file mode 100644
index 0000000..07f477e
--- /dev/null
+++ b/share/web/static/yui/css/reset.css
@@ -0,0 +1,7 @@
+/*
+Copyright (c) 2008, Yahoo! Inc. All rights reserved.
+Code licensed under the BSD License:
+http://developer.yahoo.net/yui/license.txt
+version: 2.6.0
+*/
+html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:text-top;}sub{vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{*font-size:100%;}legend{color:#000;}del,ins{text-decoration:none;}
\ No newline at end of file
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list