mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-21 18:22:27 +02:00
This fix will resolve the 404 (Page not found) error due to a missing "/" in the URL from different links.
79 lines
3.1 KiB
HTML
79 lines
3.1 KiB
HTML
{% extends "public/base.html" %}
|
|
{% load bootstrap %}
|
|
{% load staticfiles %}
|
|
{% load i18n %}
|
|
|
|
{% block title %}Alliance Auth{% endblock %}
|
|
{% block page_title %}FleetUp{% endblock page_title %}
|
|
|
|
{% block content %}
|
|
<div class="col-lg-12">
|
|
<nav class="navbar navbar-default">
|
|
<div class="container-fluid">
|
|
<div class="navbar-header">
|
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
|
|
<span class="sr-only">{% trans "Toggle navigation" %}</span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
<a class="navbar-brand" href="#">{% trans "Fleet-Up" %}</a>
|
|
</div>
|
|
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
|
<ul class="nav navbar-nav">
|
|
<li><a href="/fleetup/">{% trans "Ops and Timers" %}</a></li>
|
|
<li><a href="/fleetup/doctrines/">{% trans "Doctrines" %}</a></li>
|
|
<li class="active"><a href="/fleetup/fittings/">{% trans "Fittings" %} <span class="sr-only">(current)</span></a></li>
|
|
{% if perms.auth.corp_stats %}
|
|
<li><a href="/fleetup/characters/">{% trans "Characters" %}</a></li>
|
|
{% endif %}
|
|
<li></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
<div class="panel">
|
|
{% if fitting_list %}
|
|
<table class="table table-condensed table-hover table-striped">
|
|
<tr>
|
|
<th class="col-md-1"></th>
|
|
<th class="col-md-1">{% trans "Name" %}</th>
|
|
<th class="col-md-1">{% trans "Hull" %}</th>
|
|
<th class="col-md-1">{% trans "Ship type" %}</th>
|
|
<th class="col-md-1">{% trans "Estimated ISK" %}</th>
|
|
<th class="col-md-2">{% trans "Categories" %}</th>
|
|
</tr>
|
|
{% for id, fittings in fitting_list %}
|
|
|
|
<tr>
|
|
<td>
|
|
<a href="/fleetup/fittings/{{ fittings.fitting_id }}/"><img src="https://image.eveonline.com/InventoryType/{{ fittings.icon_id }}_32.png"></a>
|
|
</td>
|
|
<td>
|
|
{{ fittings.name }}
|
|
</td>
|
|
<td>
|
|
{{ fittings.hull }}
|
|
</td>
|
|
<td>
|
|
{{ fittings.shiptype }}
|
|
</td>
|
|
<td>
|
|
{% load humanize %}{{ fittings.estimated|intword }}
|
|
</td>
|
|
<td>
|
|
{% for categories in fittings.categories %}
|
|
{{ categories }},
|
|
{% endfor %}
|
|
</td>
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
</table>
|
|
{% else %}
|
|
<h3>{% trans "There seems to be no Doctrines in here at the moment!" %}</h3>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock content %} |