some prettifying of party dialog

This commit is contained in:
Tyler Renelle 2013-02-11 19:38:15 -05:00
parent baa149b6ba
commit 6ffe57eb00
2 changed files with 7 additions and 1 deletions

View file

@ -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 = ->

View file

@ -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}