Completed help Jekyll layout/links (#4)
Added layouts for English and Spanish, added style to make it work in small, app-generated windows and in a regular sized browser
This commit is contained in:
parent
5f8f46d948
commit
342f534fcc
|
@ -1,5 +1,11 @@
|
|||
defaults:
|
||||
-
|
||||
scope:
|
||||
path: "en"
|
||||
values:
|
||||
layout: "default"
|
||||
# theme: jekyll-theme-tactile
|
||||
layout: "en"
|
||||
-
|
||||
scope:
|
||||
path: "es"
|
||||
values:
|
||||
layout: "es"
|
||||
|
|
44
docs/_layouts/es.html
Normal file
44
docs/_layouts/es.html
Normal file
|
@ -0,0 +1,44 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ page.title }} « Ayuda de SeguidorOración</title>
|
||||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
||||
<link href="https://prayer.bitbadger.solutions/css/app.css" rel="stylesheet">
|
||||
<link href="/css/help.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<header class="pt-title-bar">
|
||||
<section class="pt-title-bar-left"><span class="pt-title-bar-home"><a href="/" title="Home">SeguidorOración</a></span></section>
|
||||
<section class="pt-title-bar-right">Ayuda</section>
|
||||
</header>
|
||||
<div id="pt-body">
|
||||
<header id="pt-language">
|
||||
<div>
|
||||
Lengua: Español •
|
||||
<a href="{{ page.url | replace_first: "/es", "/en" }}">This page in English</a>
|
||||
</div>
|
||||
</header>
|
||||
<h2 id="pt-page-title">{{ page.title }}</h2>
|
||||
<div class="pt-content">
|
||||
{{ content }}
|
||||
{% if page.skip_footer %}
|
||||
{% else %}
|
||||
<div class="pt-close-window">
|
||||
<p class="pt-center-text">
|
||||
<a href="#" title="Haga Clic para Cerrar Esta Ventana" onclick="window.close();return false">
|
||||
<i class="material-icons">cancel</i> Cerrar Esta Ventana
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="pt-help-index">
|
||||
<p class="pt-center-text">
|
||||
<a href="/es/" title="Índice de ayuda">« Volver al índice de ayuda</a>
|
||||
</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
26
docs/_layouts/home.html
Normal file
26
docs/_layouts/home.html
Normal file
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ page.title }} « PrayerTracker Help / Ayuda de SeguidorOración</title>
|
||||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
||||
<link href="https://prayer.bitbadger.solutions/css/app.css" rel="stylesheet">
|
||||
<link href="/css/help.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<header class="pt-title-bar">
|
||||
<section class="pt-title-bar-left"><span class="pt-title-bar-home"><a href="/" title="Home">PrayerTracker / SeguidorOración</a></span></section>
|
||||
<section class="pt-title-bar-right">Help / Ayuda</section>
|
||||
</header>
|
||||
<div id="pt-body">
|
||||
<header id="pt-language">
|
||||
<div> </div>
|
||||
</header>
|
||||
<h2 id="pt-page-title">{{ page.title }}</h2>
|
||||
<div class="pt-content pt-center-text">
|
||||
{{ content }}
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: Help
|
||||
skip_footer: true
|
||||
---
|
||||
|
||||
Throughout PrayerTracker, you'll see an icon (a question mark in a circle) next to the title on each page. Clicking this will open a new, small window with directions on using that page. If you are looking for a quick overview of PrayerTracker, start with the “Add / Edit a Request” and “Change Preferences” entries.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: Ayuda
|
||||
skip_footer: true
|
||||
---
|
||||
|
||||
En todo el sistema, verá un icono (un signo de interrogación en un círculo) junto al título de cada página. Al hacer clic en esta opción, se abrirá una nueva y pequeña ventana con instrucciones sobre cómo usar esa página. Si está buscando una descripción rápida de SeguidorOración, comience con las entradas "Agregar / Editar una Petición" y "Cambiar las Preferencias".
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: PrayerTracker Help
|
||||
title: Help / Ayuda
|
||||
layout: home
|
||||
---
|
||||
|
||||
## [English](/en)
|
||||
|
|
Loading…
Reference in New Issue
Block a user