diff options
Diffstat (limited to 'creations/neutron')
-rw-r--r-- | creations/neutron/description.txt | 1 | ||||
-rw-r--r-- | creations/neutron/icon.txt | 1 | ||||
-rw-r--r-- | creations/neutron/index.php | 80 | ||||
-rw-r--r-- | creations/neutron/title.txt | 1 |
4 files changed, 83 insertions, 0 deletions
diff --git a/creations/neutron/description.txt b/creations/neutron/description.txt new file mode 100644 index 0000000..da556e3 --- /dev/null +++ b/creations/neutron/description.txt @@ -0,0 +1 @@ +A lightweight content management system in PHP
\ No newline at end of file diff --git a/creations/neutron/icon.txt b/creations/neutron/icon.txt new file mode 100644 index 0000000..952cdbc --- /dev/null +++ b/creations/neutron/icon.txt @@ -0,0 +1 @@ +https://raw.githubusercontent.com/Minteck-Projects/Neutron-Core/trunk/resources/image/siteicon.png
\ No newline at end of file diff --git a/creations/neutron/index.php b/creations/neutron/index.php new file mode 100644 index 0000000..309ebc1 --- /dev/null +++ b/creations/neutron/index.php @@ -0,0 +1,80 @@ +<?php $_TITLE = "Neutron"; require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/header.php"; ?> +<div style="margin-top: 56px;z-index: 5;background: #fff;padding-top: 20px;min-height: calc(100vh - 57px);" id="main-box"> + <div class="container"> + <h2><?= l("Neutron, your future website designer", "Neutron, le futur designer de votre site Web") ?></h2> + + <p>Neutron is software created so that you can easily manage one or more websites without any required knowledge. Whether you are developer or not, Neutron is the best way to have a ready-to-go website.</p> + <p>Neutron is released under the GNU General Public License version 3, which means you can contribute to the project and improve it.</p> + + <h3>Download Neutron</h3> + <div class="card-group"> + <div class="card"> + <div class="card-body" style="text-align: center;"> + <?php + + $releases = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/stats/neutron.json"), true); + foreach ($releases as $release): + + ?> + <?php if (!$release["prerelease"]): ?> + <h3><?= $release["tag_name"] ?></h3> + <h5>Latest Stable Release</h5> + <p><?= $release["name"] ?><br>Downstream from branch <code><?= $release["target_commitish"] ?></code></p> + <div class="btn-group"> + <a href="<?= $release["zipball_url"] ?>" class="btn btn-primary">Download</a> + <a href="https://github.com/Minteck-Projects/Neutron-Core/tree/<?= $release["tag_name"] ?>" class="btn btn-outline-primary">Browse code</a> + </div> + <?php break; endif; endforeach; ?> + </div> + </div> + <div class="card"> + <div class="card-body" style="text-align: center;"> + <?php + + $releases = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/stats/neutron.json"), true); + foreach ($releases as $release): + + ?> + <?php if ($release["prerelease"]): ?> + <h3><?= $release["tag_name"] ?></h3> + <h5>Latest Development Release</h5> + <p><?= $release["name"] ?><br><span class="text-warning">Experimental release, use with caution.</span></p> + <div class="btn-group"> + <a href="<?= $release["zipball_url"] ?>" class="btn btn-primary">Download</a> + <a href="https://github.com/Minteck-Projects/Neutron-Core/tree/<?= $release["tag_name"] ?>" class="btn btn-outline-primary">Browse code</a> + </div> + <?php break; endif; endforeach; ?> + </div> + </div> + </div> + <small><a href="https://github.com/Minteck-Projects/Neutron-Core/releases" target="_blank">Thanks, I'd rather download from GitHub.</a></small> + <br><br> + + <details> + <summary>View all versions (including unsupported versions)</summary> + <ul> + <?php + + $releases = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/stats/neutron.json"), true); + $unveiled = []; + foreach ($releases as $release): + + ?> + <li><a href="<?= $release["html_url"] ?>" target="_blank"><?= $release["tag_name"] ?></a> (<?= $release["name"] ?>, <b><?= $release["prerelease"] ? "experimental" : "stable" ?></b>, upstream: <code><?= $release["target_commitish"] ?></code>) — <a href="<?= $release["zipball_url"] ?>">download</a>, <a href="https://github.com/Minteck-Projects/Neutron-Core/tree/<?= $release["tag_name"] ?>" target="_blank">code</a></li> + <?php array_push($unveiled, $release["tag_name"]);endforeach; ?> + <?php + + $tags = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/stats/neutron2.json"), true); + foreach ($tags as $tag): + + ?> + <?php if (!in_array($tag["name"], $unveiled)): ?> + <li><?= $tag["name"] ?> — <a href="<?= $tag["zipball_url"] ?>">download</a>, <a href="https://github.com/Minteck-Projects/Neutron-Core/tree/<?= $tag["name"] ?>" target="_blank">code</a></li> + <?php endif;endforeach; ?> + </ul> + </details> + </div> + + <br> +</div> +<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/footer.php"; ?> diff --git a/creations/neutron/title.txt b/creations/neutron/title.txt new file mode 100644 index 0000000..d1e3892 --- /dev/null +++ b/creations/neutron/title.txt @@ -0,0 +1 @@ +Neutron
\ No newline at end of file |