text
stringlengths
2
1.05M
repo_name
stringlengths
5
101
path
stringlengths
4
991
language
stringclasses
3 values
license
stringclasses
5 values
size
int64
2
1.05M
<?xml version="1.0" encoding="ascii"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>translate.misc.typecheck._TS_Exception</title> <link rel="stylesheet" href="epydoc.css" type="text/css" /> <script type="text/javascript" src="epydoc.js"></script> </head> <body bgcolor="white" text="black" link="blue" vlink="#204080" alink="#204080"> <!-- ==================== NAVIGATION BAR ==================== --> <table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0"> <tr valign="middle"> <!-- Home link --> <th>&nbsp;&nbsp;&nbsp;<a href="translate-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th> <!-- Tree link --> <th>&nbsp;&nbsp;&nbsp;<a href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th> <!-- Index link --> <th>&nbsp;&nbsp;&nbsp;<a href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th> <!-- Help link --> <th>&nbsp;&nbsp;&nbsp;<a href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th> <!-- Project homepage --> <th class="navbar" align="right" width="100%"> <table border="0" cellpadding="0" cellspacing="0"> <tr><th class="navbar" align="center" ><a class="navbar" target="_top" href="http://translate.sourceforge.net/wiki/toolkit/index">Translate Toolkit</a></th> </tr></table></th> </tr> </table> <table width="100%" cellpadding="0" cellspacing="0"> <tr valign="top"> <td width="100%"> <span class="breadcrumbs"> <a href="translate-module.html">Package&nbsp;translate</a> :: <a href="translate.misc-module.html">Package&nbsp;misc</a> :: <a href="translate.misc.typecheck-module.html">Package&nbsp;typecheck</a> :: Class&nbsp;_TS_Exception </span> </td> <td> <table cellpadding="0" cellspacing="0"> <!-- hide/show private --> <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink" onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr> <tr><td align="right"><span class="options" >[<a href="frames.html" target="_top">frames</a >]&nbsp;|&nbsp;<a href="translate.misc.typecheck._TS_Exception-class.html" target="_top">no&nbsp;frames</a>]</span></td></tr> </table> </td> </tr> </table> <!-- ==================== CLASS DESCRIPTION ==================== --> <h1 class="epydoc">Class _TS_Exception</h1><p class="nomargin-top"><span class="codelink"><a href="translate.misc.typecheck-pysrc.html#_TS_Exception">source&nbsp;code</a></span></p> <center> <div class="private"><center> <map id="uml_class_diagram_for_translat_135" name="uml_class_diagram_for_translat_135"> <area shape="rect" href="translate.misc.typecheck._TS_TwiceTypedError&#45;class.html" title="translate.misc.typecheck._TS_TwiceTypedError" alt="" coords="16,435,160,461"/> <area shape="rect" href="translate.misc.typecheck._TS_MissingTypeError&#45;class.html" title="translate.misc.typecheck._TS_MissingTypeError" alt="" coords="211,435,357,461"/> <area shape="rect" href="translate.misc.typecheck._TS_ExtraKeywordError&#45;class.html" title="translate.misc.typecheck._TS_ExtraKeywordError" alt="" coords="408,435,563,461"/> <area shape="rect" href="translate.misc.typecheck._TS_ExtraPositionalError&#45;class.html" title="translate.misc.typecheck._TS_ExtraPositionalError" alt="" coords="613,435,773,461"/> <area shape="rect" href="javascript:void(0);" title="x.__init__(...) initializes x; see x.__class__.__doc__ for signature" alt="" coords="423,292,548,311"/> <area shape="rect" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="423,311,548,329"/> <area shape="rect" href="javascript:void(0);" title="Common base class for all non&#45;exit exceptions." alt="" coords="421,267,549,331"/> <area shape="rect" href="translate.misc.typecheck._TS_Exception&#45;class.html#error_message" title="translate.misc.typecheck._TS_Exception.error_message" alt="" coords="425,385,545,404"/> <area shape="rect" href="translate.misc.typecheck._TS_Exception&#45;class.html" title="translate.misc.typecheck._TS_Exception" alt="" coords="424,360,547,405"/> <area shape="rect" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="408,28,563,47"/> <area shape="rect" href="javascript:void(0);" title="exception message" alt="" coords="408,47,563,65"/> <area shape="rect" href="javascript:void(0);" title="x.__delattr__(&#39;name&#39;) &lt;==&gt; del x.name" alt="" coords="408,68,563,87"/> <area shape="rect" href="javascript:void(0);" title="x.__getattribute__(&#39;name&#39;) &lt;==&gt; x.name" alt="" coords="408,87,563,105"/> <area shape="rect" href="javascript:void(0);" title="x[y]" alt="" coords="408,105,563,124"/> <area shape="rect" href="javascript:void(0);" title="x[i:j]" alt="" coords="408,124,563,143"/> <area shape="rect" href="javascript:void(0);" title="helper for pickle" alt="" coords="408,143,563,161"/> <area shape="rect" href="javascript:void(0);" title="repr(x)" alt="" coords="408,161,563,180"/> <area shape="rect" href="javascript:void(0);" title="x.__setattr__(&#39;name&#39;, value) &lt;==&gt; x.name = value" alt="" coords="408,180,563,199"/> <area shape="rect" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="408,199,563,217"/> <area shape="rect" href="javascript:void(0);" title="str(x)" alt="" coords="408,217,563,236"/> <area shape="rect" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="407,11,564,237"/> <area shape="rect" href="translate.misc.typecheck._TS_TupleError&#45;class.html" title="translate.misc.typecheck._TS_TupleError" alt="" coords="824,435,928,461"/> </map> <img src="uml_class_diagram_for_translat_135.png" alt='' usemap="#uml_class_diagram_for_translat_135" ismap="ismap" class="graph-without-title" /> </center></div> <div class="public" style="display:none"><center> <map id="uml_class_diagram_for_translat_136" name="uml_class_diagram_for_translat_136"> <area shape="rect" href="javascript:void(0);" title="x.__init__(...) initializes x; see x.__class__.__doc__ for signature" alt="" coords="32,292,157,311"/> <area shape="rect" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="32,311,157,329"/> <area shape="rect" href="javascript:void(0);" title="Common base class for all non&#45;exit exceptions." alt="" coords="31,267,159,331"/> <area shape="rect" href="translate.misc.typecheck._TS_Exception&#45;class.html#error_message" title="translate.misc.typecheck._TS_Exception.error_message" alt="" coords="35,385,155,404"/> <area shape="rect" href="translate.misc.typecheck._TS_Exception&#45;class.html" title="translate.misc.typecheck._TS_Exception" alt="" coords="33,360,156,405"/> <area shape="rect" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="17,28,172,47"/> <area shape="rect" href="javascript:void(0);" title="exception message" alt="" coords="17,47,172,65"/> <area shape="rect" href="javascript:void(0);" title="x.__delattr__(&#39;name&#39;) &lt;==&gt; del x.name" alt="" coords="17,68,172,87"/> <area shape="rect" href="javascript:void(0);" title="x.__getattribute__(&#39;name&#39;) &lt;==&gt; x.name" alt="" coords="17,87,172,105"/> <area shape="rect" href="javascript:void(0);" title="x[y]" alt="" coords="17,105,172,124"/> <area shape="rect" href="javascript:void(0);" title="x[i:j]" alt="" coords="17,124,172,143"/> <area shape="rect" href="javascript:void(0);" title="helper for pickle" alt="" coords="17,143,172,161"/> <area shape="rect" href="javascript:void(0);" title="repr(x)" alt="" coords="17,161,172,180"/> <area shape="rect" href="javascript:void(0);" title="x.__setattr__(&#39;name&#39;, value) &lt;==&gt; x.name = value" alt="" coords="17,180,172,199"/> <area shape="rect" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="17,199,172,217"/> <area shape="rect" href="javascript:void(0);" title="str(x)" alt="" coords="17,217,172,236"/> <area shape="rect" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="16,11,173,237"/> </map> <img src="uml_class_diagram_for_translat_136.png" alt='' usemap="#uml_class_diagram_for_translat_136" ismap="ismap" class="graph-without-title" /> </center></div> </center> <hr /> <!-- ==================== INSTANCE METHODS ==================== --> <a name="section-InstanceMethods"></a> <table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white"> <tr bgcolor="#70b0f0" class="table-header"> <td colspan="2" class="table-header"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr valign="top"> <td align="left"><span class="table-header">Instance Methods</span></td> <td align="right" valign="top" ><span class="options">[<a href="#section-InstanceMethods" class="privatelink" onclick="toggle_private();" >hide private</a>]</span></td> </tr> </table> </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type">&nbsp;</span> </td><td class="summary"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td><span class="summary-sig"><a name="error_message"></a><span class="summary-sig-name">error_message</span>(<span class="summary-sig-arg">self</span>)</span></td> <td align="right" valign="top"> <span class="codelink"><a href="translate.misc.typecheck-pysrc.html#_TS_Exception.error_message">source&nbsp;code</a></span> </td> </tr> </table> </td> </tr> <tr> <td colspan="2" class="summary"> <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.Exception</code></b>: <code>__init__</code>, <code>__new__</code> </p> <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>: <code>__delattr__</code>, <code>__getattribute__</code>, <code>__getitem__</code>, <code>__getslice__</code>, <code>__reduce__</code>, <code>__repr__</code>, <code>__setattr__</code>, <code>__setstate__</code>, <code>__str__</code> </p> <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: <code>__hash__</code>, <code>__reduce_ex__</code> </p> </td> </tr> </table> <!-- ==================== PROPERTIES ==================== --> <a name="section-Properties"></a> <table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white"> <tr bgcolor="#70b0f0" class="table-header"> <td colspan="2" class="table-header"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr valign="top"> <td align="left"><span class="table-header">Properties</span></td> <td align="right" valign="top" ><span class="options">[<a href="#section-Properties" class="privatelink" onclick="toggle_private();" >hide private</a>]</span></td> </tr> </table> </td> </tr> <tr> <td colspan="2" class="summary"> <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>: <code>args</code>, <code>message</code> </p> <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: <code>__class__</code> </p> </td> </tr> </table> <!-- ==================== NAVIGATION BAR ==================== --> <table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0"> <tr valign="middle"> <!-- Home link --> <th>&nbsp;&nbsp;&nbsp;<a href="translate-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th> <!-- Tree link --> <th>&nbsp;&nbsp;&nbsp;<a href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th> <!-- Index link --> <th>&nbsp;&nbsp;&nbsp;<a href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th> <!-- Help link --> <th>&nbsp;&nbsp;&nbsp;<a href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th> <!-- Project homepage --> <th class="navbar" align="right" width="100%"> <table border="0" cellpadding="0" cellspacing="0"> <tr><th class="navbar" align="center" ><a class="navbar" target="_top" href="http://translate.sourceforge.net/wiki/toolkit/index">Translate Toolkit</a></th> </tr></table></th> </tr> </table> <table border="0" cellpadding="0" cellspacing="0" width="100%%"> <tr> <td align="left" class="footer"> Generated by Epydoc 3.0.1 on Wed Mar 3 16:36:41 2010 </td> <td align="right" class="footer"> <a target="mainFrame" href="http://epydoc.sourceforge.net" >http://epydoc.sourceforge.net</a> </td> </tr> </table> <script type="text/javascript"> <!-- // Private objects are initially displayed (because if // javascript is turned off then we want them to be // visible); but by default, we want to hide them. So hide // them unless we have a cookie that says to show them. checkCookie(); // --> </script> </body> </html>
dbbhattacharya/kitsune
vendor/packages/translate-toolkit/translate/doc/api/translate.misc.typecheck._TS_Exception-class.html
HTML
bsd-3-clause
13,431
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Components · Bootstrap</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content=""> <meta name="author" content=""> <!-- Le styles --> <link href="assets/css/bootstrap.css" rel="stylesheet"> <link href="assets/css/bootstrap-responsive.css" rel="stylesheet"> <link href="assets/css/docs.css" rel="stylesheet"> <link href="assets/js/google-code-prettify/prettify.css" rel="stylesheet"> <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements --> <!--[if lt IE 9]> <script src="assets/js/html5shiv.js"></script> <![endif]--> <!-- Le fav and touch icons --> <link rel="apple-touch-icon-precomposed" sizes="144x144" href="assets/ico/apple-touch-icon-144-precomposed.png"> <link rel="apple-touch-icon-precomposed" sizes="114x114" href="assets/ico/apple-touch-icon-114-precomposed.png"> <link rel="apple-touch-icon-precomposed" sizes="72x72" href="assets/ico/apple-touch-icon-72-precomposed.png"> <link rel="apple-touch-icon-precomposed" href="assets/ico/apple-touch-icon-57-precomposed.png"> <link rel="icon" href="assets/ico/favicon.png"> <link href="assets/css/todc-bootstrap.css" rel="stylesheet"> </head> <body data-spy="scroll" data-target=".bs-docs-sidebar"> <!-- Navbar ================================================== --> <div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar-inner"> <div class="container"> <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="brand" href="./index.html">Bootstrap</a> <div class="nav-collapse collapse"> <ul class="nav"> <li class=""> <a href="./index.html">Home</a> </li> <li class=""> <a href="./getting-started.html">Get started</a> </li> <li class=""> <a href="./scaffolding.html">Scaffolding</a> </li> <li class=""> <a href="./base-css.html">Base CSS</a> </li> <li class="active"> <a href="./components.html">Components</a> </li> <li class=""> <a href="./javascript.html">JavaScript</a> </li> </ul> </div> </div> </div> </div> <!-- Subhead ================================================== --> <header class="jumbotron subhead" id="overview"> <div class="container"> <h1>Components</h1> <p class="lead">Dozens of reusable components built to provide navigation, alerts, popovers, and more.</p> </div> </header> <div class="container"> <div class="alert alert-danger bs-alert-old-docs"> <strong>Heads up!</strong> These docs are for v2.3.2, which is no longer officially supported. <a href="http://todc.github.io/todc-bootstrap">Check out the latest version of TODC Bootstrap!</a> </div> <!-- Docs nav ================================================== --> <div class="row"> <div class="span3 bs-docs-sidebar"> <ul class="nav nav-list bs-docs-sidenav"> <li><a href="#dropdowns"><i class="icon-chevron-right"></i> Dropdowns</a></li> <li><a href="#buttonGroups"><i class="icon-chevron-right"></i> Button groups</a></li> <li><a href="#buttonDropdowns"><i class="icon-chevron-right"></i> Button dropdowns</a></li> <li><a href="#navs"><i class="icon-chevron-right"></i> Navs</a></li> <li><a href="#navbar"><i class="icon-chevron-right"></i> Navbar</a></li> <li><a href="#navbar-masthead"><i class="icon-chevron-right"></i> Masthead</a></li> <li><a href="#navbar-toolbar"><i class="icon-chevron-right"></i> Toolbar</a></li> <li><a href="#breadcrumbs"><i class="icon-chevron-right"></i> Breadcrumbs</a></li> <li><a href="#pagination"><i class="icon-chevron-right"></i> Pagination</a></li> <li><a href="#labels-badges"><i class="icon-chevron-right"></i> Labels and badges</a></li> <li><a href="#typography"><i class="icon-chevron-right"></i> Typography</a></li> <li><a href="#thumbnails"><i class="icon-chevron-right"></i> Thumbnails</a></li> <li><a href="#alerts"><i class="icon-chevron-right"></i> Alerts</a></li> <li><a href="#progress"><i class="icon-chevron-right"></i> Progress bars</a></li> <li><a href="#scrollbars"><i class="icon-chevron-right"></i> Scrollbars</a></li> <li><a href="#media"><i class="icon-chevron-right"></i> Media object</a></li> <li><a href="#misc"><i class="icon-chevron-right"></i> Misc</a></li> </ul> </div> <div class="span9"> <!-- Dropdowns ================================================== --> <section id="dropdowns"> <div class="page-header"> <h1>Dropdown menus</h1> </div> <h2>Example</h2> <p>Toggleable, contextual menu for displaying lists of links. Made interactive with the <a href="./javascript.html#dropdowns">dropdown JavaScript plugin</a>.</p> <div class="bs-docs-example"> <div class="dropdown clearfix"> <button class="btn dropdown-toggle hidden" type="button" id="dropdownMenu1" data-toggle="dropdown"> Dropdown <span class="caret"></span> </button> <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1" style="display: block; position: static; margin-bottom: 5px; *width: 180px;"> <li><a tabindex="-1" href="#">Action</a></li> <li><a tabindex="-1" href="#">Another action</a></li> <li><a tabindex="-1" href="#">Something else here</a></li> <li class="divider"></li> <li><a tabindex="-1" href="#">Separated link</a></li> </ul> </div> </div> <pre class="prettyprint linenums"> &lt;ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu"&gt; &lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Action&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Another action&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Something else here&lt;/a&gt;&lt;/li&gt; &lt;li class="divider"&gt;&lt;/li&gt; &lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Separated link&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; </pre> <h2>Markup</h2> <p>Looking at just the dropdown menu, here's the required HTML. You need to wrap the dropdown's trigger and the dropdown menu within <code>.dropdown</code>, or another element that declares <code>position: relative;</code>. Then just create the menu.</p> <pre class="prettyprint linenums"> &lt;div class="dropdown"&gt; &lt;!-- Link or button to toggle dropdown --&gt; &lt;ul class="dropdown-menu" role="menu" aria-labelledby="dLabel"&gt; &lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Action&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Another action&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Something else here&lt;/a&gt;&lt;/li&gt; &lt;li class="divider"&gt;&lt;/li&gt; &lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Separated link&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; </pre> <h2>Options</h2> <p>Align menus to the right and add include additional levels of dropdowns.</p> <h3>Aligning the menus</h3> <p>Add <code>.pull-right</code> to a <code>.dropdown-menu</code> to right align the dropdown menu.</p> <pre class="prettyprint linenums"> &lt;ul class="dropdown-menu pull-right" role="menu" aria-labelledby="dLabel"&gt; ... &lt;/ul&gt; </pre> <h3>Disabled menu options</h3> <p>Add <code>.disabled</code> to a <code>&lt;li&gt;</code> in the dropdown to disable the link.</p> <div class="bs-docs-example"> <div class="dropdown clearfix"> <button class="btn dropdown-toggle hidden" type="button" id="dropdownMenu2" data-toggle="dropdown"> Dropdown <span class="caret"></span> </button> <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu2" style="display: block; position: static; margin-bottom: 5px; *width: 180px;"> <li><a tabindex="-1" href="#">Regular link</a></li> <li class="disabled"><a tabindex="-1" href="#">Disabled link</a></li> <li><a tabindex="-1" href="#">Another link</a></li> </ul> </div> </div> <pre class="prettyprint linenums"> &lt;ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu"&gt; &lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Regular link&lt;/a&gt;&lt;/li&gt; &lt;li class="disabled"&gt;&lt;a tabindex="-1" href="#"&gt;Disabled link&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Another link&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; </pre> <h3>Sub menus on dropdowns</h3> <p>Add an extra level of dropdown menus, appearing on hover like those of OS X, with some simple markup additions. Add <code>.dropdown-submenu</code> to any <code>li</code> in an existing dropdown menu for automatic styling.</p> <div class="bs-docs-example bs-docs-example-submenus"> <div class="pull-left"> <p class="muted">Default</p> <div class="dropdown clearfix"> <button class="btn dropdown-toggle hidden" type="button" id="dropdownMenu3" data-toggle="dropdown"> Dropdown <span class="caret"></span> </button> <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu3"> <li><a tabindex="-1" href="#">Action</a></li> <li><a tabindex="-1" href="#">Another action</a></li> <li><a tabindex="-1" href="#">Something else here</a></li> <li class="divider"></li> <li class="dropdown-submenu"> <a tabindex="-1" href="#">More options</a> <ul class="dropdown-menu"> <li><a tabindex="-1" href="#">Second level link</a></li> <li><a tabindex="-1" href="#">Second level link</a></li> <li><a tabindex="-1" href="#">Second level link</a></li> <li><a tabindex="-1" href="#">Second level link</a></li> <li><a tabindex="-1" href="#">Second level link</a></li> </ul> </li> </ul> </div> </div> <div class="pull-left"> <p class="muted">Dropup</p> <div class="dropup"> <button class="btn dropdown-toggle hidden" type="button" id="dropdownMenu4" data-toggle="dropdown"> Dropdown <span class="caret"></span> </button> <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu4"> <li><a tabindex="-1" href="#">Action</a></li> <li><a tabindex="-1" href="#">Another action</a></li> <li><a tabindex="-1" href="#">Something else here</a></li> <li class="divider"></li> <li class="dropdown-submenu"> <a tabindex="-1" href="#">More options</a> <ul class="dropdown-menu"> <li><a tabindex="-1" href="#">Second level link</a></li> <li><a tabindex="-1" href="#">Second level link</a></li> <li><a tabindex="-1" href="#">Second level link</a></li> <li><a tabindex="-1" href="#">Second level link</a></li> <li><a tabindex="-1" href="#">Second level link</a></li> </ul> </li> </ul> </div> </div> <div class="pull-left"> <p class="muted">Left submenu</p> <div class="dropdown"> <button class="btn dropdown-toggle hidden" type="button" id="dropdownMenu5" data-toggle="dropdown"> Dropdown <span class="caret"></span> </button> <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu5"> <li><a tabindex="-1" href="#">Action</a></li> <li><a tabindex="-1" href="#">Another action</a></li> <li><a tabindex="-1" href="#">Something else here</a></li> <li class="divider"></li> <li class="dropdown-submenu pull-left"> <a tabindex="-1" href="#">More options</a> <ul class="dropdown-menu"> <li><a tabindex="-1" href="#">Second level link</a></li> <li><a tabindex="-1" href="#">Second level link</a></li> <li><a tabindex="-1" href="#">Second level link</a></li> <li><a tabindex="-1" href="#">Second level link</a></li> <li><a tabindex="-1" href="#">Second level link</a></li> </ul> </li> </ul> </div> </div> </div> <pre class="prettyprint linenums"> &lt;ul class="dropdown-menu" role="menu" aria-labelledby="dLabel"&gt; ... &lt;li class="dropdown-submenu"&gt; &lt;a tabindex="-1" href="#"&gt;More options&lt;/a&gt; &lt;ul class="dropdown-menu"&gt; ... &lt;/ul&gt; &lt;/li&gt; &lt;/ul&gt; </pre> </section> <!-- Button Groups ================================================== --> <section id="buttonGroups"> <div class="page-header"> <h1>Button groups</h1> </div> <h2>Examples</h2> <p>Two basic options, along with two more specific variations.</p> <h3>Single button group</h3> <p>Wrap a series of buttons with <code>.btn</code> in <code>.btn-group</code>.</p> <div class="bs-docs-example"> <div class="btn-group" style="margin: 9px 0 5px;"> <button class="btn">Left</button> <button class="btn">Middle</button> <button class="btn">Right</button> </div> </div> <pre class="prettyprint linenums"> &lt;div class="btn-group"&gt; &lt;button class="btn"&gt;Left&lt;/button&gt; &lt;button class="btn"&gt;Middle&lt;/button&gt; &lt;button class="btn"&gt;Right&lt;/button&gt; &lt;/div&gt; </pre> <h3>Multiple button groups</h3> <p>Combine sets of <code>&lt;div class="btn-group"&gt;</code> into a <code>&lt;div class="btn-toolbar"&gt;</code> for more complex components.</p> <div class="bs-docs-example"> <div class="btn-toolbar" style="margin: 0;"> <div class="btn-group"> <button class="btn">1</button> <button class="btn">2</button> <button class="btn">3</button> <button class="btn">4</button> </div> <div class="btn-group"> <button class="btn">5</button> <button class="btn">6</button> <button class="btn">7</button> </div> <div class="btn-group"> <button class="btn">8</button> </div> </div> </div> <pre class="prettyprint linenums"> &lt;div class="btn-toolbar"&gt; &lt;div class="btn-group"&gt; ... &lt;/div&gt; &lt;/div&gt; </pre> <h3>Vertical button groups</h3> <p>Make a set of buttons appear vertically stacked rather than horizontally.</p> <div class="bs-docs-example"> <div class="btn-group btn-group-vertical"> <button type="button" class="btn"><i class="icon-align-left"></i></button> <button type="button" class="btn"><i class="icon-align-center"></i></button> <button type="button" class="btn"><i class="icon-align-right"></i></button> <button type="button" class="btn"><i class="icon-align-justify"></i></button> </div> </div> <pre class="prettyprint linenums"> &lt;div class="btn-group btn-group-vertical"&gt; ... &lt;/div&gt; </pre> <hr class="bs-docs-separator"> <h4>Checkbox and radio flavors</h4> <p>Button groups can also function as radios, where only one button may be active, or checkboxes, where any number of buttons may be active. View <a href="./javascript.html#buttons">the JavaScript docs</a> for that.</p> <h4>Dropdowns in button groups</h4> <p><span class="label label-info">Heads up!</span> Buttons with dropdowns must be individually wrapped in their own <code>.btn-group</code> within a <code>.btn-toolbar</code> for proper rendering.</p> </section> <!-- Split button dropdowns ================================================== --> <section id="buttonDropdowns"> <div class="page-header"> <h1>Button dropdown menus</h1> </div> <h2>Overview and examples</h2> <p>Use any button to trigger a dropdown menu by placing it within a <code>.btn-group</code> and providing the proper menu markup.</p> <div class="bs-docs-example"> <div class="btn-toolbar" style="margin: 0;"> <div class="btn-group"> <button class="btn dropdown-toggle" data-toggle="dropdown">Action <span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> <div class="btn-group"> <button class="btn btn-primary dropdown-toggle" data-toggle="dropdown">Action <span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> <div class="btn-group"> <button class="btn btn-danger dropdown-toggle" data-toggle="dropdown">Danger <span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> <div class="btn-group"> <button class="btn btn-warning dropdown-toggle" data-toggle="dropdown">Warning <span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> <div class="btn-group"> <button class="btn btn-success dropdown-toggle" data-toggle="dropdown">Success <span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> <div class="btn-group"> <button class="btn btn-info dropdown-toggle" data-toggle="dropdown">Info <span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> <div class="btn-group"> <button class="btn btn-inverse dropdown-toggle" data-toggle="dropdown">Inverse <span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> </div><!-- /btn-toolbar --> </div> <pre class="prettyprint linenums"> &lt;div class="btn-group"&gt; &lt;a class="btn dropdown-toggle" data-toggle="dropdown" href="#"&gt; Action &lt;span class="caret"&gt;&lt;/span&gt; &lt;/a&gt; &lt;ul class="dropdown-menu"&gt; &lt;!-- dropdown menu links --&gt; &lt;/ul&gt; &lt;/div&gt; </pre> <h3>Works with all button sizes</h3> <p>Button dropdowns work at any size: <code>.btn-large</code>, <code>.btn-small</code>, or <code>.btn-mini</code>.</p> <div class="bs-docs-example"> <div class="btn-toolbar" style="margin: 0;"> <div class="btn-group"> <button class="btn btn-large dropdown-toggle" data-toggle="dropdown">Large button <span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> <div class="btn-group"> <button class="btn btn-small dropdown-toggle" data-toggle="dropdown">Small button <span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> <div class="btn-group"> <button class="btn btn-mini dropdown-toggle" data-toggle="dropdown">Mini button <span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> </div><!-- /btn-toolbar --> </div> <h3>Requires JavaScript</h3> <p>Button dropdowns require the <a href="./javascript.html#dropdowns">Bootstrap dropdown plugin</a> to function.</p> <p>In some cases&mdash;like mobile&mdash;dropdown menus will extend outside the viewport. You need to resolve the alignment manually or with custom JavaScript.</p> <hr class="bs-docs-separator"> <h2>Split button dropdowns</h2> <p>Building on the button group styles and markup, we can easily create a split button. Split buttons feature a standard action on the left and a dropdown toggle on the right with contextual links.</p> <div class="bs-docs-example"> <div class="btn-toolbar" style="margin: 0;"> <div class="btn-group"> <button class="btn">Action</button> <button class="btn dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> <div class="btn-group"> <button class="btn btn-primary">Action</button> <button class="btn btn-primary dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> <div class="btn-group"> <button class="btn btn-danger">Danger</button> <button class="btn btn-danger dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> <div class="btn-group"> <button class="btn btn-warning">Warning</button> <button class="btn btn-warning dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> <div class="btn-group"> <button class="btn btn-success">Success</button> <button class="btn btn-success dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> <div class="btn-group"> <button class="btn btn-info">Info</button> <button class="btn btn-info dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> <div class="btn-group"> <button class="btn btn-inverse">Inverse</button> <button class="btn btn-inverse dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> </div><!-- /btn-toolbar --> </div> <pre class="prettyprint linenums"> &lt;div class="btn-group"&gt; &lt;button class="btn"&gt;Action&lt;/button&gt; &lt;button class="btn dropdown-toggle" data-toggle="dropdown"&gt; &lt;span class="caret"&gt;&lt;/span&gt; &lt;/button&gt; &lt;ul class="dropdown-menu"&gt; &lt;!-- dropdown menu links --&gt; &lt;/ul&gt; &lt;/div&gt; </pre> <h3>Sizes</h3> <p>Utilize the extra button classes <code>.btn-mini</code>, <code>.btn-small</code>, or <code>.btn-large</code> for sizing.</p> <div class="bs-docs-example"> <div class="btn-toolbar"> <div class="btn-group"> <button class="btn btn-large">Large action</button> <button class="btn btn-large dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> </div><!-- /btn-toolbar --> <div class="btn-toolbar"> <div class="btn-group"> <button class="btn btn-small">Small action</button> <button class="btn btn-small dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> </div><!-- /btn-toolbar --> <div class="btn-toolbar"> <div class="btn-group"> <button class="btn btn-mini">Mini action</button> <button class="btn btn-mini dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> </div><!-- /btn-toolbar --> </div> <pre class="prettyprint linenums"> &lt;div class="btn-group"&gt; &lt;button class="btn btn-mini"&gt;Action&lt;/button&gt; &lt;button class="btn btn-mini dropdown-toggle" data-toggle="dropdown"&gt; &lt;span class="caret"&gt;&lt;/span&gt; &lt;/button&gt; &lt;ul class="dropdown-menu"&gt; &lt;!-- dropdown menu links --&gt; &lt;/ul&gt; &lt;/div&gt; </pre> <h3>Dropup menus</h3> <p>Dropdown menus can also be toggled from the bottom up by adding a single class to the immediate parent of <code>.dropdown-menu</code>. It will flip the direction of the <code>.caret</code> and reposition the menu itself to move from the bottom up instead of top down.</p> <div class="bs-docs-example"> <div class="btn-toolbar" style="margin: 0;"> <div class="btn-group dropup"> <button class="btn">Dropup</button> <button class="btn dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> <div class="btn-group dropup"> <button class="btn primary">Right dropup</button> <button class="btn primary dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button> <ul class="dropdown-menu pull-right"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> </div> </div> <pre class="prettyprint linenums"> &lt;div class="btn-group dropup"&gt; &lt;button class="btn"&gt;Dropup&lt;/button&gt; &lt;button class="btn dropdown-toggle" data-toggle="dropdown"&gt; &lt;span class="caret"&gt;&lt;/span&gt; &lt;/button&gt; &lt;ul class="dropdown-menu"&gt; &lt;!-- dropdown menu links --&gt; &lt;/ul&gt; &lt;/div&gt; </pre> </section> <!-- Nav, Tabs, & Pills ================================================== --> <section id="navs"> <div class="page-header"> <h1>Nav: tabs, pills, and lists</h1> </div> <h2>Lightweight defaults <small>Same markup, different classes</small></h2> <p>All nav components here&mdash;tabs, pills, and lists&mdash;<strong>share the same base markup and styles</strong> through the <code>.nav</code> class.</p> <h3>Basic tabs</h3> <p>Take a regular <code>&lt;ul&gt;</code> of links and add <code>.nav-tabs</code>:</p> <div class="bs-docs-example"> <ul class="nav nav-tabs"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Profile</a></li> <li><a href="#">Messages</a></li> </ul> </div> <pre class="prettyprint linenums"> &lt;ul class="nav nav-tabs"&gt; &lt;li class="active"&gt; &lt;a href="#"&gt;Home&lt;/a&gt; &lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;...&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;...&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; </pre> <h3>Basic Google tabs</h3> <p>Take a regular <code>&lt;ul&gt;</code> of links and add <code>.nav-tabs .nav-tabs-google</code>:</p> <div class="bs-docs-example"> <ul class="nav nav-tabs nav-tabs-google"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Profile</a></li> <li><a href="#">Messages</a></li> </ul> </div> <pre class="prettyprint linenums"> &lt;ul class="nav nav-tabs nav-tabs-google"&gt; &lt;li class="active"&gt; &lt;a href="#"&gt;Home&lt;/a&gt; &lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;...&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;...&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; </pre> <h3>Basic pills</h3> <p>Take that same HTML, but use <code>.nav-pills</code> instead:</p> <div class="bs-docs-example"> <ul class="nav nav-pills"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Profile</a></li> <li><a href="#">Messages</a></li> </ul> </div> <pre class="prettyprint linenums"> &lt;ul class="nav nav-pills"&gt; &lt;li class="active"&gt; &lt;a href="#"&gt;Home&lt;/a&gt; &lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;...&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;...&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; </pre> <h3>Disabled state</h3> <p>For any nav component (tabs, pills, or list), add <code>.disabled</code> for <strong>gray links and no hover effects</strong>. Links will remain clickable, however, unless you remove the <code>href</code> attribute. Alternatively, you could implement custom JavaScript to prevent those clicks.</p> <div class="bs-docs-example"> <ul class="nav nav-pills"> <li><a href="#">Clickable link</a></li> <li><a href="#">Clickable link</a></li> <li class="disabled"><a href="#">Disabled link</a></li> </ul> </div> <pre class="prettyprint linenums"> &lt;ul class="nav nav-pills"&gt; ... &lt;li class="disabled"&gt;&lt;a href="#"&gt;Home&lt;/a&gt;&lt;/li&gt; ... &lt;/ul&gt; </pre> <h3>Component alignment</h3> <p>To align nav links, use the <code>.pull-left</code> or <code>.pull-right</code> utility classes. Both classes will add a CSS float in the specified direction.</p> <hr class="bs-docs-separator"> <h2>Stackable</h2> <p>As tabs and pills are horizontal by default, just add a second class, <code>.nav-stacked</code>, to make them appear vertically stacked.</p> <h3>Stacked tabs</h3> <div class="bs-docs-example"> <ul class="nav nav-tabs nav-stacked"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Profile</a></li> <li><a href="#">Messages</a></li> </ul> </div> <pre class="prettyprint linenums"> &lt;ul class="nav nav-tabs nav-stacked"&gt; ... &lt;/ul&gt; </pre> <h3>Stacked pills</h3> <div class="bs-docs-example"> <ul class="nav nav-pills nav-stacked"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Profile</a></li> <li><a href="#">Messages</a></li> </ul> </div> <pre class="prettyprint linenums"> &lt;ul class="nav nav-pills nav-stacked"&gt; ... &lt;/ul&gt; </pre> <hr class="bs-docs-separator"> <h2>Dropdowns</h2> <p>Add dropdown menus with a little extra HTML and the <a href="./javascript.html#dropdowns">dropdowns JavaScript plugin</a>.</p> <h3>Tabs with dropdowns</h3> <div class="bs-docs-example"> <ul class="nav nav-tabs"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Help</a></li> <li class="dropdown"> <a class="dropdown-toggle" data-toggle="dropdown" href="#">Dropdown <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </li> </ul> </div> <pre class="prettyprint linenums"> &lt;ul class="nav nav-tabs"&gt; &lt;li class="dropdown"&gt; &lt;a class="dropdown-toggle" data-toggle="dropdown" href="#"&gt; Dropdown &lt;b class="caret"&gt;&lt;/b&gt; &lt;/a&gt; &lt;ul class="dropdown-menu"&gt; &lt;!-- links --&gt; &lt;/ul&gt; &lt;/li&gt; &lt;/ul&gt; </pre> <h3>Pills with dropdowns</h3> <div class="bs-docs-example"> <ul class="nav nav-pills"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Help</a></li> <li class="dropdown"> <a class="dropdown-toggle" data-toggle="dropdown" href="#">Dropdown <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </li> </ul> </div> <pre class="prettyprint linenums"> &lt;ul class="nav nav-pills"&gt; &lt;li class="dropdown"&gt; &lt;a class="dropdown-toggle" data-toggle="dropdown" href="#"&gt; Dropdown &lt;b class="caret"&gt;&lt;/b&gt; &lt;/a&gt; &lt;ul class="dropdown-menu"&gt; &lt;!-- links --&gt; &lt;/ul&gt; &lt;/li&gt; &lt;/ul&gt; </pre> <hr class="bs-docs-separator"> <h2>Nav lists</h2> <p>A simple and easy way to build groups of nav links with optional headers. They're best used in sidebars like the Finder in OS X.</p> <h3>Example nav list</h3> <p>Take a list of links and add <code>class="nav nav-list"</code>:</p> <div class="bs-docs-example"> <div style="max-width: 340px; padding: 8px 0;"> <ul class="nav nav-list"> <li class="nav-header">List header</li> <li class="active"><a href="#">Home</a></li> <li><a href="#">Library</a></li> <li><a href="#">Applications</a></li> <li class="nav-header">Another list header</li> <li><a href="#">Profile</a></li> <li><a href="#">Settings</a></li> <li class="divider"></li> <li><a href="#">Help</a></li> </ul> </div> <!-- /well --> </div> <pre class="prettyprint linenums"> &lt;ul class="nav nav-list"&gt; &lt;li class="nav-header"&gt;List header&lt;/li&gt; &lt;li class="active"&gt;&lt;a href="#"&gt;Home&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Library&lt;/a&gt;&lt;/li&gt; ... &lt;/ul&gt; </pre> <p> <span class="label label-info">Note</span> For nesting within a nav list, include <code>class="nav nav-list"</code> on any nested <code>&lt;ul&gt;</code>. </p> <h3>Horizontal dividers</h3> <p>Add a horizontal divider by creating an empty list item with the class <code>.divider</code>, like so:</p> <pre class="prettyprint linenums"> &lt;ul class="nav nav-list"&gt; ... &lt;li class="divider"&gt;&lt;/li&gt; ... &lt;/ul&gt; </pre> <hr class="bs-docs-separator"> <h2>Tabbable nav</h2> <p>Bring your tabs to life with a simple plugin to toggle between content via tabs. Bootstrap integrates tabbable tabs in four styles: top (default), right, bottom, and left.</p> <h3>Tabbable example</h3> <p>To make tabs tabbable, create a <code>.tab-pane</code> with unique ID for every tab and wrap them in <code>.tab-content</code>.</p> <div class="bs-docs-example"> <div class="tabbable" style="margin-bottom: 18px;"> <ul class="nav nav-tabs"> <li class="active"><a href="#tab1" data-toggle="tab">Section 1</a></li> <li><a href="#tab2" data-toggle="tab">Section 2</a></li> <li><a href="#tab3" data-toggle="tab">Section 3</a></li> </ul> <div class="tab-content" style="padding-bottom: 9px; border-bottom: 1px solid #ddd;"> <div class="tab-pane active" id="tab1"> <p>I'm in Section 1.</p> </div> <div class="tab-pane" id="tab2"> <p>Howdy, I'm in Section 2.</p> </div> <div class="tab-pane" id="tab3"> <p>What up girl, this is Section 3.</p> </div> </div> </div> <!-- /tabbable --> </div> <pre class="prettyprint linenums"> &lt;div class="tabbable"&gt; &lt;!-- Only required for left/right tabs --&gt; &lt;ul class="nav nav-tabs"&gt; &lt;li class="active"&gt;&lt;a href="#tab1" data-toggle="tab"&gt;Section 1&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#tab2" data-toggle="tab"&gt;Section 2&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;div class="tab-content"&gt; &lt;div class="tab-pane active" id="tab1"&gt; &lt;p&gt;I'm in Section 1.&lt;/p&gt; &lt;/div&gt; &lt;div class="tab-pane" id="tab2"&gt; &lt;p&gt;Howdy, I'm in Section 2.&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; </pre> <h4>Fade in tabs</h4> <p>To make tabs fade in, add <code>.fade</code> to each <code>.tab-pane</code>.</p> <h4>Requires jQuery plugin</h4> <p>All tabbable tabs are powered by our lightweight jQuery plugin. Read more about how to bring tabbable tabs to life <a href="./javascript.html#tabs">on the JavaScript docs page</a>.</p> <h3>Tabbable in any direction</h3> <h4>Tabs on the bottom</h4> <p>Flip the order of the HTML and add a class to put tabs on the bottom.</p> <div class="bs-docs-example"> <div class="tabbable tabs-below"> <div class="tab-content"> <div class="tab-pane active" id="A"> <p>I'm in Section A.</p> </div> <div class="tab-pane" id="B"> <p>Howdy, I'm in Section B.</p> </div> <div class="tab-pane" id="C"> <p>What up girl, this is Section C.</p> </div> </div> <ul class="nav nav-tabs"> <li class="active"><a href="#A" data-toggle="tab">Section 1</a></li> <li><a href="#B" data-toggle="tab">Section 2</a></li> <li><a href="#C" data-toggle="tab">Section 3</a></li> </ul> </div> <!-- /tabbable --> </div> <pre class="prettyprint linenums"> &lt;div class="tabbable tabs-below"&gt; &lt;div class="tab-content"&gt; ... &lt;/div&gt; &lt;ul class="nav nav-tabs"&gt; ... &lt;/ul&gt; &lt;/div&gt; </pre> <h4>Tabs on the left</h4> <p>Swap the class to put tabs on the left.</p> <div class="bs-docs-example"> <div class="tabbable tabs-left"> <ul class="nav nav-tabs"> <li class="active"><a href="#lA" data-toggle="tab">Section 1</a></li> <li><a href="#lB" data-toggle="tab">Section 2</a></li> <li><a href="#lC" data-toggle="tab">Section 3</a></li> </ul> <div class="tab-content"> <div class="tab-pane active" id="lA"> <p>I'm in Section A.</p> </div> <div class="tab-pane" id="lB"> <p>Howdy, I'm in Section B.</p> </div> <div class="tab-pane" id="lC"> <p>What up girl, this is Section C.</p> </div> </div> </div> <!-- /tabbable --> </div> <pre class="prettyprint linenums"> &lt;div class="tabbable tabs-left"&gt; &lt;ul class="nav nav-tabs"&gt; ... &lt;/ul&gt; &lt;div class="tab-content"&gt; ... &lt;/div&gt; &lt;/div&gt; </pre> <h4>Tabs on the right</h4> <p>Swap the class to put tabs on the right.</p> <div class="bs-docs-example"> <div class="tabbable tabs-right"> <ul class="nav nav-tabs"> <li class="active"><a href="#rA" data-toggle="tab">Section 1</a></li> <li><a href="#rB" data-toggle="tab">Section 2</a></li> <li><a href="#rC" data-toggle="tab">Section 3</a></li> </ul> <div class="tab-content"> <div class="tab-pane active" id="rA"> <p>I'm in Section A.</p> </div> <div class="tab-pane" id="rB"> <p>Howdy, I'm in Section B.</p> </div> <div class="tab-pane" id="rC"> <p>What up girl, this is Section C.</p> </div> </div> </div> <!-- /tabbable --> </div> <pre class="prettyprint linenums"> &lt;div class="tabbable tabs-right"&gt; &lt;ul class="nav nav-tabs"&gt; ... &lt;/ul&gt; &lt;div class="tab-content"&gt; ... &lt;/div&gt; &lt;/div&gt; </pre> </section> <!-- Navbar ================================================== --> <section id="navbar"> <div class="page-header"> <h1>Navbar</h1> </div> <h2>Basic navbar</h2> <p>To start, navbars are static (not fixed to the top) and include support for a project name and basic navigation. Place one anywhere within a <code>.container</code>, which sets the width of your site and content.</p> <div class="bs-docs-example"> <div class="navbar"> <div class="navbar-inner"> <a class="brand" href="#">Title</a> <ul class="nav"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> </ul> </div> </div> </div> <pre class="prettyprint linenums"> &lt;div class="navbar"&gt; &lt;div class="navbar-inner"&gt; &lt;a class="brand" href="#"&gt;Title&lt;/a&gt; &lt;ul class="nav"&gt; &lt;li class="active"&gt;&lt;a href="#"&gt;Home&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;/div&gt; </pre> <hr class="bs-docs-separator"> <h2>Navbar components</h2> <h3>Brand</h3> <p>A simple link to show your brand or project name only requires an anchor tag.</p> <div class="bs-docs-example"> <div class="navbar"> <div class="navbar-inner"> <a class="brand" href="#">Title</a> </div> </div> </div> <pre class="prettyprint linenums"> &lt;a class="brand" href="#"&gt;Project name&lt;/a&gt; </pre> <h3>Nav links</h3> <p>Nav items are simple to add via unordered lists.</p> <div class="bs-docs-example"> <div class="navbar"> <div class="navbar-inner"> <ul class="nav"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> </ul> </div> </div> </div> <pre class="prettyprint linenums"> &lt;ul class="nav"&gt; &lt;li class="active"&gt; &lt;a href="#">Home&lt;/a&gt; &lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; </pre> <p>You can easily add dividers to your nav links with an empty list item and a simple class. Just add this between links:</p> <div class="bs-docs-example"> <div class="navbar"> <div class="navbar-inner"> <ul class="nav"> <li class="active"><a href="#">Home</a></li> <li class="divider-vertical"></li> <li><a href="#">Link</a></li> <li class="divider-vertical"></li> <li><a href="#">Link</a></li> <li class="divider-vertical"></li> </ul> </div> </div> </div> <pre class="prettyprint linenums"> &lt;ul class="nav"&gt; ... &lt;li class="divider-vertical"&gt;&lt;/li&gt; ... &lt;/ul&gt; </pre> <h3>Forms</h3> <p>To properly style and position a form within the navbar, add the appropriate classes as shown below. For a default form, include <code>.navbar-form</code> and either <code>.pull-left</code> or <code>.pull-right</code> to properly align it.</p> <div class="bs-docs-example"> <div class="navbar"> <div class="navbar-inner"> <form class="navbar-form pull-left"> <input type="text" class="span2"> <button type="submit" class="btn">Submit</button> </form> </div> </div> </div> <pre class="prettyprint linenums"> &lt;form class="navbar-form pull-left"&gt; &lt;input type="text" class="span2"&gt; &lt;button type="submit" class="btn"&gt;Submit&lt;/button&gt; &lt;/form&gt; </pre> <h3>Search form</h3> <p>For a more customized search form, add <code>.navbar-search</code> to the <code>form</code> and <code>.search-query</code> to the input for specialized styles in the navbar.</p> <div class="bs-docs-example"> <div class="navbar"> <div class="navbar-inner"> <form class="navbar-search pull-left"> <input type="text" class="search-query" placeholder="Search"> </form> </div> </div> </div> <pre class="prettyprint linenums"> &lt;form class="navbar-search pull-left"&gt; &lt;input type="text" class="search-query" placeholder="Search"&gt; &lt;/form&gt; </pre> <h3>Component alignment</h3> <p>Align nav links, search form, or text, use the <code>.pull-left</code> or <code>.pull-right</code> utility classes. Both classes will add a CSS float in the specified direction.</p> <h3>Using dropdowns</h3> <p>Add dropdowns and dropups to the nav with a bit of markup and the <a href="./javascript.html#dropdowns">dropdowns JavaScript plugin</a>.</p> <pre class="prettyprint linenums"> &lt;ul class="nav"&gt; &lt;li class="dropdown"&gt; &lt;a href="#" class="dropdown-toggle" data-toggle="dropdown"> Account &lt;b class="caret"&gt;&lt;/b&gt; &lt;/a&gt; &lt;ul class="dropdown-menu"&gt; ... &lt;/ul&gt; &lt;/li&gt; &lt;/ul&gt; </pre> <p>Visit the <a href="./javascript.html#dropdowns">JavaScript dropdowns documentation</a> for more markup and information on calling dropdowns.</p> <h3>Text</h3> <p>Wrap strings of text in an element with <code>.navbar-text</code>, usually on a <code>&lt;p&gt;</code> tag for proper leading and color.</p> <hr class="bs-docs-separator"> <h2>Optional display variations</h2> <p>Fix the navbar to the top or bottom of the viewport with an additional class on the outermost div, <code>.navbar</code>.</p> <h3>Fixed to top</h3> <p>Add <code>.navbar-fixed-top</code> and remember to account for the hidden area underneath it by adding at least 30px <code>padding</code> to the <code>&lt;body&gt;</code>. Be sure to add this after the core Bootstrap CSS and before the optional responsive CSS.</p> <div class="bs-docs-example bs-navbar-top-example"> <div class="navbar navbar-fixed-top" style="position: absolute;"> <div class="navbar-inner"> <div class="container" style="width: auto; padding: 0 20px;"> <a class="brand" href="#">Title</a> <ul class="nav"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> </ul> </div> </div> </div> </div> <pre class="prettyprint linenums"> &lt;div class="navbar navbar-fixed-top"&gt; ... &lt;/div&gt; </pre> <h3>Fixed to bottom</h3> <p>Add <code>.navbar-fixed-bottom</code> instead.</p> <div class="bs-docs-example bs-navbar-bottom-example"> <div class="navbar navbar-fixed-bottom" style="position: absolute;"> <div class="navbar-inner"> <div class="container" style="width: auto; padding: 0 20px;"> <a class="brand" href="#">Title</a> <ul class="nav"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> </ul> </div> </div> </div> </div> <pre class="prettyprint linenums"> &lt;div class="navbar navbar-fixed-bottom"&gt; ... &lt;/div&gt; </pre> <h3>Static top navbar</h3> <p>Create a full-width navbar that scrolls away with the page by adding <code>.navbar-static-top</code>. Unlike the <code>.navbar-fixed-top</code> class, you do not need to change any padding on the <code>body</code>.</p> <div class="bs-docs-example bs-navbar-top-example"> <div class="navbar navbar-static-top" style="margin: -1px -1px 0;"> <div class="navbar-inner"> <div class="container" style="width: auto; padding: 0 20px;"> <a class="brand" href="#">Title</a> <ul class="nav"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> </ul> </div> </div> </div> </div> <pre class="prettyprint linenums"> &lt;div class="navbar navbar-static-top"&gt; ... &lt;/div&gt; </pre> <hr class="bs-docs-separator"> <h2>Responsive navbar</h2> <p>To implement a collapsing responsive navbar, wrap your navbar content in a containing div, <code>.nav-collapse.collapse</code>, and add the navbar toggle button, <code>.btn-navbar</code>.</p> <div class="bs-docs-example"> <div class="navbar"> <div class="navbar-inner"> <div class="container"> <a class="btn btn-navbar" data-toggle="collapse" data-target=".navbar-responsive-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a> <a class="brand" href="#">Title</a> <div class="nav-collapse collapse navbar-responsive-collapse"> <ul class="nav"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li class="nav-header">Nav header</li> <li><a href="#">Separated link</a></li> <li><a href="#">One more separated link</a></li> </ul> </li> </ul> <form class="navbar-search pull-left"> <input type="text" class="search-query span2" placeholder="Search"> </form> <ul class="nav pull-right"> <li><a href="#">Link</a></li> <li class="divider-vertical"></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </li> </ul> </div><!-- /.nav-collapse --> </div> </div><!-- /navbar-inner --> </div><!-- /navbar --> </div> <pre class="prettyprint linenums"> &lt;div class="navbar"&gt; &lt;div class="navbar-inner"&gt; &lt;div class="container"&gt; &lt;!-- .btn-navbar is used as the toggle for collapsed navbar content --&gt; &lt;a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"&gt; &lt;span class="icon-bar"&gt;&lt;/span&gt; &lt;span class="icon-bar"&gt;&lt;/span&gt; &lt;span class="icon-bar"&gt;&lt;/span&gt; &lt;/a&gt; &lt;!-- Be sure to leave the brand out there if you want it shown --&gt; &lt;a class="brand" href="#"&gt;Project name&lt;/a&gt; &lt;!-- Everything you want hidden at 940px or less, place within here --&gt; &lt;div class="nav-collapse collapse"&gt; &lt;!-- .nav, .navbar-search, .navbar-form, etc --&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; </pre> <div class="alert alert-info"> <strong>Heads up!</strong> The responsive navbar requires the <a href="./javascript.html#collapse">collapse plugin</a> and <a href="./scaffolding.html#responsive">responsive Bootstrap CSS file</a>. </div> <hr class="bs-docs-separator"> <h2>Inverted variation</h2> <p>Modify the look of the navbar by adding <code>.navbar-inverse</code>.</p> <div class="bs-docs-example"> <div class="navbar navbar-inverse" style="position: static;"> <div class="navbar-inner"> <div class="container"> <a class="btn btn-navbar" data-toggle="collapse" data-target=".navbar-inverse-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a> <a class="brand" href="#">Title</a> <div class="nav-collapse collapse navbar-inverse-collapse"> <ul class="nav"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li class="nav-header">Nav header</li> <li><a href="#">Separated link</a></li> <li><a href="#">One more separated link</a></li> </ul> </li> </ul> <form class="navbar-search pull-left"> <input type="text" class="search-query span2" placeholder="Search"> </form> <ul class="nav pull-right"> <li><a href="#">Link</a></li> <li class="divider-vertical"></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </li> </ul> </div><!-- /.nav-collapse --> </div> </div><!-- /navbar-inner --> </div><!-- /navbar --> </div> <pre class="prettyprint linenums"> &lt;div class="navbar navbar-inverse"&gt; ... &lt;/div&gt; </pre> </section> <!-- Masthead ================================================== --> <section id="navbar-masthead"> <div class="page-header"> <h1>Masthead</h1> </div> <h2>Basic Masthead</h2> <p>To start, navbars are static (not fixed to the top) and include support for a project name and basic navigation. Place one anywhere within a <code>.container</code>, which sets the width of your site and content.</p> <div class="bs-docs-example"> <div class="navbar navbar-masthead"> <div class="navbar-inner"> <a class="brand" href="#">Title</a> <form class="navbar-form pull-left"> <input type="text" class="span3" placeholder="Search"> <button class="btn btn-primary" type="submit"><i class="icon-search icon-white"></i></button> </form> <ul class="nav pull-right"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> </ul> </div> </div> </div> <pre class="prettyprint linenums"> &lt;div class="navbar navbar-masthead"&gt; &lt;div class="navbar-inner"&gt; &lt;a class="brand" href="#"&gt;Title&lt;/a&gt; &lt;form class="navbar-form pull-left"&gt; &lt;input type="text" class="span3" placeholder="Search"&gt; &lt;button class="btn btn-primary" type="submit"> &lt;i class="icon-search icon-white">&lt;/i&gt; &lt;/button&gt; &lt;/form&gt; &lt;ul class="nav"&gt; &lt;li class="active"&gt;&lt;a href="#"&gt;Home&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;/div&gt; </pre> <hr class="bs-docs-separator"> <h2>Masthead components</h2> <h3>Brand</h3> <p>A simple link to show your brand or project name only requires an anchor tag.</p> <div class="bs-docs-example"> <div class="navbar navbar-masthead"> <div class="navbar-inner"> <a class="brand" href="#">Title</a> </div> </div> </div> <pre class="prettyprint linenums"> &lt;a class="brand" href="#"&gt;Project name&lt;/a&gt; </pre> <h3>Nav links</h3> <p>Nav items are simple to add via unordered lists.</p> <div class="bs-docs-example"> <div class="navbar navbar-masthead"> <div class="navbar-inner"> <ul class="nav"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> </ul> </div> </div> </div> <pre class="prettyprint linenums"> &lt;ul class="nav navbar-masthead"&gt; &lt;li class="active"&gt; &lt;a href="#">Home&lt;/a&gt; &lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; </pre> <p>You can easily add dividers to your nav links with an empty list item and a simple class. Just add this between links:</p> <div class="bs-docs-example"> <div class="navbar navbar-masthead"> <div class="navbar-inner"> <ul class="nav"> <li class="active"><a href="#">Home</a></li> <li class="divider-vertical"></li> <li><a href="#">Link</a></li> <li class="divider-vertical"></li> <li><a href="#">Link</a></li> <li class="divider-vertical"></li> </ul> </div> </div> </div> <pre class="prettyprint linenums"> &lt;ul class="nav"&gt; ... &lt;li class="divider-vertical"&gt;&lt;/li&gt; ... &lt;/ul&gt; </pre> <h3>Forms</h3> <p>To properly style and position a form within the navbar, add the appropriate classes as shown below. For a default form, include <code>.navbar-form</code> and either <code>.pull-left</code> or <code>.pull-right</code> to properly align it.</p> <div class="bs-docs-example"> <div class="navbar navbar-masthead"> <div class="navbar-inner"> <form class="navbar-form pull-left"> <input type="text" class="span2"> <button type="submit" class="btn btn-primary">Submit</button> </form> </div> </div> </div> <pre class="prettyprint linenums"> &lt;form class="navbar-form pull-left"&gt; &lt;input type="text" class="span2"&gt; &lt;button type="submit" class="btn btn-primary"&gt;Submit&lt;/button&gt; &lt;/form&gt; </pre> <h3>Search form</h3> <p>For a more customized search form, add <code>.navbar-search</code> to the <code>form</code> and <code>.search-query</code> to the input for specialized styles in the navbar.</p> <div class="bs-docs-example"> <div class="navbar navbar-masthead"> <div class="navbar-inner"> <form class="navbar-search pull-left"> <input type="text" class="search-query" placeholder="Search"> </form> </div> </div> </div> <pre class="prettyprint linenums"> &lt;form class="navbar-search pull-left"&gt; &lt;input type="text" class="search-query" placeholder="Search"&gt; &lt;/form&gt; </pre> <h3>Component alignment</h3> <p>Align nav links, search form, or text, use the <code>.pull-left</code> or <code>.pull-right</code> utility classes. Both classes will add a CSS float in the specified direction.</p> <h3>Using dropdowns</h3> <p>Add dropdowns and dropups to the nav with a bit of markup and the <a href="./javascript.html#dropdowns">dropdowns JavaScript plugin</a>.</p> <div class="bs-docs-example"> <div class="navbar navbar-masthead"> <div class="navbar-inner"> <ul class="nav"> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> Account <b class="caret"></b> </a> <ul class="dropdown-menu"> <li><a href="#">Item 1</a></li> <li><a href="#">Item 2</a></li> <li class="divider"></li> <li><a href="#">Item 3</a></li> </ul> </li> </ul> </div> </div> </div> <pre class="prettyprint linenums"> &lt;ul class="nav"&gt; &lt;li class="dropdown"&gt; &lt;a href="#" class="dropdown-toggle" data-toggle="dropdown"> Account &lt;b class="caret"&gt;&lt;/b&gt; &lt;/a&gt; &lt;ul class="dropdown-menu"&gt; ... &lt;/ul&gt; &lt;/li&gt; &lt;/ul&gt; </pre> <p>Visit the <a href="./javascript.html#dropdowns">JavaScript dropdowns documentation</a> for more markup and information on calling dropdowns.</p> <h3>Text</h3> <p>Wrap strings of text in an element with <code>.navbar-text</code>, usually on a <code>&lt;p&gt;</code> tag for proper leading and color.</p> <div class="bs-docs-example"> <div class="navbar navbar-masthead"> <div class="navbar-inner"> <p class="navbar-text">This is some text</p> </div> </div> </div> <pre class="prettyprint linenums"> &lt;div class="navbar navbar-masthead"&gt; &lt;div class="navbar-inner"&gt; &lt;p class="navbar-text"&gt;This is some text&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; </pre> <hr class="bs-docs-separator"> <h2>Optional display variations</h2> <p>Fix the navbar to the top or bottom of the viewport with an additional class on the outermost div, <code>.navbar</code>.</p> <h3>Fixed to top</h3> <p>Add <code>.navbar-fixed-top</code> and remember to account for the hidden area underneath it by adding at least 46px <code>padding</code> to the <code>&lt;body&gt;</code>. Be sure to add this after the core Bootstrap CSS and before the optional responsive CSS.</p> <div class="bs-docs-example bs-navbar-top-example"> <div class="navbar navbar-masthead navbar-fixed-top" style="position: absolute;"> <div class="navbar-inner"> <div class="container" style="width: auto; padding: 0 20px;"> <a class="brand" href="#">Title</a> <ul class="nav"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> </ul> </div> </div> </div> </div> <pre class="prettyprint linenums"> &lt;div class="navbar navbar-masthead navbar-fixed-top"&gt; ... &lt;/div&gt; </pre> <h3>Fixed to bottom</h3> <p>Add <code>.navbar-fixed-bottom</code> instead.</p> <div class="bs-docs-example bs-navbar-bottom-example"> <div class="navbar navbar-masthead navbar-fixed-bottom" style="position: absolute;"> <div class="navbar-inner"> <div class="container" style="width: auto; padding: 0 20px;"> <a class="brand" href="#">Title</a> <ul class="nav"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> </ul> </div> </div> </div> </div> <pre class="prettyprint linenums"> &lt;div class="navbar navbar-masthead navbar-fixed-bottom"&gt; ... &lt;/div&gt; </pre> <h3>Static top navbar</h3> <p>Create a full-width navbar that scrolls away with the page by adding <code>.navbar-static-top</code>. Unlike the <code>.navbar-fixed-top</code> class, you do not need to change any padding on the <code>body</code>.</p> <div class="bs-docs-example bs-navbar-top-example"> <div class="navbar navbar-masthead navbar-static-top" style="margin: -1px -1px 0;"> <div class="navbar-inner"> <div class="container" style="width: auto; padding: 0 20px;"> <a class="brand" href="#">Title</a> <ul class="nav"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> </ul> </div> </div> </div> </div> <pre class="prettyprint linenums"> &lt;div class="navbar navbar-masthead navbar-static-top"&gt; ... &lt;/div&gt; </pre> <hr class="bs-docs-separator"> <h2>Responsive navbar</h2> <p>To implement a collapsing responsive navbar, wrap your navbar content in a containing div, <code>.nav-collapse.collapse</code>, and add the navbar toggle button, <code>.btn-navbar</code>.</p> <div class="bs-docs-example"> <div class="navbar navbar-masthead"> <div class="navbar-inner"> <div class="container"> <a class="btn btn-navbar" data-toggle="collapse" data-target=".navbar-responsive-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a> <a class="brand" href="#">Title</a> <div class="nav-collapse collapse navbar-responsive-collapse"> <ul class="nav"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li class="nav-header">Nav header</li> <li><a href="#">Separated link</a></li> <li><a href="#">One more separated link</a></li> </ul> </li> </ul> <form class="navbar-search pull-left"> <input type="text" class="search-query span2" placeholder="Search"> </form> <ul class="nav pull-right"> <li><a href="#">Link</a></li> <li class="divider-vertical"></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </li> </ul> </div><!-- /.nav-collapse --> </div> </div><!-- /navbar-inner --> </div><!-- /navbar --> </div> <pre class="prettyprint linenums"> &lt;div class="navbar navbar-masthead"&gt; &lt;div class="navbar-inner"&gt; &lt;div class="container"&gt; &lt;!-- .btn-navbar is used as the toggle for collapsed navbar content --&gt; &lt;a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"&gt; &lt;span class="icon-bar"&gt;&lt;/span&gt; &lt;span class="icon-bar"&gt;&lt;/span&gt; &lt;span class="icon-bar"&gt;&lt;/span&gt; &lt;/a&gt; &lt;!-- Be sure to leave the brand out there if you want it shown --&gt; &lt;a class="brand" href="#"&gt;Project name&lt;/a&gt; &lt;!-- Everything you want hidden at 940px or less, place within here --&gt; &lt;div class="nav-collapse collapse"&gt; &lt;!-- .nav, .navbar-search, .navbar-form, etc --&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; </pre> <div class="alert alert-info"> <strong>Heads up!</strong> The responsive navbar requires the <a href="./javascript.html#collapse">collapse plugin</a> and <a href="./scaffolding.html#responsive">responsive Bootstrap CSS file</a>. </div> <hr class="bs-docs-separator"> <h2>Inverted variation</h2> <p>Modify the look of the navbar by adding <code>.navbar-inverse</code>.</p> <div class="bs-docs-example"> <div class="navbar navbar-masthead navbar-inverse" style="position: static;"> <div class="navbar-inner"> <div class="container"> <a class="btn btn-navbar" data-toggle="collapse" data-target=".navbar-inverse-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a> <a class="brand" href="#">Title</a> <div class="nav-collapse collapse navbar-inverse-collapse"> <ul class="nav"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li class="nav-header">Nav header</li> <li><a href="#">Separated link</a></li> <li><a href="#">One more separated link</a></li> </ul> </li> </ul> <form class="navbar-search pull-left"> <input type="text" class="search-query span2" placeholder="Search"> </form> <ul class="nav pull-right"> <li><a href="#">Link</a></li> <li class="divider-vertical"></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </li> </ul> </div><!-- /.nav-collapse --> </div> </div><!-- /navbar-inner --> </div><!-- /navbar --> </div> <pre class="prettyprint linenums"> &lt;div class="navbar navbar-masthead navbar-inverse"&gt; ... &lt;/div&gt; </pre> </section> <!-- Toolbar ================================================== --> <section id="navbar-toolbar"> <div class="page-header"> <h1>Toolbar <small></small></h1> </div> <h2>Basic Toolbar</h2> <p>To start, navbars are static (not fixed to the top) and include support for a project name and basic navigation. Place one anywhere within a <code>.container</code>, which sets the width of your site and content.</p> <div class="bs-docs-example"> <div class="navbar navbar-toolbar"> <div class="navbar-inner"> <a class="brand" href="#">Title</a> <ul class="nav"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> </ul> </div> </div> </div> <pre class="prettyprint linenums"> &lt;div class="navbar navbar-toolbar"&gt; &lt;div class="navbar-inner"&gt; &lt;a class="brand" href="#"&gt;Title&lt;/a&gt; &lt;ul class="nav"&gt; &lt;li class="active"&gt;&lt;a href="#"&gt;Home&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;/div&gt; </pre> <hr class="bs-docs-separator"> <h2>Toolbar</h2> <p>Combine sets of <code>&lt;div class="btn-group"&gt;</code> into a <code>&lt;div class="btn-toolbar"&gt;</code> to create a toolbar.</p> <div class="bs-docs-example"> <div class="navbar navbar-toolbar"> <div class="navbar-inner"> <div class="btn-toolbar"> <div class="btn-group"> <a href="#" class="btn btn-danger">NEW</a> </div> <div class="btn-group"> <a href="#" class="btn" title="Display All Events">All</a> <a href="#" class="btn" title="Display Events by your Friends">Friends</a> <a href="#" class="btn" title="Display Events by your Family">Family</a> </div> <div class="btn-group"> <a class="btn dropdown-toggle" data-toggle="dropdown" href="#" title="More Filters"> More <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="#" title="Display Events by your Acquantances">Acquantances</a></li> <li><a href="#" title="Display Events by who you are Following">Following</a></li> </ul> </div> <div class="btn-group pull-right"> <a class="btn dropdown-toggle" data-toggle="dropdown" href="#" title="Actions"> <i class="icon-cog"></i> <span class="caret"></span> </a> <ul class="dropdown-menu"> <li class="nav-header">Nav header</li> <li> <a href="#"> <i class="icon-bookmark"></i> Bookmark </a> </li> <li class="divider"></li> <li> <a href="#"><i class="icon-download"></i> Download</a> </li> </ul> </div> </div> </div> </div> </div> <pre class="prettyprint linenums"> &lt;div class="navbar navbar-toolbar"&gt; &lt;div class="navbar-inner"&gt; &lt;div class="btn-toolbar"&gt; &lt;div class="btn-group"&gt; &lt;a href="#" class="btn btn-danger"&gt;NEW&lt;/a&gt; &lt;/div&gt; &lt;div class="btn-group"&gt; &lt;a href="#" class="btn"&gt;All&lt;/a&gt; &lt;a href="#" class="btn"&gt;Friends&lt;/a&gt; &lt;a href="#" class="btn"&gt;Family&lt;/a&gt; &lt;/div&gt; &lt;div class="btn-group"&gt; &lt;a class="btn dropdown-toggle" data-toggle="dropdown" href="#"&gt; More &lt;span class="caret"&gt;&lt;/span&gt; &lt;/a&gt; &lt;ul class="dropdown-menu"&gt; &lt;li&gt;&lt;a href="#"&gt;Acquantances&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Following&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;div class="btn-group pull-right"&gt; &lt;a class="btn dropdown-toggle" data-toggle="dropdown" href="#"&gt; &lt;i class="icon-cog"&gt;&lt;/i&gt; &lt;span class="caret"&gt;&lt;/span&gt; &lt;/a&gt; &lt;ul class="dropdown-menu"&gt; &lt;li class="nav-header"&gt;Nav header&lt;/li&gt; &lt;li&gt; &lt;a href="#"&gt; &lt;i class="icon-bookmark"&gt;&lt;/i&gt; Bookmark &lt;/a&gt; &lt;/li&gt; &lt;li class="divider"&gt;&lt;/li&gt; &lt;li&gt; &lt;a href="#"&gt;&lt;i class="icon-download"&gt;&lt;/i&gt; Download&lt;/a&gt; &lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; </pre> <hr class="bs-docs-separator"> <h2>Toolbar components</h2> <h3>Brand</h3> <p>A simple link to show your brand or project name only requires an anchor tag.</p> <div class="bs-docs-example"> <div class="navbar navbar-toolbar"> <div class="navbar-inner"> <a class="brand" href="#">Title</a> </div> </div> </div> <pre class="prettyprint linenums"> &lt;a class="brand" href="#"&gt;Project name&lt;/a&gt; </pre> <h3>Nav links</h3> <p>Nav items are simple to add via unordered lists.</p> <div class="bs-docs-example"> <div class="navbar navbar-toolbar"> <div class="navbar-inner"> <ul class="nav"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> </ul> </div> </div> </div> <pre class="prettyprint linenums"> &lt;ul class="nav navbar-toolbar"&gt; &lt;li class="active"&gt; &lt;a href="#">Home&lt;/a&gt; &lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; </pre> <p>You can easily add dividers to your nav links with an empty list item and a simple class. Just add this between links:</p> <div class="bs-docs-example"> <div class="navbar navbar-toolbar"> <div class="navbar-inner"> <ul class="nav"> <li class="active"><a href="#">Home</a></li> <li class="divider-vertical"></li> <li><a href="#">Link</a></li> <li class="divider-vertical"></li> <li><a href="#">Link</a></li> <li class="divider-vertical"></li> </ul> </div> </div> </div> <pre class="prettyprint linenums"> &lt;ul class="nav navbar-toolbar"&gt; ... &lt;li class="divider-vertical"&gt;&lt;/li&gt; ... &lt;/ul&gt; </pre> <h3>Forms</h3> <p>To properly style and position a form within the navbar, add the appropriate classes as shown below. For a default form, include <code>.navbar-form</code> and either <code>.pull-left</code> or <code>.pull-right</code> to properly align it.</p> <div class="bs-docs-example"> <div class="navbar navbar-toolbar"> <div class="navbar-inner"> <form class="navbar-form pull-left"> <input type="text" class="span2"> <button type="submit" class="btn">Submit</button> </form> </div> </div> </div> <pre class="prettyprint linenums"> &lt;form class="navbar-form pull-left"&gt; &lt;input type="text" class="span2"&gt; &lt;button type="submit" class="btn"&gt;Submit&lt;/button&gt; &lt;/form&gt; </pre> <h3>Search form</h3> <p>For a more customized search form, add <code>.navbar-search</code> to the <code>form</code> and <code>.search-query</code> to the input for specialized styles in the navbar.</p> <div class="bs-docs-example"> <div class="navbar navbar-toolbar"> <div class="navbar-inner"> <form class="navbar-search pull-left"> <input type="text" class="search-query" placeholder="Search"> </form> </div> </div> </div> <pre class="prettyprint linenums"> &lt;form class="navbar-search pull-left"&gt; &lt;input type="text" class="search-query" placeholder="Search"&gt; &lt;/form&gt; </pre> <h3>Component alignment</h3> <p>Align nav links, search form, or text, use the <code>.pull-left</code> or <code>.pull-right</code> utility classes. Both classes will add a CSS float in the specified direction.</p> <h3>Using dropdowns</h3> <p>Add dropdowns and dropups to the nav with a bit of markup and the <a href="./javascript.html#dropdowns">dropdowns JavaScript plugin</a>.</p> <div class="bs-docs-example"> <div class="navbar navbar-toolbar"> <div class="navbar-inner"> <ul class="nav"> <li class="dropdown"> <a data-toggle="dropdown" class="brand dropdown-toggle" href="#">Brand <b class="caret"></b></a> <ul class="brand dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li class="nav-header">Nav header</li> <li><a href="#">Separated link</a></li> <li><a href="#">One more separated link</a></li> </ul> </li> </ul> <ul class="nav"> <li><a href="#">Home</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> <li class="dropdown active"> <a data-toggle="dropdown" class="dropdown-toggle" href="#">Account <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li class="nav-header">Nav header</li> <li><a href="#">Separated link</a></li> <li><a href="#">One more separated link</a></li> </ul> </li> </ul> </div> </div> </div> <pre class="prettyprint linenums"> &lt;ul class="nav"&gt; &lt;li class="dropdown"&gt; &lt;a href="#" class="dropdown-toggle" data-toggle="dropdown"> Account &lt;b class="caret"&gt;&lt;/b&gt; &lt;/a&gt; &lt;ul class="dropdown-menu"&gt; ... &lt;/ul&gt; &lt;/li&gt; &lt;/ul&gt; </pre> <p>Visit the <a href="./javascript.html#dropdowns">JavaScript dropdowns documentation</a> for more markup and information on calling dropdowns.</p> <h3>Text</h3> <p>Wrap strings of text in an element with <code>.navbar-text</code>, usually on a <code>&lt;p&gt;</code> tag for proper leading and color.</p> <div class="bs-docs-example"> <div class="navbar navbar-toolbar"> <div class="navbar-inner"> <p class="navbar-text">This is some text</p> </div> </div> </div> <pre class="prettyprint linenums"> &lt;div class="navbar navbar-toolbar"&gt; &lt;div class="navbar-inner"&gt; &lt;p class="navbar-text"&gt;This is some text&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; </pre> <hr class="bs-docs-separator"> <h2>Optional display variations</h2> <p>Fix the navbar to the top or bottom of the viewport with an additional class on the outermost div, <code>.navbar</code>.</p> <h3>Fixed to top</h3> <p>Add <code>.navbar-fixed-top</code> and remember to account for the hidden area underneath it by adding at least 38px <code>padding</code> to the <code>&lt;body&gt;</code>. Be sure to add this after the core Bootstrap CSS and before the optional responsive CSS.</p> <div class="bs-docs-example bs-navbar-top-example"> <div class="navbar navbar-toolbar navbar-fixed-top" style="position: absolute;"> <div class="navbar-inner"> <div class="container" style="width: auto; padding: 0 20px;"> <a class="brand" href="#">Title</a> <ul class="nav"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> </ul> </div> </div> </div> </div> <pre class="prettyprint linenums"> &lt;div class="navbar navbar-toolbar navbar-fixed-top"&gt; ... &lt;/div&gt; </pre> <h3>Fixed to bottom</h3> <p>Add <code>.navbar-fixed-bottom</code> instead.</p> <div class="bs-docs-example bs-navbar-bottom-example"> <div class="navbar navbar-toolbar navbar-fixed-bottom" style="position: absolute;"> <div class="navbar-inner"> <div class="container" style="width: auto; padding: 0 20px;"> <a class="brand" href="#">Title</a> <ul class="nav"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> </ul> </div> </div> </div> </div> <pre class="prettyprint linenums"> &lt;div class="navbar navbar-toolbar navbar-fixed-bottom"&gt; ... &lt;/div&gt; </pre> <h3>Static top navbar</h3> <p>Create a full-width navbar that scrolls away with the page by adding <code>.navbar-static-top</code>. Unlike the <code>.navbar-fixed-top</code> class, you do not need to change any padding on the <code>body</code>.</p> <div class="bs-docs-example bs-navbar-top-example"> <div class="navbar navbar-toolbar navbar-static-top" style="margin: -1px -1px 0;"> <div class="navbar-inner"> <div class="container" style="width: auto;"> <a class="brand" href="#">Title</a> <ul class="nav"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> </ul> </div> </div> </div> </div> <pre class="prettyprint linenums"> &lt;div class="navbar navbar-toolbar navbar-static-top"&gt; ... &lt;/div&gt; </pre> <hr class="bs-docs-separator"> <h2>Responsive navbar</h2> <p>To implement a collapsing responsive navbar, wrap your navbar content in a containing div, <code>.nav-collapse.collapse</code>, and add the navbar toggle button, <code>.btn-navbar</code>.</p> <div class="bs-docs-example"> <div class="navbar navbar-toolbar"> <div class="navbar-inner"> <div class="container"> <a class="btn btn-navbar" data-toggle="collapse" data-target=".navbar-responsive-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a> <a class="brand" href="#">Title</a> <div class="nav-collapse collapse navbar-responsive-collapse"> <ul class="nav"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li class="nav-header">Nav header</li> <li><a href="#">Separated link</a></li> <li><a href="#">One more separated link</a></li> </ul> </li> </ul> <form class="navbar-search pull-left"> <input type="text" class="search-query span2" placeholder="Search"> </form> <ul class="nav pull-right"> <li><a href="#">Link</a></li> <li class="divider-vertical"></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </li> </ul> </div><!-- /.nav-collapse --> </div> </div><!-- /navbar-inner --> </div><!-- /navbar --> </div> <pre class="prettyprint linenums"> &lt;div class="navbar navbar-toolbar"&gt; &lt;div class="navbar-inner"&gt; &lt;div class="container"&gt; &lt;!-- .btn-navbar is used as the toggle for collapsed navbar content --&gt; &lt;a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"&gt; &lt;span class="icon-bar"&gt;&lt;/span&gt; &lt;span class="icon-bar"&gt;&lt;/span&gt; &lt;span class="icon-bar"&gt;&lt;/span&gt; &lt;/a&gt; &lt;!-- Be sure to leave the brand out there if you want it shown --&gt; &lt;a class="brand" href="#"&gt;Project name&lt;/a&gt; &lt;!-- Everything you want hidden at 940px or less, place within here --&gt; &lt;div class="nav-collapse collapse"&gt; &lt;!-- .nav, .navbar-search, .navbar-form, etc --&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; </pre> <div class="alert alert-info"> <strong>Heads up!</strong> The responsive navbar requires the <a href="./javascript.html#collapse">collapse plugin</a> and <a href="./scaffolding.html#responsive">responsive Bootstrap CSS file</a>. </div> <hr class="bs-docs-separator"> <h2>Inverted variation</h2> <p>Modify the look of the navbar by adding <code>.navbar-inverse</code>.</p> <div class="bs-docs-example"> <div class="navbar navbar-toolbar navbar-inverse" style="position: static;"> <div class="navbar-inner"> <div class="container"> <a class="btn btn-navbar" data-toggle="collapse" data-target=".navbar-inverse-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a> <a class="brand" href="#">Title</a> <div class="nav-collapse collapse navbar-inverse-collapse"> <ul class="nav"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li class="nav-header">Nav header</li> <li><a href="#">Separated link</a></li> <li><a href="#">One more separated link</a></li> </ul> </li> </ul> <form class="navbar-search pull-left"> <input type="text" class="search-query span2" placeholder="Search"> </form> <ul class="nav pull-right"> <li><a href="#">Link</a></li> <li class="divider-vertical"></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </li> </ul> </div><!-- /.nav-collapse --> </div> </div><!-- /navbar-inner --> </div><!-- /navbar --> </div> <pre class="prettyprint linenums"> &lt;div class="navbar navbar-toolbar navbar-inverse"&gt; ... &lt;/div&gt; </pre> </section> <!-- Breadcrumbs ================================================== --> <section id="breadcrumbs"> <div class="page-header"> <h1>Breadcrumbs <small></small></h1> </div> <h2>Examples</h2> <p>A single example shown as it might be displayed across multiple pages.</p> <div class="bs-docs-example"> <ul class="breadcrumb"> <li class="active">Home</li> </ul> <ul class="breadcrumb"> <li><a href="#">Home</a> <span class="divider">/</span></li> <li class="active">Library</li> </ul> <ul class="breadcrumb" style="margin-bottom: 5px;"> <li><a href="#">Home</a> <span class="divider">/</span></li> <li><a href="#">Library</a> <span class="divider">/</span></li> <li class="active">Data</li> </ul> </div> <pre class="prettyprint linenums"> &lt;ul class="breadcrumb"&gt; &lt;li&gt;&lt;a href="#"&gt;Home&lt;/a&gt; &lt;span class="divider"&gt;/&lt;/span&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Library&lt;/a&gt; &lt;span class="divider"&gt;/&lt;/span&gt;&lt;/li&gt; &lt;li class="active"&gt;Data&lt;/li&gt; &lt;/ul&gt; </pre> </section> <!-- Pagination ================================================== --> <section id="pagination"> <div class="page-header"> <h1>Pagination <small>Two options for paging through content</small></h1> </div> <h2>Standard pagination</h2> <p>Simple pagination inspired by Rdio, great for apps and search results. The large block is hard to miss, easily scalable, and provides large click areas.</p> <div class="bs-docs-example"> <div class="pagination"> <ul> <li><a href="#">&laquo;</a></li> <li><a href="#">1</a></li> <li><a href="#">2</a></li> <li><a href="#">3</a></li> <li><a href="#">4</a></li> <li><a href="#">5</a></li> <li><a href="#">&raquo;</a></li> </ul> </div> </div> <pre class="prettyprint linenums"> &lt;div class="pagination"&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="#"&gt;Prev&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;1&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;2&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;3&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;4&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;5&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Next&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; </pre> <hr class="bs-docs-separator"> <h2>Options</h2> <h3>Disabled and active states</h3> <p>Links are customizable for different circumstances. Use <code>.disabled</code> for unclickable links and <code>.active</code> to indicate the current page.</p> <div class="bs-docs-example"> <div class="pagination pagination-centered"> <ul> <li class="disabled"><a href="#">&laquo;</a></li> <li class="active"><a href="#">1</a></li> <li><a href="#">2</a></li> <li><a href="#">3</a></li> <li><a href="#">4</a></li> <li><a href="#">5</a></li> <li><a href="#">&raquo;</a></li> </ul> </div> </div> <pre class="prettyprint linenums"> &lt;div class="pagination"&gt; &lt;ul&gt; &lt;li class="disabled"&gt;&lt;a href="#"&gt;&amp;laquo;&lt;/a&gt;&lt;/li&gt; &lt;li class="active"&gt;&lt;a href="#"&gt;1&lt;/a&gt;&lt;/li&gt; ... &lt;/ul&gt; &lt;/div&gt; </pre> <p>You can optionally swap out active or disabled anchors for spans to remove click functionality while retaining intended styles.</p> <pre class="prettyprint linenums"> &lt;div class="pagination"&gt; &lt;ul&gt; &lt;li class="disabled"&gt;&lt;span&gt;&amp;laquo;&lt;/span&gt;&lt;/li&gt; &lt;li class="active"&gt;&lt;span&gt;1&lt;/span&gt;&lt;/li&gt; ... &lt;/ul&gt; &lt;/div&gt; </pre> <h3>Sizes</h3> <p>Fancy larger or smaller pagination? Add <code>.pagination-large</code>, <code>.pagination-small</code>, or <code>.pagination-mini</code> for additional sizes.</p> <div class="bs-docs-example"> <div class="pagination pagination-large"> <ul> <li><a href="#">&laquo;</a></li> <li><a href="#">1</a></li> <li><a href="#">2</a></li> <li><a href="#">3</a></li> <li><a href="#">4</a></li> <li><a href="#">5</a></li> <li><a href="#">&raquo;</a></li> </ul> </div> <div class="pagination"> <ul> <li><a href="#">&laquo;</a></li> <li><a href="#">1</a></li> <li><a href="#">2</a></li> <li><a href="#">3</a></li> <li><a href="#">4</a></li> <li><a href="#">5</a></li> <li><a href="#">&raquo;</a></li> </ul> </div> <div class="pagination pagination-small"> <ul> <li><a href="#">&laquo;</a></li> <li><a href="#">1</a></li> <li><a href="#">2</a></li> <li><a href="#">3</a></li> <li><a href="#">4</a></li> <li><a href="#">5</a></li> <li><a href="#">&raquo;</a></li> </ul> </div> <div class="pagination pagination-mini"> <ul> <li><a href="#">&laquo;</a></li> <li><a href="#">1</a></li> <li><a href="#">2</a></li> <li><a href="#">3</a></li> <li><a href="#">4</a></li> <li><a href="#">5</a></li> <li><a href="#">&raquo;</a></li> </ul> </div> </div> <pre class="prettyprint linenums"> &lt;div class="pagination pagination-large"&gt; &lt;ul&gt; ... &lt;/ul&gt; &lt;/div&gt; &lt;div class="pagination"&gt; &lt;ul&gt; ... &lt;/ul&gt; &lt;/div&gt; &lt;div class="pagination pagination-small"&gt; &lt;ul&gt; ... &lt;/ul&gt; &lt;/div&gt; &lt;div class="pagination pagination-mini"&gt; &lt;ul&gt; ... &lt;/ul&gt; &lt;/div&gt; </pre> <h3>Alignment</h3> <p>Add one of two optional classes to change the alignment of pagination links: <code>.pagination-centered</code> and <code>.pagination-right</code>.</p> <div class="bs-docs-example"> <div class="pagination pagination-centered"> <ul> <li><a href="#">&laquo;</a></li> <li><a href="#">1</a></li> <li><a href="#">2</a></li> <li><a href="#">3</a></li> <li><a href="#">4</a></li> <li><a href="#">5</a></li> <li><a href="#">&raquo;</a></li> </ul> </div> </div> <pre class="prettyprint linenums"> &lt;div class="pagination pagination-centered"&gt; ... &lt;/div&gt; </pre> <div class="bs-docs-example"> <div class="pagination pagination-right"> <ul> <li><a href="#">&laquo;</a></li> <li><a href="#">1</a></li> <li><a href="#">2</a></li> <li><a href="#">3</a></li> <li><a href="#">4</a></li> <li><a href="#">5</a></li> <li><a href="#">&raquo;</a></li> </ul> </div> </div> <pre class="prettyprint linenums"> &lt;div class="pagination pagination-right"&gt; ... &lt;/div&gt; </pre> <hr class="bs-docs-separator"> <h2>Pager</h2> <p>Quick previous and next links for simple pagination implementations with light markup and styles. It's great for simple sites like blogs or magazines.</p> <h3>Default example</h3> <p>By default, the pager centers links.</p> <div class="bs-docs-example"> <ul class="pager"> <li><a href="#">Previous</a></li> <li><a href="#">Next</a></li> </ul> </div> <pre class="prettyprint linenums"> &lt;ul class="pager"&gt; &lt;li&gt;&lt;a href="#"&gt;Previous&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Next&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; </pre> <h3>Aligned links</h3> <p>Alternatively, you can align each link to the sides:</p> <div class="bs-docs-example"> <ul class="pager"> <li class="previous"><a href="#">&larr; Older</a></li> <li class="next"><a href="#">Newer &rarr;</a></li> </ul> </div> <pre class="prettyprint linenums"> &lt;ul class="pager"&gt; &lt;li class="previous"&gt; &lt;a href="#"&gt;&amp;larr; Older&lt;/a&gt; &lt;/li&gt; &lt;li class="next"&gt; &lt;a href="#"&gt;Newer &amp;rarr;&lt;/a&gt; &lt;/li&gt; &lt;/ul&gt; </pre> <h3>Optional disabled state</h3> <p>Pager links also use the general <code>.disabled</code> utility class from the pagination.</p> <div class="bs-docs-example"> <ul class="pager"> <li class="previous disabled"><a href="#">&larr; Older</a></li> <li class="next"><a href="#">Newer &rarr;</a></li> </ul> </div> <pre class="prettyprint linenums"> &lt;ul class="pager"&gt; &lt;li class="previous disabled"&gt; &lt;a href="#"&gt;&amp;larr; Older&lt;/a&gt; &lt;/li&gt; ... &lt;/ul&gt; </pre> </section> <!-- Labels and badges ================================================== --> <section id="labels-badges"> <div class="page-header"> <h1>Labels and badges</h1> </div> <h3>Labels</h3> <table class="table table-bordered table-striped"> <thead> <tr> <th>Labels</th> <th>Markup</th> </tr> </thead> <tbody> <tr> <td> <span class="label">Default</span> </td> <td> <code>&lt;span class="label"&gt;Default&lt;/span&gt;</code> </td> </tr> <tr> <td> <span class="label label-success">Success</span> </td> <td> <code>&lt;span class="label label-success"&gt;Success&lt;/span&gt;</code> </td> </tr> <tr> <td> <span class="label label-warning">Warning</span> </td> <td> <code>&lt;span class="label label-warning"&gt;Warning&lt;/span&gt;</code> </td> </tr> <tr> <td> <span class="label label-important">Important</span> </td> <td> <code>&lt;span class="label label-important"&gt;Important&lt;/span&gt;</code> </td> </tr> <tr> <td> <span class="label label-info">Info</span> </td> <td> <code>&lt;span class="label label-info"&gt;Info&lt;/span&gt;</code> </td> </tr> <tr> <td> <span class="label label-inverse">Inverse</span> </td> <td> <code>&lt;span class="label label-inverse"&gt;Inverse&lt;/span&gt;</code> </td> </tr> </tbody> </table> <h3>Badges</h3> <table class="table table-bordered table-striped"> <thead> <tr> <th>Name</th> <th>Example</th> <th>Markup</th> </tr> </thead> <tbody> <tr> <td> Default </td> <td> <span class="badge">1</span> </td> <td> <code>&lt;span class="badge"&gt;1&lt;/span&gt;</code> </td> </tr> <tr> <td> Success </td> <td> <span class="badge badge-success">2</span> </td> <td> <code>&lt;span class="badge badge-success"&gt;2&lt;/span&gt;</code> </td> </tr> <tr> <td> Warning </td> <td> <span class="badge badge-warning">4</span> </td> <td> <code>&lt;span class="badge badge-warning"&gt;4&lt;/span&gt;</code> </td> </tr> <tr> <td> Important </td> <td> <span class="badge badge-important">6</span> </td> <td> <code>&lt;span class="badge badge-important"&gt;6&lt;/span&gt;</code> </td> </tr> <tr> <td> Info </td> <td> <span class="badge badge-info">8</span> </td> <td> <code>&lt;span class="badge badge-info"&gt;8&lt;/span&gt;</code> </td> </tr> <tr> <td> Inverse </td> <td> <span class="badge badge-inverse">10</span> </td> <td> <code>&lt;span class="badge badge-inverse"&gt;10&lt;/span&gt;</code> </td> </tr> </tbody> </table> <h3>Easily collapsible</h3> <p>For easy implementation, labels and badges will simply collapse (via CSS's <code>:empty</code> selector) when no content exists within.</p> </section> <!-- Typographic components ================================================== --> <section id="typography"> <div class="page-header"> <h1>Typographic components</h1> </div> <h2>Hero unit</h2> <p>A lightweight, flexible component to showcase key content on your site. It works well on marketing and content-heavy sites.</p> <div class="bs-docs-example"> <div class="hero-unit"> <h1>Hello, world!</h1> <p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p> <p><a class="btn btn-primary btn-large">Learn more</a></p> </div> </div> <pre class="prettyprint linenums"> &lt;div class="hero-unit"&gt; &lt;h1&gt;Heading&lt;/h1&gt; &lt;p&gt;Tagline&lt;/p&gt; &lt;p&gt; &lt;a class="btn btn-primary btn-large"&gt; Learn more &lt;/a&gt; &lt;/p&gt; &lt;/div&gt; </pre> <h2>Page header</h2> <p>A simple shell for an <code>h1</code> to appropriately space out and segment sections of content on a page. It can utilize the <code>h1</code>'s default <code>small</code>, element as well most other components (with additional styles).</p> <div class="bs-docs-example"> <div class="page-header"> <h1>Example page header <small>Subtext for header</small></h1> </div> </div> <pre class="prettyprint linenums"> &lt;div class="page-header"&gt; &lt;h1&gt;Example page header &lt;small&gt;Subtext for header&lt;/small&gt;&lt;/h1&gt; &lt;/div&gt; </pre> </section> <!-- Thumbnails ================================================== --> <section id="thumbnails"> <div class="page-header"> <h1>Thumbnails <small>Grids of images, videos, text, and more</small></h1> </div> <h2>Default thumbnails</h2> <p>By default, Bootstrap's thumbnails are designed to showcase linked images with minimal required markup.</p> <div class="row-fluid"> <ul class="thumbnails"> <li class="span3"> <a href="#" class="thumbnail"> <img data-src="holder.js/260x180" alt=""> </a> </li> <li class="span3"> <a href="#" class="thumbnail"> <img data-src="holder.js/260x180" alt=""> </a> </li> <li class="span3"> <a href="#" class="thumbnail"> <img data-src="holder.js/260x180" alt=""> </a> </li> <li class="span3"> <a href="#" class="thumbnail"> <img data-src="holder.js/260x180" alt=""> </a> </li> </ul> </div> <h2>Highly customizable</h2> <p>With a bit of extra markup, it's possible to add any kind of HTML content like headings, paragraphs, or buttons into thumbnails.</p> <div class="row-fluid"> <ul class="thumbnails"> <li class="span4"> <div class="thumbnail"> <img data-src="holder.js/300x200" alt=""> <div class="caption"> <h3>Thumbnail label</h3> <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p> <p><a href="#" class="btn btn-primary">Action</a> <a href="#" class="btn">Action</a></p> </div> </div> </li> <li class="span4"> <div class="thumbnail"> <img data-src="holder.js/300x200" alt=""> <div class="caption"> <h3>Thumbnail label</h3> <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p> <p><a href="#" class="btn btn-primary">Action</a> <a href="#" class="btn">Action</a></p> </div> </div> </li> <li class="span4"> <div class="thumbnail"> <img data-src="holder.js/300x200" alt=""> <div class="caption"> <h3>Thumbnail label</h3> <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p> <p><a href="#" class="btn btn-primary">Action</a> <a href="#" class="btn">Action</a></p> </div> </div> </li> </ul> </div> <h3>Why use thumbnails</h3> <p>Thumbnails (previously <code>.media-grid</code> up until v1.4) are great for grids of photos or videos, image search results, retail products, portfolios, and much more. They can be links or static content.</p> <h3>Simple, flexible markup</h3> <p>Thumbnail markup is simple&mdash;a <code>ul</code> with any number of <code>li</code> elements is all that is required. It's also super flexible, allowing for any type of content with just a bit more markup to wrap your contents.</p> <h3>Uses grid column sizes</h3> <p>Lastly, the thumbnails component uses existing grid system classes&mdash;like <code>.span2</code> or <code>.span3</code>&mdash;for control of thumbnail dimensions.</p> <h2>Markup</h2> <p>As mentioned previously, the required markup for thumbnails is light and straightforward. Here's a look at the default setup <strong>for linked images</strong>:</p> <pre class="prettyprint linenums"> &lt;ul class="thumbnails"&gt; &lt;li class="span4"&gt; &lt;a href="#" class="thumbnail"&gt; &lt;img data-src="holder.js/300x200" alt=""&gt; &lt;/a&gt; &lt;/li&gt; ... &lt;/ul&gt; </pre> <p>For custom HTML content in thumbnails, the markup changes slightly. To allow block level content anywhere, we swap the <code>&lt;a&gt;</code> for a <code>&lt;div&gt;</code> like so:</p> <pre class="prettyprint linenums"> &lt;ul class="thumbnails"&gt; &lt;li class="span4"&gt; &lt;div class="thumbnail"&gt; &lt;img data-src="holder.js/300x200" alt=""&gt; &lt;h3&gt;Thumbnail label&lt;/h3&gt; &lt;p&gt;Thumbnail caption...&lt;/p&gt; &lt;/div&gt; &lt;/li&gt; ... &lt;/ul&gt; </pre> <h2>More examples</h2> <p>Explore all your options with the various grid classes available to you. You can also mix and match different sizes.</p> <ul class="thumbnails"> <li class="span4"> <a href="#" class="thumbnail"> <img data-src="holder.js/360x270" alt=""> </a> </li> <li class="span3"> <a href="#" class="thumbnail"> <img data-src="holder.js/260x120" alt=""> </a> </li> <li class="span2"> <a href="#" class="thumbnail"> <img data-src="holder.js/160x120" alt=""> </a> </li> <li class="span3"> <a href="#" class="thumbnail"> <img data-src="holder.js/260x120" alt=""> </a> </li> <li class="span2"> <a href="#" class="thumbnail"> <img data-src="holder.js/160x120" alt=""> </a> </li> </ul> </section> <!-- Alerts ================================================== --> <section id="alerts"> <div class="page-header"> <h1>Alerts <small>Styles for success, warning, and error messages</small></h1> </div> <h2>Default alert</h2> <p>Wrap any text and an optional dismiss button in <code>.alert</code> for a basic warning alert message.</p> <div class="bs-docs-example"> <div class="alert"> <button type="button" class="close" data-dismiss="alert">&times;</button> <strong>Warning!</strong> Best check yo self, you're not looking too good. </div> </div> <pre class="prettyprint linenums"> &lt;div class="alert"&gt; &lt;button type="button" class="close" data-dismiss="alert"&gt;&amp;times;&lt;/button&gt; &lt;strong&gt;Warning!&lt;/strong&gt; Best check yo self, you're not looking too good. &lt;/div&gt; </pre> <h3>Dismiss buttons</h3> <p>Mobile Safari and Mobile Opera browsers, in addition to the <code>data-dismiss="alert"</code> attribute, require an <code>href="#"</code> for the dismissal of alerts when using an <code>&lt;a&gt;</code> tag.</p> <pre class="prettyprint linenums">&lt;a href="#" class="close" data-dismiss="alert"&gt;&amp;times;&lt;/a&gt;</pre> <p>Alternatively, you may use a <code>&lt;button&gt;</code> element with the data attribute, which we have opted to do for our docs. When using <code>&lt;button&gt;</code>, you must include <code>type="button"</code> or your forms may not submit.</p> <pre class="prettyprint linenums">&lt;button type="button" class="close" data-dismiss="alert"&gt;&amp;times;&lt;/button&gt;</pre> <h3>Dismiss alerts via JavaScript</h3> <p>Use the <a href="./javascript.html#alerts">alerts jQuery plugin</a> for quick and easy dismissal of alerts.</p> <hr class="bs-docs-separator"> <h2>Options</h2> <p>For longer messages, increase the padding on the top and bottom of the alert wrapper by adding <code>.alert-block</code>.</p> <div class="bs-docs-example"> <div class="alert alert-block"> <button type="button" class="close" data-dismiss="alert">&times;</button> <h4>Warning!</h4> <p>Best check yo self, you're not looking too good. Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.</p> </div> </div> <pre class="prettyprint linenums"> &lt;div class="alert alert-block"&gt; &lt;button type="button" class="close" data-dismiss="alert"&gt;&amp;times;&lt;/button&gt; &lt;h4&gt;Warning!&lt;/h4&gt; Best check yo self, you're not... &lt;/div&gt; </pre> <hr class="bs-docs-separator"> <h2>Contextual alternatives</h2> <p>Add optional classes to change an alert's connotation.</p> <h3>Error or danger</h3> <div class="bs-docs-example"> <div class="alert alert-error"> <button type="button" class="close" data-dismiss="alert">&times;</button> <strong>Oh snap!</strong> Change a few things up and try submitting again. </div> </div> <pre class="prettyprint linenums"> &lt;div class="alert alert-error"&gt; ... &lt;/div&gt; </pre> <h3>Success</h3> <div class="bs-docs-example"> <div class="alert alert-success"> <button type="button" class="close" data-dismiss="alert">&times;</button> <strong>Well done!</strong> You successfully read this important alert message. </div> </div> <pre class="prettyprint linenums"> &lt;div class="alert alert-success"&gt; ... &lt;/div&gt; </pre> <h3>Information</h3> <div class="bs-docs-example"> <div class="alert alert-info"> <button type="button" class="close" data-dismiss="alert">&times;</button> <strong>Heads up!</strong> This alert needs your attention, but it's not super important. </div> </div> <pre class="prettyprint linenums"> &lt;div class="alert alert-info"&gt; ... &lt;/div&gt; </pre> </section> <!-- Progress bars ================================================== --> <section id="progress"> <div class="page-header"> <h1>Progress bars <small>For loading, redirecting, or action status</small></h1> </div> <h2>Examples and markup</h2> <h3>Basic</h3> <p>Default progress bar with a vertical gradient.</p> <div class="bs-docs-example"> <div class="progress"> <div class="bar" style="width: 60%;"></div> </div> </div> <pre class="prettyprint linenums"> &lt;div class="progress"&gt; &lt;div class="bar" style="width: 60%;"&gt;&lt;/div&gt; &lt;/div&gt; </pre> <h3>Striped</h3> <p>Uses a gradient to create a striped effect. Not available in IE7-8.</p> <div class="bs-docs-example"> <div class="progress progress-striped"> <div class="bar" style="width: 20%;"></div> </div> </div> <pre class="prettyprint linenums"> &lt;div class="progress progress-striped"&gt; &lt;div class="bar" style="width: 20%;"&gt;&lt;/div&gt; &lt;/div&gt; </pre> <h3>Animated</h3> <p>Add <code>.active</code> to <code>.progress-striped</code> to animate the stripes right to left. Not available in all versions of IE.</p> <div class="bs-docs-example"> <div class="progress progress-striped active"> <div class="bar" style="width: 45%"></div> </div> </div> <pre class="prettyprint linenums"> &lt;div class="progress progress-striped active"&gt; &lt;div class="bar" style="width: 40%;"&gt;&lt;/div&gt; &lt;/div&gt; </pre> <h3>Stacked</h3> <p>Place multiple bars into the same <code>.progress</code> to stack them.</p> <div class="bs-docs-example"> <div class="progress"> <div class="bar bar-success" style="width: 35%"></div> <div class="bar bar-warning" style="width: 20%"></div> <div class="bar bar-danger" style="width: 10%"></div> </div> </div> <pre class="prettyprint linenums"> &lt;div class="progress"&gt; &lt;div class="bar bar-success" style="width: 35%;"&gt;&lt;/div&gt; &lt;div class="bar bar-warning" style="width: 20%;"&gt;&lt;/div&gt; &lt;div class="bar bar-danger" style="width: 10%;"&gt;&lt;/div&gt; &lt;/div&gt; </pre> <hr class="bs-docs-separator"> <h2>Options</h2> <h3>Additional colors</h3> <p>Progress bars use some of the same button and alert classes for consistent styles.</p> <div class="bs-docs-example"> <div class="progress progress-info" style="margin-bottom: 9px;"> <div class="bar" style="width: 20%"></div> </div> <div class="progress progress-success" style="margin-bottom: 9px;"> <div class="bar" style="width: 40%"></div> </div> <div class="progress progress-warning" style="margin-bottom: 9px;"> <div class="bar" style="width: 60%"></div> </div> <div class="progress progress-danger"> <div class="bar" style="width: 80%"></div> </div> </div> <pre class="prettyprint linenums"> &lt;div class="progress progress-info"&gt; &lt;div class="bar" style="width: 20%"&gt;&lt;/div&gt; &lt;/div&gt; &lt;div class="progress progress-success"&gt; &lt;div class="bar" style="width: 40%"&gt;&lt;/div&gt; &lt;/div&gt; &lt;div class="progress progress-warning"&gt; &lt;div class="bar" style="width: 60%"&gt;&lt;/div&gt; &lt;/div&gt; &lt;div class="progress progress-danger"&gt; &lt;div class="bar" style="width: 80%"&gt;&lt;/div&gt; &lt;/div&gt; </pre> <h3>Striped bars</h3> <p>Similar to the solid colors, we have varied striped progress bars.</p> <div class="bs-docs-example"> <div class="progress progress-info progress-striped" style="margin-bottom: 9px;"> <div class="bar" style="width: 20%"></div> </div> <div class="progress progress-success progress-striped" style="margin-bottom: 9px;"> <div class="bar" style="width: 40%"></div> </div> <div class="progress progress-warning progress-striped" style="margin-bottom: 9px;"> <div class="bar" style="width: 60%"></div> </div> <div class="progress progress-danger progress-striped"> <div class="bar" style="width: 80%"></div> </div> </div> <pre class="prettyprint linenums"> &lt;div class="progress progress-info progress-striped"&gt; &lt;div class="bar" style="width: 20%"&gt;&lt;/div&gt; &lt;/div&gt; &lt;div class="progress progress-success progress-striped"&gt; &lt;div class="bar" style="width: 40%"&gt;&lt;/div&gt; &lt;/div&gt; &lt;div class="progress progress-warning progress-striped"&gt; &lt;div class="bar" style="width: 60%"&gt;&lt;/div&gt; &lt;/div&gt; &lt;div class="progress progress-danger progress-striped"&gt; &lt;div class="bar" style="width: 80%"&gt;&lt;/div&gt; &lt;/div&gt; </pre> <hr class="bs-docs-separator"> <h2>Browser support</h2> <p>Progress bars use CSS3 gradients, transitions, and animations to achieve all their effects. These features are not supported in IE7-9 or older versions of Firefox.</p> <p>Versions earlier than Internet Explorer 10 and Opera 12 do not support animations.</p> </section> <!-- Scrollbars ================================================== --> <section id="scrollbars"> <div class="page-header"> <h1>Scrollbars <small>For scrollable content.</small></h1> </div> <h2>Examples and markup</h2> <h3>Basic</h3> <p>Attach the <code>scrollable</code> class to any container which has its overflow property set.</p> <p> <span class="label label-info">Note</span> Available only in Chrome and Safari. </p> <div class="bs-docs-example"> <div class="scrollable" style="height: 200px; overflow-y: auto;"> <h4>Overflowing text to show optional scrollbar</h4> <p>We set a fixed <code>max-height</code> on the <code>.modal-body</code>. Watch it overflow with all this extra lorem ipsum text we've included.</p> <p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p> <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.</p> <p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla.</p> <p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p> <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.</p> <p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla.</p> </div> </div> <pre class="prettyprint linenums"> &lt;div class="scrollable" style="height: 300px; overflow-y: auto"&gt; &lt;h4&gt;Overflowing text to show optional scrollbar&lt;/h4&gt; ... &lt;/div&gt; </pre> </section> <!-- Media object ================================================== --> <section id="media"> <div class="page-header"> <h1>Media object</h1> </div> <p class="lead">Abstract object styles for building various types of components (like blog comments, Tweets, etc) that feature a left- or right-aligned image alongside textual content.</p> <h2>Default example</h2> <p>The default media allow to float a media object (images, video, audio) to the left or right of a content block.</p> <div class="bs-docs-example"> <div class="media"> <a class="pull-left" href="#"> <img class="media-object" data-src="holder.js/64x64" alt=""> </a> <div class="media-body"> <h4 class="media-heading">Media heading</h4> Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus. </div> </div> <div class="media"> <a class="pull-left" href="#"> <img class="media-object" data-src="holder.js/64x64" alt=""> </a> <div class="media-body"> <h4 class="media-heading">Media heading</h4> Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus. <div class="media"> <a class="pull-left" href="#"> <img class="media-object" data-src="holder.js/64x64" alt=""> </a> <div class="media-body"> <h4 class="media-heading">Media heading</h4> Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus. </div> </div> </div> </div> </div> <pre class="prettyprint linenums"> &lt;div class="media"&gt; &lt;a class="pull-left" href="#"&gt; &lt;img class="media-object" data-src="holder.js/64x64"&gt; &lt;/a&gt; &lt;div class="media-body"&gt; &lt;h4 class="media-heading"&gt;Media heading&lt;/h4&gt; ... &lt;!-- Nested media object --&gt; &lt;div class="media"&gt; ... &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; </pre> <hr class="bs-docs-separator"> <h2>Media list</h2> <p>With a bit of extra markup, you can use media inside list (useful for comment threads or articles lists).</p> <div class="bs-docs-example"> <ul class="media-list"> <li class="media"> <a class="pull-left" href="#"> <img class="media-object" data-src="holder.js/64x64" alt=""> </a> <div class="media-body"> <h4 class="media-heading">Media heading</h4> <p>Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.</p> <!-- Nested media object --> <div class="media"> <a class="pull-left" href="#"> <img class="media-object" data-src="holder.js/64x64" alt=""> </a> <div class="media-body"> <h4 class="media-heading">Nested media heading</h4> Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. <!-- Nested media object --> <div class="media"> <a class="pull-left" href="#"> <img class="media-object" data-src="holder.js/64x64" alt=""> </a> <div class="media-body"> <h4 class="media-heading">Nested media heading</h4> Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. </div> </div> </div> </div> <!-- Nested media object --> <div class="media"> <a class="pull-left" href="#"> <img class="media-object" data-src="holder.js/64x64" alt=""> </a> <div class="media-body"> <h4 class="media-heading">Nested media heading</h4> Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. </div> </div> </div> </li> <li class="media"> <a class="pull-right" href="#"> <img class="media-object" data-src="holder.js/64x64" alt=""> </a> <div class="media-body"> <h4 class="media-heading">Media heading</h4> Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. </div> </li> </ul> </div> <pre class="prettyprint linenums"> &lt;ul class="media-list"&gt; &lt;li class="media"&gt; &lt;a class="pull-left" href="#"&gt; &lt;img class="media-object" data-src="holder.js/64x64"&gt; &lt;/a&gt; &lt;div class="media-body"&gt; &lt;h4 class="media-heading"&gt;Media heading&lt;/h4&gt; ... &lt;!-- Nested media object --&gt; &lt;div class="media"&gt; ... &lt;/div&gt; &lt;/div&gt; &lt;/li&gt; &lt;/ul&gt; </pre> </section> <!-- Miscellaneous ================================================== --> <section id="misc"> <div class="page-header"> <h1>Miscellaneous <small>Lightweight utility components</small></h1> </div> <h2>Wells</h2> <p>Use the well as a simple effect on an element to give it an inset effect.</p> <div class="bs-docs-example"> <div class="well"> Look, I'm in a well! </div> </div> <pre class="prettyprint linenums"> &lt;div class="well"&gt; ... &lt;/div&gt; </pre> <h3>Optional classes</h3> <p>Control padding and rounded corners with two optional modifier classes.</p> <div class="bs-docs-example"> <div class="well well-large"> Look, I'm in a well! </div> </div> <pre class="prettyprint linenums"> &lt;div class="well well-large"&gt; ... &lt;/div&gt; </pre> <div class="bs-docs-example"> <div class="well well-small"> Look, I'm in a well! </div> </div> <pre class="prettyprint linenums"> &lt;div class="well well-small"&gt; ... &lt;/div&gt; </pre> <h2>Close icon</h2> <p>Use the generic close icon for dismissing content like modals and alerts.</p> <div class="bs-docs-example"> <p><button class="close" style="float: none;">&times;</button></p> </div> <pre class="prettyprint linenums">&lt;button class="close"&gt;&amp;times;&lt;/button&gt;</pre> <p>iOS devices require an <code>href="#"</code> for click events if you would rather use an anchor.</p> <pre class="prettyprint linenums">&lt;a class="close" href="#"&gt;&amp;times;&lt;/a&gt;</pre> <h2>Helper classes</h2> <p>Simple, focused classes for small display or behavior tweaks.</p> <h4>.pull-left</h4> <p>Float an element left</p> <pre class="prettyprint linenums"> class="pull-left" </pre> <pre class="prettyprint linenums"> .pull-left { float: left; } </pre> <h4>.pull-right</h4> <p>Float an element right</p> <pre class="prettyprint linenums"> class="pull-right" </pre> <pre class="prettyprint linenums"> .pull-right { float: right; } </pre> <h4>.muted</h4> <p>Change an element's color to <code>#999</code></p> <pre class="prettyprint linenums"> class="muted" </pre> <pre class="prettyprint linenums"> .muted { color: #999; } </pre> <h4>.clearfix</h4> <p>Clear the <code>float</code> on any element</p> <pre class="prettyprint linenums"> class="clearfix" </pre> <pre class="prettyprint linenums"> .clearfix { *zoom: 1; &amp;:before, &amp;:after { display: table; content: ""; } &amp;:after { clear: both; } } </pre> </section> </div> </div> </div> <!-- Footer ================================================== --> <footer class="footer"> <div class="container"> <p>Forked from <a href="http://twbs.github.com/bootstrap/" target="_blank">Twitter Bootstrap</a> and built with all the love in the world by <a href="https://github.com/todc" target="_blank">todc</a>.</p> <p>Updated to support v2.3.0 by <a href="https://github.com/acmetech" target="_blank">acmetech</a>.</p> <p>Code licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>, documentation under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p> <p><a href="http://glyphicons.com">Glyphicons Free</a> licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p> <ul class="footer-links"> <li><a href="https://github.com/todc/todc-bootstrap/issues?state=open">Issues</a></li> <li class="muted">&middot;</li> <li><a href="https://github.com/todc/todc-bootstrap/releases">Changelog</a></li> <li class="muted">&middot;</li> <li><a href="http://blog.getbootstrap.com">Bootstrap Blog</a></li> <li class="muted">&middot;</li> <li><a href="https://github.com/twbs/bootstrap/issues?state=open">Bootstrap Issues</a></li> <li class="muted">&middot;</li> <li><a href="https://github.com/twbs/bootstrap/releases">Bootstrap Changelog</a></li> </ul> </div> </footer> <!-- Le javascript ================================================== --> <!-- Placed at the end of the document so the pages load faster --> <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script> <script src="assets/js/jquery.js"></script> <script src="assets/js/bootstrap-transition.js"></script> <script src="assets/js/bootstrap-alert.js"></script> <script src="assets/js/bootstrap-modal.js"></script> <script src="assets/js/bootstrap-dropdown.js"></script> <script src="assets/js/bootstrap-scrollspy.js"></script> <script src="assets/js/bootstrap-tab.js"></script> <script src="assets/js/bootstrap-tooltip.js"></script> <script src="assets/js/bootstrap-popover.js"></script> <script src="assets/js/bootstrap-button.js"></script> <script src="assets/js/bootstrap-collapse.js"></script> <script src="assets/js/bootstrap-carousel.js"></script> <script src="assets/js/bootstrap-typeahead.js"></script> <script src="assets/js/bootstrap-affix.js"></script> <script src="assets/js/holder/holder.js"></script> <script src="assets/js/google-code-prettify/prettify.js"></script> <script src="assets/js/application.js"></script> </body> </html>
todc/todc-bootstrap
site/content/docs/2.3.2/components.html
HTML
mit
153,152
<template name="postPage"> {{> postItem}} </template>
ClarkGH/meteor3_microscope
microscope/client/templates/posts/post_page.html
HTML
mit
55
<p>Built using <a href="http://getpelican.com" target="_blank">Pelican</a> - <a href="https://github.com/alexandrevicenzi/flex" target="_blank">Flex</a> theme by <a href="http://alexandrevicenzi.com" target="_blank">Alexandre Vicenzi</a></p>
Xion/Flex
templates/partial/flex.html
HTML
mit
242
<div class="container-fluid"> <h1>Gamma World 3e</h1> <label class="tab"> <input class="pageToggle" type="radio" value="1" name="attr_pageToggle"/><span>PC</span> </label> <label class="tab"> <input class="pageToggle" type="radio" value="2" name="attr_pageToggle"/><span>Monster</span> </label> <label class="tab"> <input class="pageToggle" type="radio" value="3" name="attr_pageToggle"/><span>Roll-up</span> </label> <div> <input class="pageToggle" type="hidden" name="attr_pageToggle" value="1"/> <div class="tab1"> <div class="sheet-container"> <div class="row"> <div class="col-xs-4"> <div class="row middle-xs"> <div class="col-xs-2"> <label>Name:</label> </div> <div class="col-xs-10"> <input type="text" name="attr_character_name" title="@{character_name}"/> </div> </div> </div> <div class="col-xs-3"> <div class="row middle-xs"> <div class="col-xs-2"> <label>XP:</label> </div> <div class="col-xs-4"> <input type="number" name="attr_character_xp" title="@{XP}"/> </div> <div class="col-xs-3"> <label>Rank:</label> </div> <div class="col-xs-3"> <input type="number" name="attr_character_rank" value="1"/> </div> </div> </div> <div class="col-xs-5"> <div class="row middle-xs"> <div class="col-xs-2"> <label>Size:</label> </div> <div class="col-xs-3"> <select name="attr_character_size" title="@{size}" value="3"> <option value="1">Tiny</option> <option value="2">Small</option> <option value="3">Medium</option> <option value="4">Large</option> <option value="5">Huge</option> </select> </div> <div class="col-xs-2"> <label>Type:</label> </div> <div class="col-xs-5"> <select name="attr_character_type" title="@{character_type}"> <option value="1">Pure Strain Human</option> <option value="2">Mutated Human</option> <option value="3">Mutated Animal</option> <option value="4">Mutated Plant</option> </select> </div> </div> </div> </div> <div class="row middle-xs underline"> <div class="col-xs-1"> <label>Age:</label> </div> <div class="col-xs-1"> <input type="number" name="attr_character_age"/> </div> <div class="col-xs-1"> <label>Gender:</label> </div> <div class="col-xs-1"> <input type="text" name="attr_character_gender"/> </div> <div class="col-xs-1"> <label>Height:</label> </div> <div class="col-xs-1"> <input type="number" name="attr_character_height" step="0.01"/> </div> <div class="col-xs-1"> <label>Weight:</label> </div> <div class="col-xs-1"> <input type="number" name="attr_character_weight" step="0.01"/> </div> <div class="col-xs-1"> <label>Status:</label> </div> <div class="col-xs-1"> <input type="number" name="attr_character_status"/> </div> <div class="col-xs-1"> <label>Tech Lvl.:</label> </div> <div class="col-xs-1"> <select name="attr_character_tech_level" title="@{character_tech_level}"> <option value="1">I</option> <option value="2">II</option> <option value="3">III</option> </select> </div> </div> <div class="row top-xs"> <div class="col-xs-8"> <div class="row underline"> <div class="col-xs-12"> <input class="rollSwitch" type="hidden" name="attr_rollSwitch" value="0"/> <div class="row pre-rolled"> <div class="col-xs-12"></div> </div> <div class="row post-rolled"> <div class="col-xs-6 post-rolled"> <h2>Physical Abilities</h2> <div class="row"> <div class="col-xs-1"></div> <div class="col-xs-2" title="Current Score">Cur.</div> <div class="col-xs-2" title="Initially Rolled Score">Orig.</div> <div class="col-xs-2" title="Character Advancement">Adv.</div> <div class="col-xs-2" title="Temporary Change">Tmp.</div> <div class="col-xs-2" title="Score Modifier">Mod.</div> <div class="col-xs-1 padless">Roll</div> </div> <div class="row middle-xs"> <div class="col-xs-1"> <label class="ability">PS</label> </div> <div class="col-xs-2"> <input type="hidden" name="attr_PS" title="@{PS}"/><span class="emphasis" name="attr_PS"></span> </div> <div class="col-xs-2"> <input type="hidden" name="attr_PS_rolled" title="@{PS_rolled}"/><span name="attr_PS_rolled"></span> </div> <div class="col-xs-2"> <input type="number" name="attr_PS_advanced" value="0" title="@{PS_advanced}"/> </div> <div class="col-xs-2"> <input type="number" name="attr_PS_tmp" value="0" title="@{PS_tmp}"/> </div> <div class="col-xs-2"> <input type="hidden" name="attr_PS_modifier" value="0" title="@{PS_modifier}"/> <input type="number" name="attr_PS_mod" value="@{PS_modifier}" disabled="true"/> </div> <div class="col-xs-1 padless"> <button type="roll" name="roll_PS" value="!gw act @{PS} CS|?{CS|0} title|Physical character|@{character_id}"></button> </div> </div> <div class="row middle-xs"> <div class="col-xs-1"> <label class="ability">DX</label> </div> <div class="col-xs-2"> <input type="hidden" name="attr_DX" title="@{DX}"/><span class="emphasis" name="attr_DX"></span> </div> <div class="col-xs-2"> <input type="hidden" name="attr_DX_rolled" title="@{DX_rolled}"/><span name="attr_DX_rolled"></span> </div> <div class="col-xs-2"> <input type="number" name="attr_DX_advanced" value="0" title="@{DX_advanced}"/> </div> <div class="col-xs-2"> <input type="number" name="attr_DX_tmp" value="0" title="@{DX_tmp}"/> </div> <div class="col-xs-2"> <input type="hidden" name="attr_DX_modifier" value="0" title="@{DX_modifier}"/> <input type="number" name="attr_DX_mod" value="@{DX_modifier}" disabled="true"/> </div> <div class="col-xs-1 padless"> <button type="roll" name="roll_DX" value="!gw act @{DX} CS|?{CS|0} title|Dexterity character|@{character_id}"></button> </div> </div> <div class="row middle-xs"> <div class="col-xs-1"> <label class="ability">CN</label> </div> <div class="col-xs-2"> <input type="hidden" name="attr_CN" title="@{CN}"/><span class="emphasis" name="attr_CN"></span> </div> <div class="col-xs-2"> <input type="hidden" name="attr_CN_rolled" title="@{CN_rolled}"/><span name="attr_CN_rolled"></span> </div> <div class="col-xs-2"> <input type="number" name="attr_CN_advanced" value="0" title="@{CN_advanced}"/> </div> <div class="col-xs-2"> <input type="number" name="attr_CN_tmp" value="0" title="@{CN_tmp}"/> </div> <div class="col-xs-2"> <input type="hidden" name="attr_CN_modifier" value="0" title="@{CN_modifier}"/> <input type="number" name="attr_CN_mod" value="@{CN_modifier}" disabled="true"/> </div> <div class="col-xs-1 padless"> <button type="roll" name="roll_CN" value="!gw act @{CN} CS|?{CS|0} title|Constitution character|@{character_id}"></button> </div> </div> </div> <div class="col-xs-6 post"> <h2>Mental Abilities</h2> <div class="row"> <div class="col-xs-1"></div> <div class="col-xs-2" title="Current Score">Cur.</div> <div class="col-xs-2" title="Initially Rolled Score">Orig.</div> <div class="col-xs-2" title="Character Advancement">Adv.</div> <div class="col-xs-2" title="Temporary Change">Tmp.</div> <div class="col-xs-2" title="Score Modifier">Mod.</div> <div class="col-xs-1 padless">Roll</div> </div> <div class="row middle-xs"> <div class="col-xs-1"> <label class="ability">IN</label> </div> <div class="col-xs-2"> <input type="hidden" name="attr_IN" title="@{IN}"/><span class="emphasis" name="attr_IN"></span> </div> <div class="col-xs-2"> <input type="hidden" name="attr_IN_rolled" title="@{IN_rolled}"/><span name="attr_IN_rolled"></span> </div> <div class="col-xs-2"> <input type="number" name="attr_IN_advanced" value="0" title="@{IN_advanced}"/> </div> <div class="col-xs-2"> <input type="number" name="attr_IN_tmp" value="0" title="@{IN_tmp}"/> </div> <div class="col-xs-2"> <input type="hidden" name="attr_IN_modifier" value="0" title="@{IN_modifier}"/> <input type="number" name="attr_IN_mod" value="@{IN_modifier}" disabled="true"/> </div> <div class="col-xs-1 padless"> <button type="roll" name="roll_IN" value="!gw act @{IN} CS|?{CS|0} title|Intelligence character|@{character_id}"></button> </div> </div> <div class="row middle-xs"> <div class="col-xs-1"> <label class="ability">MS</label> </div> <div class="col-xs-2"> <input type="hidden" name="attr_MS" title="@{MS}"/><span class="emphasis" name="attr_MS"></span> </div> <div class="col-xs-2"> <input type="hidden" name="attr_MS_rolled" title="@{MS_rolled}"/><span name="attr_MS_rolled"></span> </div> <div class="col-xs-2"> <input type="number" name="attr_MS_advanced" value="0" title="@{MS_advanced}"/> </div> <div class="col-xs-2"> <input type="number" name="attr_MS_tmp" value="0" title="@{MS_tmp}"/> </div> <div class="col-xs-2"> <input type="hidden" name="attr_MS_modifier" value="0" title="@{MS_modifier}"/> <input type="number" name="attr_MS_mod" value="@{MS_modifier}" disabled="true"/> </div> <div class="col-xs-1 padless"> <button type="roll" name="roll_MS" value="!gw act @{MS} CS|?{CS|0} title|Mental_Strength character|@{character_id}"></button> </div> </div> <div class="row middle-xs"> <div class="col-xs-1"> <label class="ability">CH</label> </div> <div class="col-xs-2"> <input type="hidden" name="attr_CH" title="@{CH}"/><span class="emphasis" name="attr_CH"></span> </div> <div class="col-xs-2"> <input type="hidden" name="attr_CH_rolled" title="@{CH_rolled}"/><span name="attr_CH_rolled"></span> </div> <div class="col-xs-2"> <input type="number" name="attr_CH_advanced" value="0" title="@{CH_advanced}"/> </div> <div class="col-xs-2"> <input type="number" name="attr_CH_tmp" value="0" title="@{CH_tmp}"/> </div> <div class="col-xs-2"> <input type="hidden" name="attr_CH_modifier" value="0" title="@{CH_modifier}"/> <input type="number" name="attr_CH_mod" value="@{CH_modifier}" disabled="true"/> </div> <div class="col-xs-1 padless"> <button type="roll" name="roll_CH" value="!gw act @{CH} CS|?{CS|0} title|Charsima character|@{character_id}"></button> </div> </div> </div> </div> </div> </div> <div class="row underline"> <div class="col-xs-12"> <h2>Mutations</h2> <div class="row middle-xs"> <div class="col-xs-3"> <label>Name</label> </div> <div class="col-xs-2"> <label>Type</label> </div> <div class="col-xs-2"> <label>Use</label> </div> <div class="col-xs-1"> <label>Range</label> </div> <div class="col-xs-1"> <label>Rank</label> </div> <div class="col-xs-1"> <label>Dmg.</label> </div> </div> <fieldset class="repeating_mutations"> <div class="row"> <div class="col-xs-3"> <input type="text" name="attr_name"/> </div> <div class="col-xs-2"> <select name="attr_type"> <option value="physical">Physical</option> <option value="mental">Mental</option> <option value="defect">Defect</option> </select> </div> <div class="col-xs-2"> <input type="text" name="attr_use"/> </div> <div class="col-xs-1"> <input type="text" name="attr_range"/> </div> <div class="col-xs-1"> <input type="number" name="attr_rank"/> </div> <div class="col-xs-1"> <input type="number" name="attr_dmg"/> </div> <div class="col-xs-1"> <input type="hidden" name="attr_id"/> <input type="hidden" name="attr_ref"/> <button type="roll" name="roll_mutation" value="!gw act @{rank} CS|?{CS|0} id|@{ref} title|ref category|mutations save|@{save} effect|@{effect} effect_crit|@{effect_crit} dmg|@{dmg} mod|@{mod} character|@{character_id} target_id|@{target|target1|token_id} "></button> </div> </div> <input class="short options-flag options-flag" type="checkbox" name="attr_options-flag"/><span>y</span> <div class="options"> <div class="row middle-xs"> <div class="col-xs-1"> <label>Mod.</label> </div> <div class="col-xs-1"> <input type="hidden" name="attr_save"/> <input type="hidden" name="attr_effect"/> <input type="hidden" name="attr_effect_crit"/> <input type="hidden" name="attr_dmg_type"/> <select name="attr_mod"> <option value="PS">PS</option> <option value="DX">DX</option> <option value="CN">CN</option> <option value="IN">IN</option> <option value="MS">MS</option> <option value="CH">CH</option> </select> </div> <div class="col-xs-2"> <label>Effort</label> </div> <div class="col-xs-2"> <select name="attr_effort"> <option value="passive">Subconscious</option> <option value="active">Conscious</option> </select> </div> <div class="col-xs-1"> <label>No.</label> </div> <div class="col-xs-1"> <input type="text" name="attr_number"/> </div> <div class="col-xs-2"> <label>Duration</label> </div> <div class="col-xs-2"> <input type="text" name="attr_duration"/> </div> <div class="col-xs-12"> <label>Description</label> </div> <div class="col-xs-12"> <textarea name="attr_description"></textarea> </div> </div> </div> </fieldset> </div> </div> <div class="row underline"> <div class="col-xs-12"> <h2>Attacks</h2> <div class="row middle-xs"> <div class="col-xs-3"> <label>Name</label> </div> <div class="col-xs-1"> <label>Mod.</label> </div> <div class="col-xs-1"> <label>Range</label> </div> <div class="col-xs-1"> <label>Dmg.</label> </div> <div class="col-xs-2"> <label>Rank</label> </div> </div> <fieldset class="repeating_attacks"> <div class="row"> <div class="col-xs-3"> <input type="text" name="attr_name"/> </div> <div class="col-xs-1"> <select name="attr_mod"> <option value="PS">PS</option> <option value="DX">DX</option> <option value="CN">CN</option> <option value="IN">IN</option> <option value="MS">MS</option> <option value="CH">CH</option> </select> </div> <div class="col-xs-1"> <input type="text" name="attr_range"/> </div> <div class="col-xs-1"> <input type="text" name="attr_dmg"/> </div> <div class="col-xs-1"> <input type="hidden" name="attr_ref"/> <input type="text" name="attr_rank"/> </div> <div class="col-xs-1"> <button type="roll" name="roll_attack" value="!gw act @{rank} CS|?{CS|0} id|@{ref} title|ref category|attacks effect|@{effect} effect_crit|@{effect_crit} dmg|@{dmg} mod|@{mod} skill|@{skill} tech|@{tech} type|@{type} character|@{character_id} target_id|@{target|target1|token_id}"></button> </div> </div> <input class="short options-flag options-flag" type="checkbox" name="attr_options-flag"/><span>y</span> <div class="options"> <div class="col-xs-12"> <div class="row middle-xs"> <div class="col-xs-1">Type</div> <div class="col-xs-3"> <select name="attr_type"> <option value="brawling">Brawling</option> <option value="charging">Charging</option> <option value="grappling">Grappling</option> <option value="distracting">Distracting</option> <option value="dodging">Dodging</option> <option value="evasion">Evasion</option> <option value="feinting">Feinting</option> <option value="martialarts">Martial Arts</option> <option value="melee">Melee</option> <option value="shooting">Shooting</option> <option value="calledshot">Called Shot</option> <option value="crowdfire">Firing into Crowd</option> <option value="parrying">Parrying</option> <option value="throwing">Throwing</option> </select> </div> <div class="col-xs-1">Skill</div> <div class="col-xs-2"> <select name="attr_skill"> <option value="brawling">Brawling</option> <option value="martialarts">Martial Arts</option> <option value="melee">Melee</option> <option value="riding">Riding</option> <option value="throwing">Throwing</option> </select> </div> </div> </div> <div class="col-xs-12"> <div class="row middle-xs"> <div class="col-xs-2">Effect</div> <div class="col-xs-2"> <select name="attr_effect" value="0"> <option value="0">None</option> <option value="accrit">AC Critical</option> <option value="burn">Burn</option> <option value="cold">Cold</option> <option value="compa">Comp. A</option> <option value="compc">Comp. C</option> <option value="critical">Critical</option> <option value="delirium">Delirium</option> <option value="disintegrate">Disintegrate</option> <option value="domination">Domination</option> <option value="electrical">Electrical</option> <option value="fatal">Fatal</option> <option value="fieldnegate">Field Negate</option> <option value="fumes">Fumes</option> <option value="heat">Heat</option> <option value="extrarf">Hits +1RF</option> <option value="ignites">Ignites</option> <option value="ignoresac">Ignores AC</option> <option value="intercept">Intercept</option> <option value="irritant">Irritant</option> <option value="knockdown">Knock Down</option> <option value="ko">Knock Out</option> <option value="mutate">Mutate</option> <option value="paralysis">Paralysis</option> <option value="poison">Poison</option> <option value="powerdrain">Power Drain</option> <option value="radiation">Radiation</option> <option value="scatter">Scatter</option> <option value="seeker">Seeker</option> <option value="shortout">Short Out</option> <option value="slam">Slam</option> <option value="sonic">Sonic</option> <option value="stun">Stun</option> <option value="subsonics">Subsonics</option> <option value="tangle">Tangle</option> </select> </div> <div class="col-xs-2">Critical</div> <div class="col-xs-2"> <select name="attr_effect_crit" value="0"> <option value="0">None</option> <option value="accrit">AC Critical</option> <option value="burn">Burn</option> <option value="cold">Cold</option> <option value="compa">Comp. A</option> <option value="compc">Comp. C</option> <option value="critical">Critical</option> <option value="delirium">Delirium</option> <option value="disintegrate">Disintegrate</option> <option value="domination">Domination</option> <option value="electrical">Electrical</option> <option value="fatal">Fatal</option> <option value="fieldnegate">Field Negate</option> <option value="fumes">Fumes</option> <option value="heat">Heat</option> <option value="extrarf">Hits +1 RF</option> <option value="ignites">Ignites</option> <option value="ignoresac">Ignores AC</option> <option value="intercept">Intercept</option> <option value="irritant">Irritant</option> <option value="knockdown">Knock Down</option> <option value="ko">Knock Out</option> <option value="mutate">Mutate</option> <option value="paralysis">Paralysis</option> <option value="poison">Poison</option> <option value="powerdrain">Power Drain</option> <option value="radiation">Radiation</option> <option value="scatter">Scatter</option> <option value="seeker">Seeker</option> <option value="shortout">Short Out</option> <option value="slam">Slam</option> <option value="sonic">Sonic</option> <option value="stun">Stun</option> <option value="subsonics">Subsonics</option> <option value="tangle">Tangle</option> </select> </div> </div> </div> <div class="col-xs-12"> <div class="row middle-xs"> <div class="col-xs-2">Tech Lvl.</div> <div class="col-xs-2"> <input type="number" name="attr_tech"/> </div> <div class="col-xs-2">Tech Rank</div> <div class="col-xs-2"> <input type="text" name="attr_tech_rank"/> </div> </div> </div> <div class="col-xs-12">Notes</div> <div class="col-xs-12"> <textarea name="attr_notes"></textarea> </div> </div> </fieldset> </div> </div> <div class="row underline"> <div class="col-xs-12"> <h2>Armour</h2> <div class="row middle-xs"> <div class="col-xs-5"> <label>Type</label> </div> <div class="col-xs-2"> <label>RF</label> </div> <div class="col-xs-2"> <label>DR</label> </div> <div class="col-xs-1"> <label>Wt.</label> </div> <div class="col-xs-1"> <label>√</label> </div> </div> <fieldset class="repeating_armour"> <div class="row"> <div class="col-xs-5"> <input type="text" name="attr_name"/> </div> <div class="col-xs-2"> <input type="text" name="attr_RF_physical" value="0"/> </div> <div class="col-xs-2"> <input type="text" name="attr_DR_physical" value="0"/> </div> <div class="col-xs-1"> <input type="number" name="attr_weight" value="0" step="0.01"/> </div> <div class="col-xs-1"> <input type="checkbox" name="attr_equipped" value="1" checked="true"/> </div> </div> <input class="short options-flag options-flag" type="checkbox" name="attr_options-flag"/><span>y</span> <div class="options"> <div class="row middle-xs"> <div class="col-xs-1">Notes</div> <div class="col-xs-6"> <input type="text" name="attr_notes"/> </div> <div class="col-xs-1">Tech Lvl.</div> <div class="col-xs-2"> <select name="attr_tech"> <option value="0">None</option> <option value="1">I</option> <option value="2">II</option> <option value="3">III</option> <option value="4">IV</option> <option value="5">V</option> </select> </div> <div class="col-xs-1">Tech Rank</div> <div class="col-xs-1"> <select name="attr_tech_rank"> <option value="N">N</option> <option value="A">A</option> <option value="B">B</option> <option value="C">C</option> <option value="D">D</option> <option value="E">E</option> <option value="F">F</option> <option value="G">G</option> <option value="H">H</option> <option value="I">I</option> <option value="J">J</option> </select> </div> </div> <div class="row middle-xs"> <div class="col-xs-12">Powered <input class="short check-flag" type="checkbox" name="attr_powered"/> <div class="check-options"> <div class="row"> <input type="hidden" name="attr_covers"/> <input type="hidden" name="attr_DR_energy" value="0"/> <input type="hidden" name="attr_jump" value="0"/> <input type="hidden" name="attr_material" value="0"/> <input type="hidden" name="attr_medkit" value="0"/> <input type="hidden" name="attr_jetpack" value="0"/> <input type="hidden" name="attr_airtight" value="0"/> </div> <div class="row"> <div class="col-xs-4"> <div class="row"> <div class="col-xs-8">Air Supply (hrs)</div> <div class="col-xs-4"> <input type="number" name="attr_airsupply" value="0" step="0.01"/> </div> </div> </div> <div class="col-xs-8"> <div class="row"> <div class="col-xs-4">Sensors</div> <div class="col-xs-8"> <select name="attr_sensors"> <option value="H">Human Visual / Audio</option> <option value="IU">Infrared and Ultraviolet</option> <option value="S">Microscopic</option> <option value="T">Telescopic</option> <option value="A">Audio</option> <option value="R">Radar/ Sonar </option> <option value="C">Communications </option> <option value="F">Feeling</option> <option value="V">Vibrations</option> </select> </div> </div> </div> </div> <div class="row"> <div class="col-xs-4"> <div class="row"> <div class="col-xs-8">No. Cells</div> <div class="col-xs-4"> <input type="number" name="attr_cells_no"/> </div> </div> </div> <div class="col-xs-4"> <div class="row"> <div class="col-xs-6">Cells Type</div> <div class="col-xs-6"> <select name="attr_cells_type"> <option value="A">Atomic </option> <option value="B">Broadcast</option> <option value="C">Chemical</option> <option value="H">Hydrogen</option> <option value="N">Nuclear</option> <option value="S">Solar</option> </select> </div> </div> </div> <div class="col-xs-4"> <div class="row"> <div class="col-xs-8">Power Duration (hours)</div> <div class="col-xs-4"> <input type="number" name="attr_power_duration" step="0.01"/> </div> </div> </div> </div> <div class="row"> <div class="col-xs-4"> <div class="row"> <div class="col-xs-8">Strength x</div> <div class="col-xs-4"> <input type="number" name="attr_PS_factor" value="1" step="0.01"/> </div> </div> </div> <div class="col-xs-4"> <div class="row"> <div class="col-xs-8">Speed x</div> <div class="col-xs-4"> <input type="number" name="attr_spd_factor" value="1" step="0.01"/> </div> </div> </div> <div class="col-xs-4"> <div class="row"> <div class="col-xs-8">Enc. x</div> <div class="col-xs-4"> <input type="number" name="attr_enc_factor" value="0.5" step="0.01"/> </div> </div> </div> </div> </div> </div> <div class="col-xs-12">Shield <input class="short check-flag" type="checkbox" name="attr_shield"/> <div class="check-options"> <div class="row middle-xs"> <div class="col-xs-2"> <label>Size</label> </div> <div class="col-xs-3"> <select name="attr_shield_size" value="0"> <option value="0">None</option> <option value="1">Small</option> <option value="2">Medium</option> <option value="3">Large</option> </select> </div> <div class="col-xs-3"> <label>Material</label> </div> <div class="col-xs-4"> <select name="attr_shield_material" value="0"> <option value="0">None</option> <option value="1">Wood</option> <option value="2">Leather</option> <option value="3">Carapace</option> <option value="4">Plastic</option> <option value="5">Metal</option> <option value="6">Duralloy</option> </select> </div> </div> </div> </div> <div class="col-xs-12">Helmet <input class="short check-flag" type="checkbox" name="attr_helmet"/> <div class="check-options"> <div class="row middle-xs"> <div class="col-xs-2"> <label>Mental CS</label> </div> <div class="col-xs-3"> <input type="number" name="attr_CS_mental" value="0"/> </div> <div class="col-xs-3"> <label>Material</label> </div> <div class="col-xs-4"> <select name="attr_material" value="0"> <option value="0">None</option> <option value="2">Leather</option> <option value="3">Carapace</option> <option value="4">Plastic</option> <option value="5">Metal</option> <option value="6">Duralloy</option> </select> </div> </div> </div> </div> </div> </div> </fieldset> </div> </div> <div class="row underline"> <div class="col-xs-12"> <h2>Gear</h2> <div class="row middle-xs"> <div class="col-xs-4"> <label>Type</label> </div> <div class="col-xs-1"> <label>Tech Lvl.</label> </div> <div class="col-xs-1"> <label>Tech Rank</label> </div> <div class="col-xs-1"> <label>Power</label> </div> <div class="col-xs-1"> <label>Cost</label> </div> <div class="col-xs-1"> <label>No. </label> </div> <div class="col-xs-1"> <label>Wt. </label> </div> <div class="col-xs-1"> <label>√ </label> </div> </div> <fieldset class="repeating_gear" title="@{gear}"> <div class="row"> <div class="col-xs-4"> <input type="text" name="attr_name"/> </div> <div class="col-xs-1"> <select name="attr_tech"> <option value="0">None</option> <option value="1">I</option> <option value="2">II</option> <option value="3">III</option> <option value="4">IV</option> <option value="5">V</option> </select> </div> <div class="col-xs-1"> <select name="attr_tech_rank"> <option value="N">A</option> <option value="A">A</option> <option value="B">B</option> <option value="C">C</option> <option value="D">D</option> <option value="E">E</option> <option value="F">F</option> <option value="G">G</option> <option value="H">H</option> <option value="I">I</option> <option value="J">J</option> </select> </div> <div class="col-xs-1"> <input type="text" name="attr_power"/> </div> <div class="col-xs-1"> <input type="number" name="attr_cost"/> </div> <div class="col-xs-1"> <input type="number" name="attr_count" value="1"/> </div> <div class="col-xs-1"> <input type="number" name="attr_weight" step="0.01"/> </div> <div class="col-xs-1"> <input type="checkbox" name="attr_equipped" value="1" checked="true"/> </div> </div> </fieldset> </div> <div class="col-xs-6"> </div> </div> </div> <div class="col-xs-4"> <div class="row"> <div class="col-xs-12"> <h2>Movement</h2> </div> </div> <div class="row middle-xs"> <div class="col-xs-3"> <div class="row"> <div class="col-xs-8"> <label>Speed</label> </div> <div class="col-xs-4"> <input type="hidden" name="attr_speed_max" value="24"/> <input type="hidden" name="attr_speed" value="6" title="@{spd}"/><span name="attr_speed"></span> </div> </div> </div> <div class="col-xs-9"> <div class="row"> <div class="col-xs-4"> <label>Burden</label> </div> <div class="col-xs-8"> <input type="hidden" name="attr_burden" title="@{burden}"/><span name="attr_burden"></span> </div> </div> </div> </div> <div class="row middle-xs underline"> <div class="col-xs-6"> <label>Encumbrance</label> </div> <div class="col-xs-4"> <input type="hidden" name="attr_encumbrance" value="0" title="@{enc}"/><span name="attr_encumbrance"></span> </div> <div class="col-xs-2"><span>kg.</span></div> </div> <div class="row"> <div class="col-xs-12"> <h2>Combat Stats</h2> <div class="row middle-xs"> <div class="col-xs-2"> <label class="emphasis">HP</label> </div> <div class="col-xs-3"> <input type="number" name="attr_hp_max" title="@{hp_max}"/> </div> <div class="col-xs-3"> <label class="emphasis">Wounds</label> </div> <div class="col-xs-4"> <input type="number" name="attr_wounds" value="(@{hp|max}-@{hp})" title="@{wounds}" disabled="true"/> </div> </div> </div> </div> <div class="row middle-xs underline"> <div class="col-xs-4"> <label class="emphasis">Defence</label> </div> <div class="col-xs-8"> <div class="row middle-xs"> <div class="col-xs-4"> <label>CS</label> </div> <div class="col-xs-4"> <label>RF</label> </div> <div class="col-xs-4"> <label>DR</label> </div> </div> </div> </div> <div class="row middle-xs"> <div class="col-xs-4">Physical</div> <div class="col-xs-8"> <div class="row middle-xs"> <div class="col-xs-4"><span name="attr_CS_physical"></span></div> <div class="col-xs-4"> <span name="attr_RF_physical"></span></div> <div class="col-xs-4"><span name="attr_DR_physical"></span></div> </div> </div> </div> <div class="row middle-xs underline"> <div class="col-xs-4">Energy</div> <div class="col-xs-8"> <div class="row middle-xs"> <div class="col-xs-4"><span name="attr_CS_energy"></span></div> <div class="col-xs-4"> <span name="attr_RF_energy"></span></div> <div class="col-xs-4"><span name="attr_DR_energy"></span></div> </div> </div> </div> <div class="row middle-xs"> <div class="col-xs-4">Mental</div> <div class="col-xs-8"> <div class="row middle-xs"> <div class="col-xs-4"><span name="attr_CS_mental"></span></div> <div class="col-xs-4"> <span name="attr_RF_mental"></span></div> <div class="col-xs-4"><span name="attr_DR_mental"></span></div> </div> </div> </div> <div class="row underline"> <div class="col-xs-12"> <h2>Notes</h2> <fieldset class="repeating_notes"> <div class="row"> <div class="col-xs-12"> <input type="text" name="attr_name"/> </div> </div> <input class="short options-flag options-flag" type="checkbox" name="attr_options-flag"/><span>y</span> <div class="options"> <div class="row"> <div class="col-xs-12">Description</div> <div class="col-xs-12"> <textarea name="description"></textarea> </div> </div> </div> </fieldset> </div> </div> <div class="row underline"> <div class="col-xs-12"> <h2>Skills</h2> <div class="row"> <div class="col-xs-5"> <label>Name</label> </div> <div class="col-xs-3"> <label>Rank</label> </div> <div class="col-xs-3"> <label>Mod.</label> </div> </div> <fieldset class="repeating_skills"> <div class="row"> <div class="col-xs-5"> <input type="text" name="attr_name"/> </div> <div class="col-xs-3"> <input type="number" name="attr_rank"/> </div> <div class="col-xs-3"> <select name="attr_mod"> <option value="PS">PS</option> <option value="DX">DX</option> <option value="CN">CN</option> <option value="IN">IN</option> <option value="MS">MS</option> <option value="CH">CH</option> </select> </div> <div class="col-xs-1"> <button type="roll" name="roll_skill" value="!gw act @{rank} title|@{name} mod|@{mod} character|@{character_id}"></button> </div> </div> </fieldset> </div> </div> <div class="row underline"> <div class="col-xs-12"> <h2>Talents</h2> <div class="row"> <div class="col-xs-12"> <label>Name</label> </div> </div> <fieldset class="repeating_talents"> <div class="row"> <div class="col-xs-8"> <input type="text" name="attr_name"/> </div> <div class="col-xs-2"> <button type="roll" name="roll_talent" value="!gw act @{character_rank} title|@{name} character|@{character_id}"></button> </div> </div> <input class="short options-flag options-flag" type="checkbox" name="attr_options-flag"/><span>y</span> <div class="options"> <div class="row"> <div class="col-xs-3">Affects:</div> <div class="col-xs-3"> <input type="text" name="attr_affects"/> </div> <div class="col-xs-3">Act Factor:</div> <div class="col-xs-3"> <input type="text" name="attr_act_factor"/> </div> <div class="col-xs-12">Notes</div> <div class="col-xs-12"> <textarea name="attr_notes"></textarea> </div> </div> </div> </fieldset> </div> </div> <div class="row underline"> <div class="col-xs-12"> <h2>Coins</h2> <div class="row middle-xs"> <div class="col-xs-8"> <label>Type</label> </div> <div class="col-xs-4"> <label>Amount</label> </div> </div> <div class="row middle-xs"> <div class="col-xs-8"><span>Nickels</span></div> <div class="col-xs-4"> <input type="number" name="attr_coin_nk"/> </div> </div> <div class="row middle-xs"> <div class="col-xs-8"><span>Silver Coins</span></div> <div class="col-xs-4"> <input type="number" name="attr_coin_sp"/> </div> </div> <div class="row middle-xs"> <div class="col-xs-8"><span>Gold Coins</span></div> <div class="col-xs-4"> <input type="number" name="attr_coin_gp"/> </div> </div> <div class="row middle-xs"> <div class="col-xs-8"><span>Domars</span></div> <div class="col-xs-4"> <input type="number" name="attr_coin_dm"/> </div> </div> <div class="row middle-xs"> <div class="col-xs-8"><span>Dahlers</span></div> <div class="col-xs-4"> <input type="number" name="attr_coin_dl"/> </div> </div> <div class="row middle-xs"> <div class="col-xs-8"><span>Daublers</span></div> <div class="col-xs-4"> <input type="number" name="attr_coin_db"/> </div> </div> </div> </div> <div class="row underline"> <div class="col-xs-12"> <h2>Cells</h2> <div class="row middle-xs"> <div class="col-xs-8"> <label>Type</label> </div> <div class="col-xs-4"> <label>Amount</label> </div> </div> <div class="row middle-xs"> <div class="col-xs-8"><span>Atomic</span></div> <div class="col-xs-4"> <input type="number" name="attr_cells_atomic"/> </div> </div> <div class="row middle-xs"> <div class="col-xs-8"><span>Chemical</span></div> <div class="col-xs-4"> <input type="number" name="attr_cells_chemical"/> </div> </div> <div class="row middle-xs"> <div class="col-xs-8"><span>Hydrogen</span></div> <div class="col-xs-4"> <input type="number" name="attr_cells_hydrogen"/> </div> </div> <div class="row middle-xs"> <div class="col-xs-8"><span>Solar</span></div> <div class="col-xs-4"> <input type="number" name="attr_cells_solar"/> </div> </div> </div> </div> </div> </div> </div> </div> <div class="tab2"> <div class="sheet-container"> <div class="row underline"> <div class="col-xs-8"> <div class="row"> <div class="col-xs-6"> <div class="row middle-xs"> <div class="col-xs-12"> <label>Creature Type:</label> </div> <div class="col-xs-12"> <input type="text" name="attr_creature_type" title="@{creature_type}"/> </div> <div class="col-xs-12"><br/></div> </div> <div class="row middle-xs"> <div class="col-xs-3"> <label>Number:</label> </div> <div class="col-xs-3"> <input type="text" name="attr_number" title="@{number}"/> </div> <div class="col-xs-3"> <label>Morale:</label> </div> <div class="col-xs-3"> <input type="number" name="attr_morale" title="@{morale}"/> </div> <div class="col-xs-12"> <div class="row middle-xs"> <div class="col-xs-3"> <label>Hit Dice:</label> </div> <div class="col-xs-3"> <input type="number" name="attr_character_rank" title="@{rank}"/> </div> <div class="col-xs-3"> <label>AC:</label> </div> <div class="col-xs-3"> <input type="number" name="attr_AC" title="@{AC}" value="0"/> </div> </div> </div> <div class="col-xs-12"> <div class="row middle-xs"> <div class="col-xs-1"> <label>DR:</label> </div> <div class="col-xs-3"> <input type="number" name="attr_DR_physical" title="@{DR_physica}" value="0"/> </div> <div class="col-xs-2"> <label>Land Speed:</label> </div> <div class="col-xs-2"> <input type="number" name="attr_spd_land" title="@{DR_physica}" value="24"/> </div> <div class="col-xs-2"> <label>Air Speed:</label> </div> <div class="col-xs-2"> <input type="number" name="attr_spd_air" title="@{DR_physica}" value="0"/> </div> </div> </div> </div> </div> <div class="col-xs-6"> <h2>Combat Stats</h2> <div class="row middle-xs"> <div class="col-xs-2"> <label class="emphasis">HP</label> </div> <div class="col-xs-3"> <input type="number" name="attr_hp_max" title="@{hp_max}"/> </div> <div class="col-xs-3"> <label class="emphasis">Wounds</label> </div> <div class="col-xs-4"> <input type="number" name="attr_wounds" value="(@{hp|max}-@{hp})" title="@{wounds}" disabled="true"/> </div> <div class="col-xs-4"> <label class="emphasis">Defence</label> </div> <div class="col-xs-8"> <div class="row middle-xs"> <div class="col-xs-4"> <label>CS</label> </div> <div class="col-xs-4"> <label>RF</label> </div> <div class="col-xs-4"> <label>DR</label> </div> </div> </div> <div class="col-xs-4">Physical</div> <div class="col-xs-8"> <div class="row middle-xs"> <div class="col-xs-4"><span name="attr_CS_physical"></span></div> <div class="col-xs-4"> <span name="attr_RF_physical"></span></div> <div class="col-xs-4"><span name="attr_DR_physical"></span></div> </div> </div> <div class="col-xs-4">Energy</div> <div class="col-xs-8"> <div class="row middle-xs"> <div class="col-xs-4"><span name="attr_CS_energy"></span></div> <div class="col-xs-4"> <span name="attr_RF_energy"></span></div> <div class="col-xs-4"><span name="attr_DR_energy"></span></div> </div> </div> <div class="col-xs-4">Mental</div> <div class="col-xs-8"> <div class="row middle-xs"> <div class="col-xs-4"><span name="attr_CS_mental"></span></div> <div class="col-xs-4"> <span name="attr_RF_mental"></span></div> <div class="col-xs-4"><span name="attr_DR_mental"></span></div> <div class="row underline"></div> </div> </div> </div> </div> <div class="col-xs-12"> <input class="rollSwitch" type="hidden" name="attr_rollSwitch" value="0"/> <div class="row pre-rolled"> <div class="col-xs-12"></div> </div> <div class="row post-rolled"> <div class="col-xs-6 post-rolled"> <h2>Physical Abilities</h2> <div class="row"> <div class="col-xs-1"></div> <div class="col-xs-2" title="Current Score">Cur.</div> <div class="col-xs-2" title="Initially Rolled Score">Orig.</div> <div class="col-xs-2" title="Character Advancement">Adv.</div> <div class="col-xs-2" title="Temporary Change">Tmp.</div> <div class="col-xs-2" title="Score Modifier">Mod.</div> <div class="col-xs-1 padless">Roll</div> </div> <div class="row middle-xs"> <div class="col-xs-1"> <label class="ability">PS</label> </div> <div class="col-xs-2"> <input type="hidden" name="attr_PS" title="@{PS}"/><span class="emphasis" name="attr_PS"></span> </div> <div class="col-xs-2"> <input type="text" name="attr_PS_rolled" title="@{PS_rolled}"/> </div> <div class="col-xs-2"> <input type="number" name="attr_PS_advanced" value="0" title="@{PS_advanced}"/> </div> <div class="col-xs-2"> <input type="number" name="attr_PS_tmp" value="0" title="@{PS_tmp}"/> </div> <div class="col-xs-2"> <input type="hidden" name="attr_PS_modifier" value="0" title="@{PS_modifier}"/> <input type="number" name="attr_PS_mod" value="@{PS_modifier}" disabled="true"/> </div> <div class="col-xs-1 padless"> <button type="roll" name="roll_PS" value="!gw act @{PS} title|Physical character|@{character_id}"></button> </div> </div> <div class="row middle-xs"> <div class="col-xs-1"> <label class="ability">DX</label> </div> <div class="col-xs-2"> <input type="hidden" name="attr_DX" title="@{DX}"/><span class="emphasis" name="attr_DX"></span> </div> <div class="col-xs-2"> <input type="text" name="attr_DX_rolled" title="@{DX_rolled}"/> </div> <div class="col-xs-2"> <input type="number" name="attr_DX_advanced" value="0" title="@{DX_advanced}"/> </div> <div class="col-xs-2"> <input type="number" name="attr_DX_tmp" value="0" title="@{DX_tmp}"/> </div> <div class="col-xs-2"> <input type="hidden" name="attr_DX_modifier" value="0" title="@{DX_modifier}"/> <input type="number" name="attr_DX_mod" value="@{DX_modifier}" disabled="true"/> </div> <div class="col-xs-1 padless"> <button type="roll" name="roll_DX" value="!gw act @{DX} title|Dexterity character|@{character_id}"></button> </div> </div> <div class="row middle-xs"> <div class="col-xs-1"> <label class="ability">CN</label> </div> <div class="col-xs-2"> <input type="hidden" name="attr_CN" title="@{CN}"/><span class="emphasis" name="attr_CN"></span> </div> <div class="col-xs-2"> <input type="text" name="attr_CN_rolled" title="@{CN_rolled}"/> </div> <div class="col-xs-2"> <input type="number" name="attr_CN_advanced" value="0" title="@{CN_advanced}"/> </div> <div class="col-xs-2"> <input type="number" name="attr_CN_tmp" value="0" title="@{CN_tmp}"/> </div> <div class="col-xs-2"> <input type="hidden" name="attr_CN_modifier" value="0" title="@{CN_modifier}"/> <input type="number" name="attr_CN_mod" value="@{CN_modifier}" disabled="true"/> </div> <div class="col-xs-1 padless"> <button type="roll" name="roll_CN" value="!gw act @{CN} title|Constitution character|@{character_id}"></button> </div> </div> </div> <div class="col-xs-6 post"> <h2>Mental Abilities</h2> <div class="row"> <div class="col-xs-1"></div> <div class="col-xs-2" title="Current Score">Cur.</div> <div class="col-xs-2" title="Initially Rolled Score">Orig.</div> <div class="col-xs-2" title="Character Advancement">Adv.</div> <div class="col-xs-2" title="Temporary Change">Tmp.</div> <div class="col-xs-2" title="Score Modifier">Mod.</div> <div class="col-xs-1 padless">Roll</div> </div> <div class="row middle-xs"> <div class="col-xs-1"> <label class="ability">IN</label> </div> <div class="col-xs-2"> <input type="hidden" name="attr_IN" title="@{IN}"/><span class="emphasis" name="attr_IN"></span> </div> <div class="col-xs-2"> <input type="text" name="attr_IN_rolled" title="@{IN_rolled}"/> </div> <div class="col-xs-2"> <input type="number" name="attr_IN_advanced" value="0" title="@{IN_advanced}"/> </div> <div class="col-xs-2"> <input type="number" name="attr_IN_tmp" value="0" title="@{IN_tmp}"/> </div> <div class="col-xs-2"> <input type="hidden" name="attr_IN_modifier" value="0" title="@{IN_modifier}"/> <input type="number" name="attr_IN_mod" value="@{IN_modifier}" disabled="true"/> </div> <div class="col-xs-1 padless"> <button type="roll" name="roll_IN" value="!gw act @{IN} title|Intelligence character|@{character_id}"></button> </div> </div> <div class="row middle-xs"> <div class="col-xs-1"> <label class="ability">MS</label> </div> <div class="col-xs-2"> <input type="hidden" name="attr_MS" title="@{MS}"/><span class="emphasis" name="attr_MS"></span> </div> <div class="col-xs-2"> <input type="text" name="attr_MS_rolled" title="@{MS_rolled}"/> </div> <div class="col-xs-2"> <input type="number" name="attr_MS_advanced" value="0" title="@{MS_advanced}"/> </div> <div class="col-xs-2"> <input type="number" name="attr_MS_tmp" value="0" title="@{MS_tmp}"/> </div> <div class="col-xs-2"> <input type="hidden" name="attr_MS_modifier" value="0" title="@{MS_modifier}"/> <input type="number" name="attr_MS_mod" value="@{MS_modifier}" disabled="true"/> </div> <div class="col-xs-1 padless"> <button type="roll" name="roll_MS" value="!gw act @{MS} title|Mental_Strength character|@{character_id}"></button> </div> </div> <div class="row middle-xs"> <div class="col-xs-1"> <label class="ability">CH</label> </div> <div class="col-xs-2"> <input type="hidden" name="attr_CH" title="@{CH}"/><span class="emphasis" name="attr_CH"></span> </div> <div class="col-xs-2"> <input type="text" name="attr_CH_rolled" title="@{CH_rolled}"/> </div> <div class="col-xs-2"> <input type="number" name="attr_CH_advanced" value="0" title="@{CH_advanced}"/> </div> <div class="col-xs-2"> <input type="number" name="attr_CH_tmp" value="0" title="@{CH_tmp}"/> </div> <div class="col-xs-2"> <input type="hidden" name="attr_CH_modifier" value="0" title="@{CH_modifier}"/> <input type="number" name="attr_CH_mod" value="@{CH_modifier}" disabled="true"/> </div> <div class="col-xs-1 padless"> <button type="roll" name="roll_CH" value="!gw act @{CH} title|Charsima character|@{character_id}"></button> </div> </div> </div> </div> </div> <div class="col-xs-12"> <h2>Mutations</h2> <div class="row middle-xs"> <div class="col-xs-3"> <label>Name</label> </div> <div class="col-xs-2"> <label>Type</label> </div> <div class="col-xs-2"> <label>Use</label> </div> <div class="col-xs-1"> <label>Range</label> </div> <div class="col-xs-1"> <label>Rank</label> </div> <div class="col-xs-1"> <label>Dmg.</label> </div> </div> <fieldset class="repeating_mutations"> <div class="row"> <div class="col-xs-3"> <input type="text" name="attr_name"/> </div> <div class="col-xs-2"> <select name="attr_type"> <option value="physical">Physical</option> <option value="mental">Mental</option> <option value="defect">Defect</option> </select> </div> <div class="col-xs-2"> <input type="text" name="attr_use"/> </div> <div class="col-xs-1"> <input type="text" name="attr_range"/> </div> <div class="col-xs-1"> <input type="number" name="attr_rank"/> </div> <div class="col-xs-1"> <input type="number" name="attr_dmg"/> </div> <div class="col-xs-1"> <input type="hidden" name="attr_id"/> <button type="roll" name="roll_mutation" value="!gw act @{rank} title|@{name} character|@{character_id}"></button> </div> </div> <input class="short options-flag options-flag" type="checkbox" name="attr_options-flag"/><span>y</span> <div class="options"> <div class="row middle-xs"> <div class="col-xs-2"> <label>Mod.</label> </div> <div class="col-xs-2"> <select name="attr_mod"> <option value="PS">PS</option> <option value="DX">DX</option> <option value="CN">CN</option> <option value="IN">IN</option> <option value="MS">MS</option> <option value="CH">CH</option> </select> </div> <div class="col-xs-2"> <label>Effort</label> </div> <div class="col-xs-2"> <select name="attr_effort"> <option value="passive">Subconscious</option> <option value="active">Conscious</option> </select> </div> <div class="col-xs-1"> <label>No.</label> </div> <div class="col-xs-1"> <input type="text" name="attr_number"/> </div> <div class="col-xs-2"> <label>Duration</label> </div> <div class="col-xs-2"> <input type="text" name="attr_duration"/> </div> <div class="col-xs-12"> <label>Description</label> </div> <div class="col-xs-12"> <textarea name="attr_description"></textarea> </div> </div> </div> </fieldset> </div> <div class="col-xs-12"> <h2>Attacks</h2> <div class="row middle-xs"> <div class="col-xs-3"> <label>Name</label> </div> <div class="col-xs-1"> <label>Mod.</label> </div> <div class="col-xs-1"> <label>Range</label> </div> <div class="col-xs-1"> <label>Dmg.</label> </div> <div class="col-xs-2"> <label>Rank</label> </div> </div> <fieldset class="repeating_attacks"> <div class="row"> <div class="col-xs-3"> <input type="text" name="attr_name"/> </div> <div class="col-xs-1"> <select name="attr_mod"> <option value="PS">PS</option> <option value="DX">DX</option> <option value="CN">CN</option> <option value="IN">IN</option> <option value="MS">MS</option> <option value="CH">CH</option> </select> </div> <div class="col-xs-1"> <input type="text" name="attr_range"/> </div> <div class="col-xs-1"> <input type="text" name="attr_dmg"/> </div> <div class="col-xs-1"> <input type="text" name="attr_rank"/> </div> <div class="col-xs-1"> <button type="roll" name="roll_attack" value="!gw act @{rank} CS|?{CS|0} title|@{name} mod|@{mod} tech| type|@{type} effect|@{effect} character|@{character_id}"></button> </div> </div> <input class="short options-flag options-flag" type="checkbox" name="attr_options-flag"/><span>y</span> <div class="options"> <div class="col-xs-12"> <div class="row middle-xs"> <div class="col-xs-1">Type</div> <div class="col-xs-3"> <select name="attr_type"> <option value="brawling">Brawling</option> <option value="charging">Charging</option> <option value="grappling">Grappling</option> <option value="distracting">Distracting</option> <option value="dodging">Dodging</option> <option value="evasion">Evasion</option> <option value="feinting">Feinting</option> <option value="martialarts">Martial Arts</option> <option value="melee">Melee</option> <option value="shooting">Shooting</option> <option value="calledshot">Called Shot</option> <option value="crowdfire">Firing into Crowd</option> <option value="parrying">Parrying</option> <option value="throwing">Throwing</option> </select> </div> <div class="col-xs-1">Skill</div> <div class="col-xs-2"> <select name="attr_skill"> <option value="brawling">Brawling</option> <option value="martialarts">Martial Arts</option> <option value="melee">Melee</option> <option value="riding">Riding</option> <option value="throwing">Throwing</option> </select> </div> </div> </div> <div class="col-xs-12"> <div class="row middle-xs"> <div class="col-xs-2">Effect</div> <div class="col-xs-2"> <select name="attr_effect" value="0"> <option value="0">None</option> <option value="accrit">AC Critical</option> <option value="burn">Burn</option> <option value="cold">Cold</option> <option value="compa">Comp. A</option> <option value="compc">Comp. C</option> <option value="critical">Critical</option> <option value="delirium">Delirium</option> <option value="disintegrate">Disintegrate</option> <option value="domination">Domination</option> <option value="electrical">Electrical</option> <option value="fatal">Fatal</option> <option value="fieldnegate">Field Negate</option> <option value="fumes">Fumes</option> <option value="heat">Heat</option> <option value="extrarf">Hits +1RF</option> <option value="ignites">Ignites</option> <option value="ignoresac">Ignores AC</option> <option value="intercept">Intercept</option> <option value="irritant">Irritant</option> <option value="knockdown">Knock Down</option> <option value="ko">Knock Out</option> <option value="mutate">Mutate</option> <option value="paralysis">Paralysis</option> <option value="poison">Poison</option> <option value="powerdrain">Power Drain</option> <option value="radiation">Radiation</option> <option value="scatter">Scatter</option> <option value="seeker">Seeker</option> <option value="shortout">Short Out</option> <option value="slam">Slam</option> <option value="sonic">Sonic</option> <option value="stun">Stun</option> <option value="subsonics">Subsonics</option> <option value="tangle">Tangle</option> </select> </div> <div class="col-xs-2">Critical</div> <div class="col-xs-2"> <select name="attr_effect_crit" value="0"> <option value="0">None</option> <option value="accrit">AC Critical</option> <option value="burn">Burn</option> <option value="cold">Cold</option> <option value="compa">Comp. A</option> <option value="compc">Comp. C</option> <option value="critical">Critical</option> <option value="delirium">Delirium</option> <option value="disintegrate">Disintegrate</option> <option value="domination">Domination</option> <option value="electrical">Electrical</option> <option value="fatal">Fatal</option> <option value="fieldnegate">Field Negate</option> <option value="fumes">Fumes</option> <option value="heat">Heat</option> <option value="extrarf">Hits +1 RF</option> <option value="ignites">Ignites</option> <option value="ignoresac">Ignores AC</option> <option value="intercept">Intercept</option> <option value="irritant">Irritant</option> <option value="knockdown">Knock Down</option> <option value="ko">Knock Out</option> <option value="mutate">Mutate</option> <option value="paralysis">Paralysis</option> <option value="poison">Poison</option> <option value="powerdrain">Power Drain</option> <option value="radiation">Radiation</option> <option value="scatter">Scatter</option> <option value="seeker">Seeker</option> <option value="shortout">Short Out</option> <option value="slam">Slam</option> <option value="sonic">Sonic</option> <option value="stun">Stun</option> <option value="subsonics">Subsonics</option> <option value="tangle">Tangle</option> </select> </div> </div> </div> <div class="col-xs-12"> <div class="row middle-xs"> <div class="col-xs-2">Tech Lvl.</div> <div class="col-xs-2"> <input type="number" name="attr_tech"/> </div> <div class="col-xs-2">Tech Rank</div> <div class="col-xs-2"> <input type="text" name="attr_tech_rank"/> </div> </div> </div> <div class="col-xs-12">Notes</div> <div class="col-xs-12"> <textarea name="attr_notes"></textarea> </div> </div> </fieldset> </div> </div> </div> <div class="col-xs-4"> <div class="row middle-xs"> <div class="col-xs-12"> <label>Description</label> </div> <div class="col-xs-12"> <textarea name="attr_description"> </textarea> </div> </div> </div> </div> </div> </div> <div class="tab3"> <div class="sheet-container"> <h2>Ability Scores</h2> <div class="panel"> <input class="short rollSwitch" type="hidden" value="0"/> <label class="tab"> <input class="short rollSwitch" type="radio" value="0" name="attr_rollSwitch"/><span>Reset</span> </label> <label class="tab"> <input class="short rollSwitch" type="radio" value="1" name="attr_rollSwitch"/><span>Roll</span> </label> </div> <h2>Hit Points</h2> <div class="panel"> <input class="short hpRollSwitch" type="hidden" value="0"/> <label class="tab"> <input class="short hpRollSwitch" type="radio" value="0" name="attr_hpRollSwitch"/><span>Reset</span> </label> <label class="tab"> <input class="short hpRollSwitch" type="radio" value="1" name="attr_hpRollSwitch"/><span>Roll</span> </label> </div> </div> </div> </div> </div> <input type="hidden" name="attr_PS" title="@PS"/> <input type="hidden" name="attr_PS_modifier" title="@PS_modifier"/> <input type="hidden" name="attr_PS_rolled" title="@PS_rolled"/> <input type="hidden" name="attr_PS_advanced" title="@PS_advanced"/> <input type="hidden" name="attr_PS_tmp" title="@PS_tmp"/> <input type="hidden" name="attr_PS_mod" title="@PS_mod"/> <input type="hidden" name="attr_DX" title="@DX"/> <input type="hidden" name="attr_DX_modifier" title="@DX_modifier"/> <input type="hidden" name="attr_DX_rolled" title="@DX_rolled"/> <input type="hidden" name="attr_DX_advanced" title="@DX_advanced"/> <input type="hidden" name="attr_DX_tmp" title="@DX_tmp"/> <input type="hidden" name="attr_DX_mod" title="@DX_mod"/> <input type="hidden" name="attr_CN" title="@CN"/> <input type="hidden" name="attr_CN_modifier" title="@CN_modifier"/> <input type="hidden" name="attr_CN_rolled" title="@CN_rolled"/> <input type="hidden" name="attr_CN_advanced" title="@CN_advanced"/> <input type="hidden" name="attr_CN_tmp" title="@CN_tmp"/> <input type="hidden" name="attr_CN_mod" title="@CN_mod"/> <input type="hidden" name="attr_IN" title="@IN"/> <input type="hidden" name="attr_IN_modifier" title="@IN_modifier"/> <input type="hidden" name="attr_IN_rolled" title="@IN_rolled"/> <input type="hidden" name="attr_IN_advanced" title="@IN_advanced"/> <input type="hidden" name="attr_IN_tmp" title="@IN_tmp"/> <input type="hidden" name="attr_IN_mod" title="@IN_mod"/> <input type="hidden" name="attr_MS" title="@MS"/> <input type="hidden" name="attr_MS_modifier" title="@MS_modifier"/> <input type="hidden" name="attr_MS_rolled" title="@MS_rolled"/> <input type="hidden" name="attr_MS_advanced" title="@MS_advanced"/> <input type="hidden" name="attr_MS_tmp" title="@MS_tmp"/> <input type="hidden" name="attr_MS_mod" title="@MS_mod"/> <input type="hidden" name="attr_CH" title="@CH"/> <input type="hidden" name="attr_CH_modifier" title="@CH_modifier"/> <input type="hidden" name="attr_CH_rolled" title="@CH_rolled"/> <input type="hidden" name="attr_CH_advanced" title="@CH_advanced"/> <input type="hidden" name="attr_CH_tmp" title="@CH_tmp"/> <input type="hidden" name="attr_CH_mod" title="@CH_mod"/> <input type="hidden" name="attr_import" title="@import"/> <input type="hidden" name="attr_DR_physical" title="@DR_physical" value="0"/> <input type="hidden" name="attr_DR_mental" title="@DR_mental" value="0"/> <input type="hidden" name="attr_DR_energy" title="@DR_energy" value="0"/> <input type="hidden" name="attr_CS_physical" title="@CS_physical" value="0"/> <input type="hidden" name="attr_CS_mental" title="@CS_mental" value="0"/> <input type="hidden" name="attr_CS_energy" title="@CS_energy" value="0"/> <input type="hidden" name="attr_RF_physical" title="@RF_physical" value="0"/> <input type="hidden" name="attr_RF_mental" title="@RF_mental" value="0"/> <input type="hidden" name="attr_RF_energy" title="@RF_energy" value="0"/> <script type="text/worker"> /* * Dices 3.1 */ (function() { 'use strict'; window.dices = { Version: '3.1.3', // TODO: add 'dropped' array to return dropped rolls /** * Parses a dice string into an object * * @param {string} dice string to be parsed (e.g '1d6') * @return {object} return an object containing count, sides, and modifier values */ parseRoll: function(roll) { var dice = { count: 0, sides: 0, modifier: 0 }, indexAt = -1, i = 0, l = 0; for (i=0, l=roll.length; i < l; i += 1) { // finds index of 'd' or 'D' character in dice string if (roll.charCodeAt(i) === 100 || roll.charCodeAt(i) === 68) { indexAt = i; break; } } if (indexAt === -1) { return dice; } else { dice.count = roll.substring(0, indexAt) >> 0; for (i=0, l=roll.length; i < l; i+=1) { if (roll.charCodeAt(i) === 43) { dice.sides = roll.substring(indexAt+1, i) >> 0; indexAt = i; dice.modifier = roll.substring(indexAt+1, l) >> 0; break; } else if (roll.charCodeAt(i) === 45) { dice.sides = roll.substring(indexAt+1, i) >> 0; indexAt = i; dice.modifier = (roll.substring(indexAt+1, l) >> 0) * -1; break; } } if (!dice.sides) { dice.sides = roll.substring(indexAt+1, roll.length) >> 0; } } return dice; }, /** * Rolls the dice, and handles the result based on optional parameters, then returns the result object * * @param {object} dice The dice to be rolled, if string, calls parseDice. * @param {object} options An object containing optional parameter overrides. * @return {object} A object containing all of the roll results, as well as the total. */ roll: function(dice, options) { var parsedDice = { count: 0, sides: 0, modifier: 0 }, result = { rolls: [], total: 0 }, rolled = 0, i = 0, l = 0; options = dices.extend({ multiMod : false, // Add modifier to for each dice rolled, instead of only once. dropLowest : 0, // Useful for quick character stats generation dropHighest : 0, // I don't know why you'd need this, but here it is anyway! multiplier : 1 // Probably only useful for very specific needs. Multies roll, before adding modifier }, options); if (!dice) { return result; } else if (typeof dice === 'string') { parsedDice = dices.parseRoll(dice); } else if (typeof dice === 'object' && dices.isInt(dice.count) && dices.isInt(dice.sides)) { parsedDice = dice; } else { return result; } for (i = 0, l = parsedDice.count; i < l; i += 1) { rolled = Math.round(Math.random() * (parsedDice.sides - 1)) + 1; rolled = rolled * options.multiplier; if (options.multiMod) { rolled += parsedDice.modifier; } result.rolls.push(rolled); } // TODO: Re-sort array back to original state, instead of leaving it sorted by value if (dices.isInt(options.dropLowest) && options.dropLowest > 0) { result.rolls.sort(dices.highSort); result.rolls.length -= options.dropLowest; } if (dices.isInt(options.dropHighest) && options.dropLowest > 0) { result.rolls.sort(dices.lowSort); result.rolls.length -= options.dropHighest; } for (i = 0, l = result.rolls.length; i < l; i+=1) { result.total += result.rolls[i]; } if (!options.multiMod) { result.total += parsedDice.modifier; } return result; }, /** * Overrides values of one object with the values of another. */ extend: function(a, b) { b = b || {}; Object.keys(b).forEach(function(key) { a[key] = b[key]; }); return a; }, /** * Sorts from highest to lowest. */ highSort: function(a, b) { return b - a; }, /** * Sorts from lowest to highest. */ lowSort: function(a, b) { return a - b; }, /** * Returns true if parameter is integer. */ isInt: function(n) { return n === (n >> 0); }, version: function() { return dices.Version; }, }; })(); //------ Functions --------- const update_ability = function(name) { console.log('update_ability: '+name); let update = {}; getAttrs([name+'_rolled', name+'_advanced', name+'_tmp'], (v) => { console.log(v); update[name] = (parseInt(v[name+'_rolled']) || 0 ) + (parseInt(v[name+'_advanced']) || 0 ) + (parseInt(v[name+'_tmp']) || 0 ); console.log(update); setAttrs(update, {silent: false}); }); }; // @todo: this should probably just pick up equipped shields, rather than having a specific shield setting. const getShieldCS = function(shield_size, shield_material) { console.log('getShieldCS'); console.log(shield_size); console.log(shield_material); let CS_physical = 0, CS_energy = 0, CS_mental = 0; CS_physical = parseInt(shield_size) > 2 ? -2 : parseInt(shield_size) > 1 ? -1 : 0; CS_physical = parseInt(shield_material) === 1 ? CS_physical : parseInt(shield_material) === 2 ? CS_physical : parseInt(shield_material) === 3 ? CS_physical-1 : parseInt(shield_material) === 4 ? CS_physical-1 : parseInt(shield_material) === 5 ? CS_physical-2 : parseInt(shield_material) === 6 ? CS_physical : CS_physical; CS_energy = parseInt(shield_material) === 6 ? CS_physical -3 : CS_physical; return {CS_physical, CS_energy, CS_mental}; }; const update_ac = function() { console.log('update_ac'); let update = {}; let dr_total = 0; let ac_total = 0; let count = 0; let enc_attrs = ['shield_CS']; getSectionIDs("repeating_armour", (armourIds) => { _.each(armourIds, (currentID, i) => { enc_attrs.push(`repeating_armour_${currentID}_weight`); enc_attrs.push(`repeating_armour_${currentID}_count`); enc_attrs.push(`repeating_armour_${currentID}_equipped`); }); getAttrs(enc_attrs, (v) => { }) }); }; const update_enc = function() { console.log('update_enc'); let update = {}; let wtotal = 0; let DR_physical = 0; let DR_energy = 0; let CS = {}; let RFtotal = 0; let CS_physical = 0; let CS_mental = 0; let CS_energy = 0; let count = 0; let PSfactor = 1; let spdfactor = 1; let enc_attrs = ['DR_physical', 'DR_energy', 'coin_gp', 'coin_nk', 'coin_sp', 'coin_dm', 'PS', 'PS_rolled', 'PS_advanced', 'PS_tmp', 'encumbrance', 'encumbrance_max', 'speed', 'speed_max', 'burden', 'burden_max']; getSectionIDs("repeating_gear", (gearIds) => { _.each(gearIds, (currentID, i) => { enc_attrs.push(`repeating_gear_${currentID}_weight`); enc_attrs.push(`repeating_gear_${currentID}_count`); enc_attrs.push(`repeating_gear_${currentID}_equipped`); }); getSectionIDs("repeating_armour", (armourIds) => { _.each(armourIds, (currentID, i) => { enc_attrs.push(`repeating_armour_${currentID}_weight`); enc_attrs.push(`repeating_armour_${currentID}_count`); enc_attrs.push(`repeating_armour_${currentID}_equipped`); enc_attrs.push(`repeating_armour_${currentID}_powered`); enc_attrs.push(`repeating_armour_${currentID}_enc_factor`); enc_attrs.push(`repeating_armour_${currentID}_spd_factor`); enc_attrs.push(`repeating_armour_${currentID}_PS_factor`); enc_attrs.push(`repeating_armour_${currentID}_shield_size`); enc_attrs.push(`repeating_armour_${currentID}_shield_material`); enc_attrs.push(`repeating_armour_${currentID}_CS_mental`); enc_attrs.push(`repeating_armour_${currentID}_DR_energy`); enc_attrs.push(`repeating_armour_${currentID}_DR_physical`); enc_attrs.push(`repeating_armour_${currentID}_RF_physical`); }); getAttrs(enc_attrs, (v) => { console.log(v); if (v["speed_max"] === undefined) { v["speed_max"] = v['speed']; update["speed_max"] = v['speed']; } ["coin_gp", "coin_sp", "coin_nk", "coin_dm"].forEach((type)=> { let coinweight = (isNaN(parseInt(v[`${type}`], 10)) === false) ? parseInt(v[`${type}`], 10) : 0; // use roughly correct weights for different materials as per g/cm3 if(type === 'coin_gp') { wtotal += coinweight / 100 } if(type === 'coin_sp') { wtotal += coinweight / 200 } if(type === 'coin_nk') { wtotal += coinweight / 250 } if(type === 'coin_dm') { wtotal += coinweight / 1000 } if(type === 'coin_dl') { wtotal += coinweight / 1000 } if(type === 'coin_db') { wtotal += coinweight / 1000 } }); _.each(gearIds, (currentID, i) => { if ( v[`repeating_gear_${currentID}_weight`] && v[`repeating_gear_${currentID}_equipped`] === '1' && isNaN(parseInt(v[`repeating_gear_${currentID}_weight`], 10)) === false) { count = v[`repeating_gear_${currentID}_count`] && isNaN(parseFloat(v[`repeating_gear_${currentID}_count`])) === false ? parseFloat(v[`repeating_gear_${currentID}_count`]) : 1; wtotal = wtotal + (parseFloat(v[`repeating_gear_${currentID}_weight`]) * count); } }); _.each(armourIds, (currentID, i) => { if ( v[`repeating_armour_${currentID}_weight`] && v[`repeating_armour_${currentID}_equipped`] === '1' && isNaN(parseInt(v[`repeating_armour_${currentID}_weight`], 10)) === false) { count = v[`repeating_armour_${currentID}_count`] && isNaN(parseFloat(v[`repeating_armour_${currentID}_count`])) === false ? parseFloat(v[`repeating_armour_${currentID}_count`]) : 1; wtotal = wtotal + (parseFloat(v[`repeating_armour_${currentID}_weight`]) * count * (isNaN(parseFloat(v[`repeating_armour_${currentID}_enc_factor`])) === false ? parseFloat(v[`repeating_armour_${currentID}_enc_factor`]) : 0.5)); PSfactor = isNaN(parseFloat(v[`repeating_armour_${currentID}_PS_factor`])) === false ? (v[`repeating_armour_${currentID}_PS_factor`] > PSfactor ? v[`repeating_armour_${currentID}_PS_factor`] : PSfactor) : PSfactor; spdfactor = isNaN(parseFloat(v[`repeating_armour_${currentID}_spd_factor`])) === false ? (v[`repeating_armour_${currentID}_spd_factor`] > spdfactor ? v[`repeating_armour_${currentID}_spd_factor`] : spdfactor) : spdfactor; } // update DR_physical if ( v[`repeating_armour_${currentID}_DR_physical`] && v[`repeating_armour_${currentID}_equipped`] === '1' && isNaN(parseInt(v[`repeating_armour_${currentID}_DR_physical`], 10)) === false ) { DR_physical += parseInt(v[`repeating_armour_${currentID}_DR_physical`]); } // update DR_energy console.log('DR_energy: ', v[`repeating_armour_${currentID}_DR_energy`]); if ( v[`repeating_armour_${currentID}_DR_energy`] !== undefined && v[`repeating_armour_${currentID}_equipped`] === '1' && isNaN(parseInt(v[`repeating_armour_${currentID}_DR_energy`], 10)) === false ) { DR_energy += parseInt(v[`repeating_armour_${currentID}_DR_energy`]); } else { DR_energy += DR_physical; } // update CS if ( v[`repeating_armour_${currentID}_shield_size`] && v[`repeating_armour_${currentID}_shield_material`] && v[`repeating_armour_${currentID}_equipped`] === '1' ) { CS = getShieldCS(v[`repeating_armour_${currentID}_shield_size`], v[`repeating_armour_${currentID}_shield_material`] ); CS_physical += CS.CS_physical; CS_mental += CS.CS_mental; CS_energy += CS.CS_energy; } if ( v[`repeating_armour_${currentID}_CS_mental`] && v[`repeating_armour_${currentID}_equipped`] === '1' ) { console.log('HELMET: '+v[`repeating_armour_${currentID}_CS_mental`] ) CS_mental += parseInt(v[`repeating_armour_${currentID}_CS_mental`]) ; } // update RF if ( v[`repeating_armour_${currentID}_RF_physical`] && v[`repeating_armour_${currentID}_equipped`] === '1' && isNaN(parseInt(v[`repeating_armour_${currentID}_RF_physical`], 10)) === false ) { RFtotal += parseInt(v[`repeating_armour_${currentID}_RF_physical`]); console.log(CS_physical); } }); // console.log(CS_physical); update["RF_physical"] = RFtotal; update["RF_energy"] = RFtotal; update["CS_physical"] = CS_physical; update["CS_energy"] = CS_energy; update["CS_mental"] = CS_mental; update["DR_physical"] = DR_physical; update["DR_energy"] = DR_energy; update["encumbrance"] = Math.round(wtotal * 10) / 10; let PS = (parseInt(v["PS_rolled"]) + parseInt(v["PS_advanced"]) + parseInt(v["PS_tmp"])) * PSfactor; update['PS'] = PS; update["burden"] = (wtotal > PS*5) ? "Crushing Weight" : (wtotal > PS*3) ? "Immobile" : (wtotal > PS*2) ? "Heavily Burdened" : (wtotal > PS*1) ? "Burdened" : "Normal"; update["speed"] = (wtotal > PS*3) ? 0 : (wtotal > PS*2) ? Math.floor((parseInt(v["speed_max"]) / 3)) : (wtotal > PS*1) ? Math.floor((parseInt(v["speed_max"]) /3)*2) : parseInt(v["speed_max"]) * spdfactor; console.log(update); setAttrs(update, {silent: true}); update_mod('PS'); }); }); }); }; const update_mod = function(ability) { console.log('update_mod: '+ability); let update = {}; let mod = 6; let total = 0; let ps_attrs = [ability]; getAttrs(ps_attrs, (v) => { console.log(v); console.log(v[ability]); total += parseInt(v[ability]); if(total < 601) { mod = 5; } if(total < 121) { mod = 4; } if(total < 22) { mod = 3; } if(total < 19) { mod = 2; } if(total < 16) { mod = 1; } if(total < 12) { mod = 0; } if(total < 10) { mod = -1; } if(total < 7) { mod = -2; } if(total < 4) { mod = -3; } if(total < 0) { mod = -4; } if(total < -6) { mod = -5; } if(total < -26) { mod = -6; } update[ability+'_modifier'] = mod; setAttrs(update, {silent: true}); }); }; //------ Events --------- on("sheet:opened", function(eventinfo) { console.log('sheet:opened'); }); on("change:import", function(args) { console.log('sheet:import',args); }); on("change:PS_rolled", function(args) { console.log('change:PS_rolled') update_ability('PS'); }); on("change:PS_advanced", function(args) { console.log('change:PS_advanced') update_ability('PS'); }); on("change:PS_tmp", function(args) { console.log('change:PS_tmp') update_ability('PS'); }); on("change:PS", function(args) { console.log('PS changed'); update_mod('PS'); update_enc(); }); on("change:DX_rolled", function(args) { console.log('change:DX_rolled') update_ability('DX'); }); on("change:DX_advanced", function(args) { console.log('change:DX_advanced') update_ability('DX'); }); on("change:DX_tmp", function(args) { console.log('change:DX_tmp') update_ability('DX'); }); on("change:DX", function(args) { console.log('DX changed'); update_mod('DX'); }); on("change:CN_rolled", function(args) { console.log('change:CN_rolled') update_ability('CN'); }); on("change:CN_advanced", function(args) { console.log('change:CN_advanced') update_ability('CN'); }); on("change:CN_tmp", function(args) { console.log('change:CN_tmp') update_ability('CN'); }); on("change:CN", function(args) { console.log('CN changed'); update_mod('CN'); }); on("change:IN_rolled", function(args) { console.log('change:IN_rolled') update_ability('IN'); }); on("change:IN_advanced", function(args) { console.log('change:IN_advanced') update_ability('IN'); }); on("change:IN_tmp", function(args) { console.log('change:IN_tmp') update_ability('IN'); }); on("change:IN", function(args) { console.log('IN changed'); update_mod('IN'); }); on("change:MS_rolled", function(args) { console.log('change:MS_rolled') update_ability('MS'); }); on("change:MS_advanced", function(args) { console.log('change:MS_advanced') update_ability('MS'); }); on("change:MS_tmp", function(args) { console.log('change:MS_tmp') update_ability('MS'); }); on("change:MS", function(args) { console.log('MS changed'); update_mod('MS'); }); on("change:CH_rolled", function(args) { console.log('change:CH_rolled') update_ability('CH'); }); on("change:CH_advanced", function(args) { console.log('change:CH_advanced') update_ability('CH'); }); on("change:CH_tmp", function(args) { console.log('change:CH_tmp') update_ability('CH'); }); on("change:CH", function(args) { console.log('CH changed'); update_mod('CH'); }); on("change:repeating_gear", function(args) { update_enc(); }); on("change:repeating_armour", function(args) { console.log('change:repeating_armour'); update_enc(); // update_ac(); }); on("change:coin_gp", function(args) { update_enc(); }); on("change:coin_nk", function(args) { update_enc(); }); on("change:coin_dm", function(args) { update_enc(); }); on("change:coin_sp", function(args) { update_enc(); }); on("change:rollSwitch", function(args) { console.log(args); let update = {}; if(args.newValue == "0") { update['PS_rolled'] = 0; update['IN_rolled'] = 0; update['CN_rolled'] = 0; update['IN_rolled'] = 0; update['MS_rolled'] = 0; update['CH_rolled'] = 0; } else { update['PS_rolled'] = dices.roll('4d6', {dropLowest: 1}).total; update['DX_rolled'] = dices.roll('4d6', {dropLowest: 1}).total; update['CN_rolled'] = dices.roll('4d6', {dropLowest: 1}).total; update['IN_rolled'] = dices.roll('4d6', {dropLowest: 1}).total; update['MS_rolled'] = dices.roll('4d6', {dropLowest: 1}).total; update['CH_rolled'] = dices.roll('4d6', {dropLowest: 1}).total; } setAttrs(update, {silent: true}); update_ability('PS'); update_ability('DX'); update_ability('CN'); update_ability('IN'); update_ability('MS'); update_ability('CH'); update_mod('PS'); update_mod('DX'); update_mod('CN'); update_mod('IN'); update_mod('MS'); update_mod('CH'); }); on("change:hpRollSwitch", function(args) { let update = {}; if(args.newValue == "0") { update['hp_max'] = 0; } else { let rank, CN; getAttrs(['character_rank', 'CN'], (v) => { rank = v['character_rank']; CN = v['CN']; }); update['hp_max'] = dices.roll(`${CN}d6+${CN}`).total; setAttrs(update, {silent: true}); } }); </script>
NathaTerrien/roll20-character-sheets
GammaWorld3e/sheet.html
HTML
mit
115,668
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Zend Gdata API Documentation</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta><link rel="stylesheet" href="css/jquery-ui.css" type="text/css"></link><link rel="stylesheet" href="css/docblox/jquery-ui-1.8.16.custom.css" type="text/css"></link><link rel="stylesheet" href="css/jquery.treeview.css" type="text/css"></link><link rel="stylesheet" href="css/theme.css" type="text/css"></link><script type="text/javascript" src="js/jquery-1.4.2.min.js"></script><script type="text/javascript" src="js/jquery-ui-1.8.2.custom.min.js"></script><script type="text/javascript" src="js/jquery.cookie.js"></script><script type="text/javascript" src="js/jquery.treeview.js"></script><script type="text/javascript"> $(document).ready(function() { $(".filetree").treeview({ collapsed: true, persist: "cookie" }); $("#accordion").accordion({ collapsible: true, autoHeight: false, fillSpace: true }); $(".tabs").tabs(); }); </script></head><body><div xmlns="" class="content"> <div class="sub-page-main-header-api-documentation"><h2>API Documentation</h2></div> <div class="dotted-line"></div> </div> <div xmlns="" id="content"> <script xmlns:dbx="http://docblox-project.org/xsl/functions"> function filterElements() { inherited = !$('#show-inherited').hasClass('deselected'); public = !$('#show-public').hasClass('deselected'); protected = !$('#show-protected').hasClass('deselected'); private = !$('#show-private').hasClass('deselected'); $('div.public').each(function(index, val) { $(val).toggle(public && !($(val).hasClass('inherited_from') && !inherited)); }); $('div.protected').each(function(index, val) { $(val).toggle(protected && !($(val).hasClass('inherited_from') && !inherited)); }); $('div.private').each(function(index, val) { $(val).toggle(private && !($(val).hasClass('inherited_from') && !inherited)); }); } $(document).ready(function() { $('a.gripper').click(function() { $(this).nextAll('div.code-tabs').slideToggle(); $(this).children('img').toggle(); return false; }); $('div.method code span.highlight,div.function code span.highlight,div.constant code span.highlight,div.property code span.highlight').css('cursor', 'pointer'); $('div.method code span.highlight,div.function code span.highlight,div.constant code span.highlight,div.property code span.highlight').click(function() { $(this).parent().nextAll('div.code-tabs').slideToggle(); $(this).parent().prevAll('a.gripper').children('img').toggle(); return false; }); $('div.code-tabs').hide(); $('a.gripper').show(); $('div.code-tabs:empty').prevAll('a.gripper').html(''); $('#show-public, #show-protected, #show-private, #show-inherited') .css('cursor', 'pointer') .click(function(){ $(this).toggleClass('deselected'); if ($(this).hasClass('deselected')) { $(this).fadeTo('fast', '0.4'); } else { $(this).fadeTo('fast', '1.0'); } filterElements(); return false; }); $('#show-protected, #show-private').click(); // add the sliding behaviour to the file navigation and show it // it is initially hidden for non-JS users. $("#file-nav-box").show().hover(function() { $("#file-nav-container").slideDown(400); }, function() { $("#file-nav-container").slideUp(400); }); }); </script><h1 xmlns:dbx="http://docblox-project.org/xsl/functions" class="file">Zend/Gdata/Photos/Extension/QuotaLimit.php</h1> <div xmlns:dbx="http://docblox-project.org/xsl/functions" id="file-nav-box"> <div id="file-nav-options"> Show: <img src="images/icons/visibility_public.png" id="show-public"><img src="images/icons/visibility_protected.png" id="show-protected"><img src="images/icons/visibility_private.png" id="show-private"><span class="attribute" id="show-inherited">inherited</span> </div> <div id="file-nav-container"> <ul id="file-nav"><li> <a href="#classes"><img src="images/icons/class.png" height="14"> Classes </a><ul><li><a href="#%5CZend_Gdata_Photos_Extension_QuotaLimit">\Zend_Gdata_Photos_Extension_QuotaLimit</a></li></ul> </li></ul> <div style="clear: left;"></div> </div> <div id="file-nav-tab"> Table of Contents </div> </div> <a xmlns:dbx="http://docblox-project.org/xsl/functions" name="top" class="anchor"></a><div id="file-description"> <p xmlns:dbx="http://docblox-project.org/xsl/functions" class="short-description">Zend Framework</p> <div xmlns:dbx="http://docblox-project.org/xsl/functions" class="long-description"><p>LICENSE</p> <p>This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.</p> </div> </div> <dl class="file-info"> <dt xmlns:dbx="http://docblox-project.org/xsl/functions">Category</dt> <dd xmlns:dbx="http://docblox-project.org/xsl/functions">Zend   </dd> <dt xmlns:dbx="http://docblox-project.org/xsl/functions">Copyright</dt> <dd xmlns:dbx="http://docblox-project.org/xsl/functions">Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)   </dd> <dt xmlns:dbx="http://docblox-project.org/xsl/functions">License</dt> <dd xmlns:dbx="http://docblox-project.org/xsl/functions"> <a href="http://framework.zend.com/license/new-bsd">New BSD License</a>   </dd> <dt xmlns:dbx="http://docblox-project.org/xsl/functions">Package</dt> <dd xmlns:dbx="http://docblox-project.org/xsl/functions">Zend_Gdata   </dd> <dt xmlns:dbx="http://docblox-project.org/xsl/functions">Subpackage</dt> <dd xmlns:dbx="http://docblox-project.org/xsl/functions">Photos   </dd> <dt xmlns:dbx="http://docblox-project.org/xsl/functions">Version</dt> <dd xmlns:dbx="http://docblox-project.org/xsl/functions">$Id: QuotaLimit.php 24593 2012-01-05 20:35:02Z matthew $   </dd> </dl> <a name="classes" class="anchor"></a><a xmlns:dbx="http://docblox-project.org/xsl/functions" id="\Zend_Gdata_Photos_Extension_QuotaLimit" class="anchor"></a><h2 xmlns:dbx="http://docblox-project.org/xsl/functions" class="class">\Zend_Gdata_Photos_Extension_QuotaLimit<div class="to-top"><a href="#top">jump to top</a></div> </h2> <div xmlns:dbx="http://docblox-project.org/xsl/functions" class="class"> <small class="package"><b>Package: </b>Zend\Gdata\Photos</small><p class="short-description">Represents the gphoto:quotaLimit element used by the API.</p> <div class="long-description"><p>This class represents the number of bytes of storage available for a user.</p> </div> <dl class="class-info"> <dt>Parent(s)</dt> <dd> <a href="db_Zend_Gdata_Extension.html#%5CZend_Gdata_Extension">\Zend_Gdata_Extension</a> &lt; <a href="db_Zend_Gdata_App_Extension.html#%5CZend_Gdata_App_Extension" style="color: gray; font-size: 0.8em ">\Zend_Gdata_App_Extension</a> &lt; <a href="db_Zend_Gdata_App_Base.html#%5CZend_Gdata_App_Base" style="color: gray; font-size: 0.8em ">\Zend_Gdata_App_Base</a> </dd> <dt>Category</dt> <dd>Zend   </dd> <dt>Copyright</dt> <dd>Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)   </dd> <dt>License</dt> <dd> <a href="http://framework.zend.com/license/new-bsd">New BSD License</a>   </dd> </dl> <h3>Properties</h3> <div> <a id="\Zend_Gdata_Photos_Extension_QuotaLimit::$_rootElement" class="anchor"></a><div class="property protected"> <a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/property.png" alt="Property"><img src="images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected">  <span class="highlight">$_rootElement</span>= ''quotaLimit'' </code><div class="description"></div> <div class="code-tabs"> <strong>Default value</strong><code>'quotaLimit'</code><strong>Details</strong><dl class="property-info"> <dt>Type</dt> <dd></dd> </dl> </div> <div class="clear"></div> </div> <a id="\Zend_Gdata_Photos_Extension_QuotaLimit::$_rootNamespace" class="anchor"></a><div class="property protected"> <a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/property.png" alt="Property"><img src="images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected">  <span class="highlight">$_rootNamespace</span>= ''gphoto'' </code><div class="description"></div> <div class="code-tabs"> <strong>Default value</strong><code>'gphoto'</code><strong>Details</strong><dl class="property-info"> <dt>Type</dt> <dd></dd> </dl> </div> <div class="clear"></div> </div> </div> <h3>Methods</h3> <div> <a id="\Zend_Gdata_Photos_Extension_QuotaLimit::__construct()" class="anchor"></a><div class="method public"> <a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/method.png" alt="method"><img src="images/icons/visibility_public.png" style="margin-right: 5px" alt="public"><span class="highlight">__construct</span><span class="nb-faded-text">( string $text = null ) </span> : void</code><div class="description"><p class="short_description">Constructs a new Zend_Gdata_Photos_Extension_QuotaLimit object.</p></div> <div class="code-tabs"> <div class="long-description"> </div> <strong>Parameters</strong><table class="argument-info"> <thead><tr> <th>Name</th> <th>Type</th> <th>Description</th> </tr></thead> <tr> <th>$text</th> <td>string</td> <td><em><p>(optional) The value being represented.</p> </em></td> </tr> </table> </div> <div class="clear"></div> </div> </div> </div> </div> <small xmlns="" class="footer">Documentation was generated by <a href="http://docblox-project.org">DocBlox 0.15.1</a>. </small></body></html>
Laurence11/ProjetSoleil
vendor/zend/gdata/documentation/api/core/db_Zend_Gdata_Photos_Extension_QuotaLimit.html
HTML
mit
11,020
<!doctype html> <html> <head> <title>Mithril</title> <link href="lib/prism/prism.css" rel="stylesheet" /> <link href="style.css" rel="stylesheet" /> </head> <body> <header> <nav class="container"> <a href="index.html" class="logo"><span>&#9675;</span> Mithril</a> <a href="getting-started.html">Guide</a> <a href="mithril.html">API</a> <a href="community.html">Community</a> <a href="mithril.min.zip">Download</a> <a href="http://github.com/lhorie/mithril.js" target="_blank">Github</a> </nav> </header> <main> <section class="content"> <div class="container"> <div class="row"> <div class="col(3,3,12)"> <h2 id="api">API (v0.1.16)</h2> <h3 id="core">Core</h3> <ul> <li><a href="mithril.html">m</a></li> <li><a href="mithril.prop.html">m.prop</a></li> <li><a href="mithril.withAttr.html">m.withAttr</a></li> <li><a href="mithril.module.html">m.module</a></li> <li><a href="mithril.trust.html">m.trust</a></li> <li><a href="mithril.render.html">m.render</a></li> <li><a href="mithril.redraw.html">m.redraw</a></li> </ul> <h3 id="routing">Routing</h3> <ul> <li><a href="mithril.route.html">m.route</a> <ul> <li><a href="mithril.route.html#defining-routes">m.route(rootElement, defaultRoute, routes)</a></li> <li><a href="mithril.route.html#redirecting">m.route(path, params)</a></li> <li><a href="mithril.route.html#reading-current-route">m.route()</a></li> <li><a href="mithril.route.html#mode-abstraction">m.route(element)</a></li> <li><a href="mithril.route.html#mode">m.route.mode</a></li> <li><a href="mithril.route.html#param">m.route.param</a></li> </ul> </li> </ul> <h3 id="data">Data</h3> <ul> <li><a href="mithril.request.html">m.request</a></li> <li><a href="mithril.deferred.html">m.deferred</a></li> <li><a href="mithril.sync.html">m.sync</a></li> <li><a href="mithril.computation.html">m.startComputation / m.endComputation</a></li> </ul> <h2 id="archive">History</h2> <ul> <li><a href="roadmap.html">Roadmap</a></li> <li><a href="change-log.html">Change log</a></li> </ul> </div> <div class="col(9,9,12)"> <h2 id="m-withattr">m.withAttr</h2> <p>This is an event handler factory. It returns a method that can be bound to a DOM element&#39;s event listener.</p> <p>Typically, it&#39;s used in conjunction with <a href="mithril.prop.html"><code>m.prop</code></a> to implement data binding in the view-to-model direction.</p> <p>This method is provided to decouple the browser&#39;s event model from the controller/logic model.</p> <p>You should use this method and implement similar ones when extracting values from a browser&#39;s Event object, instead of hard-coding the extraction code into controllers (or model methods).</p> <hr> <h3 id="usage">Usage</h3> <pre><code class="lang-javascript">//standalone usage document.body.onclick = m.withAttr(&quot;title&quot;, function(value) { //alerts the title of the body element when it&#39;s clicked alert(value); })</code></pre> <p>A contrived example of bi-directional data binding</p> <pre><code class="lang-javascript">var user = { model: function(name) { this.name = m.prop(name); }, controller: function() { this.user = new user.model(&quot;John Doe&quot;); }, view: function(controller) { m.render(&quot;body&quot;, [ m(&quot;input&quot;, {onchange: m.withAttr(&quot;value&quot;, controller.user.name), value: controller.user.name()}) ]); } };</code></pre> <hr> <h3 id="signature">Signature</h3> <p><a href="how-to-read-signatures.html">How to read signatures</a></p> <pre><code class="lang-clike">EventHandler withAttr(String property, void callback(any value)) where: EventHandler :: void handler(Event e)</code></pre> <ul> <li><p><strong>String property</strong></p> <p>Defines the property of the DOM element whose value will be passed to the callback.</p> </li> <li><p><strong>void callback(any value)</strong></p> <p>This function will be called with the value of the defined property as an argument.</p> <ul> <li><p><strong>any value</strong></p> <p>This is the value of the defined DOM element&#39;s property.</p> </li> </ul> </li> <li><p><strong>returns EventHandler handler</strong></p> <p>This handler method can be assigned to properties like <code>onclick</code>, or passed as callbacks to <code>addEventListener</code>.</p> </li> </ul> </div> </div> </div> </section> </main> <footer> <div class="container"> Released under the <a href="http://opensource.org/licenses/MIT" target="_blank">MIT license</a> <br />&copy; 2014 Leo Horie </div> </footer> <script src="lib/prism/prism.js"></script> </body> </html>
pelonpelon/mithril.js
archive/v0.1.16/mithril.withAttr.html
HTML
mit
4,989
<!DOCTYPE html> <!-- Copyright (c) 2013 Intel Corporation. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of works must retain the original copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the original copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Intel Corporation nor the names of its contributors may be used to endorse or promote products derived from this work without specific prior written permission. THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Authors: Xu, Yuhan <[email protected]> --> <meta charset="utf-8" /> <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" /> <link rel="stylesheet" type="text/css" href="../../../css/bootstrap.css"> <link rel="stylesheet" type="text/css" href="../../../css/main.css"> <script src="../../../js/jquery-2.1.3.min.js"></script> <script src="../../../js/bootstrap.min.js"></script> <script src="../../../js/common.js"></script> <script src="../../../js/tests.js"></script> <div class="content"> <div style="height:100px; left:50px;line-height:100px;"> <center> <iframe src="http://map.baidu.com" height=800px width=100% > <p>您的浏览器不支持 iframe 标签。</p> </iframe> </center> </div> </div> <div class="footer"> <div id="footer"></div> </div> <div class="modal fade" id="popup_info"> <p>Pre-condition: </p> <ol> <li>A network connection capable of accessing the internet MUST be established.</li> </ol> <p>Test Step: </p> <ol> <li>Click the link of 'baidu map'</li> <li>Pinch actions on page, zoom-in, zoom-out, multitouch</li> </ol> <p>Expected Result: </p> <ol> <li>The map page opened normally</li> <li>The map can be zoom-in, zoom-out as the pinch actions</li> </ol> </div>
YongseopKim/crosswalk-test-suite
usecase/usecase-wrt-tizen-tests/samples/Gesture/res/WebApp_Pinch_Zoom_Map.html
HTML
bsd-3-clause
2,756
<!DOCTYPE html> <!-- Copyright (c) 2013 Intel Corporation. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of works must retain the original copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the original copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Intel Corporation nor the names of its contributors may be used to endorse or promote products derived from this work without specific prior written permission. THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Authors: Liu,xin <[email protected]> Xu, Kang <[email protected]> --> <meta charset="utf-8"> <title>Vehicle Test: Vehicle - attributes</title> <link rel="author" title="Intel" href="http://www.intel.com"> <link rel="help" href="http://rawgit.com/w3c/automotive-bg/master/data_spec.html"> <script src="../resources/testharness.js"></script> <script src="../resources/testharnessreport.js"></script> <script src="support/support.js"></script> <div id="log"></div> <script> [ "vehicleSpeed", "climateControl", "door", "wheelSpeed", "engineSpeed", "powerTrainTorque", "acceleratorPedalPosition", "throttlePosition", "tripMeters", "transmission", "cruiseControlStatus", "lightStatus", "interiorLightStatus", "horn", "chime", "fuel", "engineOil", "acceleration", "engineCoolant", "steeringWheel", "ignitionTime", "yawRate", "brakeOperation", "wheelTick", "buttonEvent", "drivingMode", "nightMode", "odometer", "transmissionClutch", "washerFluid", "malfunctionIndicator", "batteryStatus", "tire", "diagnostic" ].forEach(function (attr) { test(function () { assert_true(attr in vehicle, "the Vehicle." + attr + " exists"); }, "Check if Vehicle." + attr + " exists"); }); </script>
qiuzhong/crosswalk-test-suite
webapi/webapi-vehicleinfo-ivi-tests/vehicleinfo/Vehicle_attributes_tests.html
HTML
bsd-3-clause
2,718
<!DOCTYPE html> <!-- release v4.3.2, copyright 2014 - 2015 Kartik Visweswaran --> <html lang="en"> <head> <meta charset="UTF-8"/> <title>Krajee JQuery Plugins - &copy; Kartik</title> <link href="http://cdn.bootcss.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet"> <link href="../css/fileinput.css" media="all" rel="stylesheet" type="text/css" /> <script src="http://cdn.bootcss.com/jquery/2.1.4/jquery.min.js"></script> <script src="../js/fileinput.js" type="text/javascript"></script> <script src="http://cdn.bootcss.com/bootstrap/3.3.4/js/bootstrap.min.js" type="text/javascript"></script> </head> <body> <div class="container kv-main"> <div class="page-header"> <h1>Bootstrap File Input Example <small><a href="https://github.com/kartik-v/bootstrap-fileinput-samples"><i class="glyphicon glyphicon-download"></i> Download Sample Files</a></small></h1> </div> <form enctype="multipart/form-data"> <input id="file-0a" class="file" type="file" multiple data-min-file-count="1"> <br> <button type="submit" class="btn btn-primary">Submit</button> <button type="reset" class="btn btn-default">Reset</button> </form> <hr> <form enctype="multipart/form-data"> <label>Test invalid input type</label> <input id="file-0b" class="file" type="text" multiple data-min-file-count="1"> <script> $(document).on('ready', function(){$("#file-0b").fileinput();}); </script> </form> <hr> <form enctype="multipart/form-data"> <input id="file-0a" class="file" type="file" multiple data-min-file-count="3"> <hr> <div class="form-group"> <input id="file-0b" class="file" type="file"> </div> <hr> <div class="form-group"> <input id="file-1" type="file" multiple class="file" data-overwrite-initial="false" data-min-file-count="2"> </div> <hr> <div class="form-group"> <input id="file-2" type="file" class="file" readonly data-show-upload="false"> </div> <hr> <div class="form-group"> <label>Preview File Icon</label> <input id="file-3" type="file" multiple=true> </div> <hr> <div class="form-group"> <input id="file-4" type="file" class="file" data-upload-url="#"> </div> <hr> <div class="form-group"> <button class="btn btn-warning" type="button">Disable Test</button> <button class="btn btn-info" type="reset">Refresh Test</button> <button class="btn btn-primary">Submit</button> <button class="btn btn-default" type="reset">Reset</button> </div> <hr> <div class="form-group"> <input type="file" class="file" id="test-upload" multiple> <div id="errorBlock" class="help-block"></div> </div> <hr> <div class="form-group"> <input id="file-5" class="file" type="file" multiple data-preview-file-type="any" data-upload-url="#"> </div> </form> <hr> <h4>Multi Language Inputs</h4> <form enctype="multipart/form-data"> <label>French Input</label> <input id="file-fr" name="file-fr[]" type="file" multiple> <hr style="border: 2px dotted"> <label>Spanish Input</label> <input id="file-es" name="file-es[]" type="file" multiple> </form> <hr> <br> </div> </body> <script> $('#file-fr').fileinput({ language: 'fr', uploadUrl: '#', allowedFileExtensions : ['jpg', 'png','gif'], }); $('#file-es').fileinput({ language: 'es', uploadUrl: '#', allowedFileExtensions : ['jpg', 'png','gif'], }); $("#file-0").fileinput({ 'allowedFileExtensions' : ['jpg', 'png','gif'], }); $("#file-1").fileinput({ uploadUrl: '#', // you must set a valid URL here else you will get an error allowedFileExtensions : ['jpg', 'png','gif'], overwriteInitial: false, maxFileSize: 1000, maxFilesNum: 10, //allowedFileTypes: ['image', 'video', 'flash'], slugCallback: function(filename) { return filename.replace('(', '_').replace(']', '_'); } }); /* $(".file").on('fileselect', function(event, n, l) { alert('File Selected. Name: ' + l + ', Num: ' + n); }); */ $("#file-3").fileinput({ showUpload: false, showCaption: false, browseClass: "btn btn-primary btn-lg", fileType: "any", previewFileIcon: "<i class='glyphicon glyphicon-king'></i>" }); $("#file-4").fileinput({ uploadExtraData: {kvId: '10'} }); $(".btn-warning").on('click', function() { if ($('#file-4').attr('disabled')) { $('#file-4').fileinput('enable'); } else { $('#file-4').fileinput('disable'); } }); $(".btn-info").on('click', function() { $('#file-4').fileinput('refresh', {previewClass:'bg-info'}); }); /* $('#file-4').on('fileselectnone', function() { alert('Huh! You selected no files.'); }); $('#file-4').on('filebrowse', function() { alert('File browse clicked for #file-4'); }); */ $(document).ready(function() { $("#test-upload").fileinput({ 'showPreview' : false, 'allowedFileExtensions' : ['jpg', 'png','gif'], 'elErrorContainer': '#errorBlock' }); /* $("#test-upload").on('fileloaded', function(event, file, previewId, index) { alert('i = ' + index + ', id = ' + previewId + ', file = ' + file.name); }); */ }); </script> </html>
happykejie/github_yii2buildcuxiaodadiaochaproject
vendor/kartik-v/bootstrap-fileinput/examples/index.html
HTML
bsd-3-clause
6,393
<!DOCTYPE html> <title>Canvas test: 2d.strokeRect.negative</title> <script src="../tests.js"></script> <link rel="stylesheet" href="../tests.css"> <body class="framed show_output"> <h1> <a href="2d.strokeRect.negative.html" target="_parent">2d.&#8203;strokeRect.&#8203;negative</a> </h1> <p><a href="#" id="show_output" onclick="document.body.className += ' show_output'; return false">[show output]</a> <p class="output">Actual output:</p> <canvas id="c" class="output" width="100" height="50"><p class="fallback">FAIL (fallback content)</p></canvas> <p class="output expectedtext">Expected output:<p><img src="green-100x50.png" class="output expected" id="expected" alt=""> <ul id="d"></ul> <script> _addTest(function(canvas, ctx) { ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); ctx.strokeStyle = '#0f0'; ctx.lineWidth = 25; ctx.strokeRect(12, 12, 26, 1); ctx.strokeRect(88, 12, -26, 1); ctx.strokeRect(12, 38, 26, -1); ctx.strokeRect(88, 38, -26, -1); _assertPixel(canvas, 25,12, 0,255,0,255, "25,12", "0,255,0,255"); _assertPixel(canvas, 75,12, 0,255,0,255, "75,12", "0,255,0,255"); _assertPixel(canvas, 25,37, 0,255,0,255, "25,37", "0,255,0,255"); _assertPixel(canvas, 75,37, 0,255,0,255, "75,37", "0,255,0,255"); }); </script>
kangax/webgl-2d
test/philip.html5.org/tests/framed.2d.strokeRect.negative.html
HTML
mit
1,244
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" /> <title>Message from {shop_name}</title> <style> @media only screen and (max-width: 300px){ body { width:218px !important; margin:auto !important; } .table {width:195px !important;margin:auto !important;} .logo, .titleblock, .linkbelow, .box, .footer, .space_footer{width:auto !important;display: block !important;} span.title{font-size:20px !important;line-height: 23px !important} span.subtitle{font-size: 14px !important;line-height: 18px !important;padding-top:10px !important;display:block !important;} td.box p{font-size: 12px !important;font-weight: bold !important;} .table-recap table, .table-recap thead, .table-recap tbody, .table-recap th, .table-recap td, .table-recap tr { display: block !important; } .table-recap{width: 200px!important;} .table-recap tr td, .conf_body td{text-align:center !important;} .address{display: block !important;margin-bottom: 10px !important;} .space_address{display: none !important;} } @media only screen and (min-width: 301px) and (max-width: 500px) { body {width:308px!important;margin:auto!important;} .table {width:285px!important;margin:auto!important;} .logo, .titleblock, .linkbelow, .box, .footer, .space_footer{width:auto!important;display: block!important;} .table-recap table, .table-recap thead, .table-recap tbody, .table-recap th, .table-recap td, .table-recap tr { display: block !important; } .table-recap{width: 293px !important;} .table-recap tr td, .conf_body td{text-align:center !important;} } @media only screen and (min-width: 501px) and (max-width: 768px) { body {width:478px!important;margin:auto!important;} .table {width:450px!important;margin:auto!important;} .logo, .titleblock, .linkbelow, .box, .footer, .space_footer{width:auto!important;display: block!important;} } @media only screen and (max-device-width: 480px) { body {width:308px!important;margin:auto!important;} .table {width:285px;margin:auto!important;} .logo, .titleblock, .linkbelow, .box, .footer, .space_footer{width:auto!important;display: block!important;} .table-recap{width: 285px!important;} .table-recap tr td, .conf_body td{text-align:center!important;} .address{display: block !important;margin-bottom: 10px !important;} .space_address{display: none !important;} } </style> </head> <body style="-webkit-text-size-adjust:none;background-color:#fff;width:650px;font-family:Open-sans, sans-serif;color:#555454;font-size:13px;line-height:18px;margin:auto"> <table class="table table-mail" style="width:100%;margin-top:10px;-moz-box-shadow:0 0 5px #afafaf;-webkit-box-shadow:0 0 5px #afafaf;-o-box-shadow:0 0 5px #afafaf;box-shadow:0 0 5px #afafaf;filter:progid:DXImageTransform.Microsoft.Shadow(color=#afafaf,Direction=134,Strength=5)"> <tr> <td class="space" style="width:20px;padding:7px 0">&nbsp;</td> <td align="center" style="padding:7px 0"> <table class="table" bgcolor="#ffffff" style="width:100%"> <tr> <td align="center" class="logo" style="border-bottom:4px solid #333333;padding:7px 0"> <a title="{shop_name}" href="{shop_url}" style="color:#337ff1"> <img src="{shop_logo}" alt="{shop_name}" /> </a> </td> </tr> <tr> <td align="center" class="titleblock" style="padding:7px 0"> <font size="2" face="Open-sans, sans-serif" color="#555454"> <span class="title" style="font-weight:500;font-size:28px;text-transform:uppercase;line-height:33px">Hi {firstname} {lastname},</span> </font> </td> </tr> <tr> <td class="space_footer" style="padding:0!important">&nbsp;</td> </tr> <tr> <td class="box" style="border:1px solid #D6D4D4;background-color:#f8f8f8;padding:7px 0"> <table class="table" style="width:100%"> <tr> <td width="10" style="padding:7px 0">&nbsp;</td> <td style="padding:7px 0"> <font size="2" face="Open-sans, sans-serif" color="#555454"> <p data-html-only="1" style="border-bottom:1px solid #D6D4D4;margin:3px 0 7px;text-transform:uppercase;font-weight:500;font-size:18px;padding-bottom:10px"> Message from a customer </p> <span style="color:#777"> You have received a new message regarding order with the reference <span style="color:#333"><strong>{order_name}</strong></span>.<br /><br /> <span style="color:#333"><strong>Customer:</strong></span> {firstname} {lastname} ({email})<br /><br /> {message} </span> </font> </td> <td width="10" style="padding:7px 0">&nbsp;</td> </tr> </table> </td> </tr> <tr> <td class="space_footer" style="padding:0!important">&nbsp;</td> </tr> <tr> <td class="footer" style="border-top:4px solid #333333;padding:7px 0"> <span><a href="{shop_url}" style="color:#337ff1">{shop_name}</a> powered by <a href="http://kasoko.emmanuelndayiragije.com/" style="color:#337ff1">Kasoko e-Commerce</a></span> </td> </tr> </table> </td> <td class="space" style="width:20px;padding:7px 0">&nbsp;</td> </tr> </table> </body> </html>
kazinduzi/kasoko
application/front/mails/nl_NL/order_customer_comment.html
HTML
mit
5,459
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>RealMatrixPreservingVisitor (Apache Commons Math 3.6.1 API)</title> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> </head> <body> <script type="text/javascript"><!-- if (location.href.indexOf('is-external=true') == -1) { parent.document.title="RealMatrixPreservingVisitor (Apache Commons Math 3.6.1 API)"; } //--> </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar_top"> <!-- --> </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/RealMatrixPreservingVisitor.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../index-all.html">Index</a></li> <li><a href="../../../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage"><em><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script></em></div> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../../../org/apache/commons/math3/linear/RealMatrixFormat.html" title="class in org.apache.commons.math3.linear"><span class="strong">Prev Class</span></a></li> <li><a href="../../../../../org/apache/commons/math3/linear/RealVector.html" title="class in org.apache.commons.math3.linear"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/apache/commons/math3/linear/RealMatrixPreservingVisitor.html" target="_top">Frames</a></li> <li><a href="RealMatrixPreservingVisitor.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary:&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li> <li>Constr&nbsp;|&nbsp;</li> <li><a href="#method_summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail:&nbsp;</li> <li>Field&nbsp;|&nbsp;</li> <li>Constr&nbsp;|&nbsp;</li> <li><a href="#method_detail">Method</a></li> </ul> </div> <a name="skip-navbar_top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <!-- ======== START OF CLASS DATA ======== --> <div class="header"> <div class="subTitle">org.apache.commons.math3.linear</div> <h2 title="Interface RealMatrixPreservingVisitor" class="title">Interface RealMatrixPreservingVisitor</h2> </div> <div class="contentContainer"> <div class="description"> <ul class="blockList"> <li class="blockList"> <dl> <dt>All Known Implementing Classes:</dt> <dd><a href="../../../../../org/apache/commons/math3/linear/DefaultRealMatrixPreservingVisitor.html" title="class in org.apache.commons.math3.linear">DefaultRealMatrixPreservingVisitor</a></dd> </dl> <hr> <br> <pre>public interface <span class="strong">RealMatrixPreservingVisitor</span></pre> <div class="block">Interface defining a visitor for matrix entries.</div> <dl><dt><span class="strong">Since:</span></dt> <dd>2.0</dd> <dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/commons/math3/linear/DefaultRealMatrixPreservingVisitor.html" title="class in org.apache.commons.math3.linear"><code>DefaultRealMatrixPreservingVisitor</code></a></dd></dl> </li> </ul> </div> <div class="summary"> <ul class="blockList"> <li class="blockList"> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="method_summary"> <!-- --> </a> <h3>Method Summary</h3> <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> <caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tr class="altColor"> <td class="colFirst"><code>double</code></td> <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/linear/RealMatrixPreservingVisitor.html#end()">end</a></strong>()</code> <div class="block">End visiting a matrix.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/linear/RealMatrixPreservingVisitor.html#start(int,%20int,%20int,%20int,%20int,%20int)">start</a></strong>(int&nbsp;rows, int&nbsp;columns, int&nbsp;startRow, int&nbsp;endRow, int&nbsp;startColumn, int&nbsp;endColumn)</code> <div class="block">Start visiting a matrix.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/math3/linear/RealMatrixPreservingVisitor.html#visit(int,%20int,%20double)">visit</a></strong>(int&nbsp;row, int&nbsp;column, double&nbsp;value)</code> <div class="block">Visit one matrix entry.</div> </td> </tr> </table> </li> </ul> </li> </ul> </div> <div class="details"> <ul class="blockList"> <li class="blockList"> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> <li class="blockList"><a name="method_detail"> <!-- --> </a> <h3>Method Detail</h3> <a name="start(int, int, int, int, int, int)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>start</h4> <pre>void&nbsp;start(int&nbsp;rows, int&nbsp;columns, int&nbsp;startRow, int&nbsp;endRow, int&nbsp;startColumn, int&nbsp;endColumn)</pre> <div class="block">Start visiting a matrix. <p>This method is called once before any entry of the matrix is visited.</p></div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>rows</code> - number of rows of the matrix</dd><dd><code>columns</code> - number of columns of the matrix</dd><dd><code>startRow</code> - Initial row index</dd><dd><code>endRow</code> - Final row index (inclusive)</dd><dd><code>startColumn</code> - Initial column index</dd><dd><code>endColumn</code> - Final column index (inclusive)</dd></dl> </li> </ul> <a name="visit(int, int, double)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>visit</h4> <pre>void&nbsp;visit(int&nbsp;row, int&nbsp;column, double&nbsp;value)</pre> <div class="block">Visit one matrix entry.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>row</code> - row index of the entry</dd><dd><code>column</code> - column index of the entry</dd><dd><code>value</code> - current value of the entry</dd></dl> </li> </ul> <a name="end()"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>end</h4> <pre>double&nbsp;end()</pre> <div class="block">End visiting a matrix. <p>This method is called once after all entries of the matrix have been visited.</p></div> <dl><dt><span class="strong">Returns:</span></dt><dd>the value that the <code>walkInXxxOrder</code> must return</dd></dl> </li> </ul> </li> </ul> </li> </ul> </div> </div> <!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar_bottom"> <!-- --> </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/RealMatrixPreservingVisitor.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../index-all.html">Index</a></li> <li><a href="../../../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage"><em><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script></em></div> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../../../org/apache/commons/math3/linear/RealMatrixFormat.html" title="class in org.apache.commons.math3.linear"><span class="strong">Prev Class</span></a></li> <li><a href="../../../../../org/apache/commons/math3/linear/RealVector.html" title="class in org.apache.commons.math3.linear"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/apache/commons/math3/linear/RealMatrixPreservingVisitor.html" target="_top">Frames</a></li> <li><a href="RealMatrixPreservingVisitor.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary:&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li> <li>Constr&nbsp;|&nbsp;</li> <li><a href="#method_summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail:&nbsp;</li> <li>Field&nbsp;|&nbsp;</li> <li>Constr&nbsp;|&nbsp;</li> <li><a href="#method_detail">Method</a></li> </ul> </div> <a name="skip-navbar_bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> <p class="legalCopy"><small>Copyright &#169; 2003&#x2013;2016 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> </body> </html>
asampley/FactorioRatioAssistant
src/commons-math3-3.6.1/docs/apidocs/org/apache/commons/math3/linear/RealMatrixPreservingVisitor.html
HTML
mit
10,489
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Task1</title> <script src="scripts.js"></script> </head> <body> </body> </html>
kaizer04/Telerik-Academy-2013-2014
JS/Using-Objects-Homework-JS/Using-Objects-Homework-JS/Task1/index.html
HTML
mit
166
<div ng-controller="Umbraco.Editors.Content.CopyController"> <div class="umb-dialog-body form-horizontal"> <div class="umb-pane"> <p class="abstract" ng-hide="success"> Choose where to copy <strong>{{currentNode.name}}</strong> to in the tree structure below </p> <div class="umb-loader-wrapper" ng-show="busy"> <div class="umb-loader"></div> </div> <div ng-show="error"> <h5 class="text-error">{{error.errorMsg}}</h5> <p class="text-error">{{error.data.message}}</p> </div> <div class="alert alert-success" ng-show="success"> <p> <strong>{{currentNode.name}}</strong> was copied to <strong>{{target.name}}</strong> </p> <button class="btn btn-primary" ng-click="nav.hideDialog()">Ok</button> </div> <div ng-hide="success"> <umb-tree-search-box hide-search-callback="hideSearch" search-callback="onSearchResults" search-from-id="{{searchInfo.searchFromId}}" search-from-name="{{searchInfo.searchFromName}}" show-search="{{searchInfo.showSearch}}" section="{{section}}"> </umb-tree-search-box> <br /> <umb-tree-search-results ng-if="searchInfo.showSearch" results="searchInfo.results" select-result-callback="selectResult"> </umb-tree-search-results> <div ng-hide="searchInfo.showSearch"> <umb-tree section="content" hideheader="false" hideoptions="true" isdialog="true" eventhandler="dialogTreeEventHandler" enablecheckboxes="true"> </umb-tree> </div> <umb-pane> <umb-control-group localize="label" label="@defaultdialogs_relateToOriginalLabel"> <input type="checkbox" ng-model="$parent.$parent.relateToOriginal"/> </umb-control-group> </umb-pane> <umb-pane> <umb-control-group localize="label" label="@defaultdialogs_includeDescendants"> <input type="checkbox" ng-model="$parent.$parent.recursive" /> </umb-control-group> </umb-pane> </div> </div> </div> <div class="umb-dialog-footer btn-toolbar umb-btn-toolbar" ng-hide="success"> <a class="btn btn-link" ng-click="nav.hideDialog()" ng-if="!busy"> <localize key="general_cancel">Cancel</localize> </a> <button class="btn btn-primary" ng-click="copy()" ng-disabled="busy"> <localize key="actions_copy">Copy</localize> </button> </div> </div>
giuunit/UmbracoRestrictions
src/GiuUnit.UmbracoRestrictions/GiuUnit.UmbracoRestrictions.Web/Umbraco/Views/content/copy.html
HTML
mit
3,245
<?xml version="1.0" encoding="ascii"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>api_shim.core.ssl_support</title> <link rel="stylesheet" href="epydoc.css" type="text/css" /> <script type="text/javascript" src="epydoc.js"></script> </head> <body bgcolor="white" text="black" link="blue" vlink="#204080" alink="#204080"> <!-- ==================== NAVIGATION BAR ==================== --> <table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0"> <tr valign="middle"> <!-- Tree link --> <th>&nbsp;&nbsp;&nbsp;<a href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th> <!-- Index link --> <th>&nbsp;&nbsp;&nbsp;<a href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th> <!-- Help link --> <th>&nbsp;&nbsp;&nbsp;<a href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th> <th class="navbar" width="100%"></th> </tr> </table> <table width="100%" cellpadding="0" cellspacing="0"> <tr valign="top"> <td width="100%"> <span class="breadcrumbs"> Package&nbsp;api_shim :: <a href="api_shim.core-module.html">Package&nbsp;core</a> :: Module&nbsp;ssl_support </span> </td> <td> <table cellpadding="0" cellspacing="0"> <!-- hide/show private --> <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink" onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr> <tr><td align="right"><span class="options" >[<a href="frames.html" target="_top">frames</a >]&nbsp;|&nbsp;<a href="api_shim.core.ssl_support-module.html" target="_top">no&nbsp;frames</a>]</span></td></tr> </table> </td> </tr> </table> <!-- ==================== MODULE DESCRIPTION ==================== --> <h1 class="epydoc">Module ssl_support</h1><p class="nomargin-top"><span class="codelink"><a href="api_shim.core.ssl_support-pysrc.html">source&nbsp;code</a></span></p> <hr /> <div class="fields"> <p><strong>Author:</strong> Scott Horn </p> </div><!-- ==================== CLASSES ==================== --> <a name="section-Classes"></a> <table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white"> <tr bgcolor="#70b0f0" class="table-header"> <td colspan="2" class="table-header"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr valign="top"> <td align="left"><span class="table-header">Classes</span></td> <td align="right" valign="top" ><span class="options">[<a href="#section-Classes" class="privatelink" onclick="toggle_private();" >hide private</a>]</span></td> </tr> </table> </td> </tr> <tr> <td class="summary" colspan="2"> <a href="api_shim.core.ssl_support.SSLSupport-class.html" class="summary-name">SSLSupport</a><br /> A mixin module allowing SSL attributes to be set on classes </td> </tr> <tr> <td class="summary" colspan="2"> <a href="api_shim.core.ssl_support.ClientSSLSupport-class.html" class="summary-name">ClientSSLSupport</a> </td> </tr> <tr> <td class="summary" colspan="2"> <a href="api_shim.core.ssl_support.ServerSSLSupport-class.html" class="summary-name">ServerSSLSupport</a> </td> </tr> </table> <!-- ==================== VARIABLES ==================== --> <a name="section-Variables"></a> <table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white"> <tr bgcolor="#70b0f0" class="table-header"> <td colspan="2" class="table-header"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr valign="top"> <td align="left"><span class="table-header">Variables</span></td> <td align="right" valign="top" ><span class="options">[<a href="#section-Variables" class="privatelink" onclick="toggle_private();" >hide private</a>]</span></td> </tr> </table> </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type">&nbsp;</span> </td><td class="summary"> <a name="__email__"></a><span class="summary-name">__email__</span> = <code title="&quot;[email protected]&quot;">&quot;[email protected]&quot;</code> </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type">&nbsp;</span> </td><td class="summary"> <a name="__credits__"></a><span class="summary-name">__credits__</span> = <code title="&quot;Based entirely on work by Tim Fox http://tfox.org&quot;">&quot;Based entirely on work by Tim Fox http://tfox.org&quot;</code> </td> </tr> </table> <!-- ==================== NAVIGATION BAR ==================== --> <table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0"> <tr valign="middle"> <!-- Tree link --> <th>&nbsp;&nbsp;&nbsp;<a href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th> <!-- Index link --> <th>&nbsp;&nbsp;&nbsp;<a href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th> <!-- Help link --> <th>&nbsp;&nbsp;&nbsp;<a href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th> <th class="navbar" width="100%"></th> </tr> </table> <table border="0" cellpadding="0" cellspacing="0" width="100%%"> <tr> <td align="left" class="footer"> Generated by Epydoc 3.0.1 on Wed Jul 17 20:24:58 2013 </td> <td align="right" class="footer"> <a target="mainFrame" href="http://epydoc.sourceforge.net" >http://epydoc.sourceforge.net</a> </td> </tr> </table> <script type="text/javascript"> <!-- // Private objects are initially displayed (because if // javascript is turned off then we want them to be // visible); but by default, we want to hide them. So hide // them unless we have a cookie that says to show them. checkCookie(); // --> </script> </body> </html>
vietj/vertx
src/main/vertx2/api/epydoc/api_shim.core.ssl_support-module.html
HTML
apache-2.0
6,228
<!-- Copyright (c) 2014 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as part of the polymer project is also subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt --><!-- `paper-dropdown-menu` works together with `paper-dropdown` and `core-menu` to implement a drop-down menu. The currently selected item is displayed in the control. If no item is selected, the `label` is displayed instead. The child element with the class `dropdown` will be used as the drop-down menu. It should be a `paper-dropdown` or other overlay element. You should also provide a `core-selector` or other selector element, such as `core-menu`, in the drop-down. You should apply the class `menu` to the selector element. Example: <paper-dropdown-menu label="Your favorite pastry"> <paper-dropdown class="dropdown"> <core-menu class="menu"> <paper-item>Croissant</paper-item> <paper-item>Donut</paper-item> <paper-item>Financier</paper-item> <paper-item>Madeleine</paper-item> </core-menu> </paper-dropdown> </paper-dropdown-menu> This example renders a drop-down menu with 4 options. @group Paper Elements @element paper-dropdown-menu @extends core-dropdown-base @status unstable @homepage github.io --><!-- Fired when an item's selection state is changed. This event is fired both when an item is selected or deselected. The `isSelected` detail property contains the selection state. @event core-select @param {Object} detail @param {boolean} detail.isSelected true for selection and false for deselection @param {Object} detail.item the item element --><html><head><link href="../polymer/polymer.html" rel="import"> <link href="../core-a11y-keys/core-a11y-keys.html" rel="import"> <link href="../core-dropdown/core-dropdown-base.html" rel="import"> <link href="../core-focusable/core-focusable.html" rel="import"> <link href="../core-icon/core-icon.html" rel="import"> <link href="../core-icons/core-icons.html" rel="import"> <link href="../paper-shadow/paper-shadow.html" rel="import"> <style shim-shadowdom=""> html /deep/ #paper-dropdown-menu-dropdown { margin: 12px; overflow: visible; } html /deep/ #paper-dropdown-menu-dropdown #menu { padding: 8px 0; margin: 0; } html /deep/ #paper-dropdown-menu-dropdown .menu-container { overflow: auto; max-height: 100%; max-width: 100%; } </style> </head><body><polymer-element name="paper-dropdown-menu" extends="core-dropdown-base" relative="" layout="" inline="" horizontal="" center="" tabindex="0" assetpath=""> <template> <style> :host { -moz-user-select: none; -ms-user-select: none; -webkit-user-select: none; user-select: none; cursor: pointer; padding: 0.5em 0 0.25em; margin: 0.75em 0; border-bottom: 1px solid #757575; outline: none; } #label, #arrow { color: #757575; } #label { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } </style> <core-a11y-keys target="{{}}" keys="enter space" on-keys-pressed="{{toggleOverlay}}"></core-a11y-keys> <div flex="" auto="" id="label">{{selectedItemLabel || label}}</div> <core-icon id="arrow" icon="{{opened ? openedIcon : closedIcon}}"></core-icon> <content></content> </template> </polymer-element> <script charset="utf-8" src="paper-dropdown-menu-extracted.js"></script></body></html>
guorendong/iridium-browser-ubuntu
third_party/polymer/components-chromium/paper-dropdown-menu/paper-dropdown-menu.html
HTML
bsd-3-clause
3,805
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>DocStrap Class: ACollector</title> <!--[if lt IE 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <link type="text/css" rel="stylesheet" href="styles/sunlight.default.css"> <link type="text/css" rel="stylesheet" href="styles/site.readable.css"> </head> <body> <div class="container-fluid"> <div class="navbar navbar-fixed-top navbar-inverse"> <div class="navbar-inner"> <a class="brand" href="index.html">DocStrap</a> <ul class="nav"> <li class="dropdown"> <a href="modules.list.html" class="dropdown-toggle" data-toggle="dropdown">Modules<b class="caret"></b></a> <ul class="dropdown-menu "> <li> <a href="module-base.html">base</a> </li> <li> <a href="chains_.html">base/chains</a> </li> <li> <a href="binder.html">documents/binder</a> </li> <li> <a href="model_.html">documents/model</a> </li> <li> <a href="probe.html">documents/probe</a> </li> <li> <a href="schema_.html">documents/schema</a> </li> <li> <a href="collector.html">ink/collector</a> </li> <li> <a href="bussable_.html">mixins/bussable</a> </li> <li> <a href="signalable_.html">mixins/signalable</a> </li> <li> <a href="format.html">strings/format</a> </li> <li> <a href="logger.html">utils/logger</a> </li> </ul> </li> <li class="dropdown"> <a href="classes.list.html" class="dropdown-toggle" data-toggle="dropdown">Classes<b class="caret"></b></a> <ul class="dropdown-menu "> <li> <a href="base.html">base</a> </li> <li> <a href="chains.html">base/chains</a> </li> <li> <a href="model.html">documents/model</a> </li> <li> <a href="probe.queryOperators.html">documents/probe.queryOperators</a> </li> <li> <a href="probe.updateOperators.html">documents/probe.updateOperators</a> </li> <li> <a href="collector-ACollector.html">ink/collector~ACollector</a> </li> <li> <a href="collector-CollectorBase_.html">ink/collector~CollectorBase</a> </li> <li> <a href="collector-OCollector.html">ink/collector~OCollector</a> </li> <li> <a href="signalable-Signal.html">mixins/signalable~Signal</a> </li> <li> <a href="logger.Logger.html">utils/logger.Logger</a> </li> </ul> </li> <li class="dropdown"> <a href="mixins.list.html" class="dropdown-toggle" data-toggle="dropdown">Mixins<b class="caret"></b></a> <ul class="dropdown-menu "> <li> <a href="schema.html">documents/schema</a> </li> <li> <a href="bussable.html">mixins/bussable</a> </li> <li> <a href="signalable.html">mixins/signalable</a> </li> </ul> </li> <li class="dropdown"> <a href="tutorials.list.html" class="dropdown-toggle" data-toggle="dropdown">Tutorials<b class="caret"></b></a> <ul class="dropdown-menu "> <li> <a href="tutorial-Teeth.html">Brush Teeth</a> </li> <li> <a href="tutorial-Car.html">Drive Car</a> </li> <li> <a href="tutorial-Test.html">Fence Test</a> </li> </ul> </li> <li class="dropdown"> <a href="global.html" class="dropdown-toggle" data-toggle="dropdown">Global<b class="caret"></b></a> <ul class="dropdown-menu "> <li> <a href="global.html#utils/logger">utils/logger</a> </li> </ul> </li> </ul> </div> </div> <div class="row-fluid"> <div class="span8"> <div id="main"> <h1 class="page-title">Class: ACollector</h1> <section> <header> <h2> <span class="ancestors"><a href="collector.html">ink/collector</a>~</span> ACollector </h2> </header> <article> <div class="container-overview"> <dt> <h4 class="name" id="ACollector"><span class="type-signature"></span>new ACollector<span class="signature">()</span><span class="type-signature"></span></h4> </dt> <dd> <div class="description"> <p>An array based collector</p> </div> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="collector.js.html">documents/collector.js</a>, <a href="collector.js.html#sunlight-1-line-268">line 268</a> </li> </ul> </dd> </dl> </dd> </div> <h3 class="subsection-title">Extends</h3> <ul> <li><a href="collector-CollectorBase.html">module:documents/collector~CollectorBase</a></li> </ul> <h3 class="subsection-title">Members</h3> <dl> <dt class="name" id="length"> <h4><span class="type-signature"></span>length<span class="type-signature"> :number</span></h4> </dt> <dd> <div class="description"> <p>Get the size of the collection</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">number</span> </li> </ul> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"> <ul class="dummy"> <li> <a href="collector-CollectorBase.html#length">module:documents/collector~CollectorBase#length</a> </li> </ul> </dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="collector.js.html">documents/collector.js</a>, <a href="collector.js.html#sunlight-1-line-29">line 29</a> </li> </ul> </dd> </dl> </dd> </dl> <h3 class="subsection-title">Methods</h3> <dl> <dt> <h4 class="name" id="all"><span class="type-signature"></span>all<span class="signature">(qu)</span><span class="type-signature"> &rarr; {boolean}</span></h4> </dt> <dd> <div class="description"> <p>Returns true if all items match the query. Aliases as <code>every</code></p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>qu</code></td> <td class="type"> <span class="param-type">object</span> </td> <td class="description last"><p>The query to execute</p></td> </tr> </tbody> </table> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"> <ul class="dummy"> <li> <a href="collector-CollectorBase.html#all">module:documents/collector~CollectorBase#all</a> </li> </ul> </dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="collector.js.html">documents/collector.js</a>, <a href="collector.js.html#sunlight-1-line-411">line 411</a> </li> </ul> </dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type">boolean</span> </dd> </dl> </dd> <dt> <h4 class="name" id="any"><span class="type-signature"></span>any<span class="signature">(qu)</span><span class="type-signature"> &rarr; {boolean}</span></h4> </dt> <dd> <div class="description"> <p>Returns true if any of the items match the query. Aliases as <code>all</code></p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>qu</code></td> <td class="type"> <span class="param-type">object</span> </td> <td class="description last"><p>The query to execute</p></td> </tr> </tbody> </table> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"> <ul class="dummy"> <li> <a href="collector-CollectorBase.html#any">module:documents/collector~CollectorBase#any</a> </li> </ul> </dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="collector.js.html">documents/collector.js</a>, <a href="collector.js.html#sunlight-1-line-422">line 422</a> </li> </ul> </dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type">boolean</span> </dd> </dl> </dd> <dt> <h4 class="name" id="every"><span class="type-signature"></span>every<span class="signature">(qu)</span><span class="type-signature"> &rarr; {boolean}</span></h4> </dt> <dd> <div class="description"> <p>Returns true if all items match the query. Aliases as <code>all</code></p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>qu</code></td> <td class="type"> <span class="param-type">object</span> </td> <td class="description last"><p>The query to execute</p></td> </tr> </tbody> </table> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"> <ul class="dummy"> <li> <a href="collector-CollectorBase.html#every">module:documents/collector~CollectorBase#every</a> </li> </ul> </dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="collector.js.html">documents/collector.js</a>, <a href="collector.js.html#sunlight-1-line-379">line 379</a> </li> </ul> </dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type">boolean</span> </dd> </dl> </dd> <dt> <h4 class="name" id="find"><span class="type-signature"></span>find<span class="signature">(qu)</span><span class="type-signature"> &rarr; {array}</span></h4> </dt> <dd> <div class="description"> <p>Find all records that match a query</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>qu</code></td> <td class="type"> <span class="param-type">object</span> </td> <td class="description last"><p>The query to execute.</p></td> </tr> </tbody> </table> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"> <ul class="dummy"> <li> <a href="collector-CollectorBase.html#find">module:documents/collector~CollectorBase#find</a> </li> </ul> </dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="collector.js.html">documents/collector.js</a>, <a href="collector.js.html#sunlight-1-line-478">line 478</a> </li> </ul> </dd> </dl> <h5>Returns:</h5> <div class="param-desc"> <p>The results</p> </div> <dl> <dt> Type </dt> <dd> <span class="param-type">array</span> </dd> </dl> </dd> <dt> <h4 class="name" id="findKeys"><span class="type-signature"></span>findKeys<span class="signature">(qu)</span><span class="type-signature"> &rarr; {array}</span></h4> </dt> <dd> <div class="description"> <p>Find all records that match a query and returns the keys for those items. This is similar to module:ink/probe.find but instead of returning records, returns the keys. If <code>obj</code> is an object it will return the hash key. If 'obj' is an array, it will return the index</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>qu</code></td> <td class="type"> <span class="param-type">object</span> </td> <td class="description last"><p>The query to execute.</p></td> </tr> </tbody> </table> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"> <ul class="dummy"> <li> <a href="collector-CollectorBase.html#findKeys">module:documents/collector~CollectorBase#findKeys</a> </li> </ul> </dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="collector.js.html">documents/collector.js</a>, <a href="collector.js.html#sunlight-1-line-466">line 466</a> </li> </ul> </dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type">array</span> </dd> </dl> </dd> <dt> <h4 class="name" id="findOne"><span class="type-signature"></span>findOne<span class="signature">(qu)</span><span class="type-signature"> &rarr; {object}</span></h4> </dt> <dd> <div class="description"> <p>Returns the first record that matches the query. Aliased as <code>seek</code>.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>qu</code></td> <td class="type"> <span class="param-type">object</span> </td> <td class="description last"><p>The query to execute.</p></td> </tr> </tbody> </table> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"> <ul class="dummy"> <li> <a href="collector-CollectorBase.html#findOne">module:documents/collector~CollectorBase#findOne</a> </li> </ul> </dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="collector.js.html">documents/collector.js</a>, <a href="collector.js.html#sunlight-1-line-455">line 455</a> </li> </ul> </dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type">object</span> </dd> </dl> </dd> <dt> <h4 class="name" id="findOneKey"><span class="type-signature"></span>findOneKey<span class="signature">(qu)</span><span class="type-signature"> &rarr; {object}</span></h4> </dt> <dd> <div class="description"> <p>Returns the first record that matches the query and returns its key or index depending on whether <code>obj</code> is an object or array respectively. Aliased as <code>seekKey</code>.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>qu</code></td> <td class="type"> <span class="param-type">object</span> </td> <td class="description last"><p>The query to execute.</p></td> </tr> </tbody> </table> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"> <ul class="dummy"> <li> <a href="collector-CollectorBase.html#findOneKey">module:documents/collector~CollectorBase#findOneKey</a> </li> </ul> </dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="collector.js.html">documents/collector.js</a>, <a href="collector.js.html#sunlight-1-line-443">line 443</a> </li> </ul> </dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type">object</span> </dd> </dl> </dd> <dt> <h4 class="name" id="remove"><span class="type-signature"></span>remove<span class="signature">(qu)</span><span class="type-signature"> &rarr; {object|array}</span></h4> </dt> <dd> <div class="description"> <p>Remove all items in the object/array that match the query</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>qu</code></td> <td class="type"> <span class="param-type">object</span> </td> <td class="description last"><p>The query to execute. See module:ink/probe.queryOperators for the operators you can use.</p></td> </tr> </tbody> </table> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"> <ul class="dummy"> <li> <a href="collector-CollectorBase.html#remove">module:documents/collector~CollectorBase#remove</a> </li> </ul> </dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="collector.js.html">documents/collector.js</a>, <a href="collector.js.html#sunlight-1-line-433">line 433</a> </li> </ul> </dd> </dl> <h5>Returns:</h5> <div class="param-desc"> <p>The array or object as appropriate without the records.</p> </div> <dl> <dt> Type </dt> <dd> <span class="param-type">object</span> | <span class="param-type">array</span> </dd> </dl> </dd> <dt> <h4 class="name" id="some"><span class="type-signature"></span>some<span class="signature">(qu)</span><span class="type-signature"> &rarr; {boolean}</span></h4> </dt> <dd> <div class="description"> <p>Returns true if any of the items match the query. Aliases as <code>any</code></p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>qu</code></td> <td class="type"> <span class="param-type">object</span> </td> <td class="description last"><p>The query to execute</p></td> </tr> </tbody> </table> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"> <ul class="dummy"> <li> <a href="collector-CollectorBase.html#some">module:documents/collector~CollectorBase#some</a> </li> </ul> </dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="collector.js.html">documents/collector.js</a>, <a href="collector.js.html#sunlight-1-line-390">line 390</a> </li> </ul> </dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type">boolean</span> </dd> </dl> </dd> <dt> <h4 class="name" id="unique"><span class="type-signature"></span>unique<span class="signature">(qu)</span><span class="type-signature"> &rarr; {array}</span></h4> </dt> <dd> <div class="description"> <p>Returns the set of unique records that match a query</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>qu</code></td> <td class="type"> <span class="param-type">object</span> </td> <td class="description last"><p>The query to execute.</p></td> </tr> </tbody> </table> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"> <ul class="dummy"> <li> <a href="collector-CollectorBase.html#unique">module:documents/collector~CollectorBase#unique</a> </li> </ul> </dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="collector.js.html">documents/collector.js</a>, <a href="collector.js.html#sunlight-1-line-401">line 401</a> </li> </ul> </dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type">array</span> </dd> </dl> </dd> <dt> <h4 class="name" id="update"><span class="type-signature"></span>update<span class="signature">(qu, setDocument)</span><span class="type-signature"></span></h4> </dt> <dd> <div class="description"> <p>Updates all records in obj that match the query. See module:ink/probe.updateOperators for the operators that are supported.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>qu</code></td> <td class="type"> <span class="param-type">object</span> </td> <td class="description last"><p>The query which will be used to identify the records to updated</p></td> </tr> <tr> <td class="name"><code>setDocument</code></td> <td class="type"> <span class="param-type">object</span> </td> <td class="description last"><p>The update operator. See module:ink/probe.updateOperators</p></td> </tr> </tbody> </table> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"> <ul class="dummy"> <li> <a href="collector-CollectorBase.html#update">module:documents/collector~CollectorBase#update</a> </li> </ul> </dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="collector.js.html">documents/collector.js</a>, <a href="collector.js.html#sunlight-1-line-488">line 488</a> </li> </ul> </dd> </dl> </dd> </dl> </article> </section> </div> <div class="clearfix"></div> <footer> <span class="copyright"> DocStrap Copyright © 2012-2013 The contributors to the JSDoc3 and DocStrap projects. </span> <br /> <span class="jsdoc-message"> Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-alpha5</a> on Mon Jul 7th 2014 using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>. </span> </footer> </div> <div class="span3"> <div id="toc"></div> </div> <br clear="both"> </div> </div> <!--<script src="scripts/sunlight.js"></script>--> <script src="scripts/docstrap.lib.js"></script> <script src="scripts/bootstrap-dropdown.js"></script> <script src="scripts/toc.js"></script> <script> $( function () { $( "[id*='$']" ).each( function () { var $this = $( this ); $this.attr( "id", $this.attr( "id" ).replace( "$", "__" ) ); } ); $( "#toc" ).toc( { anchorName : function ( i, heading, prefix ) { return $( heading ).attr( "id" ) || ( prefix + i ); }, selectors : "h1,h2,h3,h4", showAndHide : false, scrollTo : "100px" } ); $( "#toc>ul" ).addClass( "nav nav-pills nav-stacked" ); $( "#main span[id^='toc']" ).addClass( "toc-shim" ); $( '.dropdown-toggle' ).dropdown(); // $( ".tutorial-section pre, .readme-section pre" ).addClass( "sunlight-highlight-javascript" ).addClass( "linenums" ); $( ".tutorial-section pre, .readme-section pre" ).each( function () { var $this = $( this ); var example = $this.find( "code" ); exampleText = example.html(); var lang = /{@lang (.*?)}/.exec( exampleText ); if ( lang && lang[1] ) { exampleText = exampleText.replace( lang[0], "" ); example.html( exampleText ); lang = lang[1]; } else { lang = "javascript"; } if ( lang ) { $this .addClass( "sunlight-highlight-" + lang ) .addClass( "linenums" ) .html( example.html() ); } } ); Sunlight.highlightAll( { lineNumbers : true, showMenu : true, enableDoclinks : true } ); } ); </script> <!--Navigation and Symbol Display--> <!--Google Analytics--> </body> </html>
guoguogis/ng-nice
npminstall/ink-docstrap/themes/readable/collector-ACollector.html
HTML
mit
28,606
<!DOCTYPE html> <html lang="en"> <head> <title>How do I import an individual site archive?</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta content="sakai.sitearchive" name="description"> <meta content="import archive, import site, restore site archive" name="search"> <link href="/library/skin/tool_base.css" media="screen" rel="stylesheet" type="text/css" charset="utf-8"> <link href="/library/skin/morpheus-default/tool.css" media="screen" rel="stylesheet" type="text/css" charset="utf-8"> <link href="/sakai-help-tool/css/help.css" media="screen" rel="stylesheet" type="text/css" charset="utf-8"> <link href="/library/js/jquery/featherlight/0.4.0/featherlight.min.css" media="screen" rel="stylesheet" type="text/css" charset="utf-8"> <script src="/library/webjars/jquery/1.11.3/jquery.min.js" type="text/javascript" charset="utf-8"></script><script src="/library/js/jquery/featherlight/0.4.0/featherlight.min.js" type="text/javascript" charset="utf-8"></script><script type="text/javascript" charset="utf-8"> $(document).ready(function(){ $("a[rel^='featherlight']").featherlight({ type: { image:true }, closeOnClick: 'anywhere' }); }); </script> </head> <body> <div id="wrapper"> <div id="article-content"> <div id="article-header"> <h1 class="article-title">How do I import an individual site archive?</h1> </div> <div id="article-description"> <p>A site archive may be imported into an existing site via the Site Archive tool in the Administration Workspace.</p> </div> <div id="steps-container"> <div id="step-6066" class="step-container"> <h2 class="step-title">Go to Site Archive.</h2> <div class="step-instructions"><p>Select the <strong>Site Archive</strong> tool from the Tool Menu in the Administration Workspace.</p></div> </div> <div class="clear"></div> <div id="step-6067" class="step-container"> <h3 class="step-title">Enter the import information and Import.</h3> <div class="step-image-container step-image-fullsize"> <img src="/library/image/help/en/How-do-I-import-an-individual-site-archive-/Enter-the-import-information-and-Import-sm.png" width="640" height="301" class="step-image" alt="Enter the import information and Import."><div class="step-image-caption"> <a href="/library/image/help/en/How-do-I-import-an-individual-site-archive-/Enter-the-import-information-and-Import.png" rel="featherlight" target="_blank">Zoom</a> </div> </div> <div class="step-instructions"><ol> <li>Enter the top level directory name for the archive directory on the server. This should be the <strong>siteid-archive</strong>.</li> <li>Enter the site id for the destination site where the archive content will be copied. If the destination site id does not exist, a new site with the specified id will be created.</li> <li>Click <strong>Import</strong>.</li> </ol></div> </div> <div class="clear"></div> </div> </div> </div> </body> </html>
conder/sakai
help/help/src/sakai_screensteps_siteArchiveAdministratorGuide/How-do-I-import-an-individual-site-archive-.html
HTML
apache-2.0
3,172
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <title>Syntax and parsing of unknown psuedo-classes</title> <style type="text/css"> p { background: lime; } p:subject { background: red; } /* this is not valid CSS, and if UAs implemented the experimental :subject pseudo-class they should have used the :-vnd-ident syntax. */ </style> <link rel="first" href="css3-modsel-1.html" title="Groups of selectors"> <link rel="prev" href="css3-modsel-159.html" title="Syntax and parsing of new pseudo-elements"> <link rel="next" href="css3-modsel-161.html" title="Syntax and parsing of unknown psuedo-classes and pseudo-elements"> <link rel="last" href="css3-modsel-d5e.html" title="NEGATED :indeterminate with :checked"> <link rel="up" href="./index.html"> <link rel="top" href="../../index.html"> </head> <body> <p>This line should have a green background.</p> </body> </html>
hgl888/blink-crosswalk-efl
LayoutTests/fast/selectors/160.html
HTML
bsd-3-clause
913
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html> <head> <script src="../../resources/js-test.js"></script> </head> <body> <p id="description"></p> <div id="console"></div> <script src="resources/ie-test-pre.js"></script> <script src="TestCases/12.10-0-11.js"></script> <script src="resources/ie-test-post.js"></script> </body> </html>
modulexcite/blink
LayoutTests/ietestcenter/Javascript/12.10-0-11.html
HTML
bsd-3-clause
340
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://genshi.edgewall.org/" xmlns:i18n="http://genshi.edgewall.org/i18n" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:include href="layout.html" /> <head> <title>Prepare Diff</title> <script type="text/javascript"> jQuery(document).ready(function($) { $("#anydiff input[name$='_path']").suggest(); }); </script> </head> <body> <div id="content" class="changeset"> <div id="title"> <h1>Prepare Diff</h1> </div> <div id="anydiff"> <form action="${href.changeset()}" method="get"> <fieldset> <legend>Select the base and the target for the diff:</legend> <table> <tr> <th><label for="old_path">From:</label></th> <td> <input type="text" id="old_path" name="old_path" value="$old_path" size="44" /> <label>at revision: <input type="text" name="old" value="$old_rev" size="4" /> </label> </td> </tr> <tr> <th><label for="new_path">To:</label></th> <td> <input type="text" id="new_path" name="new_path" value="$new_path" size="44" /> <label>at revision: <input type="text" name="new" value="$new_rev" size="4" /> </label> </td> </tr> </table> <p class="hint"> For either path, you can start typing the path and will be presented a list of existing directories and files to select from. Select an entry by clicking on it, or by using the up/down cursor keys and hitting tab. </p> </fieldset> <div class="buttons"> <input type="submit" value="${_('View changes')}" /> </div> </form> </div> <div id="help" i18n:msg=""> <strong>Note:</strong> See <a href="${href.wiki('TracChangeset')}#ExaminingDifferencesBetweenBranches">TracChangeset</a> for help on using the diff feature. </div> </div> </body> </html>
dokipen/trac
trac/versioncontrol/templates/diff_form.html
HTML
bsd-3-clause
2,444
<!DOCTYPE html> <!-- DO NOT EDIT! This test has been generated by tools/gentest.py. --> <title>Canvas test: size.attributes.parse.plus</title> <meta name="author" content="Philip Taylor"> <script src="../../resources/testharness.js"></script> <script src="../../resources/testharnessreport.js"></script> <script src="common/canvas-tests.js"></script> <link rel="stylesheet" href="common/canvas-tests.css"> <body class="show_output"> <h1>size.attributes.parse.plus</h1> <p class="desc">Parsing of non-negative integers</p> <p class="output">Actual output:</p> <canvas id="c" class="output" width="+100" height="+100"><p class="fallback">FAIL (fallback content)</p></canvas> <p class="output expectedtext">Expected output:<p><img src="size.attributes.parse.plus.png" class="output expected" id="expected" alt=""> <ul id="d"></ul> <script> var t = async_test("Parsing of non-negative integers"); _addTest(function(canvas, ctx) { _assertSame(canvas.width, 100, "canvas.width", "100"); _assertSame(canvas.height, 100, "canvas.height", "100"); _assertEqual(window.getComputedStyle(canvas, null).getPropertyValue("width"), "100px", "window.getComputedStyle(canvas, null).getPropertyValue(\"width\")", "\"100px\""); _assertSame(canvas.getAttribute('width'), '+100', "canvas.getAttribute('width')", "'+100'"); _assertSame(canvas.getAttribute('height'), '+100', "canvas.getAttribute('height')", "'+100'"); }); </script>
haoxli/web-testing-service
wts/tests/canvas/w3c/size.attributes.parse.plus.html
HTML
bsd-3-clause
1,417
<!DOCTYPE html> <html debug="true"> <head> <!-- Loads the resources of ExtJS and OpenLayers. Use the URL-parameter `extjs` to require a specific version of Ext, e.g. `Action.html?extjs=5.0.1` --> <script src="../../examples/include-ext.js"></script> <script src="http://openlayers.org/api/2.13.1/OpenLayers.js"></script> <script type="text/javascript"> Ext.Loader.setConfig({ enabled:true, disableCaching: false, paths: { "GeoExt": "../../src/GeoExt" } }); Ext.Loader.syncRequire([ 'Ext.Window', 'GeoExt.panel.Map', 'GeoExt.data.MapfishPrintProvider', 'GeoExt.panel.PrintMap', 'GeoExt.plugins.PrintExtent', 'GeoExt.plugins.PrintPageField' ]); </script> <!-- | Include a script that will set-up a global variable 'printCapabilities' | which is the static version of using a script with 'src' pointing to e.g. | http://ows.terrestris.de/print/pdf/info.json?var=printCapabilities | --> <script type="text/javascript" src="../print-capabilities-variable.js"></script> <script type="text/javascript"> function test_init_destroy(t){ t.plan(3); var log = {}; var printPage = Ext.create('GeoExt.data.PrintPage', { printProvider: Ext.create('GeoExt.data.MapfishPrintProvider', { capabilities: printCapabilities }) }); var plugin = Ext.create('GeoExt.plugins.PrintPageField', { printPage: printPage, onPageChange: function(arg) { log.onPageChange = arg; } }); var field = { on: function(cfg) { log.on = cfg; }, suspendEvents: Ext.emptyFn, resumeEvents: Ext.emptyFn }; plugin.init(field); t.ok(log.on["change"] === plugin.onFieldChange, "onFieldChange handler set correctly."); field = Ext.create('Ext.form.Field', { name: "scale", plugins: plugin, renderTo: document.body }); printPage.fireEvent("change", "foo"); t.eq(log.onPageChange, "foo", "onPageChange called on page's change event."); delete log.onPageChange; field.destroy(); printPage.fireEvent("change", "bar"); t.eq(log.onPageChange, undefined, "onPageChanged not called after field is destroyed."); } function test_init__scales_field(t){ t.plan(1); var log = {}; var printPage = Ext.create('GeoExt.data.PrintPage', { printProvider: Ext.create('GeoExt.data.MapfishPrintProvider', { capabilities: printCapabilities }) }); var scaleRecord = printPage.printProvider.scales.getAt(0); printPage.setScale(scaleRecord); var plugin = Ext.create('GeoExt.plugins.PrintPageField', { printPage: printPage }); var field = { on: function(cfg) { log.on = cfg; }, setValue: function(v) { log.value = v; }, store: printPage.printProvider.scales, displayField: "name", suspendEvents: Ext.emptyFn, resumeEvents: Ext.emptyFn }; plugin.init(field); t.eq(log.value, scaleRecord.get("name"), "field value set correctly"); } function test_init__rotation_field(t){ t.plan(1); var log = {}; var printPage = Ext.create('GeoExt.data.PrintPage', { printProvider: Ext.create('GeoExt.data.MapfishPrintProvider', { capabilities: printCapabilities }) }); printPage.setRotation(10, true); var plugin = Ext.create('GeoExt.plugins.PrintPageField', { printPage: printPage }); var field = { on: function(cfg) { log.on = cfg; }, setValue: function(v) { log.value = v; }, name: "rotation", suspendEvents: Ext.emptyFn, resumeEvents: Ext.emptyFn }; plugin.init(field); t.eq(log.value, 10, "field value set correctly"); } function test_onFieldChange(t) { t.plan(2); var printProvider = Ext.create('GeoExt.data.MapfishPrintProvider', { capabilities: printCapabilities, customParams: {foo: "bar"} }); var printPage = Ext.create('GeoExt.data.PrintPage', { printProvider: printProvider }); var plugin = Ext.create('GeoExt.plugins.PrintPageField', { printPage: printPage }); var field = { name: "foo", initialConfig: {}, getValue: function() { return "foobar"; } }; plugin.onFieldChange(field); t.eq(printPage.customParams.foo, "foobar", "Custom field value updated in printPage."); delete field.name; field.store = printProvider.scales; field.displayField = "name"; plugin.onFieldChange(field, printProvider.scales.getAt(1)); t.eq(printPage.scale.get("name"), printProvider.scales.getAt(1).get("name"), "Scale value updated in printPage."); } function test_onPageChange(t) { t.plan(3); var log = {}; var printProvider = Ext.create('GeoExt.data.MapfishPrintProvider', { capabilities: printCapabilities, customParams: {foo: "bar"} }); var printPage = Ext.create('GeoExt.data.PrintPage', { printProvider: printProvider }); var plugin = Ext.create('GeoExt.plugins.PrintPageField', { printPage: printPage }); var field = { displayField: "name", store: printProvider.scales, initialConfig: {}, on: function(cfg) { log.on = cfg; }, getValue: function() { return "foobar"; }, setValue: function(value) { log.setValue = value; }, suspendEvents: Ext.emptyFn, resumeEvents: Ext.emptyFn }; plugin.init(field); printPage.setScale(printProvider.scales.getAt(1)); t.eq(log.setValue, printProvider.scales.getAt(1).get("name"), "Plugin updated scale name on printPage change."); delete log.setValue; plugin.onFieldChange(field, printProvider.scales.getAt(0)); t.ok(printPage.scale === printProvider.scales.getAt(0), "Scale set on field change."); t.eq(log.setValue, undefined, "setValue not called while updating."); } function test_Checkbox(t) { t.plan(1); var printPage = Ext.create('GeoExt.data.PrintPage', { printProvider: Ext.create('GeoExt.data.MapfishPrintProvider', { capabilities: printCapabilities }) }); var plugin = Ext.create('GeoExt.plugins.PrintPageField', { printPage: printPage }); var field = Ext.create('Ext.form.Checkbox', { name: "foo", checked: true, plugins: [plugin] }); field.setValue(false); t.eq(printPage.customParams.foo, false, "setValue(false) called, custom param is false"); } </script> </head> <body> <div id="form" style="width:400px; height:300px"></div> </body> </html>
marcjansen/geoext2
tests/plugins/PrintPageField.html
HTML
bsd-3-clause
8,524
{% extends "base.html" %} {% block title %}{{ page.title }} - {{ SITENAME }}{% endblock %} {% block breadcrumbs %} {% if DISPLAY_BREADCRUMBS %} <ol class="breadcrumb"> <li><a href="{{ SITEURL }}" title="{{ SITENAME }}"><i class="fa fa-home fa-lg"></i></a></li> <li class="active">{{ page.title }}</li> </ol> {% endif %} {% endblock %} {% block content %} <section id="content" class="body"> <h1 class="entry-title">{{ page.title }}</h1> {% import 'includes/translations.html' as translations with context %} {{ translations.translations_for(page) }} {% if PDF_PROCESSOR %} <a href="{{ SITEURL }}/pdf/{{ page.slug }}.pdf"> get the pdf </a> {% endif %} <div class="entry-content"> {{ page.content }} </div> </section> {% endblock %}
BenoitDherin/data-analysis-with-R
website/theme/templates/page.html
HTML
mit
881
<!doctype html><script></sc
guhelski/tnsfpg
node_modules/zombie/node_modules/html5/data/tree-construction/tests16.dat-12/input.html
HTML
mit
28
<div class='sheet-2colrow'> <div class='sheet-col sheet-col-1 sheet-noborder'> <!-- LOGO --> <img src="http://i.imgur.com/uwl3LKE.jpg" class="sheet-logo" /> </div> <div class='sheet-col sheet-col-2 sheet-noborder'> <!-- Header Content --> <div class="sheet-row"> Name:<input type="text" class="attr_info attr_bottom_line" name="attr_name"> </div> <div class="sheet-row"> <input type="text" class="attr_info3" name="attr_class"> <input type="text" class="attr_info3" name="attr_level"> <input type="text" class="attr_info3" name="attr_alignment"> <span class="attr_info3">Class</span> <span class="attr_info3">Level</span> <span class="attr_info3">Alignment</span> </div> <div class="sheet-row"> <input type="text" class="attr_info2" name="attr_age"> <input type="text" class="attr_info1" name="attr_sex"> <input type="text" class="attr_info3" name="attr_xp"> <input type="text" class="attr_info3" name="attr_nextxp"> <span class="attr_info2">Age</span> <span class="attr_info1">Sex</span> <span class="attr_info3">Current XP</span> <span class="attr_info3">XP for next Level</span> </div> </div> </div> <div class='sheet-2colrow'> <div class='sheet-col sheet-col-1 sheet-col-border'> <!-- ABILITIES --> <h3>Abilities</h3> <div class='attr_block'> <div class='sheet-ability-column-value'> Charisma <input type="text" class="attr_ability_value" name="attr_cha" value="10"> </div> <div class='sheet-ability-column-modifier'> <input type="number" class="attr_ability_modifier" name="attr_ChaMod" value="(round(@{cha}*@{cha}*@{cha}*0.002831-@{cha}*@{cha}*0.08918+1.164*@{cha}-5.667))" disabled="true" /> <span class="attr_subtext">Ret. Recruitment, Loyalty</span> </div> <div class='sheet-ability-column-roll'> <button class="sheet-ability-button" type='roll' value='&{template:lotfp_check} {{name=Charisma}} {{abilityroll=[[1d20+[[@{ChaMod}]]]]}}}' name="roll_ChaCheck"></button> </div> </div> <div class='attr_block'> <div class='sheet-ability-column-value'> Constitution <input type="text" class="attr_ability_value" name="attr_con" value="10"> </div> <div class='sheet-ability-column-modifier'> <input type="number" class="attr_ability_modifier" name="attr_ConMod" value="(round(@{con}*@{con}*@{con}*0.002831-@{con}*@{con}*0.08918+1.164*@{con}-5.667))" disabled="true" /> <span class="attr_subtext">Hit Points, Daily Travel Distance</span> </div> <div class='sheet-ability-column-roll'> <button class="sheet-ability-button" type='roll' value='&{template:lotfp_check} {{name=Constitution}} {{abilityroll=[[1d20+[[@{ConMod}]]]]}}}' name="roll_ConCheck"></button> </div> </div> <div class='attr_block'> <div class='sheet-ability-column-value'> Dexterity <input type="text" class="attr_ability_value" name="attr_dex" value="10"> </div> <div class='sheet-ability-column-modifier'> <input type="number" class="attr_ability_modifier" name="attr_DexMod" value="(round(@{dex}*@{dex}*@{dex}*0.002831-@{dex}*@{dex}*0.08918+1.164*@{dex}-5.667))" disabled="true" /> <span class="attr_subtext">AC, Ranged AB, Initiative</span> </div> <div class='sheet-ability-column-roll'> <button class="sheet-ability-button" type='roll' value='&{template:lotfp_check} {{name=Dexterity}} {{abilityroll=[[1d20+[[@{DexMod}]]]]}}}' name="roll_DexCheck"></button> </div> </div> <div class='attr_block'> <div class='sheet-ability-column-value'> Intelligence <input type="text" class="attr_ability_value" name="attr_int" value="10"> </div> <div class='sheet-ability-column-modifier'> <input type="number" class="attr_ability_modifier" name="attr_IntMod" value="(round(@{int}*@{int}*@{int}*0.002831-@{int}*@{int}*0.08918+1.164*@{int}-5.667))" disabled="true" /> <span class="attr_subtext">Saves vs MU Spells, Languages</span> </div> <div class='sheet-ability-column-roll'> <button class="sheet-ability-button" type='roll' value='&{template:lotfp_check} {{name=Intelligence}} {{abilityroll=[[1d20+[[@{IntMod}]]]]}}}' name="roll_IntCheck"></button> </div> </div> <div class='attr_block'> <div class='sheet-ability-column-value'> Strength <input type="text" class="attr_ability_value" name="attr_str" value="10"> </div> <div class='sheet-ability-column-modifier'> <input type="number" class="attr_ability_modifier" name="attr_StrMod" value="(round(@{str}*@{str}*@{str}*0.002831-@{str}*@{str}*0.08918+1.164*@{str}-5.667))" disabled="true" /> <span class="attr_subtext">Melee AB, Open Doors</span> </div> <div class='sheet-ability-column-roll'> <button class="sheet-ability-button" type='roll' value='&{template:lotfp_check} {{name=Strength}} {{abilityroll=[[1d20+[[@{StrMod}]]]]}}' name="roll_StrCheck"></button> </div> </div> <div class='attr_block'> <div class='sheet-ability-column-value'> Wisdom <input type="text" class="attr_ability_value" name="attr_wis" value="10"> </div> <div class='sheet-ability-column-modifier'> <input type="number" class="attr_ability_modifier" name="attr_WisMod" value="(round(@{wis}*@{wis}*@{wis}*0.002831-@{wis}*@{wis}*0.08918+1.164*@{wis}-5.667))" disabled="true" /> <span class="attr_subtext">Saves vs Cleric Spells</span> </div> <div class='sheet-ability-column-roll'> <button class="sheet-ability-button" type='roll' value='&{template:lotfp_check} {{name=Wisdom}} {{abilityroll=[[1d20+[[@{WisMod}]]]]}}' name="roll_WisCheck"></button> </div> </div> </div> <div class='sheet-col sheet-col-2'> <div class='sheet-col-border'> <!-- Saving Throws --> <h3>Saving Throws</h3> <div class='attr_svblock'> <span class="attr_svbtitle">Paralyze</span> <input type="number" class="savingthrow" name="attr_Paralyze" /> <span class="attr_svnsubtext">Mobility Hazards (Petrification, Hold, Etc.)</span> <button class="sheet-ability-button" type='roll' value='&{template:lotfp_check} {{name=Paralyze}} {{saveroll=[[1d20]]}} {{target=[[@{Paralyze}]]}}' name="roll_ParalyzeCheck"></button> </div> <div class='attr_svblock'> <span class="attr_svbtitle">Poison</span> <input type="number" class="savingthrow" name="attr_Poison" /> <span class="attr_svnsubtext">Instant Death/KO Situations</span> <button class="sheet-ability-button" type='roll' value='&{template:lotfp_check} {{name=Poison}} {{saveroll=[[1d20]]}} {{target=[[@{Poison}]]}}' name="roll_PoisonCheck"></button> </div> <div class='attr_svblock'> <span class="attr_svbtitle">Breath Weapon</span> <input type="number" class="savingthrow" name="attr_Breath" /> <span class="attr_svnsubtext">Area Effect</span> <button class="sheet-ability-button" type='roll' value='&{template:lotfp_check} {{name=Breath Weapon}} {{saveroll=[[1d20]]}} {{target=[[@{Breath}]]}}' name="roll_BreathCheck"></button> </div> <div class='attr_svblock'> <span class="attr_svbtitle">Magical Device</span> <input type="number" class="savingthrow" name="attr_Device" /> <span class="attr_svnsubtext">Spell-like effects from Items</span> <button class="sheet-ability-button" type='roll' value='&{template:lotfp_check} {{name=Magical Device}} {{saveroll=[[1d20]]}} {{target=[[@{Device}]]}}' name="roll_DeviceCheck"></button> </div> <div class='attr_svblock'> <span class="attr_svbtitle">Magic</span> <input type="number" class="savingthrow" name="attr_Magic" /> <span class="attr_svnsubtext">Spells or Innate Abilities</span> <button class="sheet-ability-button" type='roll' value='&{template:lotfp_check} {{name=Magic}} {{saveroll=[[1d20]]}} {{target=[[@{Magic}]]}}' name="roll_MagicCheck"></button> </div> </div> <div class='sheet-col-border'> <div class='attr_svblock'> <span class="attr_svbtitle">Base<br/>AB</span> <input type="text" class="savingthrow" name="attr_BaseAB" value="1"/> </div> <div class='attr_svblock'> <span class="attr_svbtitle">Melee<br/>AB</span> <input type="text" class="savingthrow" name="attr_MeleeAB" value="(@{BaseAB}+@{StrMod})" disabled="true" /> </div> <div class='attr_svblock'> <span class="attr_svbtitle">Ranged<br/>AB</span> <input type="text" class="savingthrow" name="attr_RangedAB" value="(@{BaseAB}+@{DexMod})" disabled="true" /> </div> <div class='attr_svblock'> <span class="attr_svbtitle">Current<br/>HP</span> <input type="text" class="savingthrow hp" name="attr_HP"/> </div> <div class='attr_svblock'> <span class="attr_svbtitle">Max<br/>HP</span> <input type="text" class="savingthrow hp" name="attr_MaxHP"/> </div> </div> <div class='sheet-col-border'> <div class='attr_svblock'> <span class="attr_svbtitle">Melee<br/>AC</span> <input type="text" class="savingthrow" name="attr_MeleeAC" /> </div> <div class='attr_svblock'> <span class="attr_svbtitle">Ranged<br/>AC</span> <input type="text" class="savingthrow" name="attr_RangedAC" /> </div> <div class='attr_svblock'> <span class="attr_svbtitle">W.Shield<br/>AC</span> <input type="text" class="savingthrow" name="attr_WShieldAC" /> </div> <div class='attr_svblock'> <span class="attr_svbtitle">Surpr.<br/>AC</span> <input type="text" class="savingthrow" name="attr_SurprisedAC" /> </div> <div class='attr_svblock'> <span class="attr_svbtitle">Encumb.</span> <input type="text" class="savingthrow" name="attr_Encumbrance" /> </div> </div> </div> </div> <!-- WEAPONS --> <div class='sheet-row sheet-weapons'> <div class='sheet-col sheet-col-border'> <div class='sheet-col-skills'> <h3>Weapons</h3> <span class="attr_weaponname attr_weapon_title">Name</span> <span class="attr_weapontype attr_weapon_title">Type</span> <span class="attr_attackBonus attr_weapon_title">AB</span> <span class="attr_damage attr_weapon_title">Damage</span> <span class="attr_damage attr_weapon_title">S Range</span> <span class="attr_damage attr_weapon_title">M Range</span> <span class="attr_damage attr_weapon_title">L Range</span> <fieldset class="repeating_wepons"> <input type="text" name="attr_weaponname" class="attr_bottom_line attr_weaponname"/> <select name="attr_weapontype" class="attr_weapontype"> <option value="@{MeleeAB}" selected>Melee</option> <option value="@{RangedAB}">Ranged</option> </select> <input type="text" name="attr_attackBonus" value="@{weapontype}" class="attr_bottom_line attr_attackBonus" disabled="true"/> <input type="text" name="attr_weapondamage" class="attr_bottom_line attr_damage"/> <input type="text" name="attr_shortrange" class="attr_bottom_line attr_damage"/> <input type="text" name="attr_mediumrange" class="attr_bottom_line attr_damage"/> <input type="text" name="attr_longrange" class="attr_bottom_line attr_damage"/> <button class='sheet-attack-button' type='roll' value='&{template:lotfp_check} {{name=@{weaponname}}} {{charactername=@{name}}} {{attackroll=[[1d20+[[@{attackBonus}]]]]}} {{damageroll=[[@{weapondamage}]]}}}' name="Rollb_@{weaponname}"></button> </fieldset> </div> </div> </div> <!-- SKILLS AND EQUIPMENT --> <div class='sheet-2colrow'> <div class='sheet-col sheet-col-1 sheet-col-border'> <div class='sheet-col-skills'> <h3>Skills</h3> <fieldset class="repeating_skills"> <input type="text" name="attr_skillname" class="attr_bottom_line attr_skillname"/> <select name="attr_skillvalue" class="skillvalue"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> </select> <button class='sheet-skill-button' type='roll' value='&{template:lotfp_check} {{name=@{skillname}}} {{skillroll=[[1d6]]}} {{target=[[@{skillvalue}]]}}' name="Rollb_@{skillname}"></button> </fieldset> </div> </div> <div class='sheet-col sheet-col-2'> <div class='sheet-col-border'> <h3>Equipment</h3> <fieldset class="repeating_equipment"> <input type="text" name="attr_itemname" class="attr_bottom_line attr_equipment" /> <select name="attr_encumbrance" class="encumbrance"> <option value="1">1</option> <option value="2">2</option> <option value="0">0</option> </select> </fieldset> </div> </div> </div> <!-- Templates --> <rolltemplate class="sheet-rolltemplate-lotfp_check"> <table> {{#abilityroll}} <tr><th>{{name}} check</th></tr> <tr class="rowcolor"><td><span class="tcat">Roll: </span>{{abilityroll}}</td></tr> {{/abilityroll}} {{#attackroll}} <tr><th>{{charactername}} attacks with {{name}}</th></tr> <tr class="rowcolor"><td><span class="tcat">Attack Roll: </span>{{attackroll}}</td></tr> <tr class="rowcolor"><td><span class="tcat">Damage: </span>{{damageroll}}</td></tr> {{/attackroll}} {{#skillroll}} <tr><th>{{name}} check</th></tr> <tr class="rowcolor"><td><span class="tcat">Roll: </span>{{skillroll}} &lt;= {{target}} </td></tr> {{#rollLess() skillroll target}} <tr><td class="subheader" style="color:green;"><b>Success!</b></td></tr> {{/rollLess() skillroll target}} {{#rollTotal() skillroll target}} <tr><td class="subheader" style="color:green;"><b>Success!</b></td></tr> {{/rollTotal() skillroll target}} {{#rollGreater() skillroll target}} <tr><td class="subheader" style="color:red;"><b>Failure.</b></td></tr> {{/rollGreater() skillroll target}} {{/skillroll}} {{#saveroll}} <tr><th>{{name}} save</th></tr> <tr class="rowcolor"><td><span class="tcat">Roll: </span>{{saveroll}} &gt; {{target}}</td></tr> {{#rollLess() saveroll target}} <tr><td class="subheader" style="color:red;"><b>Failure.</b></td></tr> {{/rollLess() saveroll target}} {{#rollGreater() saveroll target}} <tr><td class="subheader" style="color:green;"><b>Success!</b></td></tr> {{/rollGreater() saveroll target}} {{/saveroll}} </table> </rolltemplate>
Scimon/roll20-character-sheets
Lotfp/Lotfp.html
HTML
mit
16,770
Checks if enum names follow the Rust naming convention.
ujpv/intellij-rust
src/main/resources/inspectionDescriptions/RustEnumNaming.html
HTML
mit
56
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="refresh" content="0;URL=../../../../libc/fn.quotactl.html"> </head> <body> <p>Redirecting to <a href="../../../../libc/fn.quotactl.html">../../../../libc/fn.quotactl.html</a>...</p> <script>location.replace("../../../../libc/fn.quotactl.html" + location.search + location.hash);</script> </body> </html>
IllinoisRoboticsInSpace/Arduino_Control
rust-serial/target/doc/libc/unix/bsd/apple/fn.quotactl.html
HTML
mit
373
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="../includes/main.css" type="text/css"> <link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"> <title>Apache CloudStack | The Power Behind Your Cloud</title> </head> <body> <div id="insidetopbg"> <div id="inside_wrapper"> <div class="uppermenu_panel"> <div class="uppermenu_box"></div> </div> <div id="main_master"> <div id="inside_header"> <div class="header_top"> <a class="cloud_logo" href="http://cloudstack.org"></a> <div class="mainemenu_panel"></div> </div> </div> <div id="main_content"> <div class="inside_apileftpanel"> <div class="inside_contentpanel" style="width:930px;"> <div class="api_titlebox"> <div class="api_titlebox_left"> <span> Apache CloudStack v4.9.0 Root Admin API Reference </span> <p></p> <h1>removeVpnUser</h1> <p>Removes vpn user</p> </div> <div class="api_titlebox_right"> <a class="api_backbutton" href="../index.html"></a> </div> </div> <div class="api_tablepanel"> <h2>Request parameters</h2> <table class="apitable"> <tr class="hed"> <td style="width:200px;"><strong>Parameter Name</strong></td><td style="width:500px;">Description</td><td style="width:180px;">Required</td> </tr> <tr> <td style="width:200px;"><strong>username</strong></td><td style="width:500px;"><strong>username for the vpn user</strong></td><td style="width:180px;"><strong>true</strong></td> </tr> <tr> <td style="width:200px;"><i>account</i></td><td style="width:500px;"><i>an optional account for the vpn user. Must be used with domainId.</i></td><td style="width:180px;"><i>false</i></td> </tr> <tr> <td style="width:200px;"><i>domainid</i></td><td style="width:500px;"><i>an optional domainId for the vpn user. If the account parameter is used, domainId must also be used.</i></td><td style="width:180px;"><i>false</i></td> </tr> <tr> <td style="width:200px;"><i>projectid</i></td><td style="width:500px;"><i>remove vpn user from the project</i></td><td style="width:180px;"><i>false</i></td> </tr> </table> </div> <div class="api_tablepanel"> <h2>Response Tags</h2> <table class="apitable"> <tr class="hed"> <td style="width:200px;"><strong>Response Name</strong></td><td style="width:500px;">Description</td> </tr> <tr> <td style="width:200px;"><strong>displaytext</strong></td><td style="width:500px;">any text associated with the success or failure</td> </tr> <tr> <td style="width:200px;"><strong>success</strong></td><td style="width:500px;">true if operation is executed successfully</td> </tr> </table> </div> </div> </div> </div> </div> <div id="footer"> <div id="comments_thread"> <script type="text/javascript" src="https://comments.apache.org/show_comments.lua?site=test" async="true"></script> <noscript> <iframe width="930" height="500" src="https://comments.apache.org/iframe.lua?site=test&amp;page=4.2.0/rootadmin"></iframe> </noscript> </div> <div id="footer_mainmaster"> <p>Copyright &copy; 2015 The Apache Software Foundation, Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0.</a> <br> Apache, CloudStack, Apache CloudStack, the Apache CloudStack logo, the CloudMonkey logo and the Apache feather logo are trademarks of The Apache Software Foundation.</p> </div> </div> </div> </div> </body> </html>
pdion891/cloudstack-www
source/api/apidocs-4.9/apis/removeVpnUser.html
HTML
apache-2.0
3,527
<HTML> <!-- Copyright (c) 2004 Kris Beevers Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) --> <Head> <Title>Boost Graph Library: A* Heuristic Search</Title> <BODY BGCOLOR="#ffffff" LINK="#0000ee" TEXT="#000000" VLINK="#551a8b" ALINK="#ff0000"> <IMG SRC="../../../boost.png" ALT="C++ Boost" width="277" height="86"> <BR Clear> <H1><A NAME="sec:astar"></A> <TT>astar_search</TT> </H1> <P> <PRE> <i>// Named parameter interfaces</i> template &lt;typename VertexListGraph, typename AStarHeuristic, typename P, typename T, typename R&gt; void astar_search (const VertexListGraph &amp;g, typename graph_traits&lt;VertexListGraph&gt;::vertex_descriptor s, <a href="AStarHeuristic.html">AStarHeuristic</a> h, const bgl_named_params&lt;P, T, R&gt;&amp; params); template &lt;typename VertexListGraph, typename AStarHeuristic, typename P, typename T, typename R&gt; void astar_search_no_init (const IncidenceGraph &amp;g, typename graph_traits&lt;VertexListGraph&gt;::vertex_descriptor s, <a href="AStarHeuristic.html">AStarHeuristic</a> h, const bgl_named_params&lt;P, T, R&gt;&amp; params); template &lt;typename VertexListGraph, typename AStarHeuristic, typename P, typename T, typename R&gt; void astar_search_tree (const VertexListGraph &amp;g, typename graph_traits&lt;VertexListGraph&gt;::vertex_descriptor s, <a href="AStarHeuristic.html">AStarHeuristic</a> h, const bgl_named_params&lt;P, T, R&gt;&amp; params); template &lt;typename VertexListGraph, typename AStarHeuristic, typename P, typename T, typename R&gt; void astar_search_no_init_tree (const IncidenceGraph &amp;g, typename graph_traits&lt;VertexListGraph&gt;::vertex_descriptor s, <a href="AStarHeuristic.html">AStarHeuristic</a> h, const bgl_named_params&lt;P, T, R&gt;&amp; params); <i>// Non-named parameter interface</i> template &lt;typename VertexListGraph, typename AStarHeuristic, typename <a href="AStarVisitor.html">AStarVisitor</a>, typename PredecessorMap, typename CostMap, typename DistanceMap, typename WeightMap, typename VertexIndexMap, typename ColorMap, typename <a href="http://www.sgi.com/tech/stl/BinaryPredicate.html">CompareFunction</a>, typename <a href="http://www.sgi.com/tech/stl/BinaryFunction.html">CombineFunction</a>, typename CostInf, typename CostZero&gt; inline void astar_search (const VertexListGraph &amp;g, typename graph_traits&lt;VertexListGraph&gt;::vertex_descriptor s, AStarHeuristic h, AStarVisitor vis, PredecessorMap predecessor, CostMap cost, DistanceMap distance, WeightMap weight, VertexIndexMap index_map, ColorMap color, CompareFunction compare, CombineFunction combine, CostInf inf, CostZero zero); template &lt;typename VertexListGraph, typename AStarHeuristic, typename <a href="AStarVisitor.html">AStarVisitor</a>, typename PredecessorMap, typename CostMap, typename DistanceMap, typename WeightMap, typename <a href="http://www.sgi.com/tech/stl/BinaryPredicate.html">CompareFunction</a>, typename <a href="http://www.sgi.com/tech/stl/BinaryFunction.html">CombineFunction</a>, typename CostInf, typename CostZero&gt; inline void astar_search_tree (const VertexListGraph &amp;g, typename graph_traits&lt;VertexListGraph&gt;::vertex_descriptor s, AStarHeuristic h, AStarVisitor vis, PredecessorMap predecessor, CostMap cost, DistanceMap distance, WeightMap weight, CompareFunction compare, CombineFunction combine, CostInf inf, CostZero zero); <i>// Versions that do not initialize property maps (used for implicit graphs)</i> template &lt;typename IncidenceGraph, typename AStarHeuristic, typename <a href="AStarVisitor.html">AStarVisitor</a>, typename PredecessorMap, typename CostMap, typename DistanceMap, typename WeightMap, typename ColorMap, typename VertexIndexMap, typename <a href="http://www.sgi.com/tech/stl/BinaryPredicate.html">CompareFunction</a>, typename <a href="http://www.sgi.com/tech/stl/BinaryFunction.html">CombineFunction</a>, typename CostInf, typename CostZero&gt; inline void astar_search_no_init (const IncidenceGraph &amp;g, typename graph_traits&lt;IncidenceGraph&gt;::vertex_descriptor s, AStarHeuristic h, AStarVisitor vis, PredecessorMap predecessor, CostMap cost, DistanceMap distance, WeightMap weight, ColorMap color, VertexIndexMap index_map, CompareFunction compare, CombineFunction combine, CostInf inf, CostZero zero); <b>Note that the index_map and color parameters are swapped in astar_search_no_init() relative to astar_search(); the named parameter interfaces are not affected.</b> template &lt;typename IncidenceGraph, typename AStarHeuristic, typename <a href="AStarVisitor.html">AStarVisitor</a>, typename PredecessorMap, typename CostMap, typename DistanceMap, typename WeightMap, typename <a href="http://www.sgi.com/tech/stl/BinaryPredicate.html">CompareFunction</a>, typename <a href="http://www.sgi.com/tech/stl/BinaryFunction.html">CombineFunction</a>, typename CostInf, typename CostZero&gt; inline void astar_search_no_init_tree (const IncidenceGraph &amp;g, typename graph_traits&lt;IncidenceGraph&gt;::vertex_descriptor s, AStarHeuristic h, AStarVisitor vis, PredecessorMap predecessor, CostMap cost, DistanceMap distance, WeightMap weight, CompareFunction compare, CombineFunction combine, CostInf inf, CostZero zero); </PRE> <P> This algorithm implements a heuristic search on a weighted, directed or undirected graph for the case where all edge weights are non-negative. </P> <P> The A* algorithm is a <i>heuristic graph search algorithm</i>: an A* search is "guided" by a <i>heuristic function</i>. A heuristic function <i>h(v)</i> is one which estimates the cost from a non-goal state (<i>v</i>) in the graph to some goal state, <i>g</i>. Intuitively, A* follows paths (through the graph) to the goal that are estimated by the heuristic function to be the best paths. Unlike best-first search, A* takes into account the known cost from the start of the search to <i>v</i>; the paths A* takes are guided by a function <i>f(v) = g(v) + h(v)</i>, where <i>h(v)</i> is the heuristic function, and <i>g(v)</i> (sometimes denoted <i>c(s, v)</i>) is the known cost from the start to <i>v</i>. Clearly, the efficiency of A* is highly dependent on the heuristic function with which it is used. </P> <P> The A* algorithm is very similar to Dijkstra's Shortest Paths algorithm. This implementation finds all the shortest paths from the start vertex to every other vertex by creating a search tree, examining vertices according to their remaining cost to some goal, as estimated by a heuristic function. Most commonly, A* is used to find some specific goal vertex or vertices in a graph, after which the search is terminated. </P> <P> A* is particularly useful for searching <i>implicit</i> graphs. Implicit graphs are graphs that are not completely known at the beginning of the search. Upon visiting a vertex, its neighbors are "generated" and added to the search. Implicit graphs are particularly useful for searching large state spaces -- in game-playing scenarios (e.g. chess), for example -- in which it may not be possible to store the entire graph. Implicit searches can be performed with this implementation of A* by creating special visitors that generate neighbors of newly-expanded vertices. Please note that <tt>astar_search_no_init()</tt> or <tt>astar_search_no_init_tree()</tt> must be used for implicit graphs; the basic <tt>astar_search()</tt> function requires a graph that models the <a href="VertexListGraph.html">Vertex List Graph</a> concept. Both versions also require the graph type to model the <a href="IncidenceGraph.html">Incidence Graph</a> concept. </P> <P> For the non-tree versions of the algorithm, this implementation of A* is based on an OPEN/CLOSED list formulation. Vertices on the OPEN list have been ``discovered'' by the algorithm, but not ``expanded'' (we have not discovered their adjacent vertices). Vertices on the CLOSED list have been completely examined by our search (we have expanded them and added their children to the OPEN list). Vertices that are on neither list have not been encountered in any context so far in our search. A major advantage of this formulation of the A* algorithm over other approaches is that it avoids ``cycles'' in the state space; the search will not become trapped by loops in the graph. The OPEN/CLOSED lists are implemented using BGL's vertex coloring mechanisms. Vertices in OPEN are colored gray, vertices in CLOSED are colored black, and undiscovered vertices are colored white. For the versions of the algorithm whose names end in <tt>_tree</tt>, all vertices are assumed to always be white, leading to checking for repeated vertices being done using the distance map. If a dummy value is used for the distance map and the graph contains cycles, the algorithm will probably enter an infinite loop. </P> <P> The criteria for expanding a vertex on the OPEN list is that it has the lowest <i>f(v) = g(v) + h(v)</i> value of all vertices on OPEN. Cost information about vertices is stored in a property map. </P> <P> The following is the pseudocode for the A* heuristic search algorithm. In the pseudocode, <i>h</i> is the heuristic function, <i>w</i> is the edge weight, <i>d</i> is the distance of a vertex from <i>s</i>, and <i>Q</i> is a priority queue, sorted by <i>f</i>, the estimated cost to the goal of the path through a vertex. <i>p</i> is a predecessor map. The visitor event points for the algorithm are indicated by the labels on the right. </P> <table> <tr> <td valign="top"> <pre> A*(<i>G</i>, <i>s</i>, <i>h</i>) <b>for</b> each vertex <i>u in V</i> <i>d[u] := f[u] := infinity</i> <i>color[u] :=</i> WHITE <i>p[u] := u</i> <b>end for</b> <i>color[s] :=</i> GRAY <i>d[s] := 0</i> <i>f[s] := h(s)</i> INSERT(<i>Q, s</i>) <b>while</b> (<i>Q != &Oslash;</i>) <i>u :=</i> EXTRACT-MIN(<i>Q</i>) <b>for</b> each vertex <i>v in Adj[u]</i> <b>if</b> (<i>w(u,v) + d[u] &lt; d[v]</i>) <i>d[v] := w(u,v) + d[u]</i> <i>f[v] := d[v] + h(v)</i> <i>p[v] := u</i> <b>if</b> (<i>color[v] =</i> WHITE) <i>color[v] :=</i> GRAY INSERT(<i>Q, v</i>) <b>else if</b> (<i>color[v] =</i> BLACK) <i>color[v] :=</i> GRAY INSERT(<i>Q, v</i>) <b>end if</b> <b>else</b> <i>...</i> <b>end for</b> <i>color[u] :=</i> BLACK <b>end while</b> </pre> </td> <td valign="top"> <pre> initialize vertex <i>u</i> discover vertex <i>s</i> examine vertex <i>u</i> examine edge <i>(u,v)</i> edge <i>(u,v)</i> relaxed discover vertex <i>v</i> reopen vertex <i>v</i> edge <i>(u,v)</i> not relaxed finish vertex <i>u</i> </pre> </td> </tr> </table> <h3>Where Defined</h3> <a href="../../../boost/graph/astar_search.hpp"><tt>boost/graph/astar_search.hpp</tt></a> <h3>Parameters</h3> IN: <tt>const VertexListGraph&amp; g</tt> <blockquote> The graph object on which the algorithm will be applied for <tt>astar_search()</tt>. The type <tt>VertexListGraph</tt> must be a model of the <a href="VertexListGraph.html"> Vertex List Graph</a> and <a href="IncidenceGraph.html">Incidence Graph</a> concepts. </blockquote> IN: <tt>const IncidenceGraph&amp; g</tt> <blockquote> The graph object on which the algorithm will be applied for <tt>astar_search_no_init()</tt>. The type <tt>IncidenceGraph</tt> must be a model of the <a href="IncidenceGraph.html">Incidence Graph</a> concept. </blockquote> IN: <tt>vertex_descriptor s</tt> <blockquote> The start vertex for the search. All distances will be calculated from this vertex, and the shortest paths tree (recorded in the predecessor map) will be rooted at this vertex. </blockquote> IN: <tt>AStarHeuristic h</tt> <blockquote> The heuristic function that guides the search. The type <tt>AStarHeuristic</tt> must be a model of the <a href="AStarHeuristic.html">AStarHeuristic</a> concept. </blockquote> <h3>Named Parameters</h3> IN: <tt>weight_map(WeightMap w_map)</tt> <blockquote> The weight or ``length'' of each edge in the graph. The weights must all be non-negative; the algorithm will throw a <a href="./exception.html#negative_edge"><tt>negative_edge</tt></a> exception if one of the edges is negative. The type <tt>WeightMap</tt> must be a model of <a href="../../property_map/doc/ReadablePropertyMap.html"><tt>Readable Property Map</tt></a>. The edge descriptor type of the graph needs to be usable as the key type for the weight map. The value type for this map must be the same as the value type of the distance map.<br> <b>Default:</b> <tt>get(edge\_weight, g)</tt> </blockquote> IN: <tt>vertex_index_map(VertexIndexMap i_map)</tt> <blockquote> This maps each vertex to an integer in the range <tt>[0, num_vertices(g))</tt>. This is necessary in non-tree versions of the algorithm for efficient updates of the heap data structure when an edge is relaxed. The type <tt>VertexIndexMap</tt> must be a model of <a href="../../property_map/doc/ReadablePropertyMap.html"><tt>Readable Property Map</tt></a>. The value type of the map must be an integer type. The vertex descriptor type of the graph needs to be usable as the key type of the map.<br> <b>Default:</b> <tt>get(vertex_index, g)</tt>. Note: if you use this default, make sure your graph has an internal <tt>vertex_index</tt> property. For example, <tt>adjacency_list</tt> with <tt>VertexList=listS</tt> does not have an internal <tt>vertex_index</tt> property. </blockquote> OUT: <tt>predecessor_map(PredecessorMap p_map)</tt> <blockquote> The predecessor map records the edges in the minimum spanning tree. Upon completion of the algorithm, the edges <tt>(p[u],u)</tt> for all <tt>u</tt> in <tt>V</tt> are in the minimum spanning tree. If <tt>p[u] = u</tt> then <tt>u</tt> is either the start vertex or a vertex that is not reachable from the start. The <tt>PredecessorMap</tt> type must be a <a href="../../property_map/doc/ReadWritePropertyMap.html"><tt>Read/Write Property Map</tt></a> with key and vertex types the same as the vertex descriptor type of the graph.<br> <b>Default:</b> <tt>dummy_property_map</tt> </blockquote> UTIL/OUT: <tt>distance_map(DistanceMap d_map)</tt> <blockquote> The shortest path weight from the start vertex <tt>s</tt> to each vertex in the graph <tt>g</tt> is recorded in this property map. The shortest path weight is the sum of the edge weights along the shortest path. The type <tt>DistanceMap</tt> must be a model of <a href="../../property_map/doc/ReadWritePropertyMap.html"><tt>Read/Write Property Map</tt></a>. The vertex descriptor type of the graph needs to be usable as the key type of the distance map. The value type of the distance map is the element type of a <a href="./Monoid.html"><tt>Monoid</tt></a> formed with the <tt>combine</tt> function object and the zero object for the identity element. Also the distance value type must have a <a href="http://www.sgi.com/tech/stl/StrictWeakOrdering.html"><tt>StrictWeakOrdering</tt></a> provided by the <tt>compare</tt> function object. A <tt>constant_writable_property_map</tt> returning the infinity value can be used for this parameter in tree versions of the algorithm when the graph does not contain a directed cycle.<br> <b>Default:</b> <tt>shared_array_property_map</tt> with the same value type as the <tt>WeightMap</tt>, and of size <tt>num_vertices(g)</tt>, and using the <tt>i_map</tt> for the index map. </blockquote> UTIL/OUT: <tt>rank_map(CostMap c_map)</tt> <blockquote> The <i>f</i>-value for each vertex. The <i>f</i>-value is defined as the sum of the cost to get to a vertex from the start vertex, and the estimated cost (as returned by the heuristic function <tt>h</tt>) from the vertex to a goal. The type <tt>CostMap</tt> must be a model of <a href="../../property_map/doc/ReadWritePropertyMap.html"><tt>Read/Write Property Map</tt></a> in non-tree versions of the algorithm, and <a href="../../property_map/doc/WritablePropertyMap.html"><tt>Writable Property Map</tt></a> in tree versions of the algorithm. The vertex descriptor type of the graph needs to be usable as the key type of the distance map. The value type of the distance map is the element type of a <a href="./Monoid.html"><tt>Monoid</tt></a> formed with the <tt>combine</tt> function object and the zero object for the identity element. Also the distance value type must have a <a href="http://www.sgi.com/tech/stl/StrictWeakOrdering.html"><tt>StrictWeakOrdering</tt></a> provided by the <tt>compare</tt> function object. The value type for this map must be the same as the value type for the distance map. In tree versions of the algorithm, <tt>null_property_map</tt> can be used for this parameter.<br> <b>Default:</b> <tt>shared_array_property_map</tt> with the same value type as the <tt>DistanceMap</tt>, and of size <tt>num_vertices(g)</tt>, and using the <tt>i_map</tt> for the index map. </blockquote> UTIL/OUT: <tt>color_map(ColorMap c_map)</tt> <blockquote> This is used during the execution of non-tree versions of the algorithm to mark the vertices, indicating whether they are on the OPEN or CLOSED lists. The vertices start out white and become gray when they are inserted into the OPEN list. They then turn black when they are examined and placed on the CLOSED list. At the end of the algorithm, vertices reachable from the source vertex will have been colored black. All other vertices will still be white. The type <tt>ColorMap</tt> must be a model of <a href="../../property_map/doc/ReadWritePropertyMap.html"><tt>Read/Write Property Map</tt></a>. A vertex descriptor must be usable as the key type of the map, and the value type of the map must be a model of <a href="./ColorValue.html"><tt>Color Value</tt></a>.<br> <b>Default:</b> <tt>shared_array_property_map</tt> of value type <tt>default_color_type</tt>, with size <tt>num_vertices(g)</tt>, and using the <tt>i_map</tt> for the index map. </blockquote> IN: <tt>distance_compare(CompareFunction cmp)</tt> <blockquote> This function is use to compare distances to determine which vertex is closer to the start vertex, and to compare <i>f</i>-values to determine which vertex on the OPEN list to examine next. The <tt>CompareFunction</tt> type must be a model of <a href="http://www.sgi.com/tech/stl/BinaryPredicate.html"><tt>Binary Predicate</tt></a> and have argument types that match the value type of the <tt>DistanceMap</tt> property map.<br> <b>Default:</b> <tt>std::less&lt;D&gt;</tt> with <tt>D = typename property_traits&lt;DistanceMap&gt;::value_type</tt>. </blockquote> IN: <tt>distance_combine(CombineFunction cmb)</tt> <blockquote> This function is used to combine distances to compute the distance of a path, and to combine distance and heuristic values to compute the <i>f</i>-value of a vertex. The <tt>CombineFunction</tt> type must be a model of <a href="http://www.sgi.com/tech/stl/BinaryFunction.html"><tt>Binary Function</tt></a>. Both argument types of the binary function must match the value type of the <tt>DistanceMap</tt> property map (which is the same as that of the <tt>WeightMap</tt> and <tt>CostMap</tt> property maps). The result type must be the same type as the distance value type.<br> <b>Default:</b> <tt>std::plus&lt;D&gt;</tt> with <tt>D = typename property_traits&lt;DistanceMap&gt;::value_type</tt>. </blockquote> IN: <tt>distance_inf(D inf)</tt> <blockquote> The <tt>inf</tt> object must be the greatest value of any <tt>D</tt> object. That is, <tt>compare(d, inf) == true</tt> for any <tt>d != inf</tt>. The type <tt>D</tt> is the value type of the <tt>DistanceMap</tt>.<br> <b>Default:</b> <tt>std::numeric_limits&lt;D&gt;::max()</tt> </blockquote> IN: <tt>distance_zero(D zero)</tt> <blockquote> The <tt>zero</tt> value must be the identity element for the <a href="./Monoid.html"><tt>Monoid</tt></a> formed by the distance values and the <tt>combine</tt> function object. The type <tt>D</tt> is the value type of the <tt>DistanceMap</tt>.<br> <b>Default</b>: <tt>D()</tt> with <tt>D = typename property_traits&lt;DistanceMap&gt;::value_type</tt>. </blockquote> OUT: <tt>visitor(AStarVisitor v)</tt> <blockquote> Use this to specify actions that you would like to happen during certain event points within the algorithm. The type <tt>AStarVisitor</tt> must be a model of the <a href="AStarVisitor.html"><tt>AStarVisitor</tt></a> concept. The visitor object is passed by value <a href="#1">[1]</a>.<br> <b>Default:</b> <tt>astar_visitor&lt;null_visitor&gt;</tt> </blockquote> <H3>Complexity</H3> <P> The time complexity is <i>O((E + V) log V)</i>. <h3>Visitor Event Points</h3> <ul> <li><b><tt>vis.initialize_vertex(u, g)</tt></b> is invoked on each vertex in the graph before the start of the algorithm. <li><b><tt>vis.discover_vertex(v, g)</tt></b> is invoked when a vertex is first discovered and is added to the OPEN list. <li><b><tt>vis.examine_vertex(u, g)</tt></b> is invoked when a vertex is popped from the queue (i.e., it has the lowest cost on the OPEN list). <li><b><tt>vis.examine_edge(e, g)</tt></b> is invoked on each out-edge of a vertex immediately after it is examined. <li><b><tt>vis.edge_relaxed(e, g)</tt></b> is invoked on edge <i>(u,v)</i> if <i>d[u] + w(u,v) &lt; d[v]</i>. <li><b><tt>vis.edge_not_relaxed(e, g)</tt></b> is invoked if the edge is not relaxed (see above). <li><b><tt>vis.black_target(e, g)</tt></b> is invoked when a vertex that is on the CLOSED list is "rediscovered" via a more efficient path, and is re-added to the OPEN list. <li><b><tt>vis.finish_vertex(u, g)</tt></b> is invoked on a vertex when it is added to the CLOSED list, which happens after all of its out edges have been examined. </ul> <H3>Example</H3> <P> See <a href="../example/astar-cities.cpp"> <TT>example/astar-cities.cpp</TT></a> for an example of using A* search. <H3>Notes</H3> <a name="1">[1]</a> Since the visitor parameter is passed by value, if your visitor contains state then any changes to the state during the algorithm will be made to a copy of the visitor object, not the visitor object passed in. Therefore you may want the visitor to hold this state by pointer or reference. <br> <HR> <TABLE> <TR valign=top> <TD nowrap>Copyright &copy; 2004</TD><TD> <A HREF="http://www.cs.rpi.edu/~beevek/">Kristopher Beevers</A>, Rensselaer Polytechnic Institute (<A HREF="mailto:[email protected]">[email protected]</A>) </TD></TR></TABLE> </BODY> </HTML>
flingone/frameworks_base_cmds_remoted
libs/boost/libs/graph/doc/astar_search.html
HTML
apache-2.0
23,817
{% load l10n %} {% comment %} The title field for a page in the page listing, when in 'choose' mode. Expects a variable 'page', the page instance. {% endcomment %} <h2> {% if page.can_choose %} <a class="choose-page" href="#{{ page.id|unlocalize }}" data-id="{{ page.id|unlocalize }}" data-title="{{ page.get_admin_display_title }}" data-url="{{ page.url }}" data-parent-id="{{ page.get_parent.id|unlocalize }}" data-edit-url="{% url 'wagtailadmin_pages:edit' page.id %}">{{ page.get_admin_display_title }}</a> {% else %} {{ page.get_admin_display_title }} {% endif %} {% include "wagtailadmin/pages/listing/_privacy_indicator.html" with page=page %} {% include "wagtailadmin/pages/listing/_locked_indicator.html" with page=page %} </h2>
iansprice/wagtail
wagtail/wagtailadmin/templates/wagtailadmin/pages/listing/_page_title_choose.html
HTML
bsd-3-clause
778
<!DOCTYPE html> <!-- DO NOT EDIT! This test has been generated by /html/canvas/tools/gentest.py. --> <title>OffscreenCanvas test: 2d.fillStyle.parse.css-color-4-rgba-4</title> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="/html/canvas/resources/canvas-tests.js"></script> <h1>2d.fillStyle.parse.css-color-4-rgba-4</h1> <p class="desc"></p> <p class="notes"> <script> var t = async_test(""); var t_pass = t.done.bind(t); var t_fail = t.step_func(function(reason) { throw reason; }); t.step(function() { var offscreenCanvas = new OffscreenCanvas(100, 50); var ctx = offscreenCanvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillStyle = 'rgba(0 255 0)'; ctx.fillRect(0, 0, 100, 50); _assertPixel(offscreenCanvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); t.done(); }); </script>
scheib/chromium
third_party/blink/web_tests/external/wpt/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgba-4.html
HTML
bsd-3-clause
866
<!DOCTYPE html> <svg height="200"> <defs> <use id="rect-external" href="resources/green-rect.svg#rect"/> </defs> <use href="#rect-external"/> </svg>
scheib/chromium
third_party/blink/web_tests/svg/custom/use-nested-external-href.html
HTML
bsd-3-clause
159
{% load i18n %} {% trans "&copy; 2014 &lt;your company here&gt;" %}
gonzalodelgado/yummy
yummy/templates/_footer.html
HTML
mit
69
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>DocStrap Class: ACollector</title> <!--[if lt IE 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <link type="text/css" rel="stylesheet" href="styles/sunlight.default.css"> <link type="text/css" rel="stylesheet" href="styles/site.cosmo.css"> </head> <body> <div class="container-fluid"> <div class="navbar navbar-fixed-top navbar-inverse"> <div class="navbar-inner"> <a class="brand" href="index.html">DocStrap</a> <ul class="nav"> <li class="dropdown"> <a href="modules.list.html" class="dropdown-toggle" data-toggle="dropdown">Modules<b class="caret"></b></a> <ul class="dropdown-menu "> <li> <a href="module-base.html">base</a> </li> <li> <a href="chains_.html">base/chains</a> </li> <li> <a href="binder.html">documents/binder</a> </li> <li> <a href="model_.html">documents/model</a> </li> <li> <a href="probe.html">documents/probe</a> </li> <li> <a href="schema_.html">documents/schema</a> </li> <li> <a href="collector.html">ink/collector</a> </li> <li> <a href="bussable_.html">mixins/bussable</a> </li> <li> <a href="signalable_.html">mixins/signalable</a> </li> <li> <a href="format.html">strings/format</a> </li> <li> <a href="logger.html">utils/logger</a> </li> </ul> </li> <li class="dropdown"> <a href="classes.list.html" class="dropdown-toggle" data-toggle="dropdown">Classes<b class="caret"></b></a> <ul class="dropdown-menu "> <li> <a href="base.html">base</a> </li> <li> <a href="chains.html">base/chains</a> </li> <li> <a href="model.html">documents/model</a> </li> <li> <a href="probe.queryOperators.html">documents/probe.queryOperators</a> </li> <li> <a href="probe.updateOperators.html">documents/probe.updateOperators</a> </li> <li> <a href="collector-ACollector.html">ink/collector~ACollector</a> </li> <li> <a href="collector-CollectorBase_.html">ink/collector~CollectorBase</a> </li> <li> <a href="collector-OCollector.html">ink/collector~OCollector</a> </li> <li> <a href="signalable-Signal.html">mixins/signalable~Signal</a> </li> <li> <a href="logger.Logger.html">utils/logger.Logger</a> </li> </ul> </li> <li class="dropdown"> <a href="mixins.list.html" class="dropdown-toggle" data-toggle="dropdown">Mixins<b class="caret"></b></a> <ul class="dropdown-menu "> <li> <a href="schema.html">documents/schema</a> </li> <li> <a href="bussable.html">mixins/bussable</a> </li> <li> <a href="signalable.html">mixins/signalable</a> </li> </ul> </li> <li class="dropdown"> <a href="tutorials.list.html" class="dropdown-toggle" data-toggle="dropdown">Tutorials<b class="caret"></b></a> <ul class="dropdown-menu "> <li> <a href="tutorial-Teeth.html">Brush Teeth</a> </li> <li> <a href="tutorial-Car.html">Drive Car</a> </li> <li> <a href="tutorial-Test.html">Fence Test</a> </li> </ul> </li> <li class="dropdown"> <a href="global.html" class="dropdown-toggle" data-toggle="dropdown">Global<b class="caret"></b></a> <ul class="dropdown-menu "> <li> <a href="global.html#utils/logger">utils/logger</a> </li> </ul> </li> </ul> </div> </div> <div class="row-fluid"> <div class="span8"> <div id="main"> <h1 class="page-title">Class: ACollector</h1> <section> <header> <h2> <span class="ancestors"><a href="collector.html">ink/collector</a>~</span> ACollector </h2> </header> <article> <div class="container-overview"> <dt> <h4 class="name" id="ACollector"><span class="type-signature"></span>new ACollector<span class="signature">()</span><span class="type-signature"></span></h4> </dt> <dd> <div class="description"> <p>An array based collector</p> </div> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="collector.js.html">documents/collector.js</a>, <a href="collector.js.html#sunlight-1-line-268">line 268</a> </li> </ul> </dd> </dl> </dd> </div> <h3 class="subsection-title">Extends</h3> <ul> <li><a href="collector-CollectorBase.html">module:documents/collector~CollectorBase</a></li> </ul> <h3 class="subsection-title">Members</h3> <dl> <dt class="name" id="length"> <h4><span class="type-signature"></span>length<span class="type-signature"> :number</span></h4> </dt> <dd> <div class="description"> <p>Get the size of the collection</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">number</span> </li> </ul> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"> <ul class="dummy"> <li> <a href="collector-CollectorBase.html#length">module:documents/collector~CollectorBase#length</a> </li> </ul> </dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="collector.js.html">documents/collector.js</a>, <a href="collector.js.html#sunlight-1-line-29">line 29</a> </li> </ul> </dd> </dl> </dd> </dl> <h3 class="subsection-title">Methods</h3> <dl> <dt> <h4 class="name" id="all"><span class="type-signature"></span>all<span class="signature">(qu)</span><span class="type-signature"> &rarr; {boolean}</span></h4> </dt> <dd> <div class="description"> <p>Returns true if all items match the query. Aliases as <code>every</code></p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>qu</code></td> <td class="type"> <span class="param-type">object</span> </td> <td class="description last"><p>The query to execute</p></td> </tr> </tbody> </table> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"> <ul class="dummy"> <li> <a href="collector-CollectorBase.html#all">module:documents/collector~CollectorBase#all</a> </li> </ul> </dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="collector.js.html">documents/collector.js</a>, <a href="collector.js.html#sunlight-1-line-411">line 411</a> </li> </ul> </dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type">boolean</span> </dd> </dl> </dd> <dt> <h4 class="name" id="any"><span class="type-signature"></span>any<span class="signature">(qu)</span><span class="type-signature"> &rarr; {boolean}</span></h4> </dt> <dd> <div class="description"> <p>Returns true if any of the items match the query. Aliases as <code>all</code></p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>qu</code></td> <td class="type"> <span class="param-type">object</span> </td> <td class="description last"><p>The query to execute</p></td> </tr> </tbody> </table> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"> <ul class="dummy"> <li> <a href="collector-CollectorBase.html#any">module:documents/collector~CollectorBase#any</a> </li> </ul> </dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="collector.js.html">documents/collector.js</a>, <a href="collector.js.html#sunlight-1-line-422">line 422</a> </li> </ul> </dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type">boolean</span> </dd> </dl> </dd> <dt> <h4 class="name" id="every"><span class="type-signature"></span>every<span class="signature">(qu)</span><span class="type-signature"> &rarr; {boolean}</span></h4> </dt> <dd> <div class="description"> <p>Returns true if all items match the query. Aliases as <code>all</code></p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>qu</code></td> <td class="type"> <span class="param-type">object</span> </td> <td class="description last"><p>The query to execute</p></td> </tr> </tbody> </table> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"> <ul class="dummy"> <li> <a href="collector-CollectorBase.html#every">module:documents/collector~CollectorBase#every</a> </li> </ul> </dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="collector.js.html">documents/collector.js</a>, <a href="collector.js.html#sunlight-1-line-379">line 379</a> </li> </ul> </dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type">boolean</span> </dd> </dl> </dd> <dt> <h4 class="name" id="find"><span class="type-signature"></span>find<span class="signature">(qu)</span><span class="type-signature"> &rarr; {array}</span></h4> </dt> <dd> <div class="description"> <p>Find all records that match a query</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>qu</code></td> <td class="type"> <span class="param-type">object</span> </td> <td class="description last"><p>The query to execute.</p></td> </tr> </tbody> </table> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"> <ul class="dummy"> <li> <a href="collector-CollectorBase.html#find">module:documents/collector~CollectorBase#find</a> </li> </ul> </dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="collector.js.html">documents/collector.js</a>, <a href="collector.js.html#sunlight-1-line-478">line 478</a> </li> </ul> </dd> </dl> <h5>Returns:</h5> <div class="param-desc"> <p>The results</p> </div> <dl> <dt> Type </dt> <dd> <span class="param-type">array</span> </dd> </dl> </dd> <dt> <h4 class="name" id="findKeys"><span class="type-signature"></span>findKeys<span class="signature">(qu)</span><span class="type-signature"> &rarr; {array}</span></h4> </dt> <dd> <div class="description"> <p>Find all records that match a query and returns the keys for those items. This is similar to module:ink/probe.find but instead of returning records, returns the keys. If <code>obj</code> is an object it will return the hash key. If 'obj' is an array, it will return the index</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>qu</code></td> <td class="type"> <span class="param-type">object</span> </td> <td class="description last"><p>The query to execute.</p></td> </tr> </tbody> </table> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"> <ul class="dummy"> <li> <a href="collector-CollectorBase.html#findKeys">module:documents/collector~CollectorBase#findKeys</a> </li> </ul> </dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="collector.js.html">documents/collector.js</a>, <a href="collector.js.html#sunlight-1-line-466">line 466</a> </li> </ul> </dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type">array</span> </dd> </dl> </dd> <dt> <h4 class="name" id="findOne"><span class="type-signature"></span>findOne<span class="signature">(qu)</span><span class="type-signature"> &rarr; {object}</span></h4> </dt> <dd> <div class="description"> <p>Returns the first record that matches the query. Aliased as <code>seek</code>.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>qu</code></td> <td class="type"> <span class="param-type">object</span> </td> <td class="description last"><p>The query to execute.</p></td> </tr> </tbody> </table> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"> <ul class="dummy"> <li> <a href="collector-CollectorBase.html#findOne">module:documents/collector~CollectorBase#findOne</a> </li> </ul> </dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="collector.js.html">documents/collector.js</a>, <a href="collector.js.html#sunlight-1-line-455">line 455</a> </li> </ul> </dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type">object</span> </dd> </dl> </dd> <dt> <h4 class="name" id="findOneKey"><span class="type-signature"></span>findOneKey<span class="signature">(qu)</span><span class="type-signature"> &rarr; {object}</span></h4> </dt> <dd> <div class="description"> <p>Returns the first record that matches the query and returns its key or index depending on whether <code>obj</code> is an object or array respectively. Aliased as <code>seekKey</code>.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>qu</code></td> <td class="type"> <span class="param-type">object</span> </td> <td class="description last"><p>The query to execute.</p></td> </tr> </tbody> </table> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"> <ul class="dummy"> <li> <a href="collector-CollectorBase.html#findOneKey">module:documents/collector~CollectorBase#findOneKey</a> </li> </ul> </dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="collector.js.html">documents/collector.js</a>, <a href="collector.js.html#sunlight-1-line-443">line 443</a> </li> </ul> </dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type">object</span> </dd> </dl> </dd> <dt> <h4 class="name" id="remove"><span class="type-signature"></span>remove<span class="signature">(qu)</span><span class="type-signature"> &rarr; {object|array}</span></h4> </dt> <dd> <div class="description"> <p>Remove all items in the object/array that match the query</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>qu</code></td> <td class="type"> <span class="param-type">object</span> </td> <td class="description last"><p>The query to execute. See module:ink/probe.queryOperators for the operators you can use.</p></td> </tr> </tbody> </table> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"> <ul class="dummy"> <li> <a href="collector-CollectorBase.html#remove">module:documents/collector~CollectorBase#remove</a> </li> </ul> </dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="collector.js.html">documents/collector.js</a>, <a href="collector.js.html#sunlight-1-line-433">line 433</a> </li> </ul> </dd> </dl> <h5>Returns:</h5> <div class="param-desc"> <p>The array or object as appropriate without the records.</p> </div> <dl> <dt> Type </dt> <dd> <span class="param-type">object</span> | <span class="param-type">array</span> </dd> </dl> </dd> <dt> <h4 class="name" id="some"><span class="type-signature"></span>some<span class="signature">(qu)</span><span class="type-signature"> &rarr; {boolean}</span></h4> </dt> <dd> <div class="description"> <p>Returns true if any of the items match the query. Aliases as <code>any</code></p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>qu</code></td> <td class="type"> <span class="param-type">object</span> </td> <td class="description last"><p>The query to execute</p></td> </tr> </tbody> </table> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"> <ul class="dummy"> <li> <a href="collector-CollectorBase.html#some">module:documents/collector~CollectorBase#some</a> </li> </ul> </dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="collector.js.html">documents/collector.js</a>, <a href="collector.js.html#sunlight-1-line-390">line 390</a> </li> </ul> </dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type">boolean</span> </dd> </dl> </dd> <dt> <h4 class="name" id="unique"><span class="type-signature"></span>unique<span class="signature">(qu)</span><span class="type-signature"> &rarr; {array}</span></h4> </dt> <dd> <div class="description"> <p>Returns the set of unique records that match a query</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>qu</code></td> <td class="type"> <span class="param-type">object</span> </td> <td class="description last"><p>The query to execute.</p></td> </tr> </tbody> </table> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"> <ul class="dummy"> <li> <a href="collector-CollectorBase.html#unique">module:documents/collector~CollectorBase#unique</a> </li> </ul> </dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="collector.js.html">documents/collector.js</a>, <a href="collector.js.html#sunlight-1-line-401">line 401</a> </li> </ul> </dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type">array</span> </dd> </dl> </dd> <dt> <h4 class="name" id="update"><span class="type-signature"></span>update<span class="signature">(qu, setDocument)</span><span class="type-signature"></span></h4> </dt> <dd> <div class="description"> <p>Updates all records in obj that match the query. See module:ink/probe.updateOperators for the operators that are supported.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>qu</code></td> <td class="type"> <span class="param-type">object</span> </td> <td class="description last"><p>The query which will be used to identify the records to updated</p></td> </tr> <tr> <td class="name"><code>setDocument</code></td> <td class="type"> <span class="param-type">object</span> </td> <td class="description last"><p>The update operator. See module:ink/probe.updateOperators</p></td> </tr> </tbody> </table> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"> <ul class="dummy"> <li> <a href="collector-CollectorBase.html#update">module:documents/collector~CollectorBase#update</a> </li> </ul> </dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="collector.js.html">documents/collector.js</a>, <a href="collector.js.html#sunlight-1-line-488">line 488</a> </li> </ul> </dd> </dl> </dd> </dl> </article> </section> </div> <div class="clearfix"></div> <footer> <span class="copyright"> DocStrap Copyright © 2012-2013 The contributors to the JSDoc3 and DocStrap projects. </span> <br /> <span class="jsdoc-message"> Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-alpha5</a> on Mon Jul 7th 2014 using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>. </span> </footer> </div> <div class="span3"> <div id="toc"></div> </div> <br clear="both"> </div> </div> <!--<script src="scripts/sunlight.js"></script>--> <script src="scripts/docstrap.lib.js"></script> <script src="scripts/bootstrap-dropdown.js"></script> <script src="scripts/toc.js"></script> <script> $( function () { $( "[id*='$']" ).each( function () { var $this = $( this ); $this.attr( "id", $this.attr( "id" ).replace( "$", "__" ) ); } ); $( "#toc" ).toc( { anchorName : function ( i, heading, prefix ) { return $( heading ).attr( "id" ) || ( prefix + i ); }, selectors : "h1,h2,h3,h4", showAndHide : false, scrollTo : "100px" } ); $( "#toc>ul" ).addClass( "nav nav-pills nav-stacked" ); $( "#main span[id^='toc']" ).addClass( "toc-shim" ); $( '.dropdown-toggle' ).dropdown(); // $( ".tutorial-section pre, .readme-section pre" ).addClass( "sunlight-highlight-javascript" ).addClass( "linenums" ); $( ".tutorial-section pre, .readme-section pre" ).each( function () { var $this = $( this ); var example = $this.find( "code" ); exampleText = example.html(); var lang = /{@lang (.*?)}/.exec( exampleText ); if ( lang && lang[1] ) { exampleText = exampleText.replace( lang[0], "" ); example.html( exampleText ); lang = lang[1]; } else { lang = "javascript"; } if ( lang ) { $this .addClass( "sunlight-highlight-" + lang ) .addClass( "linenums" ) .html( example.html() ); } } ); Sunlight.highlightAll( { lineNumbers : true, showMenu : true, enableDoclinks : true } ); } ); </script> <!--Navigation and Symbol Display--> <!--Google Analytics--> </body> </html>
spark-developer/custom-docstrap
themes/spark/collector-ACollector.html
HTML
apache-2.0
30,516
<HTML> <BODY BGCOLOR="white"> <PRE> <FONT color="green">001</FONT> /**<a name="line.1"></a> <FONT color="green">002</FONT> * Licensed to the Apache Software Foundation (ASF) under one<a name="line.2"></a> <FONT color="green">003</FONT> * or more contributor license agreements. See the NOTICE file<a name="line.3"></a> <FONT color="green">004</FONT> * distributed with this work for additional information<a name="line.4"></a> <FONT color="green">005</FONT> * regarding copyright ownership. The ASF licenses this file<a name="line.5"></a> <FONT color="green">006</FONT> * to you under the Apache License, Version 2.0 (the<a name="line.6"></a> <FONT color="green">007</FONT> * "License"); you may not use this file except in compliance<a name="line.7"></a> <FONT color="green">008</FONT> * with the License. You may obtain a copy of the License at<a name="line.8"></a> <FONT color="green">009</FONT> *<a name="line.9"></a> <FONT color="green">010</FONT> * http://www.apache.org/licenses/LICENSE-2.0<a name="line.10"></a> <FONT color="green">011</FONT> *<a name="line.11"></a> <FONT color="green">012</FONT> * Unless required by applicable law or agreed to in writing, software<a name="line.12"></a> <FONT color="green">013</FONT> * distributed under the License is distributed on an "AS IS" BASIS,<a name="line.13"></a> <FONT color="green">014</FONT> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<a name="line.14"></a> <FONT color="green">015</FONT> * See the License for the specific language governing permissions and<a name="line.15"></a> <FONT color="green">016</FONT> * limitations under the License.<a name="line.16"></a> <FONT color="green">017</FONT> */<a name="line.17"></a> <FONT color="green">018</FONT> package org.apache.hadoop.mapred.lib;<a name="line.18"></a> <FONT color="green">019</FONT> <a name="line.19"></a> <FONT color="green">020</FONT> import java.util.Collections;<a name="line.20"></a> <FONT color="green">021</FONT> import java.util.HashMap;<a name="line.21"></a> <FONT color="green">022</FONT> import java.util.Map;<a name="line.22"></a> <FONT color="green">023</FONT> <a name="line.23"></a> <FONT color="green">024</FONT> import org.apache.hadoop.classification.InterfaceAudience;<a name="line.24"></a> <FONT color="green">025</FONT> import org.apache.hadoop.classification.InterfaceStability;<a name="line.25"></a> <FONT color="green">026</FONT> import org.apache.hadoop.fs.Path;<a name="line.26"></a> <FONT color="green">027</FONT> import org.apache.hadoop.mapred.InputFormat;<a name="line.27"></a> <FONT color="green">028</FONT> import org.apache.hadoop.mapred.JobConf;<a name="line.28"></a> <FONT color="green">029</FONT> import org.apache.hadoop.mapred.Mapper;<a name="line.29"></a> <FONT color="green">030</FONT> import org.apache.hadoop.util.ReflectionUtils;<a name="line.30"></a> <FONT color="green">031</FONT> <a name="line.31"></a> <FONT color="green">032</FONT> /**<a name="line.32"></a> <FONT color="green">033</FONT> * This class supports MapReduce jobs that have multiple input paths with<a name="line.33"></a> <FONT color="green">034</FONT> * a different {@link InputFormat} and {@link Mapper} for each path <a name="line.34"></a> <FONT color="green">035</FONT> */<a name="line.35"></a> <FONT color="green">036</FONT> @InterfaceAudience.Public<a name="line.36"></a> <FONT color="green">037</FONT> @InterfaceStability.Stable<a name="line.37"></a> <FONT color="green">038</FONT> public class MultipleInputs {<a name="line.38"></a> <FONT color="green">039</FONT> /**<a name="line.39"></a> <FONT color="green">040</FONT> * Add a {@link Path} with a custom {@link InputFormat} to the list of<a name="line.40"></a> <FONT color="green">041</FONT> * inputs for the map-reduce job.<a name="line.41"></a> <FONT color="green">042</FONT> * <a name="line.42"></a> <FONT color="green">043</FONT> * @param conf The configuration of the job<a name="line.43"></a> <FONT color="green">044</FONT> * @param path {@link Path} to be added to the list of inputs for the job<a name="line.44"></a> <FONT color="green">045</FONT> * @param inputFormatClass {@link InputFormat} class to use for this path<a name="line.45"></a> <FONT color="green">046</FONT> */<a name="line.46"></a> <FONT color="green">047</FONT> public static void addInputPath(JobConf conf, Path path,<a name="line.47"></a> <FONT color="green">048</FONT> Class&lt;? extends InputFormat&gt; inputFormatClass) {<a name="line.48"></a> <FONT color="green">049</FONT> <a name="line.49"></a> <FONT color="green">050</FONT> String inputFormatMapping = path.toString() + ";"<a name="line.50"></a> <FONT color="green">051</FONT> + inputFormatClass.getName();<a name="line.51"></a> <FONT color="green">052</FONT> String inputFormats = conf.get("mapreduce.input.multipleinputs.dir.formats");<a name="line.52"></a> <FONT color="green">053</FONT> conf.set("mapreduce.input.multipleinputs.dir.formats",<a name="line.53"></a> <FONT color="green">054</FONT> inputFormats == null ? inputFormatMapping : inputFormats + ","<a name="line.54"></a> <FONT color="green">055</FONT> + inputFormatMapping);<a name="line.55"></a> <FONT color="green">056</FONT> <a name="line.56"></a> <FONT color="green">057</FONT> conf.setInputFormat(DelegatingInputFormat.class);<a name="line.57"></a> <FONT color="green">058</FONT> }<a name="line.58"></a> <FONT color="green">059</FONT> <a name="line.59"></a> <FONT color="green">060</FONT> /**<a name="line.60"></a> <FONT color="green">061</FONT> * Add a {@link Path} with a custom {@link InputFormat} and<a name="line.61"></a> <FONT color="green">062</FONT> * {@link Mapper} to the list of inputs for the map-reduce job.<a name="line.62"></a> <FONT color="green">063</FONT> * <a name="line.63"></a> <FONT color="green">064</FONT> * @param conf The configuration of the job<a name="line.64"></a> <FONT color="green">065</FONT> * @param path {@link Path} to be added to the list of inputs for the job<a name="line.65"></a> <FONT color="green">066</FONT> * @param inputFormatClass {@link InputFormat} class to use for this path<a name="line.66"></a> <FONT color="green">067</FONT> * @param mapperClass {@link Mapper} class to use for this path<a name="line.67"></a> <FONT color="green">068</FONT> */<a name="line.68"></a> <FONT color="green">069</FONT> public static void addInputPath(JobConf conf, Path path,<a name="line.69"></a> <FONT color="green">070</FONT> Class&lt;? extends InputFormat&gt; inputFormatClass,<a name="line.70"></a> <FONT color="green">071</FONT> Class&lt;? extends Mapper&gt; mapperClass) {<a name="line.71"></a> <FONT color="green">072</FONT> <a name="line.72"></a> <FONT color="green">073</FONT> addInputPath(conf, path, inputFormatClass);<a name="line.73"></a> <FONT color="green">074</FONT> <a name="line.74"></a> <FONT color="green">075</FONT> String mapperMapping = path.toString() + ";" + mapperClass.getName();<a name="line.75"></a> <FONT color="green">076</FONT> String mappers = conf.get("mapreduce.input.multipleinputs.dir.mappers");<a name="line.76"></a> <FONT color="green">077</FONT> conf.set("mapreduce.input.multipleinputs.dir.mappers", mappers == null ? mapperMapping<a name="line.77"></a> <FONT color="green">078</FONT> : mappers + "," + mapperMapping);<a name="line.78"></a> <FONT color="green">079</FONT> <a name="line.79"></a> <FONT color="green">080</FONT> conf.setMapperClass(DelegatingMapper.class);<a name="line.80"></a> <FONT color="green">081</FONT> }<a name="line.81"></a> <FONT color="green">082</FONT> <a name="line.82"></a> <FONT color="green">083</FONT> /**<a name="line.83"></a> <FONT color="green">084</FONT> * Retrieves a map of {@link Path}s to the {@link InputFormat} class<a name="line.84"></a> <FONT color="green">085</FONT> * that should be used for them.<a name="line.85"></a> <FONT color="green">086</FONT> * <a name="line.86"></a> <FONT color="green">087</FONT> * @param conf The confuration of the job<a name="line.87"></a> <FONT color="green">088</FONT> * @see #addInputPath(JobConf, Path, Class)<a name="line.88"></a> <FONT color="green">089</FONT> * @return A map of paths to inputformats for the job<a name="line.89"></a> <FONT color="green">090</FONT> */<a name="line.90"></a> <FONT color="green">091</FONT> static Map&lt;Path, InputFormat&gt; getInputFormatMap(JobConf conf) {<a name="line.91"></a> <FONT color="green">092</FONT> Map&lt;Path, InputFormat&gt; m = new HashMap&lt;Path, InputFormat&gt;();<a name="line.92"></a> <FONT color="green">093</FONT> String[] pathMappings = conf.get("mapreduce.input.multipleinputs.dir.formats").split(",");<a name="line.93"></a> <FONT color="green">094</FONT> for (String pathMapping : pathMappings) {<a name="line.94"></a> <FONT color="green">095</FONT> String[] split = pathMapping.split(";");<a name="line.95"></a> <FONT color="green">096</FONT> InputFormat inputFormat;<a name="line.96"></a> <FONT color="green">097</FONT> try {<a name="line.97"></a> <FONT color="green">098</FONT> inputFormat = (InputFormat) ReflectionUtils.newInstance(conf<a name="line.98"></a> <FONT color="green">099</FONT> .getClassByName(split[1]), conf);<a name="line.99"></a> <FONT color="green">100</FONT> } catch (ClassNotFoundException e) {<a name="line.100"></a> <FONT color="green">101</FONT> throw new RuntimeException(e);<a name="line.101"></a> <FONT color="green">102</FONT> }<a name="line.102"></a> <FONT color="green">103</FONT> m.put(new Path(split[0]), inputFormat);<a name="line.103"></a> <FONT color="green">104</FONT> }<a name="line.104"></a> <FONT color="green">105</FONT> return m;<a name="line.105"></a> <FONT color="green">106</FONT> }<a name="line.106"></a> <FONT color="green">107</FONT> <a name="line.107"></a> <FONT color="green">108</FONT> /**<a name="line.108"></a> <FONT color="green">109</FONT> * Retrieves a map of {@link Path}s to the {@link Mapper} class that<a name="line.109"></a> <FONT color="green">110</FONT> * should be used for them.<a name="line.110"></a> <FONT color="green">111</FONT> * <a name="line.111"></a> <FONT color="green">112</FONT> * @param conf The confuration of the job<a name="line.112"></a> <FONT color="green">113</FONT> * @see #addInputPath(JobConf, Path, Class, Class)<a name="line.113"></a> <FONT color="green">114</FONT> * @return A map of paths to mappers for the job<a name="line.114"></a> <FONT color="green">115</FONT> */<a name="line.115"></a> <FONT color="green">116</FONT> @SuppressWarnings("unchecked")<a name="line.116"></a> <FONT color="green">117</FONT> static Map&lt;Path, Class&lt;? extends Mapper&gt;&gt; getMapperTypeMap(JobConf conf) {<a name="line.117"></a> <FONT color="green">118</FONT> if (conf.get("mapreduce.input.multipleinputs.dir.mappers") == null) {<a name="line.118"></a> <FONT color="green">119</FONT> return Collections.emptyMap();<a name="line.119"></a> <FONT color="green">120</FONT> }<a name="line.120"></a> <FONT color="green">121</FONT> Map&lt;Path, Class&lt;? extends Mapper&gt;&gt; m = new HashMap&lt;Path, Class&lt;? extends Mapper&gt;&gt;();<a name="line.121"></a> <FONT color="green">122</FONT> String[] pathMappings = conf.get("mapreduce.input.multipleinputs.dir.mappers").split(",");<a name="line.122"></a> <FONT color="green">123</FONT> for (String pathMapping : pathMappings) {<a name="line.123"></a> <FONT color="green">124</FONT> String[] split = pathMapping.split(";");<a name="line.124"></a> <FONT color="green">125</FONT> Class&lt;? extends Mapper&gt; mapClass;<a name="line.125"></a> <FONT color="green">126</FONT> try {<a name="line.126"></a> <FONT color="green">127</FONT> mapClass = (Class&lt;? extends Mapper&gt;) conf.getClassByName(split[1]);<a name="line.127"></a> <FONT color="green">128</FONT> } catch (ClassNotFoundException e) {<a name="line.128"></a> <FONT color="green">129</FONT> throw new RuntimeException(e);<a name="line.129"></a> <FONT color="green">130</FONT> }<a name="line.130"></a> <FONT color="green">131</FONT> m.put(new Path(split[0]), mapClass);<a name="line.131"></a> <FONT color="green">132</FONT> }<a name="line.132"></a> <FONT color="green">133</FONT> return m;<a name="line.133"></a> <FONT color="green">134</FONT> }<a name="line.134"></a> <FONT color="green">135</FONT> }<a name="line.135"></a> </PRE> </BODY> </HTML>
SAT-Hadoop/hadoop-2.6.0
share/doc/hadoop/api/src-html/org/apache/hadoop/mapred/lib/MultipleInputs.html
HTML
apache-2.0
13,028
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> <meta name="description" content="Draw a rectangle on the globe surface"> <meta name="cesium-sandcastle-labels" content="Development"> <title>Cesium Demo</title> <script type="text/javascript" src="../Sandcastle-header.js"></script> <script type="text/javascript" src="../../../ThirdParty/requirejs-2.1.20/require.js"></script> <script type="text/javascript"> require.config({ baseUrl : '../../../Source', waitSeconds : 60 }); </script> </head> <body class="sandcastle-loading" data-sandcastle-bucket="bucket-requirejs.html"> <style> @import url(../templates/bucket.css); </style> <div id="cesiumContainer" class="fullSize"></div> <div id="loadingOverlay"><h1>Loading...</h1></div> <div id="toolbar"></div> <script id="cesium_sandcastle_script"> function startup(Cesium) { 'use strict'; //Sandcastle_Begin // Create the viewer. var viewer = new Cesium.Viewer('cesiumContainer'); var scene = viewer.scene; // Example 1: Draw a red rectangle on the globe surface. var redRectangleInstance = new Cesium.GeometryInstance({ geometry : new Cesium.RectangleGeometry({ rectangle : Cesium.Rectangle.fromDegrees(-110.0, 20.0, -80.0, 25.0), vertexFormat : Cesium.PerInstanceColorAppearance.VERTEX_FORMAT }), attributes: { color: Cesium.ColorGeometryInstanceAttribute.fromColor(new Cesium.Color(1.0, 0.0, 0.0, 0.5)) } }); // Example 2: Draw a green extruded rectangle. // The extrudedHeight option is used to set the height of the // extruded side. The height option is used to specify the distnace // from the globe surface to the rectangle. The rotation // option can also be used to rotate the rectangle. var greenRectangleInstance = new Cesium.GeometryInstance({ geometry : new Cesium.RectangleGeometry({ rectangle : Cesium.Rectangle.fromDegrees(-100.0, 30.0, -90.0, 40.0), rotation : Cesium.Math.toRadians(45), extrudedHeight : 300000.0, height : 100000.0, vertexFormat : Cesium.PerInstanceColorAppearance.VERTEX_FORMAT }), attributes: { color: Cesium.ColorGeometryInstanceAttribute.fromColor(new Cesium.Color(0.0, 1.0, 0.0, 0.5)) } }); // Add both rectangle instances to primitives scene.primitives.add(new Cesium.Primitive({ geometryInstances : [redRectangleInstance, greenRectangleInstance], appearance : new Cesium.PerInstanceColorAppearance({ closed : true }) })); //Sandcastle_End Sandcastle.finishedLoading(); } if (typeof Cesium !== "undefined") { startup(Cesium); } else if (typeof require === "function") { require(["Cesium"], startup); } </script> </body> </html>
coderFirework/app
js/Cesium-Tiles/Apps/Sandcastle/gallery/development/Rectangle.html
HTML
mit
2,920
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>JsUnit test page for file xmltoken.js of goog-ajaxslt</title> <script language="JavaScript" type="text/javascript" src="jsunit/app/jsUnitCore.js"></script> <script language="JavaScript" type="text/javascript" src="xmltoken.js"></script> <script language="JavaScript" type="text/javascript" src="xmltoken_unittest.js"></script> </head> <body> JsUnit test page for file xmltoken.js of goog-ajaxslt. </body> </html>
generaltso/ajaxslt
xmltoken_unittest.html
HTML
bsd-3-clause
584
<!-- Copyright (c) 2012 The WebM project authors. All Rights Reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file in the root of the source tree. An additional intellectual property rights grant can be found in the file PATENTS. All contributing project authors may be found in the AUTHORS file in the root of the source tree. --> <html> <head> <title>WebM Dash Manifest test</title> <script type="text/javascript" src="../shared/http.js"> </script> <script type="text/javascript" src="../shared/utils.js"> </script> <script type="text/javascript" src="../shared/webm_parser.js"> </script> <script type="text/javascript" src="../shared/webm_utils.js"> </script> <script type="text/javascript" src="bandwidth.js"> </script> <script type="text/javascript" src="bandwidth_manager.js"> </script> <script type="text/javascript" src="dash_parser.js"> </script> <script type="text/javascript"> var mediaSourceObjectAvailable = false; try { if (!window.MediaSource) window.MediaSource = window.WebKitMediaSource; var testMediaSource = new MediaSource(); includeScript('dash_player.js'); mediaSourceObjectAvailable = true; } catch (e) { // This file uses a deprecated version (<= v0.5) of the MSE spec, do not use. includeScript('dash_player_deprecated.js'); } </script> <script type="text/javascript"> // Global variables var wmp = null; var renderChunkGraph = true; /** * List of chunk objects that have not been rendered. * @type {Array.<Object>} */ var graphChunkData = []; /** * Flag telling if the background graph data has been rendered. * @type {boolean} */ var clearChunkDrawBackground = true; // Sets a manager that controls all the downloads using XMLHttpRequests. var bandwidthManager = new BandwidthManager(log); /** * Logging function. * @param {string} str String to be logged. */ function log(str) { console.log(str); } /** * Function called when page is loaded. */ function onPageLoad() { log('onPageLoad()'); // Extract the 'url' parameter from the document URL. var regex = new RegExp('[\\?&]url=([^&#]*)'); var results = regex.exec(window.location.href); if (results == null) return; var url = results[1]; // Assign to the input field. var u = document.getElementById('u'); u.value = url; // Set the kbps. var kbps = document.getElementById('kbps'); kbps.value = bandwidthManager.getDownloadKilobitsPerSecond() + ''; } function onStartClick() { var u = document.getElementById('u'); var url = u.value; if (url == null || url.length == 0) { log('Need a URL in the text box.'); return; } var pattern = /\.([0-9a-z]+)(?:[\?#]|$)/i; var ext = url.match(pattern); if (!ext) { log('Could not extract extension!'); return; } var videoTag = document.getElementById('v'); if (!videoTag.webkitMediaSourceURL && !mediaSourceObjectAvailable) { var str = 'Video tag does not have Media Source API support!'; log(str); alert(str + '\n\n' + 'To run the demo you must have Chrome or Chromium version 17+' + ' and enable the following feature in chrome://flags\n\n' + 'Enable Media Source API on <video> elements\n'); return; } wmp = new DashPlayer(url, videoTag, bandwidthManager, log); if (!wmp) { log('Could not create DashPlayer!'); return; } var versions = document.getElementById('versions'); versions.innerHTML = DashPlayer.versionStringsHTML(); videoTag.controls = true; if (renderChunkGraph) { wmp.setEventListener('chunk_download', onChunkDownload); videoTag.addEventListener('seeking', onSeeking); window.setTimeout(statusFunc, 250); } } function onSetMaxKbpsVideo() { var kbps = parseInt(document.getElementById('kbps').value); if (kbps > 0) bandwidthManager.setDownloadKilobitsPerSecond(kbps); } function statusFunc() { drawChunkGraph(); if (renderChunkGraph) window.setTimeout(statusFunc, 250); } function drawChunkGraph() { var canvas = document.getElementById('chunkgraph'); var c = canvas.getContext('2d'); var x = 0; var y = 0; var w = canvas.width; var h = canvas.height; onChunkDraw(c, x, y, w, h); } function onToggleChunkClick() { var button = document.getElementById('toggleChunk'); var canvas = document.getElementById('chunkgraph'); if (button.value == 'Show Chunk Graph') { renderChunkGraph = true; canvas.style.display = 'block'; button.value = 'Hide Chunk Graph'; if (wmp) { wmp.setEventListener('chunk_download', onChunkDownload); document.getElementById('v').addEventListener('seeking', onSeeking); window.setTimeout(statusFunc, 250); } } else { if (wmp) { wmp.removeEventListener('chunk_download'); document.getElementById('v').removeEventListener('seeking', onSeeking); graphChunkData = []; } renderChunkGraph = false; canvas.style.display = 'none'; button.value = 'Show Chunk Graph'; } } function onChunkDownload(data) { // Only render the video stream. if (data['type'] == 'video') { graphChunkData.push(data); } } function onSeeking() { clearChunkDrawBackground = true; } function onMediaError(e) { alert('Encountered MediaError ' + e.target.error.code); } /** * Renders chunks downloaded by stream and duration to a canvas. * @param {Canvas} c The canvas for rendering. * @param {number} x The left most position on the canvas for rendering. * @param {number} y The top most position on the canvas for rendering. * @param {number} w The width on the canvas for rendering starting from x. * @param {number} h The height on the canvas for rendering starting from y. */ function onChunkDraw(c, x, y, w, h) { if (graphChunkData.length == 0 || !wmp) return; var as = wmp.getVideoAdaptationSet(); if (!as) return; if (clearChunkDrawBackground) { c.clearRect(x, y, w, h); c.beginPath(); c.font = '10pt Arial'; var totalRows = as.representationList.length; // Check if all of the Representations have an index. We want to display // the average bandwidth of the video stream on the y-axis. var outputAverageBandwidth = true; for (var i = 0; i < totalRows; ++i) { var representation = as.representationList[i]; if (!representation.indexRange()) { outputAverageBandwidth = false; break; } } var rowHeight = h / (totalRows * 2); for (var i = 0; i < totalRows; ++i) { c.fillStyle = 'red'; c.fillRect(x + 40, ((i * 2) * rowHeight) + y, w - 40, rowHeight); c.fillStyle = 'black'; var index = totalRows - 1 - i; var representation = as.representationList[index]; var kbps = 0; var duration = as.getDuration(); if (outputAverageBandwidth && duration) { var seekIndex = representation.indexRange(); kbps = (seekIndex[1] / 125) / duration; } else { kbps = representation.bandwidth / 1000; } c.fillText(kbps.toFixed() + '', x, (((i * 2) + 1) * rowHeight) + y + 1); } clearChunkDrawBackground = false; } x += 40; w -= 40; var l = graphChunkData.length; if (l > 0) { var duration = as.getDuration(); if (duration == 0) return; var mediaListLength = as.representationList.length; c.beginPath(); c.fillStyle = 'green'; for (var i = 0; i < l; ++i) { var node = graphChunkData.shift(); var index = -1; // find index for (var j = 0; j < mediaListLength; ++j) { if (node.id == as.representationList[j].id) { index = mediaListLength - 1 - j; break; } } var endTime = node.endTime; if (endTime == -1) endTime = duration; var totalRows = as.representationList.length * 2; var rowHeight = h / totalRows; var left = ((node.time / duration) * w) + x; var right = ((endTime - node.time) / duration) * w; var top = index * 2 * rowHeight; var bottom = rowHeight; c.fillRect(left, top, right, bottom); } } } addPageLoadEvent(onPageLoad); </script> </head> <body> <input id="u" type="text" size="80" /><input type="button" value="Start" onClick="onStartClick();"><br/> <video id="v" autoplay onerror="onMediaError(event)"> </video> <hr> <canvas id="chunkgraph" width="800" height="100"> Chunk Graph </canvas> <hr> <input id="toggleChunk" type="button" value="Hide Chunk Graph" onClick="onToggleChunkClick();"> Max kbps video<input id="kbps" type="text" size="10" value="1000" /><input type="button" value="Set" onClick="onSetMaxKbpsVideo();"><br/> <div id="versions"></div> </body> </html>
kleopatra999/webm.webm-dash-javascript
adaptive/dash-player.html
HTML
bsd-3-clause
8,719
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <meta name="description" content=""> <meta name="author" content=""> <link rel="icon" href="../../favicon.ico"> <title>Sticky Footer Navbar Template for Bootstrap</title> <!-- Bootstrap core CSS --> <link href="../../dist/css/bootstrap.min.css" rel="stylesheet"> <!-- Custom styles for this template --> <link href="sticky-footer-navbar.css" rel="stylesheet"> <!-- Just for debugging purposes. Don't actually copy these 2 lines! --> <!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]--> <script src="../../assets/js/ie-emulation-modes-warning.js"></script> <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head> <body> <!-- Fixed navbar --> <nav class="navbar navbar-default navbar-fixed-top"> <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="#">Project name</a> </div> <div id="navbar" class="collapse navbar-collapse"> <ul class="nav navbar-nav"> <li class="active"><a href="#">Home</a></li> <li><a href="#about">About</a></li> <li><a href="#contact">Contact</a></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Dropdown <span class="caret"></span></a> <ul class="dropdown-menu" role="menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li class="dropdown-header">Nav header</li> <li><a href="#">Separated link</a></li> <li><a href="#">One more separated link</a></li> </ul> </li> </ul> </div><!--/.nav-collapse --> </div> </nav> <!-- Begin page content --> <div class="container"> <div class="page-header"> <h1>Sticky footer with fixed navbar</h1> </div> <p class="lead">Pin a fixed-height footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS. A fixed navbar has been added with <code>padding-top: 60px;</code> on the <code>body > .container</code>.</p> <p>Back to <a href="../sticky-footer">the default sticky footer</a> minus the navbar.</p> </div> <footer class="footer"> <div class="container"> <p class="text-muted">Place sticky footer content here.</p> </div> </footer> <!-- Bootstrap core JavaScript ================================================== --> <!-- Placed at the end of the document so the pages load faster --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script src="../../dist/js/bootstrap.min.js"></script> <!-- IE10 viewport hack for Surface/desktop Windows 8 bug --> <script src="../../assets/js/ie10-viewport-bug-workaround.js"></script> </body> </html>
lynxtdc/merritt
public/assets/vendors/tags/bower_components/bootstrap/docs/examples/sticky-footer-navbar/index.html
HTML
mit
4,006
<!DOCTYPE HTML> <html> <head> <link rel="stylesheet" type="text/css" href="../../../funcunit/qunit/qunit.css" /> <title>sort QUnit Test</title> <script type='text/javascript' src='../../../steal/steal.js'></script> </head> <body> <h1 id="qunit-header">sort Test Suite</h1> <h2 id="qunit-banner"></h2> <div id="qunit-testrunner-toolbar"></div> <h2 id="qunit-userAgent"></h2> <div id="test-content"></div> <ol id="qunit-tests"></ol> <div id="qunit-test-area"></div> <script type='text/javascript'> steal('funcunit/qunit','can/observe/sort') .then('can/observe/sort/sort_test.js') </script> </body> </html>
willametteuniversity/webcirc2
static/can/observe/sort/qunit.html
HTML
apache-2.0
696
<!DOCTYPE html> <script src="../../resources/run-after-layout-and-paint.js"></script> <style> #scroller { background: gray local; border: 10px solid green; overflow: scroll; width: 200px; height: 200px; will-change: transform; } #spacer { height: 500px; } </style> <!-- Test that the background is correctly repainted when the scrolled content grows in size. --> <div id="scroller"> <div id="spacer"></div> <p>Text content</p> </div> <script> if (window.testRunner) testRunner.waitUntilDone(); onload = runAfterLayoutAndPaint(function() { scroller.scrollTop = 500; if (window.testRunner) testRunner.notifyDone(); }); </script>
nwjs/chromium.src
third_party/blink/web_tests/fast/scroll-behavior/overflow-scroll-with-local-background-and-text.html
HTML
bsd-3-clause
689
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html> <head> <script src="resources/SVGTestCase.js"></script> <script src="../../resources/js-test.js"></script> <script src="../../paint/invalidation/resources/text-based-repaint.js"></script> </head> <body onload="runRepaintTest()"> <h1>SVG 1.1 dynamic update tests</h1> <p id="description"></p> <div id="console"></div> <script src="script-tests/SVGMaskElement-dom-width-attr.js"></script> </body> </html>
chromium/chromium
third_party/blink/web_tests/svg/dynamic-updates/SVGMaskElement-dom-width-attr.html
HTML
bsd-3-clause
457
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="robots" content="index, follow, all" /> <title>Thelia\Model\Breadcrumb\BrandBreadcrumbTrait | Thelia 2 API</title> <link rel="stylesheet" type="text/css" href="../../../css/bootstrap.min.css"> <link rel="stylesheet" type="text/css" href="../../../css/bootstrap-theme.min.css"> <link rel="stylesheet" type="text/css" href="../../../css/sami.css"> <script src="../../../js/jquery-1.11.1.min.js"></script> <script src="../../../js/bootstrap.min.js"></script> <script src="../../../js/typeahead.min.js"></script> <script src="../../../sami.js"></script> <meta name="MobileOptimized" content="width"> <meta name="HandheldFriendly" content="true"> <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"> </head> <body id="class" data-name="class:Thelia_Model_Breadcrumb_BrandBreadcrumbTrait" data-root-path="../../../"> <div id="content"> <div id="left-column"> <div id="control-panel"> <form id="search-form" action="../../../search.html" method="GET"> <span class="glyphicon glyphicon-search"></span> <input name="search" class="typeahead form-control" type="search" placeholder="Search"> </form> </div> <div id="api-tree"></div> </div> <div id="right-column"> <nav id="site-nav" class="navbar navbar-default" role="navigation"> <div class="container-fluid"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-elements"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="../../../index.html">Thelia 2 API</a> </div> <div class="collapse navbar-collapse" id="navbar-elements"> <ul class="nav navbar-nav"> <li><a href="../../../classes.html">Classes</a></li> <li><a href="../../../namespaces.html">Namespaces</a></li> <li><a href="../../../interfaces.html">Interfaces</a></li> <li><a href="../../../traits.html">Traits</a></li> <li><a href="../../../doc-index.html">Index</a></li> <li><a href="../../../search.html">Search</a></li> </ul> </div> </div> </nav> <div class="namespace-breadcrumbs"> <ol class="breadcrumb"> <li><span class="label label-default">trait</span></li> <li><a href="../../../Thelia.html">Thelia</a></li> <li><a href="../../../Thelia/Model.html">Model</a></li> <li><a href="../../../Thelia/Model/Breadcrumb.html">Breadcrumb</a></li> <li>BrandBreadcrumbTrait</li> </ol> </div> <div id="page-content"> <div class="page-header"> <h1>BrandBreadcrumbTrait</h1> </div> <p> trait <strong>BrandBreadcrumbTrait</strong> </p> <h2>Methods</h2> <div class="container-fluid underlined"> <div class="row"> <div class="col-md-2 type"> </div> <div class="col-md-8 type"> <a href="#method_getBreadcrumb">getBreadcrumb</a>( <abbr title="Thelia\Model\Breadcrumb\Symfony\Component\Routing\Router">Router</abbr> $router, <abbr title="Thelia\Model\Breadcrumb\Symfony\Component\DependencyInjection\ContainerInterface">ContainerInterface</abbr> $container, $tab, $locale) <p class="no-description">No description</p> </div> <div class="col-md-2"></div> </div> </div> <h2>Details</h2> <div id="method-details"> <div class="method-item"> <h3 id="method_getBreadcrumb"> <div class="location">at line 25</div> <code> <strong>getBreadcrumb</strong>( <abbr title="Thelia\Model\Breadcrumb\Symfony\Component\Routing\Router">Router</abbr> $router, <abbr title="Thelia\Model\Breadcrumb\Symfony\Component\DependencyInjection\ContainerInterface">ContainerInterface</abbr> $container, $tab, $locale)</code> </h3> <div class="details"> <div class="tags"> <h4>Parameters</h4> <table class="table table-condensed"> <tr> <td> <abbr title="Thelia\Model\Breadcrumb\Symfony\Component\Routing\Router">Router</abbr></td> <td>$router</td> <td></td> </tr> <tr> <td> <abbr title="Thelia\Model\Breadcrumb\Symfony\Component\DependencyInjection\ContainerInterface">ContainerInterface</abbr></td> <td>$container</td> <td></td> </tr> <tr> <td></td> <td>$tab</td> <td></td> </tr> <tr> <td></td> <td>$locale</td> <td></td> </tr> </table> </div> </div> </div> </div> </div> <div id="footer"> Generated by <a href="http://sami.sensiolabs.org/">Sami, the API Documentation Generator</a>. </div> </div> </div> </body> </html>
sitecrafting/thelia.github.io
api/master/Thelia/Model/Breadcrumb/BrandBreadcrumbTrait.html
HTML
mit
6,251
{% extends "horizon/common/_modal_form.html" %} {% load i18n %} {% load url from future %} {% block form_id %}create_keypair_form{% endblock %} {% block form_action %}{% url 'horizon:project:access_and_security:keypairs:create' %}{% endblock %} {% block modal-header %}{% trans "Create Keypair" %}{% endblock %} {% block modal-body %} <div class="left"> <fieldset> {% include "horizon/common/_form_fields.html" %} </fieldset> </div> <div class="right"> <h3>{% trans "Description" %}:</h3> <p>{% trans "Keypairs are ssh credentials which are injected into images when they are launched. Creating a new key pair registers the public key and downloads the private key (a .pem file)." %}</p> <p>{% trans "Protect and use the key as you would any normal ssh private key." %}</p> </div> {% endblock %} {% block modal-footer %} <input class="btn btn-primary pull-right" type="submit" value="{% trans "Create Keypair" %}" /> <a href="{% url 'horizon:project:access_and_security:index' %}" class="btn secondary cancel close">{% trans "Cancel" %}</a> {% endblock %}
Havate/havate-openstack
proto-build/gui/horizon/Horizon_GUI/openstack_dashboard/dashboards/project/access_and_security/templates/access_and_security/keypairs/_create.html
HTML
apache-2.0
1,088
<!-- This file is auto-generated from textureshadow_test_generator.py DO NOT EDIT! --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>WebGL Texture Shadow Conformance Tests</title> <link rel="stylesheet" href="../../../../resources/js-test-style.css"/> <script src="../../../../js/js-test-pre.js"></script> <script src="../../../../js/webgl-test-utils.js"></script> <script src="../../../../closure-library/closure/goog/base.js"></script> <script src="../../../deqp-deps.js"></script> <script>goog.require('functional.gles3.es3fTextureShadowTests');</script> </head> <body> <div id="description"></div> <div id="console"></div> <canvas id="canvas" width="200" height="100"> </canvas> <script> var wtu = WebGLTestUtils; var gl = wtu.create3DContext('canvas', null, 2); functional.gles3.es3fTextureShadowTests.run(gl, [32, 33]); </script> </body> </html>
endlessm/chromium-browser
third_party/webgl/src/sdk/tests/deqp/functional/gles3/textureshadow/2d_nearest_mipmap_linear_less_or_equal.html
HTML
bsd-3-clause
900
<!doctype html> <meta charset="utf-8"> <title>CSS Pseudo-Elements Test: highlight cascade: custom properties are inherited regardless of inherits flag or inheritedness of referencing property</title> <link rel="author" title="Delan Azabani" href="mailto:[email protected]"> <link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#highlight-cascade"> <link rel="match" href="highlight-cascade-002-ref.html"> <meta name="assert" value="This test verifies that, given ::selection styles referencing custom properties, their substitution values are inherited from the parent ::selection styles, even if the property is registered with inherits set to false (--inherits-false) or the referencing property is not an inherited property (background-color). All custom properties are treated as inherited when used in highlight styles in any way."> <script src="support/selections.js"></script> <link rel="stylesheet" href="support/highlights.css"> <style> /* Register the custom properties, other than --unregistered, which would be an inherited property [css-variables-1]. */ @property --control { syntax: "<color>"; initial-value: green; inherits: false; } @property --inherits-false { syntax: "<color>"; initial-value: red; inherits: false; } @property --inherits-true { syntax: "<color>"; initial-value: red; inherits: true; } main { font-size: 7em; margin: 0.5em; } main::selection { /* Don’t visibly highlight the spaces between words. */ color: black; background-color: transparent; } /* Non-highlight control: if this text is white on red (inherit) rather than white on green (initial), then @property is not supported well enough to make this test meaningful. */ main > .control { --control: red; } main > .control > span { color: white; background-color: var(--control); } main > *::selection { --inherits-false: green; --inherits-true: green; --unregistered: green; } /* Foreground tests: if the foreground of this text is red or black (initial) rather than green (inherit), then custom properties are not being inherited in highlight styles. color is an inherited property, but that shouldn’t matter. */ main > .fg > span::selection { background-color: white; } main > .fg.inherits-false > span::selection { color: var(--inherits-false); } main > .fg.inherits-true > span::selection { color: var(--inherits-true); } main > .fg.unregistered > span::selection { color: var(--unregistered); } /* Background tests: if the background of this text is red or black (initial) rather than green (inherit), then custom properties are not being inherited in highlight styles. background-color is not an inherited property, but that shouldn’t matter. */ main > .bg > span::selection { color: white; } main > .bg.inherits-false > span::selection { background-color: var(--inherits-false); } main > .bg.inherits-true > span::selection { background-color: var(--inherits-true); } main > .bg.unregistered > span::selection { background-color: var(--unregistered); } </style> <p>Test passes if the words below are (respectively): white on green, green on white, white on green. <main class="highlight_reftest" ><span class="control"><span>foo</span></span > <span class="fg inherits-false"><span>b</span></span ><span class="fg inherits-true"><span>a</span></span ><span class="fg unregistered"><span>r</span></span > <span class="bg inherits-false"><span>b</span></span ><span class="bg inherits-true"><span>a</span></span ><span class="bg unregistered"><span>z</span></span ></main> <script> const main = document.querySelector("main"); selectRangeWith(range => { range.selectNodeContents(main); range.setStart(main, 2); range.setEnd(main, 9); }); </script>
scheib/chromium
third_party/blink/web_tests/external/wpt/css/css-pseudo/highlight-cascade-002.html
HTML
bsd-3-clause
4,252
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <script src="../../../list.js"></script> <script src="../../../page.js"></script> <link type="text/css" rel="stylesheet" href="../../../page.css" /> </head> <body> [page:Geometry] &rarr; <h1>[name]</h1> <div class="desc">A class for generating sphere geometries</div> <h2>Constructor</h2> <h3>[name]( [page:Number radius], [page:Number segmentsWidth], [page:Number segmentsHeight], [page:Number phiStart], [page:Number phiLength], [page:Number thetaStart], [page:Number thetaLength] )</h3> <div> radius — sphere radius. Default is 50.<br /> segmentsWidth — number of horizontal segments. Minimum value is 3, and the default is 8.<br /> segmentsHeight — number of vertical segments. Minimum value is 2, and the default is 6.<br /> phiStart — specify horizontal starting angle. Default is 0.<br /> phiLength — specify horizontal sweep angle size. Default is Math.PI * 2.<br /> thetaStart — specify vertical starting angle. Default is 0.<br /> thetaLength — specify vertical sweep angle size. Default is Math.PI.<br /> </div> <div> The geometry is created by sweeping and calculating vertexes around the Y axis (horizontal sweep) and the Z axis (vertical sweep). Thus, incomplete spheres (akin to <em>'sphere slices'</em>) can be created through the use of different values of phiStart, phiLength, thetaStart and thetaLength, in order to define the points in which we start (or end) calculating those vertices. </div> <h2>Source</h2> [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js] </body> </html>
pixelsandcandy/sandbox-js
threeJS/mrdoob-three.js-3b4457e/docs/api/extras/geometries/SphereGeometry.html
HTML
mit
1,671
<!-- @license Copyright (c) 2015 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as part of the polymer project is also subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt --> <!doctype html> <html> <head> <title>Select contacts</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1, user-scalable=yes"> <meta name="mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-capable" content="yes"> <script src="../../webcomponentsjs/webcomponents-lite.js"></script> <link rel="import" href="../../polymer/polymer.html"> <link rel="import" href="../../iron-flex-layout/iron-flex-layout.html"> <link rel="import" href="../../iron-ajax/iron-ajax.html"> <link rel="import" href="../../paper-icon-button/paper-icon-button.html"> <link rel="import" href="../../iron-icon/iron-icon.html"> <link rel="import" href="../../iron-icons/iron-icons.html"> <link rel="import" href="../../paper-styles/color.html"> <link rel="import" href="../../paper-styles/typography.html"> <link rel="import" href="../../app-layout/app-toolbar/app-toolbar.html"> <link rel="import" href="../../paper-menu/paper-menu.html"> <link rel="import" href="../../paper-item/paper-item.html"> <link rel="import" href="../../paper-badge/paper-badge.html"> <link rel="import" href="../iron-list.html"> <dom-module id="x-app"> <style> :host { @apply(--layout-fit); @apply(--layout-vertical); @apply(--paper-font-common-base); font-family: sans-serif; } app-toolbar { background: var(--paper-pink-500); box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3); color: white; z-index: 1; color: white; --paper-toolbar-title: { font-size: 16px; line-height: 16px; font-weight: bold; margin-left: 0; }; } app-toolbar paper-icon-button { --paper-icon-button-ink-color: white; } #itemsList, #selectedItemsList { @apply(--layout-flex); } .item { @apply(--layout-horizontal); cursor: pointer; padding: 16px 22px; border-bottom: 1px solid #DDD; } .item:focus, .item.selected:focus { outline: 0; background-color: #ddd; } .item.selected .star { color: var(--paper-blue-600); } .item.selected { background-color: var(--google-grey-300); border-bottom: 1px solid #ccc; } .avatar { height: 40px; width: 40px; border-radius: 20px; box-sizing: border-box; background-color: #ddd; } .pad { @apply(--layout-flex); @apply(--layout-vertical); padding: 0 16px; } .primary { font-size: 16px; } .secondary { font-size: 14px; } .dim { color: gray; } .star { width: 24px; height: 24px; } paper-badge { -webkit-transition: all 0.1s; transition: all 0.1s; opacity: 1; margin-top: 5px; } paper-badge[label="0"] { opacity: 0; } #starredView { width: 200px; border-left: 1px solid #ddd; } paper-item { white-space: nowrap; cursor: pointer; position: relative; } paper-item:hover::after { content: "-"; width: 16px; height: 16px; display: block; border-radius: 50% 50%; background-color: var(--google-red-300); margin-left: 10px; line-height: 16px; text-align: center; color: white; font-weight: bold; text-decoration: none; position: absolute; right: 15px; top: calc(50% - 8px); } .noSelection { color: #999; margin-left: 10px; line-height: 50px; } .twoColumns { @apply(--layout-flex); @apply(--layout-horizontal); overflow: hidden; } #starredView { @apply(--layout-vertical); } </style> <template> <iron-ajax url="data/contacts.json" last-response="{{data}}" auto></iron-ajax> <app-toolbar> <div title>Selection using iron-list</div> <div> <paper-icon-button icon="icons:star" alt="Starred" on-tap="_toggleStarredView"></paper-icon-button> <paper-badge label$="[[selectedItems.length]]"></paper-badge> </div> </app-toolbar> <div class="twoColumns"> <!-- Main List for the items --> <iron-list id="itemsList" items="[[data]]" selected-items="{{selectedItems}}" selection-enabled multi-selection> <template> <div> <div tabindex$="[[tabIndex]]" aria-label$="Select/Deselect [[item.name]]" class$="[[_computedClass(selected)]]"> <img class="avatar" src="[[item.image]]"> <div class="pad"> <div class="primary"> [[item.name]] </div> <div class="secondary dim">[[item.shortText]]</div> </div> <iron-icon icon$="[[iconForItem(selected)]]" class="star"></iron-icon> </div> <div class="border"></div> </div> </template> </iron-list> <div id="starredView" hidden$="[[!showSelection]]"> <template is="dom-if" if="[[!selectedItems.length]]"> <div class="noSelection">Select a contact</div> </template> <!-- List for the selected items --> <iron-list id="selectedItemsList" items="[[selectedItems]]" hidden$="[[!selectedItems.length]]"> <template> <paper-item tabindex$="[[tabIndex]]" on-tap="_unselect" aria-label$="Deselect [[item.name]]">[[item.name]]</paper-item> </template> </iron-list> </div> </div> </template> </dom-module> <script> HTMLImports.whenReady(function() { Polymer({ is: 'x-app', properties: { selectedItems: { type: Object }, showSelection: { type: Boolean, value: true, observer: '_showSelectionChanged' } }, iconForItem: function(isSelected) { return isSelected ? 'star' : 'star-border'; }, _computedClass: function(isSelected) { var classes = 'item'; if (isSelected) { classes += ' selected'; } return classes; }, _unselect: function(e) { this.$.itemsList.deselectItem(e.model.item); }, _toggleStarredView: function() { this.showSelection = !this.showSelection; }, _showSelectionChanged: function() { this.$.selectedItemsList.fire('resize'); } }); }); </script> </head> <style is="custom-style"> body { @apply(--layout-fullbleed); } </style> <body unresolved> <x-app></x-app> </body> </html>
DavidHulsmanNL/JWP
webapp/app/bower_components/iron-list/demo/selection.html
HTML
mit
7,548
<html xmlns:wicket> <body> <span wicket:id="myPanel"><wicket:panel> <span wicket:id="myPanel1">panel 1</span> <span wicket:id="myPanel2">panel 2</span> </wicket:panel></span> </body> </html>
Servoy/wicket
wicket/src/test/java/org/apache/wicket/markup/html/panel/InlinePanelPageExpectedResult_4.html
HTML
apache-2.0
204
<!doctype html> <img src="resources/exif-resolution-valid-hires.jpg"> <img src="resources/exif-resolution-none.jpg">
scheib/chromium
third_party/blink/web_tests/external/wpt/density-size-correction/srcset-ref.html
HTML
bsd-3-clause
117
<!DOCTYPE html> <html> <head> <title>Shape Outside Box Valid Values</title> <link rel="author" title="Adobe" href="http://html.adobe.com/"> <link rel="author" title="Bear Travis" href="mailto:[email protected]"> <link rel="reviewer" title="Alan Stearns" href="mailto:[email protected]"> <!-- 2014-03-04 --> <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shape-outside-property"> <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#typedef-shape-box"> <meta name="assert" content="Shape-outside may be one of the box model box values"> <meta name="flags" content="ahem dom"> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1"> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="support/parsing-utils.js"></script> </head> <body> <div id="log"></div> <script type="text/javascript"> var valid_shape_boxes = [ { "actual": "content-box", "expected_inline": "content-box", "expected_computed": "content-box" }, { "actual": "padding-box", "expected_inline": "padding-box", "expected_computed": "padding-box" }, { "actual": "border-box", "expected_inline": "border-box", "expected_computed": "border-box" }, { "actual": "margin-box", "expected_inline": "margin-box", "expected_computed": "margin-box" } ]; generate_tests( ParsingUtils.testInlineStyle, ParsingUtils.buildTestCases(valid_shape_boxes, 'inline') ); generate_tests( ParsingUtils.testComputedStyle, ParsingUtils.buildTestCases(valid_shape_boxes, 'computed') ); </script> </body> </html>
scheib/chromium
third_party/blink/web_tests/external/wpt/css/css-shapes/shape-outside/values/shape-outside-box-000.html
HTML
bsd-3-clause
2,155
<!-- Copyright (c) Microsoft Corporation. All rights reserved --> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <link rel="stylesheet" type="text/css" href="/css/print.css" media="print" /> <script src="/js/scenario2standardoptions.js"></script> </head> <body> <div id="scenarioView"> <div id="scenarioHeader"> <h2 id="sampleHeader">Description:</h2> <div id="scenarioDescription"> <p> Apps can choose to customize print experience by using additional standard printer options or their own custom options. App can change the order of the printer options shown to the user and preset their default value. </p> </div> </div> <div id="scenarioContent"> <button id="printButton">Print</button> <div class="article" data-win-options="{uri: '/html/pagetoprint.html'}" data-win-control="WinJS.UI.HtmlControl" /> </div> </div> </body> </html>
gforguru/Windows-universal-samples
printsample/js/html/scenario2standardoptions.html
HTML
mit
1,080
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <HTML> <HEAD> <META http-equiv="Content-Type" content="text/html; charset=utf-8"> <TITLE> THIS IS AN IFRAME OF TRASH INPUT </TITLE> </HEAD> <BODY> <DIV id="foo"> <H1> OWED TO 1992 </H1> <P> <TT>'&nbsp;', '&nbsp;', '&NBSP;' '&NBSP;'</TT> - THOSE ARE NBSPs <BR> THESE ARE ALSO NBSPs CHARACTERS: ' ', ' ', ' ' <BR> </P> <P> These elements are totally nonsense '&invalid;' '&fruitcake;' </P> <P> These two entities should look different '&delta;' '&Delta;' </P> <P> <!-- *This might be transparently copied as unicode * --> Other elements should also be transparently encoded into hex-refs or unicode '&hearts;' '&copy;' '&uarr;' '&rarr;' '&kappa;' </P> <P> These elements should remain named because they're valid in both XML and HTML. '&lt;' '&gt;' '&quot;' '&amp;' </P> <P> This element is only valid in XML &apos; </P> </DIV> <BUTTON ONCLICK="javascript:alert(document.getElementById('foo').innerHTML)"> BOOM </BUTTON> </BODY> </HTML>
allengaller/zenx-tmall
web/public_html/protected/modules/translate/widgets/assets/jwysiwyg/help/tests/issue152_iframe.html
HTML
mit
1,053
<!DOCTYPE html> <meta charset="utf-8"> <title>CSS Text 3 test reference</title> <link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/"> <style> div { font-family: monospace; border: solid blue; font-size: 1.5em; white-space: pre; } .ref { border-color: orange; } .w5 { width: 5ch; } .w6 { width: 6ch; } .w7 { width: 7ch; } .blue { background: #aaaaff; } .red { background: #ffaaaa; } .green { background: #aaffaa; } </style> <p>Test passes if each pair of blue / orange boxes are identical (except for the color of their border). <div class="w5">A<span class=blue> </span>B<span class=red> </span>ا<br>ب</div> <div class="w5 ref">A<span class=blue> </span>B<span class=red> </span>ا<br>ب</div> <hr> <div class="w6">A<span class=blue> </span>B<span class=red> </span>ا<br>ب</div> <div class="w6 ref">A<span class=blue> </span>B<span class=red> </span>ا<br>ب</div> <hr> <div class="w7">A<span class=blue> </span>B<span class=red> </span>ا<span class=green> </span>ب</div> <div class="w7 ref">A<span class=blue> </span>B<span class=red> </span>ا<span class=green> </span>ب</div>
scheib/chromium
third_party/blink/web_tests/external/wpt/css/css-text/white-space/reference/eol-spaces-bidi-001-ref.html
HTML
bsd-3-clause
1,138
<div class="col-sm-9 col-md-10 col-sm-push-3 col-md-push-2"> <ol class="breadcrumb"> <li><a href="#/realms/{{realm.realm}}/users">{{:: 'users' | translate}}</a></li> <li>{{user.username}}</li> </ol> <kc-tabs-user></kc-tabs-user> <form class="form-horizontal" name="realmForm" novalidate kc-read-only="!access.manageUsers"> <table class="table table-striped table-bordered"> <thead> <tr> <th>{{:: 'key' | translate}}</th> <th>{{:: 'value' | translate}}</th> <th>{{:: 'actions' | translate}}</th> </tr> </thead> <tbody> <tr ng-repeat="(key, value) in user.attributes | toOrderedMapSortedByKey"> <td>{{key}}</td> <td><input ng-model="user.attributes[key]" class="form-control" type="text" name="{{key}}" id="attribute-{{key}}" /></td> <td class="kc-action-cell" data-ng-click="removeAttribute(key)">{{:: 'delete' | translate}}</td> </tr> <tr> <td><input ng-model="newAttribute.key" class="form-control" type="text" id="newAttributeKey" /></td> <td><input ng-model="newAttribute.value" class="form-control" type="text" id="newAttributeValue" /></td> <td class="kc-action-cell" data-ng-click="addAttribute()" data-ng-disabled="!newAttribute.key.length || !newAttribute.value.length">{{:: 'add' | translate}}</td> </tr> </tbody> </table> <div class="form-group" data-ng-show="access.manageUsers"> <div class="col-md-12"> <button kc-save data-ng-disabled="!changed">{{:: 'save' | translate}}</button> <button kc-reset data-ng-disabled="!changed">{{:: 'cancel' | translate}}</button> </div> </div> </form> </div> <kc-menu></kc-menu>
girirajsharma/keycloak
themes/src/main/resources/theme/base/admin/resources/partials/user-attributes.html
HTML
apache-2.0
1,918
<?xml version="1.0" encoding="utf-8"?> <html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" MadCap:lastBlockDepth="4" MadCap:lastHeight="989" MadCap:lastWidth="1132"> <head> </head> <body> <h1>Adding an FAQ Category</h1> <p>How to add one or more categories to the FAQs module. FAQ's can only be associated with one category. The category name and description can optionally be displayed in the module by editing the Item Template under Module Settings. <MadCap:xref href="../Settings/Editing the FAQ Templates.html">See "Editing the FAQ Templates"</MadCap:xref></p> <ol> <li>Select <img src="../../../../Resources/Images/Icons/EditContent.gif" /> <![CDATA[ ]]><b> Manage Categories</b> from the module actions menu. This displays the Manage Categories page.</li> <li>Click the <span style="text-decoration: underline;">Add New</span> link.</li> <li><strong>Optional.</strong> At <strong>Parent Category</strong>, select a parent category/</li> <li>In the <b>Category Name</b> text box, enter a name for the category.</li> <li>In the <b>Category Description </b>text box, enter a description for the category.</li> </ol> <p> <img alt="" src="../../../../Resources/Images/Modules/FAQs/050100/FAQs_Category_Add.png" /> </p> <ol> <li value="6">Click the <b>OK</b> button to confirm.</li> <li>Repeat Steps 2-5 to add additional categories.</li> <li>Click the <b>Cancel</b> button to return to the module.</li> </ol> <p> <img alt="" src="../../../../Resources/Images/Modules/FAQs/050100/FAQs_Category_Add2.png" /> </p> </body> </html>
raphael-m/Dnn.Platform
Documentation/Documentation/Building Your Site/Project Modules/FAQs/Module Editors/Adding an FAQ Category.html
HTML
mit
1,775
<!DOCTYPE html> <meta charset="utf-8"> <title>CSS Transforms Reference Test: Subpixel transform changes</title> <link rel="author" title="Manuel Rego Casasnovas" href="mailto:[email protected]"> <div id="translateX1" style="transform: translateX(0.48px);">transform: translateX(0.48px);</div> <div id="translateX2" style="transform: translateX(3.17px);">transform: translateX(3.17px);</div> <div id="translateX3" style="transform: translateX(0.34px);">transform: translateX(0.34px);</div> <div id="translateY1" style="transform: translateY(0.48px);">transform: translateY(0.48px);</div> <div id="translateY2" style="transform: translateY(3.17px);">transform: translateY(3.17px);</div> <div id="translateY3" style="transform: translateY(0.34px);">transform: translateY(0.34px);</div> <div id="translateZ1" style="transform: translateZ(0.48px);">transform: translateZ(0.48px);</div> <div id="translateZ2" style="transform: translateZ(3.17px);">transform: translateZ(3.17px);</div> <div id="translateZ3" style="transform: translateZ(0.34px);">transform: translateZ(0.34px);</div>
nwjs/chromium.src
third_party/blink/web_tests/external/wpt/css/css-transforms/reference/subpixel-transform-changes-001-ref.html
HTML
bsd-3-clause
1,078
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico"> <meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0"> <title>DataTables example - Row details</title> <link rel="stylesheet" type="text/css" href="../../media/css/jquery.dataTables.css"> <link rel="stylesheet" type="text/css" href="../resources/syntax/shCore.css"> <link rel="stylesheet" type="text/css" href="../resources/demo.css"> <style type="text/css" class="init"> td.details-control { background: url('../resources/details_open.png') no-repeat center center; cursor: pointer; } tr.details td.details-control { background: url('../resources/details_close.png') no-repeat center center; } </style> <script type="text/javascript" language="javascript" src="//code.jquery.com/jquery-1.12.4.js"> </script> <script type="text/javascript" language="javascript" src="../../media/js/jquery.dataTables.js"> </script> <script type="text/javascript" language="javascript" src="../resources/syntax/shCore.js"> </script> <script type="text/javascript" language="javascript" src="../resources/demo.js"> </script> <script type="text/javascript" language="javascript" class="init"> function format ( d ) { return 'Full name: '+d.first_name+' '+d.last_name+'<br>'+ 'Salary: '+d.salary+'<br>'+ 'The child row can contain any data you wish, including links, images, inner tables etc.'; } $(document).ready(function() { var dt = $('#example').DataTable( { "processing": true, "serverSide": true, "ajax": "scripts/ids-objects.php", "columns": [ { "class": "details-control", "orderable": false, "data": null, "defaultContent": "" }, { "data": "first_name" }, { "data": "last_name" }, { "data": "position" }, { "data": "office" } ], "order": [[1, 'asc']] } ); // Array to track the ids of the details displayed rows var detailRows = []; $('#example tbody').on( 'click', 'tr td.details-control', function () { var tr = $(this).closest('tr'); var row = dt.row( tr ); var idx = $.inArray( tr.attr('id'), detailRows ); if ( row.child.isShown() ) { tr.removeClass( 'details' ); row.child.hide(); // Remove from the 'open' array detailRows.splice( idx, 1 ); } else { tr.addClass( 'details' ); row.child( format( row.data() ) ).show(); // Add to the 'open' array if ( idx === -1 ) { detailRows.push( tr.attr('id') ); } } } ); // On each draw, loop over the `detailRows` array and show any child rows dt.on( 'draw', function () { $.each( detailRows, function ( i, id ) { $('#'+id+' td.details-control').trigger( 'click' ); } ); } ); } ); </script> </head> <body class="dt-example"> <div class="container"> <section> <h1>DataTables example <span>Row details</span></h1> <div class="info"> <p>This example shows the use of DataTables' ability to show and hide child rows which are attached to a parent row in the host table. This is often used to show additional information about a row, particularly when you wish to convey more information about a row than there is space for in the host table.</p> <p>The example below shows server-side processing being used with the first column having an event listener attached to it which will toggle the child row's display. This is set up using <a href="//datatables.net/reference/option/columns.data"><code class="option" title= "DataTables initialisation option">columns.data</code></a> and <a href="//datatables.net/reference/option/columns.defaultContent"><code class="option" title= "DataTables initialisation option">columns.defaultContent</code></a>, in combination with CSS to show an empty cell with a background image which can be clicked upon.</p> <p>The event handler makes use of the <a href="//datatables.net/reference/api/row().child"><code class="api" title="DataTables API method">row().child</code></a> methods to firstly check if a row is already displayed, and if so hide it, if not show it. The content of the child row is, in this example, defined by the <code>format()</code> function, but you would replace that with whatever you wanted to show the content required, possibly including, for example, an Ajax call to the server to obtain the extra information to show. Note that the format details function has access to the full data source object for the row, including information that is not actually shown in the table (the salary parameter for example).</p> <p>Furthermore, this example shows a small difference from the <a href="../api/row_details.html">client-side row details example</a> in that to have rows automatically reopen when the table is redrawn, we need to track a unique identifier for each row - in this case the row <code>id</code>. This is required because in server-side processing mode rows are automatically destroyed and recreated on each draw.</p> </div> <div class="demo-html"></div> <table id="example" class="display" cellspacing="0" width="100%"> <thead> <tr> <th></th> <th>First name</th> <th>Last name</th> <th>Position</th> <th>Office</th> </tr> </thead> <tfoot> <tr> <th></th> <th>First name</th> <th>Last name</th> <th>Position</th> <th>Office</th> </tr> </tfoot> </table> <ul class="tabs"> <li class="active">Javascript</li> <li>HTML</li> <li>CSS</li> <li>Ajax</li> <li>Server-side script</li> </ul> <div class="tabs"> <div class="js"> <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">function format ( d ) { return 'Full name: '+d.first_name+' '+d.last_name+'&lt;br&gt;'+ 'Salary: '+d.salary+'&lt;br&gt;'+ 'The child row can contain any data you wish, including links, images, inner tables etc.'; } $(document).ready(function() { var dt = $('#example').DataTable( { &quot;processing&quot;: true, &quot;serverSide&quot;: true, &quot;ajax&quot;: &quot;scripts/ids-objects.php&quot;, &quot;columns&quot;: [ { &quot;class&quot;: &quot;details-control&quot;, &quot;orderable&quot;: false, &quot;data&quot;: null, &quot;defaultContent&quot;: &quot;&quot; }, { &quot;data&quot;: &quot;first_name&quot; }, { &quot;data&quot;: &quot;last_name&quot; }, { &quot;data&quot;: &quot;position&quot; }, { &quot;data&quot;: &quot;office&quot; } ], &quot;order&quot;: [[1, 'asc']] } ); // Array to track the ids of the details displayed rows var detailRows = []; $('#example tbody').on( 'click', 'tr td.details-control', function () { var tr = $(this).closest('tr'); var row = dt.row( tr ); var idx = $.inArray( tr.attr('id'), detailRows ); if ( row.child.isShown() ) { tr.removeClass( 'details' ); row.child.hide(); // Remove from the 'open' array detailRows.splice( idx, 1 ); } else { tr.addClass( 'details' ); row.child( format( row.data() ) ).show(); // Add to the 'open' array if ( idx === -1 ) { detailRows.push( tr.attr('id') ); } } } ); // On each draw, loop over the `detailRows` array and show any child rows dt.on( 'draw', function () { $.each( detailRows, function ( i, id ) { $('#'+id+' td.details-control').trigger( 'click' ); } ); } ); } );</code> <p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p> <ul> <li> <a href="//code.jquery.com/jquery-1.12.4.js">//code.jquery.com/jquery-1.12.4.js</a> </li> <li> <a href="../../media/js/jquery.dataTables.js">../../media/js/jquery.dataTables.js</a> </li> </ul> </div> <div class="table"> <p>The HTML shown below is the raw HTML table element, before it has been enhanced by DataTables:</p> </div> <div class="css"> <div> <p>This example uses a little bit of additional CSS beyond what is loaded from the library files (below), in order to correctly display the table. The additional CSS used is shown below:</p><code class="multiline language-css">td.details-control { background: url('../resources/details_open.png') no-repeat center center; cursor: pointer; } tr.details td.details-control { background: url('../resources/details_close.png') no-repeat center center; }</code> </div> <p>The following CSS library files are loaded for use in this example to provide the styling of the table:</p> <ul> <li> <a href="../../media/css/jquery.dataTables.css">../../media/css/jquery.dataTables.css</a> </li> </ul> </div> <div class="ajax"> <p>This table loads data by Ajax. The latest data that has been loaded is shown below. This data will update automatically as any additional data is loaded.</p> </div> <div class="php"> <p>The script used to perform the server-side processing for this table is shown below. Please note that this is just an example script using PHP. Server-side processing scripts can be written in any language, using <a href="//datatables.net/manual/server-side">the protocol described in the DataTables documentation</a>.</p> </div> </div> </section> </div> <section> <div class="footer"> <div class="gradient"></div> <div class="liner"> <h2>Other examples</h2> <div class="toc"> <div class="toc-group"> <h3><a href="../basic_init/index.html">Basic initialisation</a></h3> <ul class="toc"> <li> <a href="../basic_init/zero_configuration.html">Zero configuration</a> </li> <li> <a href="../basic_init/filter_only.html">Feature enable / disable</a> </li> <li> <a href="../basic_init/table_sorting.html">Default ordering (sorting)</a> </li> <li> <a href="../basic_init/multi_col_sort.html">Multi-column ordering</a> </li> <li> <a href="../basic_init/multiple_tables.html">Multiple tables</a> </li> <li> <a href="../basic_init/hidden_columns.html">Hidden columns</a> </li> <li> <a href="../basic_init/complex_header.html">Complex headers (rowspan and colspan)</a> </li> <li> <a href="../basic_init/dom.html">DOM positioning</a> </li> <li> <a href="../basic_init/flexible_width.html">Flexible table width</a> </li> <li> <a href="../basic_init/state_save.html">State saving</a> </li> <li> <a href="../basic_init/alt_pagination.html">Alternative pagination</a> </li> <li> <a href="../basic_init/scroll_y.html">Scroll - vertical</a> </li> <li> <a href="../basic_init/scroll_y_dynamic.html">Scroll - vertical, dynamic height</a> </li> <li> <a href="../basic_init/scroll_x.html">Scroll - horizontal</a> </li> <li> <a href="../basic_init/scroll_xy.html">Scroll - horizontal and vertical</a> </li> <li> <a href="../basic_init/comma-decimal.html">Language - Comma decimal place</a> </li> <li> <a href="../basic_init/language.html">Language options</a> </li> </ul> </div> <div class="toc-group"> <h3><a href="../advanced_init/index.html">Advanced initialisation</a></h3> <ul class="toc"> <li> <a href="../advanced_init/events_live.html">DOM / jQuery events</a> </li> <li> <a href="../advanced_init/dt_events.html">DataTables events</a> </li> <li> <a href="../advanced_init/column_render.html">Column rendering</a> </li> <li> <a href="../advanced_init/length_menu.html">Page length options</a> </li> <li> <a href="../advanced_init/dom_multiple_elements.html">Multiple table control elements</a> </li> <li> <a href="../advanced_init/complex_header.html">Complex headers with column visibility</a> </li> <li> <a href="../advanced_init/object_dom_read.html">Read HTML to data objects</a> </li> <li> <a href="../advanced_init/html5-data-options.html">HTML5 data-* attributes - table options</a> </li> <li> <a href="../advanced_init/html5-data-attributes.html">HTML5 data-* attributes - cell data</a> </li> <li> <a href="../advanced_init/language_file.html">Language file</a> </li> <li> <a href="../advanced_init/defaults.html">Setting defaults</a> </li> <li> <a href="../advanced_init/row_callback.html">Row created callback</a> </li> <li> <a href="../advanced_init/row_grouping.html">Row grouping</a> </li> <li> <a href="../advanced_init/footer_callback.html">Footer callback</a> </li> <li> <a href="../advanced_init/dom_toolbar.html">Custom toolbar elements</a> </li> <li> <a href="../advanced_init/sort_direction_control.html">Order direction sequence control</a> </li> </ul> </div> <div class="toc-group"> <h3><a href="../styling/index.html">Styling</a></h3> <ul class="toc"> <li> <a href="../styling/display.html">Base style</a> </li> <li> <a href="../styling/no-classes.html">Base style - no styling classes</a> </li> <li> <a href="../styling/cell-border.html">Base style - cell borders</a> </li> <li> <a href="../styling/compact.html">Base style - compact</a> </li> <li> <a href="../styling/hover.html">Base style - hover</a> </li> <li> <a href="../styling/order-column.html">Base style - order-column</a> </li> <li> <a href="../styling/row-border.html">Base style - row borders</a> </li> <li> <a href="../styling/stripe.html">Base style - stripe</a> </li> <li> <a href="../styling/bootstrap.html">Bootstrap 3</a> </li> <li> <a href="../styling/foundation.html">Foundation</a> </li> <li> <a href="../styling/semanticui.html">Semantic UI</a> </li> <li> <a href="../styling/jqueryUI.html">jQuery UI ThemeRoller</a> </li> <li> <a href="../styling/bootstrap4.html">Bootstrap 4 (Tech. preview)</a> </li> <li> <a href="../styling/material.html">Material Design (Tech. preview)</a> </li> <li> <a href="../styling/uikit.html">UIKit (Tech. preview)</a> </li> </ul> </div> <div class="toc-group"> <h3><a href="../data_sources/index.html">Data sources</a></h3> <ul class="toc"> <li> <a href="../data_sources/dom.html">HTML (DOM) sourced data</a> </li> <li> <a href="../data_sources/ajax.html">Ajax sourced data</a> </li> <li> <a href="../data_sources/js_array.html">Javascript sourced data</a> </li> <li> <a href="../data_sources/server_side.html">Server-side processing</a> </li> </ul> </div> <div class="toc-group"> <h3><a href="../api/index.html">API</a></h3> <ul class="toc"> <li> <a href="../api/add_row.html">Add rows</a> </li> <li> <a href="../api/multi_filter.html">Individual column searching (text inputs)</a> </li> <li> <a href="../api/multi_filter_select.html">Individual column searching (select inputs)</a> </li> <li> <a href="../api/highlight.html">Highlighting rows and columns</a> </li> <li> <a href="../api/row_details.html">Child rows (show extra / detailed information)</a> </li> <li> <a href="../api/select_row.html">Row selection (multiple rows)</a> </li> <li> <a href="../api/select_single_row.html">Row selection and deletion (single row)</a> </li> <li> <a href="../api/form.html">Form inputs</a> </li> <li> <a href="../api/counter_columns.html">Index column</a> </li> <li> <a href="../api/show_hide.html">Show / hide columns dynamically</a> </li> <li> <a href="../api/api_in_init.html">Using API in callbacks</a> </li> <li> <a href="../api/tabs_and_scrolling.html">Scrolling and Bootstrap tabs</a> </li> <li> <a href="../api/regex.html">Search API (regular expressions)</a> </li> </ul> </div> <div class="toc-group"> <h3><a href="../ajax/index.html">Ajax</a></h3> <ul class="toc"> <li> <a href="../ajax/simple.html">Ajax data source (arrays)</a> </li> <li> <a href="../ajax/objects.html">Ajax data source (objects)</a> </li> <li> <a href="../ajax/deep.html">Nested object data (objects)</a> </li> <li> <a href="../ajax/objects_subarrays.html">Nested object data (arrays)</a> </li> <li> <a href="../ajax/orthogonal-data.html">Orthogonal data</a> </li> <li> <a href="../ajax/null_data_source.html">Generated content for a column</a> </li> <li> <a href="../ajax/custom_data_property.html">Custom data source property</a> </li> <li> <a href="../ajax/custom_data_flat.html">Flat array data source</a> </li> <li> <a href="../ajax/defer_render.html">Deferred rendering for speed</a> </li> </ul> </div> <div class="toc-group"> <h3><a href="./index.html">Server-side</a></h3> <ul class="toc active"> <li> <a href="./simple.html">Server-side processing</a> </li> <li> <a href="./custom_vars.html">Custom HTTP variables</a> </li> <li> <a href="./post.html">POST data</a> </li> <li> <a href="./ids.html">Automatic addition of row ID attributes</a> </li> <li> <a href="./object_data.html">Object data source</a> </li> <li class="active"> <a href="./row_details.html">Row details</a> </li> <li> <a href="./select_rows.html">Row selection</a> </li> <li> <a href="./jsonp.html">JSONP data source for remote domains</a> </li> <li> <a href="./defer_loading.html">Deferred loading of data</a> </li> <li> <a href="./pipeline.html">Pipelining data to reduce Ajax calls for paging</a> </li> </ul> </div> <div class="toc-group"> <h3><a href="../plug-ins/index.html">Plug-ins</a></h3> <ul class="toc"> <li> <a href="../plug-ins/api.html">API plug-in methods</a> </li> <li> <a href="../plug-ins/sorting_auto.html">Ordering plug-ins (with type detection)</a> </li> <li> <a href="../plug-ins/sorting_manual.html">Ordering plug-ins (no type detection)</a> </li> <li> <a href="../plug-ins/range_filtering.html">Custom filtering - range search</a> </li> <li> <a href="../plug-ins/dom_sort.html">Live DOM ordering</a> </li> </ul> </div> </div> <div class="epilogue"> <p>Please refer to the <a href="http://www.datatables.net">DataTables documentation</a> for full information about its API properties and methods.<br> Additionally, there are a wide range of <a href="http://www.datatables.net/extensions">extensions</a> and <a href= "http://www.datatables.net/plug-ins">plug-ins</a> which extend the capabilities of DataTables.</p> <p class="copyright">DataTables designed and created by <a href="http://www.sprymedia.co.uk">SpryMedia Ltd</a> © 2007-2016<br> DataTables is licensed under the <a href="http://www.datatables.net/mit">MIT license</a>.</p> </div> </div> </div> </section> </body> </html>
Seddik-Abbassi/OctasoftMembre
web/Nouveau dossier/DataTables-1.10.13/examples/server_side/row_details.html
HTML
mit
20,269
<!DOCTYPE html> <meta charset="utf-8"> <title>CSP Reference</title> <link rel="author" title="Intel" href="http://www.intel.com"/> <body> <p>Test passes if there is a filled blue square.</p> <iframe src="../support/blue-100x100.png"/> </body>
pk-sam/crosswalk-test-suite
webapi/tct-csp-w3c-tests/csp/reference/csp_ro_frame-src_self_allowed_int-ref.html
HTML
bsd-3-clause
247
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>The source code</title> <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" /> <script type="text/javascript" src="../resources/prettify/prettify.js"></script> <style type="text/css"> .highlight { display: block; background-color: #ddd; } </style> <script type="text/javascript"> function highlight() { document.getElementById(location.hash.replace(/#/, "")).className = "highlight"; } </script> </head> <body onload="prettyPrint(); highlight();"> <pre class="prettyprint lang-js"><span id='Ext-tree-ViewDropZone'>/** </span> * @private */ Ext.define('Ext.tree.ViewDropZone', { extend: 'Ext.view.DropZone', <span id='Ext-tree-ViewDropZone-cfg-allowParentInserts'> /** </span> * @cfg {Boolean} allowParentInserts * Allow inserting a dragged node between an expanded parent node and its first child that will become a * sibling of the parent when dropped. */ allowParentInserts: false, <span id='Ext-tree-ViewDropZone-cfg-allowContainerDrop'> /** </span> * @cfg {Boolean} allowContainerDrop * True if drops on the tree container (outside of a specific tree node) are allowed. */ allowContainerDrops: false, <span id='Ext-tree-ViewDropZone-cfg-appendOnly'> /** </span> * @cfg {Boolean} appendOnly * True if the tree should only allow append drops (use for trees which are sorted). */ appendOnly: false, <span id='Ext-tree-ViewDropZone-cfg-expandDelay'> /** </span> * @cfg {Number} expandDelay * The delay in milliseconds to wait before expanding a target tree node while dragging a droppable node * over the target. */ expandDelay : 500, <span id='Ext-tree-ViewDropZone-property-indicatorCls'> indicatorCls: Ext.baseCSSPrefix + 'tree-ddindicator', </span> <span id='Ext-tree-ViewDropZone-method-expandNode'> // @private </span> expandNode : function(node) { var view = this.view; this.expandProcId = false; if (!node.isLeaf() &amp;&amp; !node.isExpanded()) { view.expand(node); this.expandProcId = false; } }, <span id='Ext-tree-ViewDropZone-method-queueExpand'> // @private </span> queueExpand : function(node) { this.expandProcId = Ext.Function.defer(this.expandNode, this.expandDelay, this, [node]); }, <span id='Ext-tree-ViewDropZone-method-cancelExpand'> // @private </span> cancelExpand : function() { if (this.expandProcId) { clearTimeout(this.expandProcId); this.expandProcId = false; } }, <span id='Ext-tree-ViewDropZone-method-getPosition'> getPosition: function(e, node) { </span> var view = this.view, record = view.getRecord(node), y = e.getPageY(), noAppend = record.isLeaf(), noBelow = false, region = Ext.fly(node).getRegion(), fragment; // If we are dragging on top of the root node of the tree, we always want to append. if (record.isRoot()) { return 'append'; } // Return 'append' if the node we are dragging on top of is not a leaf else return false. if (this.appendOnly) { return noAppend ? false : 'append'; } if (!this.allowParentInserts) { noBelow = record.hasChildNodes() &amp;&amp; record.isExpanded(); } fragment = (region.bottom - region.top) / (noAppend ? 2 : 3); if (y &gt;= region.top &amp;&amp; y &lt; (region.top + fragment)) { return 'before'; } else if (!noBelow &amp;&amp; (noAppend || (y &gt;= (region.bottom - fragment) &amp;&amp; y &lt;= region.bottom))) { return 'after'; } else { return 'append'; } }, <span id='Ext-tree-ViewDropZone-method-isValidDropPoint'> isValidDropPoint : function(node, position, dragZone, e, data) { </span> if (!node || !data.item) { return false; } var view = this.view, targetNode = view.getRecord(node), draggedRecords = data.records, dataLength = draggedRecords.length, ln = draggedRecords.length, i, record; // No drop position, or dragged records: invalid drop point if (!(targetNode &amp;&amp; position &amp;&amp; dataLength)) { return false; } // If the targetNode is within the folder we are dragging for (i = 0; i &lt; ln; i++) { record = draggedRecords[i]; if (record.isNode &amp;&amp; record.contains(targetNode)) { return false; } } // Respect the allowDrop field on Tree nodes if (position === 'append' &amp;&amp; targetNode.get('allowDrop') === false) { return false; } else if (position != 'append' &amp;&amp; targetNode.parentNode.get('allowDrop') === false) { return false; } // If the target record is in the dragged dataset, then invalid drop if (Ext.Array.contains(draggedRecords, targetNode)) { return false; } return view.fireEvent('nodedragover', targetNode, position, data, e) !== false; }, <span id='Ext-tree-ViewDropZone-method-onNodeOver'> onNodeOver : function(node, dragZone, e, data) { </span> var position = this.getPosition(e, node), returnCls = this.dropNotAllowed, view = this.view, targetNode = view.getRecord(node), indicator = this.getIndicator(), indicatorY = 0; // auto node expand check this.cancelExpand(); if (position == 'append' &amp;&amp; !this.expandProcId &amp;&amp; !Ext.Array.contains(data.records, targetNode) &amp;&amp; !targetNode.isLeaf() &amp;&amp; !targetNode.isExpanded()) { this.queueExpand(targetNode); } if (this.isValidDropPoint(node, position, dragZone, e, data)) { this.valid = true; this.currentPosition = position; this.overRecord = targetNode; indicator.setWidth(Ext.fly(node).getWidth()); indicatorY = Ext.fly(node).getY() - Ext.fly(view.el).getY() - 1; /* * In the code below we show the proxy again. The reason for doing this is showing the indicator will * call toFront, causing it to get a new z-index which can sometimes push the proxy behind it. We always * want the proxy to be above, so calling show on the proxy will call toFront and bring it forward. */ if (position == 'before') { returnCls = targetNode.isFirst() ? Ext.baseCSSPrefix + 'tree-drop-ok-above' : Ext.baseCSSPrefix + 'tree-drop-ok-between'; indicator.showAt(0, indicatorY); dragZone.proxy.show(); } else if (position == 'after') { returnCls = targetNode.isLast() ? Ext.baseCSSPrefix + 'tree-drop-ok-below' : Ext.baseCSSPrefix + 'tree-drop-ok-between'; indicatorY += Ext.fly(node).getHeight(); indicator.showAt(0, indicatorY); dragZone.proxy.show(); } else { returnCls = Ext.baseCSSPrefix + 'tree-drop-ok-append'; // @TODO: set a class on the parent folder node to be able to style it indicator.hide(); } } else { this.valid = false; } this.currentCls = returnCls; return returnCls; }, <span id='Ext-tree-ViewDropZone-method-onNodeOut'> // The mouse is no longer over a tree node, so dropping is not valid </span> onNodeOut : function(n, dd, e, data){ this.valid = false; this.getIndicator().hide(); }, <span id='Ext-tree-ViewDropZone-method-onContainerOver'> onContainerOver : function(dd, e, data) { </span> return e.getTarget('.' + this.indicatorCls) ? this.currentCls : this.dropNotAllowed; }, <span id='Ext-tree-ViewDropZone-method-notifyOut'> notifyOut: function() { </span> this.callParent(arguments); this.cancelExpand(); }, <span id='Ext-tree-ViewDropZone-method-handleNodeDrop'> handleNodeDrop : function(data, targetNode, position) { </span> var me = this, targetView = me.view, parentNode = targetNode ? targetNode.parentNode : targetView.panel.getRootNode(), Model = targetView.getStore().treeStore.model, records, i, len, record, insertionMethod, argList, needTargetExpand, transferData; // If the copy flag is set, create a copy of the models if (data.copy) { records = data.records; data.records = []; for (i = 0, len = records.length; i &lt; len; i++) { record = records[i]; if (record.isNode) { data.records.push(record.copy(undefined, true)); } else { // If it's not a node, make a node copy data.records.push(new Model(record.data, record.getId())); } } } // Cancel any pending expand operation me.cancelExpand(); // Grab a reference to the correct node insertion method. // Create an arg list array intended for the apply method of the // chosen node insertion method. // Ensure the target object for the method is referenced by 'targetNode' if (position == 'before') { insertionMethod = parentNode.insertBefore; argList = [null, targetNode]; targetNode = parentNode; } else if (position == 'after') { if (targetNode.nextSibling) { insertionMethod = parentNode.insertBefore; argList = [null, targetNode.nextSibling]; } else { insertionMethod = parentNode.appendChild; argList = [null]; } targetNode = parentNode; } else { if (!(targetNode.isExpanded() || targetNode.isLoading())) { needTargetExpand = true; } insertionMethod = targetNode.appendChild; argList = [null]; } // A function to transfer the data into the destination tree transferData = function() { var color, n; // Coalesce layouts caused by node removal, appending and sorting Ext.suspendLayouts(); targetView.getSelectionModel().clearSelections(); // Insert the records into the target node for (i = 0, len = data.records.length; i &lt; len; i++) { record = data.records[i]; if (!record.isNode) { if (record.isModel) { record = new Model(record.data, record.getId()); } else { record = new Model(record); } data.records[i] = record; } argList[0] = record; insertionMethod.apply(targetNode, argList); } // If configured to sort on drop, do it according to the TreeStore's comparator if (me.sortOnDrop) { targetNode.sort(targetNode.getOwnerTree().store.generateComparator()); } Ext.resumeLayouts(true); // Kick off highlights after everything's been inserted, so they are // more in sync without insertion/render overhead. // Element.highlight can handle highlighting table nodes. if (Ext.enableFx &amp;&amp; me.dropHighlight) { color = me.dropHighlightColor; for (i = 0; i &lt; len; i++) { n = targetView.getNode(data.records[i]); if (n) { Ext.fly(n).highlight(color); } } } }; // If dropping right on an unexpanded node, transfer the data after it is expanded. if (needTargetExpand) { targetNode.expand(false, transferData); } // If the node is waiting for its children, we must transfer the data after the expansion. // The expand event does NOT signal UI expansion, it is the SIGNAL for UI expansion. // It's listened for by the NodeStore on the root node. Which means that listeners on the target // node get notified BEFORE UI expansion. So we need a delay. // TODO: Refactor NodeInterface.expand/collapse to notify its owning tree directly when it needs to expand/collapse. else if (targetNode.isLoading()) { targetNode.on({ expand: transferData, delay: 1, single: true }); } // Otherwise, call the data transfer function immediately else { transferData(); } } });</pre> </body> </html>
abarry/sf2-extjs
web/bundles/sfrdemosf2extjs/js/ext-4.2.1.883/docs/source/ViewDropZone2.html
HTML
mit
13,358
<!-- The article view --> <section data-ng-controller="DashboardsController" data-ng-init="findOne()"> <a href="/#!/">Home</a> <h1 data-ng-bind="dashboard.id"></h1> <!-- Show the editing buttons to the article creator --> <div data-ng-show="authentication.user._id == dashboard.creator._id"> <a href="/#!/dashboards/{{dashboard._id}}/edit">edit</a> <a href="/#!/" data-ng-click="delete();">delete</a> </div> <small> <em>Posted on</em> <em data-ng-bind="dashboard.created | date:'mediumDate'"></em> <em>by</em> <em data-ng-bind="dashboard.creator.fullName"></em> </small> <p data-ng-bind="dashboard.pid"></p> </section>
vibhatha/digitalocean_5
public/dashboards/views/view-dashboard.client.view.html
HTML
mit
657
<!doctype html> <html> <head> <meta charset="utf-8"> <title>Client</title> <base href="/"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="icon" type="image/x-icon" href="favicon.ico"> </head> <body> <app-root>Loading...</app-root> </body> </html>
Lucas-F-Oliveira/venturus4tech
web/ventuchat/src/index.html
HTML
mit
293
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <title>Boost.Locale: Namespace Members</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css" /> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> $(document).ready(initResizable); </script> </head> <body> <div id="top"><!-- do not remove this div! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectlogo"><img alt="Logo" src="boost-small.png"/></td> <td style="padding-left: 0.5em;"> <div id="projectname">Boost.Locale </div> </td> </tr> </tbody> </table> </div> <!-- Generated by Doxygen 1.7.6.1 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main&#160;Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li class="current"><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="namespaces.html"><span>Namespace&#160;List</span></a></li> <li class="current"><a href="namespacemembers.html"><span>Namespace&#160;Members</span></a></li> </ul> </div> <div id="navrow3" class="tabs2"> <ul class="tablist"> <li class="current"><a href="namespacemembers.html"><span>All</span></a></li> <li><a href="namespacemembers_func.html"><span>Functions</span></a></li> <li><a href="namespacemembers_vars.html"><span>Variables</span></a></li> <li><a href="namespacemembers_type.html"><span>Typedefs</span></a></li> <li><a href="namespacemembers_enum.html"><span>Enumerations</span></a></li> <li><a href="namespacemembers_eval.html"><span>Enumerator</span></a></li> </ul> </div> <div id="navrow4" class="tabs3"> <ul class="tablist"> <li><a href="namespacemembers.html#index_a"><span>a</span></a></li> <li><a href="namespacemembers_0x62.html#index_b"><span>b</span></a></li> <li><a href="namespacemembers_0x63.html#index_c"><span>c</span></a></li> <li><a href="namespacemembers_0x64.html#index_d"><span>d</span></a></li> <li class="current"><a href="namespacemembers_0x65.html#index_e"><span>e</span></a></li> <li><a href="namespacemembers_0x66.html#index_f"><span>f</span></a></li> <li><a href="namespacemembers_0x67.html#index_g"><span>g</span></a></li> <li><a href="namespacemembers_0x68.html#index_h"><span>h</span></a></li> <li><a href="namespacemembers_0x69.html#index_i"><span>i</span></a></li> <li><a href="namespacemembers_0x6a.html#index_j"><span>j</span></a></li> <li><a href="namespacemembers_0x6c.html#index_l"><span>l</span></a></li> <li><a href="namespacemembers_0x6d.html#index_m"><span>m</span></a></li> <li><a href="namespacemembers_0x6e.html#index_n"><span>n</span></a></li> <li><a href="namespacemembers_0x6f.html#index_o"><span>o</span></a></li> <li><a href="namespacemembers_0x70.html#index_p"><span>p</span></a></li> <li><a href="namespacemembers_0x72.html#index_r"><span>r</span></a></li> <li><a href="namespacemembers_0x73.html#index_s"><span>s</span></a></li> <li><a href="namespacemembers_0x74.html#index_t"><span>t</span></a></li> <li><a href="namespacemembers_0x75.html#index_u"><span>u</span></a></li> <li><a href="namespacemembers_0x76.html#index_v"><span>v</span></a></li> <li><a href="namespacemembers_0x77.html#index_w"><span>w</span></a></li> <li><a href="namespacemembers_0x79.html#index_y"><span>y</span></a></li> </ul> </div> </div> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> initNavTree('namespacemembers_0x65.html',''); </script> <div id="doc-content"> <div class="contents"> <div class="textblock">Here is a list of all documented namespace members with links to the namespaces they belong to:</div> <h3><a class="anchor" id="index_e"></a>- e -</h3><ul> <li>era : <a class="el" href="namespaceboost_1_1locale_1_1period_1_1marks.html#a1536eaff4b2a880782128fc127f40d3aacc399d4cddd6d129a7d36cc2ce94b47a">boost::locale::period::marks</a> , <a class="el" href="namespaceboost_1_1locale_1_1period.html#a62d0745dbb555066a7281b9c805ceab7">boost::locale::period</a> </li> <li>extended_year : <a class="el" href="namespaceboost_1_1locale_1_1period_1_1marks.html#a1536eaff4b2a880782128fc127f40d3aa827e0e9673cbb1e0983191ea42c88c88">boost::locale::period::marks</a> , <a class="el" href="namespaceboost_1_1locale_1_1period.html#a3b75a9bb1693373fbc11e709b866c4a4">boost::locale::period</a> </li> </ul> </div><!-- contents --> </div> <div id="nav-path" class="navpath"> <ul> <li class="footer"> &copy; Copyright 2009-2012 Artyom Beilis, Distributed under the <a href="http://www.boost.org/LICENSE_1_0.txt">Boost Software License</a>, Version 1.0. </li> </ul> </div> </body> </html>
NixaSoftware/CVis
venv/bin/libs/locale/doc/html/namespacemembers_0x65.html
HTML
apache-2.0
5,822
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>AdminLTE | Dashboard</title> <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'> <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> <link href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" /> <!-- Ionicons --> <link href="//code.ionicframework.com/ionicons/1.5.2/css/ionicons.min.css" rel="stylesheet" type="text/css" /> <!-- Theme style --> <link href="css/AdminLTE.css" rel="stylesheet" type="text/css" /> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script> <![endif]--> </head> <body class="skin-blue"> <!-- header logo: style can be found in header.less --> <header class="header"> <a href="index.html" class="logo"> <!-- Add the class icon to your logo image or logo icon to add the margining --> AdminLTE </a> <!-- Header Navbar: style can be found in header.less --> <nav class="navbar navbar-static-top" role="navigation"> <!-- Sidebar toggle button--> <a href="#" class="navbar-btn sidebar-toggle" data-toggle="offcanvas" role="button"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a> <div class="navbar-right"> <ul class="nav navbar-nav"> <!-- Messages: style can be found in dropdown.less--> <li class="dropdown messages-menu"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <i class="fa fa-envelope"></i> <span class="label label-success">4</span> </a> <ul class="dropdown-menu"> <li class="header">You have 4 messages</li> <li> <!-- inner menu: contains the actual data --> <ul class="menu"> <li><!-- start message --> <a href="#"> <div class="pull-left"> <img src="img/avatar3.png" class="img-circle" alt="User Image"/> </div> <h4> Support Team <small><i class="fa fa-clock-o"></i> 5 mins</small> </h4> <p>Why not buy a new awesome theme?</p> </a> </li><!-- end message --> <li> <a href="#"> <div class="pull-left"> <img src="img/avatar2.png" class="img-circle" alt="user image"/> </div> <h4> AdminLTE Design Team <small><i class="fa fa-clock-o"></i> 2 hours</small> </h4> <p>Why not buy a new awesome theme?</p> </a> </li> <li> <a href="#"> <div class="pull-left"> <img src="img/avatar.png" class="img-circle" alt="user image"/> </div> <h4> Developers <small><i class="fa fa-clock-o"></i> Today</small> </h4> <p>Why not buy a new awesome theme?</p> </a> </li> <li> <a href="#"> <div class="pull-left"> <img src="img/avatar2.png" class="img-circle" alt="user image"/> </div> <h4> Sales Department <small><i class="fa fa-clock-o"></i> Yesterday</small> </h4> <p>Why not buy a new awesome theme?</p> </a> </li> <li> <a href="#"> <div class="pull-left"> <img src="img/avatar.png" class="img-circle" alt="user image"/> </div> <h4> Reviewers <small><i class="fa fa-clock-o"></i> 2 days</small> </h4> <p>Why not buy a new awesome theme?</p> </a> </li> </ul> </li> <li class="footer"><a href="#">See All Messages</a></li> </ul> </li> <!-- Notifications: style can be found in dropdown.less --> <li class="dropdown notifications-menu"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <i class="fa fa-warning"></i> <span class="label label-warning">10</span> </a> <ul class="dropdown-menu"> <li class="header">You have 10 notifications</li> <li> <!-- inner menu: contains the actual data --> <ul class="menu"> <li> <a href="#"> <i class="ion ion-ios7-people info"></i> 5 new members joined today </a> </li> <li> <a href="#"> <i class="fa fa-warning danger"></i> Very long description here that may not fit into the page and may cause design problems </a> </li> <li> <a href="#"> <i class="fa fa-users warning"></i> 5 new members joined </a> </li> <li> <a href="#"> <i class="ion ion-ios7-cart success"></i> 25 sales made </a> </li> <li> <a href="#"> <i class="ion ion-ios7-person danger"></i> You changed your username </a> </li> </ul> </li> <li class="footer"><a href="#">View all</a></li> </ul> </li> <!-- Tasks: style can be found in dropdown.less --> <li class="dropdown tasks-menu"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <i class="fa fa-tasks"></i> <span class="label label-danger">9</span> </a> <ul class="dropdown-menu"> <li class="header">You have 9 tasks</li> <li> <!-- inner menu: contains the actual data --> <ul class="menu"> <li><!-- Task item --> <a href="#"> <h3> Design some buttons <small class="pull-right">20%</small> </h3> <div class="progress xs"> <div class="progress-bar progress-bar-aqua" style="width: 20%" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100"> <span class="sr-only">20% Complete</span> </div> </div> </a> </li><!-- end task item --> <li><!-- Task item --> <a href="#"> <h3> Create a nice theme <small class="pull-right">40%</small> </h3> <div class="progress xs"> <div class="progress-bar progress-bar-green" style="width: 40%" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100"> <span class="sr-only">40% Complete</span> </div> </div> </a> </li><!-- end task item --> <li><!-- Task item --> <a href="#"> <h3> Some task I need to do <small class="pull-right">60%</small> </h3> <div class="progress xs"> <div class="progress-bar progress-bar-red" style="width: 60%" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100"> <span class="sr-only">60% Complete</span> </div> </div> </a> </li><!-- end task item --> <li><!-- Task item --> <a href="#"> <h3> Make beautiful transitions <small class="pull-right">80%</small> </h3> <div class="progress xs"> <div class="progress-bar progress-bar-yellow" style="width: 80%" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100"> <span class="sr-only">80% Complete</span> </div> </div> </a> </li><!-- end task item --> </ul> </li> <li class="footer"> <a href="#">View all tasks</a> </li> </ul> </li> <!-- User Account: style can be found in dropdown.less --> <li class="dropdown user user-menu"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <i class="glyphicon glyphicon-user"></i> <span>Jane Doe <i class="caret"></i></span> </a> <ul class="dropdown-menu"> <!-- User image --> <li class="user-header bg-light-blue"> <img src="img/avatar3.png" class="img-circle" alt="User Image" /> <p> Jane Doe - Web Developer <small>Member since Nov. 2012</small> </p> </li> <!-- Menu Body --> <li class="user-body"> <div class="col-xs-4 text-center"> <a href="#">Followers</a> </div> <div class="col-xs-4 text-center"> <a href="#">Sales</a> </div> <div class="col-xs-4 text-center"> <a href="#">Friends</a> </div> </li> <!-- Menu Footer--> <li class="user-footer"> <div class="pull-left"> <a href="#" class="btn btn-default btn-flat">Profile</a> </div> <div class="pull-right"> <a href="#" class="btn btn-default btn-flat">Sign out</a> </div> </li> </ul> </li> </ul> </div> </nav> </header> <div class="wrapper row-offcanvas row-offcanvas-left"> <!-- Left side column. contains the logo and sidebar --> <aside class="left-side sidebar-offcanvas"> <!-- sidebar: style can be found in sidebar.less --> <section class="sidebar"> <!-- Sidebar user panel --> <div class="user-panel"> <div class="pull-left image"> <img src="img/avatar3.png" class="img-circle" alt="User Image" /> </div> <div class="pull-left info"> <p>Hello, Jane</p> <a href="#"><i class="fa fa-circle text-success"></i> Online</a> </div> </div> <!-- search form --> <form action="#" method="get" class="sidebar-form"> <div class="input-group"> <input type="text" name="q" class="form-control" placeholder="Search..."/> <span class="input-group-btn"> <button type='submit' name='seach' id='search-btn' class="btn btn-flat"><i class="fa fa-search"></i></button> </span> </div> </form> <!-- /.search form --> <!-- sidebar menu: : style can be found in sidebar.less --> <ul class="sidebar-menu"> <li class="active"> <a href="index.html"> <i class="fa fa-dashboard"></i> <span>Dashboard</span> </a> </li> <li> <a href="pages/widgets.html"> <i class="fa fa-th"></i> <span>Widgets</span> <small class="badge pull-right bg-green">new</small> </a> </li> <li class="treeview"> <a href="#"> <i class="fa fa-bar-chart-o"></i> <span>Charts</span> <i class="fa fa-angle-left pull-right"></i> </a> <ul class="treeview-menu"> <li><a href="pages/charts/morris.html"><i class="fa fa-angle-double-right"></i> Morris</a></li> <li><a href="pages/charts/flot.html"><i class="fa fa-angle-double-right"></i> Flot</a></li> <li><a href="pages/charts/inline.html"><i class="fa fa-angle-double-right"></i> Inline charts</a></li> </ul> </li> <li class="treeview"> <a href="#"> <i class="fa fa-laptop"></i> <span>UI Elements</span> <i class="fa fa-angle-left pull-right"></i> </a> <ul class="treeview-menu"> <li><a href="pages/UI/general.html"><i class="fa fa-angle-double-right"></i> General</a></li> <li><a href="pages/UI/icons.html"><i class="fa fa-angle-double-right"></i> Icons</a></li> <li><a href="pages/UI/buttons.html"><i class="fa fa-angle-double-right"></i> Buttons</a></li> <li><a href="pages/UI/sliders.html"><i class="fa fa-angle-double-right"></i> Sliders</a></li> <li><a href="pages/UI/timeline.html"><i class="fa fa-angle-double-right"></i> Timeline</a></li> </ul> </li> <li class="treeview"> <a href="#"> <i class="fa fa-edit"></i> <span>Forms</span> <i class="fa fa-angle-left pull-right"></i> </a> <ul class="treeview-menu"> <li><a href="pages/forms/general.html"><i class="fa fa-angle-double-right"></i> General Elements</a></li> <li><a href="pages/forms/advanced.html"><i class="fa fa-angle-double-right"></i> Advanced Elements</a></li> <li><a href="pages/forms/editors.html"><i class="fa fa-angle-double-right"></i> Editors</a></li> </ul> </li> <li class="treeview"> <a href="#"> <i class="fa fa-table"></i> <span>Tables</span> <i class="fa fa-angle-left pull-right"></i> </a> <ul class="treeview-menu"> <li><a href="pages/tables/simple.html"><i class="fa fa-angle-double-right"></i> Simple tables</a></li> <li><a href="pages/tables/data.html"><i class="fa fa-angle-double-right"></i> Data tables</a></li> </ul> </li> <li> <a href="pages/calendar.html"> <i class="fa fa-calendar"></i> <span>Calendar</span> <small class="badge pull-right bg-red">3</small> </a> </li> <li> <a href="pages/mailbox.html"> <i class="fa fa-envelope"></i> <span>Mailbox</span> <small class="badge pull-right bg-yellow">12</small> </a> </li> <li class="treeview"> <a href="#"> <i class="fa fa-folder"></i> <span>Examples</span> <i class="fa fa-angle-left pull-right"></i> </a> <ul class="treeview-menu"> <li><a href="pages/examples/invoice.html"><i class="fa fa-angle-double-right"></i> Invoice</a></li> <li><a href="pages/examples/login.html"><i class="fa fa-angle-double-right"></i> Login</a></li> <li><a href="pages/examples/register.html"><i class="fa fa-angle-double-right"></i> Register</a></li> <li><a href="pages/examples/lockscreen.html"><i class="fa fa-angle-double-right"></i> Lockscreen</a></li> <li><a href="pages/examples/404.html"><i class="fa fa-angle-double-right"></i> 404 Error</a></li> <li><a href="pages/examples/500.html"><i class="fa fa-angle-double-right"></i> 500 Error</a></li> <li><a href="pages/examples/blank.html"><i class="fa fa-angle-double-right"></i> Blank Page</a></li> </ul> </li> </ul> </section> <!-- /.sidebar --> </aside> <!-- Right side column. Contains the navbar and content of the page --> <aside class="right-side"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Blank page <small>Control panel</small> </h1> <ol class="breadcrumb"> <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li> <li class="active">Blank page</li> </ol> </section> <!-- Main content --> <section class="content"> </section><!-- /.content --> </aside><!-- /.right-side --> </div><!-- ./wrapper --> <!-- jQuery 2.0.2 --> <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script> <!-- Bootstrap --> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js" type="text/javascript"></script> <!-- AdminLTE App --> <script src="js/AdminLTE/app.js" type="text/javascript"></script> </body> </html>
madman61rus/yii2_with_adminlte
vendor/bower/font-awesome/admin-lte/empty.html
HTML
bsd-3-clause
25,593
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Phaser Class: Path</title> <!--[if lt IE 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <link type="text/css" rel="stylesheet" href="styles/default.css"> <link type="text/css" rel="stylesheet" href="styles/sunlight.default.css"> <link type="text/css" rel="stylesheet" href="styles/site.cerulean.css"> </head> <body> <div class="container-fluid"> <div class="navbar navbar-fixed-top navbar-inverse"> <div style="position: absolute; width: 143px; height: 31px; right: 10px; top: 10px; z-index: 1050"><a href="http://phaser.io"><img src="img/phaser.png" border="0" /></a></div> <div class="navbar-inner"> <a class="brand" href="index.html">Phaser API</a> <ul class="nav"> <li class="dropdown"> <a href="namespaces.list.html" class="dropdown-toggle" data-toggle="dropdown">Namespaces<b class="caret"></b></a> <ul class="dropdown-menu "> <li class="class-depth-0"> <a href="Phaser.html">Phaser</a> </li> <li class="class-depth-0"> <a href="PIXI.html">PIXI</a> </li> </ul> </li> <li class="dropdown"> <a href="classes.list.html" class="dropdown-toggle" data-toggle="dropdown">Classes<b class="caret"></b></a> <ul class="dropdown-menu "> <li class="class-depth-0"> <a href="Event.html">Event</a> </li> <li class="class-depth-0"> <a href="EventTarget.html">EventTarget</a> </li> <li class="class-depth-1"> <a href="Phaser.Animation.html">Animation</a> </li> <li class="class-depth-1"> <a href="Phaser.AnimationManager.html">AnimationManager</a> </li> <li class="class-depth-1"> <a href="Phaser.AnimationParser.html">AnimationParser</a> </li> <li class="class-depth-1"> <a href="Phaser.ArraySet.html">ArraySet</a> </li> <li class="class-depth-1"> <a href="Phaser.ArrayUtils.html">ArrayUtils</a> </li> <li class="class-depth-1"> <a href="Phaser.AudioSprite.html">AudioSprite</a> </li> <li class="class-depth-1"> <a href="Phaser.BitmapData.html">BitmapData</a> </li> <li class="class-depth-1"> <a href="Phaser.BitmapText.html">BitmapText</a> </li> <li class="class-depth-1"> <a href="Phaser.Bullet.html">Bullet</a> </li> <li class="class-depth-1"> <a href="Phaser.Button.html">Button</a> </li> <li class="class-depth-1"> <a href="Phaser.Cache.html">Cache</a> </li> <li class="class-depth-1"> <a href="Phaser.Camera.html">Camera</a> </li> <li class="class-depth-1"> <a href="Phaser.Canvas.html">Canvas</a> </li> <li class="class-depth-1"> <a href="Phaser.Circle.html">Circle</a> </li> <li class="class-depth-1"> <a href="Phaser.Color.html">Color</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.Angle.html">Angle</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.Animation.html">Animation</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.AutoCull.html">AutoCull</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.Bounds.html">Bounds</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.BringToTop.html">BringToTop</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.Core.html">Core</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.Crop.html">Crop</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.Delta.html">Delta</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.Destroy.html">Destroy</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.FixedToCamera.html">FixedToCamera</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.Health.html">Health</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.InCamera.html">InCamera</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.InputEnabled.html">InputEnabled</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.InWorld.html">InWorld</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.LifeSpan.html">LifeSpan</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.LoadTexture.html">LoadTexture</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.Overlap.html">Overlap</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.PhysicsBody.html">PhysicsBody</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.Reset.html">Reset</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.ScaleMinMax.html">ScaleMinMax</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.Smoothed.html">Smoothed</a> </li> <li class="class-depth-1"> <a href="Phaser.Create.html">Create</a> </li> <li class="class-depth-1"> <a href="Phaser.Creature.html">Creature</a> </li> <li class="class-depth-1"> <a href="Phaser.Device.html">Device</a> </li> <li class="class-depth-1"> <a href="Phaser.DeviceButton.html">DeviceButton</a> </li> <li class="class-depth-1"> <a href="Phaser.DOM.html">DOM</a> </li> <li class="class-depth-1"> <a href="Phaser.Easing.html">Easing</a> </li> <li class="class-depth-2"> <a href="Phaser.Easing.Back.html">Back</a> </li> <li class="class-depth-2"> <a href="Phaser.Easing.Bounce.html">Bounce</a> </li> <li class="class-depth-2"> <a href="Phaser.Easing.Circular.html">Circular</a> </li> <li class="class-depth-2"> <a href="Phaser.Easing.Cubic.html">Cubic</a> </li> <li class="class-depth-2"> <a href="Phaser.Easing.Elastic.html">Elastic</a> </li> <li class="class-depth-2"> <a href="Phaser.Easing.Exponential.html">Exponential</a> </li> <li class="class-depth-2"> <a href="Phaser.Easing.Linear.html">Linear</a> </li> <li class="class-depth-2"> <a href="Phaser.Easing.Quadratic.html">Quadratic</a> </li> <li class="class-depth-2"> <a href="Phaser.Easing.Quartic.html">Quartic</a> </li> <li class="class-depth-2"> <a href="Phaser.Easing.Quintic.html">Quintic</a> </li> <li class="class-depth-2"> <a href="Phaser.Easing.Sinusoidal.html">Sinusoidal</a> </li> <li class="class-depth-1"> <a href="Phaser.Ellipse.html">Ellipse</a> </li> <li class="class-depth-1"> <a href="Phaser.Events.html">Events</a> </li> <li class="class-depth-1"> <a href="Phaser.Filter.html">Filter</a> </li> <li class="class-depth-1"> <a href="Phaser.FlexGrid.html">FlexGrid</a> </li> <li class="class-depth-1"> <a href="Phaser.FlexLayer.html">FlexLayer</a> </li> <li class="class-depth-1"> <a href="Phaser.Frame.html">Frame</a> </li> <li class="class-depth-1"> <a href="Phaser.FrameData.html">FrameData</a> </li> <li class="class-depth-1"> <a href="Phaser.Game.html">Game</a> </li> <li class="class-depth-1"> <a href="Phaser.GameObjectCreator.html">GameObjectCreator</a> </li> <li class="class-depth-1"> <a href="Phaser.GameObjectFactory.html">GameObjectFactory</a> </li> <li class="class-depth-1"> <a href="Phaser.Gamepad.html">Gamepad</a> </li> <li class="class-depth-1"> <a href="Phaser.Graphics.html">Graphics</a> </li> <li class="class-depth-1"> <a href="Phaser.Group.html">Group</a> </li> <li class="class-depth-1"> <a href="Phaser.Hermite.html">Hermite</a> </li> <li class="class-depth-1"> <a href="Phaser.Image.html">Image</a> </li> <li class="class-depth-1"> <a href="Phaser.ImageCollection.html">ImageCollection</a> </li> <li class="class-depth-1"> <a href="Phaser.Input.html">Input</a> </li> <li class="class-depth-1"> <a href="Phaser.InputHandler.html">InputHandler</a> </li> <li class="class-depth-1"> <a href="Phaser.Key.html">Key</a> </li> <li class="class-depth-1"> <a href="Phaser.Keyboard.html">Keyboard</a> </li> <li class="class-depth-1"> <a href="Phaser.KeyCode.html">KeyCode</a> </li> <li class="class-depth-1"> <a href="Phaser.Line.html">Line</a> </li> <li class="class-depth-1"> <a href="Phaser.LinkedList.html">LinkedList</a> </li> <li class="class-depth-1"> <a href="Phaser.Loader.html">Loader</a> </li> <li class="class-depth-1"> <a href="Phaser.LoaderParser.html">LoaderParser</a> </li> <li class="class-depth-1"> <a href="Phaser.Math.html">Math</a> </li> <li class="class-depth-1"> <a href="Phaser.Matrix.html">Matrix</a> </li> <li class="class-depth-1"> <a href="Phaser.Mouse.html">Mouse</a> </li> <li class="class-depth-1"> <a href="Phaser.MSPointer.html">MSPointer</a> </li> <li class="class-depth-1"> <a href="Phaser.Net.html">Net</a> </li> <li class="class-depth-1"> <a href="Phaser.Particle.html">Particle</a> </li> <li class="class-depth-1"> <a href="Phaser.Particles.html">Particles</a> </li> <li class="class-depth-2"> <a href="Phaser.Particles.Arcade.html">Arcade</a> </li> <li class="class-depth-3"> <a href="Phaser.Particles.Arcade.Emitter.html">Emitter</a> </li> <li class="class-depth-1"> <a href="Phaser.Path.html">Path</a> </li> <li class="class-depth-1"> <a href="Phaser.PathFollower.html">PathFollower</a> </li> <li class="class-depth-1"> <a href="Phaser.PathPoint.html">PathPoint</a> </li> <li class="class-depth-1"> <a href="Phaser.Physics.html">Physics</a> </li> <li class="class-depth-2"> <a href="Phaser.Physics.Arcade.html">Arcade</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.Arcade.Body.html">Body</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.Arcade.TilemapCollision.html">TilemapCollision</a> </li> <li class="class-depth-2"> <a href="Phaser.Physics.Ninja.html">Ninja</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.Ninja.AABB.html">AABB</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.Ninja.Body.html">Body</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.Ninja.Circle.html">Circle</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.Ninja.Tile.html">Tile</a> </li> <li class="class-depth-2"> <a href="Phaser.Physics.P2.html">P2</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.P2.Body.html">Body</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.P2.BodyDebug.html">BodyDebug</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.P2.CollisionGroup.html">CollisionGroup</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.P2.ContactMaterial.html">ContactMaterial</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.P2.DistanceConstraint.html">DistanceConstraint</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.P2.FixtureList.html">FixtureList</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.P2.GearConstraint.html">GearConstraint</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.P2.InversePointProxy.html">InversePointProxy</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.P2.LockConstraint.html">LockConstraint</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.P2.Material.html">Material</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.P2.PointProxy.html">PointProxy</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.P2.PrismaticConstraint.html">PrismaticConstraint</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.P2.RevoluteConstraint.html">RevoluteConstraint</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.P2.RotationalSpring.html">RotationalSpring</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.P2.Spring.html">Spring</a> </li> <li class="class-depth-1"> <a href="Phaser.Plugin.html">Plugin</a> </li> <li class="class-depth-2"> <a href="Phaser.Plugin.PathManager.html">PathManager</a> </li> <li class="class-depth-1"> <a href="Phaser.PluginManager.html">PluginManager</a> </li> <li class="class-depth-1"> <a href="Phaser.Point.html">Point</a> </li> <li class="class-depth-1"> <a href="Phaser.Pointer.html">Pointer</a> </li> <li class="class-depth-1"> <a href="Phaser.PointerMode.html">PointerMode</a> </li> <li class="class-depth-1"> <a href="Phaser.Polygon.html">Polygon</a> </li> <li class="class-depth-1"> <a href="Phaser.QuadTree.html">QuadTree</a> </li> <li class="class-depth-1"> <a href="Phaser.RandomDataGenerator.html">RandomDataGenerator</a> </li> <li class="class-depth-1"> <a href="Phaser.Rectangle.html">Rectangle</a> </li> <li class="class-depth-1"> <a href="Phaser.RenderTexture.html">RenderTexture</a> </li> <li class="class-depth-1"> <a href="Phaser.RequestAnimationFrame.html">RequestAnimationFrame</a> </li> <li class="class-depth-1"> <a href="Phaser.RetroFont.html">RetroFont</a> </li> <li class="class-depth-1"> <a href="Phaser.Rope.html">Rope</a> </li> <li class="class-depth-1"> <a href="Phaser.RoundedRectangle.html">RoundedRectangle</a> </li> <li class="class-depth-1"> <a href="Phaser.ScaleManager.html">ScaleManager</a> </li> <li class="class-depth-1"> <a href="Phaser.Signal.html">Signal</a> </li> <li class="class-depth-1"> <a href="Phaser.SignalBinding.html">SignalBinding</a> </li> <li class="class-depth-1"> <a href="Phaser.SinglePad.html">SinglePad</a> </li> <li class="class-depth-1"> <a href="Phaser.Sound.html">Sound</a> </li> <li class="class-depth-1"> <a href="Phaser.SoundManager.html">SoundManager</a> </li> <li class="class-depth-1"> <a href="Phaser.Sprite.html">Sprite</a> </li> <li class="class-depth-1"> <a href="Phaser.SpriteBatch.html">SpriteBatch</a> </li> <li class="class-depth-1"> <a href="Phaser.Stage.html">Stage</a> </li> <li class="class-depth-1"> <a href="Phaser.State.html">State</a> </li> <li class="class-depth-1"> <a href="Phaser.StateManager.html">StateManager</a> </li> <li class="class-depth-1"> <a href="Phaser.Text.html">Text</a> </li> <li class="class-depth-1"> <a href="Phaser.Tile.html">Tile</a> </li> <li class="class-depth-1"> <a href="Phaser.Tilemap.html">Tilemap</a> </li> <li class="class-depth-1"> <a href="Phaser.TilemapLayer.html">TilemapLayer</a> </li> <li class="class-depth-1"> <a href="Phaser.TilemapParser.html">TilemapParser</a> </li> <li class="class-depth-1"> <a href="Phaser.Tileset.html">Tileset</a> </li> <li class="class-depth-1"> <a href="Phaser.TileSprite.html">TileSprite</a> </li> <li class="class-depth-1"> <a href="Phaser.Time.html">Time</a> </li> <li class="class-depth-1"> <a href="Phaser.Timer.html">Timer</a> </li> <li class="class-depth-1"> <a href="Phaser.TimerEvent.html">TimerEvent</a> </li> <li class="class-depth-1"> <a href="Phaser.Touch.html">Touch</a> </li> <li class="class-depth-1"> <a href="Phaser.Tween.html">Tween</a> </li> <li class="class-depth-1"> <a href="Phaser.TweenData.html">TweenData</a> </li> <li class="class-depth-1"> <a href="Phaser.TweenManager.html">TweenManager</a> </li> <li class="class-depth-1"> <a href="Phaser.Utils.html">Utils</a> </li> <li class="class-depth-2"> <a href="Phaser.Utils.Debug.html">Debug</a> </li> <li class="class-depth-1"> <a href="Phaser.Video.html">Video</a> </li> <li class="class-depth-1"> <a href="Phaser.Weapon.html">Weapon</a> </li> <li class="class-depth-1"> <a href="Phaser.World.html">World</a> </li> <li class="class-depth-1"> <a href="PIXI.AbstractFilter.html">AbstractFilter</a> </li> <li class="class-depth-1"> <a href="PIXI.BaseTexture.html">BaseTexture</a> </li> <li class="class-depth-1"> <a href="PIXI.CanvasBuffer.html">CanvasBuffer</a> </li> <li class="class-depth-1"> <a href="PIXI.CanvasGraphics.html">CanvasGraphics</a> </li> <li class="class-depth-1"> <a href="PIXI.CanvasMaskManager.html">CanvasMaskManager</a> </li> <li class="class-depth-1"> <a href="PIXI.CanvasPool.html">CanvasPool</a> </li> <li class="class-depth-1"> <a href="PIXI.CanvasRenderer.html">CanvasRenderer</a> </li> <li class="class-depth-1"> <a href="PIXI.CanvasTinter.html">CanvasTinter</a> </li> <li class="class-depth-1"> <a href="PIXI.ComplexPrimitiveShader.html">ComplexPrimitiveShader</a> </li> <li class="class-depth-1"> <a href="PIXI.DisplayObjectContainer.html">DisplayObjectContainer</a> </li> <li class="class-depth-1"> <a href="PIXI.EarCut.html">EarCut</a> </li> <li class="class-depth-1"> <a href="PIXI.Event.html">Event</a> </li> <li class="class-depth-1"> <a href="PIXI.EventTarget.html">EventTarget</a> </li> <li class="class-depth-1"> <a href="PIXI.FilterTexture.html">FilterTexture</a> </li> <li class="class-depth-1"> <a href="PIXI.Graphics.html">Graphics</a> </li> <li class="class-depth-1"> <a href="PIXI.GraphicsData.html">GraphicsData</a> </li> <li class="class-depth-1"> <a href="PIXI.PIXI.html">PIXI</a> </li> <li class="class-depth-2"> <a href="PIXI.PIXI.DisplayObject.html">DisplayObject</a> </li> <li class="class-depth-1"> <a href="PIXI.PixiFastShader.html">PixiFastShader</a> </li> <li class="class-depth-1"> <a href="PIXI.PixiShader.html">PixiShader</a> </li> <li class="class-depth-1"> <a href="PIXI.PrimitiveShader.html">PrimitiveShader</a> </li> <li class="class-depth-1"> <a href="PIXI.RenderTexture.html">RenderTexture</a> </li> <li class="class-depth-1"> <a href="PIXI.Rope.html">Rope</a> </li> <li class="class-depth-1"> <a href="PIXI.Sprite.html">Sprite</a> </li> <li class="class-depth-1"> <a href="PIXI.SpriteBatch.html">SpriteBatch</a> </li> <li class="class-depth-1"> <a href="PIXI.Strip.html">Strip</a> </li> <li class="class-depth-1"> <a href="PIXI.StripShader.html">StripShader</a> </li> <li class="class-depth-1"> <a href="PIXI.Texture.html">Texture</a> </li> <li class="class-depth-1"> <a href="PIXI.TilingSprite.html">TilingSprite</a> </li> <li class="class-depth-1"> <a href="PIXI.WebGLBlendModeManager.html">WebGLBlendModeManager</a> </li> <li class="class-depth-1"> <a href="PIXI.WebGLFastSpriteBatch.html">WebGLFastSpriteBatch</a> </li> <li class="class-depth-1"> <a href="PIXI.WebGLFilterManager.html">WebGLFilterManager</a> </li> <li class="class-depth-1"> <a href="PIXI.WebGLRenderer.html">WebGLRenderer</a> </li> </ul> </li> <li class="dropdown"> <a href="global.html" class="dropdown-toggle" data-toggle="dropdown">Global<b class="caret"></b></a> <ul class="dropdown-menu "> <li class="class-depth-0"> <a href="global.html#ANGLE_DOWN">ANGLE_DOWN</a> </li> <li class="class-depth-0"> <a href="global.html#ANGLE_LEFT">ANGLE_LEFT</a> </li> <li class="class-depth-0"> <a href="global.html#ANGLE_NORTH_EAST">ANGLE_NORTH_EAST</a> </li> <li class="class-depth-0"> <a href="global.html#ANGLE_NORTH_WEST">ANGLE_NORTH_WEST</a> </li> <li class="class-depth-0"> <a href="global.html#ANGLE_RIGHT">ANGLE_RIGHT</a> </li> <li class="class-depth-0"> <a href="global.html#ANGLE_SOUTH_EAST">ANGLE_SOUTH_EAST</a> </li> <li class="class-depth-0"> <a href="global.html#ANGLE_SOUTH_WEST">ANGLE_SOUTH_WEST</a> </li> <li class="class-depth-0"> <a href="global.html#ANGLE_UP">ANGLE_UP</a> </li> <li class="class-depth-0"> <a href="global.html#AUTO">AUTO</a> </li> <li class="class-depth-0"> <a href="global.html#BITMAPDATA">BITMAPDATA</a> </li> <li class="class-depth-0"> <a href="global.html#BITMAPTEXT">BITMAPTEXT</a> </li> <li class="class-depth-0"> <a href="global.html#blendModes">blendModes</a> </li> <li class="class-depth-0"> <a href="global.html#BOTTOM_CENTER">BOTTOM_CENTER</a> </li> <li class="class-depth-0"> <a href="global.html#BOTTOM_LEFT">BOTTOM_LEFT</a> </li> <li class="class-depth-0"> <a href="global.html#BOTTOM_RIGHT">BOTTOM_RIGHT</a> </li> <li class="class-depth-0"> <a href="global.html#BUTTON">BUTTON</a> </li> <li class="class-depth-0"> <a href="global.html#CANVAS">CANVAS</a> </li> <li class="class-depth-0"> <a href="global.html#CANVAS_FILTER">CANVAS_FILTER</a> </li> <li class="class-depth-0"> <a href="global.html#CENTER">CENTER</a> </li> <li class="class-depth-0"> <a href="global.html#CIRCLE">CIRCLE</a> </li> <li class="class-depth-0"> <a href="global.html#CREATURE">CREATURE</a> </li> <li class="class-depth-0"> <a href="global.html#displayList">displayList</a> </li> <li class="class-depth-0"> <a href="global.html#DOWN">DOWN</a> </li> <li class="class-depth-0"> <a href="global.html#ELLIPSE">ELLIPSE</a> </li> <li class="class-depth-0"> <a href="global.html#emit">emit</a> </li> <li class="class-depth-0"> <a href="global.html#EMITTER">EMITTER</a> </li> <li class="class-depth-0"> <a href="global.html#GAMES">GAMES</a> </li> <li class="class-depth-0"> <a href="global.html#GRAPHICS">GRAPHICS</a> </li> <li class="class-depth-0"> <a href="global.html#GROUP">GROUP</a> </li> <li class="class-depth-0"> <a href="global.html#HEADLESS">HEADLESS</a> </li> <li class="class-depth-0"> <a href="global.html#HORIZONTAL">HORIZONTAL</a> </li> <li class="class-depth-0"> <a href="global.html#IMAGE">IMAGE</a> </li> <li class="class-depth-0"> <a href="global.html#LANDSCAPE">LANDSCAPE</a> </li> <li class="class-depth-0"> <a href="global.html#LEFT">LEFT</a> </li> <li class="class-depth-0"> <a href="global.html#LEFT_BOTTOM">LEFT_BOTTOM</a> </li> <li class="class-depth-0"> <a href="global.html#LEFT_CENTER">LEFT_CENTER</a> </li> <li class="class-depth-0"> <a href="global.html#LEFT_TOP">LEFT_TOP</a> </li> <li class="class-depth-0"> <a href="global.html#LINE">LINE</a> </li> <li class="class-depth-0"> <a href="global.html#listeners">listeners</a> </li> <li class="class-depth-0"> <a href="global.html#MATRIX">MATRIX</a> </li> <li class="class-depth-0"> <a href="global.html#mixin">mixin</a> </li> <li class="class-depth-0"> <a href="global.html#NONE">NONE</a> </li> <li class="class-depth-0"> <a href="global.html#off">off</a> </li> <li class="class-depth-0"> <a href="global.html#on">on</a> </li> <li class="class-depth-0"> <a href="global.html#once">once</a> </li> <li class="class-depth-0"> <a href="global.html#PENDING_ATLAS">PENDING_ATLAS</a> </li> <li class="class-depth-2"> <a href="global.html#Phaser.Path#numPointsreturn%257Bnumber%257DThetotalnumberofPathPointsinthisPath.">Phaser.Path#numPoints return {number} The total number of PathPoints in this Path.</a> </li> <li class="class-depth-0"> <a href="global.html#POINT">POINT</a> </li> <li class="class-depth-0"> <a href="global.html#POINTER">POINTER</a> </li> <li class="class-depth-0"> <a href="global.html#POLYGON">POLYGON</a> </li> <li class="class-depth-0"> <a href="global.html#PORTRAIT">PORTRAIT</a> </li> <li class="class-depth-0"> <a href="global.html#RECTANGLE">RECTANGLE</a> </li> <li class="class-depth-0"> <a href="global.html#removeAllListeners">removeAllListeners</a> </li> <li class="class-depth-0"> <a href="global.html#RENDERTEXTURE">RENDERTEXTURE</a> </li> <li class="class-depth-0"> <a href="global.html#RETROFONT">RETROFONT</a> </li> <li class="class-depth-0"> <a href="global.html#RIGHT">RIGHT</a> </li> <li class="class-depth-0"> <a href="global.html#RIGHT_BOTTOM">RIGHT_BOTTOM</a> </li> <li class="class-depth-0"> <a href="global.html#RIGHT_CENTER">RIGHT_CENTER</a> </li> <li class="class-depth-0"> <a href="global.html#RIGHT_TOP">RIGHT_TOP</a> </li> <li class="class-depth-0"> <a href="global.html#ROPE">ROPE</a> </li> <li class="class-depth-0"> <a href="global.html#ROUNDEDRECTANGLE">ROUNDEDRECTANGLE</a> </li> <li class="class-depth-0"> <a href="global.html#scaleModes">scaleModes</a> </li> <li class="class-depth-0"> <a href="global.html#SPRITE">SPRITE</a> </li> <li class="class-depth-0"> <a href="global.html#SPRITEBATCH">SPRITEBATCH</a> </li> <li class="class-depth-0"> <a href="global.html#stopImmediatePropagation">stopImmediatePropagation</a> </li> <li class="class-depth-0"> <a href="global.html#stopPropagation">stopPropagation</a> </li> <li class="class-depth-0"> <a href="global.html#TEXT">TEXT</a> </li> <li class="class-depth-0"> <a href="global.html#TILEMAP">TILEMAP</a> </li> <li class="class-depth-0"> <a href="global.html#TILEMAPLAYER">TILEMAPLAYER</a> </li> <li class="class-depth-0"> <a href="global.html#TILESPRITE">TILESPRITE</a> </li> <li class="class-depth-0"> <a href="global.html#TOP_CENTER">TOP_CENTER</a> </li> <li class="class-depth-0"> <a href="global.html#TOP_LEFT">TOP_LEFT</a> </li> <li class="class-depth-0"> <a href="global.html#TOP_RIGHT">TOP_RIGHT</a> </li> <li class="class-depth-0"> <a href="global.html#UP">UP</a> </li> <li class="class-depth-0"> <a href="global.html#VERSION">VERSION</a> </li> <li class="class-depth-0"> <a href="global.html#VERTICAL">VERTICAL</a> </li> <li class="class-depth-0"> <a href="global.html#VIDEO">VIDEO</a> </li> <li class="class-depth-0"> <a href="global.html#WEBGL">WEBGL</a> </li> <li class="class-depth-0"> <a href="global.html#WEBGL_FILTER">WEBGL_FILTER</a> </li> </ul> </li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Core<b class="caret"></b></a> <ul class="dropdown-menu "> <li class="class-depth-1"><a href="Phaser.Game.html">Game</a></li> <li class="class-depth-1"><a href="Phaser.Group.html">Group</a></li> <li class="class-depth-1"><a href="Phaser.World.html">World</a></li> <li class="class-depth-1"><a href="Phaser.Loader.html">Loader</a></li> <li class="class-depth-1"><a href="Phaser.Cache.html">Cache</a></li> <li class="class-depth-1"><a href="Phaser.Time.html">Time</a></li> <li class="class-depth-1"><a href="Phaser.Camera.html">Camera</a></li> <li class="class-depth-1"><a href="Phaser.StateManager.html">State Manager</a></li> <li class="class-depth-1"><a href="Phaser.TweenManager.html">Tween Manager</a></li> <li class="class-depth-1"><a href="Phaser.SoundManager.html">Sound Manager</a></li> <li class="class-depth-1"><a href="Phaser.Input.html">Input Manager</a></li> <li class="class-depth-1"><a href="Phaser.ScaleManager.html">Scale Manager</a></li> </ul> </li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Game Objects<b class="caret"></b></a> <ul class="dropdown-menu "> <li class="class-depth-1"><a href="Phaser.GameObjectFactory.html">Factory (game.add)</a></li> <li class="class-depth-1"><a href="Phaser.GameObjectCreator.html">Creator (game.make)</a></li> <li class="class-depth-1"><a href="Phaser.Sprite.html">Sprite</a></li> <li class="class-depth-1"><a href="Phaser.Image.html">Image</a></li> <li class="class-depth-1"><a href="Phaser.Sound.html">Sound</a></li> <li class="class-depth-1"><a href="Phaser.Video.html">Video</a></li> <li class="class-depth-1"><a href="Phaser.Particles.Arcade.Emitter.html">Particle Emitter</a></li> <li class="class-depth-1"><a href="Phaser.Particle.html">Particle</a></li> <li class="class-depth-1"><a href="Phaser.Text.html">Text</a></li> <li class="class-depth-1"><a href="Phaser.Tween.html">Tween</a></li> <li class="class-depth-1"><a href="Phaser.BitmapText.html">BitmapText</a></li> <li class="class-depth-1"><a href="Phaser.Tilemap.html">Tilemap</a></li> <li class="class-depth-1"><a href="Phaser.BitmapData.html">BitmapData</a></li> <li class="class-depth-1"><a href="Phaser.RetroFont.html">RetroFont</a></li> <li class="class-depth-1"><a href="Phaser.Button.html">Button</a></li> <li class="class-depth-1"><a href="Phaser.Animation.html">Animation</a></li> <li class="class-depth-1"><a href="Phaser.Graphics.html">Graphics</a></li> <li class="class-depth-1"><a href="Phaser.RenderTexture.html">RenderTexture</a></li> <li class="class-depth-1"><a href="Phaser.TileSprite.html">TileSprite</a></li> </ul> </li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Geometry<b class="caret"></b></a> <ul class="dropdown-menu "> <li class="class-depth-1"><a href="Phaser.Circle.html">Circle</a></li> <li class="class-depth-1"><a href="Phaser.Ellipse.html">Ellipse</a></li> <li class="class-depth-1"><a href="Phaser.Line.html">Line</a></li> <li class="class-depth-1"><a href="Phaser.Matrix.html">Matrix</a></li> <li class="class-depth-1"><a href="Phaser.Point.html">Point</a></li> <li class="class-depth-1"><a href="Phaser.Polygon.html">Polygon</a></li> <li class="class-depth-1"><a href="Phaser.Rectangle.html">Rectangle</a></li> <li class="class-depth-1"><a href="Phaser.RoundedRectangle.html">Rounded Rectangle</a></li> </ul> </li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Physics<b class="caret"></b></a> <ul class="dropdown-menu "> <li class="class-depth-1"><a href="Phaser.Physics.Arcade.html">Arcade Physics</a></li> <li class="class-depth-2"><a href="Phaser.Physics.Arcade.Body.html">Body</a></li> <li class="class-depth-2"><a href="Phaser.Weapon.html">Weapon</a></li> <li class="class-depth-1"><a href="Phaser.Physics.P2.html">P2 Physics</a></li> <li class="class-depth-2"><a href="Phaser.Physics.P2.Body.html">Body</a></li> <li class="class-depth-2"><a href="Phaser.Physics.P2.Spring.html">Spring</a></li> <li class="class-depth-2"><a href="Phaser.Physics.P2.CollisionGroup.html">CollisionGroup</a></li> <li class="class-depth-2"><a href="Phaser.Physics.P2.ContactMaterial.html">ContactMaterial</a></li> <li class="class-depth-1"><a href="Phaser.Physics.Ninja.html">Ninja Physics</a></li> <li class="class-depth-2"><a href="Phaser.Physics.Body.html">Body</a></li> </ul> </li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Input<b class="caret"></b></a> <ul class="dropdown-menu "> <li class="class-depth-1"><a href="Phaser.InputHandler.html">Input Handler</a></li> <li class="class-depth-1"><a href="Phaser.Pointer.html">Pointer</a></li> <li class="class-depth-1"><a href="Phaser.DeviceButton.html">Device Button</a></li> <li class="class-depth-1"><a href="Phaser.Mouse.html">Mouse</a></li> <li class="class-depth-1"><a href="Phaser.Keyboard.html">Keyboard</a></li> <li class="class-depth-1"><a href="Phaser.Key.html">Key</a></li> <li class="class-depth-1"><a href="Phaser.KeyCode.html">Key Codes</a></li> <li class="class-depth-1"><a href="Phaser.Gamepad.html">Gamepad</a></li> </ul> </li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Community<b class="caret"></b></a> <ul class="dropdown-menu "> <li class="class-depth-1"><a href="http://phaser.io">Phaser Web Site</a></li> <li class="class-depth-1"><a href="https://github.com/photonstorm/phaser">Phaser Github</a></li> <li class="class-depth-1"><a href="http://phaser.io/examples">Phaser Examples</a></li> <li class="class-depth-1"><a href="https://github.com/photonstorm/phaser-plugins">Phaser Plugins</a></li> <li class="class-depth-1"><a href="http://www.html5gamedevs.com/forum/14-phaser/">Forum</a></li> <li class="class-depth-1"><a href="http://stackoverflow.com/questions/tagged/phaser-framework">Stack Overflow</a></li> <li class="class-depth-1"><a href="http://phaser.io/learn">Tutorials</a></li> <li class="class-depth-1"><a href="http://phaser.io/community/newsletter">Newsletter</a></li> <li class="class-depth-1"><a href="http://phaser.io/community/twitter">Twitter</a></li> <li class="class-depth-1"><a href="http://phaser.io/community/slack">Slack</a></li> <li class="class-depth-1"><a href="http://phaser.io/community/donate">Donate</a></li> <li class="class-depth-1"><a href="https://www.codeandweb.com/texturepacker/phaser">Texture Packer</a></li> </ul> </li> </ul> </div> </div> <div class="row-fluid"> <div class="span8"> <div id="main"> <!--<h1 class="page-title">Class: Path</h1>--> <section> <header> <h2> <span class="ancestors"><a href="Phaser.html">Phaser</a>.</span> Path </h2> </header> <article> <div class="container-overview"> <dt> <h4 class="name " id="Path"><span class="type-signature"></span>new Path<span class="signature">(game, <span class="optional">type</span>, <span class="optional">loops</span>)</span><span class="type-signature"></span></h4> </dt> <dd> <div class="description"> <p>A Phaser.Path contains all the functions need to create and manipulate a single Path object.<br>A Path is a list of PathPoint objects connected by Hermite curves.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Argument</th> <th>Default</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>game</code></td> <td class="type"> <span class="param-type"><a href="Phaser.Game.html">Phaser.Game</a></span> </td> <td class="attributes"> </td> <td class="default"> </td> <td class="description last"><p>A reference to the Phaser.Game instance.</p></td> </tr> <tr> <td class="name"><code>type</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> Phaser.Path.CoordinateSystems.WORLD </td> <td class="description last"><p>The coordinate system used by the Path.</p></td> </tr> <tr> <td class="name"><code>loops</code></td> <td class="type"> <span class="param-type">boolean</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> false </td> <td class="description last"><p>Should this Path loop or not when a PathFollower reaches the end of it?</p></td> </tr> </tbody> </table> <dl class="details"> <dt class="tag-source">Source - <a href="src_plugins_path_Path.js.html">plugins/path/Path.js</a>, <a href="src_plugins_path_Path.js.html#sunlight-1-line-18">line 18</a> </dt> </dl> </dd> </div> <h3 class="subsection-title">Members</h3> <dl> <dt> <h4 class="name " id="cacheKey"><span class="type-signature"></span>cacheKey<span class="type-signature"> :string</span></h4> </dt> <dd> <div class="description"> <p>The key of the JSON file in the cache used to define this path.</p> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_plugins_path_Path.js.html">plugins/path/Path.js</a>, <a href="src_plugins_path_Path.js.html#sunlight-1-line-41">line 41</a> </dt> </dl> </dd> <dt> <h4 class="name " id="coordinateSystem"><span class="type-signature"></span>coordinateSystem<span class="type-signature"> :number</span></h4> </dt> <dd> <div class="description"> <p>The coordinate system used by the Path.</p> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_plugins_path_Path.js.html">plugins/path/Path.js</a>, <a href="src_plugins_path_Path.js.html#sunlight-1-line-31">line 31</a> </dt> </dl> </dd> <dt> <h4 class="name " id="game"><span class="type-signature"></span>game<span class="type-signature"> :<a href="Phaser.Game.html">Phaser.Game</a></span></h4> </dt> <dd> <div class="description"> <p>A reference to the currently running game.</p> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_plugins_path_Path.js.html">plugins/path/Path.js</a>, <a href="src_plugins_path_Path.js.html#sunlight-1-line-26">line 26</a> </dt> </dl> </dd> <dt> <h4 class="name " id="key"><span class="type-signature"></span>key<span class="type-signature"> :string</span></h4> </dt> <dd> <div class="description"> <p>The key of the object within the JSON data. Used if there are multiple paths per JSON file.</p> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_plugins_path_Path.js.html">plugins/path/Path.js</a>, <a href="src_plugins_path_Path.js.html#sunlight-1-line-46">line 46</a> </dt> </dl> </dd> <dt> <h4 class="name " id="loops"><span class="type-signature"></span>loops<span class="type-signature"> :boolean</span></h4> </dt> <dd> <div class="description"> <p>Should this Path loop or not when a PathFollower reaches the end of it?</p> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_plugins_path_Path.js.html">plugins/path/Path.js</a>, <a href="src_plugins_path_Path.js.html#sunlight-1-line-36">line 36</a> </dt> </dl> </dd> </dl> <h3 class="subsection-title">Methods</h3> <dl> <dt> <h4 class="name " id="addPathPoint"><span class="type-signature"></span>addPathPoint<span class="signature">(<span class="optional">x</span>, <span class="optional">y</span>, <span class="optional">vx</span>, <span class="optional">vy</span>, <span class="optional">speed</span>, <span class="optional">data</span>, <span class="optional">index</span>)</span><span class="type-signature"> &rarr; {<a href="Phaser.PathPoint.html">Phaser.PathPoint</a>}</span></h4> </dt> <dd> <div class="description"> <p>Creates a new PathPoint object, relative to the path origin, and adds it to this path.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Argument</th> <th>Default</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>x</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> 0 </td> <td class="description last"><p>The x position of the PathPoint.</p></td> </tr> <tr> <td class="name"><code>y</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> 0 </td> <td class="description last"><p>The y position of the PathPoint.</p></td> </tr> <tr> <td class="name"><code>vx</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> 0 </td> <td class="description last"><p>The vx tangent vector value of the PathPoint.</p></td> </tr> <tr> <td class="name"><code>vy</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> 0 </td> <td class="description last"><p>The vy tangent vector value of the PathPoint.</p></td> </tr> <tr> <td class="name"><code>speed</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> 1 </td> <td class="description last"><p>The speed value of the PathPoint.</p></td> </tr> <tr> <td class="name"><code>data</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> {} </td> <td class="description last"><p>The data object</p></td> </tr> <tr> <td class="name"><code>index</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> null </td> <td class="description last"><p>The index of the new path point. If not given, will add point to end of point list.</p></td> </tr> </tbody> </table> <h5>Returns:</h5> <div class="returns"> <div class="returns-type"> <span class="param-type"><a href="Phaser.PathPoint.html">Phaser.PathPoint</a></span> - </div> <div class="returns-desc param-desc"> <p>The PathPoint object that was created.</p> </div> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_plugins_path_Path.js.html">plugins/path/Path.js</a>, <a href="src_plugins_path_Path.js.html#sunlight-1-line-205">line 205</a> </dt> </dl> </dd> <dt> <h4 class="name " id="atEnd"><span class="type-signature"></span>atEnd<span class="signature">(index)</span><span class="type-signature"> &rarr; {boolean}</span></h4> </dt> <dd> <div class="description"> <p>Is the given PathPoint index the end of this path?</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>index</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>The index of the PathPoint to test.</p></td> </tr> </tbody> </table> <h5>Returns:</h5> <div class="returns"> <div class="returns-type"> <span class="param-type">boolean</span> - </div> <div class="returns-desc param-desc"> <p>true if index is the last point in this path.</p> </div> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_plugins_path_Path.js.html">plugins/path/Path.js</a>, <a href="src_plugins_path_Path.js.html#sunlight-1-line-516">line 516</a> </dt> </dl> </dd> <dt> <h4 class="name " id="clone"><span class="type-signature"></span>clone<span class="signature">()</span><span class="type-signature"> &rarr; {<a href="Phaser.Path.html">Phaser.Path</a>}</span></h4> </dt> <dd> <div class="description"> <p>Clone this Path object. It clones the origin and points data.</p> </div> <h5>Returns:</h5> <div class="returns"> <div class="returns-type"> <span class="param-type"><a href="Phaser.Path.html">Phaser.Path</a></span> - </div> <div class="returns-desc param-desc"> <p>The cloned Path.</p> </div> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_plugins_path_Path.js.html">plugins/path/Path.js</a>, <a href="src_plugins_path_Path.js.html#sunlight-1-line-185">line 185</a> </dt> </dl> </dd> <dt> <h4 class="name " id="create"><span class="type-signature"></span>create<span class="signature">(coordinateSystem, <span class="optional">loops</span>)</span><span class="type-signature"> &rarr; {<a href="Phaser.Path.html">Phaser.Path</a>}</span></h4> </dt> <dd> <div class="description"> <p>Initialize a Path based on the given coordinate system.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Argument</th> <th>Default</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>coordinateSystem</code></td> <td class="type"> <span class="param-type">number</span> | <span class="param-type">string</span> </td> <td class="attributes"> </td> <td class="default"> </td> <td class="description last"><p>The Phaser.Path.CoordinateSystems type to use.</p></td> </tr> <tr> <td class="name"><code>loops</code></td> <td class="type"> <span class="param-type">boolean</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> false </td> <td class="description last"><p>Should this Path loop or not when a PathFollower reaches the end of it?</p></td> </tr> </tbody> </table> <h5>Returns:</h5> <div class="returns"> <div class="returns-type"> <span class="param-type"><a href="Phaser.Path.html">Phaser.Path</a></span> - </div> <div class="returns-desc param-desc"> <p>This Path object.</p> </div> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_plugins_path_Path.js.html">plugins/path/Path.js</a>, <a href="src_plugins_path_Path.js.html#sunlight-1-line-148">line 148</a> </dt> </dl> </dd> <dt> <h4 class="name " id="debug"><span class="type-signature"></span>debug<span class="signature">(ctx, <span class="optional">active</span>)</span><span class="type-signature"> &rarr; {<a href="Phaser.Path.html">Phaser.Path</a>}</span></h4> </dt> <dd> <div class="description"> <p>Draw the path on given canvas context. Used for debugging.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Argument</th> <th>Default</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>ctx</code></td> <td class="type"> <span class="param-type">CanvasContext2D</span> </td> <td class="attributes"> </td> <td class="default"> </td> <td class="description last"><p>The canvas context to draw the path on.</p></td> </tr> <tr> <td class="name"><code>active</code></td> <td class="type"> <span class="param-type">boolean</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> false </td> <td class="description last"><p>Whether or not to highlight the active segments of this Path or not.</p></td> </tr> </tbody> </table> <h5>Returns:</h5> <div class="returns"> <div class="returns-type"> <span class="param-type"><a href="Phaser.Path.html">Phaser.Path</a></span> - </div> <div class="returns-desc param-desc"> <p>This Path object.</p> </div> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_plugins_path_Path.js.html">plugins/path/Path.js</a>, <a href="src_plugins_path_Path.js.html#sunlight-1-line-693">line 693</a> </dt> </dl> </dd> <dt> <h4 class="name " id="getControlPointsOnThisCurve"><span class="type-signature"></span>getControlPointsOnThisCurve<span class="signature">(curve)</span><span class="type-signature"> &rarr; {array}</span></h4> </dt> <dd> <div class="description"> <p>Gets the points on the curve representing the end points of the line segments that make up the curve.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>curve</code></td> <td class="type"> <span class="param-type"><a href="Phaser.Hermite.html">Phaser.Hermite</a></span> </td> <td class="description last"><p>A Phaser.Hermite curve.</p></td> </tr> </tbody> </table> <h5>Returns:</h5> <div class="returns"> <div class="returns-type"> <span class="param-type">array</span> - </div> <div class="returns-desc param-desc"> <p>An array of points representing the end points of 10 line segments that make up the curve.</p> </div> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_plugins_path_Path.js.html">plugins/path/Path.js</a>, <a href="src_plugins_path_Path.js.html#sunlight-1-line-343">line 343</a> </dt> </dl> </dd> <dt> <h4 class="name " id="getCurve"><span class="type-signature"></span>getCurve<span class="signature">(<span class="optional">index</span>)</span><span class="type-signature"> &rarr; {<a href="Phaser.Hermite.html">Phaser.Hermite</a>}</span></h4> </dt> <dd> <div class="description"> <p>Get the curve from the given point index to the next.</p> <p>If the curve has been created previously, use that definition again, otherwise calculate it now.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Argument</th> <th>Default</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>index</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> 0 </td> <td class="description last"><p>The index of the point in this path to get the curve from.</p></td> </tr> </tbody> </table> <h5>Returns:</h5> <div class="returns"> <div class="returns-type"> <span class="param-type"><a href="Phaser.Hermite.html">Phaser.Hermite</a></span> - </div> <div class="returns-desc param-desc"> <p>A new Hermite object representing the curve starting at the 'index' path point.</p> </div> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_plugins_path_Path.js.html">plugins/path/Path.js</a>, <a href="src_plugins_path_Path.js.html#sunlight-1-line-429">line 429</a> </dt> </dl> </dd> <dt> <h4 class="name " id="getPathPoint"><span class="type-signature"></span>getPathPoint<span class="signature">(index, point)</span><span class="type-signature"> &rarr; {boolean}</span></h4> </dt> <dd> <div class="description"> <p>Get a PathPoint from this path. Automatically handles path looping.</p> <p>The values from the PathPoint are copied into the given PathPoint object, which must<br>be a reference to a pre-existing PathPoint, as it's not returned by this method.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>index</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>The index of the point in this path to get.</p></td> </tr> <tr> <td class="name"><code>point</code></td> <td class="type"> <span class="param-type"><a href="Phaser.PathPoint.html">Phaser.PathPoint</a></span> </td> <td class="description last"><p>A PathPoint object into which the found point object is cloned.</p></td> </tr> </tbody> </table> <h5>Returns:</h5> <div class="returns"> <div class="returns-type"> <span class="param-type">boolean</span> - </div> <div class="returns-desc param-desc"> <p>false if the index is past the end of the path and it doesn't loop, otherwise true.</p> </div> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_plugins_path_Path.js.html">plugins/path/Path.js</a>, <a href="src_plugins_path_Path.js.html#sunlight-1-line-360">line 360</a> </dt> </dl> </dd> <dt> <h4 class="name " id="getPathPointReference"><span class="type-signature"></span>getPathPointReference<span class="signature">(index)</span><span class="type-signature"> &rarr; {<a href="Phaser.PathPoint.html">Phaser.PathPoint</a>}</span></h4> </dt> <dd> <div class="description"> <p>Get a reference to a PathPoint from this Path, handle path looping.</p> <p>NOTE: because this is a PathPoint reference, it does not take into account the coordinateSystem selected, it will be WORLD, or OFFSET unmodified</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>index</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>The index of the point in this path to get.</p></td> </tr> </tbody> </table> <h5>Returns:</h5> <div class="returns"> <div class="returns-type"> <span class="param-type"><a href="Phaser.PathPoint.html">Phaser.PathPoint</a></span> - </div> <div class="returns-desc param-desc"> <p>A reference to the PathPoint object in this Path, or null if index is out of range.</p> </div> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_plugins_path_Path.js.html">plugins/path/Path.js</a>, <a href="src_plugins_path_Path.js.html#sunlight-1-line-405">line 405</a> </dt> </dl> </dd> <dt> <h4 class="name " id="getPointOnThisCurve"><span class="type-signature"></span>getPointOnThisCurve<span class="signature">(curve, <span class="optional">t</span>)</span><span class="type-signature"> &rarr; {<a href="Phaser.Point.html">Phaser.Point</a>}</span></h4> </dt> <dd> <div class="description"> <p>Get a point on the the current Path curve.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Argument</th> <th>Default</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>curve</code></td> <td class="type"> <span class="param-type"><a href="Phaser.Hermite.html">Phaser.Hermite</a></span> </td> <td class="attributes"> </td> <td class="default"> </td> <td class="description last"><p>A Phaser.Hermite curve object.</p></td> </tr> <tr> <td class="name"><code>t</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> 0 .. 1.0 </td> <td class="description last"><p>The distance on the curve to get the point from. Where 0 is the start of the curve, and 1 is the end.</p></td> </tr> </tbody> </table> <h5>Returns:</h5> <div class="returns"> <div class="returns-type"> <span class="param-type"><a href="Phaser.Point.html">Phaser.Point</a></span> - </div> <div class="returns-desc param-desc"> <p>A point containing the x and y values at the specified distance (t) value in the curve.</p> </div> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_plugins_path_Path.js.html">plugins/path/Path.js</a>, <a href="src_plugins_path_Path.js.html#sunlight-1-line-319">line 319</a> </dt> </dl> </dd> <dt> <h4 class="name " id="pointIndex"><span class="type-signature"></span>pointIndex<span class="signature">(pathPoint)</span><span class="type-signature"> &rarr; {number}</span></h4> </dt> <dd> <div class="description"> <p>Find the first matching PathPoint in this path.<br>It works by taking the given PathPoint object, and then iterating through all points<br>in this Path until it finds one with the same values, then returns the index to it.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>pathPoint</code></td> <td class="type"> <span class="param-type"><a href="Phaser.PathPoint.html">Phaser.PathPoint</a></span> </td> <td class="description last"><p>The PathPoint object that will have its values compared to all the points in this Path.</p></td> </tr> </tbody> </table> <h5>Returns:</h5> <div class="returns"> <div class="returns-type"> <span class="param-type">number</span> - </div> <div class="returns-desc param-desc"> <p>The index of the PathPoint in this Path if an equal match is found, or -1 if no match is found.</p> </div> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_plugins_path_Path.js.html">plugins/path/Path.js</a>, <a href="src_plugins_path_Path.js.html#sunlight-1-line-481">line 481</a> </dt> </dl> </dd> <dt> <h4 class="name " id="processData"><span class="type-signature"></span>processData<span class="signature">(follower, pathPointIndex, reversing)</span><span class="type-signature"> &rarr; {<a href="Phaser.PathPoint.html">Phaser.PathPoint</a>}</span></h4> </dt> <dd> <div class="description"> <p>Process the data associated with a point on this Path.<br>Used by Phaser.PathFollower objects as they pass each control point.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>follower</code></td> <td class="type"> <span class="param-type"><a href="Phaser.PathFollower.html">Phaser.PathFollower</a></span> </td> <td class="description last"><p>The PathFollower that is processing the data.</p></td> </tr> <tr> <td class="name"><code>pathPointIndex</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>The index of the path point to process.</p></td> </tr> <tr> <td class="name"><code>reversing</code></td> <td class="type"> <span class="param-type">boolean</span> </td> <td class="description last"><p>Whether or not the follower is traversing the path in reverse.</p></td> </tr> </tbody> </table> <h5>Returns:</h5> <div class="returns"> <div class="returns-type"> <span class="param-type"><a href="Phaser.PathPoint.html">Phaser.PathPoint</a></span> - </div> <div class="returns-desc param-desc"> <p>The PathPoint that has been processed.</p> </div> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_plugins_path_Path.js.html">plugins/path/Path.js</a>, <a href="src_plugins_path_Path.js.html#sunlight-1-line-552">line 552</a> </dt> </dl> </dd> <dt> <h4 class="name " id="removePathPoint"><span class="type-signature"></span>removePathPoint<span class="signature">(<span class="optional">index</span>)</span><span class="type-signature"> &rarr; {<a href="Phaser.PathPoint.html">Phaser.PathPoint</a>}</span></h4> </dt> <dd> <div class="description"> <p>Remove a PathPoint from this paths point list.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Argument</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>index</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="description last"><p>The index of the PathPoint to remove.</p></td> </tr> </tbody> </table> <h5>Returns:</h5> <div class="returns"> <div class="returns-type"> <span class="param-type"><a href="Phaser.PathPoint.html">Phaser.PathPoint</a></span> - </div> <div class="returns-desc param-desc"> <p>The removed PathPoint object.</p> </div> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_plugins_path_Path.js.html">plugins/path/Path.js</a>, <a href="src_plugins_path_Path.js.html#sunlight-1-line-240">line 240</a> </dt> </dl> </dd> <dt> <h4 class="name " id="setOffset"><span class="type-signature"></span>setOffset<span class="signature">(x, y)</span><span class="type-signature"> &rarr; {<a href="Phaser.Path.html">Phaser.Path</a>}</span></h4> </dt> <dd> <div class="description"> <p>Set the Path level offset which will affect all of this paths PathFollowers.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>x</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>The x offset.</p></td> </tr> <tr> <td class="name"><code>y</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>The y offset.</p></td> </tr> </tbody> </table> <h5>Returns:</h5> <div class="returns"> <div class="returns-type"> <span class="param-type"><a href="Phaser.Path.html">Phaser.Path</a></span> - </div> <div class="returns-desc param-desc"> <p>This Path object.</p> </div> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_plugins_path_Path.js.html">plugins/path/Path.js</a>, <a href="src_plugins_path_Path.js.html#sunlight-1-line-302">line 302</a> </dt> </dl> </dd> <dt> <h4 class="name " id="setPathPoint"><span class="type-signature"></span>setPathPoint<span class="signature">(index, x, y, <span class="optional">vx</span>, <span class="optional">vy</span>)</span><span class="type-signature"> &rarr; {<a href="Phaser.PathPoint.html">Phaser.PathPoint</a>}</span></h4> </dt> <dd> <div class="description"> <p>Set a PathPoint objects position and tangent vector.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Argument</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>index</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> </td> <td class="description last"><p>The index of the PathPoint in this paths point list.</p></td> </tr> <tr> <td class="name"><code>x</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> </td> <td class="description last"><p>The x coordinate of the PathPoint.</p></td> </tr> <tr> <td class="name"><code>y</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> </td> <td class="description last"><p>The y coordinate of the PathPoint.</p></td> </tr> <tr> <td class="name"><code>vx</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="description last"><p>The x coordinate of the tangent vector to create the curve from.</p></td> </tr> <tr> <td class="name"><code>vy</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="description last"><p>The y coordinate of the tangent vector to create the curve from.</p></td> </tr> </tbody> </table> <h5>Returns:</h5> <div class="returns"> <div class="returns-type"> <span class="param-type"><a href="Phaser.PathPoint.html">Phaser.PathPoint</a></span> - </div> <div class="returns-desc param-desc"> <p>A reference to the PathPoint object that was updated.</p> </div> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_plugins_path_Path.js.html">plugins/path/Path.js</a>, <a href="src_plugins_path_Path.js.html#sunlight-1-line-260">line 260</a> </dt> </dl> </dd> <dt> <h4 class="name " id="smooth"><span class="type-signature"></span>smooth<span class="signature">()</span><span class="type-signature"> &rarr; {<a href="Phaser.Path.html">Phaser.Path</a>}</span></h4> </dt> <dd> <div class="description"> <p>If your Path has 3 points or more, this will walk through it and auto-smooth them out.<br>Note: It ignores branches.</p> </div> <h5>Returns:</h5> <div class="returns"> <div class="returns-type"> <span class="param-type"><a href="Phaser.Path.html">Phaser.Path</a></span> - </div> <div class="returns-desc param-desc"> <p>This Path object.</p> </div> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_plugins_path_Path.js.html">plugins/path/Path.js</a>, <a href="src_plugins_path_Path.js.html#sunlight-1-line-628">line 628</a> </dt> </dl> </dd> <dt> <h4 class="name " id="toJSON"><span class="type-signature"></span>toJSON<span class="signature">()</span><span class="type-signature"> &rarr; {Object}</span></h4> </dt> <dd> <div class="description"> <p>Serializes this Path into a JSON object and returns it.</p> </div> <h5>Returns:</h5> <div class="returns"> <div class="returns-type"> <span class="param-type">Object</span> - </div> <div class="returns-desc param-desc"> <p>A JSON object representing this Path.</p> </div> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_plugins_path_Path.js.html">plugins/path/Path.js</a>, <a href="src_plugins_path_Path.js.html#sunlight-1-line-799">line 799</a> </dt> </dl> </dd> <dt> <h4 class="name " id="translatePoints"><span class="type-signature"></span>translatePoints<span class="signature">(point)</span><span class="type-signature"> &rarr; {<a href="Phaser.Path.html">Phaser.Path</a>}</span></h4> </dt> <dd> <div class="description"> <p>Translate all points in a path by the given point.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>point</code></td> <td class="type"> <span class="param-type"><a href="Phaser.Point.html">Phaser.Point</a></span> | <span class="param-type">object</span> </td> <td class="description last"><p>A Phaser.Point, or a Point-like Object with public <code>x</code> and <code>y</code> properties, that will be used to modify all points in this paths point list.</p></td> </tr> </tbody> </table> <h5>Returns:</h5> <div class="returns"> <div class="returns-type"> <span class="param-type"><a href="Phaser.Path.html">Phaser.Path</a></span> - </div> <div class="returns-desc param-desc"> <p>This Path object.</p> </div> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_plugins_path_Path.js.html">plugins/path/Path.js</a>, <a href="src_plugins_path_Path.js.html#sunlight-1-line-284">line 284</a> </dt> </dl> </dd> </dl> </article> </section> </div> <div class="clearfix"></div> <footer> <span class="copyright"> Phaser Copyright © 2012-2016 Photon Storm Ltd. </span> <br /> <span class="jsdoc-message"> Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Fri Aug 26 2016 01:16:15 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>. </span> </footer> </div> <div class="span3"> <div id="toc"></div> </div> <br clear="both"> </div> </div> <script src="scripts/sunlight.js"></script> <script src="scripts/sunlight.javascript.js"></script> <script src="scripts/sunlight-plugin.doclinks.js"></script> <script src="scripts/sunlight-plugin.linenumbers.js"></script> <script src="scripts/sunlight-plugin.menu.js"></script> <script src="scripts/jquery.min.js"></script> <script src="scripts/jquery.scrollTo.js"></script> <script src="scripts/jquery.localScroll.js"></script> <script src="scripts/bootstrap-dropdown.js"></script> <script src="scripts/toc.js"></script> <script> Sunlight.highlightAll({lineNumbers:true, showMenu: true, enableDoclinks :true}); </script> <script> $( function () { $( "#toc" ).toc( { anchorName : function(i, heading, prefix) { return $(heading).attr("id") || ( prefix + i ); }, selectors : "h1,h2,h3,h4", showAndHide : false, scrollTo : 60 } ); $( "#toc>ul" ).addClass( "nav nav-pills nav-stacked" ); $( "#main span[id^='toc']" ).addClass( "toc-shim" ); } ); </script> </body> </html>
kenvalleydc/phaser
v2/docs/Phaser.Path.html
HTML
mit
90,066
{% extends "projects/project_edit_base.html" %} {% load i18n %} {% block project-advanced-active %}active{% endblock %} {% block nav-dashboard %} class="active"{% endblock %} {% block extra_links %} <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}lib/markitup/skins/simple/style.css" /> <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}lib/markitup/sets/sphinx/editor.css" /> {% endblock %} {% block extra_scripts %} <script type="text/javascript" src="{{ MEDIA_URL }}javascript/rtd-import.js"></script> <script type="text/javascript" src="{{ MEDIA_URL }}lib/markitup/jquery.markitup.pack.js"></script> <script type="text/javascript" src="{{ MEDIA_URL }}lib/markitup/sets/sphinx/editor.js"></script> <script type="text/javascript"> $(document).ready(function() { $("#id_description").markItUp(SphinxDocsSettings); // .markItUp(mySettings); }); </script> {% endblock %} {% block title %}{% trans "Edit Advanced Project Settings" %}{% endblock %} {% block editing-option-edit-proj %}class="active"{% endblock %} {% block editing-option-view %}active{% endblock %} {% block project_edit_content_header %}{% trans "Advanced Settings" %}{% endblock %} {% block project_edit_content %} <form method="post" action=".">{% csrf_token %} {{ form.as_p }} <p> <input style="display: inline;" type="submit" value="{% trans "Submit" %}"> </p> </form> {% endblock %}
Tazer/readthedocs.org
readthedocs/templates/projects/project_advanced.html
HTML
mit
1,432
<!DOCTYPE html> <!-- Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ --> <html> <meta charset="utf-8"> <title>CSS Shape Test: vertical-lr, float left, ellipse(farthest-side closest-side at top 40px left 60px) border-box reference</title> <link rel="author" title="Ting-Yu Lin" href="mailto:[email protected]"> <link rel="author" title="Mozilla" href="http://www.mozilla.org/"> <style> .container { writing-mode: vertical-lr; position: absolute; inline-size: 200px; line-height: 0; } .shape { float: left; /* Omit shape-outside */ clip-path: ellipse(farthest-side closest-side at top 40px left 60px) border-box; box-sizing: content-box; block-size: 40px; inline-size: 40px; padding: 10px 20px; border: solid lightgreen; border-width: 10px; margin-block-end: 20px; background-color: orange; } .box { position: absolute; inline-size: 80px; background-color: blue; } </style> <main class="container"> <div class="shape"></div> <div class="box" style="block-size: 24px; inset-block-start: 0px; inset-inline-start: 72px;"></div> <!-- Box at corner --> <div class="box" style="block-size: 36px; inset-block-start: 24px; inset-inline-start: 80px;"></div> <div class="box" style="block-size: 36px; inset-block-start: 60px; inset-inline-start: 80px;"></div> <div class="box" style="block-size: 24px; inset-block-start: 96px; inset-inline-start: 72px;"></div> <!-- Box at corner --> </main> </html>
scheib/chromium
third_party/blink/web_tests/external/wpt/css/css-shapes/shape-outside/supported-shapes/ellipse/reference/shape-outside-ellipse-048-ref.html
HTML
bsd-3-clause
1,567
<!DOCTYPE html> <style> .composited { transform: translateZ(0); } .scroller { width: 300px; height: 300px; overflow: scroll; } .scroller > div { height: 1000px; width: 1000px; background-color: green; } </style> <div id='scroller' class='composited scroller' style='pointer-events: none;'> <div>It should be possible to scroll this div.</div> </div> <script src='../../resources/js-test.js'></script> <script src='../../resources/run-after-layout-and-paint.js'></script> <script type='text/javascript'> jsTestIsAsync = true; description('Verifies that toggling pointer-events correctly updates scrolling ' + 'layers in compositor.'); if (window.internals) internals.settings.setPreferCompositingToLCDTextEnabled(true); function isUsingCompositedScrolling(layer) { if (layer.bounds[1] == 1000) return true; if (layer.children) { for (var i = 0; i < layer.children.length; i++) { if (isUsingCompositedScrolling(layer.children[i])) return true; } } return false; } onload = function() { documentLayerTree = JSON.parse(window.internals.layerTreeAsText(document)); shouldBe('isUsingCompositedScrolling(documentLayerTree)', 'false'); // removing 'pointer-events: none' should cause composited scrolling document.getElementById('scroller').style.pointerEvents = ''; runAfterLayoutAndPaint(function() { documentLayerTree = JSON.parse(window.internals.layerTreeAsText(document)); shouldBe('isUsingCompositedScrolling(documentLayerTree)', 'true'); finishJSTest(); }); }; </script>
XiaosongWei/chromium-crosswalk
third_party/WebKit/LayoutTests/compositing/overflow/overflow-scroll-with-pointer-events-toggle.html
HTML
bsd-3-clause
1,566
<div metal:use-macro="doctype.03.sub1.html/macro"/>
rogi29/RuddyPHP
vendor/phptal/phptal/tests/input/doctype.03.html
HTML
mit
52
<!DOCTYPE HTML> <!-- Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ --> <html><head> <meta charset="utf-8"> <title>CSS Grid Test: subgrid item percentage height</title> <link rel="author" title="Mats Palmgren" href="mailto:[email protected]"> <link rel="help" href="https://drafts.csswg.org/css-grid-2"> <link rel="match" href="item-percentage-height-001-ref.html"> <style type="text/css"> .grid { display: grid; grid: auto auto / auto; grid-row-gap: 60px; border: 1px solid; padding: 2px; padding-top: 5px; height: 300px; } .subgrid { display: grid; grid: subgrid / auto; grid-row: span 2; grid-row-gap: 40px; background: lightgrey; padding: 10px; padding-top: 5px; } .item { align-self: start; height: 100%; width: 100px; background: grey; } </style> </head> <body> <div class="grid"> <div class="subgrid"> <div class="item"></div> <div class="item" style="height:100px"></div> </div> </div> </body> </html>
scheib/chromium
third_party/blink/web_tests/external/wpt/css/css-grid/subgrid/item-percentage-height-001.html
HTML
bsd-3-clause
1,039
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" /> <title></title> <!--标准mui.css--> <link rel="stylesheet" href="../css/mui.min.css"> <!--App自定义的css--> <link rel="stylesheet" type="text/css" href="../css/app.css" /> <!--<link href="../css/mui.picker.css" rel="stylesheet" /> <link href="../css/mui.dtpicker.css" rel="stylesheet" />--> <link rel="stylesheet" type="text/css" href="../css/mui.picker.min.css" /> <style> html, body, .mui-content { height: 0px; margin: 0px; background-color: #efeff4; } h5.mui-content-padded { margin-left: 3px; margin-top: 20px !important; } h5.mui-content-padded:first-child { margin-top: 12px !important; } .mui-btn { font-size: 16px; padding: 8px; margin: 3px; } .ui-alert { text-align: center; padding: 20px 10px; font-size: 16px; } </style> </head> <body> <header class="mui-bar mui-bar-nav"> <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a> <h1 class="mui-title">dtpicker(日期时间选择器)</h1> </header> <div class="mui-content"> <div class="mui-content-padded"> <h5 class="mui-content-padded">常规示例</h5> <button id='demo1' data-options='{}' class="btn mui-btn mui-btn-block">选择日期时间 ...</button> <h5 class="mui-content-padded">设定年份区间</h5> <button id='demo2' data-options='{"type":"date","beginYear":2014,"endYear":2016}' class="btn mui-btn mui-btn-block">选择日期 ...</button> <h5 class="mui-content-padded">设定选中的时间</h5> <button id='demo3' data-options='{"value":"2015-10-10 10:10","beginYear":2010,"endYear":2020}' class="btn mui-btn mui-btn-block">选择日期时间 ...</button> <h5 class="mui-content-padded">指定类型</h5> <button id='demo4' data-options='{"type":"date"}' class="btn mui-btn mui-btn-block">选择日期 ...</button> <button id='demo5' data-options='{"type":"time"}' class="btn mui-btn mui-btn-block">选择时间 ...</button> <button id='demo6' data-options='{"type":"month"}' class="btn mui-btn mui-btn-block">选择月份 ...</button> <h5 class="mui-content-padded">自定义数据</h5> <button id='demo7' data-options='{"type":"hour","customData":{"h":[{"text":"上午","value":"上午"},{"text":"下午","value":"下午"},{"text":"晚上","value":"晚上"}]},"labels":["年", "月", "日", "时段", "分"]}' class="btn mui-btn mui-btn-block">选择时段 ...</button> <div id='result' class="ui-alert"></div> </div> </div> <script src="../js/mui.min.js"></script> <!--<script src="../js/mui.picker.js"></script> <script src="../js/mui.dtpicker.js"></script>--> <script src="../js/mui.picker.min.js"></script> <script> (function($) { $.init(); var result = $('#result')[0]; var btns = $('.btn'); btns.each(function(i, btn) { btn.addEventListener('tap', function() { var optionsJson = this.getAttribute('data-options') || '{}'; var options = JSON.parse(optionsJson); var id = this.getAttribute('id'); /* * 首次显示时实例化组件 * 示例为了简洁,将 options 放在了按钮的 dom 上 * 也可以直接通过代码声明 optinos 用于实例化 DtPicker */ var picker = new $.DtPicker(options); picker.show(function(rs) { /* * rs.value 拼合后的 value * rs.text 拼合后的 text * rs.y 年,可以通过 rs.y.vaue 和 rs.y.text 获取值和文本 * rs.m 月,用法同年 * rs.d 日,用法同年 * rs.h 时,用法同年 * rs.i 分(minutes 的第二个字母),用法同年 */ result.innerText = '选择结果: ' + rs.text; /* * 返回 false 可以阻止选择框的关闭 * return false; */ /* * 释放组件资源,释放后将将不能再操作组件 * 通常情况下,不需要示放组件,new DtPicker(options) 后,可以一直使用。 * 当前示例,因为内容较多,如不进行资原释放,在某些设备上会较慢。 * 所以每次用完便立即调用 dispose 进行释放,下次用时再创建新实例。 */ picker.dispose(); }); }, false); }); })(mui); </script> </body> </html>
quyixia/mui
examples/hello-mui/examples/dtpicker.html
HTML
mit
4,491
<!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Upgrading From Beta 1.0 to Final 1.2 &mdash; CodeIgniter 3.0-dev documentation</title> <link rel="shortcut icon" href="../_static/ci-icon.ico"/> <link href='https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic|Roboto+Slab:400,700|Inconsolata:400,700&subset=latin,cyrillic' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" /> <link rel="top" title="CodeIgniter 3.0-dev documentation" href="../index.html"/> <link rel="up" title="Upgrading From a Previous Version" href="upgrading.html"/> <link rel="next" title="Upgrading From Beta 1.0 to Beta 1.1" href="upgrade_b11.html"/> <link rel="prev" title="Upgrading from 1.2 to 1.3" href="upgrade_130.html"/> <script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script> </head> <body class="wy-body-for-nav" role="document"> <div class="wy-grid-for-nav"> <nav data-toggle="wy-nav-shift" class="wy-nav-side"> <div class="wy-side-nav-search"> <a href="../index.html" class="fa fa-home"> CodeIgniter</a> <div role="search"> <form id="rtd-search-form" class="wy-form" action="../search.html" method="get"> <input type="text" name="q" placeholder="Search docs" /> <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> </div> </div> <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation"> <ul> <li class="toctree-l1"><a class="reference internal" href="../general/welcome.html">Welcome to CodeIgniter</a><ul class="simple"> </ul> </li> </ul> <ul class="current"> <li class="toctree-l1 current"><a class="reference internal" href="index.html">Installation Instructions</a><ul class="current"> <li class="toctree-l2"><a class="reference internal" href="downloads.html">Downloading CodeIgniter</a></li> <li class="toctree-l2"><a class="reference internal" href="index.html">Installation Instructions</a></li> <li class="toctree-l2 current"><a class="reference internal" href="upgrading.html">Upgrading From a Previous Version</a></li> <li class="toctree-l2"><a class="reference internal" href="troubleshooting.html">Troubleshooting</a></li> </ul> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="../overview/index.html">CodeIgniter Overview</a><ul> <li class="toctree-l2"><a class="reference internal" href="../overview/getting_started.html">Getting Started</a></li> <li class="toctree-l2"><a class="reference internal" href="../overview/at_a_glance.html">CodeIgniter at a Glance</a></li> <li class="toctree-l2"><a class="reference internal" href="../overview/features.html">Supported Features</a></li> <li class="toctree-l2"><a class="reference internal" href="../overview/appflow.html">Application Flow Chart</a></li> <li class="toctree-l2"><a class="reference internal" href="../overview/mvc.html">Model-View-Controller</a></li> <li class="toctree-l2"><a class="reference internal" href="../overview/goals.html">Architectural Goals</a></li> </ul> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="../tutorial/index.html">Tutorial</a><ul> <li class="toctree-l2"><a class="reference internal" href="../tutorial/static_pages.html">Static pages</a></li> <li class="toctree-l2"><a class="reference internal" href="../tutorial/news_section.html">News section</a></li> <li class="toctree-l2"><a class="reference internal" href="../tutorial/create_news_items.html">Create news items</a></li> <li class="toctree-l2"><a class="reference internal" href="../tutorial/conclusion.html">Conclusion</a></li> </ul> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="../general/index.html">General Topics</a><ul> <li class="toctree-l2"><a class="reference internal" href="../general/urls.html">CodeIgniter URLs</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/controllers.html">Controllers</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/reserved_names.html">Reserved Names</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/views.html">Views</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/models.html">Models</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/helpers.html">Helpers</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/libraries.html">Using CodeIgniter Libraries</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/creating_libraries.html">Creating Libraries</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/drivers.html">Using CodeIgniter Drivers</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/creating_drivers.html">Creating Drivers</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/core_classes.html">Creating Core System Classes</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/ancillary_classes.html">Creating Ancillary Classes</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/hooks.html">Hooks - Extending the Framework Core</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/autoloader.html">Auto-loading Resources</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/common_functions.html">Common Functions</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/compatibility_functions.html">Compatibility Functions</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/routing.html">URI Routing</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/errors.html">Error Handling</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/caching.html">Caching</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/profiling.html">Profiling Your Application</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/cli.html">Running via the CLI</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/managing_apps.html">Managing your Applications</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/environments.html">Handling Multiple Environments</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/alternative_php.html">Alternate PHP Syntax for View Files</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/security.html">Security</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/styleguide.html">PHP Style Guide</a></li> </ul> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="../libraries/index.html">Libraries</a><ul> <li class="toctree-l2"><a class="reference internal" href="../libraries/benchmark.html">Benchmarking Class</a></li> <li class="toctree-l2"><a class="reference internal" href="../libraries/caching.html">Caching Driver</a></li> <li class="toctree-l2"><a class="reference internal" href="../libraries/calendar.html">Calendaring Class</a></li> <li class="toctree-l2"><a class="reference internal" href="../libraries/cart.html">Shopping Cart Class</a></li> <li class="toctree-l2"><a class="reference internal" href="../libraries/config.html">Config Class</a></li> <li class="toctree-l2"><a class="reference internal" href="../libraries/email.html">Email Class</a></li> <li class="toctree-l2"><a class="reference internal" href="../libraries/encrypt.html">Encrypt Class</a></li> <li class="toctree-l2"><a class="reference internal" href="../libraries/encryption.html">Encryption Library</a></li> <li class="toctree-l2"><a class="reference internal" href="../libraries/file_uploading.html">File Uploading Class</a></li> <li class="toctree-l2"><a class="reference internal" href="../libraries/form_validation.html">Form Validation</a></li> <li class="toctree-l2"><a class="reference internal" href="../libraries/ftp.html">FTP Class</a></li> <li class="toctree-l2"><a class="reference internal" href="../libraries/image_lib.html">Image Manipulation Class</a></li> <li class="toctree-l2"><a class="reference internal" href="../libraries/input.html">Input Class</a></li> <li class="toctree-l2"><a class="reference internal" href="../libraries/javascript.html">Javascript Class</a></li> <li class="toctree-l2"><a class="reference internal" href="../libraries/language.html">Language Class</a></li> <li class="toctree-l2"><a class="reference internal" href="../libraries/loader.html">Loader Class</a></li> <li class="toctree-l2"><a class="reference internal" href="../libraries/migration.html">Migrations Class</a></li> <li class="toctree-l2"><a class="reference internal" href="../libraries/output.html">Output Class</a></li> <li class="toctree-l2"><a class="reference internal" href="../libraries/pagination.html">Pagination Class</a></li> <li class="toctree-l2"><a class="reference internal" href="../libraries/parser.html">Template Parser Class</a></li> <li class="toctree-l2"><a class="reference internal" href="../libraries/security.html">Security Class</a></li> <li class="toctree-l2"><a class="reference internal" href="../libraries/sessions.html">Session Library</a></li> <li class="toctree-l2"><a class="reference internal" href="../libraries/table.html">HTML Table Class</a></li> <li class="toctree-l2"><a class="reference internal" href="../libraries/trackback.html">Trackback Class</a></li> <li class="toctree-l2"><a class="reference internal" href="../libraries/typography.html">Typography Class</a></li> <li class="toctree-l2"><a class="reference internal" href="../libraries/unit_testing.html">Unit Testing Class</a></li> <li class="toctree-l2"><a class="reference internal" href="../libraries/uri.html">URI Class</a></li> <li class="toctree-l2"><a class="reference internal" href="../libraries/user_agent.html">User Agent Class</a></li> <li class="toctree-l2"><a class="reference internal" href="../libraries/xmlrpc.html">XML-RPC and XML-RPC Server Classes</a></li> <li class="toctree-l2"><a class="reference internal" href="../libraries/zip.html">Zip Encoding Class</a></li> </ul> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="../database/index.html">Database Reference</a><ul> <li class="toctree-l2"><a class="reference internal" href="../database/examples.html">Quick Start: Usage Examples</a></li> <li class="toctree-l2"><a class="reference internal" href="../database/configuration.html">Database Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../database/connecting.html">Connecting to a Database</a></li> <li class="toctree-l2"><a class="reference internal" href="../database/queries.html">Running Queries</a></li> <li class="toctree-l2"><a class="reference internal" href="../database/results.html">Generating Query Results</a></li> <li class="toctree-l2"><a class="reference internal" href="../database/helpers.html">Query Helper Functions</a></li> <li class="toctree-l2"><a class="reference internal" href="../database/query_builder.html">Query Builder Class</a></li> <li class="toctree-l2"><a class="reference internal" href="../database/transactions.html">Transactions</a></li> <li class="toctree-l2"><a class="reference internal" href="../database/metadata.html">Getting MetaData</a></li> <li class="toctree-l2"><a class="reference internal" href="../database/call_function.html">Custom Function Calls</a></li> <li class="toctree-l2"><a class="reference internal" href="../database/caching.html">Query Caching</a></li> <li class="toctree-l2"><a class="reference internal" href="../database/forge.html">Database Manipulation with Database Forge</a></li> <li class="toctree-l2"><a class="reference internal" href="../database/utilities.html">Database Utilities Class</a></li> <li class="toctree-l2"><a class="reference internal" href="../database/db_driver_reference.html">Database Driver Reference</a></li> </ul> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="../helpers/index.html">Helpers</a><ul> <li class="toctree-l2"><a class="reference internal" href="../helpers/array_helper.html">Array Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/captcha_helper.html">CAPTCHA Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/cookie_helper.html">Cookie Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/date_helper.html">Date Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/directory_helper.html">Directory Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/download_helper.html">Download Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/email_helper.html">Email Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/file_helper.html">File Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/form_helper.html">Form Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/html_helper.html">HTML Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/inflector_helper.html">Inflector Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/language_helper.html">Language Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/number_helper.html">Number Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/path_helper.html">Path Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/security_helper.html">Security Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/smiley_helper.html">Smiley Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/string_helper.html">String Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/text_helper.html">Text Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/typography_helper.html">Typography Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/url_helper.html">URL Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/xml_helper.html">XML Helper</a></li> </ul> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="../contributing/index.html">Contributing to CodeIgniter</a><ul> <li class="toctree-l2"><a class="reference internal" href="../documentation/index.html">Writing CodeIgniter Documentation</a></li> <li class="toctree-l2"><a class="reference internal" href="../DCO.html">Developer&#8217;s Certificate of Origin 1.1</a></li> </ul> </li> </ul> </div> &nbsp; </nav> <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"> <nav class="wy-nav-top" role="navigation" aria-label="top navigation"> <i data-toggle="wy-nav-top" class="fa fa-bars"></i> <a href="../index.html">CodeIgniter</a> </nav> <div class="wy-nav-content"> <div class="rst-content"> <div role="navigation" aria-label="breadcrumbs navigation"> <ul class="wy-breadcrumbs"> <li><a href="../index.html">Docs</a> &raquo;</li> <li><a href="index.html">Installation Instructions</a> &raquo;</li> <li><a href="upgrading.html">Upgrading From a Previous Version</a> &raquo;</li> <li>Upgrading From Beta 1.0 to Final 1.2</li> <li class="wy-breadcrumbs-aside"> </li> </ul> <hr/> </div> <div role="main" class="document"> <div class="section" id="upgrading-from-beta-1-0-to-final-1-2"> <h1>Upgrading From Beta 1.0 to Final 1.2<a class="headerlink" href="#upgrading-from-beta-1-0-to-final-1-2" title="Permalink to this headline">¶</a></h1> <p>To upgrade to Version 1.2 please replace the following directories with the new versions:</p> <div class="admonition note"> <p class="first admonition-title">Note</p> <p class="last">If you have any custom developed files in these folders please make copies of them first.</p> </div> <ul class="simple"> <li>drivers</li> <li>helpers</li> <li>init</li> <li>language</li> <li>libraries</li> <li>plugins</li> <li>scaffolding</li> </ul> <p>Please also replace your local copy of the user guide with the new version.</p> </div> </div> <footer> <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation"> <a href="upgrade_b11.html" class="btn btn-neutral float-right" title="Upgrading From Beta 1.0 to Beta 1.1">Next <span class="fa fa-arrow-circle-right"></span></a> <a href="upgrade_130.html" class="btn btn-neutral" title="Upgrading from 1.2 to 1.3"><span class="fa fa-arrow-circle-left"></span> Previous</a> </div> <hr/> <div role="contentinfo"> <p> &copy; Copyright 2014 - 2015, British Columbia Institute of Technology. Last updated on Feb 03, 2015. </p> </div> Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>. </footer> </div> </div> </section> </div> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT:'../', VERSION:'3.0-dev', COLLAPSE_INDEX:false, FILE_SUFFIX:'.html', HAS_SOURCE: false }; </script> <script type="text/javascript" src="../_static/jquery.js"></script> <script type="text/javascript" src="../_static/underscore.js"></script> <script type="text/javascript" src="../_static/doctools.js"></script> <script type="text/javascript" src="../_static/js/theme.js"></script> <script type="text/javascript"> jQuery(function () { SphinxRtdTheme.StickyNav.enable(); }); </script> </body> </html>
alikaptan/rehber
user_guide/installation/upgrade_120.html
HTML
mit
18,828
<!DOCTYPE html> <html> <head> <title>Shape Outside Box Valid Values</title> <link rel="author" title="Adobe" href="http://html.adobe.com/"> <link rel="author" title="Bear Travis" href="mailto:[email protected]"> <link rel="reviewer" title="Alan Stearns" href="mailto:[email protected]"> <!-- 2014-03-04 --> <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shape-outside-property"> <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#typedef-shape-box"> <meta name="assert" content="Shape-outside may be one of the box model box values"> <meta name="flags" content="dom"> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="support/parsing-utils.js"></script> </head> <body> <div id="log"></div> <script type="text/javascript"> var valid_shape_boxes = [ { "actual": "content-box", "expected_inline": "content-box", "expected_computed": "content-box" }, { "actual": "padding-box", "expected_inline": "padding-box", "expected_computed": "padding-box" }, { "actual": "border-box", "expected_inline": "border-box", "expected_computed": "border-box" }, { "actual": "margin-box", "expected_inline": "margin-box", "expected_computed": "margin-box" } ]; generate_tests( ParsingUtils.testInlineStyle, ParsingUtils.buildTestCases(valid_shape_boxes, 'inline') ); generate_tests( ParsingUtils.testComputedStyle, ParsingUtils.buildTestCases(valid_shape_boxes, 'computed') ); </script> </body> </html>
danakj/chromium
third_party/WebKit/LayoutTests/imported/csswg-test/css-shapes-1/shape-outside/values/shape-outside-box-000.html
HTML
bsd-3-clause
2,058
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <title>com.parse</title> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> </head> <body> <script type="text/javascript"><!-- if (location.href.indexOf('is-external=true') == -1) { parent.document.title="com.parse"; } //--> </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar_top"> <!-- --> </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../com/parse/package-summary.html">Package</a></li> <li>Class</li> <li><a href="package-use.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../deprecated-list.html">Deprecated</a></li> <li><a href="../../index-all.html">Index</a></li> <li><a href="../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li>Prev Package</li> <li>Next Package</li> </ul> <ul class="navList"> <li><a href="../../index.html?com/parse/package-summary.html" target="_top">Frames</a></li> <li><a href="package-summary.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <a name="skip-navbar_top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <div class="header"> <h1 title="Package" class="title">Package&nbsp;com.parse</h1> </div> <div class="contentContainer"> <ul class="blockList"> <li class="blockList"> <table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Interface Summary table, listing interfaces, and an explanation"> <caption><span>Interface Summary</span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Interface</th> <th class="colLast" scope="col">Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><a href="../../com/parse/ConfigCallback.html" title="interface in com.parse">ConfigCallback</a></td> <td class="colLast"> <div class="block">A <code>ConfigCallback</code> is used to run code after <a href="../../com/parse/ParseConfig.html#getInBackground()"><code>ParseConfig.getInBackground()</code></a> is used to fetch a new configuration object from the server in a background thread.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../com/parse/CountCallback.html" title="interface in com.parse">CountCallback</a></td> <td class="colLast"> <div class="block">A <code>CountCallback</code> is used to run code after a <a href="../../com/parse/ParseQuery.html" title="class in com.parse"><code>ParseQuery</code></a> is used to count objects matching a query in a background thread.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../com/parse/DeleteCallback.html" title="interface in com.parse">DeleteCallback</a></td> <td class="colLast"> <div class="block">A <code>DeleteCallback</code> is used to run code after saving a <a href="../../com/parse/ParseObject.html" title="class in com.parse"><code>ParseObject</code></a> in a background thread.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../com/parse/FindCallback.html" title="interface in com.parse">FindCallback</a>&lt;T extends <a href="../../com/parse/ParseObject.html" title="class in com.parse">ParseObject</a>&gt;</td> <td class="colLast"> <div class="block">A <code>FindCallback</code> is used to run code after a <a href="../../com/parse/ParseQuery.html" title="class in com.parse"><code>ParseQuery</code></a> is used to fetch a list of <a href="../../com/parse/ParseObject.html" title="class in com.parse"><code>ParseObject</code></a>s in a background thread.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../com/parse/FunctionCallback.html" title="interface in com.parse">FunctionCallback</a>&lt;T&gt;</td> <td class="colLast"> <div class="block">A <code>FunctionCallback</code> is used to run code after <a href="../../com/parse/ParseCloud.html#callFunction(java.lang.String,%20java.util.Map)"><code>ParseCloud.callFunction(java.lang.String, java.util.Map&lt;java.lang.String, ?&gt;)</code></a> is used to run a Cloud Function in a background thread.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../com/parse/GetCallback.html" title="interface in com.parse">GetCallback</a>&lt;T extends <a href="../../com/parse/ParseObject.html" title="class in com.parse">ParseObject</a>&gt;</td> <td class="colLast"> <div class="block">A <code>GetCallback</code> is used to run code after a <a href="../../com/parse/ParseQuery.html" title="class in com.parse"><code>ParseQuery</code></a> is used to fetch a <a href="../../com/parse/ParseObject.html" title="class in com.parse"><code>ParseObject</code></a> in a background thread.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../com/parse/GetDataCallback.html" title="interface in com.parse">GetDataCallback</a></td> <td class="colLast"> <div class="block">A <code>GetDataCallback</code> is used to run code after a <a href="../../com/parse/ParseFile.html" title="class in com.parse"><code>ParseFile</code></a> fetches its data on a background thread.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../com/parse/LocationCallback.html" title="interface in com.parse">LocationCallback</a></td> <td class="colLast"> <div class="block">A <code>LocationCallback</code> is used to run code after a Location has been fetched by <a href="../../com/parse/ParseGeoPoint.html#getCurrentLocationInBackground(long,%20android.location.Criteria)"><code>ParseGeoPoint.getCurrentLocationInBackground(long, android.location.Criteria)</code></a>.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../com/parse/LogInCallback.html" title="interface in com.parse">LogInCallback</a></td> <td class="colLast"> <div class="block">A <code>LogInCallback</code> is used to run code after logging in a user.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../com/parse/LogOutCallback.html" title="interface in com.parse">LogOutCallback</a></td> <td class="colLast"> <div class="block">A <code>LogOutCallback</code> is used to run code after logging out a user.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../com/parse/ParseQueryAdapter.OnQueryLoadListener.html" title="interface in com.parse">ParseQueryAdapter.OnQueryLoadListener</a>&lt;T extends <a href="../../com/parse/ParseObject.html" title="class in com.parse">ParseObject</a>&gt;</td> <td class="colLast"> <div class="block">Implement with logic that is called before and after objects are fetched from Parse by the adapter.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../com/parse/ParseQueryAdapter.QueryFactory.html" title="interface in com.parse">ParseQueryAdapter.QueryFactory</a>&lt;T extends <a href="../../com/parse/ParseObject.html" title="class in com.parse">ParseObject</a>&gt;</td> <td class="colLast"> <div class="block">Implement to construct your own custom <a href="../../com/parse/ParseQuery.html" title="class in com.parse"><code>ParseQuery</code></a> for fetching objects.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../com/parse/ProgressCallback.html" title="interface in com.parse">ProgressCallback</a></td> <td class="colLast"> <div class="block">A <code>ProgressCallback</code> is used to get upload or download progress of a <a href="../../com/parse/ParseFile.html" title="class in com.parse"><code>ParseFile</code></a> action.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../com/parse/RefreshCallback.html" title="interface in com.parse">RefreshCallback</a></td> <td class="colLast"> <div class="block">A <code>RefreshCallback</code> is used to run code after refresh is used to update a <a href="../../com/parse/ParseObject.html" title="class in com.parse"><code>ParseObject</code></a> in a background thread.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../com/parse/RequestPasswordResetCallback.html" title="interface in com.parse">RequestPasswordResetCallback</a></td> <td class="colLast"> <div class="block">A <code>RequestPasswordResetCallback</code> is used to run code requesting a password reset for a user.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../com/parse/SaveCallback.html" title="interface in com.parse">SaveCallback</a></td> <td class="colLast"> <div class="block">A <code>SaveCallback</code> is used to run code after saving a <a href="../../com/parse/ParseObject.html" title="class in com.parse"><code>ParseObject</code></a> in a background thread.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../com/parse/SendCallback.html" title="interface in com.parse">SendCallback</a></td> <td class="colLast"> <div class="block">A <code>SendCallback</code> is used to run code after sending a <a href="../../com/parse/ParsePush.html" title="class in com.parse"><code>ParsePush</code></a> in a background thread.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../com/parse/SignUpCallback.html" title="interface in com.parse">SignUpCallback</a></td> <td class="colLast"> <div class="block">A <code>SignUpCallback</code> is used to run code after signing up a <a href="../../com/parse/ParseUser.html" title="class in com.parse"><code>ParseUser</code></a> in a background thread.</div> </td> </tr> </tbody> </table> </li> <li class="blockList"> <table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation"> <caption><span>Class Summary</span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Class</th> <th class="colLast" scope="col">Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><a href="../../com/parse/Parse.html" title="class in com.parse">Parse</a></td> <td class="colLast"> <div class="block">The <code>Parse</code> class contains static functions that handle global configuration for the Parse library.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../com/parse/ParseACL.html" title="class in com.parse">ParseACL</a></td> <td class="colLast"> <div class="block">A <code>ParseACL</code> is used to control which users can access or modify a particular object.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../com/parse/ParseAnalytics.html" title="class in com.parse">ParseAnalytics</a></td> <td class="colLast"> <div class="block">The <code>ParseAnalytics</code> class provides an interface to Parse's logging and analytics backend.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../com/parse/ParseAnonymousUtils.html" title="class in com.parse">ParseAnonymousUtils</a></td> <td class="colLast"> <div class="block">Provides utility functions for working with Anonymously logged-in users.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../com/parse/ParseCloud.html" title="class in com.parse">ParseCloud</a></td> <td class="colLast"> <div class="block">The ParseCloud class defines provides methods for interacting with Parse Cloud Functions.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../com/parse/ParseConfig.html" title="class in com.parse">ParseConfig</a></td> <td class="colLast"> <div class="block">The <code>ParseConfig</code> is a local representation of configuration data that can be set from the Parse dashboard.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../com/parse/ParseFile.html" title="class in com.parse">ParseFile</a></td> <td class="colLast"> <div class="block"><code>ParseFile</code> is a local representation of a file that is saved to the Parse cloud.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../com/parse/ParseGeoPoint.html" title="class in com.parse">ParseGeoPoint</a></td> <td class="colLast"> <div class="block"><code>ParseGeoPoint</code> represents a latitude / longitude point that may be associated with a key in a <a href="../../com/parse/ParseObject.html" title="class in com.parse"><code>ParseObject</code></a> or used as a reference point for geo queries.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../com/parse/ParseImageView.html" title="class in com.parse">ParseImageView</a></td> <td class="colLast"> <div class="block">A specialized <code>ImageView</code> that downloads and displays remote images stored on Parse's servers.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../com/parse/ParseInstallation.html" title="class in com.parse">ParseInstallation</a></td> <td class="colLast"> <div class="block">The <code>ParseInstallation</code> is a local representation of installation data that can be saved and retrieved from the Parse cloud.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../com/parse/ParseObject.html" title="class in com.parse">ParseObject</a></td> <td class="colLast"> <div class="block">The <code>ParseObject</code> is a local representation of data that can be saved and retrieved from the Parse cloud.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../com/parse/ParsePush.html" title="class in com.parse">ParsePush</a></td> <td class="colLast"> <div class="block">The <code>ParsePush</code> is a local representation of data that can be sent as a push notification.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../com/parse/ParsePushBroadcastReceiver.html" title="class in com.parse">ParsePushBroadcastReceiver</a></td> <td class="colLast"> <div class="block">A <a href="http://developer.android.com/reference/android/content/BroadcastReceiver.html?is-external=true" title="class or interface in android.content"><code>BroadcastReceiver</code></a> for rendering and reacting to to Notifications.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../com/parse/ParseQuery.html" title="class in com.parse">ParseQuery</a>&lt;T extends <a href="../../com/parse/ParseObject.html" title="class in com.parse">ParseObject</a>&gt;</td> <td class="colLast"> <div class="block">The <code>ParseQuery</code> class defines a query that is used to fetch <a href="../../com/parse/ParseObject.html" title="class in com.parse"><code>ParseObject</code></a>s.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../com/parse/ParseQueryAdapter.html" title="class in com.parse">ParseQueryAdapter</a>&lt;T extends <a href="../../com/parse/ParseObject.html" title="class in com.parse">ParseObject</a>&gt;</td> <td class="colLast"> <div class="block">A <code>ParseQueryAdapter</code> handles the fetching of objects by page, and displaying objects as views in a <a href="http://developer.android.com/reference/android/widget/ListView.html?is-external=true" title="class or interface in android.widget"><code>ListView</code></a>.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../com/parse/ParseRelation.html" title="class in com.parse">ParseRelation</a>&lt;T extends <a href="../../com/parse/ParseObject.html" title="class in com.parse">ParseObject</a>&gt;</td> <td class="colLast"> <div class="block">A class that is used to access all of the children of a many-to-many relationship.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../com/parse/ParseRole.html" title="class in com.parse">ParseRole</a></td> <td class="colLast"> <div class="block">Represents a Role on the Parse server.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../com/parse/ParseSession.html" title="class in com.parse">ParseSession</a></td> <td class="colLast"> <div class="block">The <code>ParseSession</code> is a local representation of session data that can be saved and retrieved from the Parse cloud.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../com/parse/ParseTwitterUtils.html" title="class in com.parse">ParseTwitterUtils</a></td> <td class="colLast"> <div class="block">Provides a set of utilities for using Parse with Twitter.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../com/parse/ParseUser.html" title="class in com.parse">ParseUser</a></td> <td class="colLast"> <div class="block">The <code>ParseUser</code> is a local representation of user data that can be saved and retrieved from the Parse cloud.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../com/parse/PushService.html" title="class in com.parse">PushService</a></td> <td class="colLast"> <div class="block">A service to listen for push notifications.</div> </td> </tr> </tbody> </table> </li> <li class="blockList"> <table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Summary table, listing enums, and an explanation"> <caption><span>Enum Summary</span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Enum</th> <th class="colLast" scope="col">Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><a href="../../com/parse/ParseQuery.CachePolicy.html" title="enum in com.parse">ParseQuery.CachePolicy</a></td> <td class="colLast"> <div class="block"><code>CachePolicy</code> specifies different caching policies that could be used with <a href="../../com/parse/ParseQuery.html" title="class in com.parse"><code>ParseQuery</code></a>.</div> </td> </tr> </tbody> </table> </li> <li class="blockList"> <table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Exception Summary table, listing exceptions, and an explanation"> <caption><span>Exception Summary</span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Exception</th> <th class="colLast" scope="col">Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><a href="../../com/parse/ParseException.html" title="class in com.parse">ParseException</a></td> <td class="colLast"> <div class="block">A ParseException gets raised whenever a <a href="../../com/parse/ParseObject.html" title="class in com.parse"><code>ParseObject</code></a> issues an invalid request, such as deleting or editing an object that no longer exists on the server, or when there is a network failure preventing communication with the Parse server.</div> </td> </tr> </tbody> </table> </li> <li class="blockList"> <table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Annotation Types Summary table, listing annotation types, and an explanation"> <caption><span>Annotation Types Summary</span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Annotation Type</th> <th class="colLast" scope="col">Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><a href="../../com/parse/ParseClassName.html" title="annotation in com.parse">ParseClassName</a></td> <td class="colLast"> <div class="block">Associates a class name for a subclass of ParseObject.</div> </td> </tr> </tbody> </table> </li> </ul> </div> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar_bottom"> <!-- --> </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../com/parse/package-summary.html">Package</a></li> <li>Class</li> <li><a href="package-use.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../deprecated-list.html">Deprecated</a></li> <li><a href="../../index-all.html">Index</a></li> <li><a href="../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li>Prev Package</li> <li>Next Package</li> </ul> <ul class="navList"> <li><a href="../../index.html?com/parse/package-summary.html" target="_top">Frames</a></li> <li><a href="package-summary.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <a name="skip-navbar_bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> </body> </html>
didouard/beelee
presentation/libs/save/Parse-1.9.2-javadoc/com/parse/package-summary.html
HTML
apache-2.0
21,194
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Feed Viewer</title> <link rel="stylesheet" type="text/css" href="Feed-Viewer.css"> <!-- GC --> <style type="text/css"> .x-menu-item div.preview-right, .preview-right { background-image: url(images/preview-right.gif); } .x-menu-item div.preview-bottom, .preview-bottom { background-image: url(images/preview-bottom.gif); } .x-menu-item div.preview-hide, .preview-hide { background-image: url(images/preview-hide.gif); } #reading-menu .x-menu-item-checked { border: 1px dotted #a3bae9 !important; background: #DFE8F6; padding: 0; margin: 0; } </style> <script type="text/javascript" src="../../examples/shared/include-ext.js"></script> <script type="text/javascript" src="../../examples/shared/options-toolbar.js"></script> <script type="text/javascript"> function hasOption (name) { return window.location.search.indexOf(name) >= 0; } Ext.Loader.setConfig({enabled: true}); Ext.Loader.setPath('Ext.ux', '../ux'); Ext.require([ 'Ext.grid.*', 'Ext.data.*', 'Ext.util.*', 'Ext.Action', 'Ext.tab.*', 'Ext.button.*', 'Ext.form.*', 'Ext.layout.container.Card', 'Ext.layout.container.Border', 'Ext.ux.ajax.SimManager', 'Ext.ux.PreviewPlugin' ]); Ext.onReady(function(){ if (hasOption('simjax')) { initAjaxSim(); } var app = new FeedViewer.App(); }); </script> <script type="text/javascript" src="viewer/FeedPost.js"></script> <script type="text/javascript" src="viewer/FeedDetail.js"></script> <script type="text/javascript" src="viewer/FeedGrid.js"></script> <script type="text/javascript" src="viewer/FeedInfo.js"></script> <script type="text/javascript" src="viewer/FeedPanel.js"></script> <script type="text/javascript" src="viewer/FeedViewer.js"></script> <script type="text/javascript" src="viewer/FeedWindow.js"></script> <script type="text/javascript" src="viewer/Sim.js"></script> </head> <body> </body> </html>
rch/flask-openshift
wsgi/container/pkgs/sencha/static/ext-4.2.2.1144/examples/feed-viewer/feed-viewer.html
HTML
mit
2,311
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_24) on Thu May 05 12:12:13 EDT 2011 --> <TITLE> Deprecated List </TITLE> <META NAME="date" CONTENT="2011-05-05"> <LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Deprecated List"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="com/larvalabs/svgandroid/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="com/larvalabs/svgandroid/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Deprecated</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;PREV&nbsp; &nbsp;NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="index.html?deprecated-list.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="deprecated-list.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <CENTER> <H2> <B>Deprecated API</B></H2> </CENTER> <HR SIZE="4" NOSHADE> <B>Contents</B><UL> </UL> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="com/larvalabs/svgandroid/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="com/larvalabs/svgandroid/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Deprecated</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;PREV&nbsp; &nbsp;NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="index.html?deprecated-list.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="deprecated-list.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>
SIMPLYBOYS/WorldMoviesPro
third_party/svg-android/docs/deprecated-list.html
HTML
apache-2.0
4,776
<html> <head> <script> if (window.testRunner) { testRunner.dumpAsText(); testRunner.waitUntilDone(); testRunner.setCanOpenWindows(); } document.cookie = 'cookie=parent'; function log(msg) { var line = document.createElement('div'); line.appendChild(document.createTextNode(msg)); document.getElementById('console').appendChild(line); } function doTest() { var wnd0 = window.open('about:blank'); var wnd1 = window.open(''); log('--- Test begins ---\n'); log('* "about:blank"\n'); log('document.URL = ' + wnd0.document.URL + '\n'); log('document.baseURI = ' + wnd0.document.baseURI + '\n'); log('document.cookie = ' + wnd0.document.cookie + '\n'); log('* ""\n'); log('document.URL = ' + wnd1.document.URL + '\n'); log('document.baseURI = ' + wnd1.document.baseURI + '\n'); log('document.cookie = ' + wnd1.document.cookie + '\n'); log('--- After document.open() ---\n'); wnd0.document.open(); wnd1.document.open(); log('* "about:blank"\n'); log('document.URL = ' + wnd0.document.URL + '\n'); log('document.baseURI = ' + wnd0.document.baseURI + '\n'); log('document.cookie = ' + wnd0.document.cookie + '\n'); log('* ""\n'); log('document.URL = ' + wnd1.document.URL + '\n'); log('document.baseURI = ' + wnd1.document.baseURI + '\n'); log('document.cookie = ' + wnd1.document.cookie + '\n'); log('--- After document.close() ---\n'); wnd0.document.close(); wnd1.document.close(); log('* "about:blank"\n'); log('document.URL = ' + wnd0.document.URL + '\n'); log('document.baseURI = ' + wnd0.document.baseURI + '\n'); log('document.cookie = ' + wnd0.document.cookie + '\n'); log('* ""\n'); log('document.URL = ' + wnd1.document.URL + '\n'); log('document.baseURI = ' + wnd1.document.baseURI + '\n'); log('document.cookie = ' + wnd1.document.cookie + '\n'); log('--- Test ends ---\n'); testRunner.notifyDone(); } </script> </head> <body onload="doTest()"> <div id="console"></div> </body> </html>
axinging/chromium-crosswalk
third_party/WebKit/LayoutTests/http/tests/security/aboutBlank/security-context-window-open.html
HTML
bsd-3-clause
1,975
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Float wrapping w/trailing whitespace</title> <style> .test { float: left; clear: both; margin: 1px 0; text-rendering: optimizeLegibility; background: silver; } </style> </head> <body> <h1>Float wrapping w/trailing whitespace</h1> <p> Tests wrapping of text in floats with leading and/or trailing white-space. Neither line below should wrap. </p> <div> <span class="test">लपेट नहीं करना चाहिए&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;</span> <span class="test">लपेट नहीं करना चाहिए </span> <span class="test">लपेट नहीं करना चाहिए</span> <span class="test">should not wrap&#9;</span> <span class="test">should not wrap&#9; </span> <span class="test">should not wrap &#9;</span> <span class="test">should not wrap</span> </div> </body> </html>
nwjs/chromium.src
third_party/blink/web_tests/virtual/text-antialias/trailing_whitespace_wrapping.html
HTML
bsd-3-clause
1,207
<!doctype html> <html> <head> <title>CodeMirror: Oracle PL/SQL mode</title> <link rel="stylesheet" href="../../lib/codemirror.css"> <script src="../../lib/codemirror.js"></script> <script src="plsql.js"></script> <link rel="stylesheet" href="../../doc/docs.css"> <style>.CodeMirror {border: 2px inset #dee;}</style> </head> <body> <h1>CodeMirror: Oracle PL/SQL mode</h1> <form><textarea id="code" name="code"> -- Oracle PL/SQL Code Demo /* based on c-like mode, adapted to PL/SQL by Peter Raganitsch ( http://www.oracle-and-apex.com/ ) April 2011 */ DECLARE vIdx NUMBER; vString VARCHAR2(100); cText CONSTANT VARCHAR2(100) := 'That''s it! Have fun with CodeMirror 2'; BEGIN vIdx := 0; -- FOR rDATA IN ( SELECT * FROM EMP ORDER BY EMPNO ) LOOP vIdx := vIdx + 1; vString := rDATA.EMPNO || ' - ' || rDATA.ENAME; -- UPDATE EMP SET SAL = SAL * 101/100 WHERE EMPNO = rDATA.EMPNO ; END LOOP; -- SYS.DBMS_OUTPUT.Put_Line (cText); END; -- </textarea></form> <script> var editor = CodeMirror.fromTextArea(document.getElementById("code"), { lineNumbers: true, matchBrackets: true, indentUnit: 4, mode: "text/x-plsql" }); </script> <p> Simple mode that handles Oracle PL/SQL language (and Oracle SQL, of course). </p> <p><strong>MIME type defined:</strong> <code>text/x-plsql</code> (PLSQL code) </html>
michel/webrtc_webgl_exempiments
www/vendor/CodeMirror2/mode/plsql/index.html
HTML
mit
1,553
<!DOCTYPE html> <html> <body style="margin: 0px; padding: 0px;"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="600"> <rect width="500px" height="500px" fill="green"/> </svg> </body> </html>
scheib/chromium
third_party/blink/web_tests/svg/custom/svg-image-initial-size-expected.html
HTML
bsd-3-clause
279
<!-- Copyright 2015 The AMP HTML Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS-IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the license. --> <!doctype html> <!-- Test Description: Tests that we allow the global RDFa attributes (as used in schema.org). --> <html ⚡ prefix="dc: http://purl.org/dc/terms/ schema: http://schema.org/"> <head> <meta charset="utf-8"> <script async src="https://cdn.ampproject.org/v0.js"></script> <link rel="canonical" href="./regular-html-version.html"> <meta name="viewport" content="width=device-width,minimum-scale=1"> <meta property="dc:title" content="RDFa Example Page"> <meta property="dc:creator" content="AMP HTML Authors"> <style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript> </head> <body> <div typeof="schema:TVSeries" about="Buffy-the-Vampire-Slayer"> <h1 property="schema:name">Buffy the Vampire Slayer</h1> <ul> <li><a property="schema:url" href="https://en.wikipedia.org/wiki/Buffy_the_Vampire_Slayer">Wikipedia Page</a></li> <li>Start Date: <span property="schema:startDate" content="1997-03-10">March 10, 1997</span></li> <li>End Date: <span property="schema:endDate" content="2003-05-20">May 20, 2003</span></li> <li>Seasons: <span property="schema:numberOfSeasons">7</span></li> </ul> <h2>Cast</h2> <ul> <li rel="schema:actor" typeof="schema:PerformanceRole"> <span rel="schema:actor" resource="https://en.wikipedia.org/wiki/Nicholas_Brendon">Nicholas Brendon</span> as <span property="schema:characterName">Xander Harris</span> </li> <li rel="schema:actor" typeof="schema:PerformanceRole"> <span rel="schema:actor" resource="https://en.wikipedia.org/wiki/Sarah_Michelle_Gellar">Sarah Michelle Gellar</span> as <span property="schema:characterName">Buffy Summers</span> </li> </ul> </div> <h2>Actors</h2> <div typeof="schema:Person" about="https://en.wikipedia.org/wiki/Sarah_Michelle_Gellar"> <span property="schema:givenName">Sarah Michelle</span> <span property="schema:familyName">Gellar</span> <link property="schema:url" href="https://en.wikipedia.org/wiki/Sarah_Michelle_Gellar"> <meta property="schema:alternateName" content="Sarah Michelle Prinze"> <meta rev="schema:creator" resource="https://example.org/Gellar.jpg"> </div> <div typeof="schema:Person" about="https://en.wikipedia.org/wiki/Nicholas_Brendon"> <span property="schema:givenName">Nicholas</span> <span property="schema:familyName">Brendon</span> <link property="schema:url" href="https://en.wikipedia.org/wiki/Nicholas_Brendon"> <meta property="schema:alternateName" content="Nicholas Brendon Schultz"> <meta rev="schema:creator" resource="https://example.org/Brendon.jpg"> </div> <h2>Photos</h2> <div typeof="schema:ImageObject" about="https://example.org/Gellar.jpg" rev="schema:image" resource="https://en.wikipedia.org/wiki/Sarah_Michelle_Gellar"> <amp-img src="https://example.org/Gellar.jpg" property="schema:contentUrl" alt="Self Portrait by Sarah" layout="fixed" height="320" width="200"></amp-img> <span property="schema:name">Self Portrait</span> </div> <div typeof="schema:ImageObject" about="https://example.org/Brendon.jpg" rev="schema:image" resource="https://en.wikipedia.org/wiki/Nicholas_Brendon"> <amp-img src="https://example.org/Brendon.jpg" property="schema:contentUrl" alt="Self Portrait by Nicholas" layout="fixed" height="320" width="200"></amp-img> <span property="schema:name">Self Portrait</span> </div> </body> </html>
powdercloud/amphtml
validator/testdata/feature_tests/rdfa.html
HTML
apache-2.0
4,835
<html> <head> <style> div { content:url(resources/show-shoes-vs-pie.png); } </style> </head> <body> <div> <div style="background-color:cyan; width:50px; height:600px;"></div> </div> </body> </html>
nwjs/chromium.src
third_party/blink/web_tests/fast/css/contentDivWithChildren.html
HTML
bsd-3-clause
253
<head> <script> window.onload = function () { if (window.testRunner) testRunner.dumpAsText(); var abe = document.getElementById("abe"); var dragTarget = document.getElementById("dragTarget"); eventSender.mouseMoveTo(abe.offsetLeft + 50, abe.offsetTop + 50); eventSender.mouseDown(); eventSender.leapForward(500); eventSender.mouseMoveTo(dragTarget.offsetLeft + 10, dragTarget.offsetTop + 10); eventSender.mouseUp(); } </script> </head> <p>This page tests that we don't crash if we drag something to an iframe that has an invalid source.</p> <img id="abe" src="http://127.0.0.1:8000/security/resources/abe.png"> <div>SUCCESS - didn't crash</div> <iframe id="dragTarget" src="file:"></iframe>
scheib/chromium
third_party/blink/web_tests/http/tests/misc/drag-over-iframe-invalid-source-crash.html
HTML
bsd-3-clause
736
<!doctype html> <html> <head> <title>Dummy page 2</title> </head> <body> <script type="text/javascript"> if( self == top || !parent.reportload ) { document.write("<p>FAIL. Browser got confused when navigating forwards, and navigated the whole window to the iframe's location, instead of just navigating the iframe. It is not possible to run the testsuite.<\/p>"); } </script> </body> </html>
hgl888/web-testing-service
wts/tests/sessionhistory/w3c/blank2.html
HTML
bsd-3-clause
402
<!DOCTYPE html> <meta charset="UTF-8"> <title>CSS Writing Modes Test: Computed writing-mode for html element when writing mode for body propagated to viewport</title> <link rel="author" title="Rune Lillesveen" href="mailto:[email protected]"> <link rel="help" href="https://www.w3.org/TR/css-writing-modes-3/#principal-flow"> <meta name="assert" content="Test that propagating writing-mode from body to viewport does not affect the computed writing-mode of the html element"> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <style> .vertical-lr { writing-mode: vertical-lr } </style> <body class="vertical-lr"> <script> test(function() { assert_equals(getComputedStyle(document.body).writingMode, "vertical-lr"); }, "Check computed writing-mode for body element."); test(function() { assert_not_equals(getComputedStyle(document.documentElement).writingMode, "vertical-lr"); }, "Check computed writing-mode for html root element."); test(function() { document.body.className = ""; assert_not_equals(getComputedStyle(document.body).writingMode, "vertical-lr"); }, "Check computed writing-mode for body element when style no longer applies."); </script>
nwjs/chromium.src
third_party/blink/web_tests/external/wpt/css/css-writing-modes/wm-propagation-body-computed-root.html
HTML
bsd-3-clause
1,238
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <TITLE> All Classes </TITLE> <LINK REL ="stylesheet" TYPE="text/css" HREF="style.css" TITLE="Style"> </HEAD> <BODY BGCOLOR="white"> <FONT size="+1" CLASS="FrameHeadingFont"> <B>All Classes</B></FONT> <BR> <TABLE BORDER="0" WIDTH="100%" SUMMARY=""> <TR> <TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="com/parse/CountCallback.html" title="class in com.parse">CountCallback</A> <BR> <A HREF="com/parse/DeleteCallback.html" title="class in com.parse">DeleteCallback</A> <BR> <A HREF="com/parse/FindCallback.html" title="class in com.parse">FindCallback</A> <BR> <A HREF="com/parse/FunctionCallback.html" title="class in com.parse">FunctionCallback</A> <BR> <A HREF="com/parse/GetCallback.html" title="class in com.parse">GetCallback</A> <BR> <A HREF="com/parse/GetDataCallback.html" title="class in com.parse">GetDataCallback</A> <BR> <A HREF="com/parse/LocationCallback.html" title="class in com.parse">LocationCallback</A> <BR> <A HREF="com/parse/LogInCallback.html" title="class in com.parse">LogInCallback</A> <BR> <A HREF="com/parse/Parse.html" title="class in com.parse">Parse</A> <BR> <A HREF="com/parse/ParseACL.html" title="class in com.parse">ParseACL</A> <BR> <A HREF="com/parse/ParseAnalytics.html" title="class in com.parse">ParseAnalytics</A> <BR> <A HREF="com/parse/ParseAnonymousUtils.html" title="class in com.parse">ParseAnonymousUtils</A> <BR> <A HREF="com/parse/ParseClassName.html" title="annotation in com.parse">ParseClassName</A> <BR> <A HREF="com/parse/ParseCloud.html" title="class in com.parse">ParseCloud</A> <BR> <A HREF="com/parse/ParseException.html" title="class in com.parse">ParseException</A> <BR> <A HREF="com/parse/ParseFacebookUtils.html" title="class in com.parse">ParseFacebookUtils</A> <BR> <A HREF="com/parse/ParseFile.html" title="class in com.parse">ParseFile</A> <BR> <A HREF="com/parse/ParseGeoPoint.html" title="class in com.parse">ParseGeoPoint</A> <BR> <A HREF="com/parse/ParseImageView.html" title="class in com.parse">ParseImageView</A> <BR> <A HREF="com/parse/ParseInstallation.html" title="class in com.parse">ParseInstallation</A> <BR> <A HREF="com/parse/ParseObject.html" title="class in com.parse">ParseObject</A> <BR> <A HREF="com/parse/ParsePush.html" title="class in com.parse">ParsePush</A> <BR> <A HREF="com/parse/ParseQuery.html" title="class in com.parse">ParseQuery</A> <BR> <A HREF="com/parse/ParseQuery.CachePolicy.html" title="enum in com.parse">ParseQuery.CachePolicy</A> <BR> <A HREF="com/parse/ParseQueryAdapter.html" title="class in com.parse">ParseQueryAdapter</A> <BR> <A HREF="com/parse/ParseQueryAdapter.OnQueryLoadListener.html" title="interface in com.parse"><I>ParseQueryAdapter.OnQueryLoadListener</I></A> <BR> <A HREF="com/parse/ParseQueryAdapter.QueryFactory.html" title="interface in com.parse"><I>ParseQueryAdapter.QueryFactory</I></A> <BR> <A HREF="com/parse/ParseRelation.html" title="class in com.parse">ParseRelation</A> <BR> <A HREF="com/parse/ParseRole.html" title="class in com.parse">ParseRole</A> <BR> <A HREF="com/parse/ParseTwitterUtils.html" title="class in com.parse">ParseTwitterUtils</A> <BR> <A HREF="com/parse/ParseUser.html" title="class in com.parse">ParseUser</A> <BR> <A HREF="com/parse/ProgressCallback.html" title="class in com.parse">ProgressCallback</A> <BR> <A HREF="com/parse/PushService.html" title="class in com.parse">PushService</A> <BR> <A HREF="com/parse/RefreshCallback.html" title="class in com.parse">RefreshCallback</A> <BR> <A HREF="com/parse/RequestPasswordResetCallback.html" title="class in com.parse">RequestPasswordResetCallback</A> <BR> <A HREF="com/parse/SaveCallback.html" title="class in com.parse">SaveCallback</A> <BR> <A HREF="com/parse/SendCallback.html" title="class in com.parse">SendCallback</A> <BR> <A HREF="com/parse/SignUpCallback.html" title="class in com.parse">SignUpCallback</A> <BR> </FONT></TD> </TR> </TABLE> </BODY> </HTML>
hzsweers/SUREwalk_android
surewalk/libs/Parse-1.4.0/Parse-1.4.0-javadoc/allclasses-noframe.html
HTML
mit
4,009
<!doctype html> <html> <head> <meta charset=utf-8> <meta name="timeout" content="long"> <title>Encrypted Media Extensions: Successful Playback, persistent-license session with DRM, mp4, retrieve license, playback and destroy the license</title> <link rel="help" href="https://w3c.github.io/encrypted-media/"> <!-- Web Platform Test Harness scripts --> <script src=/resources/testharness.js></script> <script src=/resources/testharnessreport.js></script> <!-- Helper scripts for Encrypted Media Extensions tests --> <script src=/encrypted-media/util/utils.js></script> <script src=/encrypted-media/util/fetch.js></script> <script src=/encrypted-media/util/testmediasource.js></script> <script src=/encrypted-media/util/utf8.js></script> <!-- Content metadata --> <script src=/encrypted-media/content/content-metadata.js></script> <!-- Message handler for DRM keysystem --> <script src=/encrypted-media/util/drm-messagehandler.js></script> <!-- The script for this specific test --> <script src=/encrypted-media/scripts/playback-retrieve-persistent-license.js></script> </head> <body> <div id='log'></div> <div id='video'> <video id="videoelement" width="200px"></video> </div> <script> var keysystem = getSupportedKeySystem(), contentitem = content['mp4-basic'], handler = new MessageHandler( keysystem, contentitem, 'persistent-license' ), config = { content: contentitem, video: document.getElementById('videoelement'), keysystem: keysystem, messagehandler: handler.messagehandler, audioPath: contentitem.audio.path, videoPath: contentitem.video.path, audioType: contentitem.audio.type, videoType: contentitem.video.type, initDataType: contentitem.initDataType, windowscript: 'resources/drm-retrieve-destroy-persistent-license.html', testcase: 'playback, retrieve, playback and destroy' }; runTest(config); </script> </body> </html>
scheib/chromium
third_party/blink/web_tests/external/wpt/encrypted-media/drm-mp4-playback-retrieve-destroy-persistent-license.https.html
HTML
bsd-3-clause
2,338
<!doctype html> <title>CodeMirror: TTCN-CFG mode</title> <meta charset="utf-8" /> <link rel=stylesheet href="../../doc/docs.css"> <link rel="stylesheet" href="../../lib/codemirror.css"> <script src="../../lib/codemirror.js"></script> <script src="ttcn-cfg.js"></script> <style type="text/css"> .CodeMirror { border-top: 1px solid black; border-bottom: 1px solid black; } </style> <div id=nav> <a href="http://codemirror.net"> <h1>CodeMirror</h1> <img id=logo src="../../doc/logo.png"> </a> <ul> <li> <a href="../../index.html">Home</a> <li> <a href="../../doc/manual.html">Manual</a> <li> <a href="https://github.com/codemirror/codemirror">Code</a> </ul> <ul> <li> <a href="../index.html">Language modes</a> <li> <a class=active href="http://en.wikipedia.org/wiki/TTCN">TTCN-CFG</a> </ul> </div> <article> <h2>TTCN-CFG example</h2> <div> <textarea id="ttcn-cfg-code"> [MODULE_PARAMETERS] # This section shall contain the values of all parameters that are defined in your TTCN-3 modules. [LOGGING] # In this section you can specify the name of the log file and the classes of events # you want to log into the file or display on console (standard error). LogFile := "logs/%e.%h-%r.%s" FileMask := LOG_ALL | DEBUG | MATCHING ConsoleMask := ERROR | WARNING | TESTCASE | STATISTICS | PORTEVENT LogSourceInfo := Yes AppendFile := No TimeStampFormat := DateTime LogEventTypes := Yes SourceInfoFormat := Single LogEntityName := Yes [TESTPORT_PARAMETERS] # In this section you can specify parameters that are passed to Test Ports. [DEFINE] # In this section you can create macro definitions, # that can be used in other configuration file sections except [INCLUDE]. [INCLUDE] # To use configuration settings given in other configuration files, # the configuration files just need to be listed in this section, with their full or relative pathnames. [EXTERNAL_COMMANDS] # This section can define external commands (shell scripts) to be executed by the ETS # whenever a control part or test case is started or terminated. BeginTestCase := "" EndTestCase := "" BeginControlPart := "" EndControlPart := "" [EXECUTE] # In this section you can specify what parts of your test suite you want to execute. [GROUPS] # In this section you can specify groups of hosts. These groups can be used inside the # [COMPONENTS] section to restrict the creation of certain PTCs to a given set of hosts. [COMPONENTS] # This section consists of rules restricting the location of created PTCs. [MAIN_CONTROLLER] # The options herein control the behavior of MC. TCPPort := 0 KillTimer := 10.0 NumHCs := 0 LocalAddress := </textarea> </div> <script> var ttcnEditor = CodeMirror.fromTextArea(document.getElementById("ttcn-cfg-code"), { lineNumbers: true, matchBrackets: true, mode: "text/x-ttcn-cfg" }); ttcnEditor.setSize(600, 860); var mac = CodeMirror.keyMap.default == CodeMirror.keyMap.macDefault; CodeMirror.keyMap.default[(mac ? "Cmd" : "Ctrl") + "-Space"] = "autocomplete"; </script> <br/> <p> <strong>Language:</strong> Testing and Test Control Notation - Configuration files ( <a href="http://en.wikipedia.org/wiki/TTCN">TTCN-CFG</a>) </p> <p> <strong>MIME types defined:</strong> <code>text/x-ttcn-cfg</code>.</p> <br/> <p>The development of this mode has been sponsored by <a href="http://www.ericsson.com/">Ericsson </a>.</p> <p>Coded by Asmelash Tsegay Gebretsadkan </p> </article>
liangazhou/django-rdp
workspace/myproject/myproject/templates/example/assets/global/plugins/codemirror/mode/ttcn-cfg/index.html
HTML
apache-2.0
3,804
<hr /> <div id="disqus_thread"></div> <script type="text/javascript"> /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */ var disqus_shortname = '{{ site.disqus-shortname }}'; /* * * DON'T EDIT BELOW THIS LINE * * */ (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })(); </script> <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
HubSpot/vitess
vitess.io/_includes/comments.html
HTML
apache-2.0
672
<h1> {{title}} </h1>
jwalsh/seattle-angular-hack-day
your-cool-app/src/app/app.component.html
HTML
apache-2.0
23
{% extends 'inclusion_base.html' %} {% block content %}one{% endblock %}
atul-bhouraskar/django
tests/template_tests/templates/inclusion_extends1.html
HTML
bsd-3-clause
73
--- layout: post typo_id: 32 title: "DDD: Making Implicit Concepts Explicit" --- <p> This chapter was a bit long and I felt that it should be split into two chapters. Overall the contents of the chapter fits well with the title but the first part focused on making iterative steps to refine the model and the second part focused on specifications. </p> <p> The first part of the chapter mentions some useful methods for identifying missing concepts from the domain. For instance, by paying attention to the daily conversations between developers and domain experts, one might be able to pick up discrepancies in model and the description that the domain experts use. These discrepancies hint at possible concepts that might enhance the model. What else should you pick up from conversations with the domain experts? Pay attention to the contradictions between domain experts. These contradictions might be signs of different approaches to the problem and you should be prepared to accommodate multiple solutions if necessary. </p> <p> Moreover, you should also not discount the fact that reading a book, a paper or some article on the subject might pave the way for a better domain model. Some domain experts do not have the time to sit through every meeting with the developers. In such cases, it is best to pick up the literature and peruse it. It might also be beneficial to see how other developers have approached this problem in the past. </p> <p> Another quick way to diagnose potential problems with the model is by checking for <a href="http://wiki.java.net/bin/view/People/SmellsToRefactorings"><i>code smells</i></a>. By focusing on the smells between classes, you can identify potential trouble hotspots that might require some refactoring. Of particular interest are smells such as <i>divergent change</i>, <i>shotgun surgery</i> and <i>parallel inheritance hierarchies</i> since those smells affect a large portion of the source code. </p> <p> Refactoring toward a breakthrough is a hard enough process. But actually finding the end goal for <i>refactoring to</i> can also be complicated. What Evans has done is present a list of rules of thumb and illustrate them using concrete examples. Even with these guidelines, Evans does not fail to emphasize the importance of trial and error. Sometimes, it takes multiple session of trial and error before getting the <i>right</i> model. Experience certainly helps but I would assume that a great deal of perseverance and an excellent version control - for reverting code - helps significantly as well. </p> <p> In the second part of the chapter, Evans focuses on the <i>Specification</i> pattern. The <b>Specification</b> pattern is a predicate that determines if an object does or does not satisfy some criteria. By making this predicate its own object, it becomes clearer to people that this is requirement rather than some arbitrary behavior of the object or model. I felt that this was the main theme of the chapter: making implicit concepts explicit in an intention-revealing manner. </p> <p> A Specification object takes care of handling the testing of whether some criteria have been met. There are three main uses for specifications: validation, selection and generation. These three uses are on the same conceptual level. </p> <p> Specifications should not be confused with <i>Assertions</i> (presented in the next chapter) which ensure that certain pre-conditions, post-conditions and invariants are maintained through the program. Use a specification to test if an object fulfills some criteria that is part of the domain logic but use an assertion to make explicit the side effects from calling some procedure. Specifications and assertions both make the intent more explicit but they do so for different purposes. Used together, both can communicate the model better.</p>
vazexqi/softwareengineering.vazexqi.com
_posts/2006-10-08-ddd-making-implicit-concepts-explicit.html
HTML
mit
3,852
<!doctype html> <html> <title>npm-bugs</title> <meta http-equiv="content-type" value="text/html;utf-8"> <link rel="stylesheet" type="text/css" href="../../static/style.css"> <link rel="canonical" href="https://www.npmjs.org/doc/api/npm-bugs.html"> <script async=true src="../../static/toc.js"></script> <body> <div id="wrapper"> <h1><a href="../api/npm-bugs.html">npm-bugs</a></h1> <p>Bugs for a package in a web browser maybe</p> <h2 id="synopsis">SYNOPSIS</h2> <pre><code>npm.commands.bugs(package, callback) </code></pre><h2 id="description">DESCRIPTION</h2> <p>This command tries to guess at the likely location of a package&#39;s bug tracker URL, and then tries to open it using the <code>--browser</code> config param.</p> <p>Like other commands, the first parameter is an array. This command only uses the first element, which is expected to be a package name with an optional version number.</p> <p>This command will launch a browser, so this command may not be the most friendly for programmatic use.</p> </div> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <tr><td style="width:180px;height:10px;background:rgb(237,127,127)" colspan=18>&nbsp;</td></tr> <tr><td rowspan=4 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td><td style="width:40px;height:10px;background:#fff" colspan=4>&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=4>&nbsp;</td><td style="width:40px;height:10px;background:#fff" colspan=4>&nbsp;</td><td rowspan=4 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td><td colspan=6 style="width:60px;height:10px;background:#fff">&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=4>&nbsp;</td></tr> <tr><td colspan=2 style="width:20px;height:30px;background:#fff" rowspan=3>&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=3>&nbsp;</td><td style="width:10px;height:10px;background:#fff" rowspan=3>&nbsp;</td><td style="width:20px;height:10px;background:#fff" rowspan=4 colspan=2>&nbsp;</td><td style="width:10px;height:20px;background:rgb(237,127,127)" rowspan=2>&nbsp;</td><td style="width:10px;height:10px;background:#fff" rowspan=3>&nbsp;</td><td style="width:20px;height:10px;background:#fff" rowspan=3 colspan=2>&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=3>&nbsp;</td><td style="width:10px;height:10px;background:#fff" rowspan=3>&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=3>&nbsp;</td></tr> <tr><td style="width:10px;height:10px;background:#fff" rowspan=2>&nbsp;</td></tr> <tr><td style="width:10px;height:10px;background:#fff">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> </table> <p id="footer">npm-bugs &mdash; [email protected]</p>
ericntd/sccprototype
node_modules/npm/html/doc/api/npm-bugs.html
HTML
mit
3,190
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_31) on Wed Dec 17 20:48:20 PST 2014 --> <title>CurrentHelper (Java Platform SE 8 )</title> <meta name="date" content="2014-12-17"> <meta name="keywords" content="org.omg.PortableServer.CurrentHelper class"> <meta name="keywords" content="insert()"> <meta name="keywords" content="extract()"> <meta name="keywords" content="type()"> <meta name="keywords" content="id()"> <meta name="keywords" content="read()"> <meta name="keywords" content="write()"> <meta name="keywords" content="narrow()"> <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../script.js"></script> </head> <body> <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="CurrentHelper (Java Platform SE 8 )"; } } catch(err) { } //--> var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; var activeTableTab = "activeTableTab"; </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar.top"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.top.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/CurrentHelper.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../index-files/index-1.html">Index</a></li> <li><a href="../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage"><strong>Java&trade;&nbsp;Platform<br>Standard&nbsp;Ed.&nbsp;8</strong></div> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../org/omg/PortableServer/Current.html" title="interface in org.omg.PortableServer"><span class="typeNameLink">Prev&nbsp;Class</span></a></li> <li><a href="../../../org/omg/PortableServer/CurrentOperations.html" title="interface in org.omg.PortableServer"><span class="typeNameLink">Next&nbsp;Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../index.html?org/omg/PortableServer/CurrentHelper.html" target="_top">Frames</a></li> <li><a href="CurrentHelper.html" target="_top">No&nbsp;Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary:&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li> <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail:&nbsp;</li> <li>Field&nbsp;|&nbsp;</li> <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#method.detail">Method</a></li> </ul> </div> <a name="skip.navbar.top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <!-- ======== START OF CLASS DATA ======== --> <div class="header"> <div class="subTitle">org.omg.PortableServer</div> <h2 title="Class CurrentHelper" class="title">Class CurrentHelper</h2> </div> <div class="contentContainer"> <ul class="inheritance"> <li><a href="../../../java/lang/Object.html" title="class in java.lang">java.lang.Object</a></li> <li> <ul class="inheritance"> <li>org.omg.PortableServer.CurrentHelper</li> </ul> </li> </ul> <div class="description"> <ul class="blockList"> <li class="blockList"> <hr> <br> <pre>public abstract class <span class="typeNameLabel">CurrentHelper</span> extends <a href="../../../java/lang/Object.html" title="class in java.lang">Object</a></pre> <div class="block">The PortableServer::Current interface, derived from CORBA::Current, provides method implementations with access to the identity of the object on which the method was invoked. The Current interface is provided to support servants that implement multiple objects, but can be used within the context of POA-dispatched method invocations on any servant. To provide location transparency, ORBs are required to support use of Current in the context of both locally and remotely invoked operations. An instance of Current can be obtained by the application by issuing the CORBA::ORB::resolve_initial_references("POACurrent") operation. Thereafter, it can be used within the context of a method dispatched by the POA to obtain the POA and ObjectId that identify the object on which that operation was invoked.</div> </li> </ul> </div> <div class="summary"> <ul class="blockList"> <li class="blockList"> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor.summary"> <!-- --> </a> <h3>Constructor Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colOne" scope="col">Constructor and Description</th> </tr> <tr class="altColor"> <td class="colOne"><code><span class="memberNameLink"><a href="../../../org/omg/PortableServer/CurrentHelper.html#CurrentHelper--">CurrentHelper</a></span>()</code>&nbsp;</td> </tr> </table> </li> </ul> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="method.summary"> <!-- --> </a> <h3>Method Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tr id="i0" class="altColor"> <td class="colFirst"><code>static <a href="../../../org/omg/PortableServer/Current.html" title="interface in org.omg.PortableServer">Current</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/PortableServer/CurrentHelper.html#extract-org.omg.CORBA.Any-">extract</a></span>(<a href="../../../org/omg/CORBA/Any.html" title="class in org.omg.CORBA">Any</a>&nbsp;a)</code>&nbsp;</td> </tr> <tr id="i1" class="rowColor"> <td class="colFirst"><code>static <a href="../../../java/lang/String.html" title="class in java.lang">String</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/PortableServer/CurrentHelper.html#id--">id</a></span>()</code>&nbsp;</td> </tr> <tr id="i2" class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/PortableServer/CurrentHelper.html#insert-org.omg.CORBA.Any-org.omg.PortableServer.Current-">insert</a></span>(<a href="../../../org/omg/CORBA/Any.html" title="class in org.omg.CORBA">Any</a>&nbsp;a, <a href="../../../org/omg/PortableServer/Current.html" title="interface in org.omg.PortableServer">Current</a>&nbsp;that)</code>&nbsp;</td> </tr> <tr id="i3" class="rowColor"> <td class="colFirst"><code>static <a href="../../../org/omg/PortableServer/Current.html" title="interface in org.omg.PortableServer">Current</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/PortableServer/CurrentHelper.html#narrow-org.omg.CORBA.Object-">narrow</a></span>(<a href="../../../org/omg/CORBA/Object.html" title="interface in org.omg.CORBA">Object</a>&nbsp;obj)</code>&nbsp;</td> </tr> <tr id="i4" class="altColor"> <td class="colFirst"><code>static <a href="../../../org/omg/PortableServer/Current.html" title="interface in org.omg.PortableServer">Current</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/PortableServer/CurrentHelper.html#read-org.omg.CORBA.portable.InputStream-">read</a></span>(<a href="../../../org/omg/CORBA/portable/InputStream.html" title="class in org.omg.CORBA.portable">InputStream</a>&nbsp;istream)</code>&nbsp;</td> </tr> <tr id="i5" class="rowColor"> <td class="colFirst"><code>static <a href="../../../org/omg/CORBA/TypeCode.html" title="class in org.omg.CORBA">TypeCode</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/PortableServer/CurrentHelper.html#type--">type</a></span>()</code>&nbsp;</td> </tr> <tr id="i6" class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/PortableServer/CurrentHelper.html#write-org.omg.CORBA.portable.OutputStream-org.omg.PortableServer.Current-">write</a></span>(<a href="../../../org/omg/CORBA/portable/OutputStream.html" title="class in org.omg.CORBA.portable">OutputStream</a>&nbsp;ostream, <a href="../../../org/omg/PortableServer/Current.html" title="interface in org.omg.PortableServer">Current</a>&nbsp;value)</code>&nbsp;</td> </tr> </table> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> <!-- --> </a> <h3>Methods inherited from class&nbsp;java.lang.<a href="../../../java/lang/Object.html" title="class in java.lang">Object</a></h3> <code><a href="../../../java/lang/Object.html#clone--">clone</a>, <a href="../../../java/lang/Object.html#equals-java.lang.Object-">equals</a>, <a href="../../../java/lang/Object.html#finalize--">finalize</a>, <a href="../../../java/lang/Object.html#getClass--">getClass</a>, <a href="../../../java/lang/Object.html#hashCode--">hashCode</a>, <a href="../../../java/lang/Object.html#notify--">notify</a>, <a href="../../../java/lang/Object.html#notifyAll--">notifyAll</a>, <a href="../../../java/lang/Object.html#toString--">toString</a>, <a href="../../../java/lang/Object.html#wait--">wait</a>, <a href="../../../java/lang/Object.html#wait-long-">wait</a>, <a href="../../../java/lang/Object.html#wait-long-int-">wait</a></code></li> </ul> </li> </ul> </li> </ul> </div> <div class="details"> <ul class="blockList"> <li class="blockList"> <!-- ========= CONSTRUCTOR DETAIL ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor.detail"> <!-- --> </a> <h3>Constructor Detail</h3> <a name="CurrentHelper--"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>CurrentHelper</h4> <pre>public&nbsp;CurrentHelper()</pre> </li> </ul> </li> </ul> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> <li class="blockList"><a name="method.detail"> <!-- --> </a> <h3>Method Detail</h3> <a name="insert-org.omg.CORBA.Any-org.omg.PortableServer.Current-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>insert</h4> <pre>public static&nbsp;void&nbsp;insert(<a href="../../../org/omg/CORBA/Any.html" title="class in org.omg.CORBA">Any</a>&nbsp;a, <a href="../../../org/omg/PortableServer/Current.html" title="interface in org.omg.PortableServer">Current</a>&nbsp;that)</pre> </li> </ul> <a name="extract-org.omg.CORBA.Any-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>extract</h4> <pre>public static&nbsp;<a href="../../../org/omg/PortableServer/Current.html" title="interface in org.omg.PortableServer">Current</a>&nbsp;extract(<a href="../../../org/omg/CORBA/Any.html" title="class in org.omg.CORBA">Any</a>&nbsp;a)</pre> </li> </ul> <a name="type--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>type</h4> <pre>public static&nbsp;<a href="../../../org/omg/CORBA/TypeCode.html" title="class in org.omg.CORBA">TypeCode</a>&nbsp;type()</pre> </li> </ul> <a name="id--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>id</h4> <pre>public static&nbsp;<a href="../../../java/lang/String.html" title="class in java.lang">String</a>&nbsp;id()</pre> </li> </ul> <a name="read-org.omg.CORBA.portable.InputStream-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>read</h4> <pre>public static&nbsp;<a href="../../../org/omg/PortableServer/Current.html" title="interface in org.omg.PortableServer">Current</a>&nbsp;read(<a href="../../../org/omg/CORBA/portable/InputStream.html" title="class in org.omg.CORBA.portable">InputStream</a>&nbsp;istream)</pre> </li> </ul> <a name="write-org.omg.CORBA.portable.OutputStream-org.omg.PortableServer.Current-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>write</h4> <pre>public static&nbsp;void&nbsp;write(<a href="../../../org/omg/CORBA/portable/OutputStream.html" title="class in org.omg.CORBA.portable">OutputStream</a>&nbsp;ostream, <a href="../../../org/omg/PortableServer/Current.html" title="interface in org.omg.PortableServer">Current</a>&nbsp;value)</pre> </li> </ul> <a name="narrow-org.omg.CORBA.Object-"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>narrow</h4> <pre>public static&nbsp;<a href="../../../org/omg/PortableServer/Current.html" title="interface in org.omg.PortableServer">Current</a>&nbsp;narrow(<a href="../../../org/omg/CORBA/Object.html" title="interface in org.omg.CORBA">Object</a>&nbsp;obj)</pre> </li> </ul> </li> </ul> </li> </ul> </div> </div> <!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar.bottom"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.bottom.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/CurrentHelper.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../index-files/index-1.html">Index</a></li> <li><a href="../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage"><strong>Java&trade;&nbsp;Platform<br>Standard&nbsp;Ed.&nbsp;8</strong></div> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../org/omg/PortableServer/Current.html" title="interface in org.omg.PortableServer"><span class="typeNameLink">Prev&nbsp;Class</span></a></li> <li><a href="../../../org/omg/PortableServer/CurrentOperations.html" title="interface in org.omg.PortableServer"><span class="typeNameLink">Next&nbsp;Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../index.html?org/omg/PortableServer/CurrentHelper.html" target="_top">Frames</a></li> <li><a href="CurrentHelper.html" target="_top">No&nbsp;Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary:&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li> <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail:&nbsp;</li> <li>Field&nbsp;|&nbsp;</li> <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#method.detail">Method</a></li> </ul> </div> <a name="skip.navbar.bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> <p class="legalCopy"><small><font size="-1"> <a href="http://bugreport.sun.com/bugreport/">Submit a bug or feature</a> <br>For further API reference and developer documentation, see <a href="http://download.oracle.com/javase/8/docs/index.html" target="_blank">Java SE Documentation</a>. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.<br> <a href="../../../../legal/cpyr.html">Copyright</a> &#x00a9; 1993, 2015, Oracle and/or its affiliates. All rights reserved. </font></small></p> </body> </html>
fbiville/annotation-processing-ftw
doc/java/jdk8/org/omg/PortableServer/CurrentHelper.html
HTML
mit
17,341
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>18 --> 19</title> <link href="./../../assets/style.css" rel="stylesheet"> </head> <body> <h2>You have to be fast</h2> <a href="./78950f3c3d0cf4c92848956a248fd13b3fb62718d68b00077e6049a1fc78f235.html">Teleport</a> <hr> <a href="./../../about.md">About</a> (Spoilers! ) <script src="./../../assets/md5.js"></script> <script> window.currentLevel = 7; </script> <script src="./../../assets/script.js"></script> </body> </html>
simonmysun/praxis
TAIHAO2019/pub/SmallGame/AsFastAsYouCan2/3458ae4ef42645d3d4270b88ccdb080f9b5fc4ef84c73cac55c4440df369f706.html
HTML
mit
550
<!doctype html> <html> <head> <meta charset='utf-8'> <title>Column &amp; row resize - Handsontable</title> <!-- Loading Handsontable (full distribution that includes all dependencies apart from jQuery) --> <link data-jsfiddle="common" rel="stylesheet" media="screen" href="../dist/handsontable.css"> <link data-jsfiddle="common" rel="stylesheet" media="screen" href="../dist/pikaday/pikaday.css"> <script data-jsfiddle="common" src="../dist/pikaday/pikaday.js"></script> <script data-jsfiddle="common" src="../dist/moment/moment.js"></script> <script data-jsfiddle="common" src="../dist/zeroclipboard/ZeroClipboard.js"></script> <script data-jsfiddle="common" src="../dist/handsontable.js"></script> <!-- Loading demo dependencies. They are used here only to enhance the examples on this page --> <link data-jsfiddle="common" rel="stylesheet" media="screen" href="css/samples.css?20140331"> <script src="js/samples.js"></script> <script src="js/highlight/highlight.pack.js"></script> <link rel="stylesheet" media="screen" href="js/highlight/styles/github.css"> <link rel="stylesheet" href="css/font-awesome/css/font-awesome.min.css"> <!-- Facebook open graph. Don't copy this to your project :) --> <meta property="og:title" content="Column resize"> <meta property="og:description" content="."> <meta property="og:url" content="http://handsontable.com/demo/column_resize.html"> <meta property="og:image" content="http://handsontable.com/demo/image/og-image.png"> <meta property="og:image:type" content="image/png"> <meta property="og:image:width" content="409"> <meta property="og:image:height" content="164"> <link rel="canonical" href="http://handsontable.com/demo/column_resize.html"> <!-- Google Analytics for GitHub Page. Don't copy this to your project :) --> <script src="js/ga.js"></script> </head> <body> <div class="wrapper"> <div class="wrapper-row"> <div id="global-menu-clone"> <h1><a href="../index.html">Handsontable</a></h1> </div> <div id="container"> <div class="columnLayout"> <div class="rowLayout"> <div class="descLayout"> <div class="pad" data-jsfiddle="example1"> <a name="resize"></a> <h2>Column &amp; row resize</h2> <p>To enable these features, use settings <code>manualColumnResize: true</code> and <code>manualRowResize: true</code></p> <p>The draggable resize handle appears:</p> <ul> <li>in the right part of the column header,</li> <li>in the bottom part of the row header.</li> </ul> <p>Double click on the resize handle automatically adjusts size of the row or column.</p> <div class="state-loaded example1 alert">State of the table has been restored. <button class="mini reset-state1">Reset table state</button></div> <p> <button id="changeSize">get size</button> <p id="showWidth"></p> <p id="showHeight"></p> </p> <div id="example1" style="width: 800px; height: 600px; overflow: hidden;"></div> <p> <button name="dump" data-dump="#example1" data-instance="hot" title="Prints current data source to Firebug/Chrome Dev Tools"> Dump data to console </button> </p> </div> </div> <div class="codeLayout"> <div class="pad"> <div class="jsFiddle"> <button class="jsFiddleLink" data-runfiddle="example1">Edit in jsFiddle</button> </div> <script data-jsfiddle="example1"> var container = document.getElementById('example1'), hot; hot = new Handsontable(container, { data: Handsontable.helper.createSpreadsheetData(1000, 10), rowHeaders: true, colHeaders: true, colWidths: [55, 80, 80, 80, 80, 80, 80], rowHeights: [50, 40, 100], manualColumnResize: true, manualRowResize: true, minSpareRows: 1, persistentState: true, contextMenu: true }); </script> </div> </div> </div> <script type="text/javascript"> (function(hot){ var reset = document.querySelector('.reset-state1'), stateLoaded = document.querySelector('.state-loaded'), storedData = {}, savedKeys; Handsontable.Dom.addEvent(changeSize, 'click', function () { // console.log(hot.getSettings().__proto__.colWidths); // console.log(hot.getSettings().__proto__.rowHeights); var rows = hot.getData().length; var cols = hot.getData()[0].length; var rowHeight = []; var colWidth = []; var temp; for(var i=0;i<cols;i++){ temp = hot.getColWidth(i); if(temp !== undefined){ colWidth[i] = temp; } } for(var i=0;i<rows;i++){ temp = hot.getRowHeight(i); if(temp !== undefined){ rowHeight[i] = temp; } } // console.log(hot.getRowHeight(1)); document.getElementById("showWidth").innerHTML = "width : "+colWidth; document.getElementById("showHeight").innerHTML = "height : "+rowHeight; }); Handsontable.Dom.addEvent(reset, 'click', function(){ hot.runHooks('persistentStateReset'); hot.updateSettings({ manualColumnMove: true, manualRowMove: true, manualColumnResize: true, manualRowResize: true }); stateLoaded.style.display = 'none'; hot.render(); }); hot.runHooks('persistentStateLoad', '_persistentStateKeys', storedData); savedKeys = storedData.value; if (savedKeys && savedKeys.length > 0) { stateLoaded.style.display = 'block'; hot.render(); } })(hot); </script> <div class="footer-text"> </div> </div> </div> </div> </div> <div id="outside-links-wrapper"></div> </body> </html>
billdc/handsontable
demo/column_resize.html
HTML
mit
6,441
<div ng-controller="EditLoanChargeController"> <div> <ul class="breadcrumb"> <li><a href="#/viewloanaccount/{{loanId}}">{{'label.anchor.viewloanaccount' | translate}}</a> <span class="divider">/</span></li> <li class="active">{{'label.anchor.editloancharge' | translate}}</li> </ul> </div> <form name="loanchargeform" novalidate="" class="form-horizontal well" ng-submit="submit()"> <api-validate></api-validate> <fieldset> <legend>{{ 'label.heading.editloancharge' | translate }}</legend> <div class="control-group"> <label class="control-label" for="amount">{{ 'label.input.amount' | translate }}<span class="required">*</span></label> <div class="controls"> <input id="amount" ng-autofocus="true" type="text" name="amount" ng-model="formData.amount" required late-Validate/> <form-validate valattributeform="loanchargeform" valattribute="amount"/> </div> </div> <div class="offset3"> <button id="cancel" type="reset" class="btn" ng-click="cancel()">{{ 'label.button.cancel' | translate }}</button> <button id="save" type="submit" ng-disabled="!loanchargeform.$valid" class="btn btn-primary">{{ 'label.button.save' | translate }}</button> </div> </fieldset> </form> </div>
gauravsaini03/www
views/loans/editloancharge.html
HTML
mit
1,255
<html><img border=0 src=NOCAS_M282.txt alt=NOCAS_M282.txt></img><body> "x" "1" "KAZIUS, J, MCGUIRE, R AND BURSI, R. DERIVATION AND VALIDATION OF TOXICOPHORES FOR MUTAGENICITY PREDICTION. J. MED. CHEM. 48: 312-320, 2005" </body></html>
andrewdefries/Ames_ToxBenchmark
NOCAS_M282.txt.html
HTML
mit
235