habitica/views/app/game-pane.html

198 lines
9 KiB
HTML
Raw Normal View History

<main:>
<div class="module full-width">
<span class='option-box pull-right wallet'>
2013-05-12 11:39:54 +00:00
<app:rewards:user-gems />
</span>
<ul class="nav nav-tabs game-tabs">
<li class="active"><a data-toggle='tab' data-target="#profileCustomize"><i class='icon-user'></i> Profile</a></li>
2013-05-02 20:09:50 +00:00
<li><a data-toggle='tab' data-target="#profileParty" id='party-tab-link'><i class='icon-heart'></i> Party</a></li>
{#if _user.flags.dropsEnabled}
<li><a data-toggle='tab' data-target="#profileInventory"><i class='icon-gift'></i> Inventory</a></li>
<li><a data-toggle='tab' data-target="#profileStable"><i class='icon-leaf'></i> Stable</a></li>
{/if}
<li><a data-toggle='tab' data-target="#profileTavern"><i class='icon-eye-close'></i> Tavern</a></li>
<li><a data-toggle='tab' data-target="#profileAchievements"><i class='icon-certificate'></i> Achievements</a></li>
2013-05-11 23:05:13 +00:00
<li><a data-toggle='tab' data-target="#profileChallenges"><i class='icon-bullhorn'></i> Challenges</a></li>
{{#if _loggedIn}}
<li><a data-toggle='tab' data-target="#profileSettings"><i class='icon-wrench'></i> Settings</a></li>
{{/}}
</ul>
<div class="tab-content">
<div class="tab-pane active" id="profileCustomize">
<div class='row-fluid'>
<div class='span4 border-right'>
<app:avatar:customize />
</div>
<div class='span4 border-right'>
<app:avatar:profile-stats profile={_user} />
</div>
<div class='span4'>
<app:avatar:profile-edit />
</div>
</div>
</div>
<div class="tab-pane" id="profileParty">
<app:groups:party />
</div>
<div class="tab-pane" id="profileAchievements">
<app:avatar:achievements profile="{{_user}}" />
</div>
<div class="tab-pane" id="profileInventory">
<div class='row-fluid'>
<div class='span6 border-right'>
2013-05-02 14:12:00 +00:00
<h2>Inventory</h2>
<app:avatar:inventory />
</div>
<div class='span6'>
2013-05-02 14:12:00 +00:00
<h2>Market</h2>
<app:game-pane:market />
</div>
</div>
</div>
<div class="tab-pane" id="profileStable">
<app:pets:stable />
</div>
2013-05-02 14:01:11 +00:00
<div class="tab-pane" id="profileTavern">
<app:game-pane:tavern />
</div>
2013-05-11 23:05:13 +00:00
<div class="tab-pane" id="profileChallenges">
<app:challenges:main />
</div>
<div class="tab-pane" id="profileSettings">
{{#if _loggedIn}}
<app:settings:settings-pane />
{{/}}
</div>
</div>
2013-05-02 14:01:11 +00:00
</div>
<tavern:>
2013-05-02 20:21:51 +00:00
<div class='row-fluid'>
2013-05-11 10:20:36 +00:00
<div class='span4 border-right'>
2013-05-02 20:21:51 +00:00
<div class='tavern-pane'>
<table><tr>
<td><div class='NPC-Daniel'></div></td>
<td>
<div class="popover static-popover fade right in">
<div class="arrow"></div>
<h3 class="popover-title">Daniel Johansson</h3>
<div class="popover-content">
Welcome to the Tavern! I'm <a target="_blank" href="http://www.kickstarter.com/profile/2014640723">Daniel</a>, the bar keep. If you want to rest a while (going on vacation? sudden illness?), I'll set you up at the inn - dailies won't hurt you while you're resting. Stay a while & meet the locals.
<div><button x-bind="click:toggleResting" class='btn btn-large btn-success {#if _user.flags.rest}active{/}'>{#if _user.flags.rest}Check Out of Inn{else}Rest In The Inn{/}</button></div>
</div>
</div>
</td>
</tr></table>
2013-05-02 14:01:11 +00:00
</div>
2013-05-11 10:20:36 +00:00
<div class='alert alert-info {#unless _user.flags.rest}hidden{/}'>Whilst resting your dailies are saved and aren't effected by day turn-over. Whether you check out tomorrow or in a weeks time you'll continue in the same state as when you checked in.</div>
2013-05-11 10:20:36 +00:00
<div class=well>
<h3>Resources</h3>
<ul class=unstyled>
2013-05-14 17:17:19 +00:00
<li><h4><a target="_blank" href="http://community.habitrpg.com/forums/lfg">LFG Posts</a></h4></li>
<li><h4><a target="_blank" href="http://www.youtube.com/watch?feature=player_embedded&v=cT5ghzZFfao">Tutorial</a></h4></li>
<li><h4><a target="_blank" href="http://community.habitrpg.com/faq-page">FAQ</a></h4></li>
<li><h4><a target="_blank" href="https://github.com/lefnire/habitrpg/issues?state=open">Report a Problem</a></h4></li>
2013-05-14 17:17:19 +00:00
<li><h4><a target="_blank" href="https://trello.com/board/habitrpg/50e5d3684fe3a7266b0036d6">Request a Feature</a></h4></li>
<li><h4><a target="_blank" href="http://community.habitrpg.com/forum">Community Forum</a></h4></li>
2013-05-11 10:20:36 +00:00
</ul>
</div>
2013-05-02 20:09:50 +00:00
</div>
2013-05-11 10:20:36 +00:00
<div class='span8'>
2013-05-02 20:09:50 +00:00
<h3>Tavern Talk & LFG</h3>
<div class='row-fluid'>
<div class='span3'>
2013-05-20 08:59:36 +00:00
<ul class='unstyled buttonList'>
<li><a class='btn btn-info' style='width:100%' target="_blank" href="http://community.habitrpg.com/faq-page">FAQ</a></li>
<li><a class='btn btn-info' style='width:100%' target="_blank" href="https://github.com/lefnire/habitrpg/issues?state=open">Report a Problem</a></li>
<li><a class='btn btn-info' style='width:100%' target="_blank" href="https://trello.com/board/habitrpg/50e5d3684fe3a7266b0036d6">Request a Feature</a></li>
</ul>
</div>
<div class=span9>
<form x-bind='submit:tavernSendChat'>
<textarea class="span6" rows="3" x-bind='keyup:tavernMessageKeyup'>{_tavernMessage}</textarea><br/>
<input class=btn type=submit value="Send Chat" />
</form>
</div>
</div>
<ul class='unstyled tavern-chat'>
2013-05-02 20:09:50 +00:00
{#each _tavern.chat.messages as :message}
<app:groups:chat-message message={{:message}} />
2013-05-02 20:09:50 +00:00
{/}
</ul>
</div>
2013-05-02 14:12:00 +00:00
</div>
<market:>
<!-- pets pane -->
<div id="market-tab">
<table><tr>
<td><div class="NPC-Alex pull-left"></div></td>
<td>
<div class="popover static-popover fade right in">
<div class="arrow"></div>
<h3 class="popover-title">Alexander Augustin</h3>
<div class="popover-content">Welcome to the Market! I'm the merchant, <a target="_blank" href="http://www.kickstarter.com/profile/523661924">Alexander</a>. Dying to get that particular pet you're after, but don't want to wait for it to drop? Buy it here!</div>
</div>
</td>
</tr></table>
2013-05-02 14:12:00 +00:00
<h4>Eggs</h4>
{#with _items.pets as :egg}
<table class="tab-pane pet-grid">
2013-05-02 14:12:00 +00:00
<tr>
{#with :egg[0]}<app:pets:egg />{/}
{#with :egg[1]}<app:pets:egg />{/}
{#with :egg[2]}<app:pets:egg />{/}
{#with :egg[3]}<app:pets:egg />{/}
</tr>
<tr>
{#with :egg[4]}<app:pets:egg />{/}
{#with :egg[5]}<app:pets:egg />{/}
{#with :egg[6]}<app:pets:egg />{/}
{#with :egg[7]}<app:pets:egg />{/}
</tr>
<tr>
{#with :egg[8]}<app:pets:egg />{/}
</tr>
</table>
{/}
<h4>Hatching Potions</h4>
{#with _items.hatchingPotions as :hatchingPotion}
<table>
<tr>
{#with :hatchingPotion[0]}<app:pets:hatchingPotion />{/}
{#with :hatchingPotion[1]}<app:pets:hatchingPotion />{/}
{#with :hatchingPotion[2]}<app:pets:hatchingPotion />{/}
{#with :hatchingPotion[3]}<app:pets:hatchingPotion />{/}
</tr>
<tr>
{#with :hatchingPotion[4]}<app:pets:hatchingPotion />{/}
{#with :hatchingPotion[5]}<app:pets:hatchingPotion />{/}
{#with :hatchingPotion[6]}<app:pets:hatchingPotion />{/}
{#with :hatchingPotion[7]}<app:pets:hatchingPotion />{/}
</tr>
<tr>
{#with :hatchingPotion[8]}<app:pets:hatchingPotion />{/}
{#with :hatchingPotion[9]}<app:pets:hatchingPotion />{/}
</tr>
</table>
{/}
</div>