Browse Source

bring back geography data displays

pull/1/head
Rob Colbert 3 years ago
parent
commit
81e963644a
  1. 50
      app/views/dashboard/link-analyzer.pug
  2. 50
      app/views/dashboard/view.pug

50
app/views/dashboard/link-analyzer.pug

@ -39,36 +39,34 @@ block content
.uk-margin .uk-margin
.uk-card.uk-card-secondary.uk-card-small.uk-card-body .uk-card.uk-card-secondary.uk-card-small.uk-card-body
h5.uk-card-title Top Countries h5.uk-card-title Top Countries
.uk-text-italic Geography data unavailable. table.uk-table.uk-table-small
//- table.uk-table.uk-table-small thead
//- thead tr
//- tr th Country
//- th Country th Visits
//- th Visits tbody
//- tbody each entry in linkCountryStats.stats
//- each entry in linkCountryStats.stats tr
//- tr td.uk-table-expand= entry.country ? entry.country : '--'
//- td.uk-table-expand= entry.country ? entry.country : '--' td= entry.count
//- td= entry.count
div(class="uk-width-1-1 uk-width-1-2@m") div(class="uk-width-1-1 uk-width-1-2@m")
.uk-margin .uk-margin
.uk-card.uk-card-secondary.uk-card-small.uk-card-body .uk-card.uk-card-secondary.uk-card-small.uk-card-body
h5.uk-card-title Top Cities h5.uk-card-title Top Cities
.uk-text-italic Geography data unavailable. table.uk-table.uk-table-small
//- table.uk-table.uk-table-small thead
//- thead tr
//- tr th City
//- th City th(class="uk-visible@m") State
//- th(class="uk-visible@m") State th Country
//- th Country th Visits
//- th Visits tbody
//- tbody each entry in linkCityStats.stats
//- each entry in linkCityStats.stats tr
//- tr td= entry.city ? entry.city : '--'
//- td= entry.city ? entry.city : '--' td(class="uk-visible@m")= entry.region ? entry.region : '--'
//- td(class="uk-visible@m")= entry.region ? entry.region : '--' td= entry.country ? entry.country : '--'
//- td= entry.country ? entry.country : '--' td= entry.count
//- td= entry.count
block viewjs block viewjs
script(src="/chart.js/chart.min.js") script(src="/chart.js/chart.min.js")

50
app/views/dashboard/view.pug

@ -66,36 +66,34 @@ block content
.uk-margin .uk-margin
.uk-card.uk-card-secondary.uk-card-small.uk-card-body .uk-card.uk-card-secondary.uk-card-small.uk-card-body
h5.uk-card-title Top Countries h5.uk-card-title Top Countries
.uk-text-italic Geography data unavailable. table.uk-table.uk-table-small
//- table.uk-table.uk-table-small thead
//- thead tr
//- tr th Country
//- th Country th Visits
//- th Visits tbody
//- tbody each entry in linkCountryStats.stats
//- each entry in linkCountryStats.stats tr
//- tr td.uk-table-expand= entry.country ? entry.country : '--'
//- td.uk-table-expand= entry.country ? entry.country : '--' td= entry.count
//- td= entry.count
.uk-margin .uk-margin
.uk-card.uk-card-secondary.uk-card-small.uk-card-body .uk-card.uk-card-secondary.uk-card-small.uk-card-body
h5.uk-card-title Top Cities h5.uk-card-title Top Cities
.uk-text-italic Geography data unavailable. table.uk-table.uk-table-small
//- table.uk-table.uk-table-small thead
//- thead tr
//- tr th City
//- th City th(class="uk-visible@m") State
//- th(class="uk-visible@m") State th Country
//- th Country th Visits
//- th Visits tbody
//- tbody each entry in linkCityStats.stats
//- each entry in linkCityStats.stats tr
//- tr td= entry.city ? entry.city : '--'
//- td= entry.city ? entry.city : '--' td(class="uk-visible@m")= entry.region ? entry.region : '--'
//- td(class="uk-visible@m")= entry.region ? entry.region : '--' td= entry.country ? entry.country : '--'
//- td= entry.country ? entry.country : '--' td= entry.count
//- td= entry.count
block viewjs block viewjs
script(src="/chart.js/chart.min.js") script(src="/chart.js/chart.min.js")

Loading…
Cancel
Save