Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
br-verification-tool
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fg-bks
br-verification-tool
Commits
0195ddcf
Commit
0195ddcf
authored
5 years ago
by
Jonas Blatt
Browse files
Options
Downloads
Patches
Plain Diff
Add tabs to ui for single tables and multi tables
parent
5a853fa5
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dmn-verifier-app/src/main/webapp/index.xhtml
+70
-73
70 additions, 73 deletions
dmn-verifier-app/src/main/webapp/index.xhtml
dmn-verifier-app/src/main/webapp/resources/css/stylesheet.css
+12
-0
12 additions, 0 deletions
...verifier-app/src/main/webapp/resources/css/stylesheet.css
with
82 additions
and
73 deletions
dmn-verifier-app/src/main/webapp/index.xhtml
+
70
−
73
View file @
0195ddcf
...
...
@@ -95,90 +95,87 @@
</f:facet>
<f:facet
name=
"complete"
>
<h2>
Single table results
</h2>
<p:dataTable
var=
"verifier"
value=
"#{tableDataBean.verifierResultListSingleTables}"
emptyMessage=
"No records found, check syntax!"
>
<p:column
style=
"width:16px"
>
<p:rowToggler/>
</p:column>
<p:column
styleClass=
"col-dataType"
headerText=
"Type"
>
<h:outputText
value=
"#{verifier.verifierType}"
/>
</p:column>
<p:column
styleClass=
"col-description"
headerText=
"Description"
>
<h:outputText
value=
"#{verifier.verificationDescription}"
/>
</p:column>
<p:column
styleClass=
"col-quantity"
headerText=
"Quantity"
>
<h:outputText
value=
"#{verifier.verificationsCount}"
/>
</p:column>
<p:rowExpansion>
<p:dataTable
var=
"results"
value=
"#{verifier.verifications}"
>
<p:column
styleClass=
"subcol-message"
headerText=
"Message"
>
<h:outputText
value=
"#{results.message}"
/>
<p:tabView>
<p:tab
title=
"Single table results"
>
<p:dataTable
var=
"verifier"
value=
"#{tableDataBean.verifierResultListSingleTables}"
emptyMessage=
"No records found, check syntax!"
>
<p:column
style=
"width:16px"
>
<p:rowToggler/>
</p:column>
<p:column
styleClass=
"subcol-rules"
headerText=
"Rules"
>
<p:commandButton
styleClass=
"ruleselect-button"
style=
"width: 95%;"
onclick=
"addHighlightCss(#{results.rulesAsJson});"
value=
"Show"
/>
</p:column>
</p:dataTable>
</p:rowExpansion>
</p:dataTable>
</f:facet>
</p:ajaxStatus>
<!-- Multi Table -->
<p:ajaxStatus
style=
"display:block;"
>
<f:facet
name=
"default"
>
</f:facet>
<p:column
styleClass=
"col-dataType"
headerText=
"Type"
>
<h:outputText
value=
"#{verifier.verifierType}"
/>
</p:column>
<f:facet
name=
"start"
>
</f:facet>
<p:column
styleClass=
"col-description"
headerText=
"Description"
>
<h:outputText
value=
"#{verifier.verificationDescription}"
/>
</p:column>
<f:facet
name=
"complete"
>
<h2>
Multi table results
</h2>
<p:dataTable
var=
"verifier"
value=
"#{tableDataBean.verifierResultListMultiTables}"
emptyMessage=
"No records found, check syntax!"
>
<p:column
style=
"width:16px"
>
<p:rowToggler/>
</p:column>
<p:column
styleClass=
"col-dataType"
headerText=
"Type"
>
<h:outputText
value=
"#{verifier.verifierType}"
/>
</p:column>
<p:column
styleClass=
"col-description"
headerText=
"Description"
>
<h:outputText
value=
"#{verifier.verificationDescription}"
/>
</p:column>
<p:column
styleClass=
"col-quantity"
headerText=
"Quantity"
>
<h:outputText
value=
"#{verifier.verificationsCount}"
/>
</p:column>
<p:rowExpansion>
<p:dataTable
var=
"results"
value=
"#{verifier.verifications}"
>
<p:column
styleClass=
"subcol-message"
headerText=
"Message"
>
<h:outputText
value=
"#{results.message}"
/>
<p:column
styleClass=
"col-quantity"
headerText=
"Quantity"
>
<h:outputText
value=
"#{verifier.verificationsCount}"
/>
</p:column>
<p:column
styleClass=
"subcol-rules"
headerText=
"Rules"
>
<p:dataTable
var=
"rule"
value=
"#{results.rules}"
>
<p:column
style=
"padding: 0px"
>
<p:rowExpansion>
<p:dataTable
var=
"results"
value=
"#{verifier.verifications}"
>
<p:column
styleClass=
"subcol-message"
headerText=
"Message"
>
<h:outputText
value=
"#{results.message}"
/>
</p:column>
<p:column
styleClass=
"subcol-rules"
headerText=
"Rules"
>
<p:commandButton
styleClass=
"ruleselect-button"
style=
"width: 95%;"
onclick=
"addHighlightCss
SingleRule('#{rule.ruleId}', '#{rule.decisionKey}'
);"
value=
"
#{rule.tableName.concat(' (').concat(rule.rowNumber).concat(')')}
"
/>
onclick=
"addHighlightCss
(#{results.rulesAsJson}
);"
value=
"
Show
"
/>
</p:column>
</p:dataTable>
</p:rowExpansion>
</p:dataTable>
</p:tab>
<p:tab
title=
"Multi Table results"
>
<p:dataTable
var=
"verifier"
value=
"#{tableDataBean.verifierResultListMultiTables}"
emptyMessage=
"No records found, check syntax!"
>
<p:column
style=
"width:16px"
>
<p:rowToggler/>
</p:column>
<p:column
styleClass=
"col-dataType"
headerText=
"Type"
>
<h:outputText
value=
"#{verifier.verifierType}"
/>
</p:column>
<p:column
styleClass=
"col-description"
headerText=
"Description"
>
<h:outputText
value=
"#{verifier.verificationDescription}"
/>
</p:column>
<p:column
styleClass=
"col-quantity"
headerText=
"Quantity"
>
<h:outputText
value=
"#{verifier.verificationsCount}"
/>
</p:column>
<p:rowExpansion>
<p:dataTable
var=
"results"
value=
"#{verifier.verifications}"
>
<p:column
styleClass=
"subcol-message"
headerText=
"Message"
>
<h:outputText
value=
"#{results.message}"
/>
</p:column>
<p:column
styleClass=
"subcol-rules"
headerText=
"Rules"
>
<p:dataTable
var=
"rule"
value=
"#{results.rules}"
>
<p:column
style=
"padding: 0px"
>
<p:commandButton
styleClass=
"ruleselect-button"
style=
"width: 95%;"
onclick=
"addHighlightCssSingleRule('#{rule.ruleId}', '#{rule.decisionKey}');"
value=
"#{rule.tableName.concat(' (').concat(rule.rowNumber).concat(')')}"
/>
</p:column>
</p:dataTable>
</p:column>
</p:dataTable>
</p:rowExpansion>
</p:dataTable>
</p:
rowExpansion
>
</p:
dataTable
>
</p:
tab
>
</p:
tabView
>
</f:facet>
</p:ajaxStatus>
</h:panelGroup>
...
...
This diff is collapsed.
Click to expand it.
dmn-verifier-app/src/main/webapp/resources/css/stylesheet.css
+
12
−
0
View file @
0195ddcf
...
...
@@ -9,6 +9,18 @@ h2 {
margin
:
10px
;
}
.ui-tabs
.ui-tabs-panel
{
padding
:
0
!important
;
/* overwrite primefaces css */
}
.ui-tabs.ui-tabs-top
>
.ui-tabs-nav
{
background
:
transparent
!important
;
/* overwrite primefaces css */
}
.ui-state-active
{
font-weight
:
bold
!important
;
/* overwrite primefaces css */
}
.col-type
{
width
:
25%
;
word-wrap
:
break-word
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment