mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 04:20:17 +02:00
50 lines
2.0 KiB
HTML
50 lines
2.0 KiB
HTML
{% extends "public/base.html" %}
|
|
{% load staticfiles %}
|
|
|
|
{% block title %}Alliance Auth{% endblock %}
|
|
|
|
{% block page_title %}Something something here{% endblock page_title %}
|
|
{% block extra_css %}{% endblock extra_css %}
|
|
|
|
{% block content %}
|
|
<div class="col-lg-12">
|
|
<h1 class="page-header text-center">Characters</h1>
|
|
<div class="container-fluid">
|
|
|
|
{% if authinfo.main_char_id %}
|
|
{% else %}
|
|
<div class="alert alert-danger" role="alert">No primary character set</div>
|
|
{% endif %}
|
|
{% for character in characters %}
|
|
<div class="well profile col-md-6 center-block">
|
|
<div class="col-sm-12">
|
|
<div class="col-xs-12 col-sm-8">
|
|
<h3>{{character.character_name}}</h3>
|
|
<p><strong>Alliance: </strong> {{character.alliance_name}} </p>
|
|
<p><strong>Corporation: </strong>{{character.corporation_name}}</p>
|
|
<p><strong>Corporation Ticker: </strong> {{character.corporation_ticker}} </p>
|
|
</div>
|
|
<div class="col-xs-8 col-sm-4 text-center">
|
|
<figure>
|
|
<img src="https://image.eveonline.com/Character/{{character.character_id}}_128.jpg" alt="" class="img-responsive">
|
|
<br>
|
|
<a href="/main_character_change/{{character.character_id}}">
|
|
{% ifequal character.character_id authinfo.main_char_id %}
|
|
<button type="button" class="btn btn-disable" disabled>Make Primary</button>
|
|
{% else %}
|
|
<button type="button" class="btn btn-primary">Make Primary</button>
|
|
{% endifequal %}
|
|
</a>
|
|
</figure>
|
|
</div>
|
|
</div>
|
|
<div class="col-xs-offset-8 col-sm-4 text-center">
|
|
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock content %}
|