mirror of
https://github.com/getredash/redash.git
synced 2026-05-12 12:00:15 -04:00
- Based on the SuperFlat admin theme (I bought the extended license). - All pages are now full-width to give your data the room it deserves. - Various UX improvements (althuogh there is still room for improvement).
47 lines
1.6 KiB
HTML
47 lines
1.6 KiB
HTML
<div class="tile" ng-controller='EmbeddedVisualizationCtrl'>
|
|
<div class="t-heading">
|
|
<h3 class="th-title">
|
|
<p>
|
|
<img src="/images/redash_icon_small.png" style="height: 24px;"/>
|
|
<visualization-name visualization="visualization"/>
|
|
</p>
|
|
<div class="text-muted" ng-bind-html="query.description | markdown"></div>
|
|
</h3>
|
|
</div>
|
|
|
|
<visualization-renderer visualization="visualization" query-result="queryResult" class="t-body">
|
|
</visualization-renderer>
|
|
|
|
<div class="row bg-ace p-10">
|
|
<div class="col-sm-6">
|
|
<span class="label label-default">Updated: <span am-time-ago="queryResult.getUpdatedAt()"></span></span>
|
|
</div>
|
|
<div class="col-sm-6 text-right">
|
|
<a class="btn btn-default btn-xs" ng-href="queries/{{visualization.query.id}}#{{visualization.id}}" target="_blank" tooltip="Open in re:dash">
|
|
<span class="glyphicon glyphicon-link"></span>
|
|
</a>
|
|
|
|
<div class="btn-group" dropdown>
|
|
<button type="button" class="btn btn-default btn-xs dropdown-toggle" aria-haspopup="true" dropdown-toggle
|
|
aria-expanded="false">
|
|
Download Dataset <span class="caret"></span>
|
|
</button>
|
|
<ul class="dropdown-menu pull-right" dropdown-menu>
|
|
<li>
|
|
<a query-result-link target="_self">
|
|
<span class="fa fa-file-o"></span> Download as CSV File
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a query-result-link file-type="xlsx" target="_self">
|
|
<span class="fa fa-file-excel-o"></span> Download as Excel File
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|