Refactor Rating UI
Improve rating UI when creating an instance Change-Id: I962ac5c3be07032291d21f92990cb362138254ed
This commit is contained in:
parent
e30609ca36
commit
e3f59899ee
|
@ -3,12 +3,14 @@
|
|||
{% load static %}
|
||||
|
||||
{% block price %}
|
||||
<h4>{% trans "Rating Information" %}</h4>
|
||||
<table class="flavor_table table-striped">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="price">{% trans "Price" %}</td><td><span id="price"></span> {% trans "$" %}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="flavor_name">{% trans "Price" %}</td>
|
||||
<td><span id="price"></span> {% trans "$" %}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
@ -1,13 +1,17 @@
|
|||
{% extends 'base.html' %}
|
||||
{% load i18n %}
|
||||
{% block title %}{% trans "Rating" %}{% endblock %}
|
||||
{% block title %}{% trans "Rating Summary" %}{% endblock %}
|
||||
|
||||
{% block page_header %}
|
||||
{% include "horizon/common/_page_header.html" with title=_("Rating") %}
|
||||
{% include "horizon/common/_page_header.html" with title=_("Rating Summary") %}
|
||||
{% endblock page_header %}
|
||||
|
||||
{% block main %}
|
||||
Total : {{ total }}
|
||||
<hr class="header_rule"></hr>
|
||||
<div class="status row-fluid detail">
|
||||
<dl>
|
||||
<dt> {% trans "Total" %}</dt>
|
||||
<dd> {{ total }}</dd>
|
||||
</dl>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ pricing = {
|
|||
};
|
||||
|
||||
$('#id_flavor').on('change', eventCallback);
|
||||
$('#id_count').on('keyup', eventCallback);
|
||||
$('#id_count').on('change', eventCallback);
|
||||
$('#id_image_id').on('change', eventCallback);
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue