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 3 #12

Open
wants to merge 49 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
64307b6
changed from CP FLASK App to PORTFOLIO APP
1KEBRON Dec 19, 2017
c85a208
Changed FB URL
1KEBRON Dec 19, 2017
5f3c161
Add files via upload
1KEBRON Dec 19, 2017
16be450
Changed img and text to the image
1KEBRON Dec 19, 2017
ba748af
Delete chesstastic.jpeg
1KEBRON Dec 20, 2017
7057376
added img of days_untill
1KEBRON Dec 20, 2017
b8e7dbb
added im of days untill
1KEBRON Dec 20, 2017
f7dec32
added agex.png
1KEBRON Dec 20, 2017
71e5bc9
Delete even.PNG
1KEBRON Dec 20, 2017
d97c986
added Xmail.png
1KEBRON Dec 20, 2017
75a542b
updated img from cleverprogrammer to Xmail
1KEBRON Dec 20, 2017
239d2c4
changed URL
1KEBRON Dec 20, 2017
821786d
changed some about text
1KEBRON Dec 20, 2017
518c219
Update index.html
1KEBRON Dec 20, 2017
3d75613
Changed some URLS and replaced images
1KEBRON Dec 20, 2017
18a285c
Add files via upload
1KEBRON Dec 20, 2017
f49c84f
Update index.html
1KEBRON Dec 20, 2017
7af977f
changed intro text
1KEBRON Dec 20, 2017
0da0c2f
Update index.html
1KEBRON Dec 20, 2017
ab28828
Update index.html
1KEBRON Dec 20, 2017
8e91462
changed some logo's , Url , copyright
1KEBRON Dec 20, 2017
abfe15e
Update index.html
1KEBRON Dec 20, 2017
7c065b9
changed text in skills line and the location
1KEBRON Dec 20, 2017
68b277d
added juicy pic
1KEBRON Dec 20, 2017
75d0fe5
added extra_juicy.PNG
1KEBRON Dec 20, 2017
fef24f5
changed intro img
1KEBRON Dec 20, 2017
a9cb7bb
Update index.html
1KEBRON Dec 20, 2017
01dc371
Update index.html
1KEBRON Dec 20, 2017
c75dc77
added extraa_juicy.PNG
1KEBRON Dec 20, 2017
60d2286
Delete extra_juicy.PNG
1KEBRON Dec 20, 2017
934c707
changed the height and width
1KEBRON Dec 20, 2017
a5fcfb9
Update index.html
1KEBRON Dec 26, 2017
b633e43
Update index.html
1KEBRON Dec 26, 2017
e822777
Update app.py
1KEBRON Dec 26, 2017
6fdca8e
Update app.py
1KEBRON Dec 26, 2017
3cd0702
Update app.py
1KEBRON Dec 26, 2017
8f8c5a3
Update app.py
1KEBRON Dec 26, 2017
b224733
Update add_numbers.html
1KEBRON Dec 26, 2017
4a48e1c
Update python_apps.html
1KEBRON Dec 26, 2017
e4ad6a9
Update add_numbers.html
1KEBRON Dec 27, 2017
efdcf1f
Update index.html
1KEBRON Dec 27, 2017
ffb53d5
Update index.html
1KEBRON Dec 27, 2017
b1233c5
Update index.html
1KEBRON Dec 27, 2017
bdecd4d
Update index.html
1KEBRON Dec 27, 2017
5caad84
Update index.html
1KEBRON Dec 27, 2017
5c6669f
Update index.html
1KEBRON Dec 27, 2017
87d65cf
Update code.html
1KEBRON Dec 27, 2017
49b649c
Update code.html
1KEBRON Dec 27, 2017
9fc1fa9
Update code.html
1KEBRON Dec 27, 2017
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
4 changes: 2 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ def add_numbers_post():
return render_template('add_numbers.html')
elif request.method == 'POST':
print(request.form['text'].split())
total = 0
total = 1
try:
for str_num in request.form['text'].split():
total += int(str_num)
total *= int(str_num)
return render_template('add_numbers.html', result=str(total))
except ValueError:
return "Easy now! Let's keep it simple! 2 numbers with a space between them please"
Expand Down
Binary file added static/img/extraa_juicy.PNG
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/agesx.png.PNG
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/agex.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed static/img/portfolio/chesstastic.jpeg
Binary file not shown.
Binary file added static/img/portfolio/days_until.PNG
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/juicy.jpg
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/xmail.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions templates/add_numbers.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends "index.html" %}

{% block title %}Addition{% endblock %}
{% block title %}multiplication{% endblock %}

{% block content %}

Expand All @@ -11,7 +11,7 @@
<div class="intro-text">
<h1 class="name"></h1>
<hr class="star-light">
<span class="skills">Let's Add some numbers!</span>
<span class="skills">Let's multiplay some numbers!</span>
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions templates/code.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ <h2>About</h2>
</div>
<div class="row">
<div class="col-lg-4 col-lg-offset-2">
<h3> Let's Add Some Numbers!</h3>
<h3> Let's multiplay Some Numbers!</h3>

<form action="." method="POST">
<input type="text" name="text">
Expand All @@ -47,4 +47,4 @@ <h3> Let's Add Some Numbers!</h3>



{% endblock %}
{% endblock %}
34 changes: 17 additions & 17 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">PORTFOLIO APP</a>
</div>

<!-- Collect the nav links, forms, and other content for toggling -->
Expand Down Expand Up @@ -83,11 +83,11 @@
<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/extraa_juicy.PNG" width="200"height="215">
<div class="intro-text">
<h1 class="name">Hey there {{name}}!</h1>
<h1 class="name">Hey {{name}}, my name is kebron !</h1>
<hr class="star-light">
<span class="skills">Python Developer - Flask Framework</span>
<span class="skills">intermediate python delveloper</span>
</div>
</div>
</div>
Expand All @@ -106,33 +106,33 @@ <h2>Portfolio</h2>
</div>
<div class="row">
<div class="col-sm-4 portfolio-item">
<a href="https://www.chesstastic.com/" target="_blank" class="portfolio-link" data-toggle="modal">
<a href="https://github.com/kebrons/tkinter-apps/tree/master/days_untill" 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/chesstastic.jpeg" target="_blank" class="img-responsive" alt="Chesstastic">
<img src="/static/img/portfolio/days_until.PNG" target="_blank" class="img-responsive" alt="Days untill">
</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://github.com/kebrons/tkinter-apps/tree/master/xmail" 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/xmail.PNG" 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/kebrons/tkinter-apps/tree/master/agex" 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="/static/img/portfolio/agex.PNG" class="img-responsive" alt="Circus tent">
</a>
</div>
</div>
Expand All @@ -150,7 +150,7 @@ <h2>About</h2>
</div>
<div class="row">
<div class="col-lg-4 col-lg-offset-2">
<p>I love the Flask Framework. I can make so many things simply by leveraging code that other people have made for me to use</p>
<p>I LOVE conding in python.Because of it's simplicity to learn it and the best part is that it is powerfull .I am intermediate in coding python but I am always improveing to be a proffesional web developer. </p>
</div>
<div class="col-lg-4">
<p>The languages that you see on this app are HTML, CSS, Python and some JavaScript. By using this BootStrap template I saved myself a lot of time. Instead of creating the HTML and CSS from scratch I was able to edit the template to the way I wanted it to look like.</p>
Expand All @@ -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>stavanger bryne,
<br>Norway</p>
</div>
<div class="footer-col col-md-4">
<h3></h3>
Expand All @@ -181,13 +181,13 @@ <h3></h3>
<h3>Around the Web</h3>
<ul class="list-inline">
<li>
<a href="https://www.facebook.com/CleverProgrammerr/" 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/kebronSZ" 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>
<a href="https://www.snapchat.com/add/kebron24" class="btn-social btn-outline" target="_blank"><span class="sr-only">Snapchat</span><i class="fa fa-snapchat" aria-hidden="true"></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/kebrons" 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 +199,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 with Love on C9.io
Copyright &copy; 2017 kebron solomon zerie - portfolio
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion templates/python_apps.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<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="">
<img class="img-responsive" src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSh3EeW0JcsoswyiQTPico3SfC5BcSEAepfhUh_tTIcWcmEM2kc" alt="">
<div class="intro-text">
<h1 class="name">Simple Python Apps</h1>
<hr class="star-light">
Expand Down