Skip to content

Commit

Permalink
Remove old UI (#984)
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Castell committed Jul 22, 2022
1 parent 345ca8c commit 54ab0c6
Show file tree
Hide file tree
Showing 123 changed files with 0 additions and 36,932 deletions.
3 changes: 0 additions & 3 deletions dkron/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ func NewTransport(a *Agent, log *logrus.Entry) *HTTPTransport {

func (h *HTTPTransport) ServeHTTP() {
h.Engine = gin.Default()
h.Engine.HTMLRender = CreateMyRender(h.logger)
h.Engine.Use(h.Options)

rootPath := h.Engine.Group("/")
Expand All @@ -66,8 +65,6 @@ func (h *HTTPTransport) ServeHTTP() {
h.APIRoutes(rootPath)
if h.agent.config.UI {
h.UI(rootPath)
} else {
h.agent.DashboardRoutes(rootPath)
}

h.logger.WithFields(logrus.Fields{
Expand Down
10 changes: 0 additions & 10 deletions dkron/assets/assets.go

This file was deleted.

12,589 changes: 0 additions & 12,589 deletions dkron/assets/assets_vfsdata.go

This file was deleted.

3 changes: 0 additions & 3 deletions dkron/assets/generate.go

This file was deleted.

207 changes: 0 additions & 207 deletions dkron/dashboard.go

This file was deleted.

3 changes: 0 additions & 3 deletions dkron/templates/generate.go

This file was deleted.

8 changes: 0 additions & 8 deletions dkron/templates/templates.go

This file was deleted.

226 changes: 0 additions & 226 deletions dkron/templates/templates_vfsdata.go

This file was deleted.

Loading

0 comments on commit 54ab0c6

Please sign in to comment.