Frontend: Fixed Pill not rendering correctly. Backend: Fixed database issues. Updated README.

This commit is contained in:
Yohan Boujon 2024-02-14 21:50:44 +01:00
parent 2c67917f72
commit d6c1970cbc
6 changed files with 19 additions and 9 deletions

View file

@ -18,9 +18,18 @@ sudo /usr/bin/postgresql-setup --initdb
### ⚠️ Be sure to modify your config file to access the postgres database ⚠️ ### ⚠️ Be sure to modify your config file to access the postgres database ⚠️
#### For Fedora/CentOS Based Linux
```bash ```bash
sudo nano /var/lib/pgsql/data/pg_hba.conf sudo nano /var/lib/pgsql/data/pg_hba.conf
``` ```
#### For Debian Based Linux
```bash
sudo nano /etc/postgresql/13/main/pg_hba.conf
```
Then check if those lines are correct: Then check if those lines are correct:
``` ```
# IPv4 local connections: # IPv4 local connections:

View file

@ -6,7 +6,7 @@
CREATE TABLE public.skills ( CREATE TABLE public.skills (
id serial4 NOT NULL, id serial4 NOT NULL,
category_id int4 DEFAULT nextval('skills_category_seq'::regclass) NOT NULL, category_id int4 NOT NULL,
skill text NULL, skill text NULL,
icon text NULL, icon text NULL,
type_icon text NULL, type_icon text NULL,

View file

@ -18,7 +18,7 @@
// Special data on pill // Special data on pill
import st_misc from "$lib/misc/special_tooltip.json"; import st_misc from "$lib/misc/special_tooltip.json";
for (const st in st_misc) { for (const st in st_misc) {
if (st == name) if (st == name && show_tooltip)
tooltip_data.push({ tooltip_data.push({
title: text[st_misc[st]], title: text[st_misc[st]],
}); });

View file

@ -44,7 +44,7 @@
let report_link; let report_link;
let github_link; let github_link;
let archive_link; let archive_link;
let application_link; let app_link;
let id = 0; let id = 0;
async function popupShowed(data) { async function popupShowed(data) {
@ -66,7 +66,7 @@
report_link = data.report_link; report_link = data.report_link;
github_link = data.github_link; github_link = data.github_link;
archive_link = data.archive_link; archive_link = data.archive_link;
application_link = data.application_link; app_link = data.app_link;
filteredTags = filterTag(tags, id); filteredTags = filterTag(tags, id);
// Active set to true after the await to avoid conflict when clicking outside while the popup hasn't showed yet. // Active set to true after the await to avoid conflict when clicking outside while the popup hasn't showed yet.
@ -157,7 +157,7 @@
</div> </div>
{/if} {/if}
<!-- Links --> <!-- Links -->
{#if report_link != null || github_link != null || archive_link != null || application_link != null} {#if report_link != null || github_link != null || archive_link != null || app_link != null}
<div class="popup-subtitle-container"> <div class="popup-subtitle-container">
<SvgIcon size="35" path={mdiLink} type="mdi" /> <SvgIcon size="35" path={mdiLink} type="mdi" />
<p class="slide-subtitle slide-aftericon">{text.popup_links}</p> <p class="slide-subtitle slide-aftericon">{text.popup_links}</p>
@ -193,10 +193,10 @@
<p>{text.popup_dl_arc}</p> <p>{text.popup_dl_arc}</p>
</a> </a>
{/if} {/if}
{#if application_link != null} {#if app_link != null}
<a <a
class="project-popup-download project-popup-application" class="project-popup-download project-popup-application"
href={application_link} href={app_link}
target="_blank" target="_blank"
> >
<SvgIcon size="20" path={mdiDownload} type="mdi" /> <SvgIcon size="20" path={mdiDownload} type="mdi" />

View file

@ -48,7 +48,7 @@
background-color: #ffffff00; background-color: #ffffff00;
visibility: hidden; visibility: hidden;
display: flex; display: flex;
margin-bottom: 4rem; margin-bottom: 9rem;
min-width: 10rem; min-width: 10rem;
} }

View file

@ -7,5 +7,6 @@
"JavaScript": "frontend", "JavaScript": "frontend",
"VS Codium": "frontend", "VS Codium": "frontend",
"Github": "frontend", "Github": "frontend",
"DBeaver": "backend" "DBeaver": "backend",
"Nginx": "backend"
} }