{% load i18n sizeformat %}
<div class="quota-dynamic">
  <h3 class="quota-heading">{% trans "Usage Summary" %}</h3>
</div>
<div class="usage_info_wrapper">
  <form action="" method="get" id="date_form" class="form-horizontal">
    <h3>{% trans "Select a period of time to query its usage" %}: </h3>
    <div class="datepicker">
      {% blocktrans with start=form.start end=form.end %}<span>From: {{ start }} </span><span>To: {{ end }} </span>{% endblocktrans %}
      <button class="btn btn-primary" type="submit">{% trans "Submit" %}</button>
      <small>{% trans "The date should be in YYYY-mm-dd format." %}</small>
    </div>
  </form>

  <p id="activity">
    <span><strong>{% trans "Active Instances" %}:</strong> {{ usage.summary.instances|default:'-' }}</span>
    <span><strong>{% trans "Active RAM" %}:</strong> {{ usage.summary.memory_mb|mbformat|default:'-' }}</span>
    <span><strong>{% trans "This Period's VCPU-Hours" %}:</strong> {{ usage.summary.vcpu_hours|floatformat:2|default:'-' }}</span>
    <span><strong>{% trans "This Period's GB-Hours" %}:</strong> {{ usage.summary.disk_gb_hours|floatformat:2|default:'-' }}</span>
  </p>
</div>

{% load i18n sizeformat %}
<div class="quota-dynamic">
  <h3 class="quota-heading">{% trans "Usage Summary" %}</h3>
</div>
<div class="usage_info_wrapper">
  <form action="?" method="get" id="date_form" class="form-horizontal">
    <h3>{% trans "Select a period of time to query its usage" %}: </h3>
    <div class="datepicker">
      {% blocktrans with start=form.start end=form.end %}<span>From: {{ start }} </span><span>To: {{ end }} </span>{% endblocktrans %}
      <button class="btn btn-primary" type="submit">{% trans "Submit" %}</button>
      <small>{% trans "The date should be in YYYY-mm-dd format." %}</small>
    </div>
  </form>

  <p id="activity">
    <span><strong>{% trans "Active Instances" %}:</strong> {{ usage.summary.instances|default:'-' }}</span>
    <span><strong>{% trans "Active RAM" %}:</strong> {{ usage.summary.memory_mb|mbformat|default:'-' }}</span>
    <span><strong>{% trans "This Period's VCPU-Hours" %}:</strong> {{ usage.summary.vcpu_hours|floatformat:2|default:'-' }}</span>
    <span><strong>{% trans "This Period's GB-Hours" %}:</strong> {{ usage.summary.disk_gb_hours|floatformat:2|default:'-' }}</span>
  </p>
</div>

Fix submit button in overview
Fix submit button in overview

Go to Admin -> Overview, or Project -> Overview select a date,
and click "Submit" button,then the "Submit" button is disabled,
but the Usage info below doesn't seem to respond to the new date
range accordingly.

Change-Id: I50466d748884c3b327a2517d5d1136137b5259f6
Closes-Bug:#1270977
