-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #606
- Loading branch information
Showing
3 changed files
with
74 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
67 changes: 67 additions & 0 deletions
67
imixs-office-workflow-app/src/main/webapp/pages/workitems/parts/analyze_currency.xhtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://xmlns.jcp.org/jsf/facelets" | ||
xmlns:f="http://xmlns.jcp.org/jsf/core" xmlns:c="http://xmlns.jcp.org/jsp/jstl/core" | ||
xmlns:h="http://xmlns.jcp.org/jsf/html"> | ||
|
||
|
||
<style> | ||
.analytic-card { | ||
display: flex; | ||
flex-flow: column; | ||
|
||
min-height: 200px; | ||
padding: 20px; | ||
background-color: #f3f3f3; | ||
border-radius: 5px; | ||
-webkit-box-shadow: 0 0 5px 0 rgba(43, 43, 43, .1), 0 11px 6px -7px rgba(43, 43, 43, .1); | ||
box-shadow: 0 0 5px 0 rgba(43, 43, 43, .1), 0 11px 6px -7px rgba(43, 43, 43, .1); | ||
border: none; | ||
-webkit-transition: all .3s ease-in-out; | ||
transition: all .3s ease-in-out; | ||
font-size: 40px; | ||
font-weight: bold; | ||
color: #4398f3; | ||
} | ||
|
||
.analytic-card-header {} | ||
|
||
.analytic-card-footer { | ||
font-size: 12px; | ||
font-weight: normal; | ||
color: #333; | ||
} | ||
|
||
.analytic-card-content { | ||
flex: 1; | ||
font-size: 20px; | ||
} | ||
|
||
.analytic-card-link { | ||
float: right; | ||
font-size: 18px; | ||
margin-left: 20px; | ||
} | ||
</style> | ||
<div class="analytic-card"> | ||
<div class="analytic-card-header"> | ||
<h:outputText value="#{analyticController.getAsDouble(item.name)}"> | ||
<f:convertNumber minFractionDigits="2" locale="de" /> | ||
</h:outputText> | ||
</div> | ||
|
||
|
||
<div class="analytic-card-content">#{analyticController.getLabel(item.name)}</div> | ||
|
||
|
||
<div class="analytic-card-footer"> | ||
<span>#{analyticController.getDescription(item.name)}</span> | ||
|
||
<h:panelGroup styleClass="analytic-card-link" rendered="#{!empty analyticController.getLink(item.name)}"> | ||
<a href="#{analyticController.getLink(item.name)}"><span class="typcn typcn-zoom-outline" /></a> | ||
</h:panelGroup> | ||
|
||
|
||
</div> | ||
|
||
</div> | ||
|
||
</ui:composition> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters