mirror-cockpit-project-cockpit/pkg/playground/react-patterns.html
Marius Vollmer 6392cc1809
playground: Modernize "react-patterns" (#23218)
By rendering all via React. This fixes the Page layout.  Also,
TypeScript.

Additional changes:

 - Dropdowns are artifically restricted to 600px wide to make them
   look like they would in a dialog.

 - Cards are no longer "plain", since that would remove their border
   and that doesn't seem to be a the intention here when putting them
   into a gallery.
2026-05-08 12:47:31 +02:00

14 lines
433 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Cockpit React Patterns</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="react-patterns.css" type="text/css" rel="stylesheet" />
<script src="../base1/cockpit.js"></script>
<script src="react-patterns.js"></script>
</head>
<body class="pf-v6-m-tabular-nums">
<div id="app" />
</body>
</html>