- Create election in elections admin
- Enter race meta data
- Set up clarity scrapers for local county races
- Set up any Collin County race results to be clerked, including clerks
- Pair race meta data with race aliases from scrapers
- Pair candidates
- Create a new homepage in the django admin
- Set up the featured races for the homepage module
- !!! Need Allan to remind me how to preview the homepage modules and get the embed codes
- Create a new liveblog in the datalab/admin
This file contains hidden or 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
| value | label | |
|---|---|---|
| 920 | A.C. Green | |
| 1920 | A.J. Bramlett | |
| 2062 | A.J. Guyton | |
| 1627773 | AJ Hammons | |
| 201985 | AJ Price | |
| 201166 | Aaron Brooks | |
| 203932 | Aaron Gordon | |
| 201189 | Aaron Gray | |
| 1626151 | Aaron Harrison |
This file contains hidden or 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 small piece of html would be inside a larger template that's being used to draw something, such as a post --> | |
| <ul> | |
| {{#each pills}} <!-- your each function called on an array that's part of your data object --> | |
| <li>{{getPillText this}}</li> <!-- passing the value of your array to a helper function (first argument in this template tag --> | |
| {{#/each}} | |
| </ul> |
This file contains hidden or 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
| /* | |
| ================================================================================ | |
| CREATE POPUP CONTENT | |
| Creates the content that populates the popup | |
| ================================================================================ | |
| */ | |
| function createPopupContent(feature) { | |
| // grab the id property from the feature we've selected |
This file contains hidden or 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
| document.onkeydown = function(evt) { | |
| evt = evt || window.event; | |
| if (evt.keyCode == 27) { | |
| alert('Esc key pressed.'); | |
| } | |
| }; |
This file contains hidden or 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
| <div class="subscribe-cta"> | |
| <h4>Looking for the next great video story?</h4> | |
| <p>If you enjoy profiles of interesting Texans and video reporting such as this, please consider supporting dallasnews.com by subscribing today.</p> | |
| <a href="https://www.dallasnews.com/offers/sign-up">Subscribe now</a> | |
| </div> |
In the admin (elections-admin.dallasnews.com/admin), go to elections > add election > setup election
- Log in at elections-admin.dallasnews.com
- Choose election
- Under Results Entry, click
Edit metadata - Click
Add Race - Fill out the following form
- Jursidiction: Only required if it's not a federal or state government level race that the AP will not provide metadata for
Before doing any of this, be sure to run all of the OS updates that are available.
Downloads:
This file contains hidden or 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
| .video-block { | |
| width: 55%; | |
| margin: 4.8rem 0; | |
| font-size: 15px; | |
| img { | |
| max-width: 170px !important; | |
| max-height: 18px !important; | |
| } | |
| } | |
| .video-wrapper { |