mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-19 01:02:30 +02:00
* Added German Translations Translated using https://docs.djangoproject.com/en/1.9/topics/i18n/translation/ Added language drop down menu's for base.html, registration & login pages Known issues: * Translated items in whtracker>create signature remain translated when posted * No date/time localisation for Fleet/Structure timers * Added time locale Added date/time locale to *Structure Timers *Fleet Timers *Fleet timer form datetimepicker.js Fixed a bug where the bootstrap label didn't show up when making a structure timer using the translated form Missed some base.html translations * Small translation error Some obscure SRP strings went unnoticed for context review * FAT & Fleet-up German Translations + a fix in settings.py.example The only small thing not done is German Date/Time locale for Fleet-up * Compiled de/django.po
153 lines
7.4 KiB
HTML
153 lines
7.4 KiB
HTML
{% extends "public/base.html" %}
|
|
{% load bootstrap %}
|
|
{% load staticfiles %}
|
|
{% load i18n %}
|
|
|
|
{% block title %}Alliance Auth{% endblock %}
|
|
{% block page_title %}{% trans "FleetUp - Doctrine" %}{% 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="tab-content">
|
|
<div id="fit" class="tab-pane fade in active">
|
|
<div class="col-lg-3">
|
|
{% for x, y in fitting_data.items %}
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<h3 class="panel-title">{% trans "This fit is part of a doctrine" %}</h3>
|
|
</div>
|
|
<div class="panel-body">
|
|
{% for doctrin in y.Doctrines %}
|
|
<h4>{{ doctrin.Name }}</h4>
|
|
<div class="col-lg-12">
|
|
<p>{% trans "Role in doctrine:" %} {{ doctrin.Role }}</p>
|
|
</div>
|
|
<div class="col-lg-4">
|
|
<p>{% trans "Priority:" %}</p>
|
|
</div>
|
|
<div class="col-lg-8">
|
|
<div class="progress">
|
|
<div class="progress-bar progress-bar-striped" role="progressbar" aria-valuenow="{{ doctrin.Priority }}" aria-valuemin="0" aria-valuemax="5" style="width: {% widthratio doctrin.Priority 5 100 %}%;">
|
|
{{ doctrin.Priority }}/5
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-lg-8 col-lg-offset-7">
|
|
<a class="btn btn-primary" href="/fleetup/doctrines/{{ doctrin.DoctrineId }}/">{% trans "See doctrine" %}</a>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<h3 class="panel-title">{% trans "Fit categories" %}</h3>
|
|
</div>
|
|
<div class="panel-body">
|
|
{% for category in y.Categories %}
|
|
<span class="label label-success">{{ category }}</span>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<h3 class="panel-title">{% trans "All fits in this Doctrine" %}</h3>
|
|
</div>
|
|
<div class="panel-body">
|
|
<div class="list-group">
|
|
{% for arbit, orbit in doctrines_list.items %}
|
|
|
|
{% for fitting in orbit.Data %}
|
|
<a href="/fleetup/fittings/{{ fitting.FittingId }}/" class="list-group-item">
|
|
|
|
<h4 class="list-group-item-heading">{{ fitting.Name }}<span class="pull-right"><img src="https://image.eveonline.com/InventoryType/{{ fitting.EveTypeId }}_32.png" class="img-circle"></span></h4>
|
|
<p class="list-group-item-heading">{{ fitting.Role }} - {{ fitting.ShipType }}</p>
|
|
</a>
|
|
{% endfor %}
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-lg-4">
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
{% for a, j in fitting_data.items %}
|
|
<h3 class="panel-title">{{ j.Name }}</h3>
|
|
</div>
|
|
<div class="panel-body">
|
|
<div class="col-lg-3">
|
|
<img src="https://image.eveonline.com/InventoryType/{{ j.EveTypeId }}_64.png" class="img-responsive">
|
|
</div>
|
|
<div class="col-lg-9">
|
|
<p>{% trans "Hull:" %} <b>{{ j.HullType }}</b></p>
|
|
<p>{% trans "Ship:" %} <b>{{ j.ShipType }}</b></p>
|
|
{% load humanize %}
|
|
<p>{% trans "Estimated price:" %} <b>{{ j.EstPrice|intword }} ISK</b></p>
|
|
</div>
|
|
{% regroup j.FittingData by Slot as fitting_list %}
|
|
<table class="table table-condensed table-hover">
|
|
<tr>
|
|
<th class="col-lg-1"></th>
|
|
<th class="col-lg-11"></th>
|
|
</tr>
|
|
{% for Slot in fitting_list %}
|
|
<tr class="info">
|
|
<td></td><td><b>{{ Slot.grouper }}</b></td>
|
|
</tr>
|
|
{% for item in Slot.list %}
|
|
<tr>
|
|
<td><img src="https://image.eveonline.com/InventoryType/{{ item.TypeId }}_32.png" class="img-responsive"></td>
|
|
<td> {{ item.Quantity }}x {{ item.TypeName }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
{% endfor %}
|
|
</table>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-lg-3">
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<h3 class="panel-title">{% trans "EFT/Export" %}</h3>
|
|
</div>
|
|
<div class="panel-body">
|
|
{% for data in fitting_eft.items %}
|
|
{% autoescape off %}
|
|
<pre>{{ fitting_eft.fitting_eft }}</pre>
|
|
{% endautoescape %}
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock content %} |