From 75f64924b5b5167f0ce08c9922bbe1e72b41691b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dalibor=20Jan=C3=A1k?= Date: Tue, 5 Apr 2016 16:18:29 +0200 Subject: [PATCH] Basic index styling #11 --- public/templates/index.tmpl | 177 +++++++++++++++++++++++++++--------- 1 file changed, 133 insertions(+), 44 deletions(-) diff --git a/public/templates/index.tmpl b/public/templates/index.tmpl index ff5400e..6a75709 100644 --- a/public/templates/index.tmpl +++ b/public/templates/index.tmpl @@ -2,51 +2,140 @@ - TileServer GL - + TileServerGL + -

TileServer GL

-

Styles

- - -

Data

- +

{{name}}

+

Id: {{@key}} + {{#if serving_raster}} + | TileJSON + {{/if}} +

+ {{#if serving_style}} + Vector view + {{/if}} + {{#if serving_raster}} + Raster view + {{/if}} + {{#if serving_style}} + {{#if serving_raster}} + Auto view + {{/if}} + {{/if}} + + {{/each}} + +

Data

+
+ {{#each data}} +
+ +

{{name}}

+

Id: {{@key}} | TileJSON

+ X-Ray viewer +
+ {{/each}} +
+ +