Skip to content

Commit

Permalink
Add IDs to stats sections
Browse files Browse the repository at this point in the history
Allows more targeted manipulation by add-ons
  • Loading branch information
glutanimate committed Jul 16, 2020
1 parent 61017a2 commit 8183ed7
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion ts/src/stats/AddedGraph.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
const subtitle = i18n.tr(i18n.TR.STATISTICS_ADDED_SUBTITLE);
</script>

<div class="graph">
<div class="graph" id="graph-added">
<h1>{title}</h1>

<div class="range-box-inner">
Expand Down
2 changes: 1 addition & 1 deletion ts/src/stats/ButtonsGraph.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
const subtitle = i18n.tr(i18n.TR.STATISTICS_ANSWER_BUTTONS_SUBTITLE);
</script>

<div class="graph">
<div class="graph" id="graph-buttons">
<h1>{title}</h1>

<div class="subtitle">{subtitle}</div>
Expand Down
2 changes: 1 addition & 1 deletion ts/src/stats/CalendarGraph.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
const title = i18n.tr(i18n.TR.STATISTICS_CALENDAR_TITLE);
</script>

<div class="graph">
<div class="graph" id="graph-calendar">
<h1>{title}</h1>

<div class="range-box-inner">
Expand Down
2 changes: 1 addition & 1 deletion ts/src/stats/CardCounts.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
}
</style>

<div class="graph">
<div class="graph" id="graph-card-counts">
<h1>{graphData.title}</h1>

<svg
Expand Down
2 changes: 1 addition & 1 deletion ts/src/stats/EaseGraph.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
const subtitle = i18n.tr(i18n.TR.STATISTICS_CARD_EASE_SUBTITLE);
</script>

<div class="graph">
<div class="graph" id="graph-ease">
<h1>{title}</h1>

<div class="subtitle">{subtitle}</div>
Expand Down
2 changes: 1 addition & 1 deletion ts/src/stats/FutureDue.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
const backlogLabel = i18n.tr(i18n.TR.STATISTICS_BACKLOG_CHECKBOX);
</script>

<div class="graph">
<div class="graph" id="graph-future-due">
<h1>{title}</h1>

<div class="range-box-inner">
Expand Down
2 changes: 1 addition & 1 deletion ts/src/stats/HourGraph.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
const subtitle = i18n.tr(i18n.TR.STATISTICS_HOURS_SUBTITLE);
</script>

<div class="graph">
<div class="graph" id="graph-hour">
<h1>{title}</h1>

<div class="subtitle">{subtitle}</div>
Expand Down
2 changes: 1 addition & 1 deletion ts/src/stats/IntervalsGraph.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
const subtitle = i18n.tr(i18n.TR.STATISTICS_INTERVALS_SUBTITLE);
</script>

<div class="graph intervals">
<div class="graph intervals" id="graph-intervals">
<h1>{title}</h1>

<div class="range-box-inner">
Expand Down
2 changes: 1 addition & 1 deletion ts/src/stats/ReviewsGraph.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
}
</script>

<div class="graph">
<div class="graph" id="graph-reviews">
<h1>{title}</h1>

<div class="range-box-inner">
Expand Down
2 changes: 1 addition & 1 deletion ts/src/stats/TodayStats.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</script>

{#if todayData}
<div class="graph">
<div class="graph" id="graph-today-stats">
<h1>{todayData.title}</h1>

<div class="legend-outer">
Expand Down

0 comments on commit 8183ed7

Please sign in to comment.