This commit is contained in:
Arthur Yunusov 2014-03-06 12:22:57 +06:00
commit 333c9b4ee4
3 changed files with 95 additions and 3 deletions

View File

@ -12,6 +12,7 @@
lor: Genuine lor: Genuine
lichess: Genuine lichess: Genuine
elo: 1695 elo: 1695
status: withdrew
- number: 4 - number: 4
lor: iVS lor: iVS

View File

@ -0,0 +1,87 @@
- number: 1
games:
- date: 08.02.2014
white: kilop
black: aptyp
result: '0:1'
- date: 08.02.2014
white: iVS
black: Magian
result: '1:0'
- date: 02.03.2014
white: DoctorSinus
black: trex6
result: '0:1'
- number: 2
games:
- date: 16.02.2014
white: HunOL
black: kilop
result: '1:0'
- date: 02.02.2014
white: aptyp
black: Genuine
result: '1:0'
- date: 08.02.2014
white: Magian
black: DoctorSinus
result: '1:0'
- number: 3
games:
- date: 27.02.2014
white: iVS
black: aptyp
result: '0:1'
- date: 02.03.2014
white: DoctorSinus
black: redgremlin
result: '0:1'
- date: 02.03.2014
white: trex6
black: Magian
result: '0:1'
- number: 4
games:
- date: 23.02.2014
white: MyTrooName
black: Magian
result: '0:1'
- date: 16.02.2014
white: aptyp
black: DoctorSinus
result: '0:1'
- date: 28.02.2014
white: HunOL
black: iVS
result: '0:1'
- number: 5
games:
- date: 26.02.2014
white: trex6
black: aptyp
result: '0:1'
- date: 02.03.2014
white: Magian
black: redgremlin
result: '0:1'
- number: 6
games:
- date: 02.03.2014
white: aptyp
black: Magian
result: '0:1'

View File

@ -140,8 +140,8 @@ module LORChess
def to_html def to_html
@buffer << "<table class=\"table table-bordered tournament tablesorter\">\n" @buffer << "<table class=\"table tournament tablesorter\">\n"
@buffer << " <caption><strong>LOR Chess : Осень-2013</strong><caption>\n" @buffer << " <caption><strong>Таблица результатов</strong><caption>\n"
@buffer << " <thead>\n" @buffer << " <thead>\n"
@buffer << " <tr>\n" @buffer << " <tr>\n"
@buffer << " <th>№</th>\n" @buffer << " <th>№</th>\n"
@ -158,6 +158,11 @@ module LORChess
@buffer << " <th>Бергер</th>\n" @buffer << " <th>Бергер</th>\n"
@buffer << " </tr>\n" @buffer << " </tr>\n"
@buffer << " </thead>\n" @buffer << " </thead>\n"
@buffer << " <tfoot>\n"
@buffer << " <tr>\n"
@buffer << " <td colspan=\"" << (@@dim + 7).to_s << "\">* Средний elo на начало турнира</td>\n"
@buffer << " </tr>\n"
@buffer << " </tfoot>\n"
@buffer << " <tbody>\n" @buffer << " <tbody>\n"
@@dim.times do |i| @@dim.times do |i|
@ -184,7 +189,6 @@ module LORChess
@buffer << " </tbody>\n" @buffer << " </tbody>\n"
@buffer << "</table>\n" @buffer << "</table>\n"
@buffer << "* Средний elo на 13.09.2013 3.00 МСК"
@buffer @buffer
end end