mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 02:09:45 +07:00
280 lines
11 KiB
HTML
280 lines
11 KiB
HTML
{% extends "basic/layout.html" %}
|
|
|
|
{% set theme_css_files = []%}
|
|
{% if theme_bootstrap_version == "3" %}
|
|
{% set bootstrap_version, bootstrap_additional_css, navbar_version = "3.1.0", "theme", "" %}
|
|
{% set bs_span_prefix = "col-md-" %}
|
|
{% else %}
|
|
{% set bootstrap_version, bootstrap_additional_css, navbar_version = "2.3.2", "responsive", "-2" %}
|
|
{% set bs_span_prefix = "span" %}
|
|
{% endif %}
|
|
|
|
{% if theme_bootswatch_theme %}
|
|
{# BS2 needs "bootstrap-responsive.css". BS3 doesn't. #}
|
|
{% if theme_bootstrap_version == "3" %}
|
|
{% set theme_css_files = theme_css_files + [
|
|
'_static/bootswatch-' + bootstrap_version + '/' + theme_bootswatch_theme + '/bootstrap.min.css',
|
|
'_static/bootstrap-sphinx.css'
|
|
]
|
|
%}
|
|
{% else %}
|
|
{% set theme_css_files = theme_css_files + [
|
|
'_static/bootswatch-' + bootstrap_version + '/' + theme_bootswatch_theme + '/bootstrap.min.css',
|
|
'_static/bootstrap-' + bootstrap_version + '/css/bootstrap-' + bootstrap_additional_css + '.min.css',
|
|
'_static/bootstrap-sphinx.css'
|
|
]
|
|
%}
|
|
{% endif %}
|
|
{% else %}
|
|
{% set theme_css_files = theme_css_files + ['_static/main.min.css', '_static/styles.css']
|
|
%}
|
|
{% endif %}
|
|
|
|
{% if not bootswatch_css_custom %}
|
|
{% set bootswatch_css_custom = [] %}
|
|
{% endif %}
|
|
{% set css_files = css_files + theme_css_files + bootswatch_css_custom %}
|
|
|
|
{% set script_files = script_files + [
|
|
'_static/js/jquery-1.11.0.min.js',
|
|
'_static/js/jquery-fix.js',
|
|
'_static/bootstrap-' + bootstrap_version + '/js/bootstrap.min.js',
|
|
'_static/bootstrap-sphinx.js'
|
|
]
|
|
%}
|
|
|
|
{%- set render_sidebar = (not embedded) and (not theme_nosidebar|tobool) and sidebars %}
|
|
|
|
{%- set bs_content_width = render_sidebar and "9" or "12"%}
|
|
|
|
{%- block doctype -%}
|
|
<!DOCTYPE html>
|
|
{%- endblock %}
|
|
|
|
{# Sidebar: Rework into our Bootstrap nav section. #}
|
|
{% macro navBar() %}
|
|
<nav class="nav headroom--pinned" id="nav">
|
|
<!-- To finish -->
|
|
<div class="mobile-bg-container">
|
|
<div class="mobile-bg"></div>
|
|
</div>
|
|
|
|
<div class="container">
|
|
<div class="brand">
|
|
<a href="https://nextcloud.com/homepage"><div class="logo stopedAnimation"></div></a>
|
|
</div>
|
|
<div class="nav__sections-wrapper">
|
|
<ul class="nav__sections">
|
|
<li class="nav__section"><a href="https://nextcloud.com/files" class="nav__label">Features</a></li>
|
|
<li class="nav__section"><a href="https://help.nextcloud.com/" class="nav__label">Support</a></li>
|
|
<li class="nav__section"><a href="https://nextcloud.com/contribute" class="nav__label">Community</a></li>
|
|
<li class="nav__section"><a href="https://nextcloud.com/about" class="nav__label">About</a></li>
|
|
</ul>
|
|
<ul class="right-buttons">
|
|
<li class="ghost-btn"><a href="https://demo.nextcloud.com/" class="nav__label">Demo</a></li>
|
|
<li class="ghost-btn"><a href="https://nextcloud.com/install" class="nav__label">Download</a></li>
|
|
<li class="ghost-btn"><a href="https://nextcloud.com/enterprise/buy" class="nav__label">Buy</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
{% endmacro %}
|
|
|
|
{% if theme_bootstrap_version == "3" %}
|
|
{%- macro bsidebar() %}
|
|
{%- if render_sidebar %}
|
|
<div class="{{ bs_span_prefix }}3">
|
|
<div id="sidebar" class="bs-sidenav" role="complementary">
|
|
{%- for sidebartemplate in sidebars %}
|
|
{%- include sidebartemplate %}
|
|
{%- endfor %}
|
|
</div>
|
|
</div>
|
|
{%- endif %}
|
|
{%- endmacro %}
|
|
{% else %}
|
|
{%- macro bsidebar() %}
|
|
{%- if render_sidebar %}
|
|
<div class="{{ bs_span_prefix }}3">
|
|
<div id="sidebar" class="bs-sidenav well" data-spy="affix">
|
|
{%- for sidebartemplate in sidebars %}
|
|
{%- include sidebartemplate %}
|
|
{%- endfor %}
|
|
</div>
|
|
</div>
|
|
{%- endif %}
|
|
{%- endmacro %}
|
|
{% endif %}
|
|
|
|
{%- block extrahead %}
|
|
<meta charset='utf-8'>
|
|
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
|
|
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1'>
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
<meta name="theme-color" content="#1d2d44">
|
|
<link rel="shortcut icon" href="https://nextcloud.com/wp-content/themes/next/assets/img/common/favicon.png" />
|
|
<link rel="apple-touch-icon-precomposed" href="https://nextcloud.com/wp-content/themes/next/assets/img/common/favicon.png" />
|
|
<!-- Piwik -->
|
|
<script type="text/javascript">
|
|
var _paq = _paq || [];
|
|
_paq.push(['trackPageView']);
|
|
_paq.push(['enableLinkTracking']);
|
|
(function() {
|
|
var u="//stats.nextcloud.com/";
|
|
_paq.push(['setTrackerUrl', u+'piwik.php']);
|
|
_paq.push(['setSiteId', 3]);
|
|
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
|
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
|
|
})();
|
|
</script>
|
|
<noscript><p><img src="//stats.nextcloud.com/piwik.php?idsite=3" style="border:0;" alt="" /></p></noscript>
|
|
<!-- End Piwik Code -->
|
|
{% endblock %}
|
|
|
|
{# Silence the sidebar's, relbar's #}
|
|
{% block header %}{% endblock %}
|
|
{% block relbar1 %}{% endblock %}
|
|
{% block relbar2 %}{% endblock %}
|
|
{% block sidebarsourcelink %}{% endblock %}
|
|
|
|
{%- block content %}
|
|
{{ navBar() }}
|
|
<div class="wrap container not-front">
|
|
<div class="content row">
|
|
<main class="main">
|
|
<div class="row page-content-header">
|
|
<div class="col-md-8">
|
|
<h1><a href="{{ pathto(master_doc) }}">{{ project|e }}</a></h1>
|
|
<div class="doc-version-switch">
|
|
Versions:
|
|
{%- for v in doc_versions %}
|
|
<a href="https://docs.nextcloud.com/server/{{ v }}/{{current_doc}}/{{pagename}}.html" {% if version == v %} class="current-doc"{% endif %}>{{v}}</a>
|
|
{%- endfor %}
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4">
|
|
{% if theme_show_search %}
|
|
<form class="headersearch" style="margin: 16px 0;" action="{{ pathto('search') }}" method="get">
|
|
<input type="text" value="" name="q" id="q" class="form-control" />
|
|
<button class="btn btn-default" type="submit" id="searchsubmit">Search</button>
|
|
</form>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
{% block sidebartoc %}
|
|
<div class="row">
|
|
<div class="col-md-3">
|
|
<div class="sidebar">
|
|
<div class="menu-support-container">
|
|
<ul id="menu-support" class="menu">
|
|
<ul>
|
|
|
|
<li><a href="{{ pathto(master_doc) }}">Table of Contents</a></li>
|
|
</ul>
|
|
{{ toctree(maxdepth=3) }}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
<div class="col-md-9">
|
|
<div class="page-content">
|
|
{% include "relations.html" %}
|
|
{% block body %}{% endblock %}
|
|
{% include "relations.html" %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
</div>
|
|
</div>
|
|
{%- endblock %}
|
|
|
|
{%- block footer %}
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-lg-12 footer-social-icons">
|
|
<p class="text-center"><a target="_blank" href="https://plus.google.com/104036748063781940910/about"><img width=50 src="{{ pathto('_static/img/social/googleplus.svg', 1) }}" title="Follow us on Google Plus!" alt="Follow us on Google Plus!"></img></a>
|
|
<a target="_blank" href="https://www.facebook.com/Nextclouders"><img width=50 src="{{ pathto('_static/img/social/facebook.svg', 1) }}" title="Like our Facebook page!" alt="Like our Facebook page!"></img></a>
|
|
<a target="_blank" href="https://twitter.com/Nextclouders"><img width=50 src="{{ pathto('_static/img/social/twitter.svg', 1) }}" title="Subscribe to our Twitter channel!" alt="Subscribe to our Twitter channel!"></img></a>
|
|
<a target="_blank" href="https://nextcloud.com/blogfeed"><img class="img-circle" width=50 src="{{ pathto('_static/img/social/rss.svg', 1) }}" title="Subscribe to our news feed!" alt="Subscribe to our news feed!"></img></a>
|
|
<a target="_blank" href="https://newsletter.nextcloud.com/"><img class="img-circle" width=50 src="{{ pathto('_static/img/social/mail.svg', 1) }}" title="Subscribe to our newsletter!" alt="Subscribe to our newsletter!"></img></a></p>
|
|
</div>
|
|
<div class="text-center">
|
|
<p>All documentation licensed under the <a href="https://creativecommons.org/licenses/by/3.0/us/">Creative Commons Attribution 3.0 Unported license</a>.</p>
|
|
<p><a href="https://github.com/nextcloud/documentation/graphs/contributors">See who contributed to our documentation/credits</a>.</p>
|
|
{%- if show_source and has_source and sourcename and edit_on_github_url %}
|
|
<p>Do you want to help us to improve this document?
|
|
<a href="{{ edit_on_github_url }}" rel="nofollow">{{ _('Edit this page on GitHub') }} <span class="glyphicon glyphicon-pencil"></span></a>
|
|
</p>
|
|
{%- endif %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<footer class="page-footer">
|
|
<div class="container">
|
|
<div class="col-sm-3">
|
|
<h1>About Nextcloud</h1>
|
|
<ul>
|
|
<li><a href="https://nextcloud.com/about">About us</a></li>
|
|
<li><a href="https://nextcloud.com/contributors">Community</a></li>
|
|
<li><a href="https://nextcloud.com/events">Events</a></li>
|
|
<li><a href="https://nextcloud.com/jobs">Jobs</a></li>
|
|
<li><a href="https://nextcloud.com/community/code-of-conduct/">Code of Conduct</a></li>
|
|
<li><a href="https://nextcloud.com/privacy">Privacy</a></li>
|
|
<li><a href="https://nextcloud.com/impressum">Legal notice</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="col-sm-3">
|
|
<h1>Resources</h1>
|
|
<ul>
|
|
<li><a href="https://nextcloud.com/install">Download</a></li>
|
|
<li><a href="https://apps.nextcloud.com">App Store</a></li>
|
|
<li><a href="https://docs.nextcloud.com/server/{{ version }}/admin_manual/">Admin manual</a></li>
|
|
<li><a href="https://docs.nextcloud.com/server/{{ version }}/user_manual/">User manual</a></li>
|
|
<li><a href="https://docs.nextcloud.com/server/{{ version }}/developer_manual/">Developer manual</a></li>
|
|
<li><a href="https://nextcloud.com/security">Security</a></li>
|
|
<li><a href="https://github.com/nextcloud">Code on GitHub</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="col-sm-3">
|
|
<h1>Interact</h1>
|
|
<ul>
|
|
<li><a href="https://nextcloud.com/support">Support</a></li>
|
|
<li><a href="https://webchat.freenode.net/?channels=nextcloud">IRC Channel</a></li>
|
|
<li><a href="https://help.nextcloud.com/categories">Forums</a></li>
|
|
<li><a href="https://demo.nextcloud.com">Demo</a></li>
|
|
<li><a href="https://nextcloud.com/contact">Contact us</a></li>
|
|
<li><a href="https://nextcloud.com/press">Press center</a></li>
|
|
<li><a href="https://docs.nextcloud.com/server/{{ version }}/developer_manual/bugtracker/">Bug Tracker</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="col-sm-3">
|
|
<h1>Follow us</h1>
|
|
<ul>
|
|
<li><a href="https://plus.google.com/b/104036748063781940910/104036748063781940910/about">Google+</a></li>
|
|
<li><a href="https://www.facebook.com/Nextcloud-1032807203462807/">Facebook</a></li>
|
|
<li><a href="https://www.linkedin.com/company/10827569/">LinkedIn</a></li>
|
|
<li><a href="https://instagram.com/nextclouders">Instagram</a></li>
|
|
<li><a href="https://twitter.com/nextclouders">Twitter</a></li>
|
|
<li><a href="https://youtube.com/nextcloud">YouTube</a></li>
|
|
<li><a href="https://nextcloud.com/blogfeed">RSS Feed</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-sm-12 text-center copyright">
|
|
<p>
|
|
{%- if show_copyright %}
|
|
© {{ copyright }}
|
|
{%- endif %}
|
|
{%- if last_updated %}
|
|
{% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}<br/>
|
|
{%- endif %}
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
{%- endblock %}
|