forked from Simnation/Main
58 lines
1.4 KiB
HTML
58 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Speisekarte</title>
|
|
<style>
|
|
#menu-container {
|
|
display: none;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
background-color: rgba(0, 0, 0, 0.8);
|
|
padding: 20px;
|
|
border-radius: 10px;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
#menu-image {
|
|
max-width: 800px;
|
|
max-height: 600px;
|
|
}
|
|
|
|
.controls {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
button {
|
|
padding: 10px 20px;
|
|
margin: 0 5px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#page-number {
|
|
color: white;
|
|
margin: 0 20px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="menu-container">
|
|
<img id="menu-image" src="" alt="Speisekarte">
|
|
<div class="controls">
|
|
<button id="prev-page">Vorherige Seite</button>
|
|
<span id="page-number">Seite 1</span>
|
|
<button id="next-page">Nächste Seite</button>
|
|
<button id="close-button">Schließen</button>
|
|
</div>
|
|
</div>
|
|
<script src="nui://game/ui/jquery.js"></script>
|
|
<script src="script.js"></script>
|
|
</body>
|
|
</html>
|
|
|