1
Fork 0
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:
ne0ndrag0n 2022-10-01 00:40:28 -04:00 committed by Linus Groh
parent a143d666db
commit b4456ecdbb
9 changed files with 287 additions and 0 deletions

View 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"
}
}
}