completed index.html changes
This commit is contained in:
parent
eb8d8c8b6f
commit
570762f1fd
2 changed files with 68 additions and 60 deletions
|
|
@ -33,7 +33,7 @@
|
|||
<a class="navbar-brand" href="/">
|
||||
<img class="navbar-brand-logo" src="{% static "website/images/evennia_logo.png" %}" />
|
||||
{{ game_name }}
|
||||
<br /><small>{{game_slogan}}</small>
|
||||
<br /><small class="text-muted">{{game_slogan}}</small>
|
||||
</a>
|
||||
|
||||
<div class="collapse navbar-collapse" id="menu-content">
|
||||
|
|
|
|||
|
|
@ -7,10 +7,10 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="rowOfBoxes">
|
||||
<!--div class="twoThirds noBorderOnLeft"-->
|
||||
<div class="noBorderOnLeft">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<h1>Welcome!</h1>
|
||||
<hr />
|
||||
<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
|
||||
presence, which can be expanded to a full-fledged site as
|
||||
|
|
@ -30,37 +30,11 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="rowOfBoxes dividingBorderAbove">
|
||||
<div class="row">
|
||||
|
||||
<div class="quarter noBorderOnLeft">
|
||||
<h1>Players</h1>
|
||||
<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 class="quarter">
|
||||
<h1>Recently Connected</h1>
|
||||
<ul>
|
||||
{% for player in players_connected_recent %}
|
||||
<li>{{player.username}} -- <em>{{player.last_login|timesince}} ago</em></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<p class="filler"><!-- Filler para to extend left vertical line --></p>
|
||||
</div>
|
||||
|
||||
<div class="quarter">
|
||||
<h1>Database Stats</h1>
|
||||
<ul>
|
||||
<li>{{num_players_registered}} players (+ {{num_characters}} characters)</li>
|
||||
<li>{{num_rooms}} rooms (+ {{num_exits}} exits)</li>
|
||||
<li>{{num_others}} other objects</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="quarter">
|
||||
<h1>Evennia</h1>
|
||||
<div class="col">
|
||||
<h2>Evennia</h2>
|
||||
<hr />
|
||||
<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
|
||||
|
|
@ -68,6 +42,40 @@
|
|||
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="card card-outline-secondary">
|
||||
<h3 class="card-header">Recently Connected</h3>
|
||||
<div class="card-block">
|
||||
<ul>
|
||||
{% for player in players_connected_recent %}
|
||||
<li>{{player.username}} -- <em>{{player.last_login|timesince}} ago</em></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card card-outline-secondary">
|
||||
<h3 class="card-header">Database Stats</h3>
|
||||
<div class="card-block">
|
||||
<ul>
|
||||
<li>{{num_players_registered}} players (+ {{num_characters}} characters)</li>
|
||||
<li>{{num_rooms}} rooms (+ {{num_exits}} exits)</li>
|
||||
<li>{{num_others}} other objects</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue