My changes.
This commit is contained in:
parent
4fc11a9640
commit
213d741a96
1
static/css/bootstrap.css
vendored
1
static/css/bootstrap.css
vendored
@ -12,6 +12,7 @@ html {
|
|||||||
}
|
}
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
padding-top: 100px;
|
||||||
}
|
}
|
||||||
article,
|
article,
|
||||||
aside,
|
aside,
|
||||||
|
@ -1,21 +1,25 @@
|
|||||||
<nav class="navbar navbar-default navbar-fixed-top">
|
<nav class="navbar navbar-default navbar-fixed-top">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="navbar-header">
|
<div class="navbar-header">
|
||||||
<a class="navbar-brand" href="http://gonito.net/">Gonito.net</a>
|
<a class="navbar-brand" href="@{HomeR}">Gonito.net
|
||||||
<div id="navbar" class="navbar-collapse collapse">
|
$maybe user <- maybeUser
|
||||||
<ul class="nav navbar-nav">
|
<ul class="nav navbar-nav">
|
||||||
$maybe user <- maybeUser
|
|
||||||
_{MsgLoggedAs} #{userIdent $ entityVal user}
|
|
||||||
<li><a href="@{HomeR}">_{MsgHome}</a>
|
<li><a href="@{HomeR}">_{MsgHome}</a>
|
||||||
$if userIsAdmin $ entityVal user
|
$if userIsAdmin $ entityVal user
|
||||||
<li><a href="@{CreateChallengeR}">_{MsgCreateChallenge}</a></li>
|
<li><a href="@{CreateChallengeR}">_{MsgCreateChallenge}</a>
|
||||||
<li><a href="@{ListChallengesR}">_{MsgListChallenges}</a></li>
|
<li><a href="@{ListChallengesR}">_{MsgListChallenges}</a>
|
||||||
<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
|
|
||||||
|
|
||||||
|
<ul class="nav navbar-nav navbar-right">
|
||||||
|
<li class="dropdown">
|
||||||
|
<a href="@{AuthR LoginR}" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">#{userIdent $ entityVal user}<span class="caret"></span>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li><a href="@{YourAccountR}">_{MsgYourAccount}</a></li>
|
||||||
|
<li><a href="@{AuthR LogoutR}">_{MsgLogOut}</a></li>
|
||||||
|
$nothing
|
||||||
|
<ul class="nav navbar-nav navbar-right">
|
||||||
|
<li><a href="@{AuthR LoginR}">log in</a>
|
||||||
|
$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,30 +1,29 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="jumbotron">
|
<div class="jumbotron">
|
||||||
<h1>Welcome to Gonito.net!
|
<h1>Welcome to Gonito.net!
|
||||||
<hr>
|
<p>Gonito (pronounced <i>ɡɔ̃ˈɲitɔ</i>) is a Kaggle<sup><u><a class="nounderline" href="#disclaimer">*</a></u></sup>-like platform for machine learning competitions.
|
||||||
<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:
|
<div class="panel panel-default">
|
||||||
<ul class="list-group">
|
<div class="panel-heading">What's so special about Gonito:
|
||||||
<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>)
|
<ul class="list-group">
|
||||||
<li class="list-group-item">git-based (challenges and solutions are submitted only with git).
|
<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).
|
||||||
|
|
||||||
$maybe _ <- maybeUser
|
$maybe _ <- maybeUser
|
||||||
$maybe _ <- maybeLocalId
|
$maybe _ <- maybeLocalId
|
||||||
<p>Go to the <a href="@{ListChallengesR}">challenge list</a> and choose a challenge for you!
|
<p>Go to the <a href="@{ListChallengesR}">challenge list</a> and choose a challenge for you!
|
||||||
$nothing
|
$nothing
|
||||||
<h2>How to setup your account?
|
<div class="alert alert-info" role="alert">
|
||||||
<p>Click <a href="@{YourAccountR}">your account</a> to setup your name, ID and SSH public key.
|
<p>
|
||||||
|
<strong>How to setup your account?
|
||||||
|
Click <a href="@{YourAccountR}">your account</a> to setup your name, ID and SSH public key.
|
||||||
$nothing
|
$nothing
|
||||||
<br><br><br>
|
|
||||||
<h2>How to log in?
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<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.
|
<div class="alert alert-info" role="alert">
|
||||||
|
<p>
|
||||||
|
<strong>How to log in?
|
||||||
|
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>So, just click <a href="@{AuthR LoginR}">log in</a>, then "Sign in with Persona" button and Firefox will guide you!
|
||||||
<p>So, just click button below, then "Sign in with Persona" button and Firefox will guide you!</p>
|
|
||||||
|
|
||||||
<br><br>
|
<p class="text-muted pagination-centered"><sup>*</sup>Disclaimer: Gonito is neither affiliated with nor endorsed by <a href="https://www.kaggle.com">Kaggle</a>.
|
||||||
<p>
|
|
||||||
<a class="btn btn-lg btn-primary" href="@{AuthR LoginR}" role="button">Log in »</a>
|
|
||||||
<p><sup>*</sup>Disclaimer: Gonito is neither affiliated with nor endorsed by <a href="https://www.kaggle.com">Kaggle</a>.
|
|
||||||
|
Loading…
Reference in New Issue
Block a user