completed index.html changes

This commit is contained in:
Nicholas Matlaga 2017-07-13 14:31:45 -04:00 committed by Griatch
parent eb8d8c8b6f
commit 570762f1fd
2 changed files with 68 additions and 60 deletions

View file

@ -33,7 +33,7 @@
<a class="navbar-brand" href="/"> <a class="navbar-brand" href="/">
<img class="navbar-brand-logo" src="{% static "website/images/evennia_logo.png" %}" /> <img class="navbar-brand-logo" src="{% static "website/images/evennia_logo.png" %}" />
{{ game_name }} {{ game_name }}
<br /><small>{{game_slogan}}</small> <br /><small class="text-muted">{{game_slogan}}</small>
</a> </a>
<div class="collapse navbar-collapse" id="menu-content"> <div class="collapse navbar-collapse" id="menu-content">

View file

@ -7,67 +7,75 @@
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<div class="rowOfBoxes"> <div class="row">
<!--div class="twoThirds noBorderOnLeft"--> <div class="col">
<div class="noBorderOnLeft"> <h1>Welcome!</h1>
<h1>Welcome!</h1> <hr />
<p>Welcome to your new installation of <a href="http://evennia.com">Evennia</a>, your friendly <p>Welcome to your new installation of <a href="http://evennia.com">Evennia</a>, your friendly
neighborhood next-generation MUD development system and server. You are looking at Evennia's web neighborhood next-generation MUD development system and server. You are looking at Evennia's web
presence, which can be expanded to a full-fledged site as presence, which can be expanded to a full-fledged site as
needed. Through the <a href="{% url 'admin:index' %}">admin interface</a> you can view and edit the needed. Through the <a href="{% url 'admin:index' %}">admin interface</a> you can view and edit the
database without logging into the game. database without logging into the game.
{% if webclient_enabled %} {% if webclient_enabled %}
You can also connect to the game directly from your browser using our You can also connect to the game directly from your browser using our
<a href="{% url 'webclient:index' %}">online client</a>!<br></br> <a href="{% url 'webclient:index' %}">online client</a>!<br></br>
{% endif %} {% endif %}
For more info, take your time to For more info, take your time to
peruse our extensive online <a href="https://github.com/evennia/evennia/wiki">documentation</a>. peruse our extensive online <a href="https://github.com/evennia/evennia/wiki">documentation</a>.
<p> <p>
Should you have any questions, concerns, bug reports, or Should you have any questions, concerns, bug reports, or
if you want to help out, don't hesitate to join the Evennia community to make your voice heard! Drop a mail to the if you want to help out, don't hesitate to join the Evennia community to make your voice heard! Drop a mail to the
<a href="https://groups.google.com/forum/#!forum/evennia">mailing list</a> or to come say hi in the <a href="http://webchat.freenode.net/?channels=evennia">developer chatroom</a>. If you find bugs, please report them to our <a href="https://github.com/evennia/evennia/issues">Issue tracker</a>. <a href="https://groups.google.com/forum/#!forum/evennia">mailing list</a> or to come say hi in the <a href="http://webchat.freenode.net/?channels=evennia">developer chatroom</a>. If you find bugs, please report them to our <a href="https://github.com/evennia/evennia/issues">Issue tracker</a>.
</p> </p>
</div> </div>
</div> </div>
<div class="rowOfBoxes dividingBorderAbove"> <div class="row">
<div class="quarter noBorderOnLeft"> <div class="col">
<h1>Players</h1> <h2>Evennia</h2>
<p> <hr />
There's currently <strong>{{num_players_connected}}</strong> connected out of a total of <strong>{{num_players_registered}}</strong> players registered. Of these, <strong>{{num_players_registered_recent}}</strong> were created this week, and <strong>{{num_players_connected_recent}}</strong> have connected within the last seven days. <p><a href="http://evennia.com">Evennia</a> is an open-source MUD server built in
</p> <a href="http://python.org">Python</a>, on top of the
</div> <a href="http://twistedmatrix.com">Twisted</a> and
<a href="http://djangoproject.com">Django</a> frameworks. This
combination of technologies allows for the quick and easy creation
of the game of your dreams - as simple or as complex as you like.</p>
</div>
</div>
<hr />
<div class="row">
<div class="card-deck">
<div class="card card-outline-secondary">
<h3 class="card-header">Players</h3>
<div class="card-block"
<p>
There's currently <strong>{{num_players_connected}}</strong> connected out of a total of <strong>{{num_players_registered}}</strong> players registered. Of these, <strong>{{num_players_registered_recent}}</strong> were created this week, and <strong>{{num_players_connected_recent}}</strong> have connected within the last seven days.
</p>
</div>
</div>
<div class="quarter"> <div class="card card-outline-secondary">
<h1>Recently Connected</h1> <h3 class="card-header">Recently Connected</h3>
<ul> <div class="card-block">
{% for player in players_connected_recent %} <ul>
<li>{{player.username}} -- <em>{{player.last_login|timesince}} ago</em></li> {% for player in players_connected_recent %}
{% endfor %} <li>{{player.username}} -- <em>{{player.last_login|timesince}} ago</em></li>
</ul> {% endfor %}
<p class="filler"><!-- Filler para to extend left vertical line --></p> </ul>
</div> </div>
</div>
<div class="quarter"> <div class="card card-outline-secondary">
<h1>Database Stats</h1> <h3 class="card-header">Database Stats</h3>
<ul> <div class="card-block">
<li>{{num_players_registered}} players (+ {{num_characters}} characters)</li> <ul>
<li>{{num_rooms}} rooms (+ {{num_exits}} exits)</li> <li>{{num_players_registered}} players (+ {{num_characters}} characters)</li>
<li>{{num_others}} other objects</li> <li>{{num_rooms}} rooms (+ {{num_exits}} exits)</li>
<li>{{num_others}} other objects</li>
</ul> </ul>
</div> </div>
</div>
<div class="quarter"> </div>
<h1>Evennia</h1> </div>
<p><a href="http://evennia.com">Evennia</a> is an open-source MUD server built in
<a href="http://python.org">Python</a>, on top of the
<a href="http://twistedmatrix.com">Twisted</a> and
<a href="http://djangoproject.com">Django</a> frameworks. This
combination of technologies allows for the quick and easy creation
of the game of your dreams - as simple or as complex as you like.</p>
</div>
</div>
{% endblock %} {% endblock %}