Skip to content

Commit

Permalink
0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
apathism committed Aug 23, 2018
1 parent 4071301 commit b66e68a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion dist/archlinux/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

_pkgname=ejstand
pkgname="${_pkgname}-static"
pkgver=0.1.1
pkgver=0.2.0
pkgrel=1
pkgdesc='Ejudge Configurable Web Standings Daemon for Multiple Contests'
url="https://apathism.net/git/apathism/${_pkgname}"
Expand Down
2 changes: 1 addition & 1 deletion src/EjStand.hs
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ where
import Data.String (IsString)

getVersion :: IsString a => a
getVersion = "0.1.1"
getVersion = "0.2.0"
4 changes: 2 additions & 2 deletions templates/main.hamlet
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ $doctype 5
$forall column <- standingColumns
#{columnRowValue column $ tRow}
$forall (problem, cell) <- fmap (getRowCellByProblem row) $ standingProblems
#{renderCell standingConfig cell}
#{renderCell standing row problem cell}
<div class="footer">
<p class="copyright">
Эта страница была сгенерирована
<a href="https://apathism.net/git/apathism/ejstand">
EjStand
#{getTextVersion}.
<p class="license">
Это свободная программа, вы можете распространять ее и/или изменять ее на условиях лицензии
Это свободная программа, вы можете распространять и/или изменять ее на условиях лицензии
<a href="https://www.gnu.org/licenses/agpl-3.0.ru.html">
GNU Affero General Public License
(AGPL) версии 3.
Expand Down
14 changes: 8 additions & 6 deletions templates/main.lucius
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ body {

td, th {
min-width: 20px;
height: 20px;
font-size: 10pt;
font-weight: normal;
}


table.standing {
border-left: 1px solid black;
border-top: 1px solid black;
Expand All @@ -26,8 +28,8 @@ table.standing td, table.standing th {
white-space: nowrap;
border-right: 1px solid black;
border-bottom: 1px solid black;
padding-left: 2px;
padding-right: 2px;
padding-left: 4px;
padding-right: 4px;
padding-top: 1px;
padding-bottom: 1px;
white-space: nowrap;
Expand Down Expand Up @@ -84,13 +86,13 @@ td.disqualified {

td.error {
color: red;
background: #ffff33;
animation: processing-animation 2s infinite;
}

@keyframes processing-animation {
0% { background-color: #ffffaa; }
50% { background-color: #ffff77; }
100% { background-color: #ffffaa; }
0% { background-color: #ffffff; }
50% { background-color: #dddddd; }
100% { background-color: #ffffff; }
}

td.processing {
Expand Down

0 comments on commit b66e68a

Please sign in to comment.