mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
(core) a script for making screenshots for access rules documentation
Summary: a script I used when preparing access rule documentation. Committing it since the feature in still in beta, so keeping the script around may save some time, even if it rusts quickly. I didn't invest time in cleaning it up. Test Plan: manual Reviewers: dsagal Reviewed By: dsagal Differential Revision: https://phab.getgrist.com/D2756
This commit is contained in:
parent
a1a84d99c0
commit
85a2492123
@ -330,7 +330,7 @@ export class AccessRules extends Disposable {
|
||||
),
|
||||
dom.forEach(this._tableRules, (tableRules) => tableRules.buildDom()),
|
||||
cssSection(
|
||||
cssSectionHeading('Default Rules'),
|
||||
cssSectionHeading('Default Rules', testId('rule-table-header')),
|
||||
cssTableRounded(
|
||||
cssTableHeaderRow(
|
||||
cssCell1(cssCell.cls('-rborder'), cssCell.cls('-center'), cssColHeaderCell('Columns')),
|
||||
@ -344,7 +344,8 @@ export class AccessRules extends Disposable {
|
||||
)
|
||||
),
|
||||
dom.maybe(this._docDefaultRuleSet, ruleSet => ruleSet.buildRuleSetDom()),
|
||||
)
|
||||
),
|
||||
testId('rule-table'),
|
||||
)
|
||||
),
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user