-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added top pages template to include more information about social net…
…works
- Loading branch information
Karolis Rusenas
committed
Jul 31, 2015
1 parent
ea464a3
commit 190d45d
Showing
3 changed files
with
42 additions
and
1 deletion.
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
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 @@ | ||
{{ stats }} |
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,40 @@ | ||
<div id="data-box" class="box"> | ||
|
||
<div class="box-header with-border"> | ||
<h3 class="box-title">{{ table_title }}</h3> | ||
</div> | ||
<!-- /.box-header --> | ||
<div class="box-body"> | ||
<table class="table table-condensed table-bordered"> | ||
<tbody> | ||
<tr> | ||
|
||
<th> Path</th> | ||
<th> Page views</th> | ||
<th> Unique views</th> | ||
<th> Avg. time on page</th> | ||
<th> Bounces</th> | ||
<th> Ent.</th> | ||
<th> Exits</th> | ||
<th><i class="fa fa-fw fa-facebook-official"></i></th> | ||
<th><i class="fa fa-fw fa-twitter"></i></th> | ||
<th><i class="fa fa-fw fa-linkedin"></i></th> | ||
</tr> | ||
{% for idx, row in enumerate(data) %} | ||
<tr> | ||
|
||
{% for value in row %} | ||
<td>{{ value }}</td> | ||
{% end %} | ||
<td> | ||
<iframe class="center" src="/stats/fb-shares?q={{ row[0] }}" frameborder="0"></iframe> | ||
</td> | ||
</tr> | ||
|
||
{% end %} | ||
|
||
</tbody> | ||
</table> | ||
</div> | ||
<!-- /.box-body --> | ||
</div> |