-
Notifications
You must be signed in to change notification settings - Fork 2
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
1 parent
36d941a
commit 8cde939
Showing
6 changed files
with
124 additions
and
70 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 |
---|---|---|
|
@@ -192,7 +192,6 @@ defmodule App.Item do | |
|
||
Ecto.Adapters.SQL.query!(Repo, sql) | ||
|> map_columns_to_values() | ||
|
||
end | ||
|
||
@doc """ | ||
|
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,43 +1,46 @@ | ||
<main class="font-sans container mx-auto"> | ||
<div class="relative overflow-x-auto mt-12"> | ||
<h1 class="mb-12 text-xl font-extrabold leading-none tracking-tight text-gray-900 md:text-5xl lg:text-6xl dark:text-white"> | ||
User metrics | ||
</h1> | ||
<table class="w-full text-sm text-left text-gray-500 dark:text-gray-400"> | ||
<thead class="text-xs text-gray-700 uppercase bg-gray-50 dark:bg-gray-700 dark:text-gray-400"> | ||
<tr> | ||
<th scope="col" class="px-6 py-3"> | ||
Username | ||
</th> | ||
<th scope="col" class="px-6 py-3"> | ||
Id | ||
</th> | ||
<th scope="col" class="px-6 py-3"> | ||
Number of items | ||
</th> | ||
<th scope="col" class="px-6 py-3"> | ||
Number of timers | ||
</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<%= for metric <- @metrics do %> | ||
<tr class="bg-white border-b dark:bg-gray-800 dark:border-gray-700"> | ||
<th scope="row" class="px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white"> | ||
<%= metric.name %> | ||
</th> | ||
<td class="px-6 py-4"> | ||
<%= metric.person_id %> | ||
</td> | ||
<td class="px-6 py-4"> | ||
<%= metric.num_items %> | ||
</td> | ||
<td class="px-6 py-4"> | ||
<%= metric.num_timers %> | ||
</td> | ||
</tr> | ||
<% end %> | ||
</tbody> | ||
</table> | ||
</div> | ||
<div class="relative overflow-x-auto mt-12"> | ||
<h1 class="mb-12 text-xl font-extrabold leading-none tracking-tight text-gray-900 md:text-5xl lg:text-6xl dark:text-white"> | ||
User metrics | ||
</h1> | ||
<table class="w-full text-sm text-left text-gray-500 dark:text-gray-400"> | ||
<thead class="text-xs text-gray-700 uppercase bg-gray-50 dark:bg-gray-700 dark:text-gray-400"> | ||
<tr> | ||
<th scope="col" class="px-6 py-3"> | ||
Username | ||
</th> | ||
<th scope="col" class="px-6 py-3"> | ||
Id | ||
</th> | ||
<th scope="col" class="px-6 py-3"> | ||
Number of items | ||
</th> | ||
<th scope="col" class="px-6 py-3"> | ||
Number of timers | ||
</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<%= for metric <- @metrics do %> | ||
<tr class="bg-white border-b dark:bg-gray-800 dark:border-gray-700"> | ||
<th | ||
scope="row" | ||
class="px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white" | ||
> | ||
<%= metric.name %> | ||
</th> | ||
<td class="px-6 py-4"> | ||
<%= metric.person_id %> | ||
</td> | ||
<td class="px-6 py-4"> | ||
<%= metric.num_items %> | ||
</td> | ||
<td class="px-6 py-4"> | ||
<%= metric.num_timers %> | ||
</td> | ||
</tr> | ||
<% end %> | ||
</tbody> | ||
</table> | ||
</div> | ||
</main> |
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