Skip to content

Commit c1c2743

Browse files
committed
Change indent to 2 spaces
1 parent f5e397d commit c1c2743

File tree

3 files changed

+109
-109
lines changed

3 files changed

+109
-109
lines changed

app/templates/home.html

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -3,36 +3,36 @@
33
{% block content %}
44

55

6-
<div class="container mt-4">
7-
</div>
6+
<div class="container mt-4">
7+
</div>
88

9-
<div class="container mt-4">
10-
</div>
11-
<div>
12-
<a id="on">Start Audio</a>
13-
<a id="off">Stop Audio</a>
14-
</div>
9+
<div class="container mt-4">
10+
</div>
11+
<div>
12+
<a id="on">Start Audio</a>
13+
<a id="off">Stop Audio</a>
14+
</div>
1515

16-
<!-- I chose to add the quote day to the home page until the relavent calendar view will be developed. -->
17-
<div>
18-
{% if quote %}
19-
{% if not quote.author %}
20-
<p><i>"{{ quote.text }}"</i></p>
21-
{% else %}
22-
<p><i>"{{ quote.text }}"</i> <span style="font-size: small;">&nbsp; \ {{ quote.author }}</span></p>
23-
{% endif %}
24-
{% endif %}
25-
</div>
16+
<!-- I chose to add the quote day to the home page until the relavent calendar view will be developed. -->
17+
<div>
18+
{% if quote %}
19+
{% if not quote.author %}
20+
<p><i>"{{ quote.text }}"</i></p>
21+
{% else %}
22+
<p><i>"{{ quote.text }}"</i> <span style="font-size: small;">&nbsp; \ {{ quote.author }}</span></p>
23+
{% endif %}
24+
{% endif %}
25+
</div>
2626

27-
<!-- I chose to add the quote day to the home page until the relavent calendar view will be developed. -->
28-
<div>
29-
{% if quote %}
30-
{% if not quote.author %}
31-
<p><i>"{{ quote.text }}"</i></p>
32-
{% else %}
33-
<p><i>"{{ quote.text }}"</i> <span style="font-size: small;">&nbsp; \ {{ quote.author }}</span></p>
34-
{% endif %}
35-
{% endif %}
36-
</div>
27+
<!-- I chose to add the quote day to the home page until the relavent calendar view will be developed. -->
28+
<div>
29+
{% if quote %}
30+
{% if not quote.author %}
31+
<p><i>"{{ quote.text }}"</i></p>
32+
{% else %}
33+
<p><i>"{{ quote.text }}"</i> <span style="font-size: small;">&nbsp; \ {{ quote.author }}</span></p>
34+
{% endif %}
35+
{% endif %}
36+
</div>
3737

3838
{% endblock %}

app/templates/keyboard_shortcuts.html

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,54 @@
11
{% extends "base.html" %}
22

33
{% block content %}
4-
<div id="accordion">
5-
<div class="card">
6-
<div class="card-header" id="General">
7-
<h5 class="mb-0">
8-
<button class="btn btn-link" data-toggle="collapse" data-target="#GeneralShortcuts"
9-
aria-expanded="true" aria-controls="collapseOne">
10-
General Shortcuts - Navigation
11-
</button>
12-
</h5>
13-
</div>
14-
<div class="collapse" id="GeneralShortcuts">
15-
<div class="card card-body">
16-
<table class="table table-sm">
17-
<thead>
18-
<tr>
19-
<th scope="col">Action</th>
20-
<th scope="col">Shortcut</th>
21-
</tr>
22-
</thead>
23-
<tbody>
24-
<tr>
25-
<td>Open Home</td>
26-
<td>Press Alt+C+H</td>
27-
</tr>
28-
<tr>
29-
<td>Open Profile</td>
30-
<td>Press Alt+C+P</td>
31-
</tr>
32-
<tr>
33-
<td>Open Agenda</td>
34-
<td>Press Alt+C+A</td>
35-
</tr>
36-
<tr>
37-
<td>Open Invitations</td>
38-
<td>Press Alt+C+I</td>
39-
</tr>
40-
<tr>
41-
<td>Open Search</td>
42-
<td>Press Alt+C+S</td>
43-
</tr>
44-
<tr>
45-
<td>Open All Shortcuts</td>
46-
<td>Press Ctrl+.</td>
47-
</tr>
48-
</tbody>
49-
</table>
50-
</div>
51-
</div>
4+
<div id="accordion">
5+
<div class="card">
6+
<div class="card-header" id="General">
7+
<h5 class="mb-0">
8+
<button class="btn btn-link" data-toggle="collapse" data-target="#GeneralShortcuts"
9+
aria-expanded="true" aria-controls="collapseOne">
10+
General Shortcuts - Navigation
11+
</button>
12+
</h5>
13+
</div>
14+
<div class="collapse" id="GeneralShortcuts">
15+
<div class="card card-body">
16+
<table class="table table-sm">
17+
<thead>
18+
<tr>
19+
<th scope="col">Action</th>
20+
<th scope="col">Shortcut</th>
21+
</tr>
22+
</thead>
23+
<tbody>
24+
<tr>
25+
<td>Open Home</td>
26+
<td>Press Alt+C+H</td>
27+
</tr>
28+
<tr>
29+
<td>Open Profile</td>
30+
<td>Press Alt+C+P</td>
31+
</tr>
32+
<tr>
33+
<td>Open Agenda</td>
34+
<td>Press Alt+C+A</td>
35+
</tr>
36+
<tr>
37+
<td>Open Invitations</td>
38+
<td>Press Alt+C+I</td>
39+
</tr>
40+
<tr>
41+
<td>Open Search</td>
42+
<td>Press Alt+C+S</td>
43+
</tr>
44+
<tr>
45+
<td>Open All Shortcuts</td>
46+
<td>Press Ctrl+.</td>
47+
</tr>
48+
</tbody>
49+
</table>
5250
</div>
51+
</div>
5352
</div>
53+
</div>
5454
{% endblock %}
Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,42 @@
11
<div class="card card-profile">
2-
<div class="card-body">
2+
<div class="card-body">
33

4-
<p class="card-title">
5-
Explore more features
6-
</p>
4+
<p class="card-title">
5+
Explore more features
6+
</p>
77

8-
<ul class="list-group">
8+
<ul class="list-group">
99

10-
{% if not user.telegram_id %}
11-
<li class="list-group-item list-group-item-action no-border">
12-
<a class="text-decoration-none text-success" href="https://t.me/pylendar_bot" target="_blank">
13-
<strong>Try PyLendar bot</strong>
14-
</a>
15-
</li>
16-
{% endif %}
10+
{% if not user.telegram_id %}
11+
<li class="list-group-item list-group-item-action no-border">
12+
<a class="text-decoration-none text-success" href="https://t.me/pylendar_bot" target="_blank">
13+
<strong>Try PyLendar bot</strong>
14+
</a>
15+
</li>
16+
{% endif %}
1717

1818

19-
<li class="list-group-item list-group-item-action no-border">
20-
<a class="text-decoration-none text-secondary" href="{{ url_for('import_holidays') }}">Add
21-
holidays to calendar</a>
22-
</li>
19+
<li class="list-group-item list-group-item-action no-border">
20+
<a class="text-decoration-none text-secondary" href="{{ url_for('import_holidays') }}">Add
21+
holidays to calendar</a>
22+
</li>
2323

24-
<li class="list-group-item list-group-item-action no-border">
25-
{% if google_error %}
26-
<a class="text-decoration-none text-secondary" href="{{ url_for('google_sync') }}">Sync with
27-
Google - Not
28-
Avaliable</a> {% else %}
29-
<a class="text-decoration-none text-secondary" href="{{ url_for('google_sync') }}">Sync with
30-
Google</a> {% endif %}
31-
</li>
32-
<li class="list-group-item list-group-item-action no-border">
33-
<a class="text-decoration-none text-secondary" href="{{ url_for('keyboard_shortcuts') }}">Keyboard Shortcuts</a>
34-
</li>
35-
<!-- Export Calendar -->
36-
<li class="list-group-item list-group-item-action no-border">
37-
{% include 'partials/user_profile/sidebar_left/features_card/export_calendar.html' %}
38-
</li>
24+
<li class="list-group-item list-group-item-action no-border">
25+
{% if google_error %}
26+
<a class="text-decoration-none text-secondary" href="{{ url_for('google_sync') }}">Sync with
27+
Google - Not
28+
Avaliable</a> {% else %}
29+
<a class="text-decoration-none text-secondary" href="{{ url_for('google_sync') }}">Sync with
30+
Google</a> {% endif %}
31+
</li>
32+
<li class="list-group-item list-group-item-action no-border">
33+
<a class="text-decoration-none text-secondary" href="{{ url_for('keyboard_shortcuts') }}">Keyboard Shortcuts</a>
34+
</li>
35+
<!-- Export Calendar -->
36+
<li class="list-group-item list-group-item-action no-border">
37+
{% include 'partials/user_profile/sidebar_left/features_card/export_calendar.html' %}
38+
</li>
3939

40-
</ul>
41-
</div>
40+
</ul>
41+
</div>
4242
</div>

0 commit comments

Comments
 (0)