Skip to content

Commit 7bbb5ef

Browse files
committed
Add Android
1 parent acf6ec9 commit 7bbb5ef

File tree

6 files changed

+90
-30
lines changed

6 files changed

+90
-30
lines changed

src/_config.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,14 @@ menu:
1111
link: /
1212
- name: Docs
1313
link: /docs/
14-
- name: iOS App
15-
link: /ios/
16-
- name: Web Extension
17-
link: /extension/
1814
- name: Screen Shots
1915
link: /screenshots/
16+
- name: iOS
17+
link: /ios/
18+
- name: Android
19+
link: /android/
20+
- name: Browser
21+
link: /extension/
2022

2123
github_name: django-files/web-extension
2224
extension_github: https://github.com/django-files/web-extension
@@ -30,7 +32,12 @@ firefox_url: https://addons.mozilla.org/en-US/firefox/addon/django-files/
3032
discord_invite: https://discord.gg/wXy6m2X8wY
3133
discord_server: 899171661457293343
3234

33-
github_owner_repo: django-files/django-files
34-
github_url: https://github.com/django-files/django-files
35-
github_org: https://github.com/django-files
3635
relay_url: https://relay.cssnr.com/discord/1258944618389569566
36+
37+
github_org: django-files
38+
github_repo: django-files
39+
github_org_url: https://github.com/django-files
40+
github_full_url: https://github.com/django-files/django-files
41+
42+
ios_repo: ios-client
43+
android_repo: android-client

src/html/android.html

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
permalink: /android/
3+
layout: default
4+
title: Android Application
5+
description: Native Android Application for Django Files...
6+
---
7+
8+
<div class="container-fluid">
9+
10+
<h1 class="animate__animated animate__zoomIn"><i class="fa-brands fa-android me-2"></i> {{ page.title }}</h1>
11+
12+
<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>
15+
<a href="{{ site.github_org_url }}/{{ site.android_repo }}/releases/latest" title="GitHub Release Version" target="_blank" rel="noopener">
16+
<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>
19+
<a href="{{ site.github_org_url }}/{{ site.android_repo }}" title="GitHub Top Language" target="_blank" rel="noopener">
20+
<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>
21+
<a href="{{ site.github_org_url }}/{{ site.android_repo }}" title="GitHub Repo Size" target="_blank" rel="noopener">
22+
<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>
23+
<a href="{{ site.github_org_url }}/{{ site.android_repo }}/discussions" title="GitHub Discussions" target="_blank" rel="noopener">
24+
<img alt="GitHub Discussions" class="mb-1 animate__animated animate__zoomIn" src="https://img.shields.io/github/discussions/{{ site.github_org }}/{{ site.android_repo }}?style=for-the-badge&"></a>
25+
<a href="{{ site.github_org_url }}/{{ site.android_repo }}/forks" title="GitHub Forks" target="_blank" rel="noopener">
26+
<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>
27+
<a href="{{ site.github_org_url }}/{{ site.android_repo }}/stargazers" title="GitHub Repo Stars" target="_blank" rel="noopener">
28+
<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">
30+
<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>
31+
</div>
32+
33+
<button type="button" class="btn btn-lg btn-success mt-3 w-100"><i class="fa-brands fa-android me-2"></i> Download for Android</button>
34+
35+
<h2 class="mt-3">Setup</h2>
36+
<ul class="ms-2">
37+
<li>Install and open the app.</li>
38+
<li>Enter the URL to your Django Files server.</li>
39+
<li>Log in as you normally would on the website.</li>
40+
<li>Done! You can now share any file to your Django Files server...</li>
41+
</ul>
42+
43+
<div class="alert alert-info mt-3" role="alert">
44+
Please see the
45+
<a href="{{ site.github_org_url }}/{{ site.android_repo }}?tab=readme-ov-file#readme" class="alert-link" target="_blank" rel="noopener">
46+
README.md on GitHub</a> for more information.
47+
</div>
48+
49+
<p>
50+
51+
</p>
52+
53+
</div>

src/html/docs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ <h1 class="animate__animated animate__zoomIn"><i class="fa-regular fa-file-lines
1313

1414
<p>
1515
Please see the
16-
<a href="{{ site.github_url }}?tab=readme-ov-file#readme" target="_blank" rel="noopener">README.md</a>
16+
<a href="{{ site.github_full_url }}?tab=readme-ov-file#readme" target="_blank" rel="noopener">README.md</a>
1717
for more information.
1818
</p>
1919

src/html/index.html

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@
1010
<h1 class="animate__animated animate__zoomIn"><i class="fa-solid fa-house-laptop me-2"></i> {{ site.site_name }}</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_owner_repo }}?style=for-the-badge&logo=github"></a>
15-
<a href="{{ site.github_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_owner_repo }}?style=for-the-badge&logo=htmx&logoColor=white"></a>
17-
<a href="{{ site.github_url }}" title="GitHub" 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_owner_repo }}?style=for-the-badge&logo=github"></a>
19-
<a href="{{ site.github_url }}/stargazers" title="GitHub" target="_blank" rel="noopener">
20-
<img alt="GitHub Stars" class="mb-1 animate__animated animate__zoomIn" src="https://img.shields.io/github/stars/{{ site.github_owner_repo }}?style=for-the-badge&logo=github&logoColor=white"></a>
21-
<a href="{{ site.github_url }}" title="Mozilla" target="_blank" rel="noopener">
22-
<img alt="GitHub Workflow Build" class="mb-1 animate__animated animate__zoomIn" src="https://img.shields.io/github/actions/workflow/status/{{ site.github_owner_repo }}/build.yaml?style=for-the-badge&logo=github&logoColor=white&label=build"></a>
23-
<a href="{{ site.github_url }}" title="Google" target="_blank" rel="noopener">
24-
<img alt="GitHub Workflow Build" class="mb-1 animate__animated animate__zoomIn" src="https://img.shields.io/github/actions/workflow/status/{{ site.github_owner_repo }}/test.yaml?style=for-the-badge&logo=github&logoColor=white&label=test"></a>
13+
<a href="{{ site.github_full_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.github_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.github_repo }}?style=for-the-badge&logo=htmx&logoColor=white"></a>
17+
<a href="{{ site.github_full_url }}" title="GitHub" 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.github_repo }}?style=for-the-badge&logo=github"></a>
19+
<a href="{{ site.github_full_url }}/stargazers" title="GitHub" target="_blank" rel="noopener">
20+
<img alt="GitHub Stars" class="mb-1 animate__animated animate__zoomIn" src="https://img.shields.io/github/stars/{{ site.github_org }}/{{ site.github_repo }}?style=for-the-badge&logo=github&logoColor=white"></a>
21+
<a href="{{ site.github_full_url }}" title="Mozilla" target="_blank" rel="noopener">
22+
<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 }}/build.yaml?style=for-the-badge&logo=github&logoColor=white&label=build"></a>
23+
<a href="{{ site.github_full_url }}" title="Google" target="_blank" rel="noopener">
24+
<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>
2727
</div>
@@ -31,14 +31,14 @@ <h1 class="animate__animated animate__zoomIn"><i class="fa-solid fa-house-laptop
3131
designed to work with client apps such as <a href="https://github.com/ShareX/ShareX" target="_blank" rel="noopener">ShareX</a> and
3232
<a href="https://github.com/flameshot-org/flameshot" target="_blank" rel="noopener">Flameshot</a>. Django Files is currently
3333
functional but <strong>Under Active Development</strong>. Expect breaking changes until an official
34-
<a href="{{ site.github_url }}/releases" target="_blank" rel="noopener">release</a> is made.
34+
<a href="{{ site.github_full_url }}/releases" target="_blank" rel="noopener">release</a> is made.
3535
</p>
3636

3737
<p>
3838
If you find any bugs please
39-
<a href="{{ site.github_url }}/issues" target="_blank" rel="noopener">Open an Issue</a>.
39+
<a href="{{ site.github_full_url }}/issues" target="_blank" rel="noopener">Open an Issue</a>.
4040
If you have any ideas, suggestions, or requests; submit a
41-
<a href="{{ site.github_url }}/discussions/categories/feature-requests" target="_blank" rel="noopener">Feature Request</a>.
41+
<a href="{{ site.github_full_url }}/discussions/categories/feature-requests" target="_blank" rel="noopener">Feature Request</a>.
4242
You may also get support on the
4343
<a href="{{ site.discord_invite }}" target="_blank" rel="noopener">Discord Server</a>.
4444
</p>

src/html/ios.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
permalink: /ios/
33
layout: default
44
title: iOS Application
5-
description: Native iOS Application for Django Files Coming Soon...
5+
description: Native iOS Application for Django Files...
66
---
77

88
<div class="container-fluid">
@@ -11,10 +11,10 @@ <h1 class="animate__animated animate__zoomIn"><i class="fa-brands fa-apple me-2"
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_url }}#table-of-contents" target="_blank" rel="noopener">README.md</a>
17-
for more information.
18-
</p>
16+
<a href="{{ site.github_org_url }}/{{ site.ios_repo }}?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/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.github_url }}/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.extension_github }}/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.github_url }}/discussions/categories/feature-requests" target="_blank" rel="noopener">Feature Requests</a> are appreciated.
21+
Any <a class="body-link" href="{{ site.extension_github }}/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)