1

Add a button for downloading PGN.

This commit is contained in:
vonavi 2014-07-07 16:58:18 +03:00
parent 1700814d33
commit 8219c0d03a
2 changed files with 16 additions and 3 deletions

View File

@ -22,6 +22,12 @@ layout: default
<div id="GameButtons"></div> <div id="GameButtons"></div>
<div id="GameText"></div> <div id="GameText"></div>
<div id="downloadPGN">
<a href="{{ page.pgn }}">
<button type="button" class="btn btn-success">Загрузить PGN</button>
</a>
</div>
</div> </div>
</div> </div>

View File

@ -38,16 +38,23 @@ $boardSize: 8 * $squareSize + 2 * $boardBorderWidth;
/* Game text */ /* Game text */
#GameText { #GameText, #downloadPGN {
position: absolute; position: absolute;
top: 0;
bottom: 0;
left: $boardSize + 10px; left: $boardSize + 10px;
right: 0; right: 0;
}
#GameText {
top: 0;
bottom: 44px;
display: block; display: block;
overflow-y: auto; overflow-y: auto;
} }
#downloadPGN {
bottom: 0;
text-align: center;
}
.moveOn, .variationOn { .moveOn, .variationOn {
color: #fff; color: #fff;
background-color: #428bca; background-color: #428bca;