Frontend for new SSH page #22

Merged
esy merged 21 commits from #7-multiple-ssh-keys into main 2024-02-18 17:28:21 +00:00

21 commits

Author SHA1 Message Date
daragh
92a83a2079
fmt , made default textarea bigger 2024-02-18 16:47:22 +00:00
daragh
0851e9934d
fix : styling and word wrap 2024-02-18 16:30:16 +00:00
daragh
e4a48864ad
fix : trailing slash 2024-02-18 13:34:31 +00:00
daragh
318b4136b0
fix : correct api endpoints 2024-02-18 13:32:29 +00:00
daragh
dcbce9942b
Table now refreshes after deleting / adding key
Can get keys multiple times, ssh key is now an attribute of the row, so
no weird logic when deleting the key.
Tested with mockoon seems to be working.
2024-02-18 02:42:06 +00:00
daragh
5f11bbce09 feat : changed post_request to be more general and return true/false based on response 2024-01-01 18:36:48 +00:00
daragh
c215c710b9 fix : remove ssh from modify page , added ssh page to index.html 2024-01-01 18:01:43 +00:00
daragh
cb806ad893 fix : rename ssh.js 2024-01-01 17:16:50 +00:00
daragh
7c2a3e6414 fix : now can catch any errors thrown by awaiting req.json() 2024-01-01 17:16:10 +00:00
daragh
7100dad705 fix : moved ssh stuff int src/ 2024-01-01 17:02:37 +00:00
daragh
a12bd3e040 Merge branch 'main' of https://gitlab.skynet.ie/compsoc1/skynet/ldap/frontend into #7-multiple-ssh-keys
# Conflicts:
#	src/index.html
2024-01-01 16:48:44 +00:00
daragh
c6e0714485
fmt : newline 2023-12-31 08:35:16 +00:00
daragh
202c89ca74
fix : early return, logging errors into frontend 2023-12-31 08:18:33 +00:00
daragh
9b9ea81206
fix : removed testing api endpoints with actual 2023-12-31 07:09:31 +00:00
daragh
128794648c
feat : made input for new key textarea, split keys on their comment to display in table. Made js code use async/await instead of then.
Works fine with mockoon but might need more testing with actual LDAP server.
2023-12-30 23:27:32 +00:00
daragh
7f40a4b259
feat : added link to SSH page from main page
Might also need to remove SSH stuff from modify page
2023-12-30 04:07:35 +00:00
daragh
0af81c6efa
fix : fetch paths 2023-12-30 01:55:45 +00:00
daragh
040fdeaf4a
Merge remote-tracking branch 'origin/#7-multiple-ssh-keys' into #7-multiple-ssh-keys 2023-12-30 01:48:06 +00:00
daragh
115f0257e5
feat : frontend for adding & deleting keys 2023-12-30 01:47:41 +00:00
b2c23910fb Merge branch frontend:main into #7-multiple-ssh-keys 2023-12-27 20:02:09 +00:00
daragh
1e2d2c0408
feat : added frontend for getting ssh keys 2023-12-24 22:15:06 +00:00