diff --git a/claat/VERSION b/claat/VERSION index a918a2aa1..ee6cdce3c 100644 --- a/claat/VERSION +++ b/claat/VERSION @@ -1 +1 @@ -0.6.0 +0.6.1 diff --git a/claat/render/template-offline.html b/claat/render/template-offline.html index 04e556126..a78da4802 100644 --- a/claat/render/template-offline.html +++ b/claat/render/template-offline.html @@ -74,5 +74,35 @@

{{.StepNum}}. {{.Current.Title}}

+ + + diff --git a/claat/render/tmpldata.go b/claat/render/tmpldata.go index 35263af6f..c2b27f822 100644 --- a/claat/render/tmpldata.go +++ b/claat/render/tmpldata.go @@ -631,8 +631,110 @@ var tmpldata = map[string]*template{ 0xa,0xa,0x20,0x20,0x3c,0x2f,0x64,0x69,0x76,0x3e, 0x3c,0x21,0x2d,0x2d,0x20,0x63,0x6f,0x64,0x65,0x6c, 0x61,0x62,0x5f,0x5f,0x74,0x6f,0x63,0x20,0x2d,0x2d, - 0x3e,0xa,0x3c,0x2f,0x62,0x6f,0x64,0x79,0x3e,0xa, - 0x3c,0x2f,0x68,0x74,0x6d,0x6c,0x3e,0xa, + 0x3e,0xa,0xa,0x20,0x20,0x3c,0x73,0x63,0x72,0x69, + 0x70,0x74,0x3e,0xa,0x20,0x20,0x20,0x20,0x28,0x66, + 0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e,0x28,0x69,0x2c, + 0x73,0x2c,0x6f,0x2c,0x67,0x2c,0x72,0x2c,0x61,0x2c, + 0x6d,0x29,0x7b,0x69,0x5b,0x27,0x47,0x6f,0x6f,0x67, + 0x6c,0x65,0x41,0x6e,0x61,0x6c,0x79,0x74,0x69,0x63, + 0x73,0x4f,0x62,0x6a,0x65,0x63,0x74,0x27,0x5d,0x3d, + 0x72,0x3b,0x69,0x5b,0x72,0x5d,0x3d,0x69,0x5b,0x72, + 0x5d,0x7c,0x7c,0x66,0x75,0x6e,0x63,0x74,0x69,0x6f, + 0x6e,0x28,0x29,0x7b,0xa,0x20,0x20,0x20,0x20,0x28, + 0x69,0x5b,0x72,0x5d,0x2e,0x71,0x3d,0x69,0x5b,0x72, + 0x5d,0x2e,0x71,0x7c,0x7c,0x5b,0x5d,0x29,0x2e,0x70, + 0x75,0x73,0x68,0x28,0x61,0x72,0x67,0x75,0x6d,0x65, + 0x6e,0x74,0x73,0x29,0x7d,0x2c,0x69,0x5b,0x72,0x5d, + 0x2e,0x6c,0x3d,0x31,0x2a,0x6e,0x65,0x77,0x20,0x44, + 0x61,0x74,0x65,0x28,0x29,0x3b,0x61,0x3d,0x73,0x2e, + 0x63,0x72,0x65,0x61,0x74,0x65,0x45,0x6c,0x65,0x6d, + 0x65,0x6e,0x74,0x28,0x6f,0x29,0x2c,0xa,0x20,0x20, + 0x20,0x20,0x6d,0x3d,0x73,0x2e,0x67,0x65,0x74,0x45, + 0x6c,0x65,0x6d,0x65,0x6e,0x74,0x73,0x42,0x79,0x54, + 0x61,0x67,0x4e,0x61,0x6d,0x65,0x28,0x6f,0x29,0x5b, + 0x30,0x5d,0x3b,0x61,0x2e,0x61,0x73,0x79,0x6e,0x63, + 0x3d,0x31,0x3b,0x61,0x2e,0x73,0x72,0x63,0x3d,0x67, + 0x3b,0x6d,0x2e,0x70,0x61,0x72,0x65,0x6e,0x74,0x4e, + 0x6f,0x64,0x65,0x2e,0x69,0x6e,0x73,0x65,0x72,0x74, + 0x42,0x65,0x66,0x6f,0x72,0x65,0x28,0x61,0x2c,0x6d, + 0x29,0xa,0x20,0x20,0x20,0x20,0x7d,0x29,0x28,0x77, + 0x69,0x6e,0x64,0x6f,0x77,0x2c,0x64,0x6f,0x63,0x75, + 0x6d,0x65,0x6e,0x74,0x2c,0x27,0x73,0x63,0x72,0x69, + 0x70,0x74,0x27,0x2c,0x27,0x68,0x74,0x74,0x70,0x73, + 0x3a,0x2f,0x2f,0x77,0x77,0x77,0x2e,0x67,0x6f,0x6f, + 0x67,0x6c,0x65,0x2d,0x61,0x6e,0x61,0x6c,0x79,0x74, + 0x69,0x63,0x73,0x2e,0x63,0x6f,0x6d,0x2f,0x61,0x6e, + 0x61,0x6c,0x79,0x74,0x69,0x63,0x73,0x2e,0x6a,0x73, + 0x27,0x2c,0x27,0x67,0x61,0x27,0x29,0x3b,0xa,0xa, + 0x20,0x20,0x20,0x20,0x7b,0x7b,0x69,0x66,0x20,0x2e, + 0x47,0x6c,0x6f,0x62,0x61,0x6c,0x47,0x41,0x7d,0x7d, + 0x67,0x61,0x28,0x27,0x63,0x72,0x65,0x61,0x74,0x65, + 0x27,0x2c,0x20,0x27,0x7b,0x7b,0x2e,0x47,0x6c,0x6f, + 0x62,0x61,0x6c,0x47,0x41,0x7d,0x7d,0x27,0x2c,0x20, + 0x27,0x61,0x75,0x74,0x6f,0x27,0x29,0x3b,0x7b,0x7b, + 0x65,0x6e,0x64,0x7d,0x7d,0xa,0xa,0x20,0x20,0x20, + 0x20,0x28,0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e, + 0x28,0x29,0x20,0x7b,0xa,0x20,0x20,0x20,0x20,0x20, + 0x20,0x76,0x61,0x72,0x20,0x67,0x61,0x43,0x6f,0x64, + 0x65,0x6c,0x61,0x62,0x20,0x3d,0x20,0x27,0x7b,0x7b, + 0x2e,0x4d,0x65,0x74,0x61,0x2e,0x47,0x41,0x7d,0x7d, + 0x27,0x3b,0xa,0x20,0x20,0x20,0x20,0x20,0x20,0x69, + 0x66,0x20,0x28,0x67,0x61,0x43,0x6f,0x64,0x65,0x6c, + 0x61,0x62,0x29,0x20,0x7b,0xa,0x20,0x20,0x20,0x20, + 0x20,0x20,0x20,0x20,0x67,0x61,0x28,0x27,0x63,0x72, + 0x65,0x61,0x74,0x65,0x27,0x2c,0x20,0x67,0x61,0x43, + 0x6f,0x64,0x65,0x6c,0x61,0x62,0x2c,0x20,0x27,0x61, + 0x75,0x74,0x6f,0x27,0x2c,0x20,0x7b,0x6e,0x61,0x6d, + 0x65,0x3a,0x20,0x27,0x63,0x6f,0x64,0x65,0x6c,0x61, + 0x62,0x27,0x7d,0x29,0x3b,0xa,0x20,0x20,0x20,0x20, + 0x20,0x20,0x7d,0xa,0xa,0x20,0x20,0x20,0x20,0x20, + 0x20,0x76,0x61,0x72,0x20,0x67,0x61,0x56,0x69,0x65, + 0x77,0x3b,0xa,0x20,0x20,0x20,0x20,0x20,0x20,0x76, + 0x61,0x72,0x20,0x70,0x61,0x72,0x74,0x73,0x20,0x3d, + 0x20,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x2e, + 0x73,0x65,0x61,0x72,0x63,0x68,0x2e,0x73,0x75,0x62, + 0x73,0x74,0x72,0x69,0x6e,0x67,0x28,0x31,0x29,0x2e, + 0x73,0x70,0x6c,0x69,0x74,0x28,0x27,0x26,0x27,0x29, + 0x3b,0xa,0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6f, + 0x72,0x20,0x28,0x76,0x61,0x72,0x20,0x69,0x20,0x3d, + 0x20,0x30,0x3b,0x20,0x69,0x20,0x3c,0x20,0x70,0x61, + 0x72,0x74,0x73,0x2e,0x6c,0x65,0x6e,0x67,0x74,0x68, + 0x3b,0x20,0x69,0x2b,0x2b,0x29,0x20,0x7b,0xa,0x20, + 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x76,0x61,0x72, + 0x20,0x70,0x61,0x72,0x61,0x6d,0x20,0x3d,0x20,0x70, + 0x61,0x72,0x74,0x73,0x5b,0x69,0x5d,0x2e,0x73,0x70, + 0x6c,0x69,0x74,0x28,0x27,0x3d,0x27,0x29,0x3b,0xa, + 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,0x66, + 0x20,0x28,0x70,0x61,0x72,0x61,0x6d,0x5b,0x30,0x5d, + 0x20,0x3d,0x3d,0x3d,0x20,0x27,0x76,0x69,0x65,0x77, + 0x67,0x61,0x27,0x29,0x20,0x7b,0xa,0x20,0x20,0x20, + 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x67,0x61,0x56, + 0x69,0x65,0x77,0x20,0x3d,0x20,0x70,0x61,0x72,0x61, + 0x6d,0x5b,0x31,0x5d,0x3b,0xa,0x20,0x20,0x20,0x20, + 0x20,0x20,0x20,0x20,0x20,0x20,0x62,0x72,0x65,0x61, + 0x6b,0x3b,0xa,0x20,0x20,0x20,0x20,0x20,0x20,0x20, + 0x20,0x7d,0xa,0x20,0x20,0x20,0x20,0x20,0x20,0x7d, + 0xa,0x20,0x20,0x20,0x20,0x20,0x20,0x69,0x66,0x20, + 0x28,0x67,0x61,0x56,0x69,0x65,0x77,0x20,0x26,0x26, + 0x20,0x67,0x61,0x56,0x69,0x65,0x77,0x20,0x21,0x3d, + 0x3d,0x20,0x67,0x61,0x43,0x6f,0x64,0x65,0x6c,0x61, + 0x62,0x29,0x20,0x7b,0xa,0x20,0x20,0x20,0x20,0x20, + 0x20,0x20,0x20,0x67,0x61,0x28,0x27,0x63,0x72,0x65, + 0x61,0x74,0x65,0x27,0x2c,0x20,0x67,0x61,0x56,0x69, + 0x65,0x77,0x2c,0x20,0x27,0x61,0x75,0x74,0x6f,0x27, + 0x2c,0x20,0x7b,0x6e,0x61,0x6d,0x65,0x3a,0x20,0x27, + 0x76,0x69,0x65,0x77,0x27,0x7d,0x29,0x3b,0xa,0x20, + 0x20,0x20,0x20,0x20,0x20,0x7d,0xa,0x20,0x20,0x20, + 0x20,0x7d,0x29,0x28,0x29,0x3b,0xa,0x20,0x20,0x3c, + 0x2f,0x73,0x63,0x72,0x69,0x70,0x74,0x3e,0xa,0x20, + 0x20,0x3c,0x73,0x63,0x72,0x69,0x70,0x74,0x20,0x73, + 0x72,0x63,0x3d,0x22,0x7b,0x7b,0x2e,0x50,0x72,0x65, + 0x66,0x69,0x78,0x7d,0x7d,0x73,0x63,0x72,0x69,0x70, + 0x74,0x73,0x2f,0x63,0x6f,0x64,0x65,0x6c,0x61,0x62, + 0x2e,0x6a,0x73,0x22,0x20,0x61,0x73,0x79,0x6e,0x63, + 0x3e,0x3c,0x2f,0x73,0x63,0x72,0x69,0x70,0x74,0x3e, + 0xa,0x3c,0x2f,0x62,0x6f,0x64,0x79,0x3e,0xa,0x3c, + 0x2f,0x68,0x74,0x6d,0x6c,0x3e,0xa, }, }, }