Browse Source

Remplacements divers : Googl chez Bronco, Suppression du CDN Green Effet, Fix clic droit lors du suppression de lien

master
Erase 2 years ago
parent
commit
13db566504
7 changed files with 3061 additions and 7 deletions
  1. +1
    -1
      dist/config.json
  2. +1
    -1
      dist/index.html
  3. +1
    -1
      dist/js/script.js
  4. +3053
    -0
      package-lock.json
  5. +1
    -1
      src/config.json
  6. +1
    -1
      src/index.html
  7. +3
    -2
      src/js/app.js

+ 1
- 1
dist/config.json View File

@ -4,7 +4,7 @@
"defaultSearchBaseURL": "https://encrypted.google.com/search?q=",
"commands" : [
{ "key": "s", "name": "Shaarlo", "url": "https://www.shaarlo.fr", "search": "/index.php?from=20130000&to=90130000&q=" },
{ "key": "b", "name": "Googl by Bronco", "url": "https://search.green-effect.fr", "search": "/?lang=fr&mod=web&q=" },
{ "key": "b", "name": "Googl by Bronco", "url": "https://googol.warriordudimanche.net", "search": "/?lang=fr&mod=web&q=" },
{ "key": "g", "name": "GitHub", "url": "https://github.com", "search": "/search?q=" },
{ "key": "m", "name": "Gmail", "url": "https://mail.google.com", "search": "/mail/u/0/#search/" },
{ "key": "t", "name": "Twitter", "url": "https://twitter.com", "search": "/search?q=" },


+ 1
- 1
dist/index.html View File

@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="robots" content="noindex"><meta name="viewport" content="width=device-width,initial-scale=1"><meta http-equiv="x-ua-compatible" content="ie=edge"><title>Nouvel onglet</title><link rel="shortcut icon" href="favicon.ico?1.1" type="image/x-icon"><link rel="icon" href="favicon.ico?1.1" type="image/x-icon"><link rel="stylesheet" href="https://cdn.green-effect.fr/goofi/goofi.php?family=Lato:300:latin"><link rel="stylesheet" href="css/style.css"></head><body><div id="wrapper"><div class="box"><time class="time" id="js-time"></time><br><span id="quotes"></span><br><span id="weather"></span><br><form class="search" id="js-search" autocomplete="off"><input class="search-text" id="js-search-text" type="text" autofocus></form><pre class="help" id="js-help"></pre></div><div class="grid"></div><form id="addLinkForm"><div><label for="titre">Titre du lien</label> <input type="text" id="titre" value=""></div><div><label for="cible">Cible du lien</label> <input type="text" id="cible" value=""></div><input type="submit" value="Ajouter"></form></div><script src="js/script.js"></script></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="robots" content="noindex"><meta name="viewport" content="width=device-width,initial-scale=1"><meta http-equiv="x-ua-compatible" content="ie=edge"><title>Nouvel onglet</title><link rel="shortcut icon" href="favicon.ico?1.1" type="image/x-icon"><link rel="icon" href="favicon.ico?1.1" type="image/x-icon"><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:300:latin"><link rel="stylesheet" href="css/style.css"></head><body><div id="wrapper"><div class="box"><time class="time" id="js-time"></time><br><span id="quotes"></span><br><span id="weather"></span><br><form class="search" id="js-search" autocomplete="off"><input class="search-text" id="js-search-text" type="text" autofocus></form><pre class="help" id="js-help"></pre></div><div class="grid"></div><form id="addLinkForm"><div><label for="titre">Titre du lien</label> <input type="text" id="titre" value=""></div><div><label for="cible">Cible du lien</label> <input type="text" id="cible" value=""></div><input type="submit" value="Ajouter"></form></div><script src="js/script.js"></script></body></html>

+ 1
- 1
dist/js/script.js
File diff suppressed because it is too large
View File


+ 3053
- 0
package-lock.json
File diff suppressed because it is too large
View File


+ 1
- 1
src/config.json View File

@ -4,7 +4,7 @@
"defaultSearchBaseURL": "https://encrypted.google.com/search?q=",
"commands" : [
{ "key": "s", "name": "Shaarlo", "url": "https://www.shaarlo.fr", "search": "/index.php?from=20130000&to=90130000&q=" },
{ "key": "b", "name": "Googl by Bronco", "url": "https://search.green-effect.fr", "search": "/?lang=fr&mod=web&q=" },
{ "key": "b", "name": "Googl by Bronco", "url": "https://googol.warriordudimanche.net", "search": "/?lang=fr&mod=web&q=" },
{ "key": "g", "name": "GitHub", "url": "https://github.com", "search": "/search?q=" },
{ "key": "m", "name": "Gmail", "url": "https://mail.google.com", "search": "/mail/u/0/#search/" },
{ "key": "t", "name": "Twitter", "url": "https://twitter.com", "search": "/search?q=" },


+ 1
- 1
src/index.html View File

@ -11,7 +11,7 @@
<link rel="shortcut icon" href="favicon.ico?1.1" type="image/x-icon">
<link rel="icon" href="favicon.ico?1.1" type="image/x-icon">
<link rel="stylesheet" href="https://cdn.green-effect.fr/goofi/goofi.php?family=Lato:300:latin">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:300:latin">
<link rel="stylesheet" href='css/style.css'>
</head>


+ 3
- 2
src/js/app.js View File

@ -1,9 +1,9 @@
var unsplashCollectionID = 1053828;
var defaultWeatherLocation = 'Limoges';
var defaultWeatherLocation = 'Paris';
var defaultSearchBaseURL = 'https://encrypted.google.com/search?q=';
var commands = [
{ "key": "s", "name": "Shaarlo", "url": "https://www.shaarlo.fr", "search": "/index.php?from=20130000&to=90130000&q=" },
{ "key": "b", "name": "Googl by Bronco", "url": "https://search.green-effect.fr", "search": "/?lang=fr&mod=web&q=" },
{ "key": "b", "name": "Googl by Bronco", "url": "https://googol.warriordudimanche.net", "search": "/?lang=fr&mod=web&q=" },
{ "key": "g", "name": "GitHub", "url": "https://github.com", "search": "/search?q=" },
{ "key": "m", "name": "Gmail", "url": "https://mail.google.com", "search": "/mail/u/0/#search/" },
{ "key": "t", "name": "Twitter", "url": "https://twitter.com", "search": "/search?q=" },
@ -93,6 +93,7 @@ function loadLinks(){
removeLink(key);
alertify.success('Le lien a été correctement supprimé.');
loadLinks();
return false;
});
}else{
$('.grid').html('<span class="small-box" id="add">+</span>');


Loading…
Cancel
Save