mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-01 07:21:15 +00:00
some prettifying of party dialog
This commit is contained in:
parent
baa149b6ba
commit
6ffe57eb00
2 changed files with 7 additions and 1 deletions
|
|
@ -149,6 +149,6 @@ module.exports.app = (appExports, model) ->
|
|||
selfQ.subscribe (err, u) ->
|
||||
model.ref '_user', u.at(0)
|
||||
browser.resetDom model
|
||||
#setTimeout (-> window.location.reload true), 1
|
||||
#setTimeout (-> window.location.reload true), 1
|
||||
|
||||
#exports.partyDisband = ->
|
||||
|
|
|
|||
|
|
@ -70,6 +70,8 @@ do a find for the string after "→"
|
|||
{else}
|
||||
<h2>Create A Party</h2>
|
||||
<!-- Not in a party , no invites - create a new one -->
|
||||
<p>You are not in a party. You can either create one and invite friends, or if you want to join an existing party, have them enter:</p>
|
||||
<pre class=prettyprint>{_user.id}</pre>
|
||||
<form class=form-inline x-bind="submit: partyCreate">
|
||||
{#if _view.partyError}
|
||||
<div class='alert alert-danger'>{_view.partyError}</div>
|
||||
|
|
@ -79,7 +81,11 @@ do a find for the string after "→"
|
|||
<input type="submit" class="btn" value="Create" />
|
||||
</div>
|
||||
</form>
|
||||
|
||||
{/}
|
||||
<@footer>
|
||||
<button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
|
||||
</@footer>
|
||||
</app:myModal>
|
||||
|
||||
{else}
|
||||
|
|
|
|||
Loading…
Reference in a new issue