diff options
Diffstat (limited to 'non-puppet/qtmetrics2/index.php')
-rw-r--r-- | non-puppet/qtmetrics2/index.php | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/non-puppet/qtmetrics2/index.php b/non-puppet/qtmetrics2/index.php index 411676a..84faf9d 100644 --- a/non-puppet/qtmetrics2/index.php +++ b/non-puppet/qtmetrics2/index.php @@ -34,8 +34,8 @@ /** * Qt Metrics API - * @version 0.10 - * @since 22-07-2015 + * @version 0.11 + * @since 23-07-2015 * @author Juha Sippola */ @@ -422,6 +422,24 @@ $app->get('/testset/:testset/:project', function($testset, $project) use($app) } })->name('testset'); +/** + * UI route: /sitemap (GET) + */ + +$app->get('/sitemap', function() use($app) +{ + $breadcrumb = array( + array('name' => 'home', 'link' => Slim\Slim::getInstance()->urlFor('root')) + ); + $app->render('image.html', array( + 'root' => Slim\Slim::getInstance()->urlFor('root'), + 'breadcrumb' => $breadcrumb, + 'title' => 'Site Map', + 'navi_title' => 'site map', + 'image' => 'images/site_map.png' + )); +})->name('sitemap'); + $app->run(); |