make friend invite URL easier to copy

This commit is contained in:
Thibault Duplessis 2013-01-01 18:51:45 +01:00
parent e773c38b49
commit df764498c5
4 changed files with 5 additions and 7 deletions

View file

@ -7,7 +7,7 @@ import play.api.templates.Html
trait AssetHelper {
val assetVersion = 33
val assetVersion = 34
def cssTag(name: String) = css("stylesheets/" + name)

View file

@ -12,11 +12,7 @@ signedJs = routes.Round.signedJs(pov.gameId).toString.some) {
@color.fold(board.white(), board.black())
<div class="lichess_overboard auto_center">
@trans.toInviteSomeoneToPlayGiveThisUrl():
<input
class="lichess_id_input"
readonly="readonly"
value="@protocol@commonDomain@routes.Round.watcher(gameId, "white")"
/>
<div class="lichess_id_input">@protocol@commonDomain@routes.Round.watcher(gameId, "white")</div>
<p class="explanations">
@trans.theFirstPersonToComeOnThisUrlWillPlayWithYou()
<a href="@routes.Setup.cancel(fullId)">@trans.cancel()</a>

View file

@ -256,7 +256,7 @@ div.lichess_overboard p.explanations {
z-index: 50;
}
input.lichess_id_input {
div.lichess_id_input {
margin-top: 10px;
border: none;
background: #fff;
@ -264,6 +264,7 @@ input.lichess_id_input {
text-align: center;
color: #444;
font-size: 1.2em;
padding: 1em 0;
}
div.lichess_promotion_choice {

1
todo
View file

@ -53,3 +53,4 @@ make signup more visible
traduction intégrale
block user creation from an IP
mute IP
use favicon to notify moves