Nikola auto commit.

Source commit: 9549297875
Nikola version: 8.3.3
master
Patricio García 2025-08-24 20:44:03 +01:00
parent 0b1c9bbf9f
commit 8dd33053e4
29 changed files with 298 additions and 178 deletions

View File

@ -93,7 +93,7 @@ bg-dark
<!--End of Mastodon content-->
</div>
</div>
<footer id="footer">
© 2020-2025 Educatic
-
@ -111,7 +111,6 @@ bg-dark
</footer>
</div>
</div>
</div>

View File

@ -961,3 +961,13 @@ html[dir="rtl"] body {
content: '\f106';
}
/*
*
* Customization for nav tabs
*
*/
.nav-pills .nav-link {
border-radius: 0;
background: rgba(0,0,0,.03);
}

View File

@ -954,3 +954,13 @@ html[dir="rtl"] body {
content: '\f106';
}
/*
*
* Customization for nav tabs
*
*/
.nav-pills .nav-link {
border-radius: 0;
background: rgba(0,0,0,.03);
}

View File

@ -25,3 +25,13 @@
.collapsible-link[aria-expanded='true']::before {
content: '\f106';
}
/*
*
* Customization for nav tabs
*
*/
.nav-pills .nav-link {
border-radius: 0;
background: rgba(0,0,0,.03);
}

View File

@ -0,0 +1,37 @@
/*
* Detect no next Gancio events and deactivate Next events
*/
function GetNextEventsCount() {
const entryComponent = document.querySelector('#nextevents');
const shadowRoot = entryComponent.shadowRoot;
const app = shadowRoot.querySelector('div');
if (app != null) {
return app.children.length;
} else {
return 0;
}
}
function ActivePastEvents() {
const nexttab = document.getElementById("tab-0");
const next = document.getElementById("tab-pane-0");
const pasttab = document.getElementById("tab-1");
const past = document.getElementById("tab-pane-1");
if (nexttab != null && next !== null){
next.classList.remove("active");
nexttab.classList.remove("active");
next.classList.add("fade");
}
if (pasttab != null && past !== null){
past.classList.remove("fade");
past.classList.add("active");
pasttab.classList.add("active");
}
}
function ActivePastEventsIfNotNexts() {
if (GetNextEventsCount() == 0) {
ActivePastEvents();
}
}

View File

@ -0,0 +1,37 @@
/*
* Detect no next Gancio events and deactivare Next events
*/
function GetNextEventsCount() {
const entryComponent = document.querySelector('#nextevents');
const shadowRoot = entryComponent.shadowRoot;
const app = shadowRoot.querySelector('div');
if (app != null) {
return app.children.length;
} else {
return 0;
}
}
function ActivePastEvents() {
const nexttab = document.getElementById("proximostab");
const next = document.getElementById("proximos");
const pasttab = document.getElementById("pasadostab");
const past = document.getElementById("pasados");
if (nexttab != null && next !== null){
next.classList.remove("active");
nexttab.classList.remove("active");
next.classList.add("fade");
}
if (pasttab != null && past !== null){
past.classList.remove("fade");
past.classList.add("active");
pasttab.classList.add("active");
}
}
function ActivePastEventsIfNotNexts() {
if (GetNextEventsCount() == 0) {
ActivePastEvents();
}
}

File diff suppressed because one or more lines are too long

View File

@ -93,7 +93,7 @@ bg-dark
<!--End of Mastodon content-->
</div>
</div>
<footer id="footer">
© 2020-2025 Educatic
-
@ -111,7 +111,6 @@ bg-dark
</footer>
</div>
</div>
</div>

View File

@ -179,7 +179,7 @@ bg-dark
<!--End of Mastodon content-->
</div>
</div>
<footer id="footer">
© 2020-2025 Educatic
-
@ -197,7 +197,6 @@ bg-dark
</footer>
</div>
</div>
</div>

View File

@ -211,7 +211,7 @@ bg-dark
<!--End of Mastodon content-->
</div>
</div>
<footer id="footer">
© 2020-2025 Educatic
-
@ -229,7 +229,6 @@ bg-dark
</footer>
</div>
</div>
</div>

View File

@ -148,7 +148,7 @@ BIC/SWIFT: TRIOESMMXXX
<!--End of Mastodon content-->
</div>
</div>
<footer id="footer">
© 2020-2025 Educatic
-
@ -166,7 +166,6 @@ BIC/SWIFT: TRIOESMMXXX
</footer>
</div>
</div>
</div>

View File

@ -16,7 +16,6 @@
<link rel="apple-touch-icon" href="../assets/img/apple-touch-icon.png" sizes="180x180">
<link rel="manifest" href="../assets/img/site.webmanifest" sizes="">
<!--[if lt IE 9]><script src="../assets/js/html5.js"></script><![endif]--><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
<link href="../assets/css/mastodon-timeline.min.css" rel="stylesheet">
<meta name="author" content="Educatic">
<meta property="og:site_name" content="EDUCATIC">
<meta property="og:title" content="Eventos">
@ -89,31 +88,46 @@ bg-dark
 
</div>
</header><div class="e-content entry-content" itemprop="articleBody text">
<p>
</p>
<ul class="nav nav-pills nav-fill">
<li class="nav-item">
<a class="nav-link active" data-toggle="tab" href="#tab-pane-0" id="tab-0">
Próximos
</a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="tab" href="#tab-pane-1" id="tab-1">
Pasados
</a>
</li>
</ul>
<!-- Tab panes --><div class="tab-content">
<div id="tab-pane-0" class="container-xl tab-pane active">
<br><gancio-events baseurl="https://eventos.txs.es" title="Próximos eventos" theme="light" sidebar="false" id="nextevents"></gancio-events><p>No existen mas próximos eventos programados actualmente.</p>
</div>
<div id="tab-pane-1" class="container-xl tab-pane fade">
<br><gancio-events baseurl="https://eventos.txs.es" title="Eventos pasados" theme="light" sidebar="false" past="true"></gancio-events>
</div>
</div>
<script src="../assets/js/gancio-events.es.js"></script><p>
</p>
</div>
</article><!--End of body content-->
</div>
<div class="col-lg-5 col-xl-4">
<div class="container-xl">
<img src="../assets/img/mastodon.svg" width="35" height="35" alt="Mastodon" class="d-inline-block align-top">
</div>
<!--Mastodon content-->
<div class="dummy-wrapper-timeline">
<!-- Mastodon Timeline -->
<div id="mt-container" class="mt-container">
<div class="mt-body" role="feed">
<div class="mt-loading-spinner"></div>
</div>
</div>
</div>
<!--End of Mastodon content-->
</div>
<footer id="footer">
© 2020-2025 Educatic
-
@ -131,26 +145,10 @@ bg-dark
</footer>
</div>
</div>
</div>
<script src="../assets/js/all-nocdn.js"></script><script src="../assets/js/mastodon-timeline.umd.js"></script><script>
const myTimeline = new MastodonTimeline.Init({
instanceUrl: "https://txs.es",
timelineType: "profile",
userId: "44",
profileName: "@EDUCATIC",
defaultTheme: "light",
dateFormatLocale: "es",
btnSeeMore: "Ver mas publicaciones en Mastodon",
btnReload: "Recargar",
maxNbPostFetch: "5",
maxNbPostShow: "5",
});
</script><script>
<script src="../assets/js/all-nocdn.js"></script><script>
baguetteBox.run('div#content', {
ignoreClass: 'islink',
captions: function(element){var i=element.getElementsByTagName('img')[0];return i===undefined?'':i.alt;}});
@ -223,6 +221,6 @@ const myTimeline = new MastodonTimeline.Init({
for (let i = 0; i < document.forms.length; i++)
document.forms[i].onsubmit = submit;
})();
</script>
</script><script src="../assets/js/gancio-events-detect.js"></script><script> $(document).ready(function(){ ActivePastEventsIfNotNexts(); });</script>
</body>
</html>

View File

@ -7,6 +7,19 @@
.. link:
.. description: Eventos que organiza o participa EDUCATIC
.. type: text
.. hidemastodon: True
-->
{{% tabpannel active='1' %}}
Próximos
<gancio-events baseurl='https://eventos.txs.es' title='Próximos eventos' theme='light' sidebar='false' id='nextevents'></gancio-events><p>No existen mas próximos eventos programados actualmente.</p>
Pasados
<gancio-events baseurl='https://eventos.txs.es' title='Eventos pasados' theme='light' sidebar='false' past='true'></gancio-events>
{{% /tabpannel %}}
<script src='/assets/js/gancio-events.es.js'></script>
{{% gancio-events-detect %}}

View File

@ -138,7 +138,7 @@ bg-dark
<!--End of Mastodon content-->
</div>
</div>
<footer id="footer">
© 2020-2025 Educatic
-
@ -156,7 +156,6 @@ bg-dark
</footer>
</div>
</div>
</div>

View File

@ -107,7 +107,7 @@ bg-dark
<!--End of Mastodon content-->
</div>
</div>
<footer id="footer">
© 2020-2025 Educatic
-
@ -125,7 +125,6 @@ bg-dark
</footer>
</div>
</div>
</div>

View File

@ -121,7 +121,7 @@ bg-dark
<!--End of Mastodon content-->
</div>
</div>
<footer id="footer">
© 2020-2025 Educatic
-
@ -139,7 +139,6 @@ bg-dark
</footer>
</div>
</div>
</div>

View File

@ -133,7 +133,7 @@ educatic@txs.es
<!--End of Mastodon content-->
</div>
</div>
<footer id="footer">
© 2020-2025 Educatic
-
@ -151,7 +151,6 @@ educatic@txs.es
</footer>
</div>
</div>
</div>

View File

@ -228,7 +228,7 @@ bg-dark
<!--End of Mastodon content-->
</div>
</div>
<footer id="footer">
© 2020-2025 Educatic
-
@ -246,7 +246,6 @@ bg-dark
</footer>
</div>
</div>
</div>

View File

@ -146,7 +146,7 @@ bg-dark
<!--End of Mastodon content-->
</div>
</div>
<footer id="footer">
© 2020-2025 Educatic
-
@ -164,7 +164,6 @@ bg-dark
</footer>
</div>
</div>
</div>

View File

@ -94,7 +94,7 @@ bg-dark
<!--End of Mastodon content-->
</div>
</div>
<footer id="footer">
© 2020-2025 Educatic
-
@ -112,7 +112,6 @@ bg-dark
</footer>
</div>
</div>
</div>

View File

@ -107,7 +107,7 @@ bg-dark
<!--End of Mastodon content-->
</div>
</div>
<footer id="footer">
© 2020-2025 Educatic
-
@ -125,7 +125,6 @@ bg-dark
</footer>
</div>
</div>
</div>

View File

@ -165,7 +165,7 @@ bg-dark
<!--End of Mastodon content-->
</div>
</div>
<footer id="footer">
© 2020-2025 Educatic
-
@ -183,7 +183,6 @@ bg-dark
</footer>
</div>
</div>
</div>

View File

@ -133,7 +133,7 @@ bg-dark
<!--End of Mastodon content-->
</div>
</div>
<footer id="footer">
© 2020-2025 Educatic
-
@ -151,7 +151,6 @@ bg-dark
</footer>
</div>
</div>
</div>

View File

@ -323,7 +323,7 @@ bg-dark
<!--End of Mastodon content-->
</div>
</div>
<footer id="footer">
© 2020-2025 Educatic
-
@ -341,7 +341,6 @@ bg-dark
</footer>
</div>
</div>
</div>

View File

@ -11,7 +11,7 @@
</url>
<url>
<loc>https://educatic.txs.es/archive.html</loc>
<lastmod>2025-08-22T11:21:00Z</lastmod>
<lastmod>2025-08-23T16:35:00Z</lastmod>
</url>
<url>
<loc>https://educatic.txs.es/categories/</loc>

View File

@ -7,6 +7,6 @@
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
<sitemap>
<loc>https://educatic.txs.es/sitemap.xml</loc>
<lastmod>2025-08-22T11:21:00Z</lastmod>
<lastmod>2025-08-23T16:35:00Z</lastmod>
</sitemap>
</sitemapindex>

View File

@ -155,7 +155,7 @@ bg-dark
<!--End of Mastodon content-->
</div>
</div>
<footer id="footer">
© 2020-2025 Educatic
-
@ -173,7 +173,6 @@ bg-dark
</footer>
</div>
</div>
</div>

View File

@ -141,7 +141,7 @@ bg-dark
<!--End of Mastodon content-->
</div>
</div>
<footer id="footer">
© 2020-2025 Educatic
-
@ -159,7 +159,6 @@ bg-dark
</footer>
</div>
</div>
</div>

View File

@ -161,7 +161,7 @@ bg-dark
<!--End of Mastodon content-->
</div>
</div>
<footer id="footer">
© 2020-2025 Educatic
-
@ -179,7 +179,6 @@ bg-dark
</footer>
</div>
</div>
</div>