-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
12 changed files
with
307 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import Route from '@ember/routing/route'; | ||
|
||
export default class TrustedTenRoute extends Route {} |
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
.ten-grid { | ||
max-width: 860px; | ||
display: grid; | ||
grid-template-columns: repeat(8, 1fr); | ||
grid-template-rows: 56px repeat(10, 28px); | ||
gap: 8px; | ||
} | ||
|
||
.ten-grid > p { | ||
text-align: center; | ||
vertical-align: bottom; | ||
} | ||
|
||
input[type="checkbox"] { | ||
appearance: none; | ||
cursor: pointer; | ||
justify-self: center; | ||
align-self: center; | ||
margin: 0; | ||
width: 1.15em; | ||
height: 1.15em; | ||
border: 0.15em solid grey; | ||
border-radius: 0.15em; | ||
transform: translateY(-0.075em); | ||
display: grid; | ||
place-content: center; | ||
} | ||
|
||
input[type="checkbox"]::before { | ||
content: ""; | ||
width: 0.65em; | ||
height: 0.65em; | ||
transform: scale(0); | ||
transition: 120ms transform ease-in-out; | ||
box-shadow: inset 1em 1em var(--primary-color); | ||
} | ||
|
||
input[type="checkbox"]:checked::before { | ||
transform: scale(1); | ||
} |
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 |
---|---|---|
@@ -0,0 +1,114 @@ | ||
{{page-title (t "ten.pagetitle")}} | ||
<Callout @subtitle={{t "ten.subtitle"}}>{{t "ten.title"}}</Callout> | ||
<p class="intro">{{t "ten.intro" htmlSafe=true}}</p> | ||
|
||
<div class="ten-grid"> | ||
<p id="name">{{t "ten.name"}}</p> | ||
<p>{{t "ten.gender"}}</p> | ||
<p>{{t "ten.race"}}</p> | ||
<p>{{t "ten.age"}}</p> | ||
<p>{{t "ten.sex"}}</p> | ||
<p>{{t "ten.ed"}}</p> | ||
<p>{{t "ten.language"}}</p> | ||
<p>{{t "ten.relation"}}</p> | ||
<input aria-label={{t "ten.name"}} type="input"/> | ||
<input aria-label={{t "ten.gender"}} type="checkbox"/> | ||
<input aria-label={{t "ten.race"}} type="checkbox"/> | ||
<input aria-label={{t "ten.age"}} type="checkbox"/> | ||
<input aria-label={{t "ten.sex"}} type="checkbox"/> | ||
<input aria-label={{t "ten.ed"}} type="checkbox"/> | ||
<input aria-label={{t "ten.language"}} type="checkbox"/> | ||
<input aria-label={{t "ten.relation"}} type="checkbox"/> | ||
|
||
<input aria-label={{t "ten.name"}} type="input"/> | ||
<input aria-label={{t "ten.gender"}} type="checkbox"/> | ||
<input aria-label={{t "ten.race"}} type="checkbox"/> | ||
<input aria-label={{t "ten.age"}} type="checkbox"/> | ||
<input aria-label={{t "ten.sex"}} type="checkbox"/> | ||
<input aria-label={{t "ten.ed"}} type="checkbox"/> | ||
<input aria-label={{t "ten.language"}} type="checkbox"/> | ||
<input aria-label={{t "ten.relation"}} type="checkbox"/> | ||
|
||
<input aria-label={{t "ten.name"}} type="input"/> | ||
<input aria-label={{t "ten.gender"}} type="checkbox"/> | ||
<input aria-label={{t "ten.race"}} type="checkbox"/> | ||
<input aria-label={{t "ten.age"}} type="checkbox"/> | ||
<input aria-label={{t "ten.sex"}} type="checkbox"/> | ||
<input aria-label={{t "ten.ed"}} type="checkbox"/> | ||
<input aria-label={{t "ten.language"}} type="checkbox"/> | ||
<input aria-label={{t "ten.relation"}} type="checkbox"/> | ||
|
||
<input aria-label={{t "ten.name"}} type="input"/> | ||
<input aria-label={{t "ten.gender"}} type="checkbox"/> | ||
<input aria-label={{t "ten.race"}} type="checkbox"/> | ||
<input aria-label={{t "ten.age"}} type="checkbox"/> | ||
<input aria-label={{t "ten.sex"}} type="checkbox"/> | ||
<input aria-label={{t "ten.ed"}} type="checkbox"/> | ||
<input aria-label={{t "ten.language"}} type="checkbox"/> | ||
<input aria-label={{t "ten.relation"}} type="checkbox"/> | ||
|
||
<input aria-label={{t "ten.name"}} type="input"/> | ||
<input aria-label={{t "ten.gender"}} type="checkbox"/> | ||
<input aria-label={{t "ten.race"}} type="checkbox"/> | ||
<input aria-label={{t "ten.age"}} type="checkbox"/> | ||
<input aria-label={{t "ten.sex"}} type="checkbox"/> | ||
<input aria-label={{t "ten.ed"}} type="checkbox"/> | ||
<input aria-label={{t "ten.language"}} type="checkbox"/> | ||
<input aria-label={{t "ten.relation"}} type="checkbox"/> | ||
|
||
<input aria-label={{t "ten.name"}} type="input"/> | ||
<input aria-label={{t "ten.gender"}} type="checkbox"/> | ||
<input aria-label={{t "ten.race"}} type="checkbox"/> | ||
<input aria-label={{t "ten.age"}} type="checkbox"/> | ||
<input aria-label={{t "ten.sex"}} type="checkbox"/> | ||
<input aria-label={{t "ten.ed"}} type="checkbox"/> | ||
<input aria-label={{t "ten.language"}} type="checkbox"/> | ||
<input aria-label={{t "ten.relation"}} type="checkbox"/> | ||
|
||
<input aria-label={{t "ten.name"}} type="input"/> | ||
<input aria-label={{t "ten.gender"}} type="checkbox"/> | ||
<input aria-label={{t "ten.race"}} type="checkbox"/> | ||
<input aria-label={{t "ten.age"}} type="checkbox"/> | ||
<input aria-label={{t "ten.sex"}} type="checkbox"/> | ||
<input aria-label={{t "ten.ed"}} type="checkbox"/> | ||
<input aria-label={{t "ten.language"}} type="checkbox"/> | ||
<input aria-label={{t "ten.relation"}} type="checkbox"/> | ||
|
||
<input aria-label={{t "ten.name"}} type="input"/> | ||
<input aria-label={{t "ten.gender"}} type="checkbox"/> | ||
<input aria-label={{t "ten.race"}} type="checkbox"/> | ||
<input aria-label={{t "ten.age"}} type="checkbox"/> | ||
<input aria-label={{t "ten.sex"}} type="checkbox"/> | ||
<input aria-label={{t "ten.ed"}} type="checkbox"/> | ||
<input aria-label={{t "ten.language"}} type="checkbox"/> | ||
<input aria-label={{t "ten.relation"}} type="checkbox"/> | ||
|
||
<input aria-label={{t "ten.name"}} type="input"/> | ||
<input aria-label={{t "ten.gender"}} type="checkbox"/> | ||
<input aria-label={{t "ten.race"}} type="checkbox"/> | ||
<input aria-label={{t "ten.age"}} type="checkbox"/> | ||
<input aria-label={{t "ten.sex"}} type="checkbox"/> | ||
<input aria-label={{t "ten.ed"}} type="checkbox"/> | ||
<input aria-label={{t "ten.language"}} type="checkbox"/> | ||
<input aria-label={{t "ten.relation"}} type="checkbox"/> | ||
|
||
<input aria-label={{t "ten.name"}} type="input"/> | ||
<input aria-label={{t "ten.gender"}} type="checkbox"/> | ||
<input aria-label={{t "ten.race"}} type="checkbox"/> | ||
<input aria-label={{t "ten.age"}} type="checkbox"/> | ||
<input aria-label={{t "ten.sex"}} type="checkbox"/> | ||
<input aria-label={{t "ten.ed"}} type="checkbox"/> | ||
<input aria-label={{t "ten.language"}} type="checkbox"/> | ||
<input aria-label={{t "ten.relation"}} type="checkbox"/> | ||
|
||
<input aria-label={{t "ten.name"}} type="input"/> | ||
<input aria-label={{t "ten.gender"}} type="checkbox"/> | ||
<input aria-label={{t "ten.race"}} type="checkbox"/> | ||
<input aria-label={{t "ten.age"}} type="checkbox"/> | ||
<input aria-label={{t "ten.sex"}} type="checkbox"/> | ||
<input aria-label={{t "ten.ed"}} type="checkbox"/> | ||
<input aria-label={{t "ten.language"}} type="checkbox"/> | ||
<input aria-label={{t "ten.relation"}} type="checkbox"/> | ||
</div> | ||
<h2 class="cards-title">{{t "ten.reflection"}}</h2> | ||
<p class="intro">{{t "ten.reflection-text" htmlSafe=true}}</p> |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { module, test } from 'qunit'; | ||
import { setupTest } from 'dei-bingo/tests/helpers'; | ||
|
||
module('Unit | Route | trusted-ten', function (hooks) { | ||
setupTest(hooks); | ||
|
||
test('it exists', function (assert) { | ||
let route = this.owner.lookup('route:trusted-ten'); | ||
assert.ok(route); | ||
}); | ||
}); |
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
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