-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commits override of image-header report, includes print-spec elements…
… re #8
- Loading branch information
1 parent
9a80074
commit bbf4b63
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{% extends "views/report-templates/default.htm" %} | ||
{% load i18n %} | ||
|
||
{% block header %} | ||
<div class="carousel-container" data-bind="carousel: { content: { name: 'carouselItemTemplate', data: imgs } }"></div> | ||
|
||
<template id="carouselItemTemplate"> | ||
</template> | ||
|
||
<!-- ko if: ko.unwrap(imgs) --> | ||
<div class="img-report-print-only-container"> | ||
<!-- ko foreach: {data: imgs, as: 'img'} --> | ||
<img class="img-report-print-only" data-bind="attr: {src: img.src}" /> | ||
<!-- /ko --> | ||
</div> | ||
<!-- /ko --> | ||
{% endblock header %} | ||
|
||
{% block header_form %} | ||
<div class="control-label"> | ||
{% trans "Included Image Nodes" %} | ||
</div> | ||
<div class="col-xs-12 pad-no crud-widget-container"> | ||
<select class="design" data-placeholder="{% trans "Select image nodes to include..." %}" multiple data-bind="selectedOptions: nodes, options: nodeOptions, optionsText: 'name', optionsValue: 'nodeid', chosen: {disable_search_threshold: 10, width: '100%'}"></select> | ||
</div> | ||
{% endblock header_form %} |