First push
This commit is contained in:
30
ACC/results/templates/results/results.html
Normal file
30
ACC/results/templates/results/results.html
Normal file
@@ -0,0 +1,30 @@
|
||||
{% extends "main.html" %}
|
||||
{% block content %}
|
||||
|
||||
<style>
|
||||
.container {
|
||||
padding: 20px 16px;
|
||||
}
|
||||
</style>
|
||||
|
||||
{% load django_bootstrap_breadcrumbs %}
|
||||
{% block breadcrumbs %}
|
||||
{% clear_breadcrumbs %}
|
||||
{% for b, u in path %}
|
||||
{% breadcrumb_raw_safe b u %}
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
|
||||
{% load django_bootstrap5 %}
|
||||
{% bootstrap_css %}
|
||||
{% bootstrap_javascript %}
|
||||
|
||||
<div class="container">
|
||||
<div class="card">
|
||||
{% render_breadcrumbs %}
|
||||
{% load django_tables2 %}
|
||||
{% render_table table %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
@@ -0,0 +1 @@
|
||||
<a class="btn btn-success" href="{{record.name}}.json">Download</a>
|
@@ -0,0 +1 @@
|
||||
<a class="btn btn-dark" target="_blank" href="https://simresults.net/remote?result={{ request.build_absolute_uri }}{{record.name}}.json">Simresults</a>
|
@@ -0,0 +1 @@
|
||||
<a class="btn btn-primary" href="{{record.name}}">View</a>
|
Reference in New Issue
Block a user