Rewrote and redesign how the data source edit views look and work so they conform better to how account views look, removed tabs and put top nav items to add data source etc, made list, edit and new seperate url routes, #1483

This commit is contained in:
Torkel Ödegaard
2015-02-14 10:04:27 +01:00
parent ed0fabd9de
commit f6c07fdabd
9 changed files with 229 additions and 170 deletions

View File

@ -75,6 +75,7 @@ func Register(r *macaron.Macaron) {
r.Group("/datasources", func() {
r.Combo("/").Get(GetDataSources).Put(AddDataSource).Post(UpdateDataSource)
r.Delete("/:id", DeleteDataSource)
r.Get("/:id", GetDataSourceById)
}, reqAccountAdmin)
r.Any("/datasources/proxy/:id/*", reqSignedIn, ProxyDataSourceRequest)