Compare commits

..

No commits in common. "2802264eb3f447ed028c05b974ec0b358c10126c" and "e80b3038542687f6091a50af3102b25976d2e6ce" have entirely different histories.

3 changed files with 2 additions and 47 deletions

View File

@ -8,11 +8,7 @@ source "https://rubygems.org"
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
gem "jekyll"
# gem "alice", path: "../alice_sites/AliceTheme"
# para tester no jekylserver
gem "alice", path: "../AliceTheme"
gem "alice", path: "../alice_sites/AliceTheme"
# This is the default theme for new Jekyll sites. You may change this to anything you like.
# gem "minima", "~> 2.5"
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and

View File

@ -1,9 +1,3 @@
PATH
remote: ../AliceTheme
specs:
alice (0.0.0)
jekyll (>= 3.5, < 5.0)
GEM
remote: https://rubygems.org/
specs:
@ -91,7 +85,6 @@ PLATFORMS
x86_64-linux
DEPENDENCIES
alice!
jekyll
jekyll-archives
jekyll-datapage-generator

View File

@ -20,14 +20,11 @@ lang: pt
<a class="button" href="{{ site.baseurl }}{{ zip_file }}" download>
Download
</a>
<a class="button" id="etherpad" etherpad>
Etherpad
</a>
</div>
</div>
</div>
<div id="aula">
<div class=" ">
{% assign aula_slug = page.title %}
{% assign video_aula = '' | append: aula_slug | append: '.mp4' %}
<video controls class="aula-video">
@ -36,17 +33,6 @@ lang: pt
</video>
</div>
<div id="etherpad-container" style="display: none;">
<iframe
id="etherpad-iframe"
src="https://pad.alice.ufsj.edu.br/p/{{ page.title }}"
width="100%"
height="500px"
frameborder="0">
</iframe>
</div>
<div class="content-aula">
{{ page.description }}
</br>
@ -58,23 +44,3 @@ lang: pt
</div>
</main>
<!-- -->
<script>
document.addEventListener("DOMContentLoaded", function () {
const etherpadButton = document.getElementById("etherpad"); // Botão
const aulaDiv = document.getElementById("aula"); // Div da aula
const etherpadContainer = document.getElementById("etherpad-container"); // Div do Etherpad
etherpadButton.addEventListener("click", function () {
if (aulaDiv.style.display === "none") {
// Se a aula estiver oculta, exibe a aula e oculta o Etherpad
aulaDiv.style.display = "block";
etherpadContainer.style.display = "none";
} else {
// Caso contrário, oculta a aula e exibe o Etherpad
aulaDiv.style.display = "none";
etherpadContainer.style.display = "block";
}
});
});
</script>