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 {
|
||||
|
||||
val assetVersion = 33
|
||||
val assetVersion = 34
|
||||
|
||||
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())
|
||||
<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>
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue