mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-30 14:31:12 +00:00
1477aac4f1
Improved layout Improved form styling Fixes issues with firefox Added menu icons
33 lines
1 KiB
Text
33 lines
1 KiB
Text
<h2>Statistics</h2>
|
|
|
|
<div id="stats" class="tabbed">
|
|
<ul id="stats-nav" class="tabs">
|
|
<li><a href="#general">General</a></li>
|
|
<li><a href="#ns1seasons">NS1 Seasons</a></li>
|
|
<li><a href="#nsls1">NSL S1</a></li>
|
|
<li><a href="#nsls2">NSL S2</a></li>
|
|
</ul>
|
|
<div class="tabbed-contents">
|
|
<div class="tab" id="general">
|
|
<h3>General Statistics</h3>
|
|
<%= render partial: "about/general", locals: {} %>
|
|
</div>
|
|
<div class="tab" id="ns1seasons">
|
|
<h3>NS1 Seasons statistics</h3>
|
|
<%= render partial: "about/contests", locals: { contests: Contest.ns1seasons } %>
|
|
</div>
|
|
<div class="tab" id="nsls1">
|
|
<h3>NSL Season 1 Statistics</h3>
|
|
<%= render partial: "about/contests", locals: { contests: Contest.nsls1 } %>
|
|
</div>
|
|
<div class="tab" id="nsls2">
|
|
<h3>NSL Season 2 Statistics</h3>
|
|
<%= render partial: "about/contests", locals: { contests: Contest.nsls2 } %>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
new Yetii({
|
|
id: 'stats'
|
|
});
|
|
</script>
|