Added website icon png, updatd index.html
This commit is contained in:
parent
6d00552006
commit
891bfc302b
Binary file not shown.
Before Width: | Height: | Size: 766 B |
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
|
@ -4,6 +4,16 @@
|
||||||
<!doctype HTML>
|
<!doctype HTML>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
|
{% load static %}
|
||||||
|
<link rel="icon" href="{% static 'postings/website_icon.png' %}">
|
||||||
|
|
||||||
|
<!-- Required meta tags. -->
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
|
||||||
|
<!-- Bootstrap Stylesheet -->
|
||||||
|
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
|
||||||
|
|
||||||
<title>
|
<title>
|
||||||
{% block title %}RateMyCourse{% endblock %}</title>
|
{% block title %}RateMyCourse{% endblock %}</title>
|
||||||
</title>
|
</title>
|
||||||
|
@ -11,7 +21,24 @@
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
<h1><a href="/">RateMyCourse</a></h1>
|
<nav class="navbar navbar-light bg-light">
|
||||||
|
<a class="navbar-brand" href="/">
|
||||||
|
<img src="{% static 'postings/website_icon.png' %}" width=30 height=30 alt="Website Icon">
|
||||||
|
RateMyCourse
|
||||||
|
</a>
|
||||||
|
<span class="navbar-text">
|
||||||
|
Welcome to this website
|
||||||
|
</span>
|
||||||
|
<form class="form-inline" method="GET" action="/">
|
||||||
|
<select class="form-control mr-sm-2" name="type">
|
||||||
|
<option value="all">Everything</option>
|
||||||
|
<option value="university">Universities</option>
|
||||||
|
<option value="course">Courses</option>
|
||||||
|
</select>
|
||||||
|
<input class="form-control mr-sm-2" name="query" type="search" placeholder="Search" aria-label="Search">
|
||||||
|
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
|
||||||
|
</form>
|
||||||
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
{# All of a page's content to display should be placed in here. #}
|
{# All of a page's content to display should be placed in here. #}
|
||||||
|
@ -19,5 +46,10 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- Javascript dependencies -->
|
||||||
|
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
|
||||||
|
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue