Add gather rules to page and group up loose links fixes #32

This commit is contained in:
Chris Blanchard 2015-09-20 01:43:09 +01:00
parent d77ad84386
commit b438d5b02c
6 changed files with 29 additions and 11 deletions

View file

@ -9,6 +9,7 @@ var config = {
session_store_name: "_ENSL_session_key_staging",
hive_url: "http://hive.naturalselection2.com/",
ensl_url: "http://staging.ensl.org/",
ensl_rules_url: "http://www.ensl.org/articles/464",
steam_bot_link: "http://steamcommunity.com/id/nslgathers"
};

View file

@ -9,6 +9,7 @@ var config = {
session_store_name: "_ENSL_session_key",
hive_url: "http://hive.naturalselection2.com/",
ensl_url: "http://www.ensl.org/",
ensl_rules_url: "http://www.ensl.org/articles/464",
steam_bot_link: "http://steamcommunity.com/id/nslgathers"
};

View file

@ -9,6 +9,7 @@ var config = {
session_store_name: "_ENSL_session_key_staging",
hive_url: "http://hive.naturalselection2.com/",
ensl_url: "http://staging.ensl.org/",
ensl_rules_url: "http://www.ensl.org/articles/464",
steam_bot_link: "http://steamcommunity.com/id/nslgathers"
};

View file

@ -8,7 +8,9 @@ var config = {
secret_token: "SUPERSECRETFOO",
session_store_name: "_ENSL_session_key_staging",
hive_url: "http://hive.naturalselection2.com/",
ensl_url: "http://staging.ensl.org/"
ensl_rules_url: "http://www.ensl.org/articles/464",
ensl_url: "http://staging.ensl.org/",
steam_bot_link: "http://steamcommunity.com/id/nslgathers"
};
module.exports = config;

View file

@ -12,7 +12,8 @@ module.exports = app => {
app.get("/", (request, response, next) => {
response.render("index.hbs", {
redirect: config.ensl_url,
bot_url: config.steam_bot_link
bot_url: config.steam_bot_link,
rules_url: config.ensl_rules_url
});
});

View file

@ -5,17 +5,29 @@
<ul class="nav navbar-top-links navbar-right" id="currentuser">
</ul>
<ul class="nav navbar-top-links navbar-right" id="soundcontroller">
</ul>
<ul class="nav navbar-top-links navbar-right">
<li>
<a href={{bot_url}} target="_blank">Gather Bot&nbsp;<i class="fa fa-external-link">&nbsp;</i>
</a>
</li>
</ul>
<ul class="nav navbar-top-links navbar-right">
<li>
<a href="https://github.com/cblanc/sws_gathers" target="_blank">Github&nbsp;<i class="fa fa-github">&nbsp;</i>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
Info &nbsp;<i class="fa fa-caret-down"></i>
</a>
<ul class="dropdown-menu">
<li>
<a href="https://github.com/cblanc/sws_gathers" target="_blank">
Github&nbsp;<i class="fa fa-github">&nbsp;</i>
</a>
</li>
<li>
<a href={{bot_url}} target="_blank">
Steam Bot&nbsp;<i class="fa fa-external-link">&nbsp;</i>
</a>
</li>
<li>
<a href={{rules_url}} target="_blank">
Gather Rules&nbsp;<i class="fa fa-external-link">&nbsp;</i>
</a>
</li>
</ul>
</li>
</ul>
</nav>
</nav>