mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
add identity page for CertificateRequest status code
This commit is contained in:
parent
611addda42
commit
63f7f1c769
4 changed files with 68 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
mod failure;
|
||||
mod identity;
|
||||
mod loading;
|
||||
|
||||
use adw::StatusPage;
|
||||
|
|
@ -20,6 +21,16 @@ impl Status {
|
|||
}
|
||||
}
|
||||
|
||||
/// Create new identity preset
|
||||
///
|
||||
/// Useful as placeholder for 60 status code
|
||||
/// https://geminiprotocol.net/docs/protocol-specification.gmi#status-60
|
||||
pub fn new_identity() -> Self {
|
||||
Self {
|
||||
gobject: identity::new_gobject(),
|
||||
}
|
||||
}
|
||||
|
||||
/// Create new loading preset
|
||||
///
|
||||
/// Useful as placeholder widget for async operations
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue