← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1323454] [NEW] There is a extra div in metering stats.html

 

Public bug reported:

In file openstack_dashboard/dashboards/admin/metering/templates/metering/stats.html,
from line 134 ~ line157,

<div class="info row-fluid detail">
  <div class="span12">
    <h4>{% trans "Statistics of all resources" %}</h4>
    <hr class="header_rule" />
    <div class="info row-fluid detail">
      <div class="span9 chart_container">
          <div class="chart"
               data-chart-type="line_chart"
               data-url="{% url 'horizon:admin:metering:samples'%}"
               data-form-selector='#linechart_general_form'
               data-legend-selector="#legend"
               data-smoother-selector="#smoother"
               data-slider-selector="#slider">
          </div>
          <div id="slider"></div>
        </div>  #The div is redudent
        <div class="span3 legend_container">
          <div id="smoother" title="Smoothing"></div>
          <div id="legend"></div>
        </div>
      </div>
    </div>
  </div>
</div>


There is a redudent div in above code. we should remove it!

** Affects: horizon
     Importance: Undecided
     Assignee: Lawrance (jing)
         Status: In Progress

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1323454

Title:
  There is a extra div in metering stats.html

Status in OpenStack Dashboard (Horizon):
  In Progress

Bug description:
  In file openstack_dashboard/dashboards/admin/metering/templates/metering/stats.html,
  from line 134 ~ line157,

  <div class="info row-fluid detail">
    <div class="span12">
      <h4>{% trans "Statistics of all resources" %}</h4>
      <hr class="header_rule" />
      <div class="info row-fluid detail">
        <div class="span9 chart_container">
            <div class="chart"
                 data-chart-type="line_chart"
                 data-url="{% url 'horizon:admin:metering:samples'%}"
                 data-form-selector='#linechart_general_form'
                 data-legend-selector="#legend"
                 data-smoother-selector="#smoother"
                 data-slider-selector="#slider">
            </div>
            <div id="slider"></div>
          </div>  #The div is redudent
          <div class="span3 legend_container">
            <div id="smoother" title="Smoothing"></div>
            <div id="legend"></div>
          </div>
        </div>
      </div>
    </div>
  </div>

  
  There is a redudent div in above code. we should remove it!

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1323454/+subscriptions


Follow ups

References