Files
murano-dashboard/muranodashboard/templates/services/app_tile_small.html
Timur Sufiev 6624d47ca0 Add draggable components to the 'Components page'
* Add components tiles organized via bootstrap carousel widget to the
  environment page
* Make these components draggable, drop area resides inside the
  components table
* Enhance components list with filter field and categories selector
  which perform components filtering client-side

Copy-paste the code for loading modals from horizon.modals.js
into static/muranodashboard/js/load-modals.js to not rely on
change in Horizon.

Implements blueprint draggable-components
Change-Id: I71935db1c5f193441e4a0df54362de7ee2bafca0
2015-03-05 15:40:50 +03:00

13 lines
436 B
HTML

{% load i18n %}
{% load url from future %}
<div class="col-xs-2 draggable_app">
<div class="well well-sm" draggable="true">
<img class="centering" src="{% url 'horizon:murano:catalog:images' app.id %}"
height="50" width="50" draggable="false"/>
<input type="hidden" value="{% url 'horizon:murano:catalog:add' app.id environment_id 'True' 'True' %}"/>
<div class="centering">{{ app.name }}</div>
</div>
</div>