Skip to content

Commit

Permalink
add password
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanna committed Nov 17, 2024
1 parent 057a3da commit d4f45b1
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions admin.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,16 @@
<link rel="stylesheet" href="/css/main.css" />
</head>
<body>
<main class="content">

<div id="authSection">
<label for="password">Введіть пароль для доступу до адмін-панелі</label>
<input type="password" id="password" placeholder="Пароль">
<button id="loginButton">Увійти</button>
<p id="authMessage" style="color: red;"></p>
</div>

<div id="adminPanel" style="display: none;">
<!-- Контент адмін панелі -->
123
<button onclick="logout()">Вийти</button>
<div id="authSection">
<label for="password">Введіть пароль для доступу до адмін-панелі</label>
<input type="password" id="password" placeholder="Пароль">
<button id="loginButton">Увійти</button>
<p id="authMessage" style="color: red;"></p>
</div>

<main id="adminPanel" style="display: none;" class="content">

<nav class="nav">
<div class="container">
<div class="nav__row">
Expand Down

0 comments on commit d4f45b1

Please sign in to comment.