mirror of
https://github.com/soulaklabs/bitoduc.fr.git
synced 2025-12-09 01:23:24 +00:00
Merge pull request #137 from ProgVal/sans-javascript
Beau site sans Javascript
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
_site
|
||||||
79
_dispositions/mots.html
Normal file
79
_dispositions/mots.html
Normal file
@@ -0,0 +1,79 @@
|
|||||||
|
{% include entete.html %}
|
||||||
|
|
||||||
|
<!-- Langue -->
|
||||||
|
<h1><a name="ang-fra"><span class="mot-anglais">Anglais</span>-<span class="mot-français">Français</span></a></h1>
|
||||||
|
|
||||||
|
<!-- Index des lettres -->
|
||||||
|
<div class="index">
|
||||||
|
{% assign lettres = site.data.traductions['vrais mots'] | map :"anglais" | map slice :0 | uniq | sort %}
|
||||||
|
{% for lettre in lettres %}
|
||||||
|
<a href="#ang-fra-{{lettre}}">{{lettre}}</a>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Mots -->
|
||||||
|
{% assign ang_fra = site.data.traductions['vrais mots'] | sort :"anglais" %}
|
||||||
|
{% for trad in ang_fra %}
|
||||||
|
{% capture lettre %}{{ trad['anglais'] | slice :0 }}{% endcapture %}
|
||||||
|
|
||||||
|
{% if forloop.first %}
|
||||||
|
<div class="groupe-lettre">
|
||||||
|
<h2><a name="ang-fra-{{lettre}}">{{lettre}}</a></h2>
|
||||||
|
<dl>
|
||||||
|
{% elsif lettre != lettre_avant %}
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
<div class="groupe-lettre">
|
||||||
|
<h2><a name="ang-fra-{{lettre}}">{{lettre}}</a></h2>
|
||||||
|
<dl>
|
||||||
|
{% endif %}
|
||||||
|
{% assign lettre_avant = lettre %}
|
||||||
|
|
||||||
|
<dt class="mot-anglais">{{ trad['anglais'] }}</dt>
|
||||||
|
<dd class="mot-français">{{ trad['français'] }}</dd>
|
||||||
|
|
||||||
|
{% if forloop.last %}
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
<!-- Langue -->
|
||||||
|
<h1><a name="fra-ang"><span class="mot-français">Français</span>-<span class="mot-anglais">Anglais</span></a></h1>
|
||||||
|
|
||||||
|
<!-- Index des lettres -->
|
||||||
|
{% assign lettres = site.data.traductions['vrais mots'] | map :"français" | map slice :0 | uniq | sort %}
|
||||||
|
<div class="index">
|
||||||
|
{% for lettre in lettres %}
|
||||||
|
<a href="#fra-ang-{{lettre}}">{{lettre}}</a>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Mots -->
|
||||||
|
{% assign fra_ang = site.data.traductions['vrais mots'] | sort :"français" %}
|
||||||
|
{% for trad in fra_ang %}
|
||||||
|
{% capture lettre %}{{ trad['français'] | slice :0 }}{% endcapture %}
|
||||||
|
|
||||||
|
{% if forloop.first %}
|
||||||
|
<div class="groupe-lettre">
|
||||||
|
<h2><a name="fra-ang-{{lettre}}">{{lettre}}</a></h2>
|
||||||
|
<dl>
|
||||||
|
{% elsif lettre != lettre_avant %}
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
<div class="groupe-lettre">
|
||||||
|
<h2><a name="fra-ang-{{lettre}}">{{lettre}}</a></h2>
|
||||||
|
<dl>
|
||||||
|
{% endif %}
|
||||||
|
{% assign lettre_avant = lettre %}
|
||||||
|
|
||||||
|
<dt class="mot-français">{{ trad['français'] }}</dt>
|
||||||
|
<dd class="mot-anglais">{{ trad['anglais'] }}</dd>
|
||||||
|
|
||||||
|
{% if forloop.last %}
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
{% include pied.html %}
|
||||||
1
_données/traductions.json
Symbolic link
1
_données/traductions.json
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../traductions.json
|
||||||
@@ -5,14 +5,6 @@
|
|||||||
<title>Bitoduc.fr : la référence selon nous-mêmes sur les termes informatiques en français</title>
|
<title>Bitoduc.fr : la référence selon nous-mêmes sur les termes informatiques en français</title>
|
||||||
<link rel="icon" href="favorimage.ico" />
|
<link rel="icon" href="favorimage.ico" />
|
||||||
<link rel="stylesheet" type="text/css" href="bitoduc.css" />
|
<link rel="stylesheet" type="text/css" href="bitoduc.css" />
|
||||||
|
|
||||||
<script type="text/javascript" src="http://code.jquery.com/jquery-1.11.3.min.js"></script>
|
|
||||||
<script type="text/javascript" src="js/prototypes-fr.js" charset="utf-8"></script>
|
|
||||||
<script type="text/javascript" src="js/principal.js" charset="utf-8"></script>
|
|
||||||
|
|
||||||
<!-- BOGUE: c'est cassé, et personne ne veut le réparer. Tant pis.
|
|
||||||
<script type="text/javascript" src="js/gogol-analytique.js"></script>
|
|
||||||
-->
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="tout">
|
<div id="tout">
|
||||||
@@ -36,26 +28,9 @@
|
|||||||
<div>
|
<div>
|
||||||
<a id="lienInversion" href="#" ></a>
|
<a id="lienInversion" href="#" ></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<a href="#ang-fra"><span class="mot-anglais">Anglais</span>-<span class="mot-français">Français</span></a> - <a href="#fra-ang"><span class="mot-français">Français</span>-<span class="mot-anglais">Anglais</span></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="index">
|
<div id="mots">
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="mots" data-langue="anglais">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="bonheur">
|
|
||||||
<h1>Hyperliens:</h1>
|
|
||||||
<ul>
|
|
||||||
<li>Vous recherchez des <a href="http://tech.no.com">mixs de platinistes de 25 minutes</a>? C'est par ici.</li>
|
|
||||||
<li>Vous recherchez des <a href="http://www.auburnsounds.com">greffons audionumériques de qualité</a>? Vous êtes bien tombé.</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<a href="https://github.com/soulaklabs/bitoduc.fr">
|
|
||||||
<img class="bouton-gh"
|
|
||||||
src="scissionnezmoi_right_gray.png"
|
|
||||||
alt="Scissionnez-moi sur GitHub">
|
|
||||||
</a>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
10
_includes/pied.html
Normal file
10
_includes/pied.html
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="https://github.com/soulaklabs/bitoduc.fr">
|
||||||
|
<img class="bouton-gh"
|
||||||
|
src="scissionnezmoi_right_gray.png"
|
||||||
|
alt="Scissionnez-moi sur GitHub">
|
||||||
|
</a>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
||||||
23
bitoduc.css
23
bitoduc.css
@@ -87,12 +87,12 @@ h3
|
|||||||
width : 50%;
|
width : 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#index
|
.index
|
||||||
{
|
{
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
#index a
|
.index a
|
||||||
{
|
{
|
||||||
font-size: larger;
|
font-size: larger;
|
||||||
color: black;
|
color: black;
|
||||||
@@ -101,7 +101,7 @@ h3
|
|||||||
position:relative;
|
position:relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
#index a:hover
|
.index a:hover
|
||||||
{
|
{
|
||||||
background-color: #999;
|
background-color: #999;
|
||||||
}
|
}
|
||||||
@@ -113,7 +113,22 @@ h3
|
|||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:visited
|
a
|
||||||
{
|
{
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dl {
|
||||||
|
list-style-type: disc;
|
||||||
|
}
|
||||||
|
dt:before {
|
||||||
|
content: "";
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
dt:after {
|
||||||
|
content: ":";
|
||||||
|
}
|
||||||
|
dt, dd {
|
||||||
|
display: inline;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user