This repository has been archived by the owner on Oct 6, 2020. It is now read-only.
-
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.
fix: Correction des bugs sur 31/09 ou 31/11
- Loading branch information
Showing
22 changed files
with
268 additions
and
36 deletions.
There are no files selected for viewing
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/** | ||
* Nombre de jours en fonction des mois Grégoriens. | ||
* @access private | ||
* @author Gilles Toubiana | ||
* @since 0.0.17 | ||
* @see {@link https://github.com/gtoubiana/acte|Projet sur GitHub} | ||
* @constant {Array} | ||
*/ | ||
const joursDansLeMois = [31, 30, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; |
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
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 |
---|---|---|
@@ -0,0 +1,141 @@ | ||
<!DOCTYPE html> | ||
<html lang="fr"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<!-- Les autres metatags viennent après les 3 ci-dessus --> | ||
<meta name="description" content="{{ name }}.js"> | ||
<meta name="author" content="{{ author }}"> | ||
<link rel="shortcut icon" href="demo/favicon.ico" type="image/x-icon"> | ||
<link rel="icon" href="demo/favicon.ico" type="image/x-icon"> | ||
<title>Acte.js</title> | ||
<!-- Bootstrap core CSS --> | ||
<link href="demo/css/bootstrap.min.css" rel="stylesheet"> | ||
<!-- Custom styles for this template --> | ||
<link href="demo/css/demo-theme.css" rel="stylesheet"> | ||
<!-- IE8 --> | ||
<!--[if lt IE 9]> | ||
<script src="demo/js/html5shiv.min.js"></script> | ||
<script src="demo/js/respond.min.js"></script> | ||
<![endif]--> | ||
</head> | ||
<body> | ||
<nav class="navbar navbar-inverse navbar-fixed-top"> | ||
<div class="container"> | ||
<div class="navbar-header"> | ||
<button type="button" class="navbar-toggle collapsed" | ||
data-toggle="collapse" data-target="#navbar" | ||
aria-expanded="false" aria-controls="navbar"> | ||
<span class="sr-only">Afficher le menu</span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
</button> | ||
<a class="navbar-brand" href="{{ homepage }}">{{ name }} sur Github</a> | ||
</div> | ||
<div id="navbar" class="navbar-collapse collapse"> | ||
<ul class="nav navbar-nav navbar-right"> | ||
<li><a href="{{ homepage }}/blob/master/dist/{{ name }}-{{ version }}-dist.zip?raw=true">Téléchargement</a></li> | ||
<li><a href="{{ homepage }}/blob/master/dist/README.md">Documentation</a></li> | ||
</ul> | ||
</div> | ||
<!--/.navbar-collapse --> | ||
</div> | ||
</nav> | ||
<div class="jumbotron"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-6"> | ||
<!-- <h1>{{ name }}.js</h1> | ||
<p>{{ description }}</p> --> | ||
<img src="demo/img/logo-blanc.png" class="img-responsive logo" alt="logo"> | ||
<br><p>La librairie javascript {{ name }}.js permet de saisir et manipuler des dates grégoriennes, républicaines et juliennes.</p> | ||
</div> | ||
<div class="col-md-6" style="text-align: left;"> | ||
<h3>Comment utiliser la librairie JavaScript ?</h3> | ||
|
||
<h4>Avec Node.js</h4> | ||
|
||
<pre>$ npm install {{ name }} --save</pre> | ||
<h4>Dans une page html</h4> | ||
<pre class="html"><script type="text/javascript" src="{{ name }}.min.js"></script></pre> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<h2 class="violet">Convertir une date</h2> | ||
<p class="lead">La zone de saisie accepte les abbréviations courantes (an V, Xbre, Jet, etc.).<br> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div id="jour_debrider" class="col-md-6"> | ||
<div id="validation_de_jour"> | ||
<label class="sr-only" for="jour">Jour</label> | ||
<input class="form-control" id="jour" type="search" placeholder="Entrez une date !"> | ||
</div> | ||
<div class="checkbox"> | ||
<label> | ||
<input id="debrider" type="checkbox" value="" placeholder="Débrider"> Débrider la conversion <span data-toggle="popover" data-trigger="hover" data-html="true" title="Pourquoi débrider ?" data-content="Le calendrier grégorien est entré en vigueur après le 15/10/1582.<br>Le calendrier républicain a été utilisé à partir du 22/09/1792 jusqu'en 1805 (et pendant la Commune de Paris de mars à mai 1871).<br>Débrider permet d'obtenir des correspondances en dehors de ces bornes." class="glyphicon glyphicon-question-sign interrogation" aria-hidden="true"></span> | ||
</label> | ||
</div> | ||
</div> | ||
<div class="col-md-6" id="affichage_de_jour"> | ||
<table class="table table-bordered table-hover table-striped"><tbody></tbody></table> | ||
</div> | ||
</div> | ||
<hr> | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<div id="disqus_thread"></div> | ||
<script> | ||
/** | ||
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW | ||
* TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS. | ||
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: | ||
* https://disqus.com/admin/universalcode/#configuration-variables */ | ||
/* | ||
var disqus_config = function () { | ||
this.page.url = PAGE_URL; | ||
this.page.identifier = PAGE_IDENTIFIER; | ||
}; | ||
*/ | ||
// DON'T EDIT BELOW THIS LINE | ||
(function () { | ||
var d = document; | ||
var s = d.createElement('script'); | ||
s.src = '//acte-1.disqus.com/embed.js'; | ||
s.setAttribute('data-timestamp', +new Date()); | ||
(d.head || d.body).appendChild(s); | ||
})(); | ||
</script> | ||
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript"> | ||
comments powered by Disqus. | ||
</a> | ||
</noscript> | ||
</div> | ||
</div> | ||
<hr> | ||
<footer> | ||
<p>Copyright (c) 2015-Présent {{ author }}</p> | ||
</footer> | ||
</div> | ||
<!-- /container --> | ||
<!-- Bootstrap core JavaScript | ||
================================================== --> | ||
<script src="dist/acte.min.js"></script> | ||
<!-- Placed at the end of the document so the pages load faster --> | ||
<script src="demo/js/jquery.min.js"></script> | ||
<script src="demo/js/bootstrap.min.js"></script> | ||
<script src="demo/js/script.js"></script> | ||
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug --> | ||
<script src="demo/js/ie10-viewport-bug-workaround.js"></script> | ||
<script id="dsq-count-scr" src="//acte-1.disqus.com/count.js" async></script> | ||
</body> | ||
</html> |
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
Oops, something went wrong.