From 38f20718ad0c0e13243e8a9a120797c24b7f5a5d Mon Sep 17 00:00:00 2001 From: hartmut Date: Fri, 27 Oct 2017 14:05:45 +0000 Subject: Bewertungen im BE bearbeitbar git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6659 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/css/admin.css | 16 +++++ views/js/font-awesome-4.5.0/HELP-US-OUT.txt | 7 ++ views/produkt/addedit_rating.phtml | 104 ++++++++++++++++++++++++++++ 3 files changed, 127 insertions(+) create mode 100644 views/js/font-awesome-4.5.0/HELP-US-OUT.txt create mode 100644 views/produkt/addedit_rating.phtml (limited to 'views') diff --git a/views/css/admin.css b/views/css/admin.css index 954fdf1..545e1c0 100644 --- a/views/css/admin.css +++ b/views/css/admin.css @@ -192,6 +192,22 @@ table.wpsgitrecht_table { width:100%; } .wpsg_productview_backend-sold-out { color:#dc3232; font-weight:700; } .wpsg_productview_backend-available { color:#7ad03a; font-weight:700; float:left; margin-right:5px; } +/* Bewertung */ +.wpsg_rating { background-color:#29556E; } +.sto_comment_form .comment_list, +.sto_comment_form .comment_form { width:55rem; } +.wpsg_comment_form .comment { background-color:#ececec; padding:20px; margin-bottom:30px; } +.wpsg_comment_form .wpsg_star_wrap { float:right; } +.wpsg_comment_form .wpsg_bewertung_comment_name { font-weight:bold; color:#29556e; text-transform:uppercase; float:left; } +.wpsg_comment_form .wpsg_bewertung_comment_date { padding:20px 0px; color:#29556e; } +.wpsg_comment_form .wpsg_bewertung_comment_text { color:#29556e; } +.wpsg_comment_form .row { margin-left:0px !important; } +.wpsg_star_wrap { font-size:15px; font-weight:normal; margin-bottom:5px; } +.wpsg_star_wrap .fa { margin-right:5px; } +.wpsg_star_wrap { color:#F8E71C; text-shadow:-1px 0 #F6B03A, 0 1px #F6B03A, 1px 0 #F6B03A, 0 -1px #F6B03A; } +.wpsg_star_wrap .fa-star-active { color:#C8C8C8; text-shadow:-1px 0 #9B9B9B, 0 1px #9B9B9B, 1px 0 #9B9B9B, 0 -1px #9B9B9B; } +.wpsg_comment_form .wpsg_star_wrap { float:right; } + /* Bestellverwaltung */ .wpsg_order .wpsg_status_link_wrap { min-height:50px; float:left; display:inline-block; } .wpsg_order .col_checkbox { width:20px; } diff --git a/views/js/font-awesome-4.5.0/HELP-US-OUT.txt b/views/js/font-awesome-4.5.0/HELP-US-OUT.txt new file mode 100644 index 0000000..cfd9d9f --- /dev/null +++ b/views/js/font-awesome-4.5.0/HELP-US-OUT.txt @@ -0,0 +1,7 @@ +I hope you love Font Awesome. If you've found it useful, please do me a favor and check out my latest project, +Fonticons (https://fonticons.com). It makes it easy to put the perfect icons on your website. Choose from our awesome, +comprehensive icon sets or copy and paste your own. + +Please. Check it out. + +-Dave Gandy diff --git a/views/produkt/addedit_rating.phtml b/views/produkt/addedit_rating.phtml new file mode 100644 index 0000000..44a6265 --- /dev/null +++ b/views/produkt/addedit_rating.phtml @@ -0,0 +1,104 @@ + + +
+ + + +
+
+ + view['arCom'])) { ?> + +
+
+ + + view['arCom'] as $com) { ?> + +
+ +
+ +
+ + + +
+
+ '; + ?> +
+
+ + + +
+ + '.date_i18n('d.F Y', strtotime($com['comment_date'])); ?> + comment_date)); */ ?> + +
+ +
+ +
'; ?> + + '; ?> + +
+
+
+ + +
+ +
+ + + +
+
+ + + + +
+
+ + + +
+ + -- cgit v1.2.3