[c83adb]: Allura / allura / ext / project_home / templates / project_index.html Maximize Restore History

Download this file

project_index.html    107 lines (79 with data), 2.6 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
{% extends g.theme.master %}
{% block title %}{{c.project.homepage_title}}{% endblock %}
{% block header %}Welcome to Perforce Forge{% endblock %}
{% block extra_css %}
<link rel="stylesheet" type="text/css"
href="{{g.app_static('css/project_home.css')}}"/>
<link rel="alternate" type="application/rss+xml" title="RSS" href="../feed.rss"/>
<link rel="alternate" type="application/atom+xml" title="Atom" href="../feed.atom"/>
{% endblock %}
{% block nav_menu %}{% endblock %}
{% block top_nav %}{% endblock %}
{% block sidebar_menu %}{% endblock %}
{% block content %}
<nav class="bread_crumb"><a href="#">Bread</a> / <a href="#">Crumb</a> / Display</nav>
<section class="grid_24">
<div class="grid_19 prj">
<nav class="prj_menu">
<ul>
<li class="active"><a href="">summary</a></li>
<li><a href="files/">files</a></li>
<li><a href="reviews/">reviews</a></li>
<li><a href="../admin/">develop</a></li>
</ul>
</nav>
<div class="prj-left-1">
<div class="prj-left-2">
<div class="listed last gravatar sm">
<img src="/nf/1276635823/_static_/images/project_default.png" style="height:60px;width:60px;float:left">
<div class="prj-title"><h2>{{c.project.name}}</h2>
Authors:
{% for u in c.project.users() %}
<a href="{{u.url()}}">
{{lib.gravatar(u, size=24)}}
</a>
{% endfor %}
</div>
</div>
<!--<hr class="clear clearboth">-->
<input id="btn-download" type="button" style="float:none;" value="Download">
</div>
<div class="prj-left-3">
<ul>
<li><img src="/nf/1276635823/_static_/images/icon-thumbsup.png" /><a href="reviews/">Recommend</a></li>
<li><img src="/nf/1276635823/_static_/images/icon-download.png" /><a href="files/">Downloads</a></li>
</ul>
</div>
{{c.project.description_html|safe}}
<hr class="clear clearboth">
<hr class="clear clearboth">
{{c.screenshot_list.display(project=c.project)}}
<hr class="clear clearboth">
<hr class="clear clearboth">
</div>
</div>
<aside class="grid_5">
<div class="nav_aside"><h4>Recent Ideas</h4>
<ul>
{{c.recent_ideas()|safe}}
</ul>
<p><a href="http://www.p4ideax.com/">Submit New!</a></p>
</div>
<hr class="clear clearfix">
<div class="nav_aside"><h4>Project Details</h4>
<ul>
<li>Update</li>
<li>OS</li>
<li>Tags</li>
</ul>
</div>
</aside>
</section>
{% endblock %}
{% block extra_js %}
{% if c.project.best_download_url() %}
<script type="text/javascript">
$("#download-button").load("{{c.project.best_download_url()}}");
</script>
{% endif %}
{% endblock %}