-
Notifications
You must be signed in to change notification settings - Fork 52
Feature/messege to share #269
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 74 commits into
PythonFreeCourse:develop
from
Michael-B-D:feature/messege_to_share
Feb 18, 2021
Merged
Changes from all commits
Commits
Show all changes
74 commits
Select commit
Hold shift + click to select a range
9f12429
adding func to create new event
83a3f7d
fix linit (except the start of endpoint)
5e3035b
more fix of linit
11f89d5
and more linit
d97d751
delete long line
1d54aa2
add test for bad new event
5ec2490
linit fix
b96f5db
add tests for exception
fe6eff0
linit
010bb8b
change check_validation to check_date_validation
6d876a9
Merge branch 'develop' into develop
Michael-B-D 0591114
linit
6ce4ad8
Merge branch 'develop' of https://github.com/PythonFreeCourse/calenda…
86720df
Merge branch 'develop' of https://github.com/Michael-B-D/calendar int…
538450d
linit
425462a
add more tests
54f7eb7
use return early in event.py
19923eb
delete line
fb4a125
Merge branch 'develop' of https://github.com/PythonFreeCourse/calenda…
f498b0f
/
6438198
pull
7020d75
delete whitespace
0b46709
add else
1e8b415
Merge branch 'develop' of https://github.com/PythonFreeCourse/calenda…
8bc524a
add logger
624fb40
lint
986d056
/
3f10db9
line
4f03231
Merge branch 'develop' of https://github.com/PythonFreeCourse/calenda…
8b41b4d
update
dfbb0e0
.
8b9e415
.
9a2d80d
linit
8c3f9ed
try to fix linit
80ce83d
try agein
8f6dff3
linit
c5da8e8
remove vc_link from tests
07b423c
change func is_date_before name
0b9fd43
.
b490663
.
a565433
moving test to test_event
f3dd91a
linit
522d68b
add venv to gitignore
c07fcdc
remove venv
c0c4033
Merge branch 'develop' of https://github.com/PythonFreeCourse/calenda…
c9c08bc
LINIT
b455f73
/
593d612
/
860a8e1
add claint in test app
2606920
/
b28d1ac
/
5f222ad
.
be7279c
separat vc link and location
4c5d7b8
Merge branch 'develop' of https://github.com/PythonFreeCourse/calenda…
c7a2d04
add html format and func in event.py
fd0f61d
correct the html name
b6b5463
the test is raning add comment
9a9bc7b
LINIT
13fa6ae
lint again
d1d44c4
/
7314224
add css to the html
b12aa0e
delete som css
e9750d8
Merge branch 'develop' of https://github.com/PythonFreeCourse/calenda…
e17cbe4
Merge branch 'develop' of https://github.com/PythonFreeCourse/calenda…
31e6432
add evt to fonc in test_event
776e693
rm pytes - unused
bd2c1ae
add labaels andsend class object to html
978f289
Merge branch 'develop' of https://github.com/PythonFreeCourse/calenda…
32c34df
change font size insted of HTML elemnt
4817b1f
Merge branch 'develop' of https://github.com/PythonFreeCourse/calenda…
3407104
add css file for share event
a3ca76f
Merge branch 'develop' of https://github.com/PythonFreeCourse/calenda…
054f0d4
add css for subtitle and link to register
b2e6588
lint
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,11 @@ | ||
.msg_title{ | ||
font-size: 1.5rem; | ||
} | ||
Michael-B-D marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
.share_event{ | ||
width: 30rem; | ||
} | ||
|
||
.card-subtitle{ | ||
font-weight: 600; | ||
} |
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,40 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
|
||
<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="/app/static/share_event.css" rel="stylesheet"> | ||
|
||
</head> | ||
<body> | ||
<div class="share_event card"> | ||
<p class="msg_title">Hi!</p> | ||
<p class="card-subtitle mb-2 text-muted">{{ msg_info.sender_name }} want you to know about event he have,</p> | ||
<div class="event_info card-body"> | ||
<div> | ||
The event {{ msg_info.event.title }} | ||
</div> | ||
<div> | ||
will take place from {{ msg_info.event.start_date }} until {{ msg_info.event.end_date }} | ||
</div> | ||
<div> | ||
{% if msg_info.event.location is not none %} | ||
in {{ msg_info.event.location }} | ||
{% endif %} | ||
{% if msg_info.event.vc_link is not none %} | ||
<a href="{{ msg_info.event.vc_link }}" class="card-link">Link to vc here</a> | ||
{% endif %} | ||
<!-- TODO get link to the event --> | ||
<!-- <p>See the event <a href="--" class="card-link">here</a> </p> --> | ||
</div> | ||
<div class="card-footer text-muted"> | ||
This app was built by <a href="https://github.com/PythonFreeCourse" class="card-link">"PythonFreeCourse"</a> | ||
<a href="/app/templates/register.html" class="card-link">Join the app!</a> | ||
</div> | ||
</div> | ||
</div> | ||
</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
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
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.