forked from TradeQ/MucQ
-
Notifications
You must be signed in to change notification settings - Fork 0
/
backup_code.txt
125 lines (119 loc) · 2.71 KB
/
backup_code.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
Hello! This is the first text of MucQ! Hope you enjoy this bran new update!
<nav class="navbar">
<div class="logo-wrapped">
<img
class="logo"
src="{{ url_for('static', filename='mucq-logo.png') }}"
/>
<a class="logo-text" href="{{ url_for('main.index') }}">MucQ</a>
</div>
<ul>
<li>
<a
class="#"
id="menuhome"
href="{{ url_for('main.index') }}"
alink="black"
vlink="black"
>Feed</a
>
</li>
<li>
<a
class="#"
id="menuhome"
href="{{ url_for('products.product') }}"
alink="black"
vlink="black"
>Products</a
>
</li>
<li>
<a
class="#"
id="menuabout"
href="{{ url_for('main.about') }}"
alink="black"
vlink="black"
>About</a
>
</li>
<li>
<a
class="#"
id="menusupport"
href="{{ url_for('main.helpcenter') }}"
alink="black"
vlink="black"
>Support</a
>
</li>
<li>
<a href="{{ url_for('main.feedback') }}">Feedback</a>
</li>
{% if current_user.is_authenticated %}
<li>
<a class="navbar-text" href="{{ url_for('users.profile') }}"
><img
class="profile-navbar"
src="{{ url_for('static', filename='profile_pics/' + current_user.image_file) }}"
/></a>
</li>
<li>
<a
class="navbar-text"
href="{{ url_for('users.logout') }}"
alink="black"
vlink="black"
id="logout"
>Logout</a
>
</li>
<li>
<a
class="navbar-text"
href="{{ url_for('main.admin') }}"
alink="black"
vlink="black"
id="sign_up"
>Admin Page</a
>
</li>
{% else %}
<li>
<a
class="navbar-text"
href="{{ url_for('users.login') }}"
alink="black"
vlink="black"
id="login"
>Login</a
>
</li>
<li>
<a
class="navbar-text"
href="{{ url_for('users.signup') }}"
alink="black"
vlink="black"
id="sign_up"
>Sign Up</a
>
</li>
{% endif %}
</ul>
</nav>
product image models.py
product_image = db.Column(db.String(20), unique=False, nullable=True)
<!-- Pagination -->
{% for page_num in posts.iter_pages(left_edge=1, right_edge=1, left_current=1,
right_current=1) %} {% if page_num %} {% if posts.page == page_num %}
<a class="btn-3" href='{{ url_for("main.index", page=page_num) }}'
>{{page_num}}</a
>
{% else %}
<a class="btn-3" href='{{ url_for("main.index", page=page_num) }}'
>{{page_num}}</a
>
{% endif %} {% else %} ... {% endif %} {% endfor %}
<!-- Pagination -->