add icons

This commit is contained in:
Sharad Ahlawat 2020-03-10 13:40:21 -07:00
parent 4a04371fb6
commit 961b4b200b
2 changed files with 4 additions and 1 deletions

3
.gitignore vendored
View File

@ -1,3 +1,4 @@
db.sqlite3
/media
/static
/static
/producthunt/static/open-iconic/

View File

@ -15,6 +15,7 @@
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<link href="{% static 'open-iconic/font/css/open-iconic-bootstrap.css' %}" rel="stylesheet">
<!-- Favicons -->
<meta name="theme-color" content="#563d7c">
@ -51,6 +52,7 @@
<div class="collapse navbar-collapse" id="navbarNavAltMarkup">
<div class="navbar-nav ml-auto">
{% if user.is_authenticated %}
<a class="nav-item nav-link" href="{% url 'create' %}"><span class="oi oi-plus"></span></a>
<a class="nav-item nav-link" href="javascript:{document.getElementById('logout').submit()}">Logout</a>
<form id="logout" method="POST" action="{% url 'logout' %}">
{% csrf_token %}