| {% extends "base.html" %} |
| |
| {% load staticfiles %} |
| |
| {% block head_block %} |
| {{ block.super }} |
| |
| {% endblock %} |
| {% block title_header_big %} |
| {{ block.super }} |
| {% endblock %} |
| {% block left_sidebar %} |
| |
| {% include 'left_sidebar_base.html' %} |
| |
| {% endblock %} |
| |
| |
| {% block breadcrumb_body %} |
| {{ block.super }} |
| <li><a href="{% url 'projects:projects_list' %}">Projects</a></li> |
| {% endblock %} |
| |
| {% block content_body %} |
| {{ block.super }} |
| {% csrf_token %} |
| <div class="row"> |
| <div class="col-md-12"> |
| |
| <div class="box"> |
| <div class="box-header with-border"> |
| <h3 class="box-title">Projects</h3> |
| <div class="box-tools"> |
| <a href="" class="btn btn-block btn-primary btn-sm" disabled><i class="fa fa-plus"></i><span> New Project</span></a> |
| </div> |
| </div> |
| <div class="box-body"> |
| <table id="projects_table" class="table table-bordered table-striped"> |
| <thead> |
| <tr> |
| |
| <th>Name</th> |
| <th>Info</th> |
| <th>Type</th> |
| <th>Modification Date</th> |
| <th>Creation Date</th> |
| |
| <th>Owner</th> |
| |
| <th><i class="far fa-trash-alt"></i></th> |
| </tr> |
| </thead> |
| <tbody> |
| {% for p in projects %} |
| <tr> |
| |
| <td> |
| <a href="javascript:openProject('{{ p.id }}')" >{{ p.name }}</a> |
| </td> |
| <td>{{ p.info }}</td> |
| <td>{{ p.get_type }}</td> |
| <td>{{ p.updated_date }}</td> |
| <td>{{ p.created_date }}</td> |
| <td>{{ p.owner.username }}</td> |
| |
| <td><a href="#"> Delete</a></td> |
| |
| </tr> |
| {% endfor %} |
| </tbody> |
| </table> |
| </div> |
| </div> |
| </div> |
| |
| </div> |
| {% endblock %} |
| |
| {% block resource_block %} |
| {{ block.super }} |
| |
| |
| |
| {% endblock %} |