You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
xmrauctions/web/templates/home.html

56 lines
1.8 KiB
HTML

5 years ago
{% extends 'base.html' %}
{% block content %}
<section id="banner">
{% if request.user.is_authenticated %}
<!-- <h2>Home</h2> -->
5 years ago
<ul class="actions">
<li><a href="{% url 'create_item' %}" class="button">Sell An Item</a></li>
<li><a href="{% url 'list_items' %}" class="button">View Items</a></li>
<li><a href="{% url 'list_bids' %}" class="button">View Bids</a></li>
<li><a href="{% url 'logout' %}" class="button">Logout ({{ request.user.username }})</a></li>
5 years ago
</ul>
{% else %}
<h2>Buy and sell items for digital cash.</h2>
<ul class="actions">
<li><a href="{% url 'create_item' %}" class="button big">Sell an Item</a></li>
<li><a href="{% url 'list_items' %}" class="button big">View Items</a></li>
5 years ago
</ul>
{% endif %}
</section>
<section id="one" class="wrapper style2 align-center network-stats">
<div class="container">
<header>
<h2>Monero Network Statistics</h2>
</header>
{% if daemon_info %}
<div class="row 200%">
<section class="2u 12u$(small)">
<p>Network:<br>{{ daemon_info.nettype }}</p>
</section>
<section class="2u 12u$(small)">
<p>Status:<br>{{ daemon_info.status }}</p>
</section>
<section class="2u 12u$(small)">
<p>Version:<br>{{ daemon_info.version }}</p>
</section>
<section class="2u 12u$(small)">
<p>Transactions:<br>{{ daemon_info.tx_count }}</p>
</section>
<section class="2u 12u$(small)">
<p>Block:<br>{{ daemon_info.height }}</p>
</section>
<section class="2u 12u$(small)">
<p>Difficulty:<br>{{ daemon_info.difficulty }}</p>
</section>
</div>
{% else %}
<p class="text-muted">Daemon is not connected; statistics unavailable.</p>
{% endif %}
</div>
</section>
{% endblock %}