Carregando...
";
+ openProjectModal.classList.add("visible");
+ try {
+ const response = await fetch("metadata/mmp-manifest.json");
+ if (!response.ok)
+ throw new Error("Arquivo mmp-manifest.json não encontrado.");
+ const projects = await response.json();
+
+ serverProjectsList.innerHTML = "";
+ if (projects.length === 0) {
+ serverProjectsList.innerHTML =
+ 'Nenhum projeto encontrado no servidor.
';
+ }
+
+ projects.forEach((projectName) => {
+ const projectItem = document.createElement("div");
+ projectItem.className = "project-item";
+ projectItem.textContent = projectName;
+ projectItem.addEventListener("click", async () => {
+ const success = await loadProjectFromServer(projectName);
+ if (success) {
+ closeOpenProjectModal();
+ }
+ });
+ serverProjectsList.appendChild(projectItem);
+ });
+ } catch (error) {
+ console.error("Erro ao carregar lista de projetos:", error);
+ serverProjectsList.innerHTML = `
-
- {% include sidebar.html %}
-
+
+
+
+ {% include sidebar.html %}
-
+
-
Projetos que possuem a tag automation:
+
+ Projetos que possuem a tag automation:
+
@@ -26,99 +27,104 @@ permalink: /automation/
- {% for projeto in site.data.all %}
- {% if projeto.tags.TAG contains "automation" %}
-
-
-
- {% assign file_url = projeto.file | downcase
- | replace: ' ', '-'
- | replace: 'ç', 'c'
- | replace: 'ã', 'a'
- | replace: 'á', 'a'
- | replace: 'â', 'a'
- | replace: 'é', 'e'
- | replace: 'ê', 'e'
- | replace: 'Ã', 'i'
- | replace: 'ó', 'o'
- | replace: 'ô', 'o'
- | replace: 'õ', 'o'
- | replace: 'ú', 'u' %}
+ {% for projeto in site.data.all %} {% if projeto.tags.TAG contains
+ "automation" %}
+
+
+
+ {% assign file_url = projeto.file | downcase | replace: ' ', '-' |
+ replace: 'ç', 'c' | replace: 'ã', 'a' | replace: 'á', 'a' | replace:
+ 'â', 'a' | replace: 'é', 'e' | replace: 'ê', 'e' | replace: 'Ã', 'i' |
+ replace: 'ó', 'o' | replace: 'ô', 'o' | replace: 'õ', 'o' | replace:
+ 'ú', 'u' %}
-
- {{ projeto.file }}
-
+
+ {{ projeto.file }}
+
-
- {% if projeto.tags.automation and projeto.tags.automation.size > 0 %}
-
-
Automation:
-
- {% for automation in projeto.tags.automation %}
- {% if automation != "" %}
- - {{ automation }}
- {% endif %}
- {% endfor %}
-
-
- {% endif %}
-
+
+ {% if projeto.tags.automation and projeto.tags.automation.size > 0 %}
+
+
Automation:
+
+ {% for automation in projeto.tags.automation %} {% if automation
+ != "" %}
+ -
+ {{ automation }}
+
+ {% endif %} {% endfor %}
+
- {% endif %}
- {% endfor %}
+ {% endif %}
+
+
+ {% endif %} {% endfor %}
\ No newline at end of file
+
diff --git a/bassline.html b/bassline.html
index 9e08279..00e482c 100644
--- a/bassline.html
+++ b/bassline.html
@@ -3,18 +3,19 @@ layout: default
title: Projetos com a tag Bassline
permalink: /bassline/
---
-
-
-
- {% include sidebar.html %}
-
+
+
+
+ {% include sidebar.html %}
-
+
-
Projetos que possuem a tag bassline:
+
+ Projetos que possuem a tag bassline:
+
@@ -26,109 +27,111 @@ permalink: /bassline/
- {% for projeto in site.data.all %}
- {% if projeto.tags.TAG contains "bassline" %}
-
-
-
- {% assign file_url = projeto.file | downcase
- | replace: ' ', '-'
- | replace: 'ç', 'c'
- | replace: 'ã', 'a'
- | replace: 'á', 'a'
- | replace: 'â', 'a'
- | replace: 'é', 'e'
- | replace: 'ê', 'e'
- | replace: 'Ã', 'i'
- | replace: 'ó', 'o'
- | replace: 'ô', 'o'
- | replace: 'õ', 'o'
- | replace: 'ú', 'u' %}
+ {% for projeto in site.data.all %} {% if projeto.tags.TAG contains
+ "bassline" %}
+
+
+
+ {% assign file_url = projeto.file | downcase | replace: ' ', '-' |
+ replace: 'ç', 'c' | replace: 'ã', 'a' | replace: 'á', 'a' | replace:
+ 'â', 'a' | replace: 'é', 'e' | replace: 'ê', 'e' | replace: 'Ã', 'i' |
+ replace: 'ó', 'o' | replace: 'ô', 'o' | replace: 'õ', 'o' | replace:
+ 'ú', 'u' %}
-
- {{ projeto.file }}
-
+
+ {{ projeto.file }}
+
-
- {% if projeto.tags.bassline and projeto.tags.bassline.size > 0 %}
-
-
Bassline:
-
- {% for bassline in projeto.tags.bassline %}
- {% if bassline != "" %}
- - {{ bassline }}
- {% endif %}
- {% endfor %}
-
-
- {% endif %}
-
+
+ {% if projeto.tags.bassline and projeto.tags.bassline.size > 0 %}
+
+
Bassline:
+
+ {% for bassline in projeto.tags.bassline %} {% if bassline != ""
+ %}
+ -
+ {{ bassline }}
+
+ {% endif %} {% endfor %}
+
- {% endif %}
- {% endfor %}
+ {% endif %}
+
+
+ {% endif %} {% endfor %}
+
+
+
+