Skip to content

Commit

Permalink
updates html files
Browse files Browse the repository at this point in the history
  • Loading branch information
Salome28 authored Jul 10, 2024
1 parent ad0a83b commit 06ab344
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 13 deletions.
2 changes: 1 addition & 1 deletion EspacePerso.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ <h1> Ajouter un document </h1>
$(document).ready(function() {
$("#logout").on("click", function(event) {
event.preventDefault();
window.location.href = "pageAuthenfication.html";
window.location.href = "index.html";
});
});
</script>
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<br>
<br>
<br>
<form id= "go" method="post" action="recherche.html"></form>
<form id= "go" action="recherche.html"></form>
<div id="titre">
E-CALM QU'EST-CE QUE C'EST ?
</div>
Expand Down Expand Up @@ -53,7 +53,7 @@ <h2> ACCEDER A LA PLATEFORME </h2>
</div>
<br>
<br>
<form id= "go2" method="post" action="pageAuthenfication.html"></form>
<form id= "go2" action="pageAuthenfication.html"></form>
<div id="bas" class="survol">
<h2> PORTAIL CHERCHEUR </h2>
<p>GERER MES DOCUMENTS</p>
Expand Down
2 changes: 1 addition & 1 deletion recherche.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<div class="principale">

<h1> RECHERCHE </h1>
<form id="searchForm" method="post" action="resultat_recherche.html">
<form id="searchForm" action="resultat_recherche.html">
<div class = "div">
<div class="choix">
<p> Niveau </p>
Expand Down
11 changes: 2 additions & 9 deletions resultat_recherche.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,11 @@
<h1> Résultats de votre recherche </h1>

<p>Documents correspondant à la requête : </p>
<br />
<b>Notice</b>: Undefined index: q1 in <b>/home/IdL/2023/vareilll/public_html/resultat_recherche.php</b> on line <b>17</b><br />
<br />
<b>Notice</b>: Undefined index: q2 in <b>/home/IdL/2023/vareilll/public_html/resultat_recherche.php</b> on line <b>18</b><br />
<br />
<b>Notice</b>: Undefined index: q3 in <b>/home/IdL/2023/vareilll/public_html/resultat_recherche.php</b> on line <b>19</b><br />
<br />
<b>Notice</b>: Undefined index: q4 in <b>/home/IdL/2023/vareilll/public_html/resultat_recherche.php</b> on line <b>20</b><br />
<br />

<script>
$(document).ready(function(){
$('.results').on('click', 'span.nomDocument', function(){
console.log('Clic détecté sur un élément avec la classe "nomDocument"');
var nomDocument = $(this).text();
console.log('Nom du document cliqué : ', nomDocument)
var image1 = '<img src="DATA/' + nomDocument + '-001" style="max-width: 35%; max-height: 40%;" class="zoom-img">';
Expand Down

0 comments on commit 06ab344

Please sign in to comment.