Skip to content

Commit

Permalink
feat(demo): provide guidance in the page (#54)
Browse files Browse the repository at this point in the history
Explain what the demo does and how to interact with the demo.
  • Loading branch information
tbouffard authored Jul 24, 2023
1 parent 72e4620 commit 016cf93
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 5 deletions.
10 changes: 6 additions & 4 deletions packages/demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@
<header>
<img src="/logo.svg" id="logo" alt="The Process Analytics project logo" class="logo">
<h1>PathResolver demo</h1>
<!-- <a href="https://github.com/process-analytics/bpmn-visualization-demo-template/" target="_blank" class="gh-logo"><img src="/github-logo.svg" id="gh-logo" alt="The GitHub logo"></a>-->
</header>
<section class="controls">
<button id="btn-compute-path">Compute path</button>
<button id="bt-clear">Clear</button>
<section class="presentation">
<div class="description">Select or deselect BPMN flow nodes, then compute the missing flows in the path.</div>
<div class="controls">
<button id="btn-compute-path">Compute path</button>
<button id="bt-clear">Clear</button>
</div>
</section>
<div id="bpmn-container"></div>
</body>
Expand Down
16 changes: 15 additions & 1 deletion packages/demo/src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ limitations under the License.

:root {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;
line-height: 1.5;
}

body {
Expand All @@ -43,6 +43,20 @@ header {
margin-right: .5rem;
}

.presentation {
display: flex;
flex-direction: column ;
}

.description {
font-size: 1.2rem;
margin-bottom: 1rem;
}

.controls {
align-self: center;
}

.controls button {
background: #5755d9;
border-color: #4b48d6;
Expand Down

0 comments on commit 016cf93

Please sign in to comment.