Skip to content

Commit

Permalink
add TRIfA,
Browse files Browse the repository at this point in the history
correct the wording,
add trifa to js,
add trifa screenshots,
add warning about push notification server access.
  • Loading branch information
zoff99 committed Dec 22, 2021
1 parent 703947b commit f25e4a2
Show file tree
Hide file tree
Showing 6 changed files with 91 additions and 0 deletions.
5 changes: 5 additions & 0 deletions themes/website/static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,11 @@ tbody th:first-child, thead th {
.slider input[type=radio]#atox-images-control1:checked ~ .sliderinner > ul { left: 0 }
.slider input[type=radio]#atox-images-control2:checked ~ .sliderinner > ul { left: -100% }

.slider label[for=trifa-images-control1] { margin-left: -9px }
.slider label[for=trifa-images-control2] { margin-left: 9px }
.slider input[type=radio]#trifa-images-control1:checked ~ .sliderinner > ul { left: 0 }
.slider input[type=radio]#trifa-images-control2:checked ~ .sliderinner > ul { left: -100% }

/* Specific styling */
@media (min-width: 768px) {
#cover {
Expand Down
Binary file added themes/website/static/img/client/trifa_1.png
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 themes/website/static/img/client/trifa_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions themes/website/static/js/osdetect.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,24 @@ if (window.navigator.userAgent.indexOf("Android") != -1) {
icon: "download",
desc: true,
dlLink: "https://github.com/evilcorpltd/aTox/releases/download/v0.6.0/atox.apk",
}, {
title: "TRIfA F-Droid",
name: "trifa",
icon: "external-link",
desc: true,
dlLink: "https://f-droid.org/app/com.zoffcc.applications.trifa",
}, {
title: "TRIfA Google Play",
name: "trifa",
icon: "external-link",
desc: true,
dlLink: "https://play.google.com/store/apps/details?id=com.zoffcc.applications.trifa",
}, {
title: "TRIfA APK",
name: "trifa",
icon: "download",
desc: true,
dlLink: "https://github.com/zoff99/ToxAndroidRefImpl/releases/latest/download/play.trifa.apk",
}];
}

Expand Down
65 changes: 65 additions & 0 deletions themes/website/templates/clients.html
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,40 @@ <h2 class="header">aTox</h2>
<p class="lead">The reasonable Tox client for Android.</p>
</div>

<hr>

<div id="trifa" class="row">
<a href="#trifa-images" class="img-container"><img src="theme/img/client/trifa_1.png"></a>
<h2 class="header">TRIfA</h2>

<table class="table table-condensed">
<tbody>
<tr>
<th>Repository:</th>
<th><a href="https://github.com/zoff99/ToxAndroidRefImpl">https://github.com/zoff99/ToxAndroidRefImpl</a></th>
</tr>
<tr>
<th>Maintainers:</th>
<th><a href="https://github.com/zoff99">Zoff</a></th>
</tr>
<tr>
<th>Language:</th>
<th>Java</th>
</tr>
<tr>
<th>Graphical Toolkit:</th>
<th>N/A</th>
</tr>
<tr>
<th>Operating Systems:</th>
<th>Android</th>
</tr>
</tbody>
</table>

<p class="lead">Tox Reference implementation for Android.</p>
</div>

</div>
</section>

Expand Down Expand Up @@ -252,6 +286,16 @@ <h1>OS support:</h1>
<th class="danger">No</th>
</tr>

<tr>
<th>TRIfA</th>
<th class="danger">No</th>
<th class="danger">No</th>
<th class="danger">No</th>
<th class="danger">No</th>
<th class="success">Yes</th>
<th class="danger">No</th>
</tr>

</tbody>
</table>
</div>
Expand Down Expand Up @@ -367,5 +411,26 @@ <h1>OS support:</h1>
</div>
</div>

<div id="trifa-images" class="modalDialog button">
<div>
<a href="#close" class="close-overlay"></a>
<a href="#close" title="Close" class="close"><span class="fa fa-close">&nbsp;</span></a>

<div class="slider">
<input type="radio" id="trifa-images-control1" name="trifa-images-controls" checked="checked">
<label for="trifa-images-control1"></label>
<input type="radio" id="trifa-images-control2" name="trifa-images-controls">
<label for="trifa-images-control2"></label>

<div class="sliderinner">
<ul>
<li><div><img src="theme/img/client/trifa_2.png"></div></li>
<li><div><img src="theme/img/client/trifa_1.png"></div></li>
</ul>
</div>
</div>
</div>
</div>

</section>
{% endblock %}
3 changes: 3 additions & 0 deletions themes/website/templates/download.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ <h2>FreeBSD</h2>
<img src="theme/img/plat/android_dark.svg">
<h2>Android</h2>
<p class="lead">aTox: <a href="https://f-droid.org/en/packages/ltd.evilcorp.atox/">F-Droid</a> / <a href="https://play.google.com/store/apps/details?id=ltd.evilcorp.atox">Google Play</a> / <a href="https://github.com/evilcorpltd/aTox/releases/download/v0.6.0/atox.apk">APK</a></p>
<p class="lead" style="margin-top:-15px;">⚠️TRIfA: <a href="https://f-droid.org/app/com.zoffcc.applications.trifa">F-Droid</a> / <a href="https://play.google.com/store/apps/details?id=com.zoffcc.applications.trifa">Google Play</a> / <a href="https://github.com/zoff99/ToxAndroidRefImpl/releases/latest/download/play.trifa.apk">APK</a></p>
<p class="lead" style="margin-top:-15px;font-size:88%;text-align: left;">TRIfA uses an experimental (unreviewed) fork of toxcore found: <a href="https://github.com/zoff99/c-toxcore#readme">here</a></p>
<p class="lead" style="margin-top:-15px;font-size:88%;text-align: left;">TRIfA may connect to centralized servers to trigger push notifications (FCM, APN).</p>
</div>
</div>
</div>
Expand Down

0 comments on commit f25e4a2

Please sign in to comment.