-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
24 changed files
with
9,739 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package com.IMIHOF.MineData | ||
|
||
import spray.http.DateTime | ||
|
||
abstract class Data { | ||
def raw: String | ||
def solvedCount: Int | ||
} | ||
|
||
abstract class SubmitResult { | ||
def date: DateTime | ||
|
||
class SubmitStatus extends Enumeration { | ||
type SubmitStatus = Value | ||
val Success, TimeLimit, MemoryLimit, WrongAnswer = Value | ||
} | ||
|
||
def status: SubmitStatus | ||
def attempt: Int | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
@(title:String) | ||
|
||
<nav class="navbar navbar-default"> | ||
<div class="container-fluid"> | ||
<div class="navbar-header"> | ||
<span class="navbar-brand" >@title</span> | ||
</div> | ||
</div> | ||
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
@(message: String) | ||
|
||
@main(message) { | ||
|
||
<p><a href="@controllers.routes.Application.list" class="btn"> | ||
<i class="icon-plus"></i> "Get list!"</a></p> | ||
@header("Main") | ||
|
||
@main(message) { | ||
<p> | ||
<a href="@controllers.routes.Application.list" class="btn"> | ||
Get CodeForces list | ||
</a> | ||
</p> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,22 @@ | ||
@(list: List[(Int, String)]) | ||
|
||
@header("CodeForeces table of honor") | ||
|
||
@main("Table of Honor") { | ||
<table border='1' style="width:300px"> | ||
<tr><td>Handle</td><td>Solved N</td></tr> | ||
@for(d <- list) { | ||
<tr> | ||
<td>@d._2</td> | ||
<td>@d._1</td> | ||
</tr> | ||
} | ||
</table> | ||
<div class="container fluid"> | ||
<div class="raw"> | ||
<div class="col-md-4 col-md-offset-4"> | ||
<table class="table table-bordered table-hover"> | ||
<tr><th>Handle</th><th>Solved N</th></tr> | ||
@for(d <- list) { | ||
<tr> | ||
<td>@d._2</td> | ||
<td>@d._1</td> | ||
</tr> | ||
} | ||
</table> | ||
</div> | ||
<div class="col-md-4"></div> | ||
</div> | ||
</div> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
addSbtPlugin("com.typesafe.sbt" % "sbt-echo-play" % "0.1.5") | ||
addSbtPlugin("com.typesafe.sbt" % "sbt-echo-play" % "0.1.6.2") |
Oops, something went wrong.