From f2f18ea937cfb98f58e4fccbd8f0d214cc9b5924 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Sun, 10 Aug 2014 03:38:15 +0400 Subject: [PATCH] Some shitz for help --- ElvUI_SLE/options/help_c.lua | 123 +++++++++++++++++++++++++++++++++--------- 1 file changed, 97 insertions(+), 26 deletions(-) diff --git a/ElvUI_SLE/options/help_c.lua b/ElvUI_SLE/options/help_c.lua index 2d5c323..03eb5cd 100644 --- a/ElvUI_SLE/options/help_c.lua +++ b/ElvUI_SLE/options/help_c.lua @@ -3,44 +3,115 @@ local SLE = E:GetModule('SLE') local function configTable() --Main options group - E.Options.args.sle.args.links = { + E.Options.args.sle.args.help = { type = 'group', name = 'About/Help', order = -2, + childGroups = 'tab', args = { desc = { order = 1, type = 'description', fontSize = 'medium', - name = 'Da LinkZ!!!!', + name = 'Da Helpz!!!!', }, - tukuilink = { - type = 'input', - width = 'full', - name = 'On TukUI.org', - get = function(info) return 'http://www.tukui.org/addons/index.php?act=view&id=42' end, + about = { + type = 'group', + name = 'About', order = 2, + args = { + content = { + order = 1, + type = 'description', + fontSize = 'medium', + name = [[Shadow & Light is a plugin by two lazy asses. +This shit is comletely broken and should be scrapped as soon as possible!]], + }, + }, }, - wowilink = { - type = 'input', - width = 'full', - name = 'On WoWI', - get = function(info) return 'http://www.wowinterface.com/downloads/info20927-ElvUIShadowLight.html' end, - order = 3, - }, - curselink= { - type = 'input', - width = 'full', - name = 'On Curse', - get = function(info) return 'http://www.curse.com/addons/wow/shadow-and-light-edit' end, - order = 4, + faq = { + type = 'group', + name = 'FAQ', + order = 2, + args = { + desc = { + order = 1, + type = 'description', + fontSize = 'medium', + name = 'Da FAQz!!!!', + }, + q1 = { + type = 'group', + name = '', + order = 2, + guiInline = true, + args = { + q = { + order = 1, + type = 'description', + fontSize = 'medium', + name = [[|cff30ee30Imma be da first question!|r +Imma be da first answerz]], + }, + }, + }, + q2 = { + type = 'group', + name = '', + order = 3, + guiInline = true, + args = { + q = { + order = 2, + type = 'description', + fontSize = 'medium', + name = [[|cff30ee30Imma be da second question!|r +Imma be da second answerz]], + }, + }, + }, + }, }, - gitlablink = { - type = 'input', - width = 'full', - name = 'GitLab Link / Report Errors', - get = function(info) return 'http://git.tukui.org/repooc/elvui-shadowandlight' end, - order = 5, + links = { + type = 'group', + name = 'Links', + order = 10, + args = { + desc = { + order = 1, + type = 'description', + fontSize = 'medium', + name = 'Da LinkZ!!!!', + }, + tukuilink = { + type = 'input', + width = 'full', + name = 'On TukUI.org', + get = function(info) return 'http://www.tukui.org/addons/index.php?act=view&id=42' end, + order = 2, + }, + wowilink = { + type = 'input', + width = 'full', + name = 'On WoWI', + get = function(info) return 'http://www.wowinterface.com/downloads/info20927-ElvUIShadowLight.html' end, + order = 3, + }, + curselink= { + type = 'input', + width = 'full', + name = 'On Curse', + get = function(info) return 'http://www.curse.com/addons/wow/shadow-and-light-edit' end, + order = 4, + }, + gitlablink = { + type = 'input', + width = 'full', + name = 'GitLab Link / Report Errors', + get = function(info) return 'http://git.tukui.org/repooc/elvui-shadowandlight' end, + order = 5, + }, + }, }, }, } -- 1.7.9.5