Skip to content

Commit

Permalink
updated custom_card version
Browse files Browse the repository at this point in the history
  • Loading branch information
James Petersen committed May 14, 2019
1 parent 2840a28 commit 0d4957a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Dates object
```yaml
resources:
- type: js
url: /local/lovelace-countdown-dates/lovelace-countdown-dates.js?track=true
url: /local/lovelace-countdown-dates/lovelace-countdown-dates.js?v=1
```
## Example
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.0
0.1.1
2 changes: 1 addition & 1 deletion custom_cards.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"lovelace-countdown-dates": {
"updated_at": "2019-05-14",
"version": "0.1.0",
"version": "0.1.1",
"remote_location": "https://raw.githubusercontent.com/jnpetersen/lovelace-countdown-dates/master/lovelace-countdown-dates.js",
"visit_repo": "https://github.com/jnpetersen/lovelace-countdown-dates",
"changelog": "https://github.com/jnpetersen/lovelace-countdown-dates/releases/latest"
Expand Down
3 changes: 1 addition & 2 deletions lovelace-countdown-dates.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ class CountdownCard extends HTMLElement {
var daysLeft = (this.config.show_age ? "age " + age + ", " : "") + daysLeft;
}

line += `<style>
</style>
line += `
<div style="padding: 5px;">
<div class="countdown-name" style="float:left; width:65%">${element.name}</div>
<div class="countdown-date" style="text-align: right;">${daysLeft} ${this.phrase}</div>
Expand Down

0 comments on commit 0d4957a

Please sign in to comment.