|
|
|
@ -2,19 +2,39 @@ |
|
|
|
<html lang="en"> |
|
|
|
<head> |
|
|
|
<meta charset="UTF-8"> |
|
|
|
<title>Mis Letras de Canciones</title> |
|
|
|
<title>My Song Lyrics</title> |
|
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}"> |
|
|
|
</head> |
|
|
|
<body> |
|
|
|
<div class="container"> |
|
|
|
<h1>Mis Letras de Canciones</h1> |
|
|
|
<h1>My Song Lyrics</h1> |
|
|
|
<nav> |
|
|
|
<a href="{{ url_for('index') }}">Inicio</a> |
|
|
|
<a href="{{ url_for('add_song') }}">Añadir canción</a> |
|
|
|
<a href="{{ url_for('add_album') }}">Añadir Álbum</a> |
|
|
|
<a href="{{ url_for('index') }}">Home</a> |
|
|
|
<a href="{{ url_for('add_song') }}">Add Song</a> |
|
|
|
<a href="{{ url_for('add_album') }}">Add Album</a> |
|
|
|
</nav> |
|
|
|
<hr> |
|
|
|
{% block content %}{% endblock %} |
|
|
|
</div> |
|
|
|
<script> |
|
|
|
function openTab(evt, tabName) { |
|
|
|
var i, tabcontent, tablinks; |
|
|
|
tabcontent = document.getElementsByClassName("tabcontent"); |
|
|
|
for (i = 0; i < tabcontent.length; i++) { |
|
|
|
tabcontent[i].style.display = "none"; |
|
|
|
} |
|
|
|
tablinks = document.getElementsByClassName("tablinks"); |
|
|
|
for (i = 0; i < tablinks.length; i++) { |
|
|
|
tablinks[i].className = tablinks[i].className.replace(" active", ""); |
|
|
|
} |
|
|
|
document.getElementById(tabName).style.display = "block"; |
|
|
|
evt.currentTarget.className += " active"; |
|
|
|
} |
|
|
|
|
|
|
|
// Default open tab |
|
|
|
document.addEventListener('DOMContentLoaded', function () { |
|
|
|
document.getElementsByClassName('tablinks')[0].click(); |
|
|
|
}); |
|
|
|
</script> |
|
|
|
</body> |
|
|
|
</html> |