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.
 
 
 
 
 

59 lines
2.8 KiB

<?xml version="1.0" encoding="UTF-8"?>
<!--To show popup when clicking on feedback control button-->
<templates id="template" xml:space="preserve">
<t t-name="FeedbackPopup" owl="1">
<Draggable>
<div class="popup popup-textarea" t-ref="input-data">
<header class="title drag-handle">
<t t-esc="props.title"/>
</header>
<div class="popup-textarea-wrap">
<div t-on-change="RatingChange">
<form class="rating">
<label>
<input type="radio" name="stars" value="1"/>
<span class="icon"></span>
</label>
<label>
<input type="radio" name="stars" value="2"/>
<span class="icon"></span>
<span class="icon"></span>
</label>
<label>
<input type="radio" name="stars" value="3"/>
<span class="icon"></span>
<span class="icon"></span>
<span class="icon"></span>
</label>
<label>
<input type="radio" name="stars" value="4"/>
<span class="icon"></span>
<span class="icon"></span>
<span class="icon"></span>
<span class="icon"></span>
</label>
<label>
<input type="radio" name="stars" value="5"/>
<span class="icon"></span>
<span class="icon"></span>
<span class="icon"></span>
<span class="icon"></span>
<span class="icon"></span>
</label>
</form>
<textarea t-model="state.commentValue" t-ref="comment"
placeholder="Type your Comments"/>
</div>
</div>
<footer class="footer">
<div class="button confirm highlight" t-on-click="confirm">
<t t-esc="props.confirmText"/>
</div>
<div class="button cancel" t-on-click="cancel">
<t t-esc="props.cancelText"/>
</div>
</footer>
</div>
</Draggable>
</t>
</templates>