Commit graph

12 commits

Author SHA1 Message Date
c06f52837e
WIP refactor (broken templates) 2023-09-25 15:35:54 +02:00
5eed8fa506
Make repo into a Nix flake 2022-12-01 23:25:26 +01:00
59c29e9c76 show everyone in the directory page by default 2021-08-18 12:44:44 +02:00
b1316fb653
go fmt 2021-08-16 16:28:42 +02:00
01bf4aa522
Fix directory searching 2021-08-16 16:27:20 +02:00
e94bd728ec
Improve profile editing page & photo uploading 2021-08-16 15:30:14 +02:00
MrArmonius
f00702b51c
Correction Review Alex
Change json Identifiant to ID
2021-08-16 12:54:08 +02:00
MrArmonius
a2a484daba
Add profile image front-end and back-end
Correct when empty result

The image showed when the result was empty. Now if the `dn == ""` then we
write in the column image just `""`
2021-08-16 12:54:08 +02:00
MrArmonius
0ca6a159b2
Message ID send from Client
Remove commentary code

Correct Empty answer
2021-08-16 12:54:08 +02:00
MrArmonius
815e9bfe2a
Add Description and visibility attributes
Modify in profil's page your description and your choice about show you
on the directory. The default visibility's choice is false. Tthe
description is empty by default.

In the directory, a new row exist to show the description.

Adapt view in column Description

I use the style `word-break: break-all;` on the `<td>`
2021-08-16 12:54:08 +02:00
MrArmonius
cf4918e901
Add MessageID for asynchronous request
ID is stored in the session with the type `uint32`

Correction javascript

For the `for loop`, we need don't forget than know we have in format
`JSON` the response: `search:{..}, id:0`
For the id, don't forget to change the global value of `JS`.
2021-08-16 12:54:08 +02:00
MrArmonius
b1ce932cd6
Add Route + file Directory.go 2021-08-16 12:54:08 +02:00