mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-01 03:30:25 +00:00
prettier rest-in-tavern
This commit is contained in:
parent
c48d6bde13
commit
079d91956a
3 changed files with 13 additions and 15 deletions
|
|
@ -34,3 +34,6 @@ module.exports.app = (appExports, model) ->
|
|||
|
||||
appExports.toggleGamePane = -> toggleGamePane()
|
||||
|
||||
appExports.toggleResting = ->
|
||||
model.set '_user.flags.rest', !model.get('_user.flags.rest')
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
.tavern-pane
|
||||
position:relative
|
||||
height:500px
|
||||
height:300px
|
||||
|
||||
#market-tab
|
||||
position: relative
|
||||
|
|
|
|||
|
|
@ -71,21 +71,17 @@
|
|||
</div>
|
||||
|
||||
<tavern:>
|
||||
<div class='row-fluid tavern-pane'>
|
||||
<div class='row-fluid'>
|
||||
<div class='span6 border-right'>
|
||||
<img src='/img/npcs/daniel.png' />
|
||||
<div class="popover fade right in" style="top: 0px; left: 135px; display: block;">
|
||||
<div class="arrow"></div>
|
||||
<h3 class="popover-title">Daniel Johansson</h3>
|
||||
<div class="popover-content">Welcome to the Tavern! I'm the bar keep, <a target="_blank" href="http://www.kickstarter.com/profile/2014640723">Daniel</a>. If you would like to rest a while (going on vacation?), I can set you up at the inn for 10gp. While you're resting, your dailies won't hurt you. The minimum stay is 24h, but you can check out whenever you want. In the future, you may find other adventurers here, looking meet and mingle (LFG anyone?)</div>
|
||||
<div class='tavern-pane'>
|
||||
<img src='/img/npcs/daniel.png' />
|
||||
<div class="popover fade right in" style="top: 0px; left: 135px; display: block;">
|
||||
<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?), I'll set you up at the inn - dailies won't hurt you while you're resting. The minimum stay is 24h, but you can check out any time. Stay a while & meet the clientele.</div>
|
||||
</div>
|
||||
</div>
|
||||
<form>
|
||||
<fieldset>
|
||||
<label class="checkbox">
|
||||
<input type="checkbox" name="rest" checked={_user.flags.rest} >Rest in the inn
|
||||
</label>
|
||||
</fieldset>
|
||||
</form>
|
||||
<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 class='span6'>
|
||||
<h3>Tavern Talk & LFG</h3>
|
||||
|
|
@ -102,7 +98,6 @@
|
|||
{/}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<market:>
|
||||
|
|
|
|||
Loading…
Reference in a new issue