Repository navigation
Expand file tree
/
Copy pathstart.html
More file actions
157 lines (141 loc) · 6.34 KB
/
Copy pathstart.html
File metadata and controls
157 lines (141 loc) · 6.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Homie</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="background-layer"></div>
<div class="container">
<header class="statement-header">
<div>
<p class="eyebrow">For an equal household</p>
<h1>HOMIE</h1>
</div>
<div class="statement-date">
<span>Week</span>
<strong id="weekNumber">--</strong>
</div>
</header>
<section class="summary-grid" aria-label="Household summary">
<article class="summary-card">
<h2>Household Summary</h2>
<dl>
<div>
<dt>Total minutes</dt>
<dd id="totalMinutes">0</dd>
</div>
<div>
<dt>Completed chores</dt>
<dd id="completedCount">0</dd>
</div>
<div>
<dt>Difference</dt>
<dd id="balanceDue">0 min</dd>
</div>
</dl>
</article>
<article class="summary-card">
<h2>Shared Workload</h2>
<dl>
<div>
<dt><span class="dot dot-a"></span><span id="person1AllocationLabel">Person 1</span></dt>
<dd id="person1Percent">50%</dd>
</div>
<div>
<dt><span class="dot dot-b"></span><span id="person2AllocationLabel">Person 2</span></dt>
<dd id="person2Percent">50%</dd>
</div>
<div>
<dt><span class="dot dot-c"></span>Shared goal</dt>
<dd>Even</dd>
</div>
</dl>
</article>
</section>
<main class="statement-body">
<section class="allocation-panel" aria-label="Contribution visualization">
<div class="allocation-account">
<div class="allocation-account-header">
<span class="dot dot-a"></span>
<h2 id="person1GraphLabel">Person 1</h2>
<strong id="person1GraphMinutes">0 min</strong>
</div>
<div class="allocation-stack" id="person1ChoreMap">
<div class="empty-allocation">
<span>+</span>
<p>Add names to begin</p>
</div>
</div>
</div>
<div class="allocation-account">
<div class="allocation-account-header">
<span class="dot dot-b"></span>
<h2 id="person2GraphLabel">Person 2</h2>
<strong id="person2GraphMinutes">0 min</strong>
</div>
<div class="allocation-stack" id="person2ChoreMap">
<div class="empty-allocation">
<span>+</span>
<p>Add names to begin</p>
</div>
</div>
</div>
</section>
<section class="action-panel">
<h2>Add Chore</h2>
<div class="name-grid">
<p class="form-note">Start by naming the household members. Chores unlock after this step.</p>
<label for="person1">Person 1</label>
<input type="text" id="person1" placeholder="Enter name">
<label for="person2">Person 2</label>
<input type="text" id="person2" placeholder="Enter name">
<button id="saveNames">Save names</button>
</div>
<div class="chore-grid is-locked" id="choreForm" aria-hidden="true">
<p class="form-note chore-note">Household names saved. Now log each chore as it happens.</p>
<label for="taskSelect">Chore</label>
<select id="taskSelect" class="native-select" tabindex="-1" aria-hidden="true">
<option value="vacuum">Vacuum</option>
<option value="dishes">Dishes</option>
<option value="laundry">Laundry</option>
<option value="cook">Cook</option>
<option value="tidy">Tidy up</option>
<option value="grocery">Grocery shop</option>
<option value="cleaning">Dusting</option>
<option value="trash">Throw trash</option>
<option value="other">Other</option>
</select>
<div class="custom-select" data-select="taskSelect"></div>
<label for="taskTime">Minutes</label>
<input type="number" id="taskTime" placeholder="Time">
<label for="personSelect">Assigned to</label>
<select id="personSelect" class="native-select" tabindex="-1" aria-hidden="true">
<option value="person1">Person 1</option>
<option value="person2">Person 2</option>
</select>
<div class="custom-select" data-select="personSelect"></div>
<button id="addTask">Add chore</button>
</div>
</section>
</main>
<section class="ledger">
<div class="ledger-header">
<h2>Completed Chores</h2>
<p id="comparison">Both have contributed equally in terms of time.</p>
</div>
<ul id="taskList"></ul>
</section>
</div>
<div class="modal-overlay" id="appModal" hidden>
<div class="modal-card" role="dialog" aria-modal="true" aria-labelledby="modalTitle">
<h2 id="modalTitle">One thing first</h2>
<p id="modalMessage"></p>
<button id="modalClose">Got it</button>
</div>
</div>
<script src="script.js"></script>
</body>
</html>