From 93d13d3875f4b5dcd313b85ee65fb6c8acc46945 Mon Sep 17 00:00:00 2001 From: Amolith Date: Sat, 2 Feb 2019 20:38:24 -0500 Subject: [PATCH] change the card creation method and add search --- app.js | 20 ++++++----- cards.json | 89 +++++++++++++++++++++++++++++++++++++++++++++++++ cards/info.json | 20 ----------- index.html | 76 ++++++----------------------------------- test.html | 28 ---------------- 5 files changed, 110 insertions(+), 123 deletions(-) create mode 100644 cards.json delete mode 100644 cards/info.json delete mode 100644 test.html diff --git a/app.js b/app.js index 0f09039..b5da69a 100644 --- a/app.js +++ b/app.js @@ -9,7 +9,7 @@ $(function(){ read_json: function() { $.ajax({ - url: "cards/info.json", + url: "/cards.json", dataType: 'json', async: false, success: function(data) { @@ -57,13 +57,13 @@ $(function(){ }, create_card: function(d) { $.each(d, function(i){ - view.create_card(d[i].name, d[i].description, d[i].button_text); + view.create_card(d[i].name, d[i].description, d[i].button_text, d[i].link); }); }, filter_data: function(c) { var d = model.filter_data(c); $.each(d, function(i){ - view.create_card(d[i].name, d[i].description, d[i].button_text); + view.create_card(d[i].name, d[i].description, d[i].button_text, d[i].link); }); }, recreate_cards: function() { @@ -74,7 +74,7 @@ $(function(){ // Renomear var view = { init: function() { - this.container = $(".flex-wrapper"); + this.container = $(".flex-cards"); this.search_field = $("#search_field"); view.events(); }, @@ -92,14 +92,16 @@ $(function(){ }); }, - create_card: function(name, desc, bt_txt){ + create_card: function(name, desc, bt_txt, link){ var $card = $("
").addClass("card"); - var $h2 = $("

").addClass("title").text(name); - var $desc = $("
").addClass("description").text(desc); - var $button = $(" -
-
-

Mastodon

-

Mastodon is a decentralised microblogging social network with millions of users worldwide. You can create an account on one "instance" and interact with an instance from across the world.

- -
-
-

Wireguard

-

WireGuard is an open source application and protocol that uses VPN techniques to create secure tunnels in various configurations. It aims to be more performant than OpenVPN or IPsec.

- -
-
-

Gitea

-

Gitea is a simple, easy-to-use and yet full-featured, self-hosted code hosting solution. Users get an initial limit of 5 repos. Please be conscientious of storage use and don't upload large files.

- -
-
-

CodiMD

-

CodiMD is an application that allows users to collaborate in real time on markdown documents and presentations. Perfect for quick and easy slideshows and documentation.

- -
-
-

PrivateBin

-

PrivateBin is a minimalist and open source pastebin that has zero knowledge of pasted data. Everything is encrypted and decrypted in-browser using 256bit AES in Galois Counter mode.

- -
-
-

Plume

-

Plume is an open source and federated blogging platform that can be interacted with and followed from any social network powered by ActivityPub including Mastodon and others!

- -
-
-

wallabag

-

wallabag is like a self-hosted version of Mozilla's Pocket. You throw it some links and it saves them to read later in a minimal UI, and downloads them to the mobile app if you have it.

- -
-
-

NixedWiki

-

NixedWiki is built on BookStack, a simple and easy-to-use platform for organising and storing information. Everything's searchable, it uses the WYSIWYG editor, and much more!

- -
-
-

RSS-Bridge

-

RSS-Bridge is an application that generates feeds for sites that don't support it. There are 179 bridges from YouTube playlists and channels to new Bandcamp releases by tag and many others!

- -
-
-

Jabber/XMPP

-

Jabber/XMPP is a set of open technologies for instant messaging, multi-party chat, and voice/video calls. XMPP stands for the Extensible Messaging and Presence Protocol.

- -
-
-

searX

-

searX is a meta search engine that aggregates results from more than 70 different search engines. Users are neither tracked nor profiled. searX can also be used over Tor for increased anonymity.

- -
-
-

Mumble

-

Mumble is an open source, low-latency, high quality voice chat software primarily intended for use while gaming. It's also great for private calls between yourself and others.

- -
+

+ +
diff --git a/test.html b/test.html deleted file mode 100644 index 5504a90..0000000 --- a/test.html +++ /dev/null @@ -1,28 +0,0 @@ ---- -layout: page -title: "NixNet" -subtitle: "Your one-man Libre Hosting provider" -description: "A network of websites and services hosted by Amolith available for anyone to use free of charge." -cover: /cover.png -permalink: /test/ -priority: 0.9 ---- - -

I host a variety of services that are available for anyone to use free of charge. Below is a list with descriptions of each.

-
-

Status page / Stats page

-
-
-
- -
-
-
-
-
- -
- - -