layout-console
Armazones Los armazones de página en los que se construye una aplicación: una columna, una barra superior, una barra lateral, una consola y un escenario. Cada uno se abre a todo el ancho.
Una barra arriba y un raíl al costado, como en una consola de administración. En un teléfono, el raíl es una página índice. Las demás páginas tienen una sola fila de cabecera con un enlace para volver, el nombre de la aplicación cuando cabe y el avatar. El avatar abre la tarjeta de cuenta, con apariencia e idioma. No hace falta JavaScript.
Cada ejemplo funciona de verdad, pero sus enlaces no llevan a ninguna parte. HTML muestra el marcado para copiar.
<!doctype html>
<html lang ="es" dir ="ltr" >
<head >
<meta charset ="utf-8" >
<meta name ="viewport" content ="width=device-width" >
<title >layout-console</title >
<link rel ="stylesheet" href ="../../css/core.css" >
<link rel ="stylesheet" href ="../../css/extras.css" >
<link rel ="stylesheet" href ="../../css/themes/day.css" >
<link rel ="stylesheet" href ="../../css/shell-console.css" >
<script defer src ="../../js/fiesta.js" ></script >
<script defer src ="../../js/busy.js" ></script >
<script defer src ="../../js/light.js" ></script >
<script defer src ="../../js/anchor.js" ></script >
<script defer blocking ="render" src ="../../js/shell.js" ></script >
<script defer src ="../../js/select.js" ></script >
<script defer src ="../../js/calendar.js" ></script >
<script defer src ="../../js/datetime.js" ></script >
</head >
<body >
<div rst-shell-console ="index" >
<a rst-skip href ="#main" >Ir al contenido</a >
<header rst-shell-bar >
<a rst-shell-up href ="/" rel ="up" aria-label ="Volver a Secciones" ><svg class ="icon" viewBox ="0 0 24 24" fill ="none" stroke ="currentColor" stroke-width ="2" stroke-linecap ="round" stroke-linejoin ="round" aria-hidden ="true" ><path d ="m15 18-6-6 6-6" /></svg >Secciones</a >
<h1 rst-shell-title >
<span ><a rst-shell-brand href ="/" >Party planner</a ></span ><span >Entradas</span >
</h1 >
<a rst-shell-brand href ="/" >Party planner</a >
<details rst-dropdown rst-shell-account name ="rst-shell-menu" >
<summary >
<span rst-shell-avatar >
<span rst-person-av aria-hidden ="true" >G</span >
<span rst-person-name >Grace Hopper</span >
<span rst-person-email >grace@example.com</span >
</span >
<span rst-shell-account-label >Cuenta</span >
<span rst-caret aria-hidden ="true" >
<svg class ="icon" viewBox ="0 0 24 24" fill ="none" stroke ="currentColor" stroke-width ="2" stroke-linecap ="round" stroke-linejoin ="round" aria-hidden ="true" ><path d ="m6 9 6 6 6-6" /></svg >
</span >
</summary >
<div rst-dropdown-menu >
<div rst-shell-who >
<span rst-person-av aria-hidden ="true" >G</span >
<span rst-person-name >Grace Hopper</span >
<span rst-person-email >grace@example.com</span >
</div >
<div rst-menu-row >
<span rst-menu-row-label >Apariencia</span >
<div rst-scheme ="icons" role ="group" aria-label ="Apariencia" >
<form method ="post" action ="/_theme" >
<input type ="hidden" name ="scheme" value ="light" >
<input type ="hidden" name ="return" value ="/" >
<button type ="submit" aria-label ="Claro" >
<svg class ="icon" viewBox ="0 0 24 24" fill ="none" stroke ="currentColor" stroke-width ="2" stroke-linecap ="round" stroke-linejoin ="round" aria-hidden ="true" ><circle cx ="12" cy ="12" r ="4" /><path d ="M12 2v2" /><path d ="M12 20v2" /><path d ="m4.93 4.93 1.41 1.41" /><path d ="m17.66 17.66 1.41 1.41" /><path d ="M2 12h2" /><path d ="M20 12h2" /><path d ="m6.34 17.66-1.41 1.41" /><path d ="m19.07 4.93-1.41 1.41" /></svg >
</button >
</form >
<form method ="post" action ="/_theme" >
<input type ="hidden" name ="scheme" value ="dark" >
<input type ="hidden" name ="return" value ="/" >
<button type ="submit" aria-label ="Oscuro" aria-current ="true" >
<svg class ="icon" viewBox ="0 0 24 24" fill ="none" stroke ="currentColor" stroke-width ="2" stroke-linecap ="round" stroke-linejoin ="round" aria-hidden ="true" ><path d ="M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401" /></svg >
</button >
</form >
<form method ="post" action ="/_theme" >
<input type ="hidden" name ="scheme" value ="system" >
<input type ="hidden" name ="return" value ="/" >
<button type ="submit" aria-label ="Sistema" >
<svg class ="icon" viewBox ="0 0 24 24" fill ="none" stroke ="currentColor" stroke-width ="2" stroke-linecap ="round" stroke-linejoin ="round" aria-hidden ="true" ><rect width ="20" height ="14" x ="2" y ="3" rx ="2" /><line x1 ="8" x2 ="16" y1 ="21" y2 ="21" /><line x1 ="12" x2 ="12" y1 ="17" y2 ="21" /></svg >
</button >
</form >
</div >
</div >
<div rst-menu-row >
<span rst-menu-row-label >Idioma</span ><button type ="button" popovertarget ="rst-language" >
<span lang ="en" >English</span ><span rst-caret aria-hidden ="true" >
<svg class ="icon" viewBox ="0 0 24 24" fill ="none" stroke ="currentColor" stroke-width ="2" stroke-linecap ="round" stroke-linejoin ="round" aria-hidden ="true" ><path d ="m6 9 6 6 6-6" /></svg >
</span >
</button >
<details rst-dropdown name ="rst-menus" >
<summary >
<span lang ="en" >English</span >
<span rst-caret aria-hidden ="true" >
<svg class ="icon" viewBox ="0 0 24 24" fill ="none" stroke ="currentColor" stroke-width ="2" stroke-linecap ="round" stroke-linejoin ="round" aria-hidden ="true" ><path d ="m6 9 6 6 6-6" /></svg >
</span >
</summary >
</details >
<div rst-locale popover id ="rst-language" >
<div rst-menu-row >
<h2 >Idioma</h2 >
<button type ="button" popovertarget ="rst-language" popovertargetaction ="hide" >Cerrar</button >
</div >
<a href ="/en/" lang ="en" dir ="ltr" aria-current ="true" >English</a ><a href ="/ga/" lang ="ga" dir ="ltr" >Gaeilge</a ><a href ="/zh-Hans/" lang ="zh-Hans" dir ="ltr" >简体中文</a ><a href ="/es/" lang ="es" dir ="ltr" >Español</a ><a href ="/hi/" lang ="hi" dir ="ltr" >हिन्दी</a ><a href ="/pt-PT/" lang ="pt-PT" dir ="ltr" >Português</a ><a href ="/bn/" lang ="bn" dir ="ltr" >বাংলা</a ><a href ="/ru/" lang ="ru" dir ="ltr" >Русский</a ><a href ="/ja/" lang ="ja" dir ="ltr" >日本語</a ><a href ="/yue/" lang ="yue" dir ="ltr" >廣東話</a ><a href ="/vi/" lang ="vi" dir ="ltr" >Tiếng Việt</a ><a href ="/ar/" lang ="ar" dir ="rtl" >العربية</a >
</div >
</div >
<a href ="#" >Perfil</a >
<a href ="#" >Facturación</a >
<hr >
<a href ="#" >Cerrar sesión</a >
</div >
</details >
</header >
<aside rst-shell-rail >
<nav rst-shell-nav >
<a id ="nav-posts" href ="/posts" aria-current ="page" >Entradas</a >
<a id ="nav-comments" href ="/posts" >Comentarios</a >
<a id ="nav-settings" href ="/posts" >Ajustes</a >
</nav >
</aside >
<main rst-shell-main id ="main" >
<div rst-page >
<!-- fiesta:slot -->
<header rst-page-header >
<div rst-page-header-titles >
<h1 >Entradas</h1 >
<p rst-page-header-sub >Una pantalla representativa, para que el armazón que la rodea tenga algo que enmarcar.</p >
</div >
<a rst-btn ="primary" href ="#" >
<svg class ="icon" viewBox ="0 0 24 24" fill ="none" stroke ="currentColor" stroke-width ="2" stroke-linecap ="round" stroke-linejoin ="round" aria-hidden ="true" ><path d ="M5 12h14" /><path d ="M12 5v14" /></svg >
Escribir una entrada
</a >
</header >
<div rst-box-head >
<h2 >Esta página</h2 >
<a rst-btn href ="/" >Volver al sistema de diseño</a >
</div >
<section rst-box >
<p >Este es el armazón console, uno de los que trae Fiesta. Una pantalla es una columna: una cabecera de página, luego un título de sección con su tarjeta, luego el siguiente. Todo lo que ves aquí es el armazón, core.css y dos componentes.</p >
</section >
<div rst-box-head >
<h2 >Recientes</h2 >
</div >
<div rst-list >
<div rst-row >
<span rst-row-main ><a class ="rst-nm" href ="#" >Notas de la versión, agosto<small >Publicado el 2 de agosto</small ></a ></span >
<span class ="rst-m-hide" ><span rst-status rst-tone ="positive" >Publicado</span ></span >
</div >
<div rst-row >
<span rst-row-main ><a class ="rst-nm" href ="#" >Por qué dejamos el antiguo ejecutor<small >Borrador</small ></a ></span >
<span class ="rst-m-hide" ><span rst-status rst-tone ="neutral" >Borrador</span ></span >
</div >
</div >
<p rst-count-line >Mostrando <strong >1–2</strong > de <strong >412</strong ></p >
<!-- /fiesta:slot -->
</div >
</main >
<footer rst-shell-foot >
<div rst-back-nav >
<a href ="/" >Volver al sistema de diseño</a >
</div >
</footer >
</div >
</body >
</html >
En una aplicación, esto llegaría a /, /_theme, /ar/, /bn/, /en/, /es/, /ga/, /hi/, /ja/, /posts, /pt-PT/, /ru/, /vi/, /yue/, /zh-Hans/. Aquí sus enlaces y formularios no llevan a ninguna parte.