From: Marius Gavrilescu <marius@ieval.ro>
Date: Mon, 9 Feb 2015 21:01:46 +0000 (+0200)
Subject: Add a contribute page
X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=f1ca277108d24951290bd4162d2a336bd02c44fd;p=gruntmaster-page.git

Add a contribute page
---

diff --git a/a/contribute.en b/a/contribute.en
new file mode 100644
index 0000000..b7c0411
--- /dev/null
+++ b/a/contribute.en
@@ -0,0 +1,23 @@
+<h1>Reporting bugs</h1>
+Please report any bugs you find to the <a href="https://bugs.ieval.ro/">bugtracker</a>.
+
+<h1>Source code repositories</h1>
+The Gruntmaster 6000 project has three git repositories:
+<dl>
+<dt><a href="https://git.ieval.ro/?p=gruntmaster-data.git">gruntmaster-data</a></dt>
+<dd>The database interface and database editing tools</dd>
+<dt><a href="https://git.ieval.ro/?p=gruntmaster-daemon.git">gruntmaster-daemon</a></dt>
+<dd>The grader</dd>
+<dt><a href="https://git.ieval.ro/?p=gruntmaster-page.git">gruntmaster-page</a></dt>
+<dd>The website</dd>
+
+<h1>Submitting patches</h1>
+Mail them to <a href="mailto:marius@ieval.ro">marius@ieval.ro</a>. Please try to follow the following guidelines:
+<ul>
+<li>Patch against master (or, alternatively, against newmc for gruntmaster-page)
+<li>Many small commits are better than one big commit
+<li>Make the commit messages as clear as possible
+<li>If possible, please include an explanation of the patchset in the email
+</ul>
+
+If you have any questions, feel free to mail them to <a href="mailto:marius@ieval.ro">marius@ieval.ro</a> or to ask in <a href="http://webchat.oftc.net/?channels=%23mindcoding">#mindcoding</a> on OFTC.
diff --git a/a/contribute.en.title b/a/contribute.en.title
new file mode 100644
index 0000000..9faacc4
--- /dev/null
+++ b/a/contribute.en.title
@@ -0,0 +1 @@
+Contribute
\ No newline at end of file
diff --git a/js/90-nav.js b/js/90-nav.js
index 6aefa0e..fc91ff1 100644
--- a/js/90-nav.js
+++ b/js/90-nav.js
@@ -8,6 +8,7 @@
 		'log': /^\/log\//,
 		'us': /^\/us\//,
 		'account': /^\/account$/,
+		'contribute': /^\/contribute$/,
 	};
 
 	$( document ).ready(function(){
diff --git a/tmpl/skel.en b/tmpl/skel.en
index 19f3180..956e895 100644
--- a/tmpl/skel.en
+++ b/tmpl/skel.en
@@ -16,6 +16,7 @@
 <li id="nav-log"><a href="/log/">Job log</a>
 <li id="nav-us"><a href="/us/">Users</a>
 <li id="nav-account"><a href="/account">Account</a>
+<li id="nav-contribute"><a href="/contribute">Contribute!</a>
 <li id="theme-selector" class="reqjs"><a class="dropdown-toggle" data-toggle="dropdown"> Theme <span class="caret"></span></a>
 <ul class="dropdown-menu" role="menu">
 <li><a href="#" id="theme_slate">Gunmetal gray</a>