Source

indie-community / gamedb / templates / gamedb / game_detail.html

Full commit
Kevin Veroneau 75f5299 
Kevin Veroneau 00cb7a5 
Kevin Veroneau 75f5299 














Kevin Veroneau 00cb7a5 



Kevin Veroneau 75f5299 















Kevin Veroneau 7c21c72 
Kevin Veroneau 75f5299 
Kevin Veroneau 7c21c72 
Kevin Veroneau 75f5299 
Kevin Veroneau 7c21c72 
Kevin Veroneau 75f5299 














{% extends "base.html" %}
{% load ohrrpgce %}

{% block content %}
<div class="row-fluid">
  <div class="span5">
    <center>
      <h3>{{game.title}}</h3>
      <img src="{{game.first_screenshot}}"/>
    </center>
    <div class="alert alert-info">Description</div>
    {{game.description}}
    <div class="alert alert-info">Storyline</div>
    {{game.storyline}}
    <div class="alert alert-info">Credits</div>
    <table class="table">
      <tbody>
        <tr><th>Scenario:</th><td>{% for author in game.scenario.all %}{{author|link}}{% endfor %}</td></tr>
        <tr><th>Graphics:</th><td>{% for author in game.graphics.all %}{{author|link}}{% endfor %}</td></tr>
        <tr><th>Music:</th><td>{% for author in game.music.all %}{{author|link}}{% endfor %}</td></tr>
        <tr><th>Sound FX:</th><td>{% for author in game.sfx.all %}{{author|link}}{% endfor %}</td></tr>
      </tbody>
    </table>
    <div class="alert alert-info">More Screenshots</div>
    <ul class="thumbnails">
    {% for screenshot in game.screenshots.all %}
      <li class="span4"> 
        <img class="pull-left" src="{{screenshot.image.url}}"/>
        <h3>{{screenshot.title}}</h3>
      </li>
    {% endfor %}
    </ul>
  </div>
  <div class="span3">
    <div class="alert alert-info">Game Title</div>
    {{game.title}}
    <div class="alert alert-info">Game Type</div>
    <a href="{% url 'game_list' %}?game_type={{game.game_type}}">{{game.get_game_type_display}}</a>
    <div class="alert alert-info">Game Genre</div>
    <a href="{% url 'game_list' %}?genre={{game.genre}}">{{game.get_genre_display}}</a>
    <div class="alert alert-info">Game Style</div>
    <a href="{% url 'game_list' %}?style={{game.style}}">{{game.get_style_display}}</a>
    <div class="alert alert-info">Engine Version used</div>
    {{game.engine}}
    <div class="alert alert-info">Download this game</div>
      {% for download in game.downloads.all %}
        <a href="#">{{download}}</a><br/>
        <i>Downloaded {{download.download_count}} times.</i>
      {% endfor %}
    <div class="alert alert-info">Player comments</div>
    <a href="#">View Comments</a>
    <div class="alert alert-info">Date Added</div>
    {{game.date_added|date:'l F jS, Y'}}
    <div class="alert alert-info">Date Updated</div>
    {{game.updated_on|date:'l F jS, Y'}}
    </div>
</div>
{% endblock %}