finish template fixes for installer
This commit is contained in:
parent
f5fc7c0ff3
commit
5367b53570
@ -368,7 +368,7 @@ func initInstallerTree() *dialogNode {
|
|||||||
children: make(map[string]*dialogNode),
|
children: make(map[string]*dialogNode),
|
||||||
post: handleDBTypePost,
|
post: handleDBTypePost,
|
||||||
model: prepareDefaultModel,
|
model: prepareDefaultModel,
|
||||||
templateName: "inst_db.mustache",
|
templateName: "inst_db",
|
||||||
}
|
}
|
||||||
|
|
||||||
postgresDB := &dialogNode{
|
postgresDB := &dialogNode{
|
||||||
@ -376,7 +376,7 @@ func initInstallerTree() *dialogNode {
|
|||||||
children: make(map[string]*dialogNode),
|
children: make(map[string]*dialogNode),
|
||||||
post: handlePostgresDBPost,
|
post: handlePostgresDBPost,
|
||||||
model: preparePostgresDBModel,
|
model: preparePostgresDBModel,
|
||||||
templateName: "inst_postgres_db.mustache",
|
templateName: "inst_postgres_db",
|
||||||
}
|
}
|
||||||
root.children["postgres"] = postgresDB
|
root.children["postgres"] = postgresDB
|
||||||
|
|
||||||
@ -385,7 +385,7 @@ func initInstallerTree() *dialogNode {
|
|||||||
children: make(map[string]*dialogNode),
|
children: make(map[string]*dialogNode),
|
||||||
post: handleNNTPPost,
|
post: handleNNTPPost,
|
||||||
model: prepareNNTPModel,
|
model: prepareNNTPModel,
|
||||||
templateName: "inst_nntp.mustache",
|
templateName: "inst_nntp",
|
||||||
}
|
}
|
||||||
postgresDB.children["next"] = nntp
|
postgresDB.children["next"] = nntp
|
||||||
|
|
||||||
@ -394,7 +394,7 @@ func initInstallerTree() *dialogNode {
|
|||||||
children: make(map[string]*dialogNode),
|
children: make(map[string]*dialogNode),
|
||||||
post: handleCryptoPost,
|
post: handleCryptoPost,
|
||||||
model: prepareCryptoModel,
|
model: prepareCryptoModel,
|
||||||
templateName: "inst_crypto.mustache",
|
templateName: "inst_crypto",
|
||||||
}
|
}
|
||||||
nntp.children["next"] = crypto
|
nntp.children["next"] = crypto
|
||||||
|
|
||||||
@ -403,7 +403,7 @@ func initInstallerTree() *dialogNode {
|
|||||||
children: make(map[string]*dialogNode),
|
children: make(map[string]*dialogNode),
|
||||||
post: handleBinPost,
|
post: handleBinPost,
|
||||||
model: prepareBinModel,
|
model: prepareBinModel,
|
||||||
templateName: "inst_bins.mustache",
|
templateName: "inst_bins",
|
||||||
}
|
}
|
||||||
crypto.children["next"] = bins
|
crypto.children["next"] = bins
|
||||||
|
|
||||||
@ -412,7 +412,7 @@ func initInstallerTree() *dialogNode {
|
|||||||
children: make(map[string]*dialogNode),
|
children: make(map[string]*dialogNode),
|
||||||
post: handleCacheTypePost,
|
post: handleCacheTypePost,
|
||||||
model: prepareDefaultModel,
|
model: prepareDefaultModel,
|
||||||
templateName: "inst_cache.mustache",
|
templateName: "inst_cache",
|
||||||
}
|
}
|
||||||
bins.children["next"] = cache
|
bins.children["next"] = cache
|
||||||
|
|
||||||
@ -421,7 +421,7 @@ func initInstallerTree() *dialogNode {
|
|||||||
children: make(map[string]*dialogNode),
|
children: make(map[string]*dialogNode),
|
||||||
post: handleFrontendPost,
|
post: handleFrontendPost,
|
||||||
model: prepareFrontendModel,
|
model: prepareFrontendModel,
|
||||||
templateName: "inst_frontend.mustache",
|
templateName: "inst_frontend",
|
||||||
}
|
}
|
||||||
cache.children["next"] = frontend
|
cache.children["next"] = frontend
|
||||||
|
|
||||||
@ -430,7 +430,7 @@ func initInstallerTree() *dialogNode {
|
|||||||
children: make(map[string]*dialogNode),
|
children: make(map[string]*dialogNode),
|
||||||
post: handleAPIPost,
|
post: handleAPIPost,
|
||||||
model: prepareAPIModel,
|
model: prepareAPIModel,
|
||||||
templateName: "inst_api.mustache",
|
templateName: "inst_api",
|
||||||
}
|
}
|
||||||
frontend.children["json"] = api
|
frontend.children["json"] = api
|
||||||
|
|
||||||
@ -439,7 +439,7 @@ func initInstallerTree() *dialogNode {
|
|||||||
children: make(map[string]*dialogNode),
|
children: make(map[string]*dialogNode),
|
||||||
post: handleKeyPost,
|
post: handleKeyPost,
|
||||||
model: prepareKeyModel,
|
model: prepareKeyModel,
|
||||||
templateName: "inst_key.mustache",
|
templateName: "inst_key",
|
||||||
}
|
}
|
||||||
frontend.children["next"] = key
|
frontend.children["next"] = key
|
||||||
api.children["next"] = key
|
api.children["next"] = key
|
||||||
|
Reference in New Issue
Block a user