mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 06:47:34 +00:00
Escalator: Add new method to privilege escalate within GUI
This commit is contained in:
parent
a143d666db
commit
b4456ecdbb
9 changed files with 287 additions and 0 deletions
49
Userland/Applications/Escalator/Escalator.gml
Normal file
49
Userland/Applications/Escalator/Escalator.gml
Normal file
|
@ -0,0 +1,49 @@
|
|||
@GUI::Widget {
|
||||
fill_with_background_color: true
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
margins: [4]
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
max_height: 32
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
spacing: 16
|
||||
}
|
||||
|
||||
@GUI::ImageWidget {
|
||||
name: "icon"
|
||||
}
|
||||
|
||||
@GUI::Label {
|
||||
name: "description"
|
||||
text_alignment: "CenterLeft"
|
||||
}
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
margins: [4]
|
||||
}
|
||||
|
||||
@GUI::PasswordBox {
|
||||
name: "password"
|
||||
}
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
layout: @GUI::HorizontalBoxLayout {}
|
||||
fixed_height: 22
|
||||
|
||||
@GUI::Layout::Spacer {}
|
||||
|
||||
@GUI::DialogButton {
|
||||
name: "ok_button"
|
||||
text: "OK"
|
||||
}
|
||||
|
||||
@GUI::DialogButton {
|
||||
name: "cancel_button"
|
||||
text: "Cancel"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue