1
Fork 0

Add a button for downloading PGN.

master
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="GameText"></div>
<div id="downloadPGN">
<a href="{{ page.pgn }}">
<button type="button" class="btn btn-success">Загрузить PGN</button>
</a>
</div>
</div>
</div>

View File

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