Add OLKi, add new category

This commit is contained in:
lostinlight 2020-03-01 23:53:56 +03:00
parent 5420bb4c15
commit 6ff2f620c7
4 changed files with 23 additions and 3 deletions

View file

@ -28,6 +28,7 @@ Please, choose no more than **2 categories** (array of strings) for the tool. Th
* `DevTools` (developer tools: libraries and such) * `DevTools` (developer tools: libraries and such)
* `Plugins` (plugins) * `Plugins` (plugins)
* `Relays` (Fediverse relays) * `Relays` (Fediverse relays)
* `DataForge` (dataset / corpora exchange)
A project may have a logo / image (45x45px), placed in `./source/img/misc` folder. A project may have a logo / image (45x45px), placed in `./source/img/misc` folder.

View file

@ -613,6 +613,24 @@
"OStatusClass": true, "OStatusClass": true,
"categories": ["SN-mi"] "categories": ["SN-mi"]
}, },
{
"title": "OLKi",
"source": "https://framagit.org/synalp/olki/olki",
"protocols": "ActivityPub",
"site": "https://olki.loria.fr/platform",
"logo": "",
"servers": "",
"description": "A self-hosted linguistic corpora exchange platform that aims to be a simple gateway to the Fediverse for scientific interaction.",
"codeLanguage": "Python",
"techStack": "Django, Vue, Nuxt, Spectre.css, Zutre",
"license": "AGPL-3.0",
"FediAccount": "https://mastodon.etalab.gouv.fr/@scifed",
"apClass": true,
"zotClass": false,
"diasporaClass": false,
"OStatusClass": false,
"categories": ["DataForge", "SN-mi"]
},
{ {
"title": "Vervis", "title": "Vervis",
"source": "https://dev.angeley.es/s/fr33domlover/r/vervis/s", "source": "https://dev.angeley.es/s/fr33domlover/r/vervis/s",

View file

@ -3,8 +3,6 @@ layout: layout
--- ---
<% <%
const apps = site.data.miscellaneous.apps;
function langCount(arr) { function langCount(arr) {
let langs = []; let langs = [];
arr.forEach(function(item) { arr.forEach(function(item) {
@ -23,6 +21,7 @@ layout: layout
return langs; return langs;
} }
const apps = site.data.miscellaneous.apps;
const langList = langCount(apps).sort((a,b) => b.count - a.count); const langList = langCount(apps).sort((a,b) => b.count - a.count);
%> %>
@ -39,6 +38,7 @@ layout: layout
<label class="option" for="links">Link sharing</label><input id="links" type="checkbox"> <label class="option" for="links">Link sharing</label><input id="links" type="checkbox">
<label class="option" for="evMeet">Events &#38; meetups</label><input id="evMeet" type="checkbox"> <label class="option" for="evMeet">Events &#38; meetups</label><input id="evMeet" type="checkbox">
<label class="option" for="files">File hosting</label> <input id="files" type="checkbox"> <label class="option" for="files">File hosting</label> <input id="files" type="checkbox">
<label class="option" for="data">Dataset exchange</label><input id="data" type="checkbox">
<label class="option" for="coop">Cooperatives</label><input id="coop" type="checkbox"> <label class="option" for="coop">Cooperatives</label><input id="coop" type="checkbox">
<label class="option" for="dev">Developer Tools</label><input id="dev" type="checkbox"> <label class="option" for="dev">Developer Tools</label><input id="dev" type="checkbox">
<label class="option" for="plugins">Plugins</label><input id="plugins" type="checkbox"> <label class="option" for="plugins">Plugins</label><input id="plugins" type="checkbox">
@ -61,7 +61,7 @@ layout: layout
<% let type = apps[item].categories %> <% let type = apps[item].categories %>
<% let lang = apps[item].codeLanguage.toLowerCase() %> <% let lang = apps[item].codeLanguage.toLowerCase() %>
<button class="card <%= lang %> <% if (apps[item].apClass) { %>ap<% } %> <% if (apps[item].zotClass) { %>zot<% } %> <% if (apps[item].diasporaClass) { %>dia<% } %> <% if (apps[item].OStatusClass) { %>os<% } %> <% for (t in type) { %><%=type[t]%><% } %>"> <button class="card <%= lang %> <% if (apps[item].apClass) { %>ap<% } %> <% if (apps[item].zotClass) { %>zot<% } %> <% if (apps[item].diasporaClass) { %>dia<% } %> <% if (apps[item].OStatusClass) { %>os<% } %> <% for (t in type) { %> <%=type[t]%> <% } %>">
<div class="card__content"> <div class="card__content">
<div class="card__title"> <div class="card__title">

View file

@ -249,6 +249,7 @@
#evMeet:checked ~ .misc__grid .card:not(.Ev-Meet), #evMeet:checked ~ .misc__grid .card:not(.Ev-Meet),
#files:checked ~ .misc__grid .card:not(.Files), #files:checked ~ .misc__grid .card:not(.Files),
#dev:checked ~ .misc__grid .card:not(.DevTools), #dev:checked ~ .misc__grid .card:not(.DevTools),
#data:checked ~ .misc__grid .card:not(.DataForge),
#coop:checked ~ .misc__grid .card:not(.Coop), #coop:checked ~ .misc__grid .card:not(.Coop),
#plugins:checked ~ .misc__grid .card:not(.Plugins), #plugins:checked ~ .misc__grid .card:not(.Plugins),
#relays:checked ~ .misc__grid .card:not(.Relays), #relays:checked ~ .misc__grid .card:not(.Relays),