This repository has been archived by the owner on May 13, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed misc UI issues on analytics page
- Loading branch information
1 parent
a5e8374
commit 564cc07
Showing
8 changed files
with
79 additions
and
75 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
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,17 +1,17 @@ | ||
<div id='hourly-views' class='overlay'> | ||
<div data-attr-id="hourly-views" class="col-sm-12 overlay-section"> | ||
<div id='hourly-views' class='overlay col-sm-12'> | ||
<div data-attr-id="hourly-views" class="overlay-section"> | ||
<div class="section-header"> | ||
<div class="section-text"> | ||
Hourly Views (UTC) | ||
</div> | ||
<div class="section-count"> | ||
<%= @analysis[:total] %> | ||
</div> | ||
<button id="hourly-views-zoomout" type="button" class="btn btn-default btn-lg section-zoom"> | ||
<span class='glyphicon glyphicon-fullscreen large'></span> | ||
</button> | ||
<div class="section-count"> | ||
<%= @analysis[:total] %> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div id='hourlyViewsCount' data-visit-count='<%= @analysis[:by_hourly_views] %>'></div> | ||
<div id='hourlyViewsCount' data-visit-count='<%= @analysis[:by_hourly_views] %>' class='chart-modal'></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,16 +1,16 @@ | ||
<div id='page-views' class='overlay'> | ||
<div data-attr-id="page-views" class="col-sm-12 overlay-section"> | ||
<div id='page-views' class='overlay col-sm-12'> | ||
<div data-attr-id="page-views" class="overlay-section"> | ||
<div class="section-header"> | ||
<div class="section-text"> | ||
View by Pages | ||
</div> | ||
<div class="section-count"> | ||
<%= @analysis[:total] %> | ||
</div> | ||
<button id="page-views-zoomout" type="button" class="btn btn-default btn-lg section-zoom"> | ||
<span class='glyphicon glyphicon-fullscreen large'></span> | ||
</button> | ||
<div class="section-count"> | ||
<%= @analysis[:total] %> | ||
</div> | ||
</div> | ||
</div> | ||
<div id='pageViewsCount' data-visit-count='<%= @analysis[:by_page_views] %>'></div> | ||
<div id='pageViewsCount' data-visit-count='<%= @analysis[:by_page_views] %>' class='chart-modal'></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
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,16 +1,16 @@ | ||
<div id='user-clicks' class='overlay'> | ||
<div data-attr-id="user-clicks" class="col-sm-12 overlay-section"> | ||
<div id='user-clicks' class='overlay col-sm-12'> | ||
<div data-attr-id="user-clicks" class="overlay-section"> | ||
<div class="section-header"> | ||
<div class="section-text"> | ||
View by Users | ||
</div> | ||
<div class="section-count"> | ||
<%= @analysis[:total] %> | ||
</div> | ||
<button id="user-clicks-zoomout" type="button" class="btn btn-default btn-lg section-zoom"> | ||
<span class='glyphicon glyphicon-fullscreen large'></span> | ||
</button> | ||
<div class="section-count"> | ||
<%= @analysis[:total] %> | ||
</div> | ||
</div> | ||
</div> | ||
<div id='userViewsCount' data-visit-count='<%= @analysis[:by_user_name] %>'></div> | ||
<div id='userViewsCount' data-visit-count='<%= @analysis[:by_user_name] %>' class='chart-modal'></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,35 +1,35 @@ | ||
<div id='user-pages' class='overlay'> | ||
<div data-attr-id="user-pages" class="col-sm-12 overlay-section"> | ||
<div id='user-pages' class='overlay col-sm-12'> | ||
<div data-attr-id="user-pages" class="overlay-section"> | ||
<div class="section-header"> | ||
<div class="section-text"> | ||
Users' Views by Pages | ||
</div> | ||
<div class="section-count"> | ||
<%= @analysis[:total] %> | ||
</div> | ||
<button id="user-pages-zoomout" type="button" class="btn btn-default btn-lg section-zoom"> | ||
<span class='glyphicon glyphicon-fullscreen large'></span> | ||
</button> | ||
<div class="section-count"> | ||
<%= @analysis[:total] %> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div id='per-user-by-pages-bar' class='overlay-section'> | ||
<div class='clear'></div> | ||
<div id='per-user-by-pages-bar' class='overlay-section chart-modal'> | ||
<div class='left page-views left-navigation'> | ||
<div class="list-group page-views"> | ||
<% JSON.parse(@analysis[:by_user_name]).each do |user_hsh| %> | ||
<a href="#page-views-by-user" class="list-group-item" data-user='<%=user_hsh["user"]%>' data-page-visits='<%= page_visits_by_user(user_hsh['user'])%>'><%= user_hsh["user"] %> - <%= percentage_share(user_hsh["user"], user_hsh["count"], @analysis[:total])%> | ||
<a href="#page-views-by-user" class="list-group-item" | ||
data-user='<%=user_hsh["user"]%>' | ||
data-page-visits='<%= page_visits_by_user(user_hsh['user'])%>'> | ||
<%= user_hsh["user"] %> - <%= percentage_share(user_hsh["user"], user_hsh["count"], @analysis[:total])%> | ||
<span class="badge"><%= user_hsh["count"] %></span> | ||
</a> | ||
<% end %> | ||
</div> | ||
</div> | ||
<div class='left' style="850px;"> | ||
<div class='left'> | ||
<div id="userNameToShow"></div> | ||
<div id='pageViewsByUser'></div> | ||
<div id='pageViewsShareByUser'></div> | ||
</div> | ||
<div id="tooltip"></div> | ||
</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