Changes in templates made by student.
This commit is contained in:
parent
cf55550453
commit
4fc11a9640
@ -1,8 +1,3 @@
|
|||||||
<p>(This is a long list of all submissions, if you want to see only the best, click <a href="@{ShowChallengeR (challengeName challenge)}">leaderboard</a>.)
|
<p>(This is a long list of all submissions, if you want to see only the best, click <a href="@{ShowChallengeR (challengeName challenge)}">leaderboard</a>.)
|
||||||
|
|
||||||
^{Table.buildBootstrap (submissionsTable tests) submissions}
|
^{Table.buildBootstrap (submissionsTable tests) submissions}
|
||||||
|
|
||||||
<div id="graph-container">
|
|
||||||
|
|
||||||
<script src="/static/js/sigma.min.js">
|
|
||||||
<script src="/static/js/sigma.parsers.json.min.js">
|
|
||||||
|
@ -1,7 +1,19 @@
|
|||||||
<h2>_{MsgSubmitSolution}
|
<h2>_{MsgSubmitSolution}
|
||||||
|
<hr>
|
||||||
|
|
||||||
<p>
|
<form class="form-horizontal" role="form" method="post" action=@{ChallengeSubmissionR (challengeName challenge)}#form enctype=#{formEnctype}>
|
||||||
<form method=post action=@{ChallengeSubmissionR (challengeName challenge)}#form enctype=#{formEnctype}>
|
<div class="form-group">
|
||||||
^{formWidget}
|
<label class="control-label col-sm-3" for="hident2">Submission description:
|
||||||
<button .btn .btn-primary type="submit">
|
<div class="col-sm-5">
|
||||||
_{MsgSubmit} <span class="glyphicon glyphicon-upload"></span>
|
<input id="hident2" name="f1" type="text" value="" class="form-control" id="email" placeholder="Submission description">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="control-label col-sm-3" for="hident3">Submission repo URL:
|
||||||
|
<div class="col-sm-5">
|
||||||
|
<input id="hident3" name="f2" type="text" required value="" class="form-control" id="pwd" placeholder="Submission repo URL">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="control-label col-sm-3" for="hident4">Submission repo branch:
|
||||||
|
<div class="col-sm-2">
|
||||||
|
<input id="hident4" name="f3" type="text" required value="" class="form-control" id="pwd" placeholder="Submission repo branch">
|
||||||
|
<div class="form-group">
|
||||||
|
<div class="col-sm-offset-3 col-sm-10">
|
||||||
|
<button type="submit" class="btn btn-primary">_{MsgSubmit}
|
||||||
|
@ -8,9 +8,4 @@
|
|||||||
width: auto;
|
width: auto;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
left-margin: 5px;
|
left-margin: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#graph-container {
|
|
||||||
height: 400px;
|
|
||||||
margin: auto;
|
|
||||||
}
|
|
@ -11,13 +11,19 @@ $newline never
|
|||||||
<title>#{pageTitle pc}
|
<title>#{pageTitle pc}
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="author" content="">
|
<meta name="author" content="">
|
||||||
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js">
|
||||||
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
|
||||||
|
integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
|
||||||
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css"
|
||||||
|
integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous">
|
||||||
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous">
|
||||||
|
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
|
|
||||||
^{pageHead pc}
|
^{pageHead pc}
|
||||||
|
|
||||||
\<!--[if lt IE 9]>
|
\<!--[if lt IE 9]>
|
||||||
\<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
\<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js">
|
||||||
\<![endif]-->
|
\<![endif]-->
|
||||||
|
|
||||||
<script src="/static/js/jquery.js" type="text/javascript">
|
<script src="/static/js/jquery.js" type="text/javascript">
|
||||||
|
@ -1,14 +1,21 @@
|
|||||||
<div id="heading">
|
<nav class="navbar navbar-default navbar-fixed-top">
|
||||||
$maybe user <- maybeUser
|
<div class="container">
|
||||||
_{MsgLoggedAs} #{userIdent $ entityVal user}
|
<div class="navbar-header">
|
||||||
\ | <a href="@{HomeR}">_{MsgHome}</a>
|
<a class="navbar-brand" href="http://gonito.net/">Gonito.net</a>
|
||||||
$if userIsAdmin $ entityVal user
|
<div id="navbar" class="navbar-collapse collapse">
|
||||||
\ | <a href="@{CreateChallengeR}">_{MsgCreateChallenge}</a>
|
<ul class="nav navbar-nav">
|
||||||
\ | <a href="@{ListChallengesR}">_{MsgListChallenges}</a>
|
$maybe user <- maybeUser
|
||||||
\ | <a href="@{YourAccountR}">_{MsgYourAccount}</a>
|
_{MsgLoggedAs} #{userIdent $ entityVal user}
|
||||||
\ | <a href="@{AuthR LogoutR}">_{MsgLogOut}</a>
|
<li><a href="@{HomeR}">_{MsgHome}</a>
|
||||||
$nothing
|
$if userIsAdmin $ entityVal user
|
||||||
<a href="@{AuthR LoginR}">_{MsgLogIn}</a>
|
<li><a href="@{CreateChallengeR}">_{MsgCreateChallenge}</a></li>
|
||||||
|
<li><a href="@{ListChallengesR}">_{MsgListChallenges}</a></li>
|
||||||
|
<li><a href="@{YourAccountR}">_{MsgYourAccount}</a></li>
|
||||||
|
<li><a href="@{AuthR LogoutR}">_{MsgLogOut}</a></li>
|
||||||
|
$nothing
|
||||||
|
<li><a href="@{AuthR LoginR}">_{MsgLogIn}</a>
|
||||||
$maybe msg <- mmsg
|
$maybe msg <- mmsg
|
||||||
|
|
||||||
<div #message .alert .alert-warning><a href="#" class="close" data-dismiss="alert">×</a> #{msg}
|
<div #message .alert .alert-warning><a href="#" class="close" data-dismiss="alert">×</a> #{msg}
|
||||||
|
<br><br><br><br>
|
||||||
^{widget}
|
^{widget}
|
||||||
|
@ -1,24 +1,30 @@
|
|||||||
<h1>Welcome to Gonito.net!
|
<div class="container">
|
||||||
|
<div class="jumbotron">
|
||||||
|
<h1>Welcome to Gonito.net!
|
||||||
|
<hr>
|
||||||
|
<p>Gonito (pronounced <i>ɡɔ̃ˈɲitɔ</i>) is a Kaggle<sup><u><a href="#disclaimer">*</a></u></sup>-like platform for machine learning competitions.
|
||||||
|
<p>What's so special about Gonito:
|
||||||
|
<ul class="list-group">
|
||||||
|
<li class="list-group-item">free & open-source (AGPL), you can use it your own, in your company, at your university, etc. (git repo: <tt><a href="#{browsableGitRepo "gonito"}">git://gonito.net/gonito</a></tt>)
|
||||||
|
<li class="list-group-item">git-based (challenges and solutions are submitted only with git).
|
||||||
|
|
||||||
<p>Gonito.net (pronounced <i>ɡɔ̃ˈɲitɔ</i>) is a Kaggle<sup><a href="#disclaimer">*</a></sup>-like platform for machine learning competitions.
|
$maybe _ <- maybeUser
|
||||||
|
$maybe _ <- maybeLocalId
|
||||||
|
<p>Go to the <a href="@{ListChallengesR}">challenge list</a> and choose a challenge for you!
|
||||||
|
$nothing
|
||||||
|
<h2>How to setup your account?
|
||||||
|
<p>Click <a href="@{YourAccountR}">your account</a> to setup your name, ID and SSH public key.
|
||||||
|
$nothing
|
||||||
|
<br><br><br>
|
||||||
|
<h2>How to log in?
|
||||||
|
<hr>
|
||||||
|
|
||||||
<p>What's so special about Gonito.net:
|
<p>Gonito uses <a href="https://developer.mozilla.org/en-US/Persona">Persona</a> authentication system available in Mozilla Firefox. Other authentication systems are on the way, but for the time being you need to use Firefox.
|
||||||
|
|
||||||
<ul>
|
<p>So, just click <a href="@{AuthR LoginR}">log in</a>, then "Sign in with Persona" button and Firefox will guide you!
|
||||||
<li>free & open-source (AGPL), you can use it your own, in your company, at your university, etc. (git repo: <tt><a href="#{browsableGitRepo "gonito"}">git://gonito.net/gonito</a></tt>),
|
<p>So, just click button below, then "Sign in with Persona" button and Firefox will guide you!</p>
|
||||||
<li>git-based (challenges and solutions are submitted only with git).
|
|
||||||
|
<br><br>
|
||||||
$maybe _ <- maybeUser
|
<p>
|
||||||
$maybe _ <- maybeLocalId
|
<a class="btn btn-lg btn-primary" href="@{AuthR LoginR}" role="button">Log in »</a>
|
||||||
<p>Go to the <a href="@{ListChallengesR}">challenge list</a> and choose a challenge for you!
|
<p><sup>*</sup>Disclaimer: Gonito is neither affiliated with nor endorsed by <a href="https://www.kaggle.com">Kaggle</a>.
|
||||||
$nothing
|
|
||||||
<h2>How to setup your account?
|
|
||||||
<p>Click <a href="@{YourAccountR}">your account</a> to setup your name, ID and SSH public key.
|
|
||||||
$nothing
|
|
||||||
<h2>How to log in?
|
|
||||||
|
|
||||||
<p>Gonito uses <a href="https://developer.mozilla.org/en-US/Persona">Persona</a> authentication system available in Mozilla Firefox. Other authentication systems are on the way, but for the time being you need to use Firefox.
|
|
||||||
|
|
||||||
<p>So, just click <a href="@{AuthR LoginR}">log in</a>, then "Sign in with Persona" button and Firefox will guide you!
|
|
||||||
|
|
||||||
<p><sup>*</sup>Disclaimer: Gonito is neither affiliated with nor endorsed by <a href="https://www.kaggle.com">Kaggle</a>.
|
|
||||||
|
@ -1,14 +1,27 @@
|
|||||||
<h2>Your account
|
<div class="container">
|
||||||
|
<div id="main" role="main">
|
||||||
<p>
|
<h2>Your account
|
||||||
<form method=post action=@{YourAccountR}#form enctype=#{formEnctype}>
|
<hr>
|
||||||
^{formWidget}
|
<form class="form-horizontal" role="form" method="post" action=@{YourAccountR}#form enctype=#{formEnctype}>
|
||||||
<button .btn .btn-primary type="submit">
|
<div class="form-group">
|
||||||
_{MsgSubmit} <span class="glyphicon glyphicon-upload"></span>
|
<label class="control-label col-sm-2" for="hident2">Name:
|
||||||
|
<div class="col-sm-2">
|
||||||
<ul>
|
<input id="hident2" name="f1" type="text" value="" class="form-control" placeholder="Your name">
|
||||||
<li><b>name</b> is your human-readable name (to be shown on the leaderboard)
|
<div class="form-group">
|
||||||
<li><b>ID</b> is used in the URLs for your repos (must be composed of lower-case letters, digits or hyphyns, must start with a lower-case letter)
|
<label class="control-label col-sm-2" for="hident3">ID:
|
||||||
<li><b>SSH public key</b> is needed if you want to access repos hosted on Gonito.net
|
<div class="col-sm-2">
|
||||||
<li>ID cannot be changed once it is set up
|
<input id="hident3" name="f2" type="text" value="" class="form-control" placeholder="Your id">
|
||||||
<li>you don't need to specify your ID and SSH public key, if you don't use private repos hosted on Gonito.net
|
<div class="form-group">
|
||||||
|
<label class="control-label col-sm-2" for="hident4">Your SSH public key:
|
||||||
|
<div class="col-sm-5">
|
||||||
|
<input id="hident4" name="f3" type="text" value="" class="form-control" placeholder="SSH public key">
|
||||||
|
<div class="form-group">
|
||||||
|
<div class="col-sm-offset-2 col-sm-10">
|
||||||
|
<button type="submit" class="btn btn-default">_{MsgSubmit}
|
||||||
|
<hr>
|
||||||
|
<ul class="list-group">
|
||||||
|
<li class="list-group-item"><b>Name</b> is your human-readable name (to be shown on the leaderboard).
|
||||||
|
<li class="list-group-item"><b>ID</b> is used in the URLs for your repos (must be composed of lower-case letters, digits or hyphyns, must start with a lower-case letter).
|
||||||
|
<li class="list-group-item"><b>SSH public key</b> is needed if you want to access repos hosted on Gonito.net.
|
||||||
|
<li class="list-group-item">ID cannot be changed once it is set up.
|
||||||
|
<li class="list-group-item">You don't need to specify your ID and SSH public key, if you don't use private repos hosted on Gonito.net.
|
Loading…
Reference in New Issue
Block a user