make friend invite URL easier to copy
This commit is contained in:
parent
e773c38b49
commit
df764498c5
|
@ -7,7 +7,7 @@ import play.api.templates.Html
|
||||||
|
|
||||||
trait AssetHelper {
|
trait AssetHelper {
|
||||||
|
|
||||||
val assetVersion = 33
|
val assetVersion = 34
|
||||||
|
|
||||||
def cssTag(name: String) = css("stylesheets/" + name)
|
def cssTag(name: String) = css("stylesheets/" + name)
|
||||||
|
|
||||||
|
|
|
@ -12,11 +12,7 @@ signedJs = routes.Round.signedJs(pov.gameId).toString.some) {
|
||||||
@color.fold(board.white(), board.black())
|
@color.fold(board.white(), board.black())
|
||||||
<div class="lichess_overboard auto_center">
|
<div class="lichess_overboard auto_center">
|
||||||
@trans.toInviteSomeoneToPlayGiveThisUrl():
|
@trans.toInviteSomeoneToPlayGiveThisUrl():
|
||||||
<input
|
<div class="lichess_id_input">@protocol@commonDomain@routes.Round.watcher(gameId, "white")</div>
|
||||||
class="lichess_id_input"
|
|
||||||
readonly="readonly"
|
|
||||||
value="@protocol@commonDomain@routes.Round.watcher(gameId, "white")"
|
|
||||||
/>
|
|
||||||
<p class="explanations">
|
<p class="explanations">
|
||||||
@trans.theFirstPersonToComeOnThisUrlWillPlayWithYou()
|
@trans.theFirstPersonToComeOnThisUrlWillPlayWithYou()
|
||||||
<a href="@routes.Setup.cancel(fullId)">@trans.cancel()</a>
|
<a href="@routes.Setup.cancel(fullId)">@trans.cancel()</a>
|
||||||
|
|
|
@ -256,7 +256,7 @@ div.lichess_overboard p.explanations {
|
||||||
z-index: 50;
|
z-index: 50;
|
||||||
}
|
}
|
||||||
|
|
||||||
input.lichess_id_input {
|
div.lichess_id_input {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
border: none;
|
border: none;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
@ -264,6 +264,7 @@ input.lichess_id_input {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #444;
|
color: #444;
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
|
padding: 1em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.lichess_promotion_choice {
|
div.lichess_promotion_choice {
|
||||||
|
|
Loading…
Reference in a new issue