(Grav GitSync) Automatic Commit from rodolphe
This commit is contained in:
parent
6059d7fe7f
commit
cb8eb00605
14 changed files with 213 additions and 1 deletions
|
@ -74,7 +74,7 @@ UUID=4a5b5a94-88ea-4328-a05b-4a3fae339ed2 /mnt/media ext4 defaults,nofail 0
|
||||||
UUID=d0294479-075c-480b-972e-0131fef47a5d /var/mail ext4 defaults0 1
|
UUID=d0294479-075c-480b-972e-0131fef47a5d /var/mail ext4 defaults0 1
|
||||||
# partition apps cryptpad et etherpad_mypads
|
# partition apps cryptpad et etherpad_mypads
|
||||||
UUID=983ea66d-4732-431a-9d31-86eb85bb9431 /mnt/pad ext4 defaults,nofail 0 0
|
UUID=983ea66d-4732-431a-9d31-86eb85bb9431 /mnt/pad ext4 defaults,nofail 0 0
|
||||||
/mnt/pad/cryptpad /var/www/cryptpad none defaults,bind 0 0
|
# /mnt/pad/cryptpad /var/www/cryptpad none defaults,bind 0 0
|
||||||
/mnt/pad/etherpad_mypads /var/www/etherpad_mypads none defaults,bind 0 0
|
/mnt/pad/etherpad_mypads /var/www/etherpad_mypads none defaults,bind 0 0
|
||||||
/mnt/pad/libreto /var/www/libreto none defaults,bind 0 0
|
/mnt/pad/libreto /var/www/libreto none defaults,bind 0 0
|
||||||
# partition swap
|
# partition swap
|
||||||
|
|
3
themes/documentations-linux07/images/clippy.svg
Normal file
3
themes/documentations-linux07/images/clippy.svg
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
<svg height="1024" width="896" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path d="M128 768h256v64H128v-64z m320-384H128v64h320v-64z m128 192V448L384 640l192 192V704h320V576H576z m-288-64H128v64h160v-64zM128 704h160v-64H128v64z m576 64h64v128c-1 18-7 33-19 45s-27 18-45 19H64c-35 0-64-29-64-64V192c0-35 29-64 64-64h192C256 57 313 0 384 0s128 57 128 128h192c35 0 64 29 64 64v320h-64V320H64v576h640V768zM128 256h512c0-35-29-64-64-64h-64c-35 0-64-29-64-64s-29-64-64-64-64 29-64 64-29 64-64 64h-64c-35 0-64 29-64 64z" />
|
||||||
|
</svg>
|
After Width: | Height: | Size: 519 B |
BIN
themes/documentations-linux07/images/favicon.png
Normal file
BIN
themes/documentations-linux07/images/favicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.5 KiB |
BIN
themes/documentations-linux07/images/favicon.png.old
Normal file
BIN
themes/documentations-linux07/images/favicon.png.old
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
BIN
themes/documentations-linux07/images/logo.png
Normal file
BIN
themes/documentations-linux07/images/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.5 KiB |
BIN
themes/documentations-linux07/images/logo.png.old
Normal file
BIN
themes/documentations-linux07/images/logo.png.old
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
10
themes/documentations-linux07/partials/analytics.html.twig
Normal file
10
themes/documentations-linux07/partials/analytics.html.twig
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
<script>
|
||||||
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||||
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||||
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||||
|
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||||
|
|
||||||
|
ga('create', '{{ theme_config.google_analytics_code }}', 'auto');
|
||||||
|
ga('send', 'pageview');
|
||||||
|
|
||||||
|
</script>
|
102
themes/documentations-linux07/partials/base.html.twig
Normal file
102
themes/documentations-linux07/partials/base.html.twig
Normal file
|
@ -0,0 +1,102 @@
|
||||||
|
{% set theme_config = attribute(config.themes, config.system.pages.theme) %}
|
||||||
|
{% set github_link_position = github_link_position is defined ? github_link_position : theme_config.github.position %}
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="{{ grav.language.getActive ?: grav.config.site.default_lang }}">
|
||||||
|
<head>
|
||||||
|
{% block head %}
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>{% if header.title %}{{ header.title }} | {% endif %}{{ site.title }}</title>
|
||||||
|
{% include 'partials/metadata.html.twig' %}
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, shrink-to-fit=no" />
|
||||||
|
<link rel="alternate" type="application/atom+xml" href="{{ base_url_absolute}}/feed:atom" title="Atom Feed" />
|
||||||
|
<link rel="alternate" type="application/rss+xml" href="{{ base_url_absolute}}/feed:rss" title="RSS Feed" />
|
||||||
|
<link rel="icon" type="image/png" href="{{ url('theme://images/favicon.png') }}">
|
||||||
|
|
||||||
|
{% block stylesheets %}
|
||||||
|
{% do assets.addCss('theme://css-compiled/nucleus.css',102) %}
|
||||||
|
{% do assets.addCss('theme://css-compiled/theme.css',101) %}
|
||||||
|
{% do assets.addCss('theme://css/custom.css',100) %}
|
||||||
|
{% do assets.addCss('theme://css/font-awesome.min.css',100) %}
|
||||||
|
{% do assets.addCss('theme://css/featherlight.min.css') %}
|
||||||
|
|
||||||
|
{% if browser.getBrowser == 'msie' and browser.getVersion >= 8 and browser.getVersion <= 9 %}
|
||||||
|
{% do assets.addCss('theme://css/nucleus-ie9.css') %}
|
||||||
|
{% do assets.addCss('theme://css/pure-0.5.0/grids-min.css') %}
|
||||||
|
{% do assets.addJs('theme://js/html5shiv-printshiv.min.js') %}
|
||||||
|
{% endif %}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block javascripts %}
|
||||||
|
{% do assets.addJs('jquery',101) %}
|
||||||
|
{% do assets.addJs('theme://js/modernizr.custom.71422.js',100) %}
|
||||||
|
{% do assets.addJs('theme://js/featherlight.min.js') %}
|
||||||
|
{% do assets.addJs('theme://js/clipboard.min.js') %}
|
||||||
|
{% do assets.addJs('theme://js/jquery.scrollbar.min.js') %}
|
||||||
|
{% do assets.addJs('theme://js/learn.js') %}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block assets deferred %}
|
||||||
|
{{ assets.css()|raw }}
|
||||||
|
{{ assets.js()|raw }}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% endblock head %}
|
||||||
|
</head>
|
||||||
|
<body class="searchbox-hidden {{ page.header.body_classes }}" data-url="{{ page.route }}">
|
||||||
|
{% block sidebar %}
|
||||||
|
<nav id="sidebar">
|
||||||
|
<div id="header-wrapper">
|
||||||
|
<div id="header">
|
||||||
|
<a id="logo" href="{{ theme_config.home_url ?: base_url_absolute }}">{% include 'partials/logo.html.twig' %}</a>
|
||||||
|
{% include 'partials/search.html.twig' %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% include 'partials/sidebar.html.twig' %}
|
||||||
|
</nav>
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block body %}
|
||||||
|
<section id="body">
|
||||||
|
<div id="overlay"></div>
|
||||||
|
|
||||||
|
<div class="padding highlightable">
|
||||||
|
<a href="#" id="sidebar-toggle" data-sidebar-toggle><i class="fa fa-2x fa-bars"></i></a>
|
||||||
|
|
||||||
|
{% block topbar %}{% if github_link_position == 'top' or config.plugins.breadcrumbs.enabled %}
|
||||||
|
<div id="top-bar">
|
||||||
|
{% if github_link_position == 'top' %}
|
||||||
|
<div id="top-github-link">
|
||||||
|
{% include 'partials/github_link.html.twig' %}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if config.plugins.breadcrumbs.enabled %}
|
||||||
|
{% include 'partials/breadcrumbs.html.twig' %}
|
||||||
|
{% endif %}
|
||||||
|
</div>
|
||||||
|
{% endif %}{% endblock %}
|
||||||
|
|
||||||
|
{% block content %}{% endblock %}
|
||||||
|
|
||||||
|
{% block footer %}
|
||||||
|
{% if github_link_position == 'bottom' %}
|
||||||
|
{% include 'partials/github_note.html.twig' %}
|
||||||
|
{% endif %}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
</div>
|
||||||
|
{% block navigation %}{% endblock %}
|
||||||
|
</section>
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block analytics %}
|
||||||
|
{% if theme_config.google_analytics_code %}
|
||||||
|
{% include 'partials/analytics.html.twig' %}
|
||||||
|
{% endif %}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block bottom %}
|
||||||
|
{{ assets.js('bottom')|raw }}
|
||||||
|
{% endblock %}
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1 @@
|
||||||
|
<a class="github-link" href="{{ theme_config.github.tree ~ ('/'~page.filePathClean)|replace({'/user/':''}) }}"><i class="fa fa-github-square"></i> {{ 'THEME_LEARN2_GITHUB_EDIT_THIS_PAGE'|t }}</a>
|
|
@ -0,0 +1,7 @@
|
||||||
|
<blockquote id="github-contrib"><blockquote><blockquote><blockquote><blockquote>
|
||||||
|
<p>
|
||||||
|
{{ 'THEME_LEARN2_GITHUB_NOTE'|t }}
|
||||||
|
|
||||||
|
{% include 'partials/github_link.html.twig' %}
|
||||||
|
</p>
|
||||||
|
</blockquote></blockquote></blockquote></blockquote></blockquote>
|
9
themes/documentations-linux07/partials/logo.html.twig
Normal file
9
themes/documentations-linux07/partials/logo.html.twig
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<svg id="logo-svg" viewBox="0 0 444 102" style="background-color:#ffffff00" version="1.1"
|
||||||
|
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve"
|
||||||
|
x="0px" y="0px" width="444px" height="80px"
|
||||||
|
>
|
||||||
|
<path d="m87.503 53.977h-10.642c-1.616 0-2.93 1.315-2.93 2.936v20.418l-0.21 0.175c-6.263 5.278-14.182 8.18-22.297 8.18-19.144 0-34.719-15.559-34.719-34.685 0-19.128 15.575-34.684 34.719-34.684 7.444 0 14.562 2.353 20.587 6.811 1.169 0.865 2.792 0.746 3.822-0.28l7.588-7.58c0.592-0.588 0.901-1.406 0.853-2.24-0.046-0.834-0.448-1.607-1.104-2.127-9.016-7.1443-20.29-11.076-31.746-11.076-28.246 0.0001-51.228 22.958-51.228 51.176-0.0005 28.219 22.982 51.179 51.228 51.179 14.584 0 28.534-6.273 38.27-17.208 0.479-0.536 0.742-1.227 0.742-1.945v-26.114c0-1.621-1.314-2.936-2.933-2.936z"/>
|
||||||
|
<path d="m443.52 4.529c-0.54-0.8206-1.47-1.3182-2.45-1.3182h-11.58c-1.17 0-2.23 0.6957-2.7 1.7704l-32.65 75.721-33.23-75.738c-0.47-1.0634-1.52-1.7532-2.68-1.7532h-11.62c-1 0-1.92 0.4976-2.46 1.3265-0.55 0.8288-0.64 1.8753-0.23 2.7832l40.25 91.732c0.47 1.068 1.53 1.758 2.69 1.758h14.66c1.17 0 2.23-0.71 2.7-1.775l39.54-91.734c0.39-0.9055 0.3-1.9466-0.24-2.772z"/>
|
||||||
|
<path d="m291.34 4.9642c-0.47-1.0636-1.52-1.7534-2.69-1.7534h-14.65c-1.17 0-2.23 0.6957-2.7 1.7704l-39.54 91.735c-0.39 0.9-0.3 1.946 0.24 2.766 0.54 0.828 1.46 1.328 2.45 1.328h11.58c1.17 0 2.23-0.71 2.7-1.775l32.64-75.723 33.24 75.74c0.47 1.068 1.52 1.758 2.68 1.758h11.63c0.99 0 1.92-0.5 2.45-1.328 0.55-0.831 0.63-1.878 0.24-2.788l-40.27-91.73z"/>
|
||||||
|
<path d="m185.34 67.248l0.64-0.306c11.56-5.583 19.04-17.434 19.04-30.196 0-18.491-15.06-33.535-33.58-33.535l-42.49-0.0002c-1.62 0-2.93 1.3153-2.93 2.933v91.726c0 1.624 1.31 2.94 2.93 2.94h10.64c1.62 0 2.94-1.316 2.94-2.94v-78.17h28.91c9.42 0 17.07 7.645 17.07 17.046 0 7.84-5.33 14.64-12.97 16.53-1.38 0.348-2.75 0.523-4.1 0.523h-10.64c-1.1 0-2.11 0.622-2.61 1.607-0.5 0.984-0.4 2.164 0.25 3.057l30.17 41.143c0.55 0.754 1.43 1.204 2.36 1.204h13.22c1.11 0 2.12-0.63 2.62-1.611 0.5-0.989 0.4-2.172-0.25-3.06l-21.22-28.891z"/>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 2 KiB |
6
themes/documentations-linux07/partials/page.html.twig
Normal file
6
themes/documentations-linux07/partials/page.html.twig
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
<div id="body-inner">
|
||||||
|
<h1>{{ page.title }}</h1>
|
||||||
|
<p>
|
||||||
|
{{ page.content|raw }}
|
||||||
|
</p>
|
||||||
|
</div>
|
6
themes/documentations-linux07/partials/search.html.twig
Normal file
6
themes/documentations-linux07/partials/search.html.twig
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
<div class="searchbox">
|
||||||
|
<label for="search-by"><i class="fa fa-search"></i></label>
|
||||||
|
<input id="search-by" type="text" placeholder="{{ 'THEME_LEARN2_SEARCH_DOCUMENTATION'|t }}"
|
||||||
|
data-search-input="{{ base_url_relative }}/search.json/query"/>
|
||||||
|
<span data-search-clear><i class="fa fa-close"></i></span>
|
||||||
|
</div>
|
68
themes/documentations-linux07/partials/sidebar.html.twig
Normal file
68
themes/documentations-linux07/partials/sidebar.html.twig
Normal file
|
@ -0,0 +1,68 @@
|
||||||
|
{% macro loop(page, parent_loop) %}
|
||||||
|
{% import _self as self %}
|
||||||
|
|
||||||
|
{% if parent_loop|length > 0 %}
|
||||||
|
{% set data_level = parent_loop %}
|
||||||
|
{% else %}
|
||||||
|
{% set data_level = 0 %}
|
||||||
|
{% endif %}
|
||||||
|
{% for p in page.children.visible %}
|
||||||
|
{% set parent_page = p.activeChild ? ' parent' : '' %}
|
||||||
|
{% set current_page = p.active ? ' active' : '' %}
|
||||||
|
<li class="dd-item{{ parent_page }}{{ current_page }}" data-nav-id="{{ p.route }}">
|
||||||
|
<a href="{{ p.url }}" {% if p.header.class %}class="{{ p.header.class }}"{% endif %}>
|
||||||
|
<i class="fa fa-check read-icon"></i>
|
||||||
|
<span><b>{% if data_level == 0 %}{{ loop.index }}. {% endif %}</b>{{ p.menu }}</span>
|
||||||
|
</a>
|
||||||
|
{% if p.children.count > 0 %}
|
||||||
|
<ul>
|
||||||
|
{{ self.loop(p, parent_loop|default(0)+loop.index) }}
|
||||||
|
</ul>
|
||||||
|
{% endif %}
|
||||||
|
</li>
|
||||||
|
{% endfor %}
|
||||||
|
{% endmacro %}
|
||||||
|
|
||||||
|
{% macro version(p) %}
|
||||||
|
{% set parent_page = p.activeChild ? ' parent' : '' %}
|
||||||
|
{% set current_page = p.active ? ' active' : '' %}
|
||||||
|
<h5 class="{{ parent_page }}{{ current_page }}">
|
||||||
|
{% if p.activeChild or p.active %}
|
||||||
|
<i class="fa fa-chevron-down fa-fw"></i>
|
||||||
|
{% else %}
|
||||||
|
<i class="fa fa-plus fa-fw"></i>
|
||||||
|
{% endif %}
|
||||||
|
<a href="{{ p.url }}">{{ p.menu }}</a>
|
||||||
|
</h5>
|
||||||
|
{% endmacro %}
|
||||||
|
|
||||||
|
{% import _self as macro %}
|
||||||
|
|
||||||
|
<div class="scrollbar-inner">
|
||||||
|
<div class="highlightable">
|
||||||
|
{% if theme_config.top_level_version %}
|
||||||
|
{% for slug, ver in pages.children %}
|
||||||
|
{{ macro.version(ver) }}
|
||||||
|
<ul id="{{ slug }}" class="topics">
|
||||||
|
{{ macro.loop(ver, '') }}
|
||||||
|
</ul>
|
||||||
|
{% endfor %}
|
||||||
|
{% else %}
|
||||||
|
<ul class="topics">
|
||||||
|
{% if theme_config.root_page %}
|
||||||
|
{{ macro.loop(page.find(theme_config.root_page), '') }}
|
||||||
|
{% else %}
|
||||||
|
{{ macro.loop(pages, '') }}
|
||||||
|
{% endif %}
|
||||||
|
</ul>
|
||||||
|
{% endif %}
|
||||||
|
<hr />
|
||||||
|
|
||||||
|
<a class="padding" href="#" data-clear-history-toggle><i
|
||||||
|
class="fa fa-fw fa-history"></i> {{ 'THEME_LEARN2_CLEAR_HISTORY'|t }}</a><br/>
|
||||||
|
|
||||||
|
<section id="footer">
|
||||||
|
<p>{{ 'THEME_LEARN2_BUILT_WITH_GRAV'|t|raw }}</p>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
Loading…
Reference in a new issue