incomplete support to user and project management
Change-Id: I9238ec321a292bb23c5c5797681819794dcfd0f0
Signed-off-by: lombardofr <lombardo@everyup.it>
diff --git a/template/base.html b/template/base.html
index 60576d1..0932c59 100644
--- a/template/base.html
+++ b/template/base.html
@@ -48,19 +48,19 @@
<div class="navbar-custom-menu">
<ul class="nav navbar-nav">
- {% if user.get_full_name %}
+ {% if user.get_username %}
<!-- User Account: style can be found in dropdown.less -->
<li class="dropdown user user-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
- <img src="{% static user.get_avatar %}" class="user-image" alt="User Image">
+ <img src="/static/assets/img/account_circle.png" class="user-image" alt="User Image">
<span class="hidden-xs">{{ user.username }}</span>
</a>
<ul class="dropdown-menu">
<!-- User image -->
<li class="user-header">
- <img src="{% static user.get_avatar %}" class="img-circle" alt="User Image">
+ <img src="/static/assets/img/account_circle.png" class="img-circle" alt="User Image">
<p id="user_menu_name_role">
- {{ user.get_full_name }}
+ {{ user.get_username }}
<small id="user_menu_role">{{ user.get_user_role_name }}</small>
</p>
</li>
diff --git a/template/login.html b/template/login.html
index 2323200..01019a4 100644
--- a/template/login.html
+++ b/template/login.html
@@ -20,6 +20,10 @@
<input type="password" name="password" class="form-control" placeholder="Password">
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
</div>
+ <div class="form-group has-feedback">
+ <input name="project_id" class="form-control" placeholder="Project">
+ <span class="glyphicon glyphicon-lock form-control-feedback"></span>
+ </div>
<div class="row">
<div class="col-xs-8">