You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

71 lines
2.6 KiB

<div class="row">
<div class="panel panel-info" style="padding-bottom:0px;">
<div class="panel-heading">
<strong>Average Rate</strong> : <span id="comment_rate_avg">n/a</span>
</div>
</div>
<div class="col-lg-12 col-md-12">
<h3 id="comment_form_label"><b>Add Comment</b></h3>
<hr>
</div>
<div class="col-md-5">
<div class="form-group">
<label for="name" class="control-label">Name<span class="font-required"> *</label>
<input type="text" class="form-control title" id="comment_name" placeholder="Name">
<div class="help-block with-errors" id="comment_name_error"></div>
</div>
<div class="form-group">
<label for="rate" class="control-label">Rate</label>
<input type="text" class="form-control title" id="comment_rate" maxlength="2" placeholder="Rate(e.g 1-10)">
<div class="help-block with-errors" id="comment_rate_error"></div>
</div>
<div class="form-group lm-date">
<label for="reservation_start_date" class="control-label">Date<span class="font-required"> *</span></label>
<div class='input-group date'>
<input type='text' class="form-control datetimepicker invalid_date" id="comment_date" placeholder="Comment date" value=""/>
<span class="input-group-addon">
<span class="glyphicon glyphicon-calendar"></span>
</span>
</div>
<div class="help-block with-errors" id="comment_date_error"></div>
</div>
</div>
<div class="col-md-7">
<div class="form-group">
<label for="comment">Comment<span class="font-required"> *</label>
<textarea class="form-control" id="comment_content" rows="8" placeholder="Type subscribers comment..."></textarea>
</div>
<div class="help-block with-errors" id="comment_content_error"></div>
</div>
<!--
* When Add button is click, the data input in the form will go to the comment list table below
* and will save when the main save workshop is click("Enregister le nouvel événement")
-->
<div class="col-md-12 text-right">
<input type="hidden" id="comment_id">
<br>
<button class="btn btn-primary" id="clearComment">Clear</button>
<button class="btn btn-primary" id="addComment">Add Comment</button>
</div>
</div>
<div class="row">
<div class="col-lg-12 col-md-12">
<h3><b>Comment List</b></h3>
<hr>
<table class="table table-bordered">
<thead>
<tr>
<th>Name</th>
<th>Date</th>
<th>Rate</th>
<th>Comment</th>
<th class="text-center">Action</th>
</tr>
</thead>
<tbody id="commentTBody">
</tbody>
</table>
</div>
</div>