Skip to content

Commit

Permalink
rest of menus
Browse files Browse the repository at this point in the history
  • Loading branch information
1kuceraj committed Sep 24, 2024
1 parent 7ca640e commit 2093300
Show file tree
Hide file tree
Showing 7 changed files with 154 additions and 145 deletions.
9 changes: 9 additions & 0 deletions css/map.css
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,15 @@ body {
text-align: center;
line-height: 1.2;
}

.build-palisade {
color: #4CAF50; /* This is a green color, you can change it to any color you prefer */
}

.build-palisade:hover {
color: #45a049; /* This is a slightly darker green for the hover state */
}

.exclamation-mark {
position: absolute;
top: -15px;
Expand Down
56 changes: 28 additions & 28 deletions templates/bestiary.html
Original file line number Diff line number Diff line change
Expand Up @@ -126,35 +126,35 @@
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container-fluid">
<a class="navbar-brand" href="#">Bestiary</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarContent" aria-controls="navbarContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link" href="/"><i class="bi bi-person"></i> User Panel</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/scoreboard"><i class="bi bi-book"></i> Scores</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/map"><i class="bi bi-map"></i> Map</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/chat"><i class="bi bi-chat-dots"></i> Chat</a>
</li>
</ul>
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link text-danger" href="/logout"><i class="bi bi-moon"></i> Logout</a>
</li>
</ul>
</div>
<div class="container-fluid">
<a class="navbar-brand" href="#">Bestiary</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarContent" aria-controls="navbarContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-between" id="navbarContent">
<ul class="navbar-nav mx-auto">
<li class="nav-item">
<a class="nav-link" href="/"><i class="bi bi-person"></i> User Panel</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/scoreboard"><i class="bi bi-book"></i> Scores</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/map"><i class="bi bi-map"></i> Map</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/chat"><i class="bi bi-chat-dots"></i> Chat</a>
</li>
</ul>
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link text-danger" href="/logout"><i class="bi bi-moon"></i> Logout</a>
</li>
</ul>
</div>
</nav>
<h1>Epic Enclaves Bestiary</h1>
</div>
</nav>
<h1>Epic Enclaves Bestiary</h1>
<div class="bestiary-grid">
{% set seen = set() %}
{% for enemy in enemies %}
Expand Down
56 changes: 28 additions & 28 deletions templates/chat.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,35 +12,35 @@
<link rel="stylesheet" href="/css/chat.css">
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container-fluid">
<a class="navbar-brand" href="#">Chat</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarContent" aria-controls="navbarContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link" href="/"><i class="bi bi-person"></i> User Panel</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/scoreboard"><i class="bi bi-person"></i> Scores</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/map"><i class="bi bi-map"></i> Map</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/bestiary"><i class="bi bi-book"></i> Bestiary</a>
</li>
</ul>
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link text-danger" href="/logout"><i class="bi bi-moon"></i> Logout</a>
</li>
</ul>
</div>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container-fluid">
<a class="navbar-brand" href="#">Chat</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarContent" aria-controls="navbarContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-between" id="navbarContent">
<ul class="navbar-nav mx-auto">
<li class="nav-item">
<a class="nav-link" href="/"><i class="bi bi-person"></i> User Panel</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/scoreboard"><i class="bi bi-person"></i> Scores</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/map"><i class="bi bi-map"></i> Map</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/bestiary"><i class="bi bi-book"></i> Bestiary</a>
</li>
</ul>
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link text-danger" href="/logout"><i class="bi bi-moon"></i> Logout</a>
</li>
</ul>
</div>
</nav>
</div>
</nav>
<div class="chat-container">
<h1>Chat</h1>

Expand Down
56 changes: 28 additions & 28 deletions templates/fight.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,35 +34,35 @@

<body class="bg-light">
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container-fluid">
<a class="navbar-brand" href="#">Combat</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarContent" aria-controls="navbarContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link" href="/">User Panel</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/map">Map</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/bestiary">Bestiary</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/scoreboard">Scores</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/chat">Chat</a>
</li>
<li class="nav-item">
<a class="nav-link text-danger" href="/logout">Logout</a>
</li>
</ul>
</div>
<div class="container-fluid">
<a class="navbar-brand" href="#">Combat</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarContent" aria-controls="navbarContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-center" id="navbarContent">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="/">User Panel</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/map">Map</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/bestiary">Bestiary</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/scoreboard">Scores</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/chat">Chat</a>
</li>
<li class="nav-item">
<a class="nav-link text-danger" href="/logout">Logout</a>
</li>
</ul>
</div>
</nav>
</div>
</nav>

<div class="container">
<div class="row">
Expand Down
58 changes: 29 additions & 29 deletions templates/map.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,37 +15,37 @@
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container-fluid">
<a class="navbar-brand" href="#">Map</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarContent" aria-controls="navbarContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link" href="#" onclick="buildPalisade(); return false;">Build Palisade</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/">User Panel</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/scoreboard">Scores</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/chat">Chat</a>
</li>
<li class="nav-item">
<a class="nav-link text-danger" href="/logout">Logout</a>
</li>
</ul>
<form class="goto-form" id="goto-form" onsubmit="handleGoTo(event)">
<input type="number" id="goto-x" placeholder="X" required>
<input type="number" id="goto-y" placeholder="Y" required>
<button type="submit">Go</button>
<div class="container-fluid">
<a class="navbar-brand" href="#">Map</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarContent" aria-controls="navbarContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-between" id="navbarContent">
<ul class="navbar-nav mx-auto">
<li class="nav-item">
<a class="nav-link build-palisade" href="#" onclick="buildPalisade(); return false;">Build Palisade</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/">User Panel</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/scoreboard">Scores</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/chat">Chat</a>
</li>
<li class="nav-item">
<a class="nav-link text-danger" href="/logout">Logout</a>
</li>
</ul>
<form class="goto-form d-flex" id="goto-form" onsubmit="handleGoTo(event)">
<input class="form-control me-2" type="number" id="goto-x" placeholder="X" required>
<input class="form-control me-2" type="number" id="goto-y" placeholder="Y" required>
<button class="btn btn-outline-light" type="submit">Go</button>
</form>
</div>
</div>
</nav>
</div>
</nav>


<div id="message-display"></div>
Expand Down
50 changes: 25 additions & 25 deletions templates/scoreboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,32 +11,32 @@
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container-fluid">
<a class="navbar-brand" href="#">Scores</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarContent" aria-controls="navbarContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link" href="/">User Panel</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/bestiary">Bestiary</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/chat">Chat</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/map">Map</a>
</li>
<li class="nav-item">
<a class="nav-link text-danger" href="/logout">Logout</a>
</li>
</ul>
</div>
<div class="container-fluid">
<a class="navbar-brand" href="#">Scores</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarContent" aria-controls="navbarContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-center" id="navbarContent">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="/">User Panel</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/bestiary">Bestiary</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/chat">Chat</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/map">Map</a>
</li>
<li class="nav-item">
<a class="nav-link text-danger" href="/logout">Logout</a>
</li>
</ul>
</div>
</nav>
</div>
</nav>

<div class="container">
<section class="section">
Expand Down
14 changes: 7 additions & 7 deletions templates/user_panel.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarContent" aria-controls="navbarContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<div class="collapse navbar-collapse justify-content-center" id="navbarContent">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="/scoreboard"><i class="bi bi-trophy"></i> Scores</a>
</li>
Expand All @@ -45,12 +45,12 @@
</ul>
</li>
</ul>
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link text-danger" href="/logout"><i class="bi bi-moon"></i> Logout</a>
</li>
</ul>
</div>
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link text-danger" href="/logout"><i class="bi bi-moon"></i> Logout</a>
</li>
</ul>
</div>
</nav>
<div class="container">
Expand Down

0 comments on commit 2093300

Please sign in to comment.