Update settings.lua
This commit is contained in:
parent
d16f8bf3e5
commit
f41a852ddb
1 changed files with 6 additions and 6 deletions
|
@ -39,11 +39,11 @@ local function changePassword()
|
|||
if sPhone.wrongPassword then
|
||||
term.setTextColor(colors.red)
|
||||
term.setBackgroundColor(colors.white)
|
||||
sertextext.center(13," Wrong Password")
|
||||
visum.align("center"," Wrong Password",false,13)
|
||||
end
|
||||
term.setTextColor(colors.black)
|
||||
term.setBackgroundColor(colors.white)
|
||||
sertextext.center(7," Current Password")
|
||||
visum.align("center"," Current Password",false,7)
|
||||
local loginTerm = window.create(term.native(), 8,10,12,1, true)
|
||||
term.redirect(loginTerm)
|
||||
term.setBackgroundColor(colors.white)
|
||||
|
@ -74,11 +74,11 @@ local function changePassword()
|
|||
if sPhone.wrongPassword then
|
||||
term.setTextColor(colors.red)
|
||||
term.setBackgroundColor(colors.white)
|
||||
sertextext.center(13," Wrong Password")
|
||||
visum.align("center"," Wrong Password",false,13)
|
||||
end
|
||||
term.setTextColor(colors.black)
|
||||
term.setBackgroundColor(colors.white)
|
||||
sertextext.center(7," New Password")
|
||||
visum.align("center"," New Password",false,7)
|
||||
local loginTerm = window.create(term.native(), 8,10,12,1, true)
|
||||
term.redirect(loginTerm)
|
||||
term.setBackgroundColor(colors.white)
|
||||
|
@ -97,7 +97,7 @@ local function changePassword()
|
|||
write(" "..sPhone.user)
|
||||
term.setTextColor(colors.black)
|
||||
term.setBackgroundColor(colors.white)
|
||||
sertextext.center(7," Repeat Password")
|
||||
visum.align("center"," Repeat Password",false,7)
|
||||
local loginTerm = window.create(term.native(), 8,10,12,1, true)
|
||||
term.redirect(loginTerm)
|
||||
term.setBackgroundColor(colors.white)
|
||||
|
@ -128,7 +128,7 @@ end
|
|||
|
||||
local function changeLabel()
|
||||
header()
|
||||
sertextext.center(3, "Set Label")
|
||||
visum.align("center", "Set Label",false,3)
|
||||
term.setCursorPos(2,5)
|
||||
local newLabel = read()
|
||||
os.setComputerLabel(newLabel)
|
||||
|
|
Loading…
Reference in a new issue