Adds ResourceBrowser and ResourceBrowserView class
related: blueprint swift-ui-improvements Provides new API for building browser for navigation, as well as new look and feel in CSS. Applies it to container panel of the nova dashboard. Change-Id: Iecd984263bae7c3774a0630639f645cee4cffca9
This commit is contained in:
@@ -11,11 +11,13 @@
|
||||
{{ table.render_table_actions }}
|
||||
</th>
|
||||
</tr>
|
||||
{% if not table.is_browser_table %}
|
||||
<tr>
|
||||
{% for column in columns %}
|
||||
<th {{ column.attr_string|safe }}>{{ column }}</th>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
{% endif %}
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for row in rows %}
|
||||
@@ -52,4 +54,4 @@
|
||||
{% endwith %}
|
||||
{% if needs_form_wrapper %}</form>{% endif %}
|
||||
</div>
|
||||
{% endwith %}
|
||||
{% endwith %}
|
||||
|
||||
9
horizon/templates/horizon/common/_resource_browser.html
Normal file
9
horizon/templates/horizon/common/_resource_browser.html
Normal file
@@ -0,0 +1,9 @@
|
||||
{% load i18n %}
|
||||
<div id="browser_wrapper">
|
||||
<div class="navigation_wrapper">
|
||||
{{ browser.navigation_table.render }}
|
||||
</div>
|
||||
<div class="content_wrapper">
|
||||
{{ browser.content_table.render }}
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user