forked from Reportr/dashboard
-
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.
- Loading branch information
Samy Pessé
committed
Oct 7, 2013
1 parent
e342262
commit d7fef3f
Showing
14 changed files
with
306 additions
and
150 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 |
---|---|---|
@@ -1,25 +1,29 @@ | ||
<div class="report-header"> | ||
<img src="<%- model.icon() %>" class="model-icon"/> | ||
<div class="report-inner"> | ||
<div class="report-header"> | ||
<img src="<%- model.icon() %>" class="model-icon"/> | ||
|
||
<!-- Actions --> | ||
<div class="btn-group pull-right"> | ||
<a href="#" class="btn btn-default action-toggle-options"><i class="icon-cog"></i></a> | ||
<a href="#" class="btn btn-default action-report-remove"><i class="icon-remove"></i></a> | ||
</div> | ||
<div class="btn-group pull-right"> | ||
<!-- Actions --> | ||
<a href="#" class="btn btn-default action-toggle-options"><i class="icon-cog"></i></a> | ||
<a href="#" class="btn btn-default action-report-remove"><i class="icon-remove"></i></a> | ||
|
||
<!-- Visualizations --> | ||
<div class="btn-group pull-right"> | ||
<a data-toggle="dropdown" href="#" class="btn btn-default dropdown-toggle"><%- visualization.name %></a> | ||
<ul class="dropdown-menu" role="menu"> | ||
<% _.each(visualizations, function(visu) { %> | ||
<li><a href="#" data-visualization="<%- visu.id %>"><%- visu.name %></a></li> | ||
<% }); %> | ||
</ul> | ||
</div> | ||
<!-- Visualizations --> | ||
<a data-toggle="dropdown" href="#" class="btn btn-default dropdown-toggle"><%- visualization.name %></a> | ||
<ul class="dropdown-menu" role="menu"> | ||
<% _.each(visualizations, function(visu) { %> | ||
<li><a href="#" data-visualization="<%- visu.id %>"><%- visu.name %></a></li> | ||
<% }); %> | ||
<li class="divider"></li> | ||
<% _.each(layouts, function(value, label) { %> | ||
<li><a href="#" data-layout="<%- value %>"><%= label %></a></li> | ||
<% }); %> | ||
</ul> | ||
</div> | ||
|
||
<h3 class="model-name"><%- model.get('name') %></h3> | ||
<p class="model-description"><%- model.get('description') %></p> | ||
</div> | ||
<%= view.component("report."+visualization.id, { | ||
"report": report | ||
}) %> | ||
<h3 class="model-name"><%- model.get('name') %></h3> | ||
<p class="model-description"><%- model.get('description') %></p> | ||
</div> | ||
<%= view.component("report."+visualization.id, { | ||
"report": report | ||
}) %> | ||
</div> |
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
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
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 |
---|---|---|
@@ -1,21 +1,15 @@ | ||
<div class="reports"> | ||
<div class="row"> | ||
<% if (_.size(reports) > 0) { %> | ||
<% _.each(reports, function(report) { %> | ||
<div class="col-lg-12"> | ||
<%= view.component("report", { | ||
"report": report | ||
}) %> | ||
</div> | ||
<% }); %> | ||
<% } else { %> | ||
<div class="reports-empty"> | ||
<p class="icon"><i class="icon-bar-chart"></i></p> | ||
<h3>No reports yet</h3> | ||
<p>Start tracking events to add reports to this dashboard.</p> | ||
<p>Install the Google Chrome extension to track your web navigation or use the API to track personnalized events.</p> | ||
<p><a href="https://github.com/SamyPesse/reportr" target="_blank">Learn more</a></p> | ||
</div> | ||
<% } %> | ||
<% if (_.size(reports) > 0) { %> | ||
<% _.each(reports, function(report) { %> | ||
<%= view.component("report", { | ||
"report": report | ||
}) %> | ||
<% }); %> | ||
<% } else { %> | ||
<div class="reports-empty"> | ||
<p class="icon"><i class="icon-bar-chart"></i></p> | ||
<h3>No reports yet</h3> | ||
<p>Start tracking events to add reports to this dashboard.</p> | ||
<p>Install the Google Chrome extension to track your web navigation or use the API to track personnalized events.</p> | ||
<p><a href="https://github.com/SamyPesse/reportr" target="_blank">Learn more</a></p> | ||
</div> | ||
</div> | ||
<% } %> |
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 |
---|---|---|
@@ -1,4 +1,8 @@ | ||
.report-list { | ||
.events-table { | ||
margin: 0px; | ||
} | ||
|
||
.hr-list-message-more { | ||
cursor: pointer; | ||
margin: 0px; | ||
|
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
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
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
Oops, something went wrong.