1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
///! Constants

// CSS classes that get applied to full-page forms
pub const CSS_CLASSES_BODY_FORM: &[&str] = &["flex-column", "d-flex", "h-100"];

// when you want to put big text at the top of the page
pub const CSS_PAGE_HEADER: &str = "d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-0 pb-0 mb-3 border-bottom";

// the HTML element ID that the signout modal dialogue box has
pub const ID_SIGNOUTMODAL: &str = "signoutModal";

// the HTML element ID that the unix password dialog box has
pub const ID_UNIX_PASSWORDCHANGE: &str = "unixPasswordModal";
// classes for buttons
pub const CLASS_BUTTON_DARK: &str = "btn btn-dark";
pub const CLASS_BUTTON_SUCCESS: &str = "btn btn-success";

// the CSS classes to apply to the div which a login field sits inside
pub const CLASS_DIV_LOGIN_FIELD: &str = "input-group mb-3";
// the CSS classes to apply to the div which a login button sits inside
pub const CLASS_DIV_LOGIN_BUTTON: &str = "input-group mb-3 justify-content-md-center";

pub const CSS_LINK_DARK_STRETCHED: &str = "link-dark stretched-link";
// default table classes
pub const CSS_TABLE: &str = "table table-striped table-hover";
// default table cell class
pub const CSS_CELL: &str = "p-1";

pub const CSS_DT: &str = "col-6";

pub const CSS_BREADCRUMB_ITEM: &str = "breadcrumb-item";
pub const CSS_BREADCRUMB_ITEM_ACTIVE: &str = "breadcrumb-item active";

// used in the UI for ... cards
pub const CSS_CARD: &str = "card text-center";
pub const CSS_CARD_BODY: &str = "card-body text-center";