diff options
| author | Jeff Carr <[email protected]> | 2019-05-29 15:46:21 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-05-29 15:46:21 -0700 |
| commit | 77035ad6bdf08097bafd4f4d4668fda4a2db9bac (patch) | |
| tree | f87d6b772cd5f38bcd945ed020ccb7f23074159f /splash.go | |
| parent | fc35ccbfd23aefde013905c8c31668825368ebba (diff) | |
start moving the area text back to the main program
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'splash.go')
| -rw-r--r-- | splash.go | 24 |
1 files changed, 1 insertions, 23 deletions
@@ -49,29 +49,7 @@ func ShowSplashBox(newText *ui.AttributedString) *ui.Box { okButton := CreateButton(nil, nil, "OK", "AREA", nil) newbox.Append(okButton, false) + newbox.Append(CreateButton(nil, nil, "NEWTEXT", "NEWTEXT", nil), false) return newbox } - -func makeAttributedString() *ui.AttributedString { - newText := ui.NewAttributedString("") - - appendWithAttributes(newText, "Welcome to the Cloud Control Panel\n", ui.TextSize(16), ui.TextColor{0.0, 0.0, 0.8, .8}) // "RGBT" - - appendWithAttributes(newText, "(alpha)\n\n", ui.TextSize(10)) - - appendWithAttributes(newText, "This control panel was designed to be an interface to your 'private' cloud. ", ui.TextWeightBold) - appendWithAttributes(newText, "The concept of a private cloud means that you can use a providers system, or, seemlessly, use your own hardware in your own datacenter. ", ui.TextWeightBold) - - newText.AppendUnattributed("\n") - newText.AppendUnattributed("\n") - appendWithAttributes(newText, "This control panel requires:\n") - newText.AppendUnattributed("\n") - appendWithAttributes(newText, "IPv6\n") - appendWithAttributes(newText, "newText, Your hostname in DNS\n") - newText.AppendUnattributed("\n\n\n\n\n") - - appendWithAttributes(newText, "<click or press any key>\n", ui.TextSize(10)) - - return newText -} |
