FAT uses ESI tokens to get character location/ship

Closes #564
This commit is contained in:
Adarnof
2016-12-11 22:10:05 -05:00
parent a630b5b397
commit b4b739ee61
5 changed files with 106 additions and 226 deletions

View File

@@ -0,0 +1,36 @@
{% extends 'public/base.html' %}
{% block title %}Fleet participation{% endblock %}
{% block page_title %}Fleet Participation{% endblock %}
{% block content %}
<div class="col-lg-12">
{% if registered %}
<h1 class="page-header text-center">Fleet registered!</h1>
{% elif expired%}
<h1 class="page-header text-center">This link has expired.</h1>
{% elif errormessages%}
<h1 class="page-header text-center">Something horrible happened. Shoot your FC!</h1>
{% else %}
<h1 class="page-header text-center">Invalid link.</h1>
{% endif %}
<div class="col-lg-12 container" id="example">
{% for message in errormessages %}
<div class="alert alert-danger" role="alert">{{ message }}</div>
{% endfor %}
<div class="row">
<div class="col-lg-12">
<div class="panel panel-default">
<div class="panel-heading">Fleet Stats</div>
<div class="panel-body">
<div class="col-lg-2 col-sm-2">
<img class="ra-avatar img-responsive" src="https://image.eveonline.com/{% if IS_CORP %}Corporation/{{ CORPORATION_ID }}{% else %}Alliance/{{ ALLIANCE_ID }}{% endif %}_128.png">
</div>
<div class="col-lg-7 col-sm-2">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{% endblock %}