docs: fix layouts

This commit is contained in:
Nick Craig-Wood 2020-05-17 12:06:48 +01:00
parent 2bd786a452
commit 62781d0925
5 changed files with 38 additions and 22 deletions

View File

@ -2,20 +2,23 @@
<body>
{{ template "chrome/navbar.html" . }}
<div class="container">
<div class="row">
<div class="col-md-10">
<div class="well well-sm">
<h3>{{ .Title }}<br> <small>{{ .Description }}</small></h3>
<hr>
{{ .Content }}
</div>
</div>
<!-- Sidebar -->
<div class="col-md-2">
{{ template "chrome/menu.html" . }}
</div>
<div class="row">
<div class="col-md-10">
<div class="card">
<!-- <div class="card-header"> -->
<!-- <h3>{{ .Title }}<br> <small>{{ .Description }}</small></h3> -->
<!-- </div> -->
<div class="card-body bg-light">
{{ .Content }}
</div>
</div>
</div>
{{ template "chrome/footer.copyright.html" . }}
<!-- Sidebar -->
<div class="col-md-2">
{{ template "chrome/menu.html" . }}
</div>
</div>
{{ template "chrome/footer.copyright.html" . }}
</div>
{{ template "chrome/footer.html" . }}

View File

@ -1,6 +1,6 @@
<footer>
<hr>
<div class="row">
<hr>
<div class="col-sm-12">
<p>&copy; <a href="https://www.craig-wood.com/nick/">Nick Craig-Wood</a> 2014-2020<br>
Website hosted on a <a href="https://www.memset.com/dedicated-servers/vps/"><span style="font-weight: bold; font-family: arial black, arial, sans-serif; font-style: italic;">MEMSET CLOUD VPS</span></a>,

View File

@ -23,7 +23,7 @@
<i class="fab fa-github" aria-hidden="true"></i> <a href="https://github.com/rclone/rclone">GitHub project.</a><br />
<i class="fab fa-slack" aria-hidden="true"></i> <a href="https://slack-invite.rclone.org/">Rclone slack.</a><br />
<i class="fa fa-book" aria-hidden="true"></i> <a href="https://github.com/rclone/rclone/wiki">Rclone Wiki.</a><br />
<i class="fa fa-heart" aria-hidden="true"></i> <a href="/donate/">Donate.</a><br />
<i class="fa fa-heart heart" aria-hidden="true"></i> <a href="/donate/">Donate.</a><br />
<i class="fab fa-twitter" aria-hidden="true"></i> <a href="https://twitter.com/njcw">@njcw</a>
</p>
</div>

View File

@ -9,7 +9,7 @@
<li class="nav-item active">
<a class="nav-link" href="/downloads/">Downloads</a>
</li>
<li class="nav-item dropdown">
<li class="nav-item active dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Docs
</a>
@ -25,15 +25,16 @@
<a class="dropdown-item" href="/flags/"><i class="fa fa-book"></i> Flags</a>
<a class="dropdown-item" href="/licence/"><i class="fa fa-book"></i> Licence</a>
<a class="dropdown-item" href="/authors/"><i class="fa fa-book"></i> Authors</a>
<a class="dropdown-item" href="/donate/"><i class="fa fa-heart"></i> Donate</a>
<a class="dropdown-item" href="/privacy/"><i class="fa fa-book"></i> Privacy Policy</a>
</div>
</li>
<li class="nav-item dropdown">
<li class="nav-item active dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Commands
</a>
<div class="dropdown-menu pre-scrollable" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="/commands/"><i class="fas fa-map"></i> Overview</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="/commands/rclone_config/"><i class="fa fa-book"></i> rclone config</a>
<a class="dropdown-item" href="/commands/rclone_copy/"><i class="fa fa-book"></i> rclone copy</a>
<a class="dropdown-item" href="/commands/rclone_sync/"><i class="fa fa-book"></i> rclone sync</a>
@ -51,16 +52,17 @@
<a class="dropdown-item" href="/commands/rclone_cat/"><i class="fa fa-book"></i> rclone cat</a>
<a class="dropdown-item" href="/commands/rclone_rcat/"><i class="fa fa-book"></i> rclone rcat</a>
<a class="dropdown-item" href="/commands/rclone_serve/"><i class="fa fa-book"></i> rclone serve</a>
<a class="dropdown-item" href="/commands/"><i class="fa fa-book"></i> ...and the rest</a>
</div>
</li>
<li class="nav-item dropdown">
<li class="nav-item active dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Storage Systems
</a>
<div class="dropdown-menu pre-scrollable" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="/overview/"><i class="fas fa-map"></i> Overview</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="/fichier/"><i class="fa fa-archive"></i> 1Fichier</a>
<a class="dropdown-item" href="/alias/"><i class="fa fa-link"></i> Alias</a>
<a class="dropdown-item" href="/amazonclouddrive/"><i class="fab fa-amazon"></i> Amazon Drive</a>
<a class="dropdown-item" href="/s3/"><i class="fab fa-amazon"></i> Amazon S3</a>
<a class="dropdown-item" href="/b2/"><i class="fa fa-fire"></i> Backblaze B2</a>
@ -89,6 +91,7 @@
<a class="dropdown-item" href="/pcloud/"><i class="fa fa-cloud"></i> pCloud</a>
<a class="dropdown-item" href="/premiumizeme/"><i class="fa fa-user"></i> premiumize.me</a>
<a class="dropdown-item" href="/putio/"><i class="fas fa-parking"></i> put.io</a>
<a class="dropdown-item" href="/seafile/"><i class="fa fa-server"></i> Seafile</a>
<a class="dropdown-item" href="/sftp/"><i class="fa fa-server"></i> SFTP</a>
<a class="dropdown-item" href="/sugarsync/"><i class="fas fa-dove"></i> SugarSync</a>
<a class="dropdown-item" href="/tardigrade/"><i class="fas fa-dove"></i> Tardigrade</a>
@ -102,6 +105,9 @@
<li class="nav-item active">
<a class="nav-link" href="/contact/"><i class="fa fa-envelope"></i> Contact</a></li>
</li>
<li class="nav-item active">
<a class="nav-link" href="/donate/"><i class="fa fa-heart heart"></i> Donate</a></li>
</li>
</ul>
</div>
</nav>

View File

@ -4,7 +4,14 @@
<div class="container">
<div class="row">
<div class="col-md-10">
{{ .Content }}
<div class="card">
<!-- <div class="card-header"> -->
<!-- <h3>{{ .Title }}<br> <small>{{ .Description }}</small></h3> -->
<!-- </div> -->
<div class="card-body bg-light">
{{ .Content }}
</div>
</div>
</div>
<!-- Sidebar -->