Skip to content

Commit

Permalink
url handling for billable detailed
Browse files Browse the repository at this point in the history
  • Loading branch information
Karolis Rusenas committed Aug 18, 2015
1 parent d9c3443 commit cf80c97
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
10 changes: 8 additions & 2 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
<![endif]-->
<!-- jQuery 2.1.3 -->
<script src="/static/AdminLTE/plugins/jQuery/jQuery-2.1.3.min.js"></script>
<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="http://code.highcharts.com/modules/exporting.js"></script>
</head>
<!--
BODY TAG OPTIONS:
Expand All @@ -50,7 +52,7 @@
|---------------------------------------------------------|
-->
<body class="skin-blue sidebar-collapse">
<body class="skin-blue">
<div class="wrapper">

<!-- Main Header -->
Expand Down Expand Up @@ -119,8 +121,12 @@
<li class=" {% if '/' == request.path %} active {% end %}"><a
href="/"><span>Google Analytics</span></a></li>

<li class=" {% if 'sf' in request.path %} active {% end %}"><a
<li class=" {% if '/sf' == request.path %} active {% end %}"><a
href="/sf"><span>Salesforce</span></a></li>

<li class=" {% if '/sf/billability/detailed' == request.path %} active {% end %}"><a
href="/sf/billability/detailed"><span>Salesforce billability detailed</span></a></li>

</ul>
<!-- /.sidebar-menu -->
</section>
Expand Down
1 change: 1 addition & 0 deletions urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@
(r"/top-browser-n-os", web_handlers.TopBrowserAndOs),
# Salesforce patterns begin here
(r"/sf", web_handlers.SFHandler),
(r"/sf/billability/detailed", web_handlers.SFHandlerBillDetailed),
]

0 comments on commit cf80c97

Please sign in to comment.