Indentation

main
Bob Mottram 2020-10-01 09:37:45 +01:00
parent 3fe7a8c498
commit 9875820469
2 changed files with 25 additions and 23 deletions

View File

@ -927,16 +927,16 @@ aside .toggle-inside li {
@media screen and (min-width: 400px) {
body, html {
background-color: var(--main-bg-color);
color: var(--main-fg-color);
background-color: var(--main-bg-color);
color: var(--main-fg-color);
height: 100%;
font-family: Arial, Helvetica, sans-serif;
max-width: var(--column-center-width);
min-width: 950px;
margin-left: var(--column-left-width);
font-size: var(--font-size);
line-height: var(--line-spacing);
height: 100%;
font-family: Arial, Helvetica, sans-serif;
max-width: var(--column-center-width);
min-width: 950px;
margin-left: var(--column-left-width);
font-size: var(--font-size);
line-height: var(--line-spacing);
}
.column-left {
float: left;
@ -1400,16 +1400,16 @@ aside .toggle-inside li {
@media screen and (max-width: 1000px) {
body, html {
background-color: var(--main-bg-color);
color: var(--main-fg-color);
background-color: var(--main-bg-color);
color: var(--main-fg-color);
height: 100%;
font-family: Arial, Helvetica, sans-serif;
max-width: var(--column-center-width);
min-width: 950px;
margin-left: 0;
font-size: var(--font-size);
line-height: var(--line-spacing);
height: 100%;
font-family: Arial, Helvetica, sans-serif;
max-width: var(--column-center-width);
min-width: 950px;
margin-left: 0;
font-size: var(--font-size);
line-height: var(--line-spacing);
}
.column-left {
float: left;

View File

@ -5537,7 +5537,8 @@ def htmlTimeline(defaultTimeline: str,
# happening today button
tlStr += \
'<center>\n<a href="' + usersPath + '/calendar?year=' + \
' <center>\n' + \
' <a href="' + usersPath + '/calendar?year=' + \
str(now.year) + '?month=' + str(now.month) + \
'?day=' + str(now.day) + '"><button class="buttonevent">' + \
translate['Happening Today'] + '</button></a>\n'
@ -5545,18 +5546,19 @@ def htmlTimeline(defaultTimeline: str,
# happening this week button
if thisWeeksEventsCheck(baseDir, nickname, domain):
tlStr += \
'<a href="' + usersPath + \
' <a href="' + usersPath + \
'/calendar"><button class="buttonevent">' + \
translate['Happening This Week'] + '</button></a>\n'
tlStr += '</center>\n'
tlStr += ' </center>\n'
else:
# happening this week button
if thisWeeksEventsCheck(baseDir, nickname, domain):
tlStr += \
'<center>\n<a href="' + usersPath + \
' <center>\n' + \
' <a href="' + usersPath + \
'/calendar"><button class="buttonevent">' + \
translate['Happening This Week'] + '</button></a>\n' + \
'</center>\n'
' </center>\n'
# benchmark 8
timeDiff = int((time.time() - timelineStartTime) * 1000)