master
kt.do 2015-09-03 22:20:29 +09:00
parent 5d4ef2b13c
commit fa7cf7f87d
2 changed files with 25 additions and 1 deletions

View File

@ -3,7 +3,7 @@ package controllers
import (
"github.com/revel/revel"
"github.com/ehrudxo/revel_test1/app/models"
// "github.com/kellydunn/golang-geo"
//
)
type GoMap struct {

24
app/views/Map/Index.html Normal file
View File

@ -0,0 +1,24 @@
{{set . "title" "Home"}}
{{template "header.html" .}}
<header class="hero-unit" style="background-color:#A9F16C">
<div class="container">
<div class="row">
<div class="hero-text">
<h1>It works!</h1>
<p></p>
</div>
</div>
</div>
</header>
<div class="container">
<div class="row">
<div class="span6">
{{.map}}
{{template "flash.html" .}}
</div>
</div>
</div>
{{template "footer.html" .}}