Skip to content
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

Update Automessage #319

Closed
wants to merge 22 commits into from
Closed
Show file tree
Hide file tree
Changes from 21 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/Auto_message_on_pr_merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
respondableId: ${{ github.event.pull_request.node_id }}
response: "Thank you @${{ github.event.pull_request.user.login }} for your contribution. Looking forward for more such amazing contributions :)"
response: "This issue is closed @${{ github.event.pull_request.user.login }}. Looking forward for your contributions :)"
author: ${{ github.event.pull_request.user.login }}
#exemptedAuthors: ""
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Byte-compiled / optimized / DLL files
__pycache__/
db.sqlite3

*.py[cod]
*$py.class
Expand Down
93 changes: 77 additions & 16 deletions main_app/templates/main_app/create_contact.html
Original file line number Diff line number Diff line change
@@ -1,32 +1,93 @@

<!DOCTYPE html>
{% extends "main_app/common.html" %}
{% load static %}
<html lang="en">
{% block content %}
<title>Rescue | Create contacts </title>
<style>

html {
scroll-behavior:smooth;
}
</style>
<body style="background-color:white;margin-top:150px;">
<br>
<div class="container">
<form method="POST">
{% csrf_token %}

scroll-behavior: smooth;
}

label {
font-size: 18px;
color: black
}

font-size: 18px;
color: black
}
.jumbotron {
background-color: #f3f3f3;
margin-left: auto;
margin-right: auto;
width: 60%;
}
p {
font-size: 20px;
}
.jumbotron {
background-color: #f3f3f3;
margin-left: auto;
margin-right: auto;
width: 60%;
}
p {
font-size: 20px;
}
.form-control {
width: 50%;
.form-control {
width: 50%;
}

.container {
position: relative;
align-self: flex-start;
padding-right: 20%;
padding-left: 20%
}
</style>

<body style="background-color:white;margin-top:150px;">


<br>
<div class="responsive">
<div class="container" style=" position: relative;
align-self: flex-start;
padding-right: 20%;
padding-left: 20%">
<link href="https://fonts.googleapis.com/css2?family=Bangers&display=swap" rel="stylesheet">
<h1 class="display-4" style="color: black; font-family: 'Bangers', cursive; margin-top: 8%; text-align: center;">
Create a new contact!</h1>
<link href="https://fonts.googleapis.com/css2?family=Overpass:wght@300&display=swap" rel="stylesheet">
<p class="lead" style="font-family: 'Overpass', sans-serif; text-align: center;">Create contacts of your trustworthy people who can help you when you need their help in any emergency.</p>



<hr class="my-4 ">
<p style="text-align: center;">They will get notify when you are in danger!!</p>
<br>
<br>
<form method="POST " style="display: contents; padding-left: 20%; ">

{% csrf_token %}
<div class="alert alert-info" role="alert">
<p align="center"><b>Note : </b>Your mobile number must include your country code such as +91, and must not contain spaces.</p>
<p align="center"><b>Note : </b>Your mobile number must include your country code such as +91, and must not contain spaces.</p>
</div>
{{form.as_p}}
<br>
<button style="color:white; background-color:rgb(30,142,62); border-radius: 25px;"
class="btn" name="submit" type="submit"><b>Create</b></button>
<div class="text-center " style="padding-bottom: 8%; padding-top: 5%; color: rgb(50, 192, 192); ">
<button style="color:white; border-radius: 25px; padding-bottom:35px " class="btn btn-success btn-lg " name="submit " type="submit "><b>Create</b></button></div>
</form>
</div>
<br><br><br><br>
<br><br><br>
{% endblock %}

</div>
</body>

{% endblock %}

</html>
</html>
Loading