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

Patch 4 #4

Open
wants to merge 25 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all 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
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,5 @@ Werkzeug==0.11.15
WTForms==2.1

dj-database-url==0.4.1
psycopg2==2.6.2
whitenoise==2.0.6

Binary file added static/img/IMG_20161029_153705-1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/portfolio/IMG_20170604_174833_483.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion static/mail/contact_me.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
$message = strip_tags(htmlspecialchars($_POST['message']));

// Create the email and send the message
$to = 'yourname@yourdomain.com'; // Add your email address inbetween the '' replacing [email protected] - This is where the form will send a message to.
$to = 'denis.murphy@thehappymindset.com'; // Add your email address inbetween the '' replacing [email protected] - This is where the form will send a message to.
$email_subject = "Website Contact Form: $name";
$email_body = "You have received a new message from your website contact form.\n\n"."Here are the details:\n\nName: $name\n\nEmail: $email_address\n\nPhone: $phone\n\nMessage:\n$message";
$headers = "From: [email protected]\n"; // This is the email address the generated message will be from. We recommend using something like [email protected].
Expand Down
30 changes: 14 additions & 16 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span> Menu <i class="fa fa-bars"></i>
</button>
<a class="navbar-brand" href="#page-top">CP Flask App</a>
<a class="navbar-brand" href="#page-top">SUHASAPP</a>
</div>

<!-- Collect the nav links, forms, and other content for toggling -->
Expand Down Expand Up @@ -83,9 +83,9 @@
<div class="container" id="maincontent" tabindex="-1">
<div class="row">
<div class="col-lg-12">
<img class="img-responsive" src="/static/img/learn_python.jpeg" alt="" width="304"height="236">
<img class="img-responsive" src="/static/img/IMG_20161029_153705-1.jpeg" alt="" width="304"height="236">
<div class="intro-text">
<h1 class="name">Hey there {{name}}!</h1>
<h1 class="name">Hey there I am Suhas {{name}}!</h1>
<hr class="star-light">
<span class="skills">Python Developer - Flask Framework</span>
</div>
Expand All @@ -112,27 +112,27 @@ <h2>Portfolio</h2>
<i class="fa fa-search-plus fa-3x"></i>
</div>
</div>
<img src="/static/img/portfolio/chesstastic.jpeg" target="_blank" class="img-responsive" alt="Chesstastic">
<img src="https://upload.wikimedia.org/wikipedia/commons/c/c3/Chess_board_opening_staunton.jpg" target="_blank" class="img-responsive" alt="Chesstastic">
</a>
</div>
<div class="col-sm-4 portfolio-item">
<a href="https://www.cleverprogrammer.com/" target="_blank" class="portfolio-link" data-toggle="modal">
<a href="https://www.facebook.com/suhas.sumu/" target="_blank" class="portfolio-link" data-toggle="modal">
<div class="caption">
<div class="caption-content">
<i class="fa fa-search-plus fa-3x"></i>
</div>
</div>
<img src="/static/img/portfolio/cleverprogrammer.png" class="img-responsive" alt="Slice of cake">
<img src="/static/img/portfolio/IMG_20170604_174833_483.jpg" class="img-responsive" alt="Slice of cake">
</a>
</div>
<div class="col-sm-4 portfolio-item">
<a href="https://www.youtube.com/channel/UCqrILQNl5Ed9Dz6CGMyvMTQ" target="_blank" class="portfolio-link" data-toggle="modal">
<a href="https://github.com/pythfla" target="_blank" class="portfolio-link" data-toggle="modal">
<div class="caption">
<div class="caption-content">
<i class="fa fa-search-plus fa-3x"></i>
</div>
</div>
<img src="/static/img/portfolio/youtubecp.png" class="img-responsive" alt="Circus tent">
<img src="https://services.github.com/on-demand/images/gifs/intro/sign-in.gif" class="img-responsive" alt="Circus tent">
</a>
</div>
</div>
Expand Down Expand Up @@ -170,8 +170,8 @@ <h2>About</h2>
<div class="row">
<div class="footer-col col-md-4">
<h3>Location</h3>
<p>Chicago Illinois,
<br>United States</p>
<p>Bangalore,
<br>India</p>
</div>
<div class="footer-col col-md-4">
<h3></h3>
Expand All @@ -181,13 +181,11 @@ <h3></h3>
<h3>Around the Web</h3>
<ul class="list-inline">
<li>
<a href="https://www.facebook.com/CleverProgrammerr/?ref=br_rs" target="_blank" class="btn-social btn-outline"><span class="sr-only">Facebook</span><i class="fa fa-fw fa-facebook"></i></a>
<a href="https://www.facebook.com/suhas.sumu/" target="_blank" class="btn-social btn-outline"><span class="sr-only">Facebook</span><i class="fa fa-fw fa-facebook"></i></a>
</li>

<li>
<a href="https://www.youtube.com/channel/UCqrILQNl5Ed9Dz6CGMyvMTQ" class="btn-social btn-outline" target="_blank"><span class="sr-only">YouTube</span><i class="fa fa-fw fa-youtube"></i></a>
</li>
<li>
<a href="https://github.com/CleverProgrammer" class="btn-social btn-outline" target="_blank"><span class="sr-only">Linked In</span><i class="fa fa-fw fa-github"></i></a>
<a href="https://github.com/SuhasGH" class="btn-social btn-outline" target="_blank"><span class="sr-only">Linked In</span><i class="fa fa-fw fa-github"></i></a>
</li>
</ul>
</div>
Expand All @@ -199,7 +197,7 @@ <h3>Around the Web</h3>
<div class="container">
<div class="row">
<div class="col-lg-12">
Copyright &copy; Clever Programmer - CP Flask Portfolio 2017 - Created on C9
Simple Portfolio based on Flask
</div>
</div>
</div>
Expand Down