Untitled
raw download clone
TEXT
views 23
,
size 2443 b
<!DOCTYPE HTML>
<html lang="pl">
<head>
     <title>Baza muzyczna</title>
    <meta name="description" content="" />
	<meta name="keywords" content="" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
	<link rel="stylesheet" href="/style.css" type="text/css" />
</head>
<body style = "background-image:url(https://i.imgur.com/TZjQlRk.jpg)">
    <div id = "container">
            <div id = "banner">
                    <ul>
                        <li><img src="logo.png" style = "width: 50px; padding:10px;"></li>
                        <li><a href="index">Strona główna</a></li>
                        <li><a href="ranks">Rankingi</a></li>
                        <li><a href="add">Dodaj album</a></li>
                        <li><a href="show">Pokaż albumy</a></li>
                        <li><a href="about">O stronie</a></li>
                        <li style="float:right; margin-top: 25px; margin-right: 20px;"><button type="submit"><i class="fa fa-search">Szukaj</i></button></li>
                        <li style="float:right; margin-top:17px; margin-right:10px;"><input type="text" style="padding-left: 5px; padding-bottom: 10px; padding-top: 10px;" id="in_szukaj" placeholder="Szukaj albumu" required></input></li>
                    </ul>

            </div>


            <% for(var i = 0; i<Albums.length; i++){ %>
				<div id="album" >
					<h2><%= Albums[i].name %></h2>
					<table id="dane_albumu" >
						<tr>
							<th>Wykonawca: </th>
							<th><%= Albums[i].artist %></th>
						</tr>
						<tr>
							<th>Rok wydania: </th>
							<th><%= Albums[i].year %></th>
						</tr>
						<tr>
							<th>Wytwórnia: </th>
							<th><%= Albums[i].label %></th>
						</tr>
					</table>
					<div id="div_okladki">
						<img src=<%= Albums[i].coverlink %> class="okladka" alt="okladka">
					</div>
                    <form action="/edit" method="post">
                        <input type="submit" value="Edytuj">
                    </form>
                    <form action="/delete" method="post">
                        <input type="hidden" name="index" value=<%= i %>>
                        <input type="submit" value="Usuń">
                    </form>
				</div>
            <% } %>

            <footer>
                    <p class="copyright">© COPYRIGHT 2020</p>
                </footer>
    </div>
</body>
</html>
close fullscreen
Login or Register to edit or fork this paste. It's free.