source: templates/admin_edit_mood.html@ 77b90d2

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

BiblioPremium application

  • Property mode set to 100644
File size: 2.7 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_mood', raspolozenie_id=raspolozenie[0]) }}"
72 class="admin-form">
73
74 <div class="admin-form-group admin-form-full">
75
76 <label for="naziv">
77 Назив
78 </label>
79
80 <input type="text"
81 id="naziv"
82 name="naziv"
83 value="{{ raspolozenie[1] }}"
84 required>
85
86 </div>
87
88
89 <div class="admin-form-group admin-form-full">
90
91 <label for="opis">
92 Опис
93 </label>
94
95 <textarea id="opis"
96 name="opis"
97 rows="5"
98 required>{{ raspolozenie[2] }}</textarea>
99
100 </div>
101
102
103 <div class="admin-form-actions">
104
105 <button type="submit"
106 class="admin-button">
107 Зачувај промени
108 </button>
109
110 <a href="{{ url_for('admin_moods') }}"
111 class="admin-cancel-btn">
112 Откажи
113 </a>
114
115 </div>
116
117 </form>
118
119 </section>
120
121</main>
122
123</body>
124</html>
Note: See TracBrowser for help on using the repository browser.