source: templates/admin_edit_genre.html@ e6c1c76

Last change on this file since e6c1c76 was 19e7fbe, checked in by Valerija Andrijeska <valerija.andrijeska@…>, 4 days ago

BiblioPremium application

  • Property mode set to 100644
File size: 2.6 KB
Line 
1<!DOCTYPE html>
2<html lang="mk">
3
4<head>
5 <meta charset="UTF-8">
6 <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
8 <title>Измени жанр | BiblioPremium</title>
9
10 <link rel="stylesheet"
11 href="{{ url_for('static', filename='style.css') }}">
12</head>
13
14<body>
15
16<header class="navbar">
17
18 <div class="logo">
19 <img src="{{ url_for('static', filename='images/logo.png') }}"
20 alt="BiblioPremium">
21 </div>
22
23 <nav>
24 <a href="{{ url_for('home') }}">Почетна</a>
25
26 <a href="{{ url_for('home') }}#books">Книги</a>
27
28 <a href="{{ url_for('recommendations') }}">Препораки</a>
29
30 <a href="{{ url_for('admin_dashboard') }}">Администрација</a>
31 </nav>
32
33 <div class="nav-buttons">
34
35 <span class="logged-user">
36 👤 {{ session.get('ime') }}
37 </span>
38
39 <a href="{{ url_for('logout') }}"
40 class="login-btn">
41 Одјави се
42 </a>
43
44 </div>
45
46</header>
47
48
49<main class="admin-page">
50
51 <section class="admin-header">
52
53 <p class="admin-label">
54 ADMIN PANEL
55 </p>
56
57 <h1>
58 Измени жанр
59 </h1>
60
61 <p>
62 Измени ги податоците за избраниот жанр.
63 </p>
64
65 </section>
66
67
68 <section class="admin-form-section">
69
70 <form method="POST"
71 action="{{ url_for('admin_edit_genre', zhanr_id=zhanr[0]) }}"
72 class="admin-form">
73
74
75 <div class="admin-form-group admin-form-full">
76
77 <label for="naziv">
78 Назив
79 </label>
80
81 <input type="text"
82 id="naziv"
83 name="naziv"
84 value="{{ zhanr[1] }}"
85 required>
86
87 </div>
88
89
90 <div class="admin-form-group admin-form-full">
91
92 <label for="opis">
93 Опис
94 </label>
95
96 <textarea id="opis"
97 name="opis"
98 rows="5"
99 required>{{ zhanr[2] }}</textarea>
100
101 </div>
102
103
104 <div class="admin-form-actions">
105
106 <button type="submit"
107 class="admin-button">
108 Зачувај промени
109 </button>
110
111 <a href="{{ url_for('admin_genres') }}"
112 class="admin-cancel-btn">
113 Откажи
114 </a>
115
116 </div>
117
118 </form>
119
120 </section>
121
122</main>
123
124</body>
125</html>
Note: See TracBrowser for help on using the repository browser.