Initial commit of DEMOS2 with the upgraded 'Create Event' UI. However, there is no input validation currently
This commit is contained in:
commit
7084bd1b16
155 changed files with 8102 additions and 0 deletions
48
allauthdemo/templates/bases/bootstrap-with-nav.html
Executable file
48
allauthdemo/templates/bases/bootstrap-with-nav.html
Executable file
|
@ -0,0 +1,48 @@
|
|||
{% extends "bases/bootstrap-jquery.html" %}
|
||||
{% load staticfiles %}
|
||||
|
||||
{% block nav %}
|
||||
<!-- Fixed navbar -->
|
||||
<div class="navbar navbar-default navbar-static-top navbar-shadow" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="/"><img src='{% static "img/demos2-banner.png" %}' style="height:30px" title="demos2"></a>
|
||||
</div>
|
||||
<div class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li><a href="{% url 'landing_index' %}">Welcome</a></li>
|
||||
<li><a href="{% url 'landing_about' %}">About</a></li>
|
||||
<li><a href="{% url 'polls:index' %}">Events</a></li>
|
||||
{% if user.is_authenticated %}
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||
<strong> {{ user.display_name }}</strong> <b class="caret"></b>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li class="dropdown-header">Account</li>
|
||||
<li><a href="{% url 'account_profile' %}"><i class="fa fa-cog"></i> Settings</a></li>
|
||||
<li><a href="{% url 'account_events' %}"><i class="fa fa-bell"></i> My Events</a></li>
|
||||
<li><a href="{% url 'account_email' %}"><i class="fa fa-envelope"></i> Email Addresses</a></li>
|
||||
<li><a href="{% url 'socialaccount_connections' %}"><i class="fa fa-facebook"></i> Social Networks</a></li>
|
||||
<li><a href="{% url 'account_change_password' %}"><i class="fa fa-lock"></i> Change Password</a></li>
|
||||
<li class="divider"></li>
|
||||
<li><a href="{% url 'account_logout' %}"><i class="fa fa-sign-out"></i> Sign Out</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>{% if user.profile.avatar_url %}<img alt="" style="width:50px; height:50px" src="{{user.profile.avatar_url}}">{% endif %}</li>
|
||||
{% else %}
|
||||
<li><a href="{% url 'account_signup' %}"><strong>Join</strong></a></li>
|
||||
<li><a href="{% url 'account_login' %}"><strong>Log In</strong></a></li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
Reference in a new issue