Skip to content

Commit

Permalink
Updated README.md; Fixed minor stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
smirko-dev committed Nov 28, 2020
1 parent e31d8a6 commit 6f3554a
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 15 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ This is a simple clock face for Fitbit.
It comes with
- time (12/24hr format), date (including weekday)
- languages: de-DE, en-EN
- battery icon with status in percentage
- battery icon (Ionic: and status in percentage)
- next calendar event of the current day
- user activity in case of no events
- user activity in case of no events (selectable in settings menu)

Find the latest published version in the [Fitbit gallery](https://gallery.fitbit.com/details/ae441b73-2660-407f-b796-a98d1d0583a0).

Expand All @@ -34,6 +34,10 @@ Icons are from https://materialdesignicons.com/ ([Apache license version 2.0](ht

![Versa 2 Appointment](screenshots/versa2-event.png) ![Versa 2 Activity](screenshots/versa2-activity.png)

### Settings

![Settings](screenshots/settings.png)

## How to build

```
Expand Down
12 changes: 12 additions & 0 deletions common/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,18 @@ export function dayString(day) {
else if (day == 3) {
return "3rd"
}
if (day == 21) {
return "21st"
}
else if (day == 22) {
return "22nd"
}
else if (day == 23) {
return "23rd"
}
if (day == 31) {
return "31st"
}
return day.toString() + "th";
}

Expand Down
10 changes: 5 additions & 5 deletions resources/index.gui
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<svg class="background">
<text id="hourLabel" />
<text id="minuteLabel" />
<text id="dateLabel" opacity=".75" />
<textarea id="appointmentsLabel" opacity=".75" />
<text id="dateLabel" opacity=".8" />
<textarea id="appointmentsLabel" opacity=".8" />
<image id="batteryImage" href="battery-alert.png" x="275" y="5" width="24" height="24" opacity=".6" class="batteryIcon" />
<text id="batteryLabel" opacity=".75" />
<image id="activityIcon" href="steps.png" x="35%" y="80%" width="32" height="32" opacity=".75" class="activityIcon" />
<text id="activityLabel" opacity=".75" />
<text id="batteryLabel" opacity=".8" />
<image id="activityIcon" href="steps.png" x="35%" y="80%" width="32" height="32" opacity=".8" class="activityIcon" />
<text id="activityLabel" opacity=".8" />
</svg>
4 changes: 2 additions & 2 deletions screenshots/ionic-activity.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions screenshots/ionic-event.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions screenshots/versa2-activity.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions screenshots/versa2-event.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6f3554a

Please sign in to comment.