aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
Diffstat (limited to 'view')
-rw-r--r--view/css/mod_rate.css8
-rw-r--r--view/pdl/mod_rate.pdl3
-rw-r--r--view/theme/redbasic/css/style.css6
-rwxr-xr-xview/tpl/profile_vcard.tpl2
-rw-r--r--view/tpl/rating_form.tpl22
5 files changed, 38 insertions, 3 deletions
diff --git a/view/css/mod_rate.css b/view/css/mod_rate.css
new file mode 100644
index 000000000..58e87b9b4
--- /dev/null
+++ b/view/css/mod_rate.css
@@ -0,0 +1,8 @@
+#rating-slider {
+ width: 600px !important;
+}
+
+#rating-text {
+ width: 400px;
+ height: 60px;
+}
diff --git a/view/pdl/mod_rate.pdl b/view/pdl/mod_rate.pdl
new file mode 100644
index 000000000..d8f50ad7a
--- /dev/null
+++ b/view/pdl/mod_rate.pdl
@@ -0,0 +1,3 @@
+[region=aside]
+[widget=vcard][/widget]
+[/region]
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index 32ded75ba..1aa7cc729 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -771,7 +771,7 @@ footer {
clear: both;
}
-div.rateme {
+a.rateme, div.rateme {
display: block;
color: $nav_active_icon_colour;
background-color: $nav_bg;
@@ -1455,14 +1455,14 @@ div.jGrowl div.jGrowl-notification {
width: 90%;
}
-a.rconnect, div.rateme {
+a.rconnect, a.rateme, div.rateme {
color: $nav_active_icon_colour;
text-decoration: none;
font-weight: normal;
outline: none;
}
-a.rconnect:hover, div.rateme:hover {
+a.rconnect:hover, a.rateme:hover, div.rateme:hover {
color: #0080FF;
text-decoration: none;
}
diff --git a/view/tpl/profile_vcard.tpl b/view/tpl/profile_vcard.tpl
index bc093ebb5..cae920c5d 100755
--- a/view/tpl/profile_vcard.tpl
+++ b/view/tpl/profile_vcard.tpl
@@ -51,6 +51,8 @@
<a href="{{$connect_url}}" class="rconnect"><i class="icon-plus connect-icon"></i> {{$connect}}</a>
{{/if}}
+{{$rating}}
+
</div>
<div id="vcard-end"></div>
diff --git a/view/tpl/rating_form.tpl b/view/tpl/rating_form.tpl
new file mode 100644
index 000000000..216bf6ede
--- /dev/null
+++ b/view/tpl/rating_form.tpl
@@ -0,0 +1,22 @@
+<h3>{{$header}}</h3>
+
+<div class="rating-target-name">{{$tgt_name}}</div>
+
+<h3>{{$lbl_rating}}</h3>
+
+<form action="rate" method="post">
+
+{{$rating}}
+
+<input type="hidden" name="execute" value="1" />
+<input type="hidden" name="target" value="{{$target}}" />
+
+<input id="contact-rating-mirror" type="hidden" name="rating" value="{{$rating_val}}" />
+<h3 class="abook-rating-text-desc">{{$lbl_rating_txt}}</h3>
+<textarea name="rating_text" id="rating-text" >{{$rating_txt}}</textarea>
+
+<div class="clear"></div>
+
+<input class="contact-edit-submit" type="submit" name="done" value="{{$submit}}" />
+
+</form> \ No newline at end of file