mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-23 23:32:40 +01:00
11fbd213b1
Summary: Ref T603. This isn't remotely usable yet, but I wanted to get any feedback before I build it out anymore. I think this is a reasonable interface for defining custom policies? It's basically similar to Herald, although it's a bit simpler. I imagine users will rarely interact with this, but this will service the high end of policy complexity (and allow the definition of things like "is member of LDAP group" or whatever). Test Plan: See screenshots. Reviewers: btrahan, chad Reviewed By: btrahan CC: aran, asherkin Maniphest Tasks: T603 Differential Revision: https://secure.phabricator.com/D7217
32 lines
482 B
CSS
32 lines
482 B
CSS
/**
|
|
* @provides policy-edit-css
|
|
*/
|
|
|
|
.policy-rules-table {
|
|
width: 100%;
|
|
}
|
|
|
|
.policy-rules-table td {
|
|
padding: 4px;
|
|
width: 32px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.policy-rules-table td.action-cell {
|
|
width: 120px;
|
|
}
|
|
|
|
.policy-rules-table td.rule-cell {
|
|
width: 180px;
|
|
}
|
|
|
|
.policy-rules-table td.value-cell {
|
|
width: auto;
|
|
padding-right: 12px;
|
|
}
|
|
|
|
.policy-rules-table td.action-cell select,
|
|
.policy-rules-table td.rule-cell select,
|
|
.policy-rules-table td input {
|
|
width: 100%;
|
|
}
|