]> git.wh0rd.org Git - nano-editor.git/commitdiff
add a page that shows badges from Repology for fourteen distros
authorBenno Schulenberg <bensberg@telfort.nl>
Tue, 29 Jun 2021 15:25:22 +0000 (17:25 +0200)
committerBenno Schulenberg <bensberg@telfort.nl>
Tue, 29 Jun 2021 15:25:22 +0000 (17:25 +0200)
git.php
state.php [new file with mode: 0644]
style-dark.css
style-light.css

diff --git a/git.php b/git.php
index 26306bb9830d688740ef171fce491db0ea7b85e2..b9ccbf93b261796d1cfcea897a6f7b059bb68788 100644 (file)
--- a/git.php
+++ b/git.php
@@ -18,9 +18,16 @@ read the
 instructions</a> located in the git repository itself.
 <p>
 
+<br>
 <center>
 <a href="/"><img src="withnano.png" alt="edited with nano" border="0"></a>
 </center>
+
+<br>
+<center>
+<a href="state.php">Current versions</a> in distros.
+</center>
+
 </blockquote>
 
 </td>
diff --git a/state.php b/state.php
new file mode 100644 (file)
index 0000000..1ae607c
--- /dev/null
+++ b/state.php
@@ -0,0 +1,62 @@
+<?php $title="Current state";  include "top.php"; ?>
+
+<table BORDER=0 CELLSPACING=0 WIDTH="100%">
+<tr VALIGN=TOP><td>
+
+<br>
+<center><b>Latest version in various distros</b></center>
+<br>
+<br>
+
+<div>
+
+<div class="onecolumn">
+<img src="https://repology.org/badge/version-for-repo/arch/nano.svg?header=Arch Linux" alt="Arch package">
+<br>
+<br>
+<img src="https://repology.org/badge/version-for-repo/debian_testing/nano.svg?header=Debian Testing" alt="Debian Testing package">
+<br>
+<br>
+<img src="https://repology.org/badge/version-for-repo/fedora_rawhide/nano.svg?header=Fedora Rawhide" alt="Fedora Rawhide package">
+<br>
+<br>
+<img src="https://repology.org/badge/version-for-repo/freebsd/nano.svg?header=FreeBSD" alt="FreeBSD port">
+<br>
+<br>
+<img src="https://repology.org/badge/version-for-repo/gentoo/nano.svg?header=Gentoo" alt="Gentoo package">
+<br>
+<br>
+<img src="https://repology.org/badge/version-for-repo/gnuguix/nano.svg?header=GNU Guix" alt="GNU Guix package">
+<br>
+<br>
+<img src="https://repology.org/badge/version-for-repo/homebrew/nano.svg?header=Homebrew" alt="Homebrew package">
+</div>
+
+<div class="onecolumn">
+<img src="https://repology.org/badge/version-for-repo/macports/nano.svg?header=MacPorts" alt="MacPorts package">
+<br>
+<br>
+<img src="https://repology.org/badge/version-for-repo/mageia_cauldron/nano.svg?header=Mageia Cauldron" alt="Mageia Cauldron package">
+<br>
+<br>
+<img src="https://repology.org/badge/version-for-repo/pkgsrc_current/nano.svg?header=NetBSD" alt="NetBSD port">
+<br>
+<br>
+<img src="https://repology.org/badge/version-for-repo/openbsd/nano.svg?header=OpenBSD" alt="OpenBSD port">
+<br>
+<br>
+<img src="https://repology.org/badge/version-for-repo/opensuse_tumbleweed/nano.svg?header=openSUSE Tumbleweed" alt="openSUSE Tumbleweed package">
+<br>
+<br>
+<img src="https://repology.org/badge/version-for-repo/slackware_current/nano.svg?header=Slackware current" alt="Slackware current package">
+<br>
+<br>
+<img src="https://repology.org/badge/version-for-repo/termux/nano.svg?header=Termux" alt="Termux package">
+</div>
+
+</div>
+
+</td></tr>
+</table>
+
+<?php include "bottom.php"; ?>
index fe37b06052fbba8e6d77fe660c85017d4bdb1206..6e621b55b244ccb2bb17a4433fe2abfe769abe51 100644 (file)
@@ -24,3 +24,13 @@ a:active {
 .inverted a {
        color: white;
 }
+
+* {
+       box-sizing: border-box;
+}
+
+.onecolumn {
+       float: left;
+       width: 45%;
+       padding: 5%;
+}
index 3a93df5c60435c76e5cbc224ba8d329c9d3a8a5a..7af7eb278c8ce8b1837565ee45052988332312c5 100644 (file)
@@ -24,3 +24,13 @@ a:active {
 .inverted a {
        color: white;
 }
+
+* {
+       box-sizing: border-box;
+}
+
+.onecolumn {
+       float: left;
+       width: 45%;
+       padding: 5%;
+}