-
Notifications
You must be signed in to change notification settings - Fork 52
Frontend Inheritance Organization (WIP) - Calendar Responsiveness Bug Fix #218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
yammesicka
merged 8 commits into
PythonFreeCourse:develop
from
OdeYec:frontend-inhertience-organization
Feb 7, 2021
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
829e3c9
fix: grid responsiveness (fills grid to the bottom now)
OdeYec 687807d
refractor: cleaned base.html and added common site headers
OdeYec 1d6ca13
refractor: added global.css
OdeYec 488772d
refractor: rearranged calendar files to use inheritance
OdeYec cf259f3
refractor: rearranged index (home) files to use inheritance
OdeYec 980218c
refractor: lint
OdeYec 019aac4
small css change in global.css
OdeYec fdac7ad
fixed week highlight
OdeYec File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
} | ||
|
||
html, body{ | ||
height: 100%; | ||
} | ||
|
||
body{ | ||
background-color: #F7F7F7; | ||
color: #222831; | ||
font-family: "Assistant", "Ariel", sans-serif; | ||
font-weight: 400; | ||
line-height: 1.7; | ||
text-rendering: optimizeLegibility; | ||
scroll-behavior: smooth; | ||
width: 100%; | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{% extends "partials/calendar/calendar_base.html" %} | ||
{% block content %} | ||
<header> | ||
<div> | ||
<div class="title"> {{day.display()}}</div> | ||
<div class="sec-title"> Location 0<sup>o</sup>c 00:00</div> | ||
</div> | ||
<div id="logo-div"> | ||
<a href="/calendar/month"> | ||
<h1 class="title"> PYLENDAR </h1> | ||
</a> | ||
</div> | ||
</header> | ||
<main> | ||
{% include 'partials/calendar/monthly_view/monthly_grid.html' %} | ||
</main> | ||
{% endblock content %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{% extends "base.html" %} | ||
{% extends "partials/index/index_base.html" %} | ||
|
||
{% block content %} | ||
|
||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
{% block head %} | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
|
||
<!-- Fonts --> | ||
<link href="https://fonts.googleapis.com/css2?family=Assistant:wght@200;300;400;500;600;700;800&display=swap" | ||
rel="stylesheet"> | ||
|
||
<!-- CSS --> | ||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet" | ||
integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous"> | ||
<link href="{{ url_for('static', path='/global.css') }}" rel="stylesheet"> | ||
|
||
<!-- Icons --> | ||
<script src="https://unpkg.com/ionicons@5.2.3/dist/ionicons.js"></script> | ||
<script defer src="https://use.fontawesome.com/releases/v5.0.8/js/all.js" | ||
integrity="sha384-SlE991lGASHoBfWbelyBPLsUlwY1GwNDJo3jSJO04KZ33K2bwfV9YBauFfnzvynJ" | ||
crossorigin="anonymous"></script> | ||
|
||
<!-- Javascript --> | ||
<script defer src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/js/bootstrap.bundle.min.js" | ||
integrity="sha384-ygbV9kiqUc6oa4msXn9868pTtWMgiQaeYH7/t7LECLbyPA2x65Kgf80OJFdroafW" | ||
crossorigin="anonymous"></script> | ||
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.4/Chart.min.js" | ||
integrity="sha512-d9xgZrVZpmmQlfonhQUvTR7lMPtO7NkZMkA0ABN3PHCbKA5nqylQ/yWlFAyY6hYgdF1Qh6nYiuADWwKB4C2WSw==" | ||
crossorigin="anonymous"></script> | ||
<script defer type="text/javascript" src="{{ url_for('static', path='/popover.js') }}"></script> | ||
{% endblock head %} | ||
{% block title %}<title>Pylendar{% if self.page_name() %} - {% endif %}{% block page_name %}{% endblock %}</title>{% | ||
endblock %} | ||
</head> | ||
<body> | ||
{% block body %} | ||
{% endblock %} | ||
</body> | ||
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{% extends "./partials/base.html" %} | ||
{% block head %} | ||
{{super()}} | ||
|
||
<!-- CSS --> | ||
<link href="{{ url_for('static', path='/grid_style.css') }}" rel="stylesheet" type="text/css"> | ||
|
||
<!-- Scripts --> | ||
<script src="{{ url_for('static', path='/js/grid_scripts.js') }}"></script> | ||
{% endblock head %} | ||
{% block page_name %}Month View{% endblock page_name %} | ||
{% block body %} | ||
<div class="pyldr-container"> | ||
{% include 'partials/calendar/navigation.html' %} | ||
<div class="background-lightgray" id="feature-settings"> | ||
{% include 'partials/calendar/feature_settings/example.html' %} | ||
</div> | ||
<div class="content"> | ||
{% block content %} | ||
{% endblock content %} | ||
</div> | ||
</div> | ||
{% endblock body %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<div class="title"> FEATURE NAME </div> |
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.