# HG changeset patch # User Madhusudan.C.S # Date 1249852250 -19800 # Node ID 425626c7f63e9a3e814f3c25218e7f5026c5bed4 # Parent be65e84e7d038b1df5bfef77640d4838b7bd0dc1 Star rating completed on client side. diff -r be65e84e7d03 -r 425626c7f63e app/site-content/css/jquery.rating.css --- a/app/site-content/css/jquery.rating.css Mon Aug 10 02:13:02 2009 +0530 +++ b/app/site-content/css/jquery.rating.css Mon Aug 10 02:40:50 2009 +0530 @@ -1,12 +1,69 @@ /* jQuery.Rating Plugin CSS - http://www.fyneworks.com/jquery/star-rating/ */ -div.rating-cancel,div.star-rating{float:left;width:17px;height:15px;text-indent:-999em;cursor:pointer;display:block;background:transparent;overflow:hidden} -div.rating-cancel,div.rating-cancel a{background:url(/site-content/images/delete.gif) no-repeat 0 -16px} -div.star-rating,div.star-rating a{background:url(/site-content/images/star.gif) no-repeat 0 0px} -div.rating-cancel a,div.star-rating a{display:block;width:16px;height:100%;background-position:0 0px;border:0} -div.star-rating-on a{background-position:0 -16px!important} -div.star-rating-hover a{background-position:0 -32px} +div.rating-cancel { + float:left; + width:17px; + height:15px; + margin-left: 3%; + text-indent:-999em; + cursor:pointer; + display:block; + background:transparent; + overflow:hidden; +} + +div.star-rating { + float:left; + width:17px; + height:15px; + text-indent:-999em; + cursor:pointer; + display:block; + background:transparent; + overflow:hidden; +} + +div.rating-cancel,div.rating-cancel a { + background:url(/site-content/images/delete.gif) no-repeat 0 -16px +} + +div.star-rating,div.star-rating a { + background:url(/site-content/images/star.gif) no-repeat 0 0px +} + +div.rating-cancel a,div.star-rating a { + display:block; + width:16px; + height:100%; + background-position:0 0px; + border:0 +} + +div.star-rating-on a { + background-position:0 -16px!important +} + +div.star-rating-hover a { + background-position:0 -32px +} + /* Read Only CSS */ -div.star-rating-readonly a{cursor:default !important} +div.star-rating-readonly a{ + cursor:default !important +} /* Partial Star CSS */ -div.star-rating{background:transparent!important;overflow:hidden!important} +div.star-rating{ + background:transparent!important; + overflow:hidden!important +} /* END jQuery.Rating Plugin CSS */ + +label { + float: left; + width: 40%; + position: relative; + top: -5px; + font-weight:bold; + margin:5px 0; + margin-right: 1em; + text-align: right; +} \ No newline at end of file diff -r be65e84e7d03 -r 425626c7f63e app/templates/projrev/proposal/review.html --- a/app/templates/projrev/proposal/review.html Mon Aug 10 02:13:02 2009 +0530 +++ b/app/templates/projrev/proposal/review.html Mon Aug 10 02:40:50 2009 +0530 @@ -111,8 +111,8 @@ {{ form.comment.label_tag }}{{ form.comment }}{% if form.comment.field.required %}  (required){% endif %}

- {{ form.comment.errors }} - {{ form.attribute1.label_tag }}: + {{ form.attribute1.errors }} + {{ form.attribute1.label_tag }} @@ -120,6 +120,86 @@ {% if form.attribute1.field.required %}  (required){% endif %}

+

+ {{ form.attribute2.errors }} + {{ form.attribute2.label_tag }} + + + + + + {% if form.attribute2.field.required %}  (required){% endif %} +

+

+ {{ form.attribute3.errors }} + {{ form.attribute3.label_tag }} + + + + + + {% if form.attribute3.field.required %}  (required){% endif %} +

+

+ {{ form.attribute4.errors }} + {{ form.attribute4.label_tag }} + + + + + + {% if form.attribute4.field.required %}  (required){% endif %} +

+

+ {{ form.attribute5.errors }} + {{ form.attribute5.label_tag }} + + + + + + {% if form.attribute5.field.required %}  (required){% endif %} +

+

+ {{ form.attribute6.errors }} + {{ form.attribute6.label_tag }} + + + + + + {% if form.attribute6.field.required %}  (required){% endif %} +

+

+ {{ form.attribute7.errors }} + {{ form.attribute7.label_tag }} + + + + + + {% if form.attribute7.field.required %}  (required){% endif %} +

+

+ {{ form.attribute8.errors }} + {{ form.attribute8.label_tag }} + + + + + + {% if form.attribute8.field.required %}  (required){% endif %} +

+

+ {{ form.attribute9.errors }} + {{ form.attribute9.label_tag }} + + + + + + {% if form.attribute9.field.required %}  (required){% endif %} +