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

adding contacts.html #164

Open
wants to merge 1 commit into
base: develop
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
5 changes: 4 additions & 1 deletion src/mainScanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
@app.route('/')
def homepage():
return render_template('index.html')


@app.route('/contact')
def contact();
return render_template('contact.html')

exc = getattr(__builtin__, "IOError", "FileNotFoundError")

Expand Down
86 changes: 86 additions & 0 deletions src/templates/contacts.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
<!DOCTYPE html>
<html>

<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<!--Import Google Icon Font-->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!--Import materialize.css-->
<link type="text/css" rel="stylesheet" href="static/css/materialize.min.css" media="screen,projection" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
<link href="https://fonts.googleapis.com/css2?family=Montserrat&display=swap" rel="stylesheet">
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="static\css\index.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>

<script src="static\js\index.js" type="text/javascript"></script>

<!--Let browser know website is optimized for mobile-->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>

<body>
<div id="navbar">
<ul class="sidenav sidenav-fixed">
<li>
<div class="user-view">
<div class="background" style="background-color: #3b6978;">
</div>
<a href="#user"><img class="circle"
src="https://user-images.githubusercontent.com/51280276/110759236-660e5f80-8273-11eb-8ba5-35f5cdd13cc6.png"></a>
<a href="#name"><span class="white-text name" style="padding-bottom: 5%;" class="navtitle">Port
Scanner<br></span></a>
</div>
</li>
<li><a href="/">Scan Port</a></li>
<li><a href="#">About</a></li>
<li><a href="#!">Contact</a></li>
<center>
<a href="https://github.com/vinitshahdeo/PortScanner">
<i class="fa fa-github" style=" font-size:48px; color:#3b6978">
</i>
</a>
</center>

</ul>

<script type="text/javascript" src="static/js/materialize.min.js"></script>
</div>
<div id="showpage">
<h1>Contact Information</h1>
<div class="row">
<p><b>Below is the link to the repository:</b>
<a href="https://github.com/vinitshahdeo/PortScanner">Github Repository</a>
</p>

</div>
<ul>
<p><b>Admin</b>
<br>Vinit Shahdeo</br>
</p>
<p><b>Contributers</b>
<dl>
<dt>Vinit Shahdeo</dt>
<dd><a href="https://twitter.com/Vinit_Shahdeo">Twitter</dd>
<dd><a href="https://www.linkedin.com/in/vinitshahdeo/">LinkedIn</dd>
<dd><a href="https://github.com/vinitshahdeo/">GitHub</dd>

<dt>Kashish</dt>
<dd><a href="https://twitter.com/Kashish_121">Twitter</dd>
<dd><a href="https://www.linkedin.com/in/kashish121/">LinkedIn</dd>
<dd><a href="https://github.com/Kashish121/">GitHub</dd>

<dt>Ishika Dubey</dt>
<dd><a href="https://twitter.com/ishika1727">Twitter</dd>
<dd><a href="https://www.linkedin.com/in/ishika1727/">LinkedIn</dd>
<dd><a href="https://github.com/ishika1727/">GitHub</dd>
</dl>
</p>

</ul>
</div>

</body>

</html>
2 changes: 1 addition & 1 deletion src/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</li>
<li><a href="#!">Scan Port</a></li>
<li><a href="#!">About</a></li>
<li><a href="#!">Contact</a></li>
<li><a href="/contact">Contact</a></li>
<center>
<a href="https://github.com/vinitshahdeo/PortScanner">
<i class="fa fa-github" style=" font-size:48px; color:#3b6978">
Expand Down