traduction
This commit is contained in:
parent
a4c78b116f
commit
c57b656380
2 changed files with 1 additions and 2 deletions
|
@ -83,7 +83,7 @@ async function gen_contenu() {
|
||||||
previewCell = document.createElement('td');
|
previewCell = document.createElement('td');
|
||||||
const pdfLink = document.createElement('a');
|
const pdfLink = document.createElement('a');
|
||||||
pdfLink.href = doc.upload_path;
|
pdfLink.href = doc.upload_path;
|
||||||
pdfLink.textContent = 'View PDF';
|
pdfLink.textContent = 'Voir PDF';
|
||||||
pdfLink.target = '_blank';
|
pdfLink.target = '_blank';
|
||||||
previewCell.appendChild(pdfLink);
|
previewCell.appendChild(pdfLink);
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -8,7 +8,6 @@ async function test_auth(){
|
||||||
async function authenticate_user(){
|
async function authenticate_user(){
|
||||||
resp = await fetch("api.php/auth");
|
resp = await fetch("api.php/auth");
|
||||||
data = await resp.json();
|
data = await resp.json();
|
||||||
console.log("test");
|
|
||||||
if(data.status == 1){
|
if(data.status == 1){
|
||||||
document.getElementById("user_status").innerText = data["msg"];
|
document.getElementById("user_status").innerText = data["msg"];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue