Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

translate #66

Open
wants to merge 37 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
7063b25
included call for matches and scorers. NOT FINAL
lavolp3 Feb 4, 2020
57653f9
included choice of more than one competition and matches
lavolp3 Feb 14, 2020
a28f1d1
major update to v2: revolving leagues, cup mode, matches with logos, …
lavolp3 Feb 19, 2020
e11cccb
Merge pull request #1 from lavolp3/develop
lavolp3 Feb 19, 2020
65600f1
included debug logging, updated README, tweaks and fixes und main .js
lavolp3 Feb 20, 2020
ea7adab
Update README.md
lavolp3 Feb 20, 2020
0fb813b
updated screenshots
lavolp3 Feb 20, 2020
c396a1e
Update README.md
lavolp3 Feb 20, 2020
64db1cd
Update README.md
lavolp3 Feb 20, 2020
b4a151a
Updates in README
lavolp3 Feb 21, 2020
3021a5e
Merge Develop (#2)
lavolp3 Feb 21, 2020
9c6557f
stable 1.0.0
lavolp3 Feb 27, 2020
9382d02
Merge pull request #3 from lavolp3/develop
lavolp3 Feb 28, 2020
c081e17
Minor bugfixes
lavolp3 Feb 28, 2020
b306cf7
Update MMM-soccer.js
lavolp3 Feb 28, 2020
13b9feb
Merge pull request #4 from lavolp3/develop
lavolp3 Feb 28, 2020
fa33d2e
Update package.json
lavolp3 Feb 28, 2020
f84c5a1
Update package.json
lavolp3 Feb 28, 2020
9657bac
Update package.json
lavolp3 Feb 28, 2020
eb57a68
Update package.json
lavolp3 Feb 28, 2020
77c465e
bugfixes: self variable not properly declared in calls.
lavolp3 Feb 29, 2020
56c157d
Fixed live mode
lavolp3 Mar 1, 2020
6292b38
fixed live mode
lavolp3 Mar 1, 2020
1ccac93
fixed live mode (again)
lavolp3 Mar 11, 2020
8deb22d
Merge pull request #6 from lavolp3/timeseries
lavolp3 Mar 11, 2020
10bf3cc
Update README.md
lavolp3 Apr 7, 2020
3eacfcd
fixes in live mode and code cosmetics
lavolp3 Jun 8, 2020
cd6137d
several small changes and fix for table focus
lavolp3 Mar 22, 2021
378b472
deleted unnecessary file
lavolp3 Mar 22, 2021
28810e9
fixed results table
lavolp3 Mar 22, 2021
77f64cf
rewind nextmatches date subtraction
lavolp3 Mar 22, 2021
33b6ee7
added games and positive scoring in table
lavolp3 Mar 24, 2021
8ce42ea
pushed axios to 0.21
lavolp3 May 10, 2021
95e2fa6
update to API v4 incl fix of logo missing
lavolp3 Aug 30, 2023
89d6449
Create fr.json
lavolp3 Aug 31, 2023
f13fd8e
Update MMM-soccer.js
lavolp3 Aug 31, 2023
65035a2
Merge pull request #11 from lavolp3/fr_transl
lavolp3 Aug 31, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,3 @@
Thanks for contributing to this module!

Please create pull requests to the branch `develop`.

To hold one code style and standard there are several linters and tools in this project set. Make sure you fullfill the requirements.
Also there will be automatically analysis performed once you created the pull request.
Binary file removed .github/example.jpg
Binary file not shown.
Binary file added .github/example1.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/example2.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed .github/example_focused.png
Binary file not shown.
Binary file removed .github/example_full.png
Binary file not shown.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ build/Release
node_modules
jspm_packages

package-lock.json

# Optional npm cache directory
.npm

Expand Down
24 changes: 1 addition & 23 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,4 @@
# MMM-soccer Changelog

## [2.0.0]

### Added

* Club logo downloader
* New config option `logos`.
* Swedish translations
* Documentation
* [Doclets.io](https://doclets.io/fewieden/MMM-soccer/master) integration
* Contributing guidelines
* Issue template
* Pull request template
* Editor config

### Changed

* Switched from Api v1 to v2.
* Updated league ids.
* Switched rendering from js to nunjuck template.
* Updated travis-ci config.
* Disabled markdown lint rules `MD024` and `MD026`
# MMM-soccer v2 changelog

## [1.0.0]

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2016 fewieden
Copyright (c) 2020 lavolp3

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
82 changes: 80 additions & 2 deletions MMM-soccer.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
.MMM-soccer .soccerWrapper {
#display: flex;
}

.MMM-soccer .icon {
width: 24px;
height: 24px;
}

.MMM-soccer .big-icon {
width: 48px;
}

.MMM-soccer .no-color {
-webkit-filter: grayscale(100%);
}
Expand All @@ -11,8 +19,45 @@
text-align: left;
}

.MMM-soccer .table {
border-spacing: 2px;
.MMM-soccer .matchDay {
text-align: center;
margin-bottom: 10px;
}

.MMM-soccer .games {
margin-bottom: 20px;
}

.MMM-soccer .games .status {
padding: 5px;
border: 4px solid black;
background-color: #99aacc;
color: black;
border-radius: 5px;
text-align: center;
font-size: 100%;
width: 55px;
min-width: 55px;
}

.MMM-soccer .games .status.TIMED{
font-size: 90%;
}

.MMM-soccer .games .IN_PLAY {
color: #fdfd96;
}

.MMM-soccer .games .status.IN_PLAY {
background-color: #fdfd96;
color: black;
}

.MMM-soccer .logo {
max-width: 25px;
width: 25px;
padding: 0px 8px;
vertical-align: middle;
}

.MMM-soccer .centered-row {
Expand All @@ -23,6 +68,19 @@
text-align: center;
}

.MMM-soccer .focused {
font-weight: bold;
}

.MMM-soccer .name .IN_PLAY {
color: yellow;
}


.MMM-soccer .table {
margin: 10px 0px;
}

.MMM-soccer-blur {
-webkit-filter: blur(2px) brightness(50%);
}
Expand All @@ -41,3 +99,23 @@
.MMM-soccer .modal ul {
margin: 0;
}

.MMM-soccer .homeTeam {
text-align: right;
}

.MMM-soccer .matchName {
max-width: 50%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

.MMM-soccer .matchName.winner {
font-weight: bold;
#text-decoration: underline;
}

.MMM-soccer svg {
background-color: #000;
}
Loading