]> iEval git - plack-app-gruntmaster.git/commitdiff
Add user list to nav
authorMarius Gavrilescu <marius@ieval.ro>
Fri, 12 Dec 2014 13:19:57 +0000 (15:19 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Fri, 12 Dec 2014 13:19:57 +0000 (15:19 +0200)
js/90-nav.js
tmpl/skel.en

index 3a59943aff45eef67b5742f45dc6f3ce9ca520f8..92a9d4355de767670611d4139fdf6af01444aadb 100644 (file)
@@ -4,9 +4,10 @@
        var NAVS = {
                'home': /^\/$/,
                'pb': /^\/pb\//,
-               'ct': /^\/ct\//,
+               'ct': /^\/(?:ct|st)\//,
                'log': /^\/log\//,
-               'account': /^\/account$/
+               'us': /^\/us\//,
+               'account': /^\/account$/,
        };
 
        $( document ).ready(function(){
index 72df525d79223383bee24c682b5591a210eea979..1e20c87e0269c819007b7d52d41282455a4e9cdb 100644 (file)
@@ -14,6 +14,7 @@
 <li id="nav-pb"><a href="/pb/">Problems</a>
 <li id="nav-ct"><a href="/ct/">Contests</a>
 <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="theme-selector" class="hidden"><a class="dropdown-toggle" data-toggle="dropdown"> Theme <span class="caret"></span></a>
 <ul class="dropdown-menu" role="menu">
This page took 0.030278 seconds and 4 git commands to generate.