Browse Source

Capitalize “HTML” where appropriate

mq/doc-dropdown
Zearin 9 years ago
parent
commit
4b30cdc0f8
  1. 2
      server/documents/behaviors/form.html.eco
  2. 2
      server/documents/collections/form.html.eco
  3. 2
      server/documents/collections/table.html.eco
  4. 2
      server/documents/introduction/getting-started.html.eco
  5. 2
      server/documents/introduction/new.html.eco
  6. 8
      server/documents/modules/dropdown.html.eco
  7. 12
      server/documents/modules/popup.html.eco
  8. 2
      server/documents/modules/rating.html.eco
  9. 6
      server/documents/modules/search.html.eco
  10. 2
      server/documents/modules/sidebar.html.eco
  11. 8
      server/documents/modules/tab.html.eco
  12. 2
      server/documents/usage/theming.html.eco

2
server/documents/behaviors/form.html.eco

@ -1797,7 +1797,7 @@ type : 'UI Behavior'
Templates Templates
</h4> </h4>
<p>Templates are used to construct elements</p> <p>Templates are used to construct elements</p>
<div class="ui ignored info message">Templates are found in <code>settings.template</code>, to modify templates across all forms, modify <code>$.fn.form.settings.templates</code> to include your function. They must return html.</div> <div class="ui ignored info message">Templates are found in <code>settings.template</code>, to modify templates across all forms, modify <code>$.fn.form.settings.templates</code> to include your function. They must return HTML.</div>
<table class="ui celled sortable definition table"> <table class="ui celled sortable definition table">
<thead> <thead>
<th class="four wide">Template</th> <th class="four wide">Template</th>

2
server/documents/collections/form.html.eco

@ -289,7 +289,7 @@ themes : ['Default', 'Flat', 'Chubby', 'GitHub']
<h4 class="ui header">Checkbox</h4> <h4 class="ui header">Checkbox</h4>
<p>A form can contain a <a href="/modules/checkbox.html">checkbox</a></p> <p>A form can contain a <a href="/modules/checkbox.html">checkbox</a></p>
<div class="ui ignored info message"> <div class="ui ignored info message">
UI checkbox are special, styled versions of standard html checkboxes. UI checkbox are special, styled versions of standard HTML checkboxes.
</div> </div>
<div class="evaluated code" data-type="javascript" data-label="true"> <div class="evaluated code" data-type="javascript" data-label="true">
$('.ui.checkbox') $('.ui.checkbox')

2
server/documents/collections/table.html.eco

@ -325,7 +325,7 @@ themes : ['Default', 'Basic', 'Classic', 'GitHub']
<div class="ui ignored info message"> <div class="ui ignored info message">
<p>UI tables use <code>border-collapse: separate</code> to allow for tables to receive styles that cannot usually be applied to tables like <code>border-radius</code>. However this can cause some cell borders to appear missing with complex layouts that use <code>rowspan</code> or <code>colspan</code> and rows with varying column count.</p> <p>UI tables use <code>border-collapse: separate</code> to allow for tables to receive styles that cannot usually be applied to tables like <code>border-radius</code>. However this can cause some cell borders to appear missing with complex layouts that use <code>rowspan</code> or <code>colspan</code> and rows with varying column count.</p>
<p><code>ui complex table</code> does not support some style features, but can correctly display all valid html table content.</p> <p><code>ui complex table</code> does not support some style features, but can correctly display all valid HTML table content.</p>
</div> </div>
<table class="ui celled structured table"> <table class="ui celled structured table">

2
server/documents/introduction/getting-started.html.eco

@ -116,7 +116,7 @@ type : 'Main'
<div class="no example"> <div class="no example">
<h4>Include in Your HTML</h4> <h4>Include in Your HTML</h4>
<p>Running the gulp build tools will compile CSS and Javascript for use in your project. Just link to these files in your html.</p> <p>Running the gulp build tools will compile CSS and Javascript for use in your project. Just link to these files in your HTML.</p>
<div class="ignored code" data-type="html" data-escape="true"> <div class="ignored code" data-type="html" data-escape="true">
&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;semantic/dist/semantic.min.css&quot;&gt; &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;semantic/dist/semantic.min.css&quot;&gt;
&lt;script src=&quot;semantic/dist/semantic.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;semantic/dist/semantic.min.js&quot;&gt;&lt;/script&gt;

2
server/documents/introduction/new.html.eco

@ -842,7 +842,7 @@ type : 'Main'
<div class="dropdown example"> <div class="dropdown example">
<h4 class="ui header">Multiple Selection</h4> <h4 class="ui header">Multiple Selection</h4>
<p>Multiple select dropdowns are now available, and can generate automatically from standard html selects. </p> <p>Multiple select dropdowns are now available, and can generate automatically from standard HTML selects. </p>
<p>Dropdowns now all support advanced keyboard shortcuts like <code>pagedown</code>, <code>delete</code>, <code>shift+left</code> <code>ctrl+click</code>, and selection using first letter of item.</p> <p>Dropdowns now all support advanced keyboard shortcuts like <code>pagedown</code>, <code>delete</code>, <code>shift+left</code> <code>ctrl+click</code>, and selection using first letter of item.</p>
<p>Additionally dropdowns will now automatically open <code>upward</code> if there is not enough space available in the viewport below a dropdown.</p> <p>Additionally dropdowns will now automatically open <code>upward</code> if there is not enough space available in the viewport below a dropdown.</p>
<select class="ui fluid dropdown" multiple> <select class="ui fluid dropdown" multiple>

8
server/documents/modules/dropdown.html.eco

@ -76,7 +76,7 @@ themes : ['Default', 'GitHub', 'Material']
<h4 class="ui header">Selection</h4> <h4 class="ui header">Selection</h4>
<p>A dropdown can be used to select between choices in a form</p> <p>A dropdown can be used to select between choices in a form</p>
<div class="ui ignored info message"> <div class="ui ignored info message">
Selection dropdowns can be initialized directly on a <code>select</code> or with the matching html and a hidden <code>input</code>. Selection dropdowns can be initialized directly on a <code>select</code> or with the matching HTML and a hidden <code>input</code>.
</div> </div>
<div class="ui selection dropdown"> <div class="ui selection dropdown">
<input type="hidden" name="gender"> <input type="hidden" name="gender">
@ -1769,8 +1769,8 @@ themes : ['Default', 'GitHub', 'Material']
<div class="no example"> <div class="no example">
<h4 class="ui header">Initializing Existing HTML</h4> <h4 class="ui header">Initializing Existing HTML</h4>
<p>Initializing a dropdown with pre-existing html allows for greater performance than initializing a dropdown directly on a <code>select</code> element.</p> <p>Initializing a dropdown with pre-existing HTML allows for greater performance than initializing a dropdown directly on a <code>select</code> element.</p>
<div class="ui ignored info message">Any select element initialized as dropdown will also be hidden until Javascript can create html, this is to avoid the flash of unstyled content, and the change in element height adjusting page flow.</div> <div class="ui ignored info message">Any select element initialized as dropdown will also be hidden until Javascript can create HTML, this is to avoid the flash of unstyled content, and the change in element height adjusting page flow.</div>
<div class="code" data-label="HTML" data-type="html"> <div class="code" data-label="HTML" data-type="html">
<div class="ui dropdown"> <div class="ui dropdown">
<input type="hidden" name="gender"> <input type="hidden" name="gender">
@ -2504,7 +2504,7 @@ themes : ['Default', 'GitHub', 'Material']
<tr> <tr>
<td>preserveHTML</td> <td>preserveHTML</td>
<td>true</td> <td>true</td>
<td>Whether html included in dropdown values should be preserved. (Allows icons to show up in selected value)</td> <td>Whether HTML included in dropdown values should be preserved. (Allows icons to show up in selected value)</td>
</tr> </tr>
<tr> <tr>
<td>sortSelect</td> <td>sortSelect</td>

12
server/documents/modules/popup.html.eco

@ -42,7 +42,7 @@ themes : ['Default']
<div class="example"> <div class="example">
<h4 class="ui header">HTML</h4> <h4 class="ui header">HTML</h4>
<p>An element can specify html for a popup</p> <p>An element can specify HTML for a popup</p>
<div class="ui card" data-html="<div class='header'>User Rating</div><div class='content'><div class='ui star rating'><i class='active icon'></i><i class='active icon'></i><i class='active icon'></i><i class='icon'></i><i class='icon'></i></div></div>"> <div class="ui card" data-html="<div class='header'>User Rating</div><div class='content'><div class='ui star rating'><i class='active icon'></i><i class='active icon'></i><i class='active icon'></i><i class='icon'></i><i class='icon'></i></div></div>">
<div class="image"> <div class="image">
@ -187,7 +187,7 @@ themes : ['Default']
<div class="no example"> <div class="no example">
<h4 class="ui header">Using a Pre-existing Popup</h4> <h4 class="ui header">Using a Pre-existing Popup</h4>
<p>Using a pre-existing popup allows for you to include complex html inside your popup.<p> <p>Using a pre-existing popup allows for you to include complex HTML inside your popup.<p>
<p>If you include your popup on page load as an adjacent sibling element to your activating element it can be found automatically.</p> <p>If you include your popup on page load as an adjacent sibling element to your activating element it can be found automatically.</p>
<p>To instruct popup to look inline for your popup element you can initialize it with the <code>inline</code> parameter</p> <p>To instruct popup to look inline for your popup element you can initialize it with the <code>inline</code> parameter</p>
<div class="code" data-type="javascript"> <div class="code" data-type="javascript">
@ -219,16 +219,16 @@ themes : ['Default']
<div class="no example"> <div class="no example">
<h4 class="ui header">Specifying Content In Metadata</h4> <h4 class="ui header">Specifying Content In Metadata</h4>
<p>Frequently used settings like, title, content, html, or offset or variation, can be included in html metadata<p> <p>Frequently used settings like, title, content, HTML, or offset or variation, can be included in HTML metadata<p>
<div class="ui info icon ignored message"> <div class="ui info icon ignored message">
<i class="info icon"></i> <i class="info icon"></i>
<div class="content"> <div class="content">
<div class="header">Specifying Content</div> <div class="header">Specifying Content</div>
<p>Popups can specify content in three ways:<p> <p>Popups can specify content in three ways:<p>
<ul class="list"> <ul class="list">
<li>Using html <code>title</code> attribute</li> <li>Using HTML <code>title</code> attribute</li>
<li>Using <code>data-content</code> attribute</li> <li>Using <code>data-content</code> attribute</li>
<li>Using <code>data-html</code> for specific html</li> <li>Using <code>data-html</code> for specific HTML</li>
<li>Using the content property in the initialization of the popup</li> <li>Using the content property in the initialization of the popup</li>
</ul> </ul>
<p>Popups can also specify some other frequently used settings using metadata<p> <p>Popups can also specify some other frequently used settings using metadata<p>
@ -326,7 +326,7 @@ themes : ['Default']
<div class="example"> <div class="example">
<h4 class="ui header">Wide Popup Menu</h4> <h4 class="ui header">Wide Popup Menu</h4>
<p>An easier way to display complex content, like a wide popup menu is to have the popup content as a pre- existing part of your page's html.</p> <p>An easier way to display complex content, like a wide popup menu is to have the popup content as a pre- existing part of your page's HTML.</p>
<p>Using the setting <code>inline: true</code> will let Semantic know to display the next sibling <code>ui popup</code> element after the activator.</p> <p>Using the setting <code>inline: true</code> will let Semantic know to display the next sibling <code>ui popup</code> element after the activator.</p>
<p>Tweaking settings like the delay for show, and hide, and making the menu hoverable will help it function more like a dropdown menu</p> <p>Tweaking settings like the delay for show, and hide, and making the menu hoverable will help it function more like a dropdown menu</p>

2
server/documents/modules/rating.html.eco

@ -74,7 +74,7 @@ themes : ['Default']
<div class="example"> <div class="example">
<h4 class="ui header">Setting existing values</h4> <h4 class="ui header">Setting existing values</h4>
<p>The starting rating can be set either using metadata value <code>data-rating</code> or the setting <code>initialRating</code>. <p>The starting rating can be set either using metadata value <code>data-rating</code> or the setting <code>initialRating</code>.
<p>The maximum rating can be be set using the metadata value <code>data-max-rating</code> or the settings <code>maxRating</code>, or you can just include the icon html yourself on initialization to avoid the overhead of the <code>DOM template insertions</code>. </p> <p>The maximum rating can be be set using the metadata value <code>data-max-rating</code> or the settings <code>maxRating</code>, or you can just include the icon HTML yourself on initialization to avoid the overhead of the <code>DOM template insertions</code>. </p>
<div class="ui ignored info message">If a metadata rating is specified it will automatically override the default value specified in Javascript.</div> <div class="ui ignored info message">If a metadata rating is specified it will automatically override the default value specified in Javascript.</div>
<div class="code" data-type="javascript"> <div class="code" data-type="javascript">
$('.toggle.example .rating') $('.toggle.example .rating')

6
server/documents/modules/search.html.eco

@ -395,7 +395,7 @@ type : 'UI Module'
</tr> </tr>
<tr> <tr>
<td>add results(html)</td> <td>add results(html)</td>
<td>Adds html to results and displays</td> <td>Adds HTML to results and displays</td>
</tr> </tr>
<tr> <tr>
<td>show results</td> <td>show results</td>
@ -641,7 +641,7 @@ type : 'UI Module'
<tr> <tr>
<td>onResultsAdd(html)</td> <td>onResultsAdd(html)</td>
<td>module</td> <td>module</td>
<td>Callback after processing element template to add html to results. Function should return false to prevent default actions.</td> <td>Callback after processing element template to add HTML to results. Function should return false to prevent default actions.</td>
</tr> </tr>
<tr> <tr>
<td>onSearchQuery(query)</td> <td>onSearchQuery(query)</td>
@ -670,7 +670,7 @@ type : 'UI Module'
Templates Templates
</h2> </h2>
<p>These templates are used to generate the html structures for search results</p> <p>These templates are used to generate the HTML structures for search results</p>
<div class="ui ignored info message"> <div class="ui ignored info message">
By specifying a search as <code>type: 'customType'</code>, and a custom template under <code>$.fn.search.settings.templates.customType</code> you can create custom search results. Keep in mind that <code>.title</code> will be used for matching results <code>onSelect</code> By specifying a search as <code>type: 'customType'</code>, and a custom template under <code>$.fn.search.settings.templates.customType</code> you can create custom search results. Keep in mind that <code>.title</code> will be used for matching results <code>onSelect</code>

2
server/documents/modules/sidebar.html.eco

@ -597,7 +597,7 @@ themes : ['Default']
<tr> <tr>
<td>delaySetup</td> <td>delaySetup</td>
<td>false</td> <td>false</td>
<td>When sidebar is initialized without the proper html, using this option will defer creation of DOM to use <code>requestAnimationFrame</code>.</td> <td>When sidebar is initialized without the proper HTML, using this option will defer creation of DOM to use <code>requestAnimationFrame</code>.</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

8
server/documents/modules/tab.html.eco

@ -547,15 +547,15 @@ themes : ['Default']
</tr> </tr>
<tr> <tr>
<td>cache read(path)</td> <td>cache read(path)</td>
<td>Returns cached html for path</td> <td>Returns cached HTML for path</td>
</tr> </tr>
<tr> <tr>
<td>cache add(path, html)</td> <td>cache add(path, html)</td>
<td>Sets cached html for path</td> <td>Sets cached HTML for path</td>
</tr> </tr>
<tr> <tr>
<td>cache remove(path)</td> <td>cache remove(path)</td>
<td>Removes cached html for path</td> <td>Removes cached HTML for path</td>
</tr> </tr>
</table> </table>
</div> </div>
@ -594,7 +594,7 @@ themes : ['Default']
<tr> <tr>
<td>evaluateScripts</td> <td>evaluateScripts</td>
<td>once</td> <td>once</td>
<td>Whether inline scripts in tab html should be parsed on tab load. Defaults to <code>once</code>, parsing only on first load. Can also be set to <code>true</code> or <code>false</code> to always parse or never parse inline scripts.</td> <td>Whether inline scripts in tab HTML should be parsed on tab load. Defaults to <code>once</code>, parsing only on first load. Can also be set to <code>true</code> or <code>false</code> to always parse or never parse inline scripts.</td>
</tr> </tr>
<tr> <tr>
<td>alwaysRefresh</td> <td>alwaysRefresh</td>

2
server/documents/usage/theming.html.eco

@ -46,7 +46,7 @@ type : 'Usage'
<p>To get started click <b>the paint can</b> icon next to the notification button in the top right</p> <p>To get started click <b>the paint can</b> icon next to the notification button in the top right</p>
<p>The example project includes two html files, <code>index.html</code> is designed to swap themes using a sidebar, and uses precompiled CSS. <code>static.html</code> uses files outputted by Semantic UI and can be used alongside our <a href="/introduction/build-tools.html">gulp pipeline</a> to try modifying themes hands on.</p> <p>The example project includes two HTML files, <code>index.html</code> is designed to swap themes using a sidebar, and uses precompiled CSS. <code>static.html</code> uses files outputted by Semantic UI and can be used alongside our <a href="/introduction/build-tools.html">gulp pipeline</a> to try modifying themes hands on.</p>
<p>Some special things to note:</p> <p>Some special things to note:</p>

Loading…
Cancel
Save