-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
105 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,73 +1,24 @@ | ||
<head> | ||
<title></title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<style> | ||
#myInput { | ||
background-image: url("{{ '/assets/images/icon-search.png?v=' | append: site.github.build_revision | relative_url }}"); | ||
/* Add a search icon to input */ | ||
background-position: 10px 12px; | ||
background-repeat: no-repeat; | ||
width: 75%; | ||
font-size: 16px; | ||
padding: 12px 20px 12px 40px; | ||
border: 1px solid #ddd; | ||
margin-bottom: 12px; | ||
} | ||
|
||
#myUL { | ||
list-style-type: none; | ||
padding: 0; | ||
margin: 0; | ||
} | ||
|
||
#myUL li a { | ||
border: 1px solid #ddd; | ||
margin-top: -1px; | ||
background-color: #f6f6f6; | ||
padding: 12px; | ||
text-decoration: none; | ||
font-size: 18px; | ||
color: black; | ||
display: block; | ||
} | ||
|
||
#myUL li a:hover:not(.header) { | ||
background-color: #eee; | ||
} | ||
|
||
.articles>h2:only-child { | ||
display: none; | ||
} | ||
</style> | ||
|
||
<head> | ||
|
||
|
||
|
||
|
||
<body> | ||
<input type="search" id="myInput" onkeyup="searchFunction()" placeholder="Cherchez un article.."> | ||
|
||
<script> | ||
function searchFunction() { | ||
|
||
var input = document.getElementById('myInput'), | ||
filter = input.value.toUpperCase(), | ||
|
||
//TODO: fix the selection for better search results display | ||
li = document.querySelectorAll(".ul li"); | ||
|
||
// Loop through all list items, and hide those who don't match the search query | ||
for (var i = 0; i < li.length; i++) { | ||
var a = li[i].querySelector("a"); | ||
|
||
if (a.innerHTML.toUpperCase().indexOf(filter) > -1) { | ||
li[i].style.display = "block"; | ||
} else { | ||
li[i].style.display = "none"; | ||
} | ||
</head> | ||
|
||
<body> | ||
<input type="search" id="myInput" onkeyup="searchFunction()" placeholder="Cherchez un article.."> | ||
<script> | ||
function searchFunction() { | ||
var input = document.getElementById('myInput'), | ||
filter = input.value.toUpperCase(), | ||
//TODO: fix the selection for better search results display | ||
li = document.querySelectorAll(".ul li"); | ||
// Loop through all list items, and hide those who don't match the search query | ||
for (var i = 0; i < li.length; i++) { | ||
var a = li[i].querySelector("a"); | ||
if (a.innerHTML.toUpperCase().indexOf(filter) > -1) { | ||
li[i].style.display = "block"; | ||
} else { | ||
li[i].style.display = "none"; | ||
} | ||
} | ||
</script> | ||
|
||
</body> | ||
} | ||
</script> | ||
</body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
- Make available in navigation when a contribution is made | ||
- will list contributors and their contributions here (except articles writtings, see authors page for that) | ||
--- | ||
layout: default | ||
title: Contributeurs | ||
permalink: /contributors/ | ||
--- | ||
|
||
Aucune contribution pour le moment |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters