Skip to content

Commit

Permalink
extended HTML overview prototype with some buttons in the functions tab.
Browse files Browse the repository at this point in the history
  • Loading branch information
DrMarkusVoss committed May 5, 2024
1 parent 88b9e21 commit 1647761
Showing 1 changed file with 51 additions and 1 deletion.
52 changes: 51 additions & 1 deletion test/examples/WeatherStation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,29 @@
margin-left: auto;
margin-right: auto }
/* END CENTERED IMAGE */

/* FUNCTION BUTTON GROUP */
.btn-group button {
background-color: #4f6ca9; /* Green background */
border: 1px solid grey; /* Green border */
color: white; /* White text */
padding: 10px 24px; /* Some padding */
cursor: pointer; /* Pointer/hand icon */
float: left; /* Float the buttons side by side */
}

/* Clear floats (clearfix hack) */
.btn-group:after {
content: "";
clear: both;
display: table;
}

.btn-group button:not(:last-child) {
border-right: none; /* Prevent double borders */
}

/* FUNCTION BUTTON GROUP END*/
</style>

</head>
Expand Down Expand Up @@ -411,6 +434,33 @@ <h3>Diagrams</h3>
<div id="Functions" class="tabcontent">
<h3>Functions</h3>
<p>here some pumla actions maybe can be triggered...</p>
<div class="btn-group">
<button>update</button>
</div>
<br>
<div class="btn-group">
<button>init</button>
<button>setup</button>
<button>checksetup</button>
<button>setupprj</button>
</div>
<br>
<div class="btn-group">
<button>download & install PlantUML Library</button>
</div>
<br>
<div class="btn-group">
<button>generate diagram</button>
</div>
<br>
<div class="btn-group">
<button>generate all diagrams for project</button>
</div>
<br>
<div class="btn-group">
<button>check alias</button>
</div>

</div>

<script>
Expand Down Expand Up @@ -462,7 +512,7 @@ <h3>Functions</h3>
.form-container {
max-width: 300px;
padding: 10px;
background-color: white;
background-color: lightblue;
}

/* Full-width input fields */
Expand Down

0 comments on commit 1647761

Please sign in to comment.