MVPEEEE #7

Merged
andrewlalis merged 36 commits from develop into master 2018-10-01 14:53:24 +00:00
2 changed files with 21 additions and 2 deletions
Showing only changes of commit 813bbaaa44 - Show all commits

View File

@ -181,8 +181,15 @@
<form accept-charset="UTF-8" action="" method="post"> <form accept-charset="UTF-8" action="" method="post">
<input id="ratings-hidden" name="rating" type="hidden"> <input id="ratings-hidden" name="rating" type="hidden">
<textarea class="form-control animated" cols="50" id="new-review" name="comment" placeholder="Enter your review here..." rows="5"></textarea> <p class="text-right date"></p>
<div class="form-group">
<label for="usr">Name:</label>
<input type="text" class="form-control" placeholder="Name..." id="usr">
</div>
<div class="form-group">
<label for="usr">Review:</label>
<input class="form-control animated" cols="50" id="new-review" name="comment" placeholder="Enter your review here..." rows="5">
</div>
<div class="text-right"> <div class="text-right">
<div class="stars starrr" data-rating="0"></div> <div class="stars starrr" data-rating="0"></div>

View File

@ -55,4 +55,16 @@ $(function(){
}); });
var d = new Date();
var month = d.getMonth()+1;
var day = d.getDate();
var output =
((''+day).length<2 ? '0' : '') + day + '/' +
((''+month).length<2 ? '0' : '') + month + '/' +
d.getFullYear();
$(".date").append(output);
}); });