Skip to content

Commit

Permalink
Added new item notification to Choroplether card on home page followi…
Browse files Browse the repository at this point in the history
…ng the map label feature going live. Removed expired new item notifications from data page.
  • Loading branch information
itsozz committed Jan 15, 2024
1 parent 1430a17 commit ead6814
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
12 changes: 4 additions & 8 deletions data.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,10 @@ <h2 class="cardHead themeBlockDark">Care homes</h2>
<p class="cardBody">Nursing and residential care homes in Trafford.</p>
</a>

<a href="https://www.trafforddatalab.io/council_open_data/assets/cctv/" class="card themeBlockLight labBorder notification">
<a href="https://www.trafforddatalab.io/council_open_data/assets/cctv/" class="card themeBlockLight labBorder">
<span class="filterTags"><!-- cctv closed circuit television cameras security surveillance public safety crime prevention police --></span>
<h2 class="cardHead themeBlockDark">CCTV cameras</h2>
<p class="cardBody">Locations of Local Authority controlled Closed-Circuit Television (CCTV) cameras in Trafford.</p>
<span class="badge highContrastBlock" aria-label="This item is new" data-added="2023-10-30"><span aria-hidden="true">new</span></span>
</a>

<a href="https://www.trafforddatalab.io/open_data/charities/" class="card themeBlockLight labBorder">
Expand Down Expand Up @@ -176,11 +175,10 @@ <h2 class="cardHead themeBlockDark">Fast food outlets</h2>
<p class="cardBody">The location of fast food outlets in Trafford.</p>
</a>

<a href="https://www.trafforddatalab.io/council_open_data/transparency_code/grants/" class="card themeBlockLight labBorder notification">
<a href="https://www.trafforddatalab.io/council_open_data/transparency_code/grants/" class="card themeBlockLight labBorder">
<span class="filterTags"><!-- grants voluntary sector community social enterprise organisations 360 giving grantnav --></span>
<h2 class="cardHead themeBlockDark">Grants</h2>
<p class="cardBody">Grants allocated by Trafford Council to voluntary, community and social enterprise organisations.</p>
<span class="badge highContrastBlock" aria-label="This item is new" data-added="2023-11-28"><span aria-hidden="true">new</span></span>
</a>

<a href="https://www.trafforddatalab.io/open_data/general_practice/patient_registrations" class="card themeBlockLight labBorder">
Expand Down Expand Up @@ -237,18 +235,16 @@ <h2 class="cardHead themeBlockDark">Population estimates Census 2021</h2>
<p class="cardBody">Estimates of the usual resident population and households in Trafford from the 2021 census. Mid-Year population estimates are available separately.</p>
</a>

<a href="https://www.trafforddatalab.io/open_data/population/mid_year_2022" class="card themeBlockLight labBorder notification">
<a href="https://www.trafforddatalab.io/open_data/population/mid_year_2022" class="card themeBlockLight labBorder">
<span class="filterTags"><!-- population estimates mid-year residents people --></span>
<h2 class="cardHead themeBlockDark">Population estimates 2022</h2>
<p class="cardBody">Estimates of the usual resident population in Trafford during mid-2022 at local authority level.</p>
<span class="badge highContrastBlock" aria-label="This item is new" data-added="2023-11-24"><span aria-hidden="true">new</span></span>
</a>

<a href="https://www.trafforddatalab.io/spatial_data/postcodes/" class="card themeBlockLight labBorder notification">
<a href="https://www.trafforddatalab.io/spatial_data/postcodes/" class="card themeBlockLight labBorder">
<span class="filterTags"><!-- postcodes trafford greater manchester centroids electoral wards localities locality spatial geography geographies --></span>
<h2 class="cardHead themeBlockDark">Postcodes</h2>
<p class="cardBody">Postcode list for Trafford by ward and locality with centroids.</p>
<span class="badge highContrastBlock" aria-label="This item is new" data-added="2023-11-30"><span aria-hidden="true">new</span></span>
</a>

<a href="https://www.trafforddatalab.io/open_data/census2021/religion/" class="card themeBlockLight labBorder">
Expand Down
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,11 @@ <h2>Apps</h2>
<span class="cardBody">Interactively visualise street level crime and anti-social behaviour (ASB) incidents in your area.</span>
</div-->

<div class="card labBorder">
<div class="card labBorder notification">
<span class="filterTags"><!-- visualisation interactive create choropleth maps mapping choroplether export geospatial geography geographies geojson apps webapps applications --></span>
<a href="https://www.trafforddatalab.io/choroplether/" target="_blank"><h3 class="cardHead themeLink">Choroplether</h3><img src="images/choroplether_thumbnail.png" class="thumbnail" alt=""/></a><br class="hideContent"/>
<span class="cardBody">Create <a href="https://www.axismaps.com/guide/univariate/choropleth/" target="_blank">choropleth maps</a> of your own data in <a href="https://vega.github.io/vega-lite/" target="_blank">Vega-Lite</a> without having to write all the code yourself. Export the output as an image or embed it in a web page.</span>
<span class="badge highContrastBlock" aria-label="This item is new" data-added="2024-01-15"><span aria-hidden="true">new</span></span>
</div>

<div class="card labBorder">
Expand Down

0 comments on commit ead6814

Please sign in to comment.