| @@ -0,0 +1,49 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en-US"> | ||
| <head> | ||
| <meta charset="utf-8"> | ||
| <meta name="viewport" content="width=device-width,initial-scale=1"> | ||
| <title>Page title | OpenBMC Web UI Style Guide</title> | ||
| <meta name="generator" content="VuePress 1.7.1"> | ||
|
|
||
| <meta name="description" content="Guidance on code style and development for the OpenBMC browser-based UI"> | ||
|
|
||
| <link rel="preload" href="/webui-vue/assets/css/0.styles.bc1b00f6.css" as="style"><link rel="preload" href="/webui-vue/assets/js/app.1f444a86.js" as="script"><link rel="preload" href="/webui-vue/assets/js/2.87bff093.js" as="script"><link rel="preload" href="/webui-vue/assets/js/26.f1a9a40e.js" as="script"><link rel="prefetch" href="/webui-vue/assets/js/10.c84c125c.js"><link rel="prefetch" href="/webui-vue/assets/js/11.00d70d23.js"><link rel="prefetch" href="/webui-vue/assets/js/12.51303027.js"><link rel="prefetch" href="/webui-vue/assets/js/13.81ddc43b.js"><link rel="prefetch" href="/webui-vue/assets/js/14.8d2ee4eb.js"><link rel="prefetch" href="/webui-vue/assets/js/15.a13e7d02.js"><link rel="prefetch" href="/webui-vue/assets/js/16.cc67396b.js"><link rel="prefetch" href="/webui-vue/assets/js/17.f5d335f1.js"><link rel="prefetch" href="/webui-vue/assets/js/18.6035962f.js"><link rel="prefetch" href="/webui-vue/assets/js/19.d9d98cc5.js"><link rel="prefetch" href="/webui-vue/assets/js/20.284fbc93.js"><link rel="prefetch" href="/webui-vue/assets/js/21.baeb765e.js"><link rel="prefetch" href="/webui-vue/assets/js/22.94204b6d.js"><link rel="prefetch" href="/webui-vue/assets/js/23.00038bcf.js"><link rel="prefetch" href="/webui-vue/assets/js/24.dc1ae238.js"><link rel="prefetch" href="/webui-vue/assets/js/25.cfa12373.js"><link rel="prefetch" href="/webui-vue/assets/js/27.2d00a6cc.js"><link rel="prefetch" href="/webui-vue/assets/js/28.00711fc5.js"><link rel="prefetch" href="/webui-vue/assets/js/29.b6b111ca.js"><link rel="prefetch" href="/webui-vue/assets/js/3.fb50a757.js"><link rel="prefetch" href="/webui-vue/assets/js/30.2c1fcb4a.js"><link rel="prefetch" href="/webui-vue/assets/js/31.83509cd5.js"><link rel="prefetch" href="/webui-vue/assets/js/32.f55e823f.js"><link rel="prefetch" href="/webui-vue/assets/js/33.bf97b40a.js"><link rel="prefetch" href="/webui-vue/assets/js/34.17715aca.js"><link rel="prefetch" href="/webui-vue/assets/js/35.10100911.js"><link rel="prefetch" href="/webui-vue/assets/js/36.2cde3130.js"><link rel="prefetch" href="/webui-vue/assets/js/37.37fca379.js"><link rel="prefetch" href="/webui-vue/assets/js/38.1fc84785.js"><link rel="prefetch" href="/webui-vue/assets/js/4.c0d66f0c.js"><link rel="prefetch" href="/webui-vue/assets/js/5.74892f3b.js"><link rel="prefetch" href="/webui-vue/assets/js/6.0d901efa.js"><link rel="prefetch" href="/webui-vue/assets/js/7.31f52b5d.js"><link rel="prefetch" href="/webui-vue/assets/js/8.73ac3fc5.js"><link rel="prefetch" href="/webui-vue/assets/js/9.4cbbe58d.js"> | ||
| <link rel="stylesheet" href="/webui-vue/assets/css/0.styles.bc1b00f6.css"> | ||
| </head> | ||
| <body> | ||
| <div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/webui-vue/" class="home-link router-link-active"><!----> <span class="site-name">OpenBMC Web UI Style Guide</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/webui-vue/guide/" class="nav-link router-link-active"> | ||
| Guide | ||
| </a></div><div class="nav-item"><a href="/webui-vue/themes/" class="nav-link"> | ||
| Themes | ||
| </a></div><div class="nav-item"><a href="https://github.com/openbmc/webui-vue" target="_blank" rel="noopener noreferrer" class="nav-link external"> | ||
| Github | ||
| <span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></div> <!----></nav></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><nav class="nav-links"><div class="nav-item"><a href="/webui-vue/guide/" class="nav-link router-link-active"> | ||
| Guide | ||
| </a></div><div class="nav-item"><a href="/webui-vue/themes/" class="nav-link"> | ||
| Themes | ||
| </a></div><div class="nav-item"><a href="https://github.com/openbmc/webui-vue" target="_blank" rel="noopener noreferrer" class="nav-link external"> | ||
| Github | ||
| <span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></div> <!----></nav> <ul class="sidebar-links"><li><a href="/webui-vue/guide/" aria-current="page" class="sidebar-link">Getting Started</a></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>Coding Standards</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>Guidelines</span> <span class="arrow right"></span></p> <!----></section></li><li><a href="/webui-vue/guide/unit-testing/" class="sidebar-link">Unit Testing</a></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading open"><span>Components</span> <span class="arrow down"></span></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/webui-vue/guide/components/" aria-current="page" class="sidebar-link">Overview</a></li><li><a href="/webui-vue/guide/components/alerts/" class="sidebar-link">Alerts</a></li><li><a href="/webui-vue/guide/components/buttons/" class="sidebar-link">Buttons</a></li><li><a href="/webui-vue/guide/components/file-upload/" class="sidebar-link">FormFile</a></li><li><a href="/webui-vue/guide/components/info-tooltip/" class="sidebar-link">InfoTooltip</a></li><li><a href="/webui-vue/guide/components/page-section/" class="sidebar-link">Page section</a></li><li><a href="/webui-vue/guide/components/page-title/" aria-current="page" class="active sidebar-link">Page title</a></li><li><a href="/webui-vue/guide/components/status-icon/" class="sidebar-link">StatusIcon</a></li><li><a href="/webui-vue/guide/components/table/" class="sidebar-link">Table</a></li><li><a href="/webui-vue/guide/components/toasts/" class="sidebar-link">Toasts</a></li></ul></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>Quick Start</span> <span class="arrow right"></span></p> <!----></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="page-title"><a href="#page-title" class="header-anchor">#</a> Page title</h1> <p>The <code><page-title></code> component will automatically render the page title that corresponds with the title property set in the route record's meta field in <code>src/router/routes.js</code>.</p> <div class="language-js extra-class"><pre class="language-js"><code><span class="token comment">// src/router/routes.js</span> | ||
| <span class="token punctuation">{</span> | ||
| path<span class="token operator">:</span> <span class="token string">''</span><span class="token punctuation">,</span> | ||
| name<span class="token operator">:</span> <span class="token string">'login'</span><span class="token punctuation">,</span> | ||
| component<span class="token operator">:</span> Login<span class="token punctuation">,</span> | ||
| meta<span class="token operator">:</span> <span class="token punctuation">{</span> | ||
| title<span class="token operator">:</span> i18n<span class="token punctuation">.</span><span class="token function">t</span><span class="token punctuation">(</span><span class="token string">'appPageTitle.login'</span><span class="token punctuation">)</span><span class="token punctuation">,</span> | ||
| <span class="token punctuation">}</span><span class="token punctuation">,</span> | ||
| <span class="token punctuation">}</span><span class="token punctuation">,</span> | ||
| </code></pre></div><p>Optional page descriptions can be included by using the description prop <code>:description</code> prop and passing in the i18n localized text string. Translations are found in the <code>src/locales</code> folder.</p> <div class="language-vue extra-class"><pre class="language-vue"><code>// Example: `src/views/AccessControl/Ldap/Ldap.vue` | ||
| <span class="token tag"><span class="token tag"><span class="token punctuation"><</span>page-title</span> <span class="token attr-name">:description</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">"</span>$t(<span class="token punctuation">'</span>pageLdap.pageDescription<span class="token punctuation">'</span>)<span class="token punctuation">"</span></span> <span class="token punctuation">/></span></span> | ||
| </code></pre></div><p><a href="https://github.com/openbmc/webui-vue/blob/master/src/components/Global/PageTitle.vue" target="_blank" rel="noopener noreferrer">View the page title component source code<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a>.</p></div> <footer class="page-edit"><!----> <!----></footer> <div class="page-nav"><p class="inner"><span class="prev"> | ||
| ← | ||
| <a href="/webui-vue/guide/components/page-section/" class="prev"> | ||
| Page section | ||
| </a></span> <span class="next"><a href="/webui-vue/guide/components/status-icon/"> | ||
| StatusIcon | ||
| </a> | ||
| → | ||
| </span></p></div> </main></div><div class="global-ui"></div></div> | ||
| <script src="/webui-vue/assets/js/app.1f444a86.js" defer></script><script src="/webui-vue/assets/js/2.87bff093.js" defer></script><script src="/webui-vue/assets/js/26.f1a9a40e.js" defer></script> | ||
| </body> | ||
| </html> |
| @@ -0,0 +1,61 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en-US"> | ||
| <head> | ||
| <meta charset="utf-8"> | ||
| <meta name="viewport" content="width=device-width,initial-scale=1"> | ||
| <title>Toasts | OpenBMC Web UI Style Guide</title> | ||
| <meta name="generator" content="VuePress 1.7.1"> | ||
|
|
||
| <meta name="description" content="Guidance on code style and development for the OpenBMC browser-based UI"> | ||
|
|
||
| <link rel="preload" href="/webui-vue/assets/css/0.styles.bc1b00f6.css" as="style"><link rel="preload" href="/webui-vue/assets/js/app.1f444a86.js" as="script"><link rel="preload" href="/webui-vue/assets/js/2.87bff093.js" as="script"><link rel="preload" href="/webui-vue/assets/js/19.d9d98cc5.js" as="script"><link rel="prefetch" href="/webui-vue/assets/js/10.c84c125c.js"><link rel="prefetch" href="/webui-vue/assets/js/11.00d70d23.js"><link rel="prefetch" href="/webui-vue/assets/js/12.51303027.js"><link rel="prefetch" href="/webui-vue/assets/js/13.81ddc43b.js"><link rel="prefetch" href="/webui-vue/assets/js/14.8d2ee4eb.js"><link rel="prefetch" href="/webui-vue/assets/js/15.a13e7d02.js"><link rel="prefetch" href="/webui-vue/assets/js/16.cc67396b.js"><link rel="prefetch" href="/webui-vue/assets/js/17.f5d335f1.js"><link rel="prefetch" href="/webui-vue/assets/js/18.6035962f.js"><link rel="prefetch" href="/webui-vue/assets/js/20.284fbc93.js"><link rel="prefetch" href="/webui-vue/assets/js/21.baeb765e.js"><link rel="prefetch" href="/webui-vue/assets/js/22.94204b6d.js"><link rel="prefetch" href="/webui-vue/assets/js/23.00038bcf.js"><link rel="prefetch" href="/webui-vue/assets/js/24.dc1ae238.js"><link rel="prefetch" href="/webui-vue/assets/js/25.cfa12373.js"><link rel="prefetch" href="/webui-vue/assets/js/26.f1a9a40e.js"><link rel="prefetch" href="/webui-vue/assets/js/27.2d00a6cc.js"><link rel="prefetch" href="/webui-vue/assets/js/28.00711fc5.js"><link rel="prefetch" href="/webui-vue/assets/js/29.b6b111ca.js"><link rel="prefetch" href="/webui-vue/assets/js/3.fb50a757.js"><link rel="prefetch" href="/webui-vue/assets/js/30.2c1fcb4a.js"><link rel="prefetch" href="/webui-vue/assets/js/31.83509cd5.js"><link rel="prefetch" href="/webui-vue/assets/js/32.f55e823f.js"><link rel="prefetch" href="/webui-vue/assets/js/33.bf97b40a.js"><link rel="prefetch" href="/webui-vue/assets/js/34.17715aca.js"><link rel="prefetch" href="/webui-vue/assets/js/35.10100911.js"><link rel="prefetch" href="/webui-vue/assets/js/36.2cde3130.js"><link rel="prefetch" href="/webui-vue/assets/js/37.37fca379.js"><link rel="prefetch" href="/webui-vue/assets/js/38.1fc84785.js"><link rel="prefetch" href="/webui-vue/assets/js/4.c0d66f0c.js"><link rel="prefetch" href="/webui-vue/assets/js/5.74892f3b.js"><link rel="prefetch" href="/webui-vue/assets/js/6.0d901efa.js"><link rel="prefetch" href="/webui-vue/assets/js/7.31f52b5d.js"><link rel="prefetch" href="/webui-vue/assets/js/8.73ac3fc5.js"><link rel="prefetch" href="/webui-vue/assets/js/9.4cbbe58d.js"> | ||
| <link rel="stylesheet" href="/webui-vue/assets/css/0.styles.bc1b00f6.css"> | ||
| </head> | ||
| <body> | ||
| <div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/webui-vue/" class="home-link router-link-active"><!----> <span class="site-name">OpenBMC Web UI Style Guide</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/webui-vue/guide/" class="nav-link router-link-active"> | ||
| Guide | ||
| </a></div><div class="nav-item"><a href="/webui-vue/themes/" class="nav-link"> | ||
| Themes | ||
| </a></div><div class="nav-item"><a href="https://github.com/openbmc/webui-vue" target="_blank" rel="noopener noreferrer" class="nav-link external"> | ||
| Github | ||
| <span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></div> <!----></nav></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><nav class="nav-links"><div class="nav-item"><a href="/webui-vue/guide/" class="nav-link router-link-active"> | ||
| Guide | ||
| </a></div><div class="nav-item"><a href="/webui-vue/themes/" class="nav-link"> | ||
| Themes | ||
| </a></div><div class="nav-item"><a href="https://github.com/openbmc/webui-vue" target="_blank" rel="noopener noreferrer" class="nav-link external"> | ||
| Github | ||
| <span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></div> <!----></nav> <ul class="sidebar-links"><li><a href="/webui-vue/guide/" aria-current="page" class="sidebar-link">Getting Started</a></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>Coding Standards</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>Guidelines</span> <span class="arrow right"></span></p> <!----></section></li><li><a href="/webui-vue/guide/unit-testing/" class="sidebar-link">Unit Testing</a></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading open"><span>Components</span> <span class="arrow down"></span></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/webui-vue/guide/components/" aria-current="page" class="sidebar-link">Overview</a></li><li><a href="/webui-vue/guide/components/alerts/" class="sidebar-link">Alerts</a></li><li><a href="/webui-vue/guide/components/buttons/" class="sidebar-link">Buttons</a></li><li><a href="/webui-vue/guide/components/file-upload/" class="sidebar-link">FormFile</a></li><li><a href="/webui-vue/guide/components/info-tooltip/" class="sidebar-link">InfoTooltip</a></li><li><a href="/webui-vue/guide/components/page-section/" class="sidebar-link">Page section</a></li><li><a href="/webui-vue/guide/components/page-title/" class="sidebar-link">Page title</a></li><li><a href="/webui-vue/guide/components/status-icon/" class="sidebar-link">StatusIcon</a></li><li><a href="/webui-vue/guide/components/table/" class="sidebar-link">Table</a></li><li><a href="/webui-vue/guide/components/toasts/" aria-current="page" class="active sidebar-link">Toasts</a></li></ul></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>Quick Start</span> <span class="arrow right"></span></p> <!----></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="toasts"><a href="#toasts" class="header-anchor">#</a> Toasts</h1> <p>Use a toast message to indicate the status of a user action. For example, a user saves a form successfully, a toast message with the <code>success</code> variant is displayed. If the user action was not successful, a toast message with the <code>danger</code> variant is displayed.</p> <p>There are different transitions for the toast messages. The <code>success</code> toast message will auto-hide after 10 seconds. The user must manually dismiss the <code>informational</code>, <code>warning</code>, and <code>error</code> toast messages. The <code>BVToastMixin</code> provides a simple API that generates a toast message that meets the transition guidelines.</p> <img src="/webui-vue/assets/img/toast.9ff5053e.png" alt="Toast message examples" style="max-width:350px;"> <div class="language-js extra-class"><div class="highlight-lines"><br><br><br><br><div class="highlighted"> </div><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br></div><pre class="language-js"><code><span class="token comment">// Sample method from Reboot BMC page</span> | ||
| <span class="token function">rebootBmc</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token punctuation">{</span> | ||
| <span class="token keyword">this</span><span class="token punctuation">.</span>$store | ||
| <span class="token punctuation">.</span><span class="token function">dispatch</span><span class="token punctuation">(</span><span class="token string">'controls/rebootBmc'</span><span class="token punctuation">)</span> | ||
| <span class="token punctuation">.</span><span class="token function">then</span><span class="token punctuation">(</span><span class="token parameter">message</span> <span class="token operator">=></span> <span class="token keyword">this</span><span class="token punctuation">.</span><span class="token function">successToast</span><span class="token punctuation">(</span>message<span class="token punctuation">)</span><span class="token punctuation">)</span> | ||
| <span class="token punctuation">.</span><span class="token function">catch</span><span class="token punctuation">(</span><span class="token punctuation">(</span><span class="token parameter"><span class="token punctuation">{</span> message <span class="token punctuation">}</span></span><span class="token punctuation">)</span> <span class="token operator">=></span> <span class="token keyword">this</span><span class="token punctuation">.</span><span class="token function">errorToast</span><span class="token punctuation">(</span>message<span class="token punctuation">)</span><span class="token punctuation">)</span><span class="token punctuation">;</span> | ||
| <span class="token punctuation">}</span> | ||
|
|
||
| <span class="token comment">// Methods used in this example</span> | ||
| methods<span class="token operator">:</span> <span class="token punctuation">{</span> | ||
| <span class="token function">makeSuccessToast</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token punctuation">{</span> | ||
| <span class="token keyword">this</span><span class="token punctuation">.</span><span class="token function">successToast</span><span class="token punctuation">(</span><span class="token string">'This is a success toast and will be dismissed after 10 seconds.'</span><span class="token punctuation">)</span><span class="token punctuation">;</span> | ||
| <span class="token punctuation">}</span><span class="token punctuation">,</span> | ||
| <span class="token function">makeErrorToast</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token punctuation">{</span> | ||
| <span class="token keyword">this</span><span class="token punctuation">.</span><span class="token function">errorToast</span><span class="token punctuation">(</span><span class="token string">'This is an error toast and must be dismissed by the user.'</span><span class="token punctuation">)</span><span class="token punctuation">;</span> | ||
| <span class="token punctuation">}</span><span class="token punctuation">,</span> | ||
| <span class="token function">makeWarningToast</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token punctuation">{</span> | ||
| <span class="token keyword">this</span><span class="token punctuation">.</span><span class="token function">warningToast</span><span class="token punctuation">(</span><span class="token string">'This is a warning toast and must be dismissed by the user.'</span><span class="token punctuation">)</span><span class="token punctuation">;</span> | ||
| <span class="token punctuation">}</span><span class="token punctuation">,</span> | ||
| <span class="token function">makeInfoToast</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token punctuation">{</span> | ||
| <span class="token keyword">this</span><span class="token punctuation">.</span><span class="token function">infoToast</span><span class="token punctuation">(</span><span class="token string">'This is an info toast and must be dismissed by the user.'</span><span class="token punctuation">)</span><span class="token punctuation">;</span> | ||
| <span class="token punctuation">}</span><span class="token punctuation">,</span> | ||
| <span class="token punctuation">}</span> | ||
| </code></pre></div></div> <footer class="page-edit"><!----> <!----></footer> <div class="page-nav"><p class="inner"><span class="prev"> | ||
| ← | ||
| <a href="/webui-vue/guide/components/table/" class="prev"> | ||
| Table | ||
| </a></span> <span class="next"><a href="/webui-vue/guide/quickstart/page-anatomy.html"> | ||
| Page Anatomy | ||
| </a> | ||
| → | ||
| </span></p></div> </main></div><div class="global-ui"></div></div> | ||
| <script src="/webui-vue/assets/js/app.1f444a86.js" defer></script><script src="/webui-vue/assets/js/2.87bff093.js" defer></script><script src="/webui-vue/assets/js/19.d9d98cc5.js" defer></script> | ||
| </body> | ||
| </html> |
| @@ -0,0 +1,50 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en-US"> | ||
| <head> | ||
| <meta charset="utf-8"> | ||
| <meta name="viewport" content="width=device-width,initial-scale=1"> | ||
| <title>Motion | OpenBMC Web UI Style Guide</title> | ||
| <meta name="generator" content="VuePress 1.7.1"> | ||
|
|
||
| <meta name="description" content="Guidance on code style and development for the OpenBMC browser-based UI"> | ||
|
|
||
| <link rel="preload" href="/webui-vue/assets/css/0.styles.bc1b00f6.css" as="style"><link rel="preload" href="/webui-vue/assets/js/app.1f444a86.js" as="script"><link rel="preload" href="/webui-vue/assets/js/2.87bff093.js" as="script"><link rel="preload" href="/webui-vue/assets/js/29.b6b111ca.js" as="script"><link rel="prefetch" href="/webui-vue/assets/js/10.c84c125c.js"><link rel="prefetch" href="/webui-vue/assets/js/11.00d70d23.js"><link rel="prefetch" href="/webui-vue/assets/js/12.51303027.js"><link rel="prefetch" href="/webui-vue/assets/js/13.81ddc43b.js"><link rel="prefetch" href="/webui-vue/assets/js/14.8d2ee4eb.js"><link rel="prefetch" href="/webui-vue/assets/js/15.a13e7d02.js"><link rel="prefetch" href="/webui-vue/assets/js/16.cc67396b.js"><link rel="prefetch" href="/webui-vue/assets/js/17.f5d335f1.js"><link rel="prefetch" href="/webui-vue/assets/js/18.6035962f.js"><link rel="prefetch" href="/webui-vue/assets/js/19.d9d98cc5.js"><link rel="prefetch" href="/webui-vue/assets/js/20.284fbc93.js"><link rel="prefetch" href="/webui-vue/assets/js/21.baeb765e.js"><link rel="prefetch" href="/webui-vue/assets/js/22.94204b6d.js"><link rel="prefetch" href="/webui-vue/assets/js/23.00038bcf.js"><link rel="prefetch" href="/webui-vue/assets/js/24.dc1ae238.js"><link rel="prefetch" href="/webui-vue/assets/js/25.cfa12373.js"><link rel="prefetch" href="/webui-vue/assets/js/26.f1a9a40e.js"><link rel="prefetch" href="/webui-vue/assets/js/27.2d00a6cc.js"><link rel="prefetch" href="/webui-vue/assets/js/28.00711fc5.js"><link rel="prefetch" href="/webui-vue/assets/js/3.fb50a757.js"><link rel="prefetch" href="/webui-vue/assets/js/30.2c1fcb4a.js"><link rel="prefetch" href="/webui-vue/assets/js/31.83509cd5.js"><link rel="prefetch" href="/webui-vue/assets/js/32.f55e823f.js"><link rel="prefetch" href="/webui-vue/assets/js/33.bf97b40a.js"><link rel="prefetch" href="/webui-vue/assets/js/34.17715aca.js"><link rel="prefetch" href="/webui-vue/assets/js/35.10100911.js"><link rel="prefetch" href="/webui-vue/assets/js/36.2cde3130.js"><link rel="prefetch" href="/webui-vue/assets/js/37.37fca379.js"><link rel="prefetch" href="/webui-vue/assets/js/38.1fc84785.js"><link rel="prefetch" href="/webui-vue/assets/js/4.c0d66f0c.js"><link rel="prefetch" href="/webui-vue/assets/js/5.74892f3b.js"><link rel="prefetch" href="/webui-vue/assets/js/6.0d901efa.js"><link rel="prefetch" href="/webui-vue/assets/js/7.31f52b5d.js"><link rel="prefetch" href="/webui-vue/assets/js/8.73ac3fc5.js"><link rel="prefetch" href="/webui-vue/assets/js/9.4cbbe58d.js"> | ||
| <link rel="stylesheet" href="/webui-vue/assets/css/0.styles.bc1b00f6.css"> | ||
| </head> | ||
| <body> | ||
| <div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/webui-vue/" class="home-link router-link-active"><!----> <span class="site-name">OpenBMC Web UI Style Guide</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/webui-vue/guide/" class="nav-link router-link-active"> | ||
| Guide | ||
| </a></div><div class="nav-item"><a href="/webui-vue/themes/" class="nav-link"> | ||
| Themes | ||
| </a></div><div class="nav-item"><a href="https://github.com/openbmc/webui-vue" target="_blank" rel="noopener noreferrer" class="nav-link external"> | ||
| Github | ||
| <span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></div> <!----></nav></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><nav class="nav-links"><div class="nav-item"><a href="/webui-vue/guide/" class="nav-link router-link-active"> | ||
| Guide | ||
| </a></div><div class="nav-item"><a href="/webui-vue/themes/" class="nav-link"> | ||
| Themes | ||
| </a></div><div class="nav-item"><a href="https://github.com/openbmc/webui-vue" target="_blank" rel="noopener noreferrer" class="nav-link external"> | ||
| Github | ||
| <span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></div> <!----></nav> <ul class="sidebar-links"><li><a href="/webui-vue/guide/" aria-current="page" class="sidebar-link">Getting Started</a></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>Coding Standards</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading open"><span>Guidelines</span> <span class="arrow down"></span></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/webui-vue/guide/guidelines/colors.html" class="sidebar-link">Colors</a></li><li><a href="/webui-vue/guide/guidelines/motion.html" aria-current="page" class="active sidebar-link">Motion</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/webui-vue/guide/guidelines/motion.html#easing" class="sidebar-link">Easing</a></li><li class="sidebar-sub-header"><a href="/webui-vue/guide/guidelines/motion.html#duration" class="sidebar-link">Duration</a></li></ul></li><li><a href="/webui-vue/guide/guidelines/typography.html" class="sidebar-link">Typography</a></li></ul></section></li><li><a href="/webui-vue/guide/unit-testing/" class="sidebar-link">Unit Testing</a></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>Components</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>Quick Start</span> <span class="arrow right"></span></p> <!----></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="motion"><a href="#motion" class="header-anchor">#</a> Motion</h1> <p>The motion guidelines are based on Carbon Design System guidelines. These guidelines avoid easing curves that are unnatural, distracting, or purely decorative. <a href="https://www.carbondesignsystem.com/guidelines/motion/basics/" target="_blank" rel="noopener noreferrer">The documentation below is attributed to Carbon's animation documentation<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a>.</p> <h2 id="easing"><a href="#easing" class="header-anchor">#</a> Easing</h2> <h3 id="productive-motion"><a href="#productive-motion" class="header-anchor">#</a> Productive motion</h3> <p>Productive motion creates a sense of efficiency and responsiveness, while remaining subtle and out of the way. Productive motion is appropriate for moments when the user needs to focus on completing tasks.</p> <h3 id="expressive-motion"><a href="#expressive-motion" class="header-anchor">#</a> Expressive motion</h3> <p>Expressive motion delivers enthusiastic, vibrant, and highly visible movement. Use expressive motion for significant moments such as opening a new page, clicking the primary action button, or when the movement itself conveys a meaning. System alerts and the appearance of notification boxes are great cases for expressive motion.</p> <h3 id="easing-tokens"><a href="#easing-tokens" class="header-anchor">#</a> Easing tokens</h3> <div class="language- extra-class"><pre class="language-text"><code>$standard-easing--productive: cubic-bezier(0.2, 0, 0.38, 0.9); | ||
| $standard-easing--expressive: cubic-bezier(0.4, 0.14, 0.3, 1); | ||
| $entrance-easing--productive: cubic-bezier(0, 0, 0.38, 0.9); | ||
| $entrance-easing--expressive: cubic-bezier(0, 0, 0.3, 1); | ||
| $exit-easing--productive: cubic-bezier(0.2, 0, 1, 0.9); | ||
| $exit-easing--expressive: cubic-bezier(0.4, 0.14, 1, 1); | ||
| </code></pre></div><h2 id="duration"><a href="#duration" class="header-anchor">#</a> Duration</h2> <p>Duration is calculated based on the style and size of the motion. Among the two motion styles, productive motion is significantly faster than expressive motion. Motion’s duration should be dynamic based on the size of the animation; the larger the change in distance (traveled) or size (scaling) of the element, the longer the animation takes.</p> <h3 id="duration-tokens"><a href="#duration-tokens" class="header-anchor">#</a> Duration tokens</h3> <div class="language- extra-class"><pre class="language-text"><code>$duration--fast-01: 70ms; //Micro-interactions such as button and toggle | ||
| $duration--fast-02: 110ms; //Micro-interactions such as fade | ||
| $duration--moderate-01: 150ms; //Micro-interactions, small expansion, short distance movements | ||
| $duration--moderate-02: 240ms; //Expansion, system communication, toast | ||
| $duration--slow-01: 400ms; //Large expansion, important system notifications | ||
| $duration--slow-02: 700ms; //Background dimming | ||
| </code></pre></div></div> <footer class="page-edit"><!----> <!----></footer> <div class="page-nav"><p class="inner"><span class="prev"> | ||
| ← | ||
| <a href="/webui-vue/guide/guidelines/colors.html" class="prev"> | ||
| Colors | ||
| </a></span> <span class="next"><a href="/webui-vue/guide/guidelines/typography.html"> | ||
| Typography | ||
| </a> | ||
| → | ||
| </span></p></div> </main></div><div class="global-ui"></div></div> | ||
| <script src="/webui-vue/assets/js/app.1f444a86.js" defer></script><script src="/webui-vue/assets/js/2.87bff093.js" defer></script><script src="/webui-vue/assets/js/29.b6b111ca.js" defer></script> | ||
| </body> | ||
| </html> |
| @@ -0,0 +1,38 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en-US"> | ||
| <head> | ||
| <meta charset="utf-8"> | ||
| <meta name="viewport" content="width=device-width,initial-scale=1"> | ||
| <title>Typography | OpenBMC Web UI Style Guide</title> | ||
| <meta name="generator" content="VuePress 1.7.1"> | ||
|
|
||
| <meta name="description" content="Guidance on code style and development for the OpenBMC browser-based UI"> | ||
|
|
||
| <link rel="preload" href="/webui-vue/assets/css/0.styles.bc1b00f6.css" as="style"><link rel="preload" href="/webui-vue/assets/js/app.1f444a86.js" as="script"><link rel="preload" href="/webui-vue/assets/js/2.87bff093.js" as="script"><link rel="preload" href="/webui-vue/assets/js/30.2c1fcb4a.js" as="script"><link rel="prefetch" href="/webui-vue/assets/js/10.c84c125c.js"><link rel="prefetch" href="/webui-vue/assets/js/11.00d70d23.js"><link rel="prefetch" href="/webui-vue/assets/js/12.51303027.js"><link rel="prefetch" href="/webui-vue/assets/js/13.81ddc43b.js"><link rel="prefetch" href="/webui-vue/assets/js/14.8d2ee4eb.js"><link rel="prefetch" href="/webui-vue/assets/js/15.a13e7d02.js"><link rel="prefetch" href="/webui-vue/assets/js/16.cc67396b.js"><link rel="prefetch" href="/webui-vue/assets/js/17.f5d335f1.js"><link rel="prefetch" href="/webui-vue/assets/js/18.6035962f.js"><link rel="prefetch" href="/webui-vue/assets/js/19.d9d98cc5.js"><link rel="prefetch" href="/webui-vue/assets/js/20.284fbc93.js"><link rel="prefetch" href="/webui-vue/assets/js/21.baeb765e.js"><link rel="prefetch" href="/webui-vue/assets/js/22.94204b6d.js"><link rel="prefetch" href="/webui-vue/assets/js/23.00038bcf.js"><link rel="prefetch" href="/webui-vue/assets/js/24.dc1ae238.js"><link rel="prefetch" href="/webui-vue/assets/js/25.cfa12373.js"><link rel="prefetch" href="/webui-vue/assets/js/26.f1a9a40e.js"><link rel="prefetch" href="/webui-vue/assets/js/27.2d00a6cc.js"><link rel="prefetch" href="/webui-vue/assets/js/28.00711fc5.js"><link rel="prefetch" href="/webui-vue/assets/js/29.b6b111ca.js"><link rel="prefetch" href="/webui-vue/assets/js/3.fb50a757.js"><link rel="prefetch" href="/webui-vue/assets/js/31.83509cd5.js"><link rel="prefetch" href="/webui-vue/assets/js/32.f55e823f.js"><link rel="prefetch" href="/webui-vue/assets/js/33.bf97b40a.js"><link rel="prefetch" href="/webui-vue/assets/js/34.17715aca.js"><link rel="prefetch" href="/webui-vue/assets/js/35.10100911.js"><link rel="prefetch" href="/webui-vue/assets/js/36.2cde3130.js"><link rel="prefetch" href="/webui-vue/assets/js/37.37fca379.js"><link rel="prefetch" href="/webui-vue/assets/js/38.1fc84785.js"><link rel="prefetch" href="/webui-vue/assets/js/4.c0d66f0c.js"><link rel="prefetch" href="/webui-vue/assets/js/5.74892f3b.js"><link rel="prefetch" href="/webui-vue/assets/js/6.0d901efa.js"><link rel="prefetch" href="/webui-vue/assets/js/7.31f52b5d.js"><link rel="prefetch" href="/webui-vue/assets/js/8.73ac3fc5.js"><link rel="prefetch" href="/webui-vue/assets/js/9.4cbbe58d.js"> | ||
| <link rel="stylesheet" href="/webui-vue/assets/css/0.styles.bc1b00f6.css"> | ||
| </head> | ||
| <body> | ||
| <div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/webui-vue/" class="home-link router-link-active"><!----> <span class="site-name">OpenBMC Web UI Style Guide</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/webui-vue/guide/" class="nav-link router-link-active"> | ||
| Guide | ||
| </a></div><div class="nav-item"><a href="/webui-vue/themes/" class="nav-link"> | ||
| Themes | ||
| </a></div><div class="nav-item"><a href="https://github.com/openbmc/webui-vue" target="_blank" rel="noopener noreferrer" class="nav-link external"> | ||
| Github | ||
| <span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></div> <!----></nav></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><nav class="nav-links"><div class="nav-item"><a href="/webui-vue/guide/" class="nav-link router-link-active"> | ||
| Guide | ||
| </a></div><div class="nav-item"><a href="/webui-vue/themes/" class="nav-link"> | ||
| Themes | ||
| </a></div><div class="nav-item"><a href="https://github.com/openbmc/webui-vue" target="_blank" rel="noopener noreferrer" class="nav-link external"> | ||
| Github | ||
| <span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></div> <!----></nav> <ul class="sidebar-links"><li><a href="/webui-vue/guide/" aria-current="page" class="sidebar-link">Getting Started</a></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>Coding Standards</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading open"><span>Guidelines</span> <span class="arrow down"></span></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/webui-vue/guide/guidelines/colors.html" class="sidebar-link">Colors</a></li><li><a href="/webui-vue/guide/guidelines/motion.html" class="sidebar-link">Motion</a></li><li><a href="/webui-vue/guide/guidelines/typography.html" aria-current="page" class="active sidebar-link">Typography</a></li></ul></section></li><li><a href="/webui-vue/guide/unit-testing/" class="sidebar-link">Unit Testing</a></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>Components</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>Quick Start</span> <span class="arrow right"></span></p> <!----></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="typography"><a href="#typography" class="header-anchor">#</a> Typography</h1></div> <footer class="page-edit"><!----> <!----></footer> <div class="page-nav"><p class="inner"><span class="prev"> | ||
| ← | ||
| <a href="/webui-vue/guide/guidelines/motion.html" class="prev"> | ||
| Motion | ||
| </a></span> <span class="next"><a href="/webui-vue/guide/unit-testing/"> | ||
| Unit Testing | ||
| </a> | ||
| → | ||
| </span></p></div> </main></div><div class="global-ui"></div></div> | ||
| <script src="/webui-vue/assets/js/app.1f444a86.js" defer></script><script src="/webui-vue/assets/js/2.87bff093.js" defer></script><script src="/webui-vue/assets/js/30.2c1fcb4a.js" defer></script> | ||
| </body> | ||
| </html> |
| @@ -0,0 +1,34 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en-US"> | ||
| <head> | ||
| <meta charset="utf-8"> | ||
| <meta name="viewport" content="width=device-width,initial-scale=1"> | ||
| <title>Getting Started | OpenBMC Web UI Style Guide</title> | ||
| <meta name="generator" content="VuePress 1.7.1"> | ||
|
|
||
| <meta name="description" content="Guidance on code style and development for the OpenBMC browser-based UI"> | ||
|
|
||
| <link rel="preload" href="/webui-vue/assets/css/0.styles.bc1b00f6.css" as="style"><link rel="preload" href="/webui-vue/assets/js/app.1f444a86.js" as="script"><link rel="preload" href="/webui-vue/assets/js/2.87bff093.js" as="script"><link rel="preload" href="/webui-vue/assets/js/33.bf97b40a.js" as="script"><link rel="prefetch" href="/webui-vue/assets/js/10.c84c125c.js"><link rel="prefetch" href="/webui-vue/assets/js/11.00d70d23.js"><link rel="prefetch" href="/webui-vue/assets/js/12.51303027.js"><link rel="prefetch" href="/webui-vue/assets/js/13.81ddc43b.js"><link rel="prefetch" href="/webui-vue/assets/js/14.8d2ee4eb.js"><link rel="prefetch" href="/webui-vue/assets/js/15.a13e7d02.js"><link rel="prefetch" href="/webui-vue/assets/js/16.cc67396b.js"><link rel="prefetch" href="/webui-vue/assets/js/17.f5d335f1.js"><link rel="prefetch" href="/webui-vue/assets/js/18.6035962f.js"><link rel="prefetch" href="/webui-vue/assets/js/19.d9d98cc5.js"><link rel="prefetch" href="/webui-vue/assets/js/20.284fbc93.js"><link rel="prefetch" href="/webui-vue/assets/js/21.baeb765e.js"><link rel="prefetch" href="/webui-vue/assets/js/22.94204b6d.js"><link rel="prefetch" href="/webui-vue/assets/js/23.00038bcf.js"><link rel="prefetch" href="/webui-vue/assets/js/24.dc1ae238.js"><link rel="prefetch" href="/webui-vue/assets/js/25.cfa12373.js"><link rel="prefetch" href="/webui-vue/assets/js/26.f1a9a40e.js"><link rel="prefetch" href="/webui-vue/assets/js/27.2d00a6cc.js"><link rel="prefetch" href="/webui-vue/assets/js/28.00711fc5.js"><link rel="prefetch" href="/webui-vue/assets/js/29.b6b111ca.js"><link rel="prefetch" href="/webui-vue/assets/js/3.fb50a757.js"><link rel="prefetch" href="/webui-vue/assets/js/30.2c1fcb4a.js"><link rel="prefetch" href="/webui-vue/assets/js/31.83509cd5.js"><link rel="prefetch" href="/webui-vue/assets/js/32.f55e823f.js"><link rel="prefetch" href="/webui-vue/assets/js/34.17715aca.js"><link rel="prefetch" href="/webui-vue/assets/js/35.10100911.js"><link rel="prefetch" href="/webui-vue/assets/js/36.2cde3130.js"><link rel="prefetch" href="/webui-vue/assets/js/37.37fca379.js"><link rel="prefetch" href="/webui-vue/assets/js/38.1fc84785.js"><link rel="prefetch" href="/webui-vue/assets/js/4.c0d66f0c.js"><link rel="prefetch" href="/webui-vue/assets/js/5.74892f3b.js"><link rel="prefetch" href="/webui-vue/assets/js/6.0d901efa.js"><link rel="prefetch" href="/webui-vue/assets/js/7.31f52b5d.js"><link rel="prefetch" href="/webui-vue/assets/js/8.73ac3fc5.js"><link rel="prefetch" href="/webui-vue/assets/js/9.4cbbe58d.js"> | ||
| <link rel="stylesheet" href="/webui-vue/assets/css/0.styles.bc1b00f6.css"> | ||
| </head> | ||
| <body> | ||
| <div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/webui-vue/" class="home-link router-link-active"><!----> <span class="site-name">OpenBMC Web UI Style Guide</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/webui-vue/guide/" aria-current="page" class="nav-link router-link-exact-active router-link-active"> | ||
| Guide | ||
| </a></div><div class="nav-item"><a href="/webui-vue/themes/" class="nav-link"> | ||
| Themes | ||
| </a></div><div class="nav-item"><a href="https://github.com/openbmc/webui-vue" target="_blank" rel="noopener noreferrer" class="nav-link external"> | ||
| Github | ||
| <span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></div> <!----></nav></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><nav class="nav-links"><div class="nav-item"><a href="/webui-vue/guide/" aria-current="page" class="nav-link router-link-exact-active router-link-active"> | ||
| Guide | ||
| </a></div><div class="nav-item"><a href="/webui-vue/themes/" class="nav-link"> | ||
| Themes | ||
| </a></div><div class="nav-item"><a href="https://github.com/openbmc/webui-vue" target="_blank" rel="noopener noreferrer" class="nav-link external"> | ||
| Github | ||
| <span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></div> <!----></nav> <ul class="sidebar-links"><li><a href="/webui-vue/guide/" aria-current="page" class="active sidebar-link">Getting Started</a></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>Coding Standards</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>Guidelines</span> <span class="arrow right"></span></p> <!----></section></li><li><a href="/webui-vue/guide/unit-testing/" class="sidebar-link">Unit Testing</a></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>Components</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>Quick Start</span> <span class="arrow right"></span></p> <!----></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="getting-started"><a href="#getting-started" class="header-anchor">#</a> Getting Started</h1> <p>This guide outlines the architecture and technologies used to build the OpenBMC Web UI. This guide exists to serve the following goals:</p> <ol><li>Improve contributor efficiency while maintaining the quality and consistency of the user interface</li> <li>Act as a collection of community agreed-upon standards</li></ol> <h2 id="coding-standards"><a href="#coding-standards" class="header-anchor">#</a> Coding Standards</h2> <p>Having an understanding of semantic HTML, CSS, and JavaScript is the critical knowledge required to contribute to this project. The frameworks and libraries used to build this UI include:</p> <ul><li><a href="https://vuejs.org/" target="_blank" rel="noopener noreferrer">Vue<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li> <li><a href="https://vuex.vuejs.org/" target="_blank" rel="noopener noreferrer">Vuex<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li> <li><a href="https://router.vuejs.org/" target="_blank" rel="noopener noreferrer">Vue Router<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li> <li><a href="https://github.com/axios/axios" target="_blank" rel="noopener noreferrer">Axios<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li> <li><a href="https://bootstrap-vue.js.org/" target="_blank" rel="noopener noreferrer">Bootstrap-vue<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li> <li><a href="https://vuelidate.js.org/" target="_blank" rel="noopener noreferrer">Vuelidate<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li> <li><a href="https://kazupon.github.io/vue-i18n/" target="_blank" rel="noopener noreferrer">Vue I18n<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li></ul> <div class="custom-block tip"><p class="custom-block-title">TIP</p> <p>Acquiring an understanding of these technologies will also be necessary.</p></div> <p>You will find more information about the standards and best practices in the <a href="/webui-vue/guide/coding-standards/">Coding Standards section of this guide</a>.</p> <h2 id="guidelines"><a href="#guidelines" class="header-anchor">#</a> Guidelines</h2> <p>The <a href="/guide/guidelines/colors">guidelines section</a> contains the OpenBMC community agreed-upon decisions on color, motion, and typography within the application. How to theme the application to meet company brand guidelines is documented in <a href="/themes">Themes</a>.</p> <h2 id="components"><a href="#components" class="header-anchor">#</a> Components</h2> <p>The <a href="/webui-vue/guide/components/">components section</a> is a guide to using both custom Vue components and components from the Bootstrap-Vue library.</p></div> <footer class="page-edit"><!----> <!----></footer> <div class="page-nav"><p class="inner"><!----> <span class="next"><a href="/webui-vue/guide/coding-standards/"> | ||
| Overview | ||
| </a> | ||
| → | ||
| </span></p></div> </main></div><div class="global-ui"></div></div> | ||
| <script src="/webui-vue/assets/js/app.1f444a86.js" defer></script><script src="/webui-vue/assets/js/2.87bff093.js" defer></script><script src="/webui-vue/assets/js/33.bf97b40a.js" defer></script> | ||
| </body> | ||
| </html> |
| @@ -0,0 +1,36 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en-US"> | ||
| <head> | ||
| <meta charset="utf-8"> | ||
| <meta name="viewport" content="width=device-width,initial-scale=1"> | ||
| <title>OpenBMC Web UI Style Guide</title> | ||
| <meta name="generator" content="VuePress 1.7.1"> | ||
|
|
||
| <meta name="description" content="Guidance on code style and development for the OpenBMC browser-based UI"> | ||
|
|
||
| <link rel="preload" href="/webui-vue/assets/css/0.styles.bc1b00f6.css" as="style"><link rel="preload" href="/webui-vue/assets/js/app.1f444a86.js" as="script"><link rel="preload" href="/webui-vue/assets/js/2.87bff093.js" as="script"><link rel="preload" href="/webui-vue/assets/js/35.10100911.js" as="script"><link rel="prefetch" href="/webui-vue/assets/js/10.c84c125c.js"><link rel="prefetch" href="/webui-vue/assets/js/11.00d70d23.js"><link rel="prefetch" href="/webui-vue/assets/js/12.51303027.js"><link rel="prefetch" href="/webui-vue/assets/js/13.81ddc43b.js"><link rel="prefetch" href="/webui-vue/assets/js/14.8d2ee4eb.js"><link rel="prefetch" href="/webui-vue/assets/js/15.a13e7d02.js"><link rel="prefetch" href="/webui-vue/assets/js/16.cc67396b.js"><link rel="prefetch" href="/webui-vue/assets/js/17.f5d335f1.js"><link rel="prefetch" href="/webui-vue/assets/js/18.6035962f.js"><link rel="prefetch" href="/webui-vue/assets/js/19.d9d98cc5.js"><link rel="prefetch" href="/webui-vue/assets/js/20.284fbc93.js"><link rel="prefetch" href="/webui-vue/assets/js/21.baeb765e.js"><link rel="prefetch" href="/webui-vue/assets/js/22.94204b6d.js"><link rel="prefetch" href="/webui-vue/assets/js/23.00038bcf.js"><link rel="prefetch" href="/webui-vue/assets/js/24.dc1ae238.js"><link rel="prefetch" href="/webui-vue/assets/js/25.cfa12373.js"><link rel="prefetch" href="/webui-vue/assets/js/26.f1a9a40e.js"><link rel="prefetch" href="/webui-vue/assets/js/27.2d00a6cc.js"><link rel="prefetch" href="/webui-vue/assets/js/28.00711fc5.js"><link rel="prefetch" href="/webui-vue/assets/js/29.b6b111ca.js"><link rel="prefetch" href="/webui-vue/assets/js/3.fb50a757.js"><link rel="prefetch" href="/webui-vue/assets/js/30.2c1fcb4a.js"><link rel="prefetch" href="/webui-vue/assets/js/31.83509cd5.js"><link rel="prefetch" href="/webui-vue/assets/js/32.f55e823f.js"><link rel="prefetch" href="/webui-vue/assets/js/33.bf97b40a.js"><link rel="prefetch" href="/webui-vue/assets/js/34.17715aca.js"><link rel="prefetch" href="/webui-vue/assets/js/36.2cde3130.js"><link rel="prefetch" href="/webui-vue/assets/js/37.37fca379.js"><link rel="prefetch" href="/webui-vue/assets/js/38.1fc84785.js"><link rel="prefetch" href="/webui-vue/assets/js/4.c0d66f0c.js"><link rel="prefetch" href="/webui-vue/assets/js/5.74892f3b.js"><link rel="prefetch" href="/webui-vue/assets/js/6.0d901efa.js"><link rel="prefetch" href="/webui-vue/assets/js/7.31f52b5d.js"><link rel="prefetch" href="/webui-vue/assets/js/8.73ac3fc5.js"><link rel="prefetch" href="/webui-vue/assets/js/9.4cbbe58d.js"> | ||
| <link rel="stylesheet" href="/webui-vue/assets/css/0.styles.bc1b00f6.css"> | ||
| </head> | ||
| <body> | ||
| <div id="app" data-server-rendered="true"><div class="theme-container no-sidebar"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/webui-vue/" aria-current="page" class="home-link router-link-exact-active router-link-active"><!----> <span class="site-name">OpenBMC Web UI Style Guide</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/webui-vue/guide/" class="nav-link"> | ||
| Guide | ||
| </a></div><div class="nav-item"><a href="/webui-vue/themes/" class="nav-link"> | ||
| Themes | ||
| </a></div><div class="nav-item"><a href="https://github.com/openbmc/webui-vue" target="_blank" rel="noopener noreferrer" class="nav-link external"> | ||
| Github | ||
| <span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></div> <!----></nav></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><nav class="nav-links"><div class="nav-item"><a href="/webui-vue/guide/" class="nav-link"> | ||
| Guide | ||
| </a></div><div class="nav-item"><a href="/webui-vue/themes/" class="nav-link"> | ||
| Themes | ||
| </a></div><div class="nav-item"><a href="https://github.com/openbmc/webui-vue" target="_blank" rel="noopener noreferrer" class="nav-link external"> | ||
| Github | ||
| <span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></div> <!----></nav> <!----> </aside> <main aria-labelledby="main-title" class="home"><header class="hero"><img src="openbmc-logo.svg" alt="hero"> <h1 id="main-title"> | ||
| Style Guide and Coding Conventions | ||
| </h1> <p class="description"> | ||
| Guidance on code style and development for the OpenBMC browser-based UI | ||
| </p> <p class="action"><a href="/webui-vue/guide/" class="nav-link action-button"> | ||
| Getting Started | ||
| </a></p></header> <!----> <div class="theme-default-content custom content__default"></div> <!----></main></div><div class="global-ui"></div></div> | ||
| <script src="/webui-vue/assets/js/app.1f444a86.js" defer></script><script src="/webui-vue/assets/js/2.87bff093.js" defer></script><script src="/webui-vue/assets/js/35.10100911.js" defer></script> | ||
| </body> | ||
| </html> |