| 1 |
<!DOCTYPE html> |
| 2 |
<html> |
| 3 |
<head> |
| 4 |
<title>Embed Example</title> |
| 5 |
<meta charset="utf-8"> |
| 6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 7 |
<script type="text/javascript" src="embed.js"></script> |
| 8 |
<link rel="stylesheet" href="embed.css"> |
| 9 |
</head> |
| 10 |
<body id="content" class="cards-pf"> |
| 11 |
|
| 12 |
<!-- BOILERPLATE: Makes this look like another app --> |
| 13 |
<main class="pf-v6-c-page__main" tabindex="-1"> |
| 14 |
<section class="pf-v6-c-page__main-section pf-m-light container-cards-pf"> |
| 15 |
<div class="row row-cards-pf"> |
| 16 |
<div id="embed-links" class="col-xs-3 col-sm-3 col-md-2"> |
| 17 |
<div class="row row-cards-pf"> |
| 18 |
<input id="embed-address" class="form-control" value="http://127.0.0.1"/> |
| 19 |
</div> |
| 20 |
<div class="card-pf card-pf-accented card-pf-aggregate-status"> |
| 21 |
<h2 class="card-pf-title"> |
| 22 |
<a id="embed-full" href="/cockpit/@localhost/system/index.html"> |
| 23 |
Full Server |
| 24 |
</a> |
| 25 |
</h2> |
| 26 |
<div class="card-pf-body"> |
| 27 |
<p class="card-pf-aggregate-status-notifications"> |
| 28 |
<span class="card-pf-aggregate-status-notification" /> |
| 29 |
</p> |
| 30 |
</div> |
| 31 |
</div> |
| 32 |
<div class="card-pf card-pf-accented card-pf-aggregate-status card-pf-with-action"> |
| 33 |
<h2 class="card-pf-title"> |
| 34 |
<a id="embed-terminal" href="/cockpit/@localhost/system/terminal.html"> |
| 35 |
Server Terminal</a> |
| 36 |
</h2> |
| 37 |
<div class="card-pf-body"> |
| 38 |
<p class="card-pf-aggregate-status-notifications"> |
| 39 |
<span class="card-pf-aggregate-status-notification">4</span> |
| 40 |
<span class="card-pf-aggregate-status-notification">1</span> |
| 41 |
</p> |
| 42 |
</div> |
| 43 |
</div> |
| 44 |
<div class="card-pf card-pf-accented card-pf-aggregate-status"> |
| 45 |
<h2 class="card-pf-title"> |
| 46 |
<a id="embed-network" href="/cockpit/@localhost/network/index.html"> |
| 47 |
Server Networking</a> |
| 48 |
</h2> |
| 49 |
<div class="card-pf-body"> |
| 50 |
<p class="card-pf-aggregate-status-notifications"> |
| 51 |
<span class="card-pf-aggregate-status-notification"></span>1</span> |
| 52 |
</p> |
| 53 |
</div> |
| 54 |
</div> |
| 55 |
<div class="card-pf card-pf-accented card-pf-aggregate-status"> |
| 56 |
<h2 class="card-pf-title"> |
| 57 |
<a id="embed-storage" href="/cockpit/@localhost/storage/index.html"> |
| 58 |
Server Storage</a> |
| 59 |
</h2> |
| 60 |
<div class="card-pf-body"> |
| 61 |
<p class="card-pf-aggregate-status-notifications"> |
| 62 |
<span class="card-pf-aggregate-status-notification"></span>1</span> |
| 63 |
</p> |
| 64 |
</div> |
| 65 |
</div> |
| 66 |
<div class="card-pf card-pf-accented card-pf-aggregate-status"> |
| 67 |
<h2 class="card-pf-title"> |
| 68 |
<a id="embed-auth" href="/cockpit+app/@localhost/shell/index.html"> |
| 69 |
Separate Auth |
| 70 |
</a> |
| 71 |
</h2> |
| 72 |
<div class="card-pf-body"> |
| 73 |
<p class="card-pf-aggregate-status-notifications"> |
| 74 |
<span class="card-pf-aggregate-status-notification">1</span> |
| 75 |
</p> |
| 76 |
</div> |
| 77 |
</div> |
| 78 |
</div> |
| 79 |
<div class="col-xs-9 col-sm-9 col-md-10"> |
| 80 |
<div class="card-pf"> |
| 81 |
<div class="card-pf-heading"> |
| 82 |
<h2 id="embed-title" class="card-pf-title"> |
| 83 |
Embedded Cockpit Here |
| 84 |
</h2> |
| 85 |
</div> |
| 86 |
<div id="embed-here" class="card-pf-body"> |
| 87 |
</div> |
| 88 |
</div> |
| 89 |
</div> |
| 90 |
</div> |
| 91 |
</div><!-- /row --> |
| 92 |
</div><!-- /container --> |
| 93 |
<div id="embed-loaded"> |
| 94 |
</div> |
| 95 |
</body> |
| 96 |
</html> |