mirror of
https://github.com/seigler/dash-docs
synced 2025-07-28 18:26:13 +00:00
adapt CSS to be either responsive, or specific to mobiles add mobile menu icon to show the hidden menu on touch add optimized language bar menu for mobiles remove 1200px width workaround for the wallet page, description now fit on 1 remove links on wallet icons for :hover compatibility with mobile devices move right buttons into the page (fixes #67) fix contributors plugin to produce W3C valid HTML drop useless classes like .list clean and organize CSS add icon for ios touch devices (fixes #111)
96 lines
4 KiB
HTML
96 lines
4 KiB
HTML
---
|
||
lang: fr
|
||
menufor:
|
||
- text: Particuliers
|
||
url: bitcoin-pour-particuliers
|
||
- text: Organisations
|
||
url: bitcoin-pour-organisations
|
||
- text: Développeurs
|
||
url: bitcoin-pour-developpeurs
|
||
- text: Passionnés
|
||
url: bitcoin-pour-passionnes
|
||
menu:
|
||
- text: Comment ça marche
|
||
url: comment-ca-marche
|
||
- text: Vocabulaire
|
||
url: vocabulaire
|
||
- text: Ressources
|
||
url: ressources
|
||
- text: Communauté
|
||
url: communaute
|
||
- text: Développement
|
||
url: developpement
|
||
- text: Fondation
|
||
url: fondation
|
||
- text: À propos
|
||
url: a-propos
|
||
---
|
||
<!DOCTYPE HTML>
|
||
<html lang="{{ page.lang }}">
|
||
<head>
|
||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||
<meta property="og:image" content="http://bitcoin.org/img/opengraph.png" />
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
|
||
<title>{{ page.title }}</title>
|
||
{% lesscss bootstrap.less %}
|
||
<script type="text/javascript" src="/js/main.js"></script>
|
||
<link rel="shortcut icon" href="/favicon.png">
|
||
<link rel="apple-touch-icon-precomposed" href="/img/logo_ios.png"/>
|
||
</head>
|
||
<body>
|
||
{% if site.ALERT or site.ALERT_fr %}
|
||
{% if site.ALERT_CLASS %}{% assign class = site.ALERT_CLASS%}{% endif %}{% if site.ALERT_CLASS_fr %}{% assign class = site.ALERT_CLASS_fr%}{% endif %}
|
||
{% if site.ALERT %}{% assign alert = site.ALERT%}{% endif %}{% if site.ALERT_fr %}{% assign alert = site.ALERT_fr%}{% endif %}
|
||
<div class="alert-message {{ class }}">
|
||
<div><div>{{ alert }}</div></div>
|
||
</div>
|
||
{% endif %}
|
||
<div id="head"><div>
|
||
<select id="langselect" onchange="window.location=this.value;">
|
||
{% for lang in site.langs %}{% assign la = lang[0]%}{% if lang[0] == page.lang %}{% assign active = ' selected="selected"'%}{% else %}{% assign active = ''%}{% endif %}
|
||
<option value="/{{ lang[0] }}/{{ site.section[page.id][la] }}"{{ active }}>{{ lang[1] }}</option>
|
||
{% endfor %}
|
||
</select>
|
||
<ul id="lang">
|
||
<li><a href="#" onclick="return false;">{{ site.langs[page.lang] }}</a>
|
||
<ul>
|
||
{% for lang in site.langs %}{% if lang[0] != page.lang %}{% assign la = lang[0]%}
|
||
<li><a href="/{{ lang[0] }}/{{ site.section[page.id][la] }}">{{ lang[1] }}</a></li>
|
||
{% endif %}{% endfor %}
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
<a id="logo" href="/{{ page.lang }}/"><img src="/img/logotop.svg" alt="Bitcoin"></a>
|
||
<a href="#" id="menumobile" onclick="mobileshow(event);"></a>
|
||
<ul id="menufor">
|
||
{% for link in page.menufor %}{% assign active = nil %}{% capture fullurl %}{{ '/' | append:page.lang | append:'/' | append:link.url | append:'.html' }}{% endcapture %}{% if page.url == fullurl %}{% assign active = 'active' %}{% endif %}
|
||
<li{% if active %} class="{{ active }}"{% endif %}><a href="/{{ page.lang }}/{{ link.url }}">{{ link.text }}</a></li>
|
||
{% endfor %}
|
||
</ul>
|
||
<ul id="menu">
|
||
{% for link in page.menu %}{% assign active = nil %}{% capture fullurl %}{{ '/' | append:page.lang | append:'/' | append:link.url | append:'.html' }}{% endcapture %}{% if page.url == fullurl %}{% assign active = 'active' %}{% endif %}
|
||
<li{% if active %} class="{{ active }}"{% endif %}><a href="/{{ page.lang }}/{{ link.url }}">{{ link.text }}</a></li>
|
||
{% endfor %}
|
||
</ul>
|
||
</div></div>
|
||
<div id="body">
|
||
<div id="content">
|
||
{{ content }}
|
||
</div>
|
||
<div id="rightbox">
|
||
<div id="choose">
|
||
<a href="/fr/choisir-votre-porte-monnaie"><img src="/img/but_start.svg" alt="Choisissez votre porte-monnaie">Choisissez votre porte-monnaie</a>
|
||
</div>
|
||
<div id="before">
|
||
<a href="/fr/vous-devez-savoir"><img src="/img/but_warn.svg" alt="Vous devez savoir">Vous devez savoir</a>
|
||
</div>
|
||
<div id="support">
|
||
<a href="/fr/supporter-bitcoin"><img src="/img/but_involve.svg" alt="Supporter Bitcoin">Supporter Bitcoin</a>
|
||
</div>
|
||
</div>
|
||
<div id="footer"><div>© Bitcoin Project 2009–2013 Released under the <a href="http://creativecommons.org/licenses/MIT/" target="_blank">MIT license</a></div></div>
|
||
</div>
|
||
<script type="text/javascript">svgfallback();</script>
|
||
</body>
|
||
|
||
</html>
|