View HACKATHONMARKS
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
Group 1 | |
Comments : 10/20 | |
Algo : 12/20 | |
Code clean : 14/20 | |
Repository presentation : 10/20 | |
----------------------- = 11,5/20 | |
Group 2 | |
Comments : 8/20 |
View delete-confirm.js
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
// Add .delete-confirm class to your delete button or href | |
<script> | |
// Swal | |
$('.delete-confirm').on('click', function(e) { | |
var href = this; | |
e.preventDefault(); | |
swal({ | |
title: "Êtes-vous sûr?", | |
text: "Après suppression l'article ne sera plus accessible", |
View gist:1ddb10f3668f89bab3e704e6258f6d83
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
RewriteEngine On | |
RewriteCond %{SERVER_PORT} 80 | |
RewriteCond %{HTTP_HOST} ^devarts\.io$ [OR] | |
RewriteCond %{HTTP_HOST} ^www\.devarts\.io$ | |
RewriteRule ^(.*)$ https://devarts.io/$1 [R,L] |