This repository has been archived on 2026-07-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
espocrm-base/frontend/client/res/templates/dashlet.tpl
T
2015-07-29 10:21:04 +03:00

17 lines
949 B
Smarty

<div id="dashlet-{{id}}" class="panel panel-default dashlet{{#if isDoubleHeight}} double-height{{/if}}" data-name="{{name}}" data-id="{{id}}">
<div class="panel-heading">
<div class="dropdown pull-right menu-container">
<button class="dropdown-toggle btn btn-link btn-sm menu-button" data-toggle="dropdown"><span class="caret"></span></button>
<ul class="dropdown-menu" role="menu">
{{#each actionList}}
<li><a data-action="{{name}}" class="action" href="javascript:">{{#if iconHtml}}{{{iconHtml}}} {{/if}}{{#if html}}{{{html}}}{{else}}{{translate label}}{{/if}}</a></li>
{{/each}}
</ul>
</div>
<h4 class="panel-title">
<span data-action="refresh" class="action" title="{{translate 'Refresh'}}" style="cursor: pointer;">{{title}}</span>
</h4>
</div>
<div class="dashlet-body panel-body">{{{body}}}</div>
</div>