Skip to content

Commit a08adcc

Browse files
committed
Update Badges
1 parent a95ccdc commit a08adcc

File tree

6 files changed

+36
-21
lines changed

6 files changed

+36
-21
lines changed

src/_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ menu:
2020
- name: Browser
2121
link: /extension/
2222

23-
github_name: django-files/web-extension
23+
ext_repo: web-extension
2424
extension_github: https://github.com/django-files/web-extension
2525

2626
chrome_id: abpbiefojfkekhkjnpakpekkpeibnjej

src/html/android.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
<h1 class="animate__animated animate__zoomIn"><i class="fa-brands fa-android me-2"></i> {{ page.title }}</h1>
1111

1212
<div class="mb-2 badges" style="min-height: 28px;">
13-
<a href="{{ site.github_org_url }}/{{ site.android_repo }}/releases/latest/download/django-files.apk" title="GitHub Downloads" target="_blank" rel="noopener">
14-
<img alt="GitHub Downloads" class="mb-1 animate__animated animate__zoomIn" src="https://img.shields.io/github/downloads/{{ site.github_org }}/{{ site.android_repo }}/total?style=for-the-badge&logo=github"></a>
1513
<a href="{{ site.github_org_url }}/{{ site.android_repo }}/releases/latest" title="GitHub Release Version" target="_blank" rel="noopener">
1614
<img alt="GitHub Release Version" class="mb-1 animate__animated animate__zoomIn" src="https://img.shields.io/github/v/release/{{ site.github_org }}/{{ site.android_repo }}?style=for-the-badge&logo=github"></a>
17-
<a href="{{ site.github_org_url }}/{{ site.android_repo }}/graphs/commit-activity" title="GitHub Last Commit" target="_blank" rel="noopener">
18-
<img alt="GitHub Last Commit" class="mb-1 animate__animated animate__zoomIn" src="https://img.shields.io/github/last-commit/{{ site.github_org }}/{{ site.android_repo }}?style=for-the-badge&logo=github&label=updated"></a>
1915
<a href="{{ site.github_org_url }}/{{ site.android_repo }}" title="GitHub Top Language" target="_blank" rel="noopener">
2016
<img alt="GitHub Top Language" class="mb-1 animate__animated animate__zoomIn" src="https://img.shields.io/github/languages/top/{{ site.github_org }}/{{ site.android_repo }}?style=for-the-badge&logo=htmx"></a>
17+
<a href="{{ site.github_org_url }}/{{ site.android_repo }}/releases/latest/download/django-files.apk" title="GitHub Downloads" target="_blank" rel="noopener">
18+
<img alt="GitHub Downloads" class="mb-1 animate__animated animate__zoomIn" src="https://img.shields.io/github/downloads/{{ site.github_org }}/{{ site.android_repo }}/total?style=for-the-badge&logo=github"></a>
19+
<a href="{{ site.github_org_url }}/{{ site.android_repo }}/graphs/commit-activity" title="GitHub Last Commit" target="_blank" rel="noopener">
20+
<img alt="GitHub Last Commit" class="mb-1 animate__animated animate__zoomIn" src="https://img.shields.io/github/last-commit/{{ site.github_org }}/{{ site.android_repo }}?style=for-the-badge&logo=github&label=updated"></a>
2121
<a href="{{ site.github_org_url }}/{{ site.android_repo }}" title="GitHub Repo Size" target="_blank" rel="noopener">
2222
<img alt="GitHub Repo Size" class="mb-1 animate__animated animate__zoomIn" src="https://img.shields.io/github/repo-size/{{ site.github_org }}/{{ site.android_repo }}?style=for-the-badge&logo=bookstack&logoColor=white&label=repo%20size"></a>
2323
<a href="{{ site.github_org_url }}/{{ site.android_repo }}/discussions" title="GitHub Discussions" target="_blank" rel="noopener">
@@ -26,7 +26,7 @@ <h1 class="animate__animated animate__zoomIn"><i class="fa-brands fa-android me-
2626
<img alt="GitHub Forks" class="mb-1 animate__animated animate__zoomIn" src="https://img.shields.io/github/forks/{{ site.github_org }}/{{ site.android_repo }}?style=for-the-badge&logo=github"></a>
2727
<a href="{{ site.github_org_url }}/{{ site.android_repo }}/stargazers" title="GitHub Repo Stars" target="_blank" rel="noopener">
2828
<img alt="GitHub Repo Stars" class="mb-1 animate__animated animate__zoomIn" src="https://img.shields.io/github/stars/{{ site.github_org }}/{{ site.android_repo }}?style=for-the-badge&logo=github"></a>
29-
<a href="{{ site.discord_invite }}/{{ site.android_repo }}" title="Discord" target="_blank" rel="noopener">
29+
<a href="{{ site.discord_invite }}" title="Discord" target="_blank" rel="noopener">
3030
<img alt="Discord" class="mb-1 animate__animated animate__zoomIn" src="https://img.shields.io/discord/{{ site.discord_server }}?style=for-the-badge&logo=discord&logoColor=white&label=discord&color=7289da"></a>
3131
</div>
3232

src/html/docs.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ <h1 class="animate__animated animate__zoomIn"><i class="fa-regular fa-file-lines
1111

1212
<p class="lead">Coming Soon...</p>
1313

14-
<p>
14+
<div class="alert alert-info mt-3" role="alert">
1515
Please see the
16-
<a href="{{ site.github_full_url }}?tab=readme-ov-file#readme" target="_blank" rel="noopener">README.md</a>
17-
for more information.
18-
</p>
16+
<a href="{{ site.github_full_url }}?tab=readme-ov-file#readme" class="alert-link" target="_blank" rel="noopener">
17+
README.md on GitHub</a> for more information.
18+
</div>
1919

2020
</div>

src/html/extension.html

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
<h1 class="animate__animated animate__zoomIn"><i class="fa-solid fa-globe me-2"></i> {{ page.title }}</h1>
1111

1212
<div class="mb-2 badges" style="min-height: 28px;">
13+
<a href="{{ site.github_url }}/releases/latest" title="GitHub" target="_blank" rel="noopener">
14+
<img alt="GitHub Release Version" class="mb-1 animate__animated animate__zoomIn" src="https://img.shields.io/github/v/release/{{ site.github_org }}/{{ site.ext_repo }}?style=for-the-badge&logo=github"></a>
15+
<a href="{{ site.github_full_url }}?tab=readme-ov-file#readme" title="GitHub" target="_blank" rel="noopener">
16+
<img alt="GitHub Language" class="mb-1 animate__animated animate__zoomIn" src="https://img.shields.io/github/languages/top/{{ site.github_org }}/{{ site.ext_repo }}?style=for-the-badge&logo=htmx&logoColor=white"></a>
1317
<a href="{{ site.chrome_url }}" title="Google" target="_blank" rel="noopener">
1418
<img alt="Chrome Web Store Users" class="mb-1 animate__animated animate__zoomIn" src="https://img.shields.io/chrome-web-store/users/{{ site.chrome_id }}?style=for-the-badge&logo=google&logoColor=white&label=google%20users"></a>
1519
<a href="{{ site.firefox_url }}" title="Mozilla" target="_blank" rel="noopener">
@@ -18,14 +22,12 @@ <h1 class="animate__animated animate__zoomIn"><i class="fa-solid fa-globe me-2">
1822
<img alt="Chrome Web Store Rating" class="mb-1 animate__animated animate__zoomIn" src="https://img.shields.io/chrome-web-store/rating/{{ site.chrome_id }}?style=for-the-badge&logo=google&logoColor=white"></a>
1923
<a href="{{ site.firefox_url }}" title="Mozilla" target="_blank" rel="noopener">
2024
<img alt="Mozilla Add-on Rating" class="mb-1 animate__animated animate__zoomIn" src="https://img.shields.io/amo/rating/{{ site.firefox_id }}?style=for-the-badge&logo=mozilla&logoColor=white"></a>
21-
<a href="{{ site.extension_github }}" title="GitHub" target="_blank" rel="noopener">
22-
<img alt="GitHub Stars" class="mb-1 animate__animated animate__zoomIn" src="https://img.shields.io/github/stars/{{ site.github_name }}?style=for-the-badge&logo=github&logoColor=white"></a>
25+
<a href="{{ site.github_org_url }}/{{ site.ext_repo }}" title="GitHub" target="_blank" rel="noopener">
26+
<img alt="GitHub Stars" class="mb-1 animate__animated animate__zoomIn" src="https://img.shields.io/github/stars/{{ site.github_org }}/{{ site.ext_repo }}?style=for-the-badge&logo=github&logoColor=white"></a>
2327
<a href="{{ site.chrome_url }}" title="Google" target="_blank" rel="noopener">
2428
<img alt="Chrome Web Store Version" class="mb-1 animate__animated animate__zoomIn" src="https://img.shields.io/chrome-web-store/v/{{ site.chrome_id }}?style=for-the-badge&label=chrome&logo=googlechrome"></a>
2529
<a href="{{ site.firefox_url }}" title="Mozilla" target="_blank" rel="noopener">
2630
<img alt="Mozilla Add-on Version" class="mb-1 animate__animated animate__zoomIn" src="https://img.shields.io/amo/v/{{ site.firefox_id }}?style=for-the-badge&label=firefox&logo=firefox"></a>
27-
<a href="{{ site.github_url }}/releases/latest" title="GitHub" target="_blank" rel="noopener">
28-
<img alt="GitHub Release Version" class="mb-1 animate__animated animate__zoomIn" src="https://img.shields.io/github/v/release/{{ site.github_name }}?style=for-the-badge&logo=github"></a>
2931
<a href="{{ site.discord_invite }}" title="Discord" target="_blank" rel="noopener">
3032
<img alt="Join Discord" class="mb-1 animate__animated animate__zoomIn" src="https://img.shields.io/discord/{{ site.discord_server }}?style=for-the-badge&logo=discord&logoColor=white&label=discord&color=7289da"></a>
3133
</div>
@@ -39,8 +41,8 @@ <h1 class="animate__animated animate__zoomIn"><i class="fa-solid fa-globe me-2">
3941
{% comment %}<img src="https://img.shields.io/chrome-web-store/v/{{ site.chrome_id }}?label=chrome&logo=googlechrome" alt="Chrome Web Store Version"></a>{% endcomment %}
4042
{% comment %}<a href="{{ site.firefox_url }}" target="_blank" rel="noopener">{% endcomment %}
4143
{% comment %}<img src="https://img.shields.io/amo/v/{{ site.firefox_id }}?label=firefox&logo=firefox" alt="Mozilla Add-on Version"></a>{% endcomment %}
42-
{% comment %}<a href="{{ site.extension_github }}/releases/latest" target="_blank" rel="noopener">{% endcomment %}
43-
{% comment %}<img src="https://img.shields.io/github/v/release/{{ site.github_name }}?logo=github" alt="GitHub Release Version"></a>{% endcomment %}
44+
{% comment %}<a href="{{ site.github_org_url }}/{{ site.ext_repo }}/releases/latest" target="_blank" rel="noopener">{% endcomment %}
45+
{% comment %}<img src="https://img.shields.io/github/v/release/{{ site.github_org }}/{{ site.ext_repo }}?logo=github" alt="GitHub Release Version"></a>{% endcomment %}
4446
{% comment %}<a href="{{ site.discord_invite }}" title="Discord" target="_blank" rel="noopener">{% endcomment %}
4547
{% comment %}<img src="https://img.shields.io/discord/899171661457293343?logo=discord&logoColor=white&label=discord&color=7289da" alt="Join Discord"></a>{% endcomment %}
4648
{% comment %}</div>{% endcomment %}
@@ -196,17 +198,17 @@ <h2>Support</h2>
196198

197199
<p>
198200
Please submit an
199-
<a href="{{ site.extension_github }}/issues" target="_blank">Issue</a>
201+
<a href="{{ site.github_org_url }}/{{ site.ext_repo }}/issues" target="_blank">Issue</a>
200202
if you find bugs and open a
201-
<a href="{{ site.extension_github }}/discussions/categories/feature-requests" target="_blank">Feature Request</a>
203+
<a href="{{ site.github_org_url }}/{{ site.ext_repo }}/discussions/categories/feature-requests" target="_blank">Feature Request</a>
202204
if you have any ideas, suggestions, or requests.
203205
You may also get support on the
204206
<a href="{{ site.discord_invite }}" target="_blank" rel="noopener">Discord Server</a>.
205207
</p>
206208

207209
<p>
208210
More information can be found on GitHub:
209-
<a href="{{ site.extension_github }}?tab=readme-ov-file#readme" target="_blank" rel="noopener">{{ site.github_name }}</a>
211+
<a href="{{ site.github_org_url }}/{{ site.ext_repo }}?tab=readme-ov-file#readme" target="_blank" rel="noopener">{{ site.github_org }}/{{ site.ext_repo }}</a>
210212
</p>
211213

212214
<script type="text/javascript" src="{{ "/js/extension.js" | relative_url }}"></script>

src/html/index.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ <h1 class="animate__animated animate__zoomIn"><i class="fa-solid fa-house-laptop
2424
<img alt="GitHub Workflow Build" class="mb-1 animate__animated animate__zoomIn" src="https://img.shields.io/github/actions/workflow/status/{{ site.github_org }}/{{ site.github_repo }}/test.yaml?style=for-the-badge&logo=github&logoColor=white&label=test"></a>
2525
<a href="{{ site.discord_invite }}" title="Discord" target="_blank" rel="noopener">
2626
<img alt="Join Discord" class="mb-1 animate__animated animate__zoomIn" src="https://img.shields.io/discord/{{ site.discord_server }}?style=for-the-badge&logo=discord&logoColor=white&label=discord&color=7289da"></a>
27+
<a href="{{ site.github_org_url }}/{{ site.ios_repo }}" title="iOS" target="_blank" rel="noopener">
28+
<img alt="iOS" class="mb-1 animate__animated animate__zoomIn" src="https://img.shields.io/badge/ios-555555?style=for-the-badge&logo=apple"></a>
29+
<a href="{{ site.github_org_url }}/{{ site.android_repo }}" title="Android" target="_blank" rel="noopener">
30+
<img alt="Android" class="mb-1 animate__animated animate__zoomIn" src="https://img.shields.io/badge/android-555555?style=for-the-badge&logo=android"></a>
31+
<a href="{{ site.github_org_url }}/{{ site.ext_repo }}" title="Browser" target="_blank" rel="noopener">
32+
<img alt="Browser" class="mb-1 animate__animated animate__zoomIn" src="https://img.shields.io/badge/browser-555555?style=for-the-badge&logo=googlechrome"></a>
2733
</div>
2834

2935
<p class="lead">
@@ -34,6 +40,13 @@ <h1 class="animate__animated animate__zoomIn"><i class="fa-solid fa-house-laptop
3440
<a href="{{ site.github_full_url }}/releases" target="_blank" rel="noopener">release</a> is made.
3541
</p>
3642

43+
<div class="alert alert-success" role="alert">
44+
Django Files includes client apps for
45+
<a class="alert-link fw-bold" href="{{ "/ios/" | relative_url }}">iOS</a>,
46+
<a class="alert-link fw-bold" href="{{ "/android/" | relative_url }}">Android</a>, and the
47+
<a class="alert-link fw-bold" href="{{ "/extension/" | relative_url }}">Web Browser</a>.
48+
</div>
49+
3750
<p>
3851
If you find any bugs please
3952
<a href="{{ site.github_full_url }}/issues" target="_blank" rel="noopener">Open an Issue</a>.

src/html/uninstall.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ <h1 class="align-middle mb-0">{{ site.site_name }}</h1>
1515
<div class="text-center">
1616
<p class="mb-0">Please let us know why you uninstalled {{ site.site_name }}.</p>
1717
<p id="bug-report" class="mb-1 fs-3 animate__animated animate__delay-1s">
18-
All <a class="body-link" href="{{ site.extension_github }}/issues" target="_blank" rel="noopener">bugs that get reported</a> <span class="d-inline-block fw-bold">will be fixed!</span>
18+
All <a class="body-link" href="{{ site.github_org_url }}/{{ site.android_repo }}/issues" target="_blank" rel="noopener">bugs that get reported</a> <span class="d-inline-block fw-bold">will be fixed!</span>
1919
</p>
2020
<p class="mb-2">
21-
Any <a class="body-link" href="{{ site.extension_github }}/discussions/categories/feature-requests" target="_blank" rel="noopener">Feature Requests</a> are appreciated.
21+
Any <a class="body-link" href="{{ site.github_org_url }}/{{ site.android_repo }}/discussions/categories/feature-requests" target="_blank" rel="noopener">Feature Requests</a> are appreciated.
2222
Support is also available on <a class="body-link" href="{{ site.discord_invite }}" target="_blank" rel="noopener">Discord</a>.
2323
</p>
2424
</div>

0 commit comments

Comments
 (0)