path
stringlengths
5
312
repo_name
stringlengths
5
116
content
stringlengths
2
1.04M
docs/parrotcode/news/2008/Parrot-0.6.0.html
autarch/perlweb
[% page.title = 'Parrot 0.6.0 "P&P" Released' %] [% page.style = "default.html" %] <h1>Parrot 0.6.0 &quot;P&amp;P&quot; Released</h1> <p>18 March 2008</p> <p> On behalf of the Parrot team, I'm proud to announce Parrot 0.6.0 &quot;P&amp;P&quot. <a href="http://parrotcode.org/">Parrot</a> is a virtual machine aimed at running all dynamic languages. </p> <p> Parrot 0.6.0 can be obtained via <a href="http://search.cpan.org/dist/parrot">CPAN</a> (soon), or <a href="http://parrotcode.org/source.html">follow the download instructions</a>. For those who would like to develop on Parrot, or help develop Parrot itself, we recommend using <a href="http://subversion.tigris.org/">Subversion</a> or <a href="http://svk.bestpractical.com/">SVK</a> on <a href="https://svn.perl.org/parrot/trunk/">our source code repository</a> to get the latest and best Parrot code.</p> <p>Parrot 0.6.0 News:<br/> <pre>- Specification + launched pdd18_security.pod + updated pdd17_pmc.pod + launching draft of pdd28_character_sets.pod - Documentation + cleanup of IMCC documentation - Configuration + add step auto::gettext + add step auto::crypto - Compilers + PCT: . Fix '-e' option . Phase out P6Regex in favor of Perl6Regex + IMCC: '.local Array my_arr' is illegal now - Languages + C99: reimplementation with PCT + lolcode: . various updates . add support for functions with params . add math functions + Rakudo: . support for 'say' . first cut at smart matching . indirect method calls . support for Pairs . added methods 'grep' and 'first' . implement auto{increment,decrement} . initial implementation of 'perl6doc' + Lua: . various updates . add base64 library + Cardinal: basic support for functions with parameters + Pheme: various updates + Ecmascript: various updates + Tcl: now targeting tcl 8.5.1, no more expected failures in test suite. (No, this doesn't mean everything's implemented. =-) + Eclectus: various updates + WMLScript: various updates - Implementation + PDD17 (PMCs) + Add library YAML::Dumper + Add the MD2, MD4, MD5, RIPEMD160, SHA & SHA1 PMC, as a wrapper around libcrypto - Miscellaneous + various bugfixes, code cleanups and coding standard fixes + consting + remove external Perl 5 modules from the Parrot distribution </pre></p> <p>The next scheduled Parrot release will be on April 15th 2008.</p> <p>Thanks to all our contributors for making this possible, and our sponsors for supporting this project.</p> <p>Enjoy!</p>
solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/AbstractZkTestCase.html
Ramzi-Alqrainy/SELK
<!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 (version 1.7.0_60) on Tue Aug 26 20:50:14 PDT 2014 --> <meta http-equiv="Content-Type" content="text/html" charset="utf-8"> <title>Uses of Class org.apache.solr.cloud.AbstractZkTestCase (Solr 4.10.0 API)</title> <meta name="date" content="2014-08-26"> <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="Uses of Class org.apache.solr.cloud.AbstractZkTestCase (Solr 4.10.0 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><a href="../../../../../org/apache/solr/cloud/AbstractZkTestCase.html" title="class in org.apache.solr.cloud">Class</a></li> <li class="navBarCell1Rev">Use</li> <li><a href="../package-tree.html">Tree</a></li> <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/apache/solr/cloud/class-use/AbstractZkTestCase.html" target="_top">Frames</a></li> <li><a href="AbstractZkTestCase.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"> <h2 title="Uses of Class org.apache.solr.cloud.AbstractZkTestCase" class="title">Uses of Class<br>org.apache.solr.cloud.AbstractZkTestCase</h2> </div> <div class="classUseContainer">No usage of org.apache.solr.cloud.AbstractZkTestCase</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="../../../../../overview-summary.html">Overview</a></li> <li><a href="../package-summary.html">Package</a></li> <li><a href="../../../../../org/apache/solr/cloud/AbstractZkTestCase.html" title="class in org.apache.solr.cloud">Class</a></li> <li class="navBarCell1Rev">Use</li> <li><a href="../package-tree.html">Tree</a></li> <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/apache/solr/cloud/class-use/AbstractZkTestCase.html" target="_top">Frames</a></li> <li><a href="AbstractZkTestCase.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 ======= --> <p class="legalCopy"><small> <i>Copyright &copy; 2000-2014 Apache Software Foundation. All Rights Reserved.</i> <script src='../../../../../prettify.js' type='text/javascript'></script> <script type='text/javascript'> (function(){ var oldonload = window.onload; if (typeof oldonload != 'function') { window.onload = prettyPrint; } else { window.onload = function() { oldonload(); prettyPrint(); } } })(); </script> </small></p> </body> </html>
docs/api/source/controllerbutton.html
dreemproject/dreemgl
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>CodeRay output</title> <style type="text/css"> .CodeRay .line-numbers a { text-decoration: inherit; color: inherit; } body { background-color: white; padding: 0; margin: 0; } .CodeRay { background-color: hsl(0,0%,95%); border: 1px solid silver; color: black; } .CodeRay pre { margin: 0px; } span.CodeRay { white-space: pre; border: 0px; padding: 2px; } table.CodeRay { border-collapse: collapse; width: 100%; padding: 2px; } table.CodeRay td { padding: 2px 4px; vertical-align: top; } .CodeRay .line-numbers { background-color: hsl(180,65%,90%); color: gray; text-align: right; -webkit-user-select: none; -moz-user-select: none; user-select: none; } .CodeRay .line-numbers a { background-color: hsl(180,65%,90%) !important; color: gray !important; text-decoration: none !important; } .CodeRay .line-numbers pre { word-break: normal; } .CodeRay .line-numbers a:target { color: blue !important; } .CodeRay .line-numbers .highlighted { color: red !important; } .CodeRay .line-numbers .highlighted a { color: red !important; } .CodeRay span.line-numbers { padding: 0px 4px; } .CodeRay .line { display: block; float: left; width: 100%; } .CodeRay .code { width: 100%; } .CodeRay .debug { color: white !important; background: blue !important; } .CodeRay .annotation { color:#007 } .CodeRay .attribute-name { color:#b48 } .CodeRay .attribute-value { color:#700 } .CodeRay .binary { color:#549 } .CodeRay .binary .char { color:#325 } .CodeRay .binary .delimiter { color:#325 } .CodeRay .char { color:#D20 } .CodeRay .char .content { color:#D20 } .CodeRay .char .delimiter { color:#710 } .CodeRay .class { color:#B06; font-weight:bold } .CodeRay .class-variable { color:#369 } .CodeRay .color { color:#0A0 } .CodeRay .comment { color:#777 } .CodeRay .comment .char { color:#444 } .CodeRay .comment .delimiter { color:#444 } .CodeRay .constant { color:#036; font-weight:bold } .CodeRay .decorator { color:#B0B } .CodeRay .definition { color:#099; font-weight:bold } .CodeRay .delimiter { color:black } .CodeRay .directive { color:#088; font-weight:bold } .CodeRay .docstring { color:#D42; } .CodeRay .doctype { color:#34b } .CodeRay .done { text-decoration: line-through; color: gray } .CodeRay .entity { color:#800; font-weight:bold } .CodeRay .error { color:#F00; background-color:#FAA } .CodeRay .escape { color:#666 } .CodeRay .exception { color:#C00; font-weight:bold } .CodeRay .float { color:#60E } .CodeRay .function { color:#06B; font-weight:bold } .CodeRay .function .delimiter { color:#024; font-weight:bold } .CodeRay .global-variable { color:#d70 } .CodeRay .hex { color:#02b } .CodeRay .id { color:#33D; font-weight:bold } .CodeRay .include { color:#B44; font-weight:bold } .CodeRay .inline { background-color: hsla(0,0%,0%,0.07); color: black } .CodeRay .inline-delimiter { font-weight: bold; color: #666 } .CodeRay .instance-variable { color:#33B } .CodeRay .integer { color:#00D } .CodeRay .imaginary { color:#f00 } .CodeRay .important { color:#D00 } .CodeRay .key { color: #606 } .CodeRay .key .char { color: #60f } .CodeRay .key .delimiter { color: #404 } .CodeRay .keyword { color:#080; font-weight:bold } .CodeRay .label { color:#970; font-weight:bold } .CodeRay .local-variable { color:#950 } .CodeRay .map .content { color:#808 } .CodeRay .map .delimiter { color:#40A} .CodeRay .map { background-color:hsla(200,100%,50%,0.06); } .CodeRay .namespace { color:#707; font-weight:bold } .CodeRay .octal { color:#40E } .CodeRay .operator { } .CodeRay .predefined { color:#369; font-weight:bold } .CodeRay .predefined-constant { color:#069 } .CodeRay .predefined-type { color:#0a8; font-weight:bold } .CodeRay .preprocessor { color:#579 } .CodeRay .pseudo-class { color:#00C; font-weight:bold } .CodeRay .regexp { background-color:hsla(300,100%,50%,0.06); } .CodeRay .regexp .content { color:#808 } .CodeRay .regexp .delimiter { color:#404 } .CodeRay .regexp .modifier { color:#C2C } .CodeRay .reserved { color:#080; font-weight:bold } .CodeRay .shell { background-color:hsla(120,100%,50%,0.06); } .CodeRay .shell .content { color:#2B2 } .CodeRay .shell .delimiter { color:#161 } .CodeRay .string { background-color:hsla(0,100%,50%,0.05); } .CodeRay .string .char { color: #b0b } .CodeRay .string .content { color: #D20 } .CodeRay .string .delimiter { color: #710 } .CodeRay .string .modifier { color: #E40 } .CodeRay .symbol { color:#A60 } .CodeRay .symbol .content { color:#A60 } .CodeRay .symbol .delimiter { color:#740 } .CodeRay .tag { color:#070; font-weight:bold } .CodeRay .type { color:#339; font-weight:bold } .CodeRay .value { color: #088 } .CodeRay .variable { color:#037 } .CodeRay .insert { background: hsla(120,100%,50%,0.12) } .CodeRay .delete { background: hsla(0,100%,50%,0.12) } .CodeRay .change { color: #bbf; background: #007 } .CodeRay .head { color: #f8f; background: #505 } .CodeRay .head .filename { color: white; } .CodeRay .delete .eyecatcher { background-color: hsla(0,100%,50%,0.2); border: 1px solid hsla(0,100%,45%,0.5); margin: -1px; border-bottom: none; border-top-left-radius: 5px; border-top-right-radius: 5px; } .CodeRay .insert .eyecatcher { background-color: hsla(120,100%,50%,0.2); border: 1px solid hsla(120,100%,25%,0.5); margin: -1px; border-top: none; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; } .CodeRay .insert .insert { color: #0c0; background:transparent; font-weight:bold } .CodeRay .delete .delete { color: #c00; background:transparent; font-weight:bold } .CodeRay .change .change { color: #88f } .CodeRay .head .head { color: #f4f } .CodeRay { border: none; } </style> </head> <body> <table class="CodeRay"><tr> <td class="line-numbers"><pre><a href="#n1" name="n1">1</a> <a href="#n2" name="n2">2</a> <a href="#n3" name="n3">3</a> <a href="#n4" name="n4">4</a> <a href="#n5" name="n5">5</a> <a href="#n6" name="n6">6</a> <a href="#n7" name="n7">7</a> <a href="#n8" name="n8">8</a> <a href="#n9" name="n9">9</a> <strong><a href="#n10" name="n10">10</a></strong> <a href="#n11" name="n11">11</a> <a href="#n12" name="n12">12</a> <a href="#n13" name="n13">13</a> <a href="#n14" name="n14">14</a> <a href="#n15" name="n15">15</a> <a href="#n16" name="n16">16</a> <a href="#n17" name="n17">17</a> <a href="#n18" name="n18">18</a> <a href="#n19" name="n19">19</a> <strong><a href="#n20" name="n20">20</a></strong> <a href="#n21" name="n21">21</a> <a href="#n22" name="n22">22</a> <a href="#n23" name="n23">23</a> <a href="#n24" name="n24">24</a> <a href="#n25" name="n25">25</a> <a href="#n26" name="n26">26</a> <a href="#n27" name="n27">27</a> <a href="#n28" name="n28">28</a> <a href="#n29" name="n29">29</a> <strong><a href="#n30" name="n30">30</a></strong> <a href="#n31" name="n31">31</a> </pre></td> <td class="code"><pre><span class="comment">/* DreemGL is a collaboration between Teeming Society &amp; Samsung Electronics, sponsored by Samsung and others. Copyright 2015-2016 Teeming Society. Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); 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 &quot;AS IS&quot; 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.*/</span> define.<span class="reserved">class</span>(<span class="string"><span class="delimiter">&quot;</span><span class="content">$ui/button</span><span class="delimiter">&quot;</span></span>, <span class="keyword">function</span>() { <span class="local-variable">this</span>.height = <span class="integer">50</span>; <span class="local-variable">this</span>.alignitems = <span class="string"><span class="delimiter">'</span><span class="content">center</span><span class="delimiter">'</span></span> <span class="local-variable">this</span>.justifycontent = <span class="string"><span class="delimiter">'</span><span class="content">center</span><span class="delimiter">'</span></span> <span class="local-variable">this</span>.attributes = { <span class="key">value</span>:wire(<span class="string"><span class="delimiter">'</span><span class="content">this.label</span><span class="delimiter">'</span></span>), <span class="key">controller</span>:Config({<span class="key">type</span>:Object}) }; <span class="local-variable">this</span>.<span class="function">pointerstart</span> = <span class="keyword">function</span>() { console.log(<span class="string"><span class="delimiter">'</span><span class="content">press</span><span class="delimiter">'</span></span>, <span class="local-variable">this</span>.value); <span class="keyword">if</span> (<span class="local-variable">this</span>.controller &amp;&amp; <span class="local-variable">this</span>.controller.press) { <span class="local-variable">this</span>.controller.press(<span class="local-variable">this</span>.value) } }; <span class="local-variable">this</span>.<span class="function">pointerend</span> = <span class="keyword">function</span>() { console.log(<span class="string"><span class="delimiter">'</span><span class="content">unpress</span><span class="delimiter">'</span></span>, <span class="local-variable">this</span>.value); <span class="keyword">if</span> (<span class="local-variable">this</span>.controller &amp;&amp; <span class="local-variable">this</span>.controller.unpress) { <span class="local-variable">this</span>.controller.unpress(<span class="local-variable">this</span>.value) } } }); </pre></td> </tr></table> </body> </html>
horizon/templates/horizon/common/_workflow_step.html
MKTCloud/MKTCloud
<noscript><h3>{{ step }}</h3></noscript> <table class="table-fixed"> <tbody> <tr> <td class="actions"> {% include "horizon/common/_form_fields.html" %} </td> <td class="help_text"> {{ step.get_help_text }} </td> </tr> </tbody> </table>
zxingorg/web/w/docs/javadoc/com/google/zxing/common/reedsolomon/class-use/ReedSolomonDecoder.html
bestdpf/2dbarcode
<!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 (version 1.7.0_21) on Tue May 07 21:03:38 BST 2013 --> <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> <title>Uses of Class com.google.zxing.common.reedsolomon.ReedSolomonDecoder (ZXing Core 2.2-SNAPSHOT API)</title> <meta name="date" content="2013-05-07"> <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="Uses of Class com.google.zxing.common.reedsolomon.ReedSolomonDecoder (ZXing Core 2.2-SNAPSHOT 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><a href="../../../../../../com/google/zxing/common/reedsolomon/ReedSolomonDecoder.html" title="class in com.google.zxing.common.reedsolomon">Class</a></li> <li class="navBarCell1Rev">Use</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"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-788492-5']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script></em></div> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../../../index.html?com/google/zxing/common/reedsolomon/class-use/ReedSolomonDecoder.html" target="_top">Frames</a></li> <li><a href="ReedSolomonDecoder.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"> <h2 title="Uses of Class com.google.zxing.common.reedsolomon.ReedSolomonDecoder" class="title">Uses of Class<br>com.google.zxing.common.reedsolomon.ReedSolomonDecoder</h2> </div> <div class="classUseContainer">No usage of com.google.zxing.common.reedsolomon.ReedSolomonDecoder</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="../../../../../../overview-summary.html">Overview</a></li> <li><a href="../package-summary.html">Package</a></li> <li><a href="../../../../../../com/google/zxing/common/reedsolomon/ReedSolomonDecoder.html" title="class in com.google.zxing.common.reedsolomon">Class</a></li> <li class="navBarCell1Rev">Use</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"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-788492-5']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script></em></div> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../../../index.html?com/google/zxing/common/reedsolomon/class-use/ReedSolomonDecoder.html" target="_top">Frames</a></li> <li><a href="ReedSolomonDecoder.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 ======= --> <p class="legalCopy"><small>Copyright &#169; 2007-2013. All Rights Reserved.</small></p> </body> </html>
JGDMS/src/site/resources/old-static-site/doc/api/org/apache/river/start/package-use.html
pfirmstone/JGDMS
<!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_60) on Mon Mar 28 17:57:55 AEST 2016 --> <title>Uses of Package org.apache.river.start (River-Internet vtrunk API Documentation)</title> <meta name="date" content="2016-03-28"> <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="Uses of Package org.apache.river.start (River-Internet vtrunk API Documentation)"; } } catch(err) { } //--> </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</li> <li class="navBarCell1Rev">Use</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</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../index.html?org/apache/river/start/package-use.html" target="_top">Frames</a></li> <li><a href="package-use.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> <a name="skip.navbar.top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <div class="header"> <h1 title="Uses of Package org.apache.river.start" class="title">Uses of Package<br>org.apache.river.start</h1> </div> <div class="contentContainer"> <ul class="blockList"> <li class="blockList"> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation"> <caption><span>Packages that use <a href="../../../../org/apache/river/start/package-summary.html">org.apache.river.start</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Package</th> <th class="colLast" scope="col">Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><a href="#org.apache.river.example.browser">org.apache.river.example.browser</a></td> <td class="colLast"> <div class="block">A visualization tool for exploring Jini Network Technology communities (<i>djinns</i>) with support for ServiceUI.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="#org.apache.river.start">org.apache.river.start</a></td> <td class="colLast"> <div class="block">Provides the utilities and APIs used to launch the contributed services provided in the River-Internet release.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="#org.apache.river.tool">org.apache.river.tool</a></td> <td class="colLast"> <div class="block">Tools for: checking configuration files; checking for missing <code>serialVersionUID</code> fields; computing class dependencies; generating permission grants to debug security policy setup; providing HTTP service; generating message digests; generating HTTPMD URLs; generating wrapper JAR files; and generating preferred lists.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="#org.apache.river.tool.envcheck">org.apache.river.tool.envcheck</a></td> <td class="colLast"> <div class="block">Tool for examining the run-time environment of a Jini component.</div> </td> </tr> </tbody> </table> </li> <li class="blockList"><a name="org.apache.river.example.browser"> <!-- --> </a> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation"> <caption><span>Classes in <a href="../../../../org/apache/river/start/package-summary.html">org.apache.river.start</a> used by <a href="../../../../org/apache/river/example/browser/package-summary.html">org.apache.river.example.browser</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colOne" scope="col">Class and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colOne"><a href="../../../../org/apache/river/start/class-use/LifeCycle.html#org.apache.river.example.browser">LifeCycle</a> <div class="block">The interface used to manage the lifecycle of shared, non-activatable services started by the <a href="../../../../org/apache/river/start/package-summary.html">service starter</a>.</div> </td> </tr> </tbody> </table> </li> <li class="blockList"><a name="org.apache.river.start"> <!-- --> </a> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation"> <caption><span>Classes in <a href="../../../../org/apache/river/start/package-summary.html">org.apache.river.start</a> used by <a href="../../../../org/apache/river/start/package-summary.html">org.apache.river.start</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colOne" scope="col">Class and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colOne"><a href="../../../../org/apache/river/start/class-use/ActivateWrapper.ActivateDesc.html#org.apache.river.start">ActivateWrapper.ActivateDesc</a> <div class="block">Descriptor for registering a "wrapped" activatable object.</div> </td> </tr> <tr class="rowColor"> <td class="colOne"><a href="../../../../org/apache/river/start/class-use/LifeCycle.html#org.apache.river.start">LifeCycle</a> <div class="block">The interface used to manage the lifecycle of shared, non-activatable services started by the <a href="../../../../org/apache/river/start/package-summary.html">service starter</a>.</div> </td> </tr> <tr class="altColor"> <td class="colOne"><a href="../../../../org/apache/river/start/class-use/NonActivatableServiceDescriptor.html#org.apache.river.start">NonActivatableServiceDescriptor</a> <div class="block">Class used to launch shared, non-activatable, in-process services.</div> </td> </tr> <tr class="rowColor"> <td class="colOne"><a href="../../../../org/apache/river/start/class-use/ServiceDescriptor.html#org.apache.river.start">ServiceDescriptor</a> <div class="block">Interface that all service description objects must implement.</div> </td> </tr> <tr class="altColor"> <td class="colOne"><a href="../../../../org/apache/river/start/class-use/SharedGroup.html#org.apache.river.start">SharedGroup</a> <div class="block">The <a href="../../../../org/apache/river/start/package-summary.html">service starter</a> supported interface for shared group objects.</div> </td> </tr> <tr class="rowColor"> <td class="colOne"><a href="../../../../org/apache/river/start/class-use/SharedGroupBackEnd.html#org.apache.river.start">SharedGroupBackEnd</a> <div class="block">The <code>SharedGroupBackEnd</code> interface</div> </td> </tr> </tbody> </table> </li> <li class="blockList"><a name="org.apache.river.tool"> <!-- --> </a> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation"> <caption><span>Classes in <a href="../../../../org/apache/river/start/package-summary.html">org.apache.river.start</a> used by <a href="../../../../org/apache/river/tool/package-summary.html">org.apache.river.tool</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colOne" scope="col">Class and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colOne"><a href="../../../../org/apache/river/start/class-use/LifeCycle.html#org.apache.river.tool">LifeCycle</a> <div class="block">The interface used to manage the lifecycle of shared, non-activatable services started by the <a href="../../../../org/apache/river/start/package-summary.html">service starter</a>.</div> </td> </tr> </tbody> </table> </li> <li class="blockList"><a name="org.apache.river.tool.envcheck"> <!-- --> </a> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation"> <caption><span>Classes in <a href="../../../../org/apache/river/start/package-summary.html">org.apache.river.start</a> used by <a href="../../../../org/apache/river/tool/envcheck/package-summary.html">org.apache.river.tool.envcheck</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colOne" scope="col">Class and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colOne"><a href="../../../../org/apache/river/start/class-use/NonActivatableServiceDescriptor.html#org.apache.river.tool.envcheck">NonActivatableServiceDescriptor</a> <div class="block">Class used to launch shared, non-activatable, in-process services.</div> </td> </tr> <tr class="rowColor"> <td class="colOne"><a href="../../../../org/apache/river/start/class-use/ServiceDescriptor.html#org.apache.river.tool.envcheck">ServiceDescriptor</a> <div class="block">Interface that all service description objects must implement.</div> </td> </tr> <tr class="altColor"> <td class="colOne"><a href="../../../../org/apache/river/start/class-use/SharedActivationGroupDescriptor.html#org.apache.river.tool.envcheck">SharedActivationGroupDescriptor</a> <div class="block">Class used to create a shared activation group.</div> </td> </tr> </tbody> </table> </li> </ul> </div> <!-- ======= 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</li> <li class="navBarCell1Rev">Use</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</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../index.html?org/apache/river/start/package-use.html" target="_top">Frames</a></li> <li><a href="package-use.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> <a name="skip.navbar.bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> <p class="legalCopy"><small>Copyright 2007-2013, multiple authors.<br>Licensed under the <a href=http://www.apache.org/licenses/LICENSE-2.0 target=child >Apache License, Version 2.0</a>, see the <a href=../../../../doc-files/NOTICE target=child >NOTICE</a> file for attributions.</small></p> </body> </html>
doc/0.9.13-incubating/guacamole-ext/org/apache/guacamole/net/auth/permission/class-use/SystemPermissionSet.html
mike-jumper/incubator-guacamole-website
<!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_121) on Sun Jul 02 12:07:17 PDT 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Interface org.apache.guacamole.net.auth.permission.SystemPermissionSet (guacamole-ext 0.9.13-incubating API)</title> <meta name="date" content="2017-07-02"> <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="Uses of Interface org.apache.guacamole.net.auth.permission.SystemPermissionSet (guacamole-ext 0.9.13-incubating API)"; } } catch(err) { } //--> </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><a href="../../../../../../../org/apache/guacamole/net/auth/permission/SystemPermissionSet.html" title="interface in org.apache.guacamole.net.auth.permission">Class</a></li> <li class="navBarCell1Rev">Use</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</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../../../../index.html?org/apache/guacamole/net/auth/permission/class-use/SystemPermissionSet.html" target="_top">Frames</a></li> <li><a href="SystemPermissionSet.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> <a name="skip.navbar.top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <div class="header"> <h2 title="Uses of Interface org.apache.guacamole.net.auth.permission.SystemPermissionSet" class="title">Uses of Interface<br>org.apache.guacamole.net.auth.permission.SystemPermissionSet</h2> </div> <div class="classUseContainer"> <ul class="blockList"> <li class="blockList"> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation"> <caption><span>Packages that use <a href="../../../../../../../org/apache/guacamole/net/auth/permission/SystemPermissionSet.html" title="interface in org.apache.guacamole.net.auth.permission">SystemPermissionSet</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Package</th> <th class="colLast" scope="col">Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><a href="#org.apache.guacamole.net.auth">org.apache.guacamole.net.auth</a></td> <td class="colLast"> <div class="block">Provides classes which can be used to extend or replace the authentication functionality of the Guacamole web application.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="#org.apache.guacamole.net.auth.simple">org.apache.guacamole.net.auth.simple</a></td> <td class="colLast"> <div class="block">Provides a basic AuthenticationProvider base class that can be used to create simple AuthenticationProviders in the same way allowed by the old authentication API.</div> </td> </tr> </tbody> </table> </li> <li class="blockList"> <ul class="blockList"> <li class="blockList"><a name="org.apache.guacamole.net.auth"> <!-- --> </a> <h3>Uses of <a href="../../../../../../../org/apache/guacamole/net/auth/permission/SystemPermissionSet.html" title="interface in org.apache.guacamole.net.auth.permission">SystemPermissionSet</a> in <a href="../../../../../../../org/apache/guacamole/net/auth/package-summary.html">org.apache.guacamole.net.auth</a></h3> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../../../../org/apache/guacamole/net/auth/package-summary.html">org.apache.guacamole.net.auth</a> that return <a href="../../../../../../../org/apache/guacamole/net/auth/permission/SystemPermissionSet.html" title="interface in org.apache.guacamole.net.auth.permission">SystemPermissionSet</a></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> <tbody> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../../../org/apache/guacamole/net/auth/permission/SystemPermissionSet.html" title="interface in org.apache.guacamole.net.auth.permission">SystemPermissionSet</a></code></td> <td class="colLast"><span class="typeNameLabel">User.</span><code><span class="memberNameLink"><a href="../../../../../../../org/apache/guacamole/net/auth/User.html#getSystemPermissions--">getSystemPermissions</a></span>()</code> <div class="block">Returns all system-level permissions given to this user.</div> </td> </tr> </tbody> </table> </li> <li class="blockList"><a name="org.apache.guacamole.net.auth.simple"> <!-- --> </a> <h3>Uses of <a href="../../../../../../../org/apache/guacamole/net/auth/permission/SystemPermissionSet.html" title="interface in org.apache.guacamole.net.auth.permission">SystemPermissionSet</a> in <a href="../../../../../../../org/apache/guacamole/net/auth/simple/package-summary.html">org.apache.guacamole.net.auth.simple</a></h3> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation"> <caption><span>Classes in <a href="../../../../../../../org/apache/guacamole/net/auth/simple/package-summary.html">org.apache.guacamole.net.auth.simple</a> that implement <a href="../../../../../../../org/apache/guacamole/net/auth/permission/SystemPermissionSet.html" title="interface in org.apache.guacamole.net.auth.permission">SystemPermissionSet</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Class and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>class&nbsp;</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/guacamole/net/auth/simple/SimpleSystemPermissionSet.html" title="class in org.apache.guacamole.net.auth.simple">SimpleSystemPermissionSet</a></span></code> <div class="block">A read-only implementation of SystemPermissionSet which uses a backing Set of Permissions to determine which permissions are present.</div> </td> </tr> </tbody> </table> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../../../../org/apache/guacamole/net/auth/simple/package-summary.html">org.apache.guacamole.net.auth.simple</a> that return <a href="../../../../../../../org/apache/guacamole/net/auth/permission/SystemPermissionSet.html" title="interface in org.apache.guacamole.net.auth.permission">SystemPermissionSet</a></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> <tbody> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../../../org/apache/guacamole/net/auth/permission/SystemPermissionSet.html" title="interface in org.apache.guacamole.net.auth.permission">SystemPermissionSet</a></code></td> <td class="colLast"><span class="typeNameLabel">SimpleUser.</span><code><span class="memberNameLink"><a href="../../../../../../../org/apache/guacamole/net/auth/simple/SimpleUser.html#getSystemPermissions--">getSystemPermissions</a></span>()</code>&nbsp;</td> </tr> </tbody> </table> </li> </ul> </li> </ul> </div> <!-- ======= 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><a href="../../../../../../../org/apache/guacamole/net/auth/permission/SystemPermissionSet.html" title="interface in org.apache.guacamole.net.auth.permission">Class</a></li> <li class="navBarCell1Rev">Use</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</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../../../../index.html?org/apache/guacamole/net/auth/permission/class-use/SystemPermissionSet.html" target="_top">Frames</a></li> <li><a href="SystemPermissionSet.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> <a name="skip.navbar.bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> <p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p> <!-- Google Analytics --> <script type="text/javascript"> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-75289145-1', 'auto'); ga('send', 'pageview'); </script> </body> </html>
App/Qwadmin/View/Flash/edit.html
meetufrank/official
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta charset="utf-8" /> <title>{$current['title']}-{$Think.CONFIG.title}</title> <meta name="keywords" content="{$Think.CONFIG.keywords}" /> <meta name="description" content="{$Think.CONFIG.description}" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" /> <include file="Public/head" /> </head> <body class="no-skin"> <include file="Public/header" /> <div class="main-container" id="main-container"> <script type="text/javascript"> try{ace.settings.check('main-container' , 'fixed')}catch(e){} </script> <include file="Public/sidebar" /> <div class="main-content"> <div class="main-content-inner"> <!-- #section:basics/content.breadcrumbs --> <include file="Public/breadcrumbs" /> <!-- /section:basics/content.breadcrumbs --> <div class="page-content"> <include file="Public/set" /> <!-- /section:settings.box --> <div class="row"> <div class="col-xs-12"> <!-- PAGE CONTENT BEGINS --> <form class="form-horizontal" id="form" method="post" action="{:U('update')}?id={$flash.id}"> <div class="space-4"></div> <div class="form-group"> <label class="col-sm-1 control-label no-padding-right" for="form-field-1"> 标题 </label> <div class="col-sm-9"> <input type="text" name="title" id="title" placeholder="标题" class="col-xs-10 col-sm-5" value="{$flash['title']}"> <span class="help-inline col-xs-12 col-sm-7"> <span class="middle">标题不能为空。</span> </span> </div> </div> <div class="space-4"></div> <div class="form-group"> <label class="col-sm-1 control-label no-padding-right" for="form-field-2"> 链接地址 </label> <div class="col-sm-9"> <input type="url" name="url" id="url" placeholder="链接地址" class="col-xs-10 col-sm-5" value="{$flash['url']}"> <span class="help-inline col-xs-12 col-sm-7"> <span class="middle">链接地址。</span> </span> </div> </div> <div class="space-4"></div> <div class="form-group"> <label class="col-sm-1 control-label no-padding-right" for="form-field-4"> 焦点图 </label> <div class="col-sm-9"> <div class="col-xs-10 col-sm-5">{:UpImage("pic",400,100,$flash['pic'])}</div> <span class="help-inline col-xs-12 col-sm-7"> <span class="middle">仅支持jpg、gif、png、bmp、jpeg,且小于1MB。</span> </span> </div> </div> <div class="space-4"></div> <div class="form-group"> <label class="col-sm-1 control-label no-padding-right" for="form-field-2"> 排序 </label> <div class="col-sm-9"> <input type="number" name="o" id="o" placeholder="排序" class="col-xs-10 col-sm-5" value="{$flash['o']}"> <span class="help-inline col-xs-12 col-sm-7"> <span class="middle">越小越靠前。</span> </span> </div> </div> <div class="col-md-offset-2 col-md-9"> <button class="btn btn-info submit" type="button"> <i class="icon-ok bigger-110"></i> 提交 </button> &nbsp; &nbsp; &nbsp; <button class="btn" type="reset"> <i class="icon-undo bigger-110"></i> 重置 </button> </div> </form> <!-- PAGE CONTENT ENDS --> </div><!-- /.col --> </div><!-- /.row --> </div><!-- /.page-content --> </div> </div><!-- /.main-content --> <include file="Public/footer" /> </div><!-- /.main-container --> <include file="Public/footerjs" /> <!-- inline scripts related to this page --> <script type="text/javascript"> $(function() { $(".btn-info.submit").click(function(){ var webname = $("#webname").val(); var url = $("#url").val(); if(webname==0){ bootbox.dialog({ title: '友情提示:', message: "标题必须选择。", buttons: { "success" : { "label" : "确定", "className" : "btn-danger" } } }); return; } if(url==''){ bootbox.dialog({ title: '友情提示:', message: "链接地址必须填写。", buttons: { "success" : { "label" : "确定", "className" : "btn-danger" } } }); return; } $("#form").submit(); }); }); </script> </body> </html>
modules/activiti-admin/src/main/webapp/styles/style.css
stefan-ziel/Activiti
/* Colors: - Header dark: #384042 - Activiti blue: #2674aa - Activiti green: #55ae4d - Body/border grey: #eef1f1 - Component border: #c9d2d2 - Non-focus header-text: #6b7a7a - Selection blue: #aad1ec */ body { font-family: 'Open Sans', sans-serif; background-color: #eef1f1; padding-top: 60px; padding-bottom: 20px; } .container { margin: 0 auto; min-width: 1024px; } .error-text { color: red; } [ng\:cloak], [ng-cloak], .ng-cloak { display: none; } .inline-button input.form-control { width: 80%; } .inline-button > .btn-group { width: 20%; padding-right: 5px; } .inline-button > .btn-group button { width: 100%; margin: 0 5px; } .inline-button .checkbox label { font-size: 12px; } .inline-button { margin-bottom: 5px; } .inline-button:lastchild { margin-bottom: 0; } .inline-button > .btn-group > .btn:first-child { margin-left: 5px; } .inline-button.wide input.form-control { width: 65%; } .inline-button.wide > .btn-group { width: 35%; } /* Navigation */ .navbar { background-color: #384042; border: none; min-height: 40px; } .nav.navbar-nav { background-color: #384042; color: #eef1f1; border: none; margin-left: 20px; } .navbar-header .navbar-brand { padding-top: 0px; line-height: 40px; height: 40px; width: 180px; } .nav.navbar-nav li a { line-height: 40px; height: 40px; padding-top: 0; font-weight: bold; color: #eef1f1; font-size: 12px; } .navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus { background-color: #55ae4d; color: #ffffff; } .navbar .btn-group > .btn-default { background-color: #000000; border-color: #000000; color: #eef1f1; font-size: 12px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; margin-top: 8px; padding-top: 2px; padding-bottom: 2px; } .navbar .dropdown-menu { background-color: #384042; } .navbar .dropdown-menu>li>a:hover, .navbar .dropdown-menu>li>a:focus { background-color: #384042; } .navbar .dropdown-menu>.active>a, .navbar .dropdown-menu>.active>a:hover, .navbar .dropdown-menu>.active>a:focus { background-color: #55ae4d; color: #ffffff; } .navbar .dropdown-menu>li>a { color: #ffffff; } .tabs-wrapper { margin-bottom: 20px; } .tabs-wrapper .badge { background-color: #bfbfbf; font-size: 10px; } .component .tabs-wrapper .title { background: rgb(238,241,241); } .tabs { padding: 0px; margin-bottom: -1px; margin-left: -1px; margin-top: -1px; z-index: 2000; } .tabs-sm { margin-left: 5px; padding-top: 10px; } .tabs .tab { float: left; border-right: 1px solid #eef1f1; border-bottom: 1px solid #eef1f1; background-color: #f5f7f7; margin-top: 0; } .tabs .tab a { font-size: 15px; font-weight: bold; text-decoration: none; margin: 0; padding: 8px 15px; line-height: 36px; color: #7b8a8a; background-color: #f5f7f7; cursor: pointer; } .tabs-sm .tab { border-top: 1px solid #eef1f1; } .tabs-sm .tab a { font-size: 13px; padding: 7px 15px; line-height: 32px; } .tabs-sm .tab:first-child { border-left: 1px solid #eef1f1; } .tabs .tab:first-child a { -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; } .tabs .tab.active{ border-bottom-color: #ffffff; background-color: #ffffff; } .tabs .label { margin-left: 5px; } .tabs .tab a:hover { color: #384042; } .tabs .tab.active a, .tabs .tab.active a:hover{ background-color: #ffffff; color: #000000; cursor: pointer; } /* Components boxes */ .component { background-color: #ffffff; margin-top: 10px; min-height: 300px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0 0 2px 1px rgba(201,210,210,200); box-shadow: 0 0 2px 1px rgba(201,210,210,200); padding: 1px; } .component pre { margin: 10px; font-size: 12px; } .component.component-pack { min-height: 50px; } .component h2 { font-size: 15px; font-weight: bold; text-decoration: none; margin: 0; padding: 10px 10px 10px 10px; background-color: #ffffff; min-height: 36px; } .component h1 { font-size: 25px; font-weight: bold; text-decoration: none; margin: 0; padding: 10px 10px 10px 10px; background-color: #ffffff; min-height: 36px; } .component h3 { font-size: 14px; font-weight: bold; text-decoration: none; margin: 0; padding: 5px 10px 5px 10px; background-color: #ffffff; } .component .no-results { margin: 20px 10px; color: #6b7a7a; } .component .no-results .glyphicon-info-sign { color: inherit; } .component .list-group { list-style: none; list-style-position: inside; margin-bottom: 5px; padding: 5px 0px 0px 0px; } .component .list-group li { padding: 5px 10px 5px 10px; font-size: 13px; } .component .list-group .btn, .component .list-group .btn-group { width: 100%; text-align: left; } .component .list-group .btn-danger { background-color: #ffffff; color: #d9534f; border-color: #d9534f; } .component .list-group .btn i.glyphicon { margin-right: 10px; } .component .title a.action, .component .tabs-wrapper a.action { font-size: 11px; line-height: 35px; margin: 0 10px; cursor: pointer; } .label-wrapper { margin: 5px 5px 0px 0px; } .component .title, .component .seperator, .modal-header-wrapper, .modal-footer-wrapper { padding-bottom: 1px; background: #c9d2d2; /* Old browsers without gradient */ background: -moz-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(238,241,241,1) 5%, rgba(238,241,241,1) 95%, rgba(255,255,255,1) 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,1)), color-stop(5%,rgba(238,241,241,1)), color-stop(95%,rgba(238,241,241,1)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(left, rgba(255,255,255,1) 0%,rgba(238,241,241,1) 5%,rgba(238,241,241,1) 95%,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(left, rgba(255,255,255,1) 0%,rgba(238,241,241,1) 5%,rgba(238,241,241,1) 95%,rgba(255,255,255,1) 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(left, rgba(255,255,255,1) 0%,rgba(238,241,241,1) 5%,rgba(238,241,241,1) 95%,rgba(255,255,255,1) 100%); /* IE10+ */ background: linear-gradient(to right, rgba(255,255,255,1) 0%,rgba(238,241,241,1) 5%,rgba(238,241,241,1) 95%,rgba(255,255,255,1) 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c9d2d2', endColorstr='#c9d2d2',GradientType=1 ); /* IE6-9 */ } .modal-footer-wrapper { padding-top: 1px; padding-bottom: 0; } .component .title > .btn-group { margin-top: 2px; margin-right: 2px; } .component .input-group { width: 100%; } .component .input-group .btn-group { width: 100%; } .component .input-group .btn-group .dropdown-menu { width: 100%; } .component .input-group .btn-group .btn { text-align: left; } .component .input-group span { font-size: 12px; } .dropdown-menu { font-size: 12px; } .component .section { margin: 5px 10px 10px 10px; } .component .section .subtitle { color: #6b7a7a; font-size: 12px; margin-bottom: 2px; } .component .section .subtitle a { text-decoration: none; cursor: pointer; color: #6b7a7a; } .component .section .subtitle .glyphicon-remove { display: none; } .component .section .subtitle a:hover .glyphicon-remove { display: inherit; } .component .section .subtitle label { font-weight: normal; margin: 0; cursor: pointer; } .component p { font-size: 12px; margin: 10px; } .component .glyphicon-info-sign { color: #2674aa; margin-right: 5px; } .no-min-height { min-height: 0px; } /* Grids */ .gridStyle { width: 100%; height: 400px; border: none; margin-bottom: 5px; } .grid-wrapper-compact .gridStyle { height: 200px; } .grid-wrapper { width: 100%; padding: 10px; } .grid-wrapper .gridStyle { margin-bottom: 5px; border: 1px solid transparent; } .grid-wrapper .ngTopPanel { background-color: transparent; border: none; } .grid-wrapper .ngHeaderText { padding: 8px 0px 0px 0px; } .gridStyle .ngHeaderCell { padding-left: 5px; font-weight: bold; font-size: 12px; background-color: transparent; } .grid-wrapper .ngVerticalBar.ngVerticalBarVisible { background-color: #eef1f1; } .grid-wrapper .ngCellText { font-size: 12px; padding: 10px 5px 10px 5px; } .grid-wrapper .ngCellTextCenter { text-align: center; font-size: 15px; color: #55ae4d; } .grid-wrapper .ngCellTextCenter .glyphicon { color: #55ae4d; } .grid-wrapper .ngRow.even { background-color: #f6f7f7; } .grid-wrapper .ngRow.odd { background-color: #ffffff; } .grid-wrapper .ngRow.even.selected { background-color: #aad1ec; } .grid-wrapper .ngRow.odd.selected { background-color: #aad1ec; } .grid-wrapper .ngRow:hover { background-color: #aad1ec; } .grid-wrapper .ngRow:hover .ngVerticalBar.ngVerticalBarVisible { background-color: #aad1ec; } .grid-wrapper .ngRow.selected .ngVerticalBar.ngVerticalBarVisible { background-color: #aad1ec; } .grid-wrapper i { color: #6b7a7a; } .grid-wrapper .grid-message { margin: 0px 0px 10px 0px; color: #6b7a7a; font-size: 12px; } .grid-wrapper .grid-message .highlight, .grid-wrapper .grid-message .highlight i { color: #2674aa; font-weight: bold; } .grid-wrapper .gridStyle-highlight { border: 1px solid #aad1ec; } /* Properties */ .property-wrapper { margin: 10px; } .property-wrapper table { width: 100%; } .property { font-size: 12px; } .property td { padding: 5px 5px; width: 30%; vertical-align: top; } .property .property-name { font-weight: bold; width: 15%; } .property.property-float-2 { width: 50%; float: left; padding: 0 15px 10px 0; } .property.property-float-3 { width: 33%; float: left; padding: 0 15px 10px 0; } .property.property-float-2 .property-name, .property.property-float-3 .property-name { margin-right: 15px; width: inherit; } .property a { cursor: pointer; } .property ul { padding: 5px; list-style: square inside; } /* Activiti Icon font */ @font-face { font-family: 'svgfont_1regular'; src: url('../fonts/font3933-webfont.eot'); src: url('../fonts/font3933-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/font3933-webfont.woff') format('woff'), url('../fonts/font3933-webfont.ttf') format('truetype'), url('../fonts/font3933-webfont.svg#svgfont_1regular') format('svg'); font-weight: normal; } /* Loading animation */ .loading { margin: 0px 15px; text-align: center; line-height: 34px; } .message .loading { line-height: 40px; margin-left: 0px; } .loading > div { width: 10px; height: 10px; background-color: #9fd7e5; margin: 1px; border-radius: 100%; display: inline-block; -webkit-animation: bouncedelay 1.4s infinite ease-in-out; animation: bouncedelay 1.4s infinite ease-in-out; /* Prevent first frame from flickering when animation starts */ -webkit-animation-fill-mode: both; animation-fill-mode: both; } .loading .l1 { -webkit-animation-delay: -0.32s; animation-delay: -0.32s; } .loading .l2 { -webkit-animation-delay: -0.16s; animation-delay: -0.16s; } @-webkit-keyframes bouncedelay { 0%, 80%, 100% { -webkit-transform: scale(0.0) } 40% { -webkit-transform: scale(1.0) } } @keyframes bouncedelay { 0%, 80%, 100% { transform: scale(0.0); -webkit-transform: scale(0.0); } 40% { transform: scale(1.0); -webkit-transform: scale(1.0); } } /* Modal window */ .modal-header { margin-top: 6px; border-bottom: none; background-color: white; padding: 4px 10px 10px 10px; } .modal-header h2 { font-size: 15px; font-weight: bold; text-decoration: none; margin: 0; background-color: #ffffff; } .modal-header a.action { font-size: 11px; line-height: 18px; margin: 0 10px; cursor: pointer; } .modal-body { padding: 5px 10px; max-height: 850px; min-height: 100px; overflow: auto; } .modal-body.modal-body-high { min-height: 850px; } .modal-body.modal-body-medium { min-height: 300px; } .modal.modal-full-width .modal-dialog { width: 95%; } .modal-body p { font-size: 13px; margin: 20px 0px; } .modal-footer { margin-top: 0; padding: 11px 10px 5px 10px; border: none; background-color: #ffffff; margin-bottom: 6px; } .with-right-marging { margin-right: 20px; } .edit-table { width: 100%; padding: 10px; font-size: 12px; } .edit-table .message { font-size: 12px; color: #6b7a7a; padding: 0; margin: 2px 5px; } .edit-label { width: 30%; vertical-align: middle; text-align: left; } .edit-label-top { width: 30%; vertical-align: top; text-align: left; } .edit-table input, .edit-table .input-group { width: 95%; } .edit-table input[type=checkbox] { width: inherit; } .edit-table td { padding: 5px; } .master-config-modal > .modal-dialog { width: 1100px; } /* Graph bars */ .graph-wrapper { height: 15px; width: 100%; margin: 2px 0; background-color: #384042; border: 1px solid #384042; overflow: hidden; } .graph-bar { background-color: #55ae4d; height: 13px; content: ' '; } /* CSS Arrow */ .tip-left { position: relative; min-height: 100px;} .tip-left:after, .tip-left:before { right: 100%; top: 20px; border: solid transparent; content: ' '; height: 0; width: 0; position: absolute; pointer-events: none; } .tip-left:after { border-color: rgba(255, 255, 255, 0); border-right-color: #ffffff; border-width: 6px; margin-top: -6px; } .tip-left:before { border-color: rgba(255, 255, 255, 0); border-right-color: #c9d2d2; border-width: 7px; margin-top: -7px; } /* Retina tweaks */ @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and ( min--moz-device-pixel-ratio: 1.5), only screen and ( -o-min-device-pixel-ratio: 3/2), only screen and ( min-device-pixel-ratio: 1.5), only screen and (min-resolution: 192dpi) { .navbar-header .navbar-brand { background: url(../images/logo-2x.png) no-repeat 15px center; background-size: 26px 26px; background-repeat: no-repeat; } } .engine-section { margin: 20px 0 10px 0; } /* Login */ .login-wrapper { width: 100%; padding: 15px 10px; } .login { margin-top: 45px; } /* Cluster config */ .cluster-config-wizard-step-cluster { background: url(../images/cluster.png) no-repeat left center; background-repeat: no-repeat; padding-left: 44px; } .cluster-config-wizard-step-network { background: url(../images/network.png) no-repeat left center; background-repeat: no-repeat; padding-left: 44px; } .cluster-config-wizard-step-security { background: url(../images/settings.png) no-repeat left center; background-repeat: no-repeat; padding-left: 44px; } .cluster-config-wizard-step-activiti { background: url(../images/activiti.png) no-repeat left center; background-repeat: no-repeat; padding-left: 44px; } @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and ( min--moz-device-pixel-ratio: 1.5), only screen and ( -o-min-device-pixel-ratio: 3/2), only screen and ( min-device-pixel-ratio: 1.5), only screen and (min-resolution: 192dpi) { .cluster-config-wizard-step-cluster { background: url(../images/cluster-x2.png) no-repeat left center; background-size: 40px 40px; } .cluster-config-wizard-step-network { background: url(../images/network-x2.png) no-repeat left center; background-size: 40px 40px; } .cluster-config-wizard-step-security { background: url(../images/settings-x2.png) no-repeat left center; background-size: 40px 40px; } .cluster-config-wizard-step-activiti { background: url(../images/activiti-x2.png) no-repeat left center; background-size: 40px 40px; } } .bpm-suite-config { height: 500px; max-height: 500px; } /* Upload from Modeler */ .upload-from-modeler-dialog > .modal-dialog { width: 800px; min-height: 0px; } .upload-from-modeler-form { text-align: center; margin: 20px 0 20px 0; } .upload-from-modeler-form span { margin-bottom: 20px; } .upload-from-modeler-form form { margin-left: 20%; margin-right: 20%; text-align: left; } .modeler-processes-error { color: red; font-size: smaller; padding: 7px 5px 0 0; } .process-model-wrapper { padding-left: 0; margin-top: 5px; } .process-model-wrapper .message { text-align: left; margin-left: 5px; line-height: 40px; color: #606b7d; } .process-model-wrapper .message span { font-size: 14px; } .process-model-wrapper .process-model { width: 33%; padding: 0; maring: 0; float: left; } .process-model-wrapper .process-model .process-model-box { margin: 5px; border: 1px solid #e8edf1; height: 250px; overflow: hidden; cursor: pointer; background-repeat: no-repeat; background-position: center 20px; background-size: 100% auto; } .process-model-box .details { background-color: #e8edf1; height: 160px; margin-top: 120px; padding: 5px; color: #373e48; font-size: 13px; transition: margin-top .5s ease; -moz-transition: margin-top .5s ease; -webkit-transition: margin-top .5s ease; -o-transition: margin-top .5s ease; } .process-model-box .selected-process{ background-color: #55ae4d; } .process-model-box:hover .details, .process-model-box.active .details { margin-top: 50px; } .process-model-box .actions { padding: 5px; height: 45px; } .process-model-box .actions .btn-group { visibility: hidden; } .process-model-box:hover .actions .btn-group, .process-model-box.active .actions .btn-group { visibility: inherit; } .process-model-box .details h3 { font-size: 14px; margin: 0; padding: 2px; color: #373e48; } .process-model-box .details span { display: block; margin-top: 5px; } .process-model-box .details span i { padding-right: 10px; padding-left: 5px; } .process-model-box .details .basic-details { min-height: 60px; } .process-model-box .details p { width: 100%; height: 70px; font-size: 12px; overflow: hidden; } /* Alerts */ .alert-wrapper { position: fixed; top: 40px; left: 30%; right: 30%; z-index: 1030; } .alert { width: 100%; margin: 5px auto; min-height: 20px; background-color: #eef4d7; border-color: #bcd35f; padding: 4px 10px; } .alert .pull-right { margin-left: 10px; } .alert .badge { background-color: #bcd35f; color: #ffffff; font-size: 12px; margin-top: 2px; } .alert .glyphicon { padding-right: 8px; color: #bcd35f; } .alert span { color: #445016; font-size: 15px; } .alert.error { background-color: #e9af9f; border-color: #e4593d; } .alert.error .glyphicon { color: #e4593d; } .alert.error span { color: #471313; } .alert.error .badge { background-color: #e4593d; color: #ffffff; } /* Upload deployment */ .upload-deployment-form { margin: 0 20% 0 20%; text-align: center; } .dropbox { background: #F8F8F8; border: 5px dashed #DDD; color: #8e8e8e; text-align: center; padding: 35px 0 35px 0; margin: 20px 0 20px 0; } .dropbox.dragover { border: 5px dashed #55ae4d; color: #55ae4d; } #bpmnModel { margin-top: 15px; margin-bottom: 15px; } /* Monitoring */ .metrics { font-size: 12px; float:left; } .metrics-numbers { width: 300px; float: left; margin-top: 26px; } .metrics-count-chart { float: left; } .metrics-title { font-weight: bold; } .metrics-titles td { font-weight: bold; padding-top: 30px; } /* Inpired by http://icant.co.uk/csscharts/ */ /* Hour count chart */ .hour-count-chart { position: relative; margin:0; padding:0; background: #fc6 border:1px solid #999; height:100px; width:500px; list-style:none; overflow:hidden; } .hour-count-chart-entry { height:100px; list-style:none; margin:0; padding:0; float:left; width:20px; border: 1px solid #eee; background-color: #fc6; border-right-width: 2px; } .hour-count-chart-entry span{ display:none; position:absolute; top:1em; font-size: 14px; font-weight: bold; } .hour-count-chart-entry:hover{ background: #693; border-color: #ddd; } .hour-count-chart-entry:hover span{ left:1em; display:inline; } /* Weekday css */ .weekday-count-chart { position: relative; margin:0; padding:0; background: #fc6 border:1px solid #999; height:100px; width:182px; list-style:none; overflow:hidden; } .weekday-count-chart-entry { height:100px; list-style:none; margin:0; padding:0; float:left; width:24px; border: 1px solid #eee; background-color: #55ae4d; border-right-width: 2px; } .weekday-count-chart-entry span{ display:none; position:absolute; top:1em; font-size: 14px; font-weight: bold; } .weekday-count-chart-entry:hover{ background: #693; border-color: #ddd; } .weekday-count-chart-entry:hover span{ left:1em; display:inline; } .no-overflow{ overflow: visible; } .type-ahead-scrollable .dropdown-menu { max-height: 300px; overflow: auto; width: 100%; } .type-ahead-scrollable .dropdown-menu a .user-label { padding-left: 8px; } .decision-table-grid { border: 1px solid rgb(212,212,212); width: 100%; height: 372px; margin-bottom: 10px; } .decision-table .btn-success { color: #fff; background-color: #5cb85c; } .decision-table .btn-success:hover, .decision-table .btn-success:focus { background-color: #419641; background-position: 0 -15px; } .decision-table-grid .ui-grid-header-viewport, .decision-table-grid .ui-grid-header-canvas { height: 70px; } .decision-table-grid .header-expression { height: 70px; border-bottom: 5px solid rgb(43, 37, 37); border-bottom: 5px solid rgba(43, 37, 37, 0.22); } .decision-table-grid .header-input-expression { /* Fallback for web browsers that doesn't support RGBa */ background: rgb(54, 167, 196); /* RGBa with 0.6 opacity */ background: rgba(54, 167, 196, 0.6); /*background-color: #668b94;*/ color: #ffffff; font-size: 14px; } .decision-table-grid .header-output-expression { border-left: 5px solid rgb(212,212,212); /* Fallback for web browsers that doesn't support RGBa */ background: rgb(92, 184, 92); /* RGBa with 0.6 opacity */ background: rgba(92, 184, 92, 0.6); color: #ffffff; font-size: 14px; } .decision-table-grid .header-output-expression ~ .header-output-expression { border-left: none; } .decision-table-grid .cell-input-expression { /* Fallback for web browsers that doesn't support RGBa */ background: rgb(54, 167, 196); /* RGBa with 0.6 opacity */ background: rgba(54, 167, 196, 0.1); } .decision-table-grid .cell-output-expression { border-left: 5px solid rgb(212,212,212); /* Fallback for web browsers that doesn't support RGBa */ background: rgb(92, 184, 92); /* RGBa with 0.6 opacity */ background: rgba(92, 184, 92, 0.1); border-left: 3px solid rgb(212,212,212); } .decision-table-grid .cell-output-expression ~ .cell-output-expression { border-left: none; } .decision-table-grid { font-size: 13px; line-height: 20px } .decision-table-output-expression-input, .decision-table-output-expression-input:active, .decision-table-output-expression-input:focus, .decision-table-output-expression-input:visited { background-color: inherit; } .decision-table-output-expression-input:hover { background-color: #287d92; } .decision-table-input-expression-input .caret { display:none; } .decision-table-grid .ui-grid-row.ui-grid-row-selected .cell-input-expression > [ui-grid-row] > .ui-grid-cell { background: rgba(92, 184, 92, 0.4); } .decision-table-grid .ui-grid-row:nth-child(odd) .ui-grid-cell.cell-output-expression, .decision-table-grid .ui-grid-row:nth-child(even) .ui-grid-cell.cell-output-expression { background: rgb(92, 184, 92); /* RGBa with 0.6 opacity */ background: rgba(92, 184, 92, 0.1); border-bottom: 1px solid rgba(43, 37, 37, 0.22); } .decision-table-grid .ui-grid-row.ui-grid-row-selected:nth-child(odd) .ui-grid-cell.cell-output-expression, .decision-table-grid .ui-grid-row.ui-grid-row-selected:nth-child(even) .ui-grid-cell.cell-output-expression { background: rgba(92, 184, 92, 0.2); } .decision-table-grid .ui-grid-row:nth-child(odd) .ui-grid-cell.cell-input-expression, .decision-table-grid .ui-grid-row:nth-child(even) .ui-grid-cell.cell-input-expression { background: rgb(54, 167, 196); /* RGBa with 0.6 opacity */ background: rgba(54, 167, 196, 0.1); border-bottom: 1px solid rgba(43, 37, 37, 0.22); } .decision-table-grid .ui-grid-row.ui-grid-row-selected:nth-child(odd) .ui-grid-cell.cell-input-expression, .decision-table-grid .ui-grid-row.ui-grid-row-selected:nth-child(even) .ui-grid-cell.cell-input-expression { background: rgba(54, 167, 196, 0.2); } .decision-table-grid .ui-grid-render-container-left .ui-grid-header-cell { /* Fallback for web browsers that doesn't support RGBa */ background: rgb(54, 167, 196); /* RGBa with 0.6 opacity */ background: rgba(54, 167, 196, 0.6); /*background-color: #668b94;*/ color: #ffffff; font-size: 14px; border-bottom: 5px solid rgb(43, 37, 37); border-bottom: 5px solid rgba(43, 37, 37, 0.22); } .decision-table-grid .ui-grid-pinned-container.ui-grid-pinned-container-left .ui-grid-header-cell:last-child { border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-bottom: 5px solid rgb(43, 37, 37); border-bottom: 5px solid rgba(43, 37, 37, 0.22); } .decision-table-grid .ui-grid-cell-focus { outline: 0; background-color: transparent; } .decision-table .ui-grid-row-selected .customRowHeader { background-color: #c9dde1 color: #ffffff; border-bottom: 1px solid rgba(43, 37, 37, 0.22); } .decision-table .ui-grid-cell-contents { position: relative; } .decision-table .ui-grid-cell-contents-empty::before { content: "-"; text-align: center; width: 100%; position: absolute; height: 100%; color: gray; } .decision-table .ui-grid-cell-contents .show-error-icon { display: none; } .decision-table .ui-grid-cell-contents .edit-icon { position: absolute; right: 0; } .decision-table .ui-grid-cell-contents.ui-grid-cell-contents-has-error { padding-left: 20px; } .decision-table .decision-table-grid-wrapper { position: relative; margin-top: 10px; } .decision-table .decision-table-grid-wrapper > span { display: none; } .decision-table .decision-table-grid-wrapper .ui-grid-header-cell .ui-grid-cell-contents .text-center { min-height: 20px; } .decision-table .decision-table-grid-wrapper.ui-grid-cell-contents-has-error > .decision-table-grid { border: 1px solid #a94442; } .decision-table .ui-grid-cell-contents.ui-grid-cell-contents-has-error .contents-value, .decision-table .ui-grid-cell-contents.ui-grid-cell-contents-has-error .text-center { color: #a94442; } .decision-table .ui-grid-cell-contents.ui-grid-cell-contents-has-error .show-error-icon, .decision-table .decision-table-grid-wrapper.ui-grid-cell-contents-has-error .show-error-icon { display: block; position: absolute; top: 0; left: 0; padding: 3px; cursor: pointer; z-index: 1; } .activiti-table .ui-grid-pinned-container .ui-grid-header-cell-row::before { content: "#"; position: absolute; width: 100%; text-align: center; top: 50%; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); } .activiti-table .ui-grid-top-panel { background: #FAFAFB none repeat scroll 0% 0%; font-weight: normal; } .activiti-table .ui-grid-top-panel .header-output-expression { background: #f2f2f3 none repeat scroll 0% 0%; } .activiti-table .ui-grid-top-panel .text-center { min-height: 20px; } .activiti-table .ui-grid-top-panel .text-center.subtle { text-transform: uppercase; min-height: 15px; font-size: 10px; margin-top: 3px; } .activiti-table .ui-grid-top-panel .text-value, .activiti-table .ui-grid-top-panel .text-label { text-overflow: ellipsis; overflow: hidden; } .activiti-table .ui-grid-top-panel .text-label { color: #646464; } .activiti-table .ui-grid-top-panel .text-value { font-family: 'Courier', 'Lato', sans-serif; font-size: 12px; } .activiti-table .ui-grid, .activiti-table .ui-grid-pinned-container.ui-grid-pinned-container-left .ui-grid-header-cell:last-child { border: none; } .activiti-table .ui-grid-pinned-container.ui-grid-pinned-container-left .ui-grid-cell:last-child, .activiti-table .ui-grid-header-cell, .activiti-table .ui-grid-cell { border-right: none; } .activiti-table .ui-grid-top-panel .header-output-expression--first { border-left: 1px solid #d4d4d4; } .activiti-table .ui-grid-canvas { padding-top: 0; } .activiti-table .ui-grid-row .ui-grid-cell.ui-grid-row-header-cell { background-color: white; border-bottom: none; } .activiti-table .ui-grid-row:nth-child(odd) .ui-grid-cell { background-color: white; } .activiti-table .ui-grid-row:nth-child(even) .ui-grid-cell { background-color: #fcfcfc; } .activiti-table .ui-grid-row { margin-top: 2px; margin-bottom: 1px; } .activiti-table .ui-grid-cell-contents { margin-left: 1px; margin-right: 1px; } .activiti-table .decision-table-display-cell-notexecuted { } .activiti-table .cell-expression { position: relative; overflow: visible; } .activiti-table .decision-table-display-cell-match { border: 1px solid #36a7c4; } .activiti-table .decision-table-display-cell-nomatch, .activiti-table .decision-table-display-cell-exception { border: 1px solid #9C4337; } .activiti-table .decision-table-display-cell-exception::before { content: "!"; background-color: #9C4337; color: white; border-radius: 10px; position: absolute; right: 0; display: block; width: 20px; text-align: center; height: 20px; margin-right: 5px; font-weight: bold; } .activiti-table .header-output-expression-first, .activiti-table .cell-output-expression-first { border-left: 1px solid #d4d4d4; } .activiti-table .cell-output-expression-first::before { content: ""; position: absolute; top: -2px; left: -1px; background-color: #d4d4d4; width: 1px; height: 3px; } .activiti-table .section h3 { margin: 0; margin-bottom: 1rem; font-size: 14px; color: rgb(100,100,100); letter-spacing: 1px; text-transform: uppercase; } .activiti-table .ui-grid.activiti-ui-grid-noscroll { height: auto !important; margin-bottom: 2rem; } .activiti-table .ui-grid.activiti-ui-grid-noscroll .ui-grid-render-container-body .ui-grid-viewport { overflow-x: auto !important; overflow-y: auto !important; height: auto !important; } .activiti-table h3.header-expandable { cursor: pointer; } .activiti-table h3.header-expandable span.glyphicon { vertical-align: middle; display: inline-block; margin-top: -6px; } .activiti-table h3.header-expandable.header-expanded span.glyphicon { -ms-transform: rotate(90deg); /* IE 9 */ -webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */ transform: rotate(90deg); } .activiti-table .section.pack { min-height: inherit; } .activiti-table .section { margin: 10px 0; padding: 10px 0 0px 0; min-height: 120px; } .activiti-table label { color: #636363; font-size: 14px; display: inline-block; margin-bottom: 5px; font-weight: 700; } .form-preview input:disabled, .form-preview select:disabled, .form-preview textarea:disabled { background: #fff; cursor: default; } .form-popup input:disabled, .form-popup select:disabled, .form-popup textarea:disabled { cursor: default; } .publish-pop-body .ngViewport { overflow-x: hidden; }
app/templates/alpha/product-list.html
deep0919/fwdecommerce
{* Render a list of products in a grid ($with) *} <div class="product-list"> <div class="row"> {foreach $with as $product} <div class="product-list-item span3"> <span class="product-list-image"> <a href="/products/{$product.slug}"> <img src="{image for=$product width=200 height=200 padded=true}" /> </a> </span> <a class="product-list-details" href="/products/{$product.slug}"> <span class="product-list-name"> {$product.name} </span> <span class="product-list-price"> {$product.price|money} </span> </a> </div> {if $product@iteration % 4 == 0} </div><div class="row"> {/if} {/foreach} </div> </div>
apidoc/dark/classes/zebkit.ui.grid.DefViews.html
barmalei/zebkit
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>zebkit.ui.grid.DefViews - zebkit</title> <link rel="stylesheet" href="http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css"> <link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css"> <link rel="stylesheet" href="../assets/css/sunburst.css"> <link rel="stylesheet" href="../assets/css/main.dark.css" id="site_styles"> <script src="http://yui.yahooapis.com/combo?3.9.1/build/yui/yui-min.js"></script> </head> <body class="yui3-skin-sam"> <div id="doc" style="padding-top:16px;"> <div class="yui3-g"> <table style="width:auto"> <tr style="background:none"> <td valign="top" align="left" > <div id="sidebar" class="yui3-u"> <div id="classes" class="sidebox"> <div class="hd"> <h2 class="no-toc">All packages</h2> </div> <div class="bd"> <ul> <li> <a href="../classes/environment.html">environment</a> </li> <li> <a href="../classes/zebkit.html">zebkit</a> </li> <li> <a href="../classes/zebkit.data.html">zebkit.data</a> </li> <li> <a href="../classes/zebkit.draw.html">zebkit.draw</a> </li> <li> <a href="../classes/zebkit.io.html">zebkit.io</a> </li> <li> <a href="../classes/zebkit.layout.html">zebkit.layout</a> </li> <li> <a href="../classes/zebkit.ui.html">zebkit.ui</a> </li> <li> <a href="../classes/zebkit.ui.date.html">zebkit.ui.date</a> </li> <li> <a href="../classes/zebkit.ui.design.html">zebkit.ui.design</a> </li> <li> <a href="../classes/zebkit.ui.event.html">zebkit.ui.event</a> </li> <li> <a href="../classes/zebkit.ui.grid.html">zebkit.ui.grid</a> </li> <li> <a href="../classes/zebkit.ui.tree.html">zebkit.ui.tree</a> </li> <li> <a href="../classes/zebkit.ui.vk.html">zebkit.ui.vk</a> </li> <li> <a href="../classes/zebkit.ui.web.html">zebkit.ui.web</a> </li> <li> <a href="../classes/zebkit.util.html">zebkit.util</a> </li> <li> <a href="../classes/zebkit.web.html">zebkit.web</a> </li> </ul> </div> </div> <div id="classes" class="sidebox"> <div class="hd"> <table border="0" cellpadding="0" cellspecing="0"> <tr> <td> <h2 class="no-toc">All classes</h2> </td> <td> <input id="search" style="width:95%;" type=text value=""/> </td> </tr> </table> </div> <div class="bd"> <table id="allClasses" style="background:none;" border="0"> <tr class="classNameCell" className="zebkit.Class" name="allClassesItem"> <td> <a href="../classes/zebkit.Class.html">zebkit.Class</a> </td> </tr> <tr class="classNameCell" className="zebkit.Class.zObject" name="allClassesItem"> <td> <a href="../classes/zebkit.Class.zObject.html">zebkit.Class.zObject</a> </td> </tr> <tr class="classNameCell" className="zebkit.data.DataModel" name="allClassesItem"> <td> <a href="../classes/zebkit.data.DataModel.html">zebkit.data.DataModel</a> </td> </tr> <tr class="classNameCell" className="zebkit.data.Item" name="allClassesItem"> <td> <a href="../classes/zebkit.data.Item.html">zebkit.data.Item</a> </td> </tr> <tr class="classNameCell" className="zebkit.data.ListModel" name="allClassesItem"> <td> <a href="../classes/zebkit.data.ListModel.html">zebkit.data.ListModel</a> </td> </tr> <tr class="classNameCell" className="zebkit.data.Matrix" name="allClassesItem"> <td> <a href="../classes/zebkit.data.Matrix.html">zebkit.data.Matrix</a> </td> </tr> <tr class="classNameCell" className="zebkit.data.SingleLineTxt" name="allClassesItem"> <td> <a href="../classes/zebkit.data.SingleLineTxt.html">zebkit.data.SingleLineTxt</a> </td> </tr> <tr class="classNameCell" className="zebkit.data.Text" name="allClassesItem"> <td> <a href="../classes/zebkit.data.Text.html">zebkit.data.Text</a> </td> </tr> <tr class="classNameCell" className="zebkit.data.TextEvent" name="allClassesItem"> <td> <a href="../classes/zebkit.data.TextEvent.html">zebkit.data.TextEvent</a> </td> </tr> <tr class="classNameCell" className="zebkit.data.TextModel" name="allClassesItem"> <td> <a href="../classes/zebkit.data.TextModel.html">zebkit.data.TextModel</a> </td> </tr> <tr class="classNameCell" className="zebkit.data.TreeModel" name="allClassesItem"> <td> <a href="../classes/zebkit.data.TreeModel.html">zebkit.data.TreeModel</a> </td> </tr> <tr class="classNameCell" className="zebkit.DoIt" name="allClassesItem"> <td> <a href="../classes/zebkit.DoIt.html">zebkit.DoIt</a> </td> </tr> <tr class="classNameCell" className="zebkit.draw.ArrowView" name="allClassesItem"> <td> <a href="../classes/zebkit.draw.ArrowView.html">zebkit.draw.ArrowView</a> </td> </tr> <tr class="classNameCell" className="zebkit.draw.BaseTextRender" name="allClassesItem"> <td> <a href="../classes/zebkit.draw.BaseTextRender.html">zebkit.draw.BaseTextRender</a> </td> </tr> <tr class="classNameCell" className="zebkit.draw.BaseViewProvider" name="allClassesItem"> <td> <a href="../classes/zebkit.draw.BaseViewProvider.html">zebkit.draw.BaseViewProvider</a> </td> </tr> <tr class="classNameCell" className="zebkit.draw.Border" name="allClassesItem"> <td> <a href="../classes/zebkit.draw.Border.html">zebkit.draw.Border</a> </td> </tr> <tr class="classNameCell" className="zebkit.draw.CheckboxView" name="allClassesItem"> <td> <a href="../classes/zebkit.draw.CheckboxView.html">zebkit.draw.CheckboxView</a> </td> </tr> <tr class="classNameCell" className="zebkit.draw.CompositeView" name="allClassesItem"> <td> <a href="../classes/zebkit.draw.CompositeView.html">zebkit.draw.CompositeView</a> </td> </tr> <tr class="classNameCell" className="zebkit.draw.CutStringRender" name="allClassesItem"> <td> <a href="../classes/zebkit.draw.CutStringRender.html">zebkit.draw.CutStringRender</a> </td> </tr> <tr class="classNameCell" className="zebkit.draw.DecoratedTextRender" name="allClassesItem"> <td> <a href="../classes/zebkit.draw.DecoratedTextRender.html">zebkit.draw.DecoratedTextRender</a> </td> </tr> <tr class="classNameCell" className="zebkit.draw.Dotted" name="allClassesItem"> <td> <a href="../classes/zebkit.draw.Dotted.html">zebkit.draw.Dotted</a> </td> </tr> <tr class="classNameCell" className="zebkit.draw.Etched" name="allClassesItem"> <td> <a href="../classes/zebkit.draw.Etched.html">zebkit.draw.Etched</a> </td> </tr> <tr class="classNameCell" className="zebkit.draw.FunctionRender" name="allClassesItem"> <td> <a href="../classes/zebkit.draw.FunctionRender.html">zebkit.draw.FunctionRender</a> </td> </tr> <tr class="classNameCell" className="zebkit.draw.Gradient" name="allClassesItem"> <td> <a href="../classes/zebkit.draw.Gradient.html">zebkit.draw.Gradient</a> </td> </tr> <tr class="classNameCell" className="zebkit.draw.Line" name="allClassesItem"> <td> <a href="../classes/zebkit.draw.Line.html">zebkit.draw.Line</a> </td> </tr> <tr class="classNameCell" className="zebkit.draw.PasswordText" name="allClassesItem"> <td> <a href="../classes/zebkit.draw.PasswordText.html">zebkit.draw.PasswordText</a> </td> </tr> <tr class="classNameCell" className="zebkit.draw.Pattern" name="allClassesItem"> <td> <a href="../classes/zebkit.draw.Pattern.html">zebkit.draw.Pattern</a> </td> </tr> <tr class="classNameCell" className="zebkit.draw.PentahedronShape" name="allClassesItem"> <td> <a href="../classes/zebkit.draw.PentahedronShape.html">zebkit.draw.PentahedronShape</a> </td> </tr> <tr class="classNameCell" className="zebkit.draw.Picture" name="allClassesItem"> <td> <a href="../classes/zebkit.draw.Picture.html">zebkit.draw.Picture</a> </td> </tr> <tr class="classNameCell" className="zebkit.draw.Radial" name="allClassesItem"> <td> <a href="../classes/zebkit.draw.Radial.html">zebkit.draw.Radial</a> </td> </tr> <tr class="classNameCell" className="zebkit.draw.RadioView" name="allClassesItem"> <td> <a href="../classes/zebkit.draw.RadioView.html">zebkit.draw.RadioView</a> </td> </tr> <tr class="classNameCell" className="zebkit.draw.Raised" name="allClassesItem"> <td> <a href="../classes/zebkit.draw.Raised.html">zebkit.draw.Raised</a> </td> </tr> <tr class="classNameCell" className="zebkit.draw.Render" name="allClassesItem"> <td> <a href="../classes/zebkit.draw.Render.html">zebkit.draw.Render</a> </td> </tr> <tr class="classNameCell" className="zebkit.draw.rgb" name="allClassesItem"> <td> <a href="../classes/zebkit.draw.rgb.html">zebkit.draw.rgb</a> </td> </tr> <tr class="classNameCell" className="zebkit.draw.RoundBorder" name="allClassesItem"> <td> <a href="../classes/zebkit.draw.RoundBorder.html">zebkit.draw.RoundBorder</a> </td> </tr> <tr class="classNameCell" className="zebkit.draw.Shape" name="allClassesItem"> <td> <a href="../classes/zebkit.draw.Shape.html">zebkit.draw.Shape</a> </td> </tr> <tr class="classNameCell" className="zebkit.draw.StringRender" name="allClassesItem"> <td> <a href="../classes/zebkit.draw.StringRender.html">zebkit.draw.StringRender</a> </td> </tr> <tr class="classNameCell" className="zebkit.draw.Sunken" name="allClassesItem"> <td> <a href="../classes/zebkit.draw.Sunken.html">zebkit.draw.Sunken</a> </td> </tr> <tr class="classNameCell" className="zebkit.draw.TextRender" name="allClassesItem"> <td> <a href="../classes/zebkit.draw.TextRender.html">zebkit.draw.TextRender</a> </td> </tr> <tr class="classNameCell" className="zebkit.draw.ThumbView" name="allClassesItem"> <td> <a href="../classes/zebkit.draw.ThumbView.html">zebkit.draw.ThumbView</a> </td> </tr> <tr class="classNameCell" className="zebkit.draw.TitledBorder" name="allClassesItem"> <td> <a href="../classes/zebkit.draw.TitledBorder.html">zebkit.draw.TitledBorder</a> </td> </tr> <tr class="classNameCell" className="zebkit.draw.ToggleView" name="allClassesItem"> <td> <a href="../classes/zebkit.draw.ToggleView.html">zebkit.draw.ToggleView</a> </td> </tr> <tr class="classNameCell" className="zebkit.draw.TriangleShape" name="allClassesItem"> <td> <a href="../classes/zebkit.draw.TriangleShape.html">zebkit.draw.TriangleShape</a> </td> </tr> <tr class="classNameCell" className="zebkit.draw.View" name="allClassesItem"> <td> <a href="../classes/zebkit.draw.View.html">zebkit.draw.View</a> </td> </tr> <tr class="classNameCell" className="zebkit.draw.ViewSet" name="allClassesItem"> <td> <a href="../classes/zebkit.draw.ViewSet.html">zebkit.draw.ViewSet</a> </td> </tr> <tr class="classNameCell" className="zebkit.draw.WrappedTextRender" name="allClassesItem"> <td> <a href="../classes/zebkit.draw.WrappedTextRender.html">zebkit.draw.WrappedTextRender</a> </td> </tr> <tr class="classNameCell" className="zebkit.Dummy" name="allClassesItem"> <td> <a href="../classes/zebkit.Dummy.html">zebkit.Dummy</a> </td> </tr> <tr class="classNameCell" className="zebkit.Event" name="allClassesItem"> <td> <a href="../classes/zebkit.Event.html">zebkit.Event</a> </td> </tr> <tr class="classNameCell" className="zebkit.EventProducer" name="allClassesItem"> <td> <a href="../classes/zebkit.EventProducer.html">zebkit.EventProducer</a> </td> </tr> <tr class="classNameCell" className="zebkit.Font" name="allClassesItem"> <td> <a href="../classes/zebkit.Font.html">zebkit.Font</a> </td> </tr> <tr class="classNameCell" className="zebkit.Interface" name="allClassesItem"> <td> <a href="../classes/zebkit.Interface.html">zebkit.Interface</a> </td> </tr> <tr class="classNameCell" className="zebkit.io.HTTP" name="allClassesItem"> <td> <a href="../classes/zebkit.io.HTTP.html">zebkit.io.HTTP</a> </td> </tr> <tr class="classNameCell" className="zebkit.io.JRPC" name="allClassesItem"> <td> <a href="../classes/zebkit.io.JRPC.html">zebkit.io.JRPC</a> </td> </tr> <tr class="classNameCell" className="zebkit.io.Service" name="allClassesItem"> <td> <a href="../classes/zebkit.io.Service.html">zebkit.io.Service</a> </td> </tr> <tr class="classNameCell" className="zebkit.io.XRPC" name="allClassesItem"> <td> <a href="../classes/zebkit.io.XRPC.html">zebkit.io.XRPC</a> </td> </tr> <tr class="classNameCell" className="zebkit.layout.BorderLayout" name="allClassesItem"> <td> <a href="../classes/zebkit.layout.BorderLayout.html">zebkit.layout.BorderLayout</a> </td> </tr> <tr class="classNameCell" className="zebkit.layout.Constraints" name="allClassesItem"> <td> <a href="../classes/zebkit.layout.Constraints.html">zebkit.layout.Constraints</a> </td> </tr> <tr class="classNameCell" className="zebkit.layout.FlowLayout" name="allClassesItem"> <td> <a href="../classes/zebkit.layout.FlowLayout.html">zebkit.layout.FlowLayout</a> </td> </tr> <tr class="classNameCell" className="zebkit.layout.GridLayout" name="allClassesItem"> <td> <a href="../classes/zebkit.layout.GridLayout.html">zebkit.layout.GridLayout</a> </td> </tr> <tr class="classNameCell" className="zebkit.layout.Layout" name="allClassesItem"> <td> <a href="../classes/zebkit.layout.Layout.html">zebkit.layout.Layout</a> </td> </tr> <tr class="classNameCell" className="zebkit.layout.Layoutable" name="allClassesItem"> <td> <a href="../classes/zebkit.layout.Layoutable.html">zebkit.layout.Layoutable</a> </td> </tr> <tr class="classNameCell" className="zebkit.layout.ListLayout" name="allClassesItem"> <td> <a href="../classes/zebkit.layout.ListLayout.html">zebkit.layout.ListLayout</a> </td> </tr> <tr class="classNameCell" className="zebkit.layout.PercentLayout" name="allClassesItem"> <td> <a href="../classes/zebkit.layout.PercentLayout.html">zebkit.layout.PercentLayout</a> </td> </tr> <tr class="classNameCell" className="zebkit.layout.RasterLayout" name="allClassesItem"> <td> <a href="../classes/zebkit.layout.RasterLayout.html">zebkit.layout.RasterLayout</a> </td> </tr> <tr class="classNameCell" className="zebkit.layout.StackLayout" name="allClassesItem"> <td> <a href="../classes/zebkit.layout.StackLayout.html">zebkit.layout.StackLayout</a> </td> </tr> <tr class="classNameCell" className="zebkit.Listeners" name="allClassesItem"> <td> <a href="../classes/zebkit.Listeners.html">zebkit.Listeners</a> </td> </tr> <tr class="classNameCell" className="zebkit.Package" name="allClassesItem"> <td> <a href="../classes/zebkit.Package.html">zebkit.Package</a> </td> </tr> <tr class="classNameCell" className="zebkit.PathSearch" name="allClassesItem"> <td> <a href="../classes/zebkit.PathSearch.html">zebkit.PathSearch</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.ArrowButton" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.ArrowButton.html">zebkit.ui.ArrowButton</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.BaseList" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.BaseList.html">zebkit.ui.BaseList</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.BoldLabel" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.BoldLabel.html">zebkit.ui.BoldLabel</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.BorderPan" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.BorderPan.html">zebkit.ui.BorderPan</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.Button" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.Button.html">zebkit.ui.Button</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.Checkbox" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.Checkbox.html">zebkit.ui.Checkbox</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.Checkbox.Box" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.Checkbox.Box.html">zebkit.ui.Checkbox.Box</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.CollapsiblePan" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.CollapsiblePan.html">zebkit.ui.CollapsiblePan</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.Combo" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.Combo.html">zebkit.ui.Combo</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.Combo.ComboPadPan" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.Combo.ComboPadPan.html">zebkit.ui.Combo.ComboPadPan</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.Combo.ContentPan" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.Combo.ContentPan.html">zebkit.ui.Combo.ContentPan</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.Combo.EditableContentPan" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.Combo.EditableContentPan.html">zebkit.ui.Combo.EditableContentPan</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.Combo.ReadonlyContentPan" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.Combo.ReadonlyContentPan.html">zebkit.ui.Combo.ReadonlyContentPan</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.CompList" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.CompList.html">zebkit.ui.CompList</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.CompRender" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.CompRender.html">zebkit.ui.CompRender</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.Cursor" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.Cursor.html">zebkit.ui.Cursor</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.date.Calendar" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.date.Calendar.html">zebkit.ui.date.Calendar</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.date.Calendar.MonthsCombo" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.date.Calendar.MonthsCombo.html">zebkit.ui.date.Calendar.MonthsCombo</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.date.DateInputField" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.date.DateInputField.html">zebkit.ui.date.DateInputField</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.date.DateRangeInput" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.date.DateRangeInput.html">zebkit.ui.date.DateRangeInput</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.date.DateTextField" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.date.DateTextField.html">zebkit.ui.date.DateTextField</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.date.MonthDaysGrid" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.date.MonthDaysGrid.html">zebkit.ui.date.MonthDaysGrid</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.date.MonthDaysGrid.DayPan" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.date.MonthDaysGrid.DayPan.html">zebkit.ui.date.MonthDaysGrid.DayPan</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.date.PopupCalendarMix" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.date.PopupCalendarMix.html">zebkit.ui.date.PopupCalendarMix</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.design.FormTreeModel" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.design.FormTreeModel.html">zebkit.ui.design.FormTreeModel</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.design.ShaperBorder" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.design.ShaperBorder.html">zebkit.ui.design.ShaperBorder</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.design.ShaperPan" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.design.ShaperPan.html">zebkit.ui.design.ShaperPan</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.DrawFocusMarker" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.DrawFocusMarker.html">zebkit.ui.DrawFocusMarker</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.event.Clipboard" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.event.Clipboard.html">zebkit.ui.event.Clipboard</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.event.CompEvent" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.event.CompEvent.html">zebkit.ui.event.CompEvent</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.event.CursorManager" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.event.CursorManager.html">zebkit.ui.event.CursorManager</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.event.EventManager" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.event.EventManager.html">zebkit.ui.event.EventManager</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.event.FocusEvent" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.event.FocusEvent.html">zebkit.ui.event.FocusEvent</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.event.FocusManager" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.event.FocusManager.html">zebkit.ui.event.FocusManager</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.event.KeyEvent" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.event.KeyEvent.html">zebkit.ui.event.KeyEvent</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.event.Manager" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.event.Manager.html">zebkit.ui.event.Manager</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.event.MenuEvent" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.event.MenuEvent.html">zebkit.ui.event.MenuEvent</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.event.PointerEvent" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.event.PointerEvent.html">zebkit.ui.event.PointerEvent</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.event.ShortcutEvent" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.event.ShortcutEvent.html">zebkit.ui.event.ShortcutEvent</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.event.ShortcutManager" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.event.ShortcutManager.html">zebkit.ui.event.ShortcutManager</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.event.TrackInputEventState" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.event.TrackInputEventState.html">zebkit.ui.event.TrackInputEventState</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.event.WinEvent" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.event.WinEvent.html">zebkit.ui.event.WinEvent</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.EvStatePan" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.EvStatePan.html">zebkit.ui.EvStatePan</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.FireEventRepeatedly" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.FireEventRepeatedly.html">zebkit.ui.FireEventRepeatedly</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.grid.BaseCaption" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.grid.BaseCaption.html">zebkit.ui.grid.BaseCaption</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.grid.CaptionViewProvider" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.grid.CaptionViewProvider.html">zebkit.ui.grid.CaptionViewProvider</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.grid.CellSelectMode" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.grid.CellSelectMode.html">zebkit.ui.grid.CellSelectMode</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.grid.CellsVisibility" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.grid.CellsVisibility.html">zebkit.ui.grid.CellsVisibility</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.grid.ColSelectMode" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.grid.ColSelectMode.html">zebkit.ui.grid.ColSelectMode</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.grid.CompGridCaption" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.grid.CompGridCaption.html">zebkit.ui.grid.CompGridCaption</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.grid.CompGridCaption.TitlePan" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.grid.CompGridCaption.TitlePan.html">zebkit.ui.grid.CompGridCaption.TitlePan</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.grid.DefEditors" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.grid.DefEditors.html">zebkit.ui.grid.DefEditors</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.grid.DefViews" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.grid.DefViews.html">zebkit.ui.grid.DefViews</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.grid.Grid" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.grid.Grid.html">zebkit.ui.grid.Grid</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.grid.GridCaption" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.grid.GridCaption.html">zebkit.ui.grid.GridCaption</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.grid.GridStretchPan" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.grid.GridStretchPan.html">zebkit.ui.grid.GridStretchPan</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.grid.LeftCompGridCaption" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.grid.LeftCompGridCaption.html">zebkit.ui.grid.LeftCompGridCaption</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.grid.LeftGridCaption" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.grid.LeftGridCaption.html">zebkit.ui.grid.LeftGridCaption</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.grid.Metrics" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.grid.Metrics.html">zebkit.ui.grid.Metrics</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.grid.RowSelectMode" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.grid.RowSelectMode.html">zebkit.ui.grid.RowSelectMode</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.grid.StrippedRows" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.grid.StrippedRows.html">zebkit.ui.grid.StrippedRows</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.Group" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.Group.html">zebkit.ui.Group</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.HostDecorativeViews" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.HostDecorativeViews.html">zebkit.ui.HostDecorativeViews</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.ImageLabel" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.ImageLabel.html">zebkit.ui.ImageLabel</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.ImagePan" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.ImagePan.html">zebkit.ui.ImagePan</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.Label" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.Label.html">zebkit.ui.Label</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.Line" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.Line.html">zebkit.ui.Line</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.LinearRulerPan" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.LinearRulerPan.html">zebkit.ui.LinearRulerPan</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.Link" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.Link.html">zebkit.ui.Link</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.List" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.List.html">zebkit.ui.List</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.List.ViewProvider" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.List.ViewProvider.html">zebkit.ui.List.ViewProvider</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.Menu" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.Menu.html">zebkit.ui.Menu</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.Menubar" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.Menubar.html">zebkit.ui.Menubar</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.MenuItem" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.MenuItem.html">zebkit.ui.MenuItem</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.MobileScrollMan" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.MobileScrollMan.html">zebkit.ui.MobileScrollMan</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.Panel" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.Panel.html">zebkit.ui.Panel</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.PassTextField" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.PassTextField.html">zebkit.ui.PassTextField</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.PointRulerPan" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.PointRulerPan.html">zebkit.ui.PointRulerPan</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.PointRulerPan.DeltaPointsGenerator" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.PointRulerPan.DeltaPointsGenerator.html">zebkit.ui.PointRulerPan.DeltaPointsGenerator</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.PointRulerPan.PointsGenerator" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.PointRulerPan.PointsGenerator.html">zebkit.ui.PointRulerPan.PointsGenerator</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.PopupLayer" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.PopupLayer.html">zebkit.ui.PopupLayer</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.PopupLayerMix" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.PopupLayerMix.html">zebkit.ui.PopupLayerMix</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.Progress" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.Progress.html">zebkit.ui.Progress</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.Radiobox" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.Radiobox.html">zebkit.ui.Radiobox</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.RootLayer" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.RootLayer.html">zebkit.ui.RootLayer</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.RootLayerMix" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.RootLayerMix.html">zebkit.ui.RootLayerMix</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.RulerPan" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.RulerPan.html">zebkit.ui.RulerPan</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.RulerPan.NumLabels" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.RulerPan.NumLabels.html">zebkit.ui.RulerPan.NumLabels</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.RulerPan.PercentageLabels" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.RulerPan.PercentageLabels.html">zebkit.ui.RulerPan.PercentageLabels</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.Scroll" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.Scroll.html">zebkit.ui.Scroll</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.ScrollManager" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.ScrollManager.html">zebkit.ui.ScrollManager</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.ScrollPan" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.ScrollPan.html">zebkit.ui.ScrollPan</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.Slider" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.Slider.html">zebkit.ui.Slider</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.SplitPan" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.SplitPan.html">zebkit.ui.SplitPan</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.StackPan" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.StackPan.html">zebkit.ui.StackPan</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.StatePan" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.StatePan.html">zebkit.ui.StatePan</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.StatusBarPan" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.StatusBarPan.html">zebkit.ui.StatusBarPan</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.Tabs" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.Tabs.html">zebkit.ui.Tabs</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.Tabs.TabView" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.Tabs.TabView.html">zebkit.ui.Tabs.TabView</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.TextArea" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.TextArea.html">zebkit.ui.TextArea</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.TextField" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.TextField.html">zebkit.ui.TextField</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.TextField.HintRender" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.TextField.HintRender.html">zebkit.ui.TextField.HintRender</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.Toolbar" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.Toolbar.html">zebkit.ui.Toolbar</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.Tooltip" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.Tooltip.html">zebkit.ui.Tooltip</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.TooltipManager" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.TooltipManager.html">zebkit.ui.TooltipManager</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.tree.BaseTree" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.tree.BaseTree.html">zebkit.ui.tree.BaseTree</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.tree.CompTree" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.tree.CompTree.html">zebkit.ui.tree.CompTree</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.tree.DefEditors" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.tree.DefEditors.html">zebkit.ui.tree.DefEditors</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.tree.DefViews" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.tree.DefViews.html">zebkit.ui.tree.DefViews</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.tree.Tree" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.tree.Tree.html">zebkit.ui.tree.Tree</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.ViewPan" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.ViewPan.html">zebkit.ui.ViewPan</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.web.CursorManager" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.web.CursorManager.html">zebkit.ui.web.CursorManager</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.web.HtmlCanvas" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.web.HtmlCanvas.html">zebkit.ui.web.HtmlCanvas</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.web.HtmlElement" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.web.HtmlElement.html">zebkit.ui.web.HtmlElement</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.web.HtmlFocusableElement" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.web.HtmlFocusableElement.html">zebkit.ui.web.HtmlFocusableElement</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.web.HtmlLayer" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.web.HtmlLayer.html">zebkit.ui.web.HtmlLayer</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.web.HtmlLink" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.web.HtmlLink.html">zebkit.ui.web.HtmlLink</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.web.HtmlScrollContent" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.web.HtmlScrollContent.html">zebkit.ui.web.HtmlScrollContent</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.web.HtmlTextArea" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.web.HtmlTextArea.html">zebkit.ui.web.HtmlTextArea</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.web.HtmlTextField" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.web.HtmlTextField.html">zebkit.ui.web.HtmlTextField</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.web.HtmlTextInput" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.web.HtmlTextInput.html">zebkit.ui.web.HtmlTextInput</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.web.HtmlWindow" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.web.HtmlWindow.html">zebkit.ui.web.HtmlWindow</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.web.PopupLayer" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.web.PopupLayer.html">zebkit.ui.web.PopupLayer</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.web.RootLayer" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.web.RootLayer.html">zebkit.ui.web.RootLayer</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.web.VideoPan" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.web.VideoPan.html">zebkit.ui.web.VideoPan</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.web.WinLayer" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.web.WinLayer.html">zebkit.ui.web.WinLayer</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.Window" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.Window.html">zebkit.ui.Window</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.WinLayer" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.WinLayer.html">zebkit.ui.WinLayer</a> </td> </tr> <tr class="classNameCell" className="zebkit.ui.zCanvas" name="allClassesItem"> <td> <a href="../classes/zebkit.ui.zCanvas.html">zebkit.ui.zCanvas</a> </td> </tr> <tr class="classNameCell" className="zebkit.URI" name="allClassesItem"> <td> <a href="../classes/zebkit.URI.html">zebkit.URI</a> </td> </tr> <tr class="classNameCell" className="zebkit.util.Position" name="allClassesItem"> <td> <a href="../classes/zebkit.util.Position.html">zebkit.util.Position</a> </td> </tr> <tr class="classNameCell" className="zebkit.util.Position.Metric" name="allClassesItem"> <td> <a href="../classes/zebkit.util.Position.Metric.html">zebkit.util.Position.Metric</a> </td> </tr> <tr class="classNameCell" className="zebkit.util.SingleColPosition" name="allClassesItem"> <td> <a href="../classes/zebkit.util.SingleColPosition.html">zebkit.util.SingleColPosition</a> </td> </tr> <tr class="classNameCell" className="zebkit.util.TasksSet" name="allClassesItem"> <td> <a href="../classes/zebkit.util.TasksSet.html">zebkit.util.TasksSet</a> </td> </tr> <tr class="classNameCell" className="zebkit.util.TasksSet.Task" name="allClassesItem"> <td> <a href="../classes/zebkit.util.TasksSet.Task.html">zebkit.util.TasksSet.Task</a> </td> </tr> <tr class="classNameCell" className="zebkit.web.Clipboard" name="allClassesItem"> <td> <a href="../classes/zebkit.web.Clipboard.html">zebkit.web.Clipboard</a> </td> </tr> <tr class="classNameCell" className="zebkit.web.KeyEvent" name="allClassesItem"> <td> <a href="../classes/zebkit.web.KeyEvent.html">zebkit.web.KeyEvent</a> </td> </tr> <tr class="classNameCell" className="zebkit.web.KeyEventUninfier" name="allClassesItem"> <td> <a href="../classes/zebkit.web.KeyEventUninfier.html">zebkit.web.KeyEventUninfier</a> </td> </tr> <tr class="classNameCell" className="zebkit.web.MouseWheelSupport" name="allClassesItem"> <td> <a href="../classes/zebkit.web.MouseWheelSupport.html">zebkit.web.MouseWheelSupport</a> </td> </tr> <tr class="classNameCell" className="zebkit.web.PointerEvent" name="allClassesItem"> <td> <a href="../classes/zebkit.web.PointerEvent.html">zebkit.web.PointerEvent</a> </td> </tr> <tr class="classNameCell" className="zebkit.web.PointerEventUnifier" name="allClassesItem"> <td> <a href="../classes/zebkit.web.PointerEventUnifier.html">zebkit.web.PointerEventUnifier</a> </td> </tr> <tr class="classNameCell" className="zebkit.Zson" name="allClassesItem"> <td> <a href="../classes/zebkit.Zson.html">zebkit.Zson</a> </td> </tr> </table> </div> </div> <script> var root = document.getElementById("allClasses"); document.getElementById("search").addEventListener('input', function(e) { var items = document.getElementsByName("allClassesItem"), value = this.value.trim().toLowerCase(); for(var i = 0; i < items.length; i++) { var item = items[i]; if (value.length < 3 || item.getAttribute("className").toLowerCase().indexOf(value) >= 0) { item.style.display = "block"; } else { item.style.display = "none"; }; } }); </script> </div> </td> <td valign="top" align="left"> <div id="main" class="yui3-u"> <div class="content"> <div class="hd"> <table width="100%"> <tr> <td> <strong> Class </strong> <strong class="name""> zebkit.ui.grid.DefViews </strong> <br/> <strong> extends </strong> <span class="type">&lt;<a href="../classes/zebkit.draw.BaseViewProvider.html" class="crosslink">zebkit.draw.BaseViewProvider</a>&gt;</span> </td> <td align="right" valign="top"> <a href="../classes/zebkit.ui.grid.html"> &lt;zebkit.ui.grid&gt; </a> </td> <tr> </table> </div> <br/> <div class="intro"> <p>Default grid cell views provider. The class rules how a grid cell content, background has to be rendered and aligned. Developers can implement an own views providers and than setup it for a grid by calling "setViewProvider(...)" method.</p> </div> <strong>Constructor:</strong><a name="methods_zebkit.ui.grid.DefViews"></a> <div class="method item"> <span class="foundat"> </span> <strong class="name"><code>zebkit.ui.grid.DefViews</code> (<code>[render]</code>)</strong> <br/> <br/> <strong>Parameters:</strong> <ul class="params"> <li> <span class="name"><code>[render]</code></span> <strong class="type"> &lt;<a href="../classes/zebkit.draw.Render.html" class="crosslink">zebkit.draw.Render</a>&gt; </strong> <p>a string render</p> </li> </ul> </div> <br/> <br/> <div id="classdocs"> <ul> <li> <a href="#methods"> Methods </a> </li> <li> <a href="#attrs"> Attributes </a> </li> <li> <a href="#implementations"> Direct implementations </a> </li> </ul> <div> <div id="methods"> <div class="bd"> <br/> <table border="0" style="width:auto;" cellpadding="2"> <tr style="background:none;"> <td> <strong> public </strong> </td> <td> <span class="type"> &lt;<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a>&gt; </span> </td> <td> <b> <a class="name" href="#methods_getCellColor">getCellColor (target, row, col)</a> </b> </td> </tr> <tr style="background:none;"> <td> <strong> public </strong> </td> <td> <span class="type"> &lt;<a href="../classes/zebkit.draw.View.html" class="crosslink">zebkit.draw.View</a>&gt; </span> </td> <td> <b> <a class="name" href="#methods_getView">getView (target, row, col, obj)</a> </b> </td> </tr> <tr style="background:none;"> <td> <strong> public </strong> </td> <td> <span class="type"> &lt;<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a>&gt; </span> </td> <td> <b> <a class="name" href="#methods_getXAlignment">getXAlignment (target, row, col)</a> </b> </td> </tr> <tr style="background:none;"> <td> <strong> public </strong> </td> <td> <span class="type"> &lt;<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a>&gt; </span> </td> <td> <b> <a class="name" href="#methods_getYAlignment">getYAlignment (target, row, col)</a> </b> </td> </tr> </table> <br/> </div> <br/> <div class="method"> <strong>Inherited methods:</strong> <div style="padding:6px;"> <small style="white-space: nowrap;"> <a href="zebkit.draw.BaseViewProvider.html#methods_setColor"> <b>setColor(</b>c<b>)</b> </a> </small> &nbsp;&nbsp; <small style="white-space: nowrap;"> <a href="zebkit.draw.BaseViewProvider.html#methods_setFont"> <b>setFont(</b>f<b>)</b> </a> </small> &nbsp;&nbsp; </div> <br/><br/> </div> <table> <tr> <td><a name="methods_getCellColor"></a> <div class="method item"> <span class="foundat"> </span> <strong> public </strong> <span class="type"> &lt;<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a>&gt; </span> <strong class="name"><code>getCellColor</code> (<code>target, row, col</code>)</strong> <br/> <p>Get the given grid cell color</p> <br/> <strong>Parameters:</strong> <ul class="params"> <li> <span class="name"><code>target</code></span> <strong class="type"> &lt;<a href="../classes/zebkit.ui.grid.Grid.html" class="crosslink">zebkit.ui.grid.Grid</a>&gt; </strong> <p>a target grid component</p> </li> <li> <span class="name"><code>row</code></span> <strong class="type"> &lt;Integer&gt; </strong> <p>a grid cell row</p> </li> <li> <span class="name"><code>col</code></span> <strong class="type"> &lt;Integer&gt; </strong> <p>a grid cell column</p> </li> </ul> <br/> <div class="returns"> <strong> Returns: </strong> <span class="type"> &lt;<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a>&gt; </span> <p>a cell color to be applied to the given grid cell</p> </div> </div> </td> </tr> <tr> <td><a name="methods_getView"></a> <div class="method item"> <span class="foundat"> <span>@Override</span> <a href="zebkit.draw.BaseViewProvider.html#methods_getView"> zebkit.draw.BaseViewProvider </a> <br/> </span> <strong> public </strong> <span class="type"> &lt;<a href="../classes/zebkit.draw.View.html" class="crosslink">zebkit.draw.View</a>&gt; </span> <strong class="name"><code>getView</code> (<code>target, row, col, obj</code>)</strong> <br/> <p>Get a renderer to draw the specified grid model value.</p> <br/> <strong>Parameters:</strong> <ul class="params"> <li> <span class="name"><code>target</code></span> <strong class="type"> &lt;<a href="../classes/zebkit.ui.grid.Grid.html" class="crosslink">zebkit.ui.grid.Grid</a>&gt; </strong> <p>a target Grid component</p> </li> <li> <span class="name"><code>row</code></span> <strong class="type"> &lt;Integer&gt; </strong> <p>a grid cell row</p> </li> <li> <span class="name"><code>col</code></span> <strong class="type"> &lt;Integer&gt; </strong> <p>a grid cell column</p> </li> <li> <span class="name"><code>obj</code></span> <strong class="type"> &lt;<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a>&gt; </strong> <p>a model value for the given grid cell</p> </li> </ul> <br/> <div class="returns"> <strong> Returns: </strong> <span class="type"> &lt;<a href="../classes/zebkit.draw.View.html" class="crosslink">zebkit.draw.View</a>&gt; </span> <p>an instance of view to be used to paint the given cell model value</p> </div> </div> </td> </tr> <tr> <td><a name="methods_getXAlignment"></a> <div class="method item"> <span class="foundat"> </span> <strong> public </strong> <span class="type"> &lt;<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a>&gt; </span> <strong class="name"><code>getXAlignment</code> (<code>target, row, col</code>)</strong> <br/> <p>Get an horizontal alignment a content in the given grid cell has to be adjusted. The method is optional.</p> <br/> <strong>Parameters:</strong> <ul class="params"> <li> <span class="name"><code>target</code></span> <strong class="type"> &lt;<a href="../classes/zebkit.ui.grid.Grid.html" class="crosslink">zebkit.ui.grid.Grid</a>&gt; </strong> <p>a target grid component</p> </li> <li> <span class="name"><code>row</code></span> <strong class="type"> &lt;Integer&gt; </strong> <p>a grid cell row</p> </li> <li> <span class="name"><code>col</code></span> <strong class="type"> &lt;Integer&gt; </strong> <p>a grid cell column</p> </li> </ul> <br/> <div class="returns"> <strong> Returns: </strong> <span class="type"> &lt;<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a>&gt; </span> <p>a horizontal alignment ("left", "center", "right")</p> </div> </div> </td> </tr> <tr> <td><a name="methods_getYAlignment"></a> <div class="method item"> <span class="foundat"> </span> <strong> public </strong> <span class="type"> &lt;<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a>&gt; </span> <strong class="name"><code>getYAlignment</code> (<code>target, row, col</code>)</strong> <br/> <p>Get a vertical alignment a content in the given grid cell has to be adjusted. The method is optional.</p> <br/> <strong>Parameters:</strong> <ul class="params"> <li> <span class="name"><code>target</code></span> <strong class="type"> &lt;<a href="../classes/zebkit.ui.grid.Grid.html" class="crosslink">zebkit.ui.grid.Grid</a>&gt; </strong> <p>a target grid component</p> </li> <li> <span class="name"><code>row</code></span> <strong class="type"> &lt;Integer&gt; </strong> <p>a grid cell row</p> </li> <li> <span class="name"><code>col</code></span> <strong class="type"> &lt;Integer&gt; </strong> <p>a grid cell column</p> </li> </ul> <br/> <div class="returns"> <strong> Returns: </strong> <span class="type"> &lt;<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a>&gt; </span> <p>a vertical alignment ("top", "center", "bottom")</p> </div> </div> </td> </tr> </table> </div> <div id="attrs"> <br/><br/> <div class="attrs"> <strong>Inherited attributes:</strong> <br/> <div style="padding:6px;"> <small style="white-space: nowrap;"> <strong>protected </strong> <img title="readonly" width="14" height="14" src="../assets/css/lock.png" /> <strong class="type"> <a href="../classes/zebkit.draw.Render.html" class="crosslink">zebkit.draw.Render</a> </strong> <a href="zebkit.draw.BaseViewProvider.html#atttrs_render"> render </a> </small> &nbsp;&nbsp; </div> <br/><br/> </div> <br/> <table> <tr> <td> <a name="attrs_background"></a> <div class="attrs item"> <strong> public </strong> <strong class="type"> &lt;<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | <a href="../classes/zebkit.draw.View.html" class="crosslink">zebkit.draw.View</a>&gt; </strong> <strong class="name" style="color:orange;"> <code>background</code> </strong> <br> <p>Default cell background</p> </div> </td> </tr> <tr> <td> </td> </tr> </table> </div> <div id="implementations"> <br/> <ul style="column-count:2;column-gap:20px;list-style:none;"> <li> <a href="zebkit.ui.grid.CaptionViewProvider.html"> zebkit.ui.grid.CaptionViewProvider </a> </li> </ul> </div> </div> </div> </div> </div> </td> </tr> </table> </div> </div> <script src="../assets/vendor/prettify/prettify-min.js"></script> <script>prettyPrint();</script> <script src="../assets/js/yui-prettify.js"></script> <script src="../assets/js/tabs.js"></script> </body> </html>
html/manalishahenv/word_cloud.html
USCDataScience/polar.usc.edu
<!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"> <title>Polar-Viz</title> <!-- Bootstrap core CSS --> <link href="../../css/bootstrap.min.css" rel="stylesheet"> <style type="text/css"> #hzBarChart .panel-body .legend { fill: black; font: 14px sans-serif; text-anchor: start; font-size: 12px; } #hzBarChart .panel-body text { font: 10px sans-serif; text-anchor: end; } #hzBarChart .panel-body .label { fill: black; font: 14px sans-serif; text-anchor: end; } #hzBarChart .panel-body .bar:hover { fill: yellow; } #hzBarChart .panel-body .axis path, #hzBarChart .panel-body .axis line { fill: none; stroke: #000; shape-rendering: crispEdges; } #hzBarChart .panel-body .legend { position: fixed; } .h1,h1{ color: "#DD1C77" } </style> </head> <body> <div class="container"> <h3>Units of Measurements using NLTKRest</h3> <div id="word_cloud"></div> </div><!-- /.container --> <!-- Bootstrap core JavaScript ================================================== --> <!-- Placed at the end of the document so the pages load faster --> <script src="../../js/jquery-2.2.2.min.js"></script> <script src="../../js/bootstrap.min.js"></script> <script src="../../js/d3.v3.min.js"></script> <!-- Charts --> <script src="../../js/manalishahenv/word_cloud.js"></script> <script src="../../js/d3.layout.cloud.js"></script> <script> $(document).ready(function(){ console.log("will call search"); search(); }); function search(){ console.log("will call load_wordcloud"); load_wordcloud(); } </script> </body> </html>
doc/api/classes/ActionView/TestCase/Behavior/ClassMethods.html
l33z3r/playme
<?xml version="1.0" encoding="utf-8"?> <!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" xml:lang="en" lang="en"> <head> <title>ActionView::TestCase::Behavior::ClassMethods</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <link rel="stylesheet" href="../../../../css/reset.css" type="text/css" media="screen" /> <link rel="stylesheet" href="../../../../css/main.css" type="text/css" media="screen" /> <link rel="stylesheet" href="../../../../css/github.css" type="text/css" media="screen" /> <script src="../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script> <script src="../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script> <script src="../../../../js/main.js" type="text/javascript" charset="utf-8"></script> <script src="../../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script> </head> <body> <div class="banner"> <span>Ruby on Rails 4.2.3</span><br /> <h1> <span class="type">Module</span> ActionView::TestCase::Behavior::ClassMethods </h1> <ul class="files"> <li><a href="../../../../files/__/__/__/__/_rvm/gems/ruby-2_2_2@playme/gems/actionview-4_2_3/lib/action_view/test_case_rb.html">/Users/lee/.rvm/gems/ruby-2.2.2@playme/gems/actionview-4.2.3/lib/action_view/test_case.rb</a></li> </ul> </div> <div id="bodyContent"> <div id="content"> <!-- Method ref --> <div class="sectiontitle">Methods</div> <dl class="methods"> <dt>D</dt> <dd> <ul> <li> <a href="#method-i-determine_default_helper_class">determine_default_helper_class</a> </li> </ul> </dd> <dt>H</dt> <dd> <ul> <li> <a href="#method-i-helper_class">helper_class</a>, </li> <li> <a href="#method-i-helper_method">helper_method</a> </li> </ul> </dd> <dt>N</dt> <dd> <ul> <li> <a href="#method-i-new">new</a> </li> </ul> </dd> <dt>T</dt> <dd> <ul> <li> <a href="#method-i-tests">tests</a> </li> </ul> </dd> </dl> <!-- Section attributes --> <div class="sectiontitle">Attributes</div> <table border='0' cellpadding='5'> <tr valign='top'> <td class='attr-rw'> [W] </td> <td class='attr-name'>helper_class</td> <td class='attr-desc'></td> </tr> </table> <!-- Methods --> <div class="sectiontitle">Instance Public methods</div> <div class="method"> <div class="title method-title" id="method-i-determine_default_helper_class"> <b>determine_default_helper_class</b>(name) <a href="../../../../classes/ActionView/TestCase/Behavior/ClassMethods.html#method-i-determine_default_helper_class" name="method-i-determine_default_helper_class" class="permalink">Link</a> </div> <div class="description"> </div> <div class="sourcecode"> <p class="source-link"> Source: <a href="javascript:toggleSource('method-i-determine_default_helper_class_source')" id="l_method-i-determine_default_helper_class_source">show</a> </p> <div id="method-i-determine_default_helper_class_source" class="dyn-source"> <pre><span class="ruby-comment"># File ../../../../.rvm/gems/ruby-2.2.2@playme/gems/actionview-4.2.3/lib/action_view/test_case.rb, line 65</span> <span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">determine_default_helper_class</span>(<span class="ruby-identifier">name</span>) <span class="ruby-identifier">determine_constant_from_test_name</span>(<span class="ruby-identifier">name</span>) <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">constant</span><span class="ruby-operator">|</span> <span class="ruby-constant">Module</span> <span class="ruby-operator">===</span> <span class="ruby-identifier">constant</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-operator">!</span>(<span class="ruby-constant">Class</span> <span class="ruby-operator">===</span> <span class="ruby-identifier">constant</span>) <span class="ruby-keyword">end</span> <span class="ruby-keyword">end</span></pre> </div> </div> </div> <div class="method"> <div class="title method-title" id="method-i-helper_class"> <b>helper_class</b>() <a href="../../../../classes/ActionView/TestCase/Behavior/ClassMethods.html#method-i-helper_class" name="method-i-helper_class" class="permalink">Link</a> </div> <div class="description"> </div> <div class="sourcecode"> <p class="source-link"> Source: <a href="javascript:toggleSource('method-i-helper_class_source')" id="l_method-i-helper_class_source">show</a> </p> <div id="method-i-helper_class_source" class="dyn-source"> <pre><span class="ruby-comment"># File ../../../../.rvm/gems/ruby-2.2.2@playme/gems/actionview-4.2.3/lib/action_view/test_case.rb, line 84</span> <span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">helper_class</span> <span class="ruby-ivar">@helper_class</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">determine_default_helper_class</span>(<span class="ruby-identifier">name</span>) <span class="ruby-keyword">end</span></pre> </div> </div> </div> <div class="method"> <div class="title method-title" id="method-i-helper_method"> <b>helper_method</b>(*methods) <a href="../../../../classes/ActionView/TestCase/Behavior/ClassMethods.html#method-i-helper_method" name="method-i-helper_method" class="permalink">Link</a> </div> <div class="description"> </div> <div class="sourcecode"> <p class="source-link"> Source: <a href="javascript:toggleSource('method-i-helper_method_source')" id="l_method-i-helper_method_source">show</a> </p> <div id="method-i-helper_method_source" class="dyn-source"> <pre><span class="ruby-comment"># File ../../../../.rvm/gems/ruby-2.2.2@playme/gems/actionview-4.2.3/lib/action_view/test_case.rb, line 71</span> <span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">helper_method</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">methods</span>) <span class="ruby-comment"># Almost a duplicate from ActionController::Helpers</span> <span class="ruby-identifier">methods</span>.<span class="ruby-identifier">flatten</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">method</span><span class="ruby-operator">|</span> <span class="ruby-identifier">_helpers</span>.<span class="ruby-identifier">module_eval</span> <span class="ruby-value">&lt;&lt;-end_eval def #{method}(*args, &amp;block) # def current_user(*args, &amp;block) _test_case.send(%(#{method}), *args, &amp;block) # _test_case.send(%(current_user), *args, &amp;block) end # end end_eval</span> <span class="ruby-keyword">end</span> <span class="ruby-keyword">end</span></pre> </div> </div> </div> <div class="method"> <div class="title method-title" id="method-i-new"> <b>new</b>(*) <a href="../../../../classes/ActionView/TestCase/Behavior/ClassMethods.html#method-i-new" name="method-i-new" class="permalink">Link</a> </div> <div class="description"> </div> <div class="sourcecode"> <p class="source-link"> Source: <a href="javascript:toggleSource('method-i-new_source')" id="l_method-i-new_source">show</a> </p> <div id="method-i-new_source" class="dyn-source"> <pre><span class="ruby-comment"># File ../../../../.rvm/gems/ruby-2.2.2@playme/gems/actionview-4.2.3/lib/action_view/test_case.rb, line 88</span> <span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">new</span>(<span class="ruby-operator">*</span>) <span class="ruby-identifier">include_helper_modules!</span> <span class="ruby-keyword">super</span> <span class="ruby-keyword">end</span></pre> </div> </div> </div> <div class="method"> <div class="title method-title" id="method-i-tests"> <b>tests</b>(helper_class) <a href="../../../../classes/ActionView/TestCase/Behavior/ClassMethods.html#method-i-tests" name="method-i-tests" class="permalink">Link</a> </div> <div class="description"> </div> <div class="sourcecode"> <p class="source-link"> Source: <a href="javascript:toggleSource('method-i-tests_source')" id="l_method-i-tests_source">show</a> </p> <div id="method-i-tests_source" class="dyn-source"> <pre><span class="ruby-comment"># File ../../../../.rvm/gems/ruby-2.2.2@playme/gems/actionview-4.2.3/lib/action_view/test_case.rb, line 56</span> <span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">tests</span>(<span class="ruby-identifier">helper_class</span>) <span class="ruby-keyword">case</span> <span class="ruby-identifier">helper_class</span> <span class="ruby-keyword">when</span> <span class="ruby-constant">String</span>, <span class="ruby-constant">Symbol</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">helper_class</span> = <span class="ruby-node">&quot;#{helper_class.to_s.underscore}_helper&quot;</span>.<span class="ruby-identifier">camelize</span>.<span class="ruby-identifier">safe_constantize</span> <span class="ruby-keyword">when</span> <span class="ruby-constant">Module</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">helper_class</span> = <span class="ruby-identifier">helper_class</span> <span class="ruby-keyword">end</span> <span class="ruby-keyword">end</span></pre> </div> </div> </div> </div> </div> </body> </html>
static/events/2017-minneapolis/speakers/nathen-harvey/index.html
gomex/devopsdays-web
<!DOCTYPE html> <html itemscope lang="en-us"> <head><meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta charset="utf-8"> <meta name="HandheldFriendly" content="True"> <meta name="MobileOptimized" content="320"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="generator" content="Hugo 0.57.2" /> <meta property="og:title" content="Nathen Harvey" /> <meta name="twitter:title" content="Nathen Harvey"/> <meta itemprop="name" content="Nathen Harvey"><meta property="og:description" content="Nathen helps the community whip up an awesome ecosystem built around the Chef platform. Nathen also spends much of his time helping people learn about the practices, processes, and technologies that support DevOps, continuous delivery, and high velocity organizations. Prior to joining Chef, Nathen spent a number of years managing operations and infrastructure for a diverse range of web applications. Nathen is a co-host of the Food Fight Show, a podcast about Chef and DevOps." /> <meta name="twitter:description" content="Nathen helps the community whip up an awesome ecosystem built around the Chef platform. Nathen also spends much of his time helping people learn about the practices, processes, and technologies that support DevOps, continuous delivery, and high velocity organizations. Prior to joining Chef, Nathen spent a number of years managing operations and infrastructure for a diverse range of web applications. Nathen is a co-host of the Food Fight Show, a podcast about Chef and DevOps." /> <meta itemprop="description" content="Nathen helps the community whip up an awesome ecosystem built around the Chef platform. Nathen also spends much of his time helping people learn about the practices, processes, and technologies that support DevOps, continuous delivery, and high velocity organizations. Prior to joining Chef, Nathen spent a number of years managing operations and infrastructure for a diverse range of web applications. Nathen is a co-host of the Food Fight Show, a podcast about Chef and DevOps."><meta name="twitter:site" content="@devopsdays"> <meta property="og:type" content="speaker" /> <meta property="og:url" content="/events/2017-minneapolis/speakers/nathen-harvey/" /><meta name="twitter:creator" content="@devopsdaysmsp" /><meta name="twitter:label1" value="Event" /> <meta name="twitter:data1" value="devopsdays Minneapolis 2017" /><meta name="twitter:label2" value="Dates" /> <meta name="twitter:data2" value="July 25 - 26, 2017" /><meta property="og:image" content="https://www.devopsdays.org/img/sharing.jpg" /> <meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:image" content="https://www.devopsdays.org/img/sharing.jpg" /> <meta itemprop="image" content="https://www.devopsdays.org/img/sharing.jpg" /> <meta property="fb:app_id" content="1904065206497317" /><meta itemprop="wordCount" content="88"> <title>Nathen Harvey - devopsdays Minneapolis 2017 </title> <script> window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date; ga('create', 'UA-9713393-1', 'auto'); ga('send', 'pageview'); </script> <script async src='https://www.google-analytics.com/analytics.js'></script> <link href="/css/site.css" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Roboto+Condensed:300,400,700" rel="stylesheet"><link rel="apple-touch-icon" sizes="57x57" href="/apple-icon-57x57.png"> <link rel="apple-touch-icon" sizes="60x60" href="/apple-icon-60x60.png"> <link rel="apple-touch-icon" sizes="72x72" href="/apple-icon-72x72.png"> <link rel="apple-touch-icon" sizes="76x76" href="/apple-icon-76x76.png"> <link rel="apple-touch-icon" sizes="114x114" href="/apple-icon-114x114.png"> <link rel="apple-touch-icon" sizes="120x120" href="/apple-icon-120x120.png"> <link rel="apple-touch-icon" sizes="144x144" href="/apple-icon-144x144.png"> <link rel="apple-touch-icon" sizes="152x152" href="/apple-icon-152x152.png"> <link rel="apple-touch-icon" sizes="180x180" href="/apple-icon-180x180.png"> <link rel="icon" type="image/png" sizes="192x192" href="/android-icon-192x192.png"> <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png"> <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"> <link rel="manifest" href="/manifest.json"> <meta name="msapplication-TileColor" content="#ffffff"> <meta name="msapplication-TileImage" content="/ms-icon-144x144.png"> <meta name="theme-color" content="#ffffff"> <link href="/events/index.xml" rel="alternate" type="application/rss+xml" title="DevOpsDays" /> <link href="/events/index.xml" rel="feed" type="application/rss+xml" title="DevOpsDays" /> <script src=/js/devopsdays-min.js></script></head> <body lang=""> <nav class="navbar navbar-expand-md navbar-light"> <a class="navbar-brand" href="/"> <img src="/img/devopsdays-brain.png" height="30" class="d-inline-block align-top" alt="devopsdays Logo"> DevOpsDays </a> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <div class="collapse navbar-collapse" id="navbarSupportedContent"> <ul class="navbar-nav mr-auto"><li class="nav-item global-navigation"><a class = "nav-link" href="/events">events</a></li><li class="nav-item global-navigation"><a class = "nav-link" href="/blog">blog</a></li><li class="nav-item global-navigation"><a class = "nav-link" href="/sponsor">sponsor</a></li><li class="nav-item global-navigation"><a class = "nav-link" href="/speaking">speaking</a></li><li class="nav-item global-navigation"><a class = "nav-link" href="/organizing">organizing</a></li><li class="nav-item global-navigation"><a class = "nav-link" href="/about">about</a></li></ul> </div> </nav> <nav class="navbar event-navigation navbar-expand-md navbar-light"> <a href="/events/2017-minneapolis" class="nav-link">Minneapolis</a> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar2"> <span class="navbar-toggler-icon"></span> </button> <div class="navbar-collapse collapse" id="navbar2"> <ul class="navbar-nav"><li class="nav-item active"> <a class="nav-link" href="/events/2017-minneapolis/program">program</a> </li><li class="nav-item active"> <a class="nav-link" href="/events/2017-minneapolis/speakers">speakers</a> </li><li class="nav-item active"> <a class="nav-link" href="/events/2017-minneapolis/location">location</a> </li><li class="nav-item active"> <a class="nav-link" href="/events/2017-minneapolis/registration">registration</a> </li><li class="nav-item active"> <a class="nav-link" href="/events/2017-minneapolis/sponsor">sponsor</a> </li><li class="nav-item active"> <a class="nav-link" href="/events/2017-minneapolis/contact">contact</a> </li><li class="nav-item active"> <a class="nav-link" href="/events/2017-minneapolis/conduct">conduct</a> </li></ul> </div> </nav> <div class="container-fluid"> <div class="row"> <div class="col-md-12"><div class = "row"> <div class = "col-md-12 offset-md-1"> <h2 class="speaker-page">Nathen Harvey</h2> </div> </div> <div class = "row"> <div class = "col-md-4 offset-md-1"> <span class="speaker-page content-text"> <p>Nathen helps the community whip up an awesome ecosystem built around the Chef platform. Nathen also spends much of his time helping people learn about the practices, processes, and technologies that support DevOps, continuous delivery, and high velocity organizations. Prior to joining Chef, Nathen spent a number of years managing operations and infrastructure for a diverse range of web applications. Nathen is a co-host of the <a href="http://foodfightshow.org/">Food Fight Show</a>, a podcast about Chef and DevOps. He is also an occasional <a href="http://ei.chef.io/">farmer</a> who loves <a href="http://eggs.chef.io/">eggs</a> and actively supports <a href="http://hugops.chef.io/">#hugops</a>.</p> </span> <div class="speaker-bio-talks"> <h3>Nathen Harvey at Minneapolis 2017</h3> <ul class="list-group"> <a href = "https://www.devopsdays.org/events/2017-minneapolis/program/habitat/" class= "list-group-item list-group-item-action">Application Automation &amp; Containerization with Habitat</a> <a href = "https://www.devopsdays.org/events/2017-minneapolis/program/inspec/" class= "list-group-item list-group-item-action">Introduction to Continuous Compliance &amp; Remediation</a> </ul> </div> </div> <div class = "col-md-3 offset-md-1"><img src = "/events/2017-minneapolis/speakers/nathen-harvey.png" class="speaker-page" alt="Nathen Harvey"/><br /><a href = "https://twitter.com/nathenharvey"><i class="fa fa-twitter fa-2x" aria-hidden="true"></i></a></div> </div> <div class="row cta-row"> <div class="col-md-12"><h4 class="sponsor-cta">Platinum Sponsors</h4></div> </div><div class="row sponsor-row"><div class = "col-lg-1 col-md-2 col-4"> <a href = "http://www.pivotal.io"><img src = "/img/sponsors/pivotal-before-20190307.png" alt = "Pivotal" title = "Pivotal" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "http://www.victorops.com"><img src = "/img/sponsors/victorops-before-20180823.png" alt = "VictorOps" title = "VictorOps" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "https://www.sumologic.com/"><img src = "/img/sponsors/sumologic-before-20181203.png" alt = "SumoLogic" title = "SumoLogic" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "https://gocd.org/"><img src = "/img/sponsors/thoughtworks-gocd-before-20190213.png" alt = "GoCD" title = "GoCD" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "https://www.optum.com/"><img src = "/img/sponsors/optum.png" alt = "UnitedHealth Group / Optum" title = "UnitedHealth Group / Optum" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "http://aws.amazon.com/"><img src = "/img/sponsors/aws-before-20180313.png" alt = "Amazon Web Services" title = "Amazon Web Services" class="img-fluid"></a> </div></div><div class="row cta-row"> <div class="col-md-12"><h4 class="sponsor-cta">Gold Sponsors</h4></div> </div><div class="row sponsor-row"><div class = "col-lg-1 col-md-2 col-4"> <a href = "http://www.hpe.com/"><img src = "/img/sponsors/hpe.png" alt = "hpe" title = "hpe" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "https://www.redhat.com"><img src = "/img/sponsors/redhat-before-20190528.png" alt = "Red Hat, Inc" title = "Red Hat, Inc" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "http://logz.io"><img src = "/img/sponsors/logz.png" alt = "logz" title = "logz" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "http://www.spscommerce.com/"><img src = "/img/sponsors/sps_commerce.png" alt = "SPS Commerce" title = "SPS Commerce" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "https://www.merrillcorp.com/"><img src = "/img/sponsors/merrill.png" alt = "Merrill Corporation" title = "Merrill Corporation" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "http://influxdata.com"><img src = "/img/sponsors/influxdata-before-20171218.png" alt = "InfluxData" title = "InfluxData" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "http://www.workiva.com/"><img src = "/img/sponsors/workiva.png" alt = "Workiva" title = "Workiva" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "http://www.pagerduty.com/"><img src = "/img/sponsors/pagerduty.png" alt = "PagerDuty" title = "PagerDuty" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "http://www.columnit.com/"><img src = "/img/sponsors/columnpuppet.png" alt = "Column Technologies and Puppet" title = "Column Technologies and Puppet" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "http://www.opsgenie.com"><img src = "/img/sponsors/opsgenie.png" alt = "OpsGenie" title = "OpsGenie" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "https://automic.com/"><img src = "/img/sponsors/automic.png" alt = "Automic" title = "Automic" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "http://www.electriccloud.com/"><img src = "/img/sponsors/electriccloud-before-20190320.png" alt = "electriccloud" title = "electriccloud" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "http://www.target.com/"><img src = "/img/sponsors/target.png" alt = "Target" title = "Target" class="img-fluid"></a> </div></div><div class="row cta-row"> <div class="col-md-12"><h4 class="sponsor-cta">Silver Sponsors</h4></div> </div><div class="row sponsor-row"><div class = "col-lg-1 col-md-2 col-4"> <a href = "https://azure.microsoft.com"><img src = "/img/sponsors/microsoftazure-before-20171017.png" alt = "Microsoft Azure" title = "Microsoft Azure" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "https://saucelabs.com"><img src = "/img/sponsors/saucelabs.png" alt = "saucelabs" title = "saucelabs" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "http://chef.io"><img src = "/img/sponsors/chef.png" alt = "Chef Software, Inc" title = "Chef Software, Inc" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "https://www.veritas.com/"><img src = "/img/sponsors/veritas.png" alt = "Veritas" title = "Veritas" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "https://mesosphere.com/"><img src = "/img/sponsors/mesosphere.png" alt = "Mesosphere" title = "Mesosphere" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "http://www.horizontalintegration.com/"><img src = "/img/sponsors/horizontalintegration.png" alt = "Horizontal Integration" title = "Horizontal Integration" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "https://www.appdynamics.com/"><img src = "/img/sponsors/appdynamics-before-20180316.png" alt = "AppDynamics" title = "AppDynamics" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "http://www.apcera.com/"><img src = "/img/sponsors/apcera.png" alt = "Apcera" title = "Apcera" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "https://www.threatstack.com/"><img src = "/img/sponsors/threatstack.png" alt = "Threat Stack" title = "Threat Stack" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "https://www.twistlock.com"><img src = "/img/sponsors/twistlock.png" alt = "Twistlock" title = "Twistlock" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "http://www.solidfire.com/"><img src = "/img/sponsors/solidfire.png" alt = "SolidFire" title = "SolidFire" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "https://www.scalyr.com"><img src = "/img/sponsors/scalyr.png" alt = "Scalyr" title = "Scalyr" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "https://www.morpheusdata.com/"><img src = "/img/sponsors/morpheus.png" alt = "morpheus" title = "morpheus" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "https://www.catchpoint.com/"><img src = "/img/sponsors/catchpoint.png" alt = "Catchpoint" title = "Catchpoint" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "http://www.signalfx.com"><img src = "/img/sponsors/signalfx-before-20180508.png" alt = "SignalFX" title = "SignalFX" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "http://www.granicus.com"><img src = "/img/sponsors/granicus.png" alt = "Granicus" title = "Granicus" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "https://www.joyent.com/"><img src = "/img/sponsors/joyent.png" alt = "Joyent" title = "Joyent" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "http://rancher.com/"><img src = "/img/sponsors/rancher-before-20190812.png" alt = "rancher" title = "rancher" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "http://www.platform9.com"><img src = "/img/sponsors/platform9.png" alt = "Platform9" title = "Platform9" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "http://www.logicmonitor.com/"><img src = "/img/sponsors/logicmonitor.png" alt = "LogicMonitor" title = "LogicMonitor" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "http://www.healthpartners.com/"><img src = "/img/sponsors/healthpartners.png" alt = "HealthPartners" title = "HealthPartners" class="img-fluid"></a> </div></div><div class="row cta-row"> <div class="col-md-12"><h4 class="sponsor-cta">Bronze Sponsors</h4></div> </div><div class="row sponsor-row"><div class = "col-lg-1 col-md-2 col-4"> <a href = "https://f5.com/"><img src = "/img/sponsors/f5.png" alt = "f5" title = "f5" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "https://www.servicenow.com/"><img src = "/img/sponsors/servicenow-before-20180620.png" alt = "ServiceNow" title = "ServiceNow" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "https://www.checkmarx.com/"><img src = "/img/sponsors/checkmarx-before-20190621.png" alt = "Checkmarx" title = "Checkmarx" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "https://www.elastic.co"><img src = "/img/sponsors/elastic.png" alt = "Elastic" title = "Elastic" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "https://www.newrelic.com/culture"><img src = "/img/sponsors/newrelic.png" alt = "New Relic" title = "New Relic" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "http://www.dynatrace.com/"><img src = "/img/sponsors/dynatrace.png" alt = "Dynatrace" title = "Dynatrace" class="img-fluid"></a> </div></div><div class="row cta-row"> <div class="col-md-12"><h4 class="sponsor-cta">A La Carte Sponsors</h4></div> </div><div class="row sponsor-row"><div class = "col-lg-1 col-md-2 col-4"> <a href = "http://www.spscommerce.com/"><img src = "/img/sponsors/sps_commerce.png" alt = "SPS Commerce" title = "SPS Commerce" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "https://www.scalyr.com"><img src = "/img/sponsors/scalyr.png" alt = "Scalyr" title = "Scalyr" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "http://www.target.com/"><img src = "/img/sponsors/target.png" alt = "Target" title = "Target" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "https://www.carlsonwagonlit.com/"><img src = "/img/sponsors/carlsonwagonlit.png" alt = "Carlson Wagonlit Travel" title = "Carlson Wagonlit Travel" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "https://www.arista.com/"><img src = "/img/sponsors/arista.png" alt = "Arista" title = "Arista" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "https://www.ctl.io/"><img src = "/img/sponsors/centurylink.png" alt = "CenturyLink" title = "CenturyLink" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "https://www.cargill.com/"><img src = "/img/sponsors/cargill.png" alt = "Cargill" title = "Cargill" class="img-fluid"></a> </div></div><div class="row cta-row"> <div class="col-md-12"><h4 class="sponsor-cta">Community Sponsors</h4></div> </div><div class="row sponsor-row"><div class = "col-lg-1 col-md-2 col-4"> <a href = "https://www.arresteddevops.com"><img src = "/img/sponsors/arresteddevops.png" alt = "Arrested DevOps" title = "Arrested DevOps" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "http://www.hackthegap.com/"><img src = "/img/sponsors/hackthegap.png" alt = "" title = "" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "http://softwaredefinedtalk.com/"><img src = "/img/sponsors/softwaredefinedtalk.png" alt = "Software Defined Talk" title = "Software Defined Talk" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "http://www.geekettes.io/cities/twincities/"><img src = "/img/sponsors/geekettes-tc.png" alt = "Geekettes Twin Cities" title = "Geekettes Twin Cities" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "https://www.blacksintechnology.net"><img src = "/img/sponsors/blacksintechnology.png" alt = "Blacks in Technology" title = "Blacks in Technology" class="img-fluid"></a> </div><div class = "col-lg-1 col-md-2 col-4"> <a href = "https://minneapolis.girlsintech.org/"><img src = "/img/sponsors/gitmsp.png" alt = "Girls in Tech Minneapolis" title = "Girls in Tech Minneapolis" class="img-fluid"></a> </div></div><br /> </div></div> </div> <nav class="navbar bottom navbar-light footer-nav-row" style="background-color: #bfbfc1;"> <div class = "row"> <div class = "col-md-12 footer-nav-background"> <div class = "row"> <div class = "col-md-6 col-lg-3 footer-nav-col"> <h3 class="footer-nav">@DEVOPSDAYS</h3> <div> <a class="twitter-timeline" data-dnt="true" href="https://twitter.com/devopsdays/lists/devopsdays" data-chrome="noheader" height="440"></a> <script> ! function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0], p = /^http:/.test(d.location) ? 'http' : 'https'; if (!d.getElementById(id)) { js = d.createElement(s); js.id = id; js.src = p + "://platform.twitter.com/widgets.js"; fjs.parentNode.insertBefore(js, fjs); } }(document, "script", "twitter-wjs"); </script> </div> </div> <div class="col-md-6 col-lg-3 footer-nav-col footer-content"> <h3 class="footer-nav">BLOG</h3><a href = "https://www.devopsdays.org/blog/2019/05/10/10-years-of-devopsdays/"><h1 class = "footer-heading">10 years of devopsdays</h1></a><h2 class="footer-heading">by Kris Buytaert - 10 May, 2019</h2><p class="footer-content">It&rsquo;s hard to believe but it is almost 10 years ago since #devopsdays happened for the first time in Gent. Back then there were almost 70 of us talking about topics that were of interest to both Operations and Development, we were exchanging our ideas and experiences `on how we were improving the quality of software delivery. Our ideas got started on the crossroads of Open Source, Agile and early Cloud Adoption.</p><a href = "https://www.devopsdays.org/blog/"><h1 class = "footer-heading">Blogs</h1></a><h2 class="footer-heading">10 May, 2019</h2><p class="footer-content"></p><a href="https://www.devopsdays.org/blog/index.xml">Feed</a> </div> <div class="col-md-6 col-lg-3 footer-nav-col"> <h3 class="footer-nav">CFP OPEN</h3><a href = "/events/2019-campinas" class = "footer-content">Campinas</a><br /><a href = "/events/2019-macapa" class = "footer-content">Macapá</a><br /><a href = "/events/2019-shanghai" class = "footer-content">Shanghai</a><br /><a href = "/events/2020-charlotte" class = "footer-content">Charlotte</a><br /><a href = "/events/2020-prague" class = "footer-content">Prague</a><br /><a href = "/events/2020-tokyo" class = "footer-content">Tokyo</a><br /><a href = "/events/2020-salt-lake-city" class = "footer-content">Salt Lake City</a><br /> <br />Propose a talk at an event near you!<br /> </div> <div class="col-md-6 col-lg-3 footer-nav-col"> <h3 class="footer-nav">About</h3> devopsdays is a worldwide community conference series for anyone interested in IT improvement.<br /><br /> <a href="/about/" class = "footer-content">About devopsdays</a><br /> <a href="/privacy/" class = "footer-content">Privacy Policy</a><br /> <a href="/conduct/" class = "footer-content">Code of Conduct</a> <br /> <br /> <a href="https://www.netlify.com"> <img src="/img/netlify-light.png" alt="Deploys by Netlify"> </a> </div> </div> </div> </div> </nav> <script> $(document).ready(function () { $("#share").jsSocials({ shares: ["email", {share: "twitter", via: 'devopsdaysmsp'}, "facebook", "linkedin"], text: 'devopsdays Minneapolis - 2017', showLabel: false, showCount: false }); }); </script> </body> </html>
doc/0.9.6/guacamole-ext/org/glyptodon/guacamole/net/auth/permission/class-use/Permission.html
mike-jumper/incubator-guacamole-website
<!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 (version 1.7.0_75) on Mon Mar 30 18:33:17 PDT 2015 --> <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> <title>Uses of Interface org.glyptodon.guacamole.net.auth.permission.Permission (guacamole-ext 0.9.6 API)</title> <meta name="date" content="2015-03-30"> <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="Uses of Interface org.glyptodon.guacamole.net.auth.permission.Permission (guacamole-ext 0.9.6 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><a href="../../../../../../../org/glyptodon/guacamole/net/auth/permission/Permission.html" title="interface in org.glyptodon.guacamole.net.auth.permission">Class</a></li> <li class="navBarCell1Rev">Use</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</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../../../../index.html?org/glyptodon/guacamole/net/auth/permission/class-use/Permission.html" target="_top">Frames</a></li> <li><a href="Permission.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"> <h2 title="Uses of Interface org.glyptodon.guacamole.net.auth.permission.Permission" class="title">Uses of Interface<br>org.glyptodon.guacamole.net.auth.permission.Permission</h2> </div> <div class="classUseContainer"> <ul class="blockList"> <li class="blockList"> <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation"> <caption><span>Packages that use <a href="../../../../../../../org/glyptodon/guacamole/net/auth/permission/Permission.html" title="interface in org.glyptodon.guacamole.net.auth.permission">Permission</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Package</th> <th class="colLast" scope="col">Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><a href="#org.glyptodon.guacamole.net.auth.permission">org.glyptodon.guacamole.net.auth.permission</a></td> <td class="colLast"> <div class="block">Provides classes which describe the various permissions a Guacamole user can be granted.</div> </td> </tr> </tbody> </table> </li> <li class="blockList"> <ul class="blockList"> <li class="blockList"><a name="org.glyptodon.guacamole.net.auth.permission"> <!-- --> </a> <h3>Uses of <a href="../../../../../../../org/glyptodon/guacamole/net/auth/permission/Permission.html" title="interface in org.glyptodon.guacamole.net.auth.permission">Permission</a> in <a href="../../../../../../../org/glyptodon/guacamole/net/auth/permission/package-summary.html">org.glyptodon.guacamole.net.auth.permission</a></h3> <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation"> <caption><span>Classes in <a href="../../../../../../../org/glyptodon/guacamole/net/auth/permission/package-summary.html">org.glyptodon.guacamole.net.auth.permission</a> with type parameters of type <a href="../../../../../../../org/glyptodon/guacamole/net/auth/permission/Permission.html" title="interface in org.glyptodon.guacamole.net.auth.permission">Permission</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Interface and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>interface&nbsp;</code></td> <td class="colLast"><code><strong><a href="../../../../../../../org/glyptodon/guacamole/net/auth/permission/PermissionSet.html" title="interface in org.glyptodon.guacamole.net.auth.permission">PermissionSet</a>&lt;PermissionType extends <a href="../../../../../../../org/glyptodon/guacamole/net/auth/permission/Permission.html" title="interface in org.glyptodon.guacamole.net.auth.permission">Permission</a>&gt;</strong></code> <div class="block">An arbitrary set of permissions.</div> </td> </tr> </tbody> </table> <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation"> <caption><span>Classes in <a href="../../../../../../../org/glyptodon/guacamole/net/auth/permission/package-summary.html">org.glyptodon.guacamole.net.auth.permission</a> that implement <a href="../../../../../../../org/glyptodon/guacamole/net/auth/permission/Permission.html" title="interface in org.glyptodon.guacamole.net.auth.permission">Permission</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Class and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>class&nbsp;</code></td> <td class="colLast"><code><strong><a href="../../../../../../../org/glyptodon/guacamole/net/auth/permission/ObjectPermission.html" title="class in org.glyptodon.guacamole.net.auth.permission">ObjectPermission</a></strong></code> <div class="block">A permission which affects a specific object, rather than the system as a whole.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>class&nbsp;</code></td> <td class="colLast"><code><strong><a href="../../../../../../../org/glyptodon/guacamole/net/auth/permission/SystemPermission.html" title="class in org.glyptodon.guacamole.net.auth.permission">SystemPermission</a></strong></code> <div class="block">A permission which affects the system as a whole, rather than an individual object.</div> </td> </tr> </tbody> </table> </li> </ul> </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="../../../../../../../overview-summary.html">Overview</a></li> <li><a href="../package-summary.html">Package</a></li> <li><a href="../../../../../../../org/glyptodon/guacamole/net/auth/permission/Permission.html" title="interface in org.glyptodon.guacamole.net.auth.permission">Class</a></li> <li class="navBarCell1Rev">Use</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</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../../../../index.html?org/glyptodon/guacamole/net/auth/permission/class-use/Permission.html" target="_top">Frames</a></li> <li><a href="Permission.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 ======= --> <p class="legalCopy"><small>Copyright &#169; 2015. All rights reserved.</small></p> <!-- Google Analytics --> <script type="text/javascript"> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-75289145-1', 'auto'); ga('send', 'pageview'); </script> <!-- End Google Analytics --> </body> </html>
core/templates/pages/topic-editor-page/modal-templates/create-new-story-modal.template.html
brianrodri/oppia
<div class="modal-header create-new-story-header"> <h3> New Story </h3> </div> <form ng-submit="confirm(story)"> <div class="modal-body create-new-story"> <div class="story-input"> <div class="story-input-header"> <span>Title*</span> </div> <input class="form-control protractor-test-new-story-title-field required" ng-model="story.title" maxlength="<[MAX_CHARS_IN_STORY_TITLE]>" aria-label="Title" autofocus> <div> <span class="oppia-input-box-subtitle"> <em> Story title should be at most <[MAX_CHARS_IN_STORY_TITLE]> characters. </em> </span> </div> </div> <div class="story-input story-input-description"> <div class="story-input-header"> <span>Description*</span> </div> <textarea rows="3" cols="50" maxlength="<[MAX_CHARS_IN_STORY_DESCRIPTION]>" ng-model="story.description" class="form-control protractor-test-new-story-description-field required" aria-label="Description"></textarea> <span class="oppia-input-box-subtitle"> <em> Story description should be at most <[MAX_CHARS_IN_STORY_DESCRIPTION]> characters. </em> </span> </div> <div class="story-input"> <div class="story-input-header"> <span>Url Fragment*</span> </div> <input class="form-control protractor-test-new-story-url-fragment-field" ng-model="story.urlFragment" maxlength="<[MAX_CHARS_IN_STORY_URL_FRAGMENT]>" ng-class="{'is-invalid': storyUrlFragmentExists || !validUrlFragmentRegex.test(story.urlFragment)}" ng-change="onStoryUrlFragmentChange()" aria-label="Url fragment"> <div> <span class="oppia-input-box-subtitle"> <em> The story URL fragment is used to uniquely access the story viewer page. It should consist of one or more hyphen-separated words, all in lowercase, with at most <[MAX_CHARS_IN_STORY_URL_FRAGMENT]> characters in total and must be unique across the topic. Please use meaningful keywords, and avoid using words like "and", "of", or "the". This story can be accessed at the following URL:<br> <[hostname]>/learn/<[classroomUrlFragment]>/<[topicUrlFragment]>/story/<[story.urlFragment]> </em> </span> <div ng-if="storyUrlFragmentExists" class="oppia-input-box-subtitle text-danger"> <em> This story URL fragment already exists. </em> </div> </div> </div> <div class="story-input story-input-thumbnail"> <div class="story-input-header"> <span>Thumbnail Image*</span> </div> <oppia-thumbnail-uploader [preview-title]="story.title" [aspect-ratio]="'4:3'" [disabled]="false" [use-local-storage]="true" [allowed-bg-colors]="allowedBgColors" [thumbnail-bg-color]="story.getThumbnailBgColor()" preview-description-bg-color="#2F6687" (image-save)="updateView()"> </oppia-thumbnail-uploader> </div> </div> <div class="modal-footer"> <button class="btn btn-secondary" ng-click="cancel()" type="button">Cancel</button> <button class="btn btn-success protractor-test-confirm-story-creation-button" type="submit" ng-disabled="!isValid()"> <span>Create Story</span> </button> </div> </form> <style> .create-new-story-header h3 { font-size: 28px; } .create-new-story .story-input { padding: 10px 10px 16px; } .create-new-story input { width: 70%; } .story-input-description input { width: 95%; } .create-new-story .story-input-header span { font-weight: bold; } .create-new-story .story-input-thumbnail { padding-top: 15px; } .create-new-story .ng-touched.ng-empty.required { outline: 1px solid #f00; } </style>
static/dashs/www.appudo.com/d/pub/api/docs_1.3.2/docsets/Appudo.docset/Contents/Resources/Documents/Structs/FileSeekFlag.html
Appudo/Appudo.github.io
<!DOCTYPE html> <html lang="en"> <head> <title>FileSeekFlag Structure Reference</title> <link rel="stylesheet" type="text/css" href="../../css/jazzy.css" /> <link rel="stylesheet" type="text/css" href="../../css/highlight.css" /> <meta charset='utf-8'> <script src="../../js/jquery.min.js" defer></script> <script src="../../js/jazzy.js" defer></script> </head> <body> <a name="//apple_ref/swift/Struct/FileSeekFlag" class="dashAnchor"></a> <a title="FileSeekFlag Structure Reference"></a> <header> <div class="content-wrapper"> <p><a href="../index.html">Appudo Docs</a></p> <p class="header-right"><a href="https://www.github.com/Appudo"><img src="../../img/gh.png"/>View on GitHub</a></p> </div> </header> <div class="content-wrapper"> <p id="breadcrumbs"> <a href="../index.html">Appudo Reference</a> <img id="carat" src="../../img/carat.png" /> FileSeekFlag Structure Reference </p> </div> <div class="content-wrapper"> <nav class="sidebar"> <ul class="nav-groups"> <li class="nav-group-name"> <a href="../Classes.html">Classes</a> <ul class="nav-group-tasks"> <li class="nav-group-task"> <a href="../Classes/Async.html">Async</a> </li> <li class="nav-group-task"> <a href="../Classes/FileItemList.html">FileItemList</a> </li> <li class="nav-group-task"> <a href="../Classes/HTTPClient.html">HTTPClient</a> </li> <li class="nav-group-task"> <a href="../Classes/HTTPClient/HTTPVersion.html">– HTTPVersion</a> </li> <li class="nav-group-task"> <a href="../Classes/ManagedCharBuffer.html">ManagedCharBuffer</a> </li> <li class="nav-group-task"> <a href="../Classes/SQLQry.html">SQLQry</a> </li> <li class="nav-group-task"> <a href="../Classes/TimedArray.html">TimedArray</a> </li> <li class="nav-group-task"> <a href="../Classes/TimedArray/TimedArrayError.html">– TimedArrayError</a> </li> <li class="nav-group-task"> <a href="../Classes/UserAsync.html">UserAsync</a> </li> <li class="nav-group-task"> <a href="../Classes/UserList.html">UserList</a> </li> </ul> </li> <li class="nav-group-name"> <a href="../Enums.html">Enumerations</a> <ul class="nav-group-tasks"> <li class="nav-group-task"> <a href="../Enums/ControlResult.html">ControlResult</a> </li> <li class="nav-group-task"> <a href="../Enums.html#/s:9libappudo14ErrorEventTypeO">ErrorEventType</a> </li> <li class="nav-group-task"> <a href="../Enums.html#/s:9libappudo15HTTPRequestTypeO">HTTPRequestType</a> </li> <li class="nav-group-task"> <a href="../Enums.html#/s:9libappudo18HTTPRequestVersionO">HTTPRequestVersion</a> </li> <li class="nav-group-task"> <a href="../Enums/InetAddr.html">InetAddr</a> </li> <li class="nav-group-task"> <a href="../Enums.html#/s:9libappudo12InetAddrTypeO">InetAddrType</a> </li> <li class="nav-group-task"> <a href="../Enums.html#/s:9libappudo19InternalAppudoErrorO">InternalAppudoError</a> </li> <li class="nav-group-task"> <a href="../Enums.html#/s:9libappudo25InternalHTTPRequestStatusO">InternalHTTPRequestStatus</a> </li> <li class="nav-group-task"> <a href="../Enums.html#/s:9libappudo4LangO">Lang</a> </li> <li class="nav-group-task"> <a href="../Enums.html#/s:9libappudo8LinkTypeO">LinkType</a> </li> <li class="nav-group-task"> <a href="../Enums/UploadResult.html">UploadResult</a> </li> </ul> </li> <li class="nav-group-name"> <a href="../Extensions.html">Extensions</a> <ul class="nav-group-tasks"> <li class="nav-group-task"> <a href="../Extensions/Date.html">Date</a> </li> <li class="nav-group-task"> <a href="../Extensions/StaticString.html">StaticString</a> </li> </ul> </li> <li class="nav-group-name"> <a href="../Functions.html">Functions</a> <ul class="nav-group-tasks"> <li class="nav-group-task"> <a href="../Functions.html#/s:9libappudo2lnopxSgAA10AsyncValueVyACGlF">&lt;!(_:)</a> </li> <li class="nav-group-task"> <a href="../Functions.html#/s:9libappudo2lnoixSgAA10AsyncErrorVz_AA0C5ValueVyACGtlF">&lt;!(_:_:)</a> </li> <li class="nav-group-task"> <a href="../Functions.html#/s:9libappudo2lqopSbyycF">&lt;?(_:)</a> </li> <li class="nav-group-task"> <a href="../Functions.html#/s:9libappudo2qgoiSbAA10AsyncValueVyxGz_yAA0C0CctAA0C7ReverseRzlF">?&gt;(_:_:)</a> </li> <li class="nav-group-task"> <a href="../Functions.html#/s:9libappudo2qgoiSbAA10AsyncValueVyxGz_yyctAA0C7ReverseRzlF">?&gt;(_:_:)</a> </li> <li class="nav-group-task"> <a href="../Functions.html#/s:9libappudo12AlphasortASCs5Int32VAA13_UserListItemV1a_AF1btF">AlphasortASC(a:b:)</a> </li> <li class="nav-group-task"> <a href="../Functions.html#/s:9libappudo12AlphasortASCs5Int32VAA8FileItemV1a_AF1btF">AlphasortASC(a:b:)</a> </li> <li class="nav-group-task"> <a href="../Functions.html#/s:9libappudo12AlphasortDSCs5Int32VAA13_UserListItemV1a_AF1btF">AlphasortDSC(a:b:)</a> </li> <li class="nav-group-task"> <a href="../Functions.html#/s:9libappudo12AlphasortDSCs5Int32VAA8FileItemV1a_AF1btF">AlphasortDSC(a:b:)</a> </li> <li class="nav-group-task"> <a href="../Functions.html#/s:9libappudo13appudo_assertySbyXK_SSyXKs12StaticStringVSutF">appudo_assert(_:_:_:_:)</a> </li> <li class="nav-group-task"> <a href="../Functions.html#/s:9libappudo4sendyypd_tF">send(_:)</a> </li> </ul> </li> <li class="nav-group-name"> <a href="../Protocols.html">Protocols</a> <ul class="nav-group-tasks"> <li class="nav-group-task"> <a href="../Protocols.html#/s:9libappudo15DataWriteSourceP">DataWriteSource</a> </li> <li class="nav-group-task"> <a href="../Protocols/FastCodable.html">FastCodable</a> </li> <li class="nav-group-task"> <a href="../Protocols/FileLockable.html">FileLockable</a> </li> <li class="nav-group-task"> <a href="../Protocols/FileSeekable.html">FileSeekable</a> </li> <li class="nav-group-task"> <a href="../Protocols/FileSendSource.html">FileSendSource</a> </li> </ul> </li> <li class="nav-group-name"> <a href="../Structs.html">Structures</a> <ul class="nav-group-tasks"> <li class="nav-group-task"> <a href="../Structs/ACME.html">ACME</a> </li> <li class="nav-group-task"> <a href="../Structs/ACME/RequestFlags.html">– RequestFlags</a> </li> <li class="nav-group-task"> <a href="../Structs/AccountID.html">AccountID</a> </li> <li class="nav-group-task"> <a href="../Structs/AppudoError.html">AppudoError</a> </li> <li class="nav-group-task"> <a href="../Structs/AsyncError.html">AsyncError</a> </li> <li class="nav-group-task"> <a href="../Structs.html#/s:9libappudo10AsyncTimerV">AsyncTimer</a> </li> <li class="nav-group-task"> <a href="../Structs/AsyncValue.html">AsyncValue</a> </li> <li class="nav-group-task"> <a href="../Structs/Base64.html">Base64</a> </li> <li class="nav-group-task"> <a href="../Structs/BaseMenuItem.html">BaseMenuItem</a> </li> <li class="nav-group-task"> <a href="../Structs/CHASH.html">CHASH</a> </li> <li class="nav-group-task"> <a href="../Structs/CHASH/DigestFlags.html">– DigestFlags</a> </li> <li class="nav-group-task"> <a href="../Structs/CHASH/Item.html">– Item</a> </li> <li class="nav-group-task"> <a href="../Structs/Cert.html">Cert</a> </li> <li class="nav-group-task"> <a href="../Structs/Cert/CertFlags.html">– CertFlags</a> </li> <li class="nav-group-task"> <a href="../Structs/CertID.html">CertID</a> </li> <li class="nav-group-task"> <a href="../Structs/CharBufferData.html">CharBufferData</a> </li> <li class="nav-group-task"> <a href="../Structs/ControlData.html">ControlData</a> </li> <li class="nav-group-task"> <a href="../Structs/ControlInfo.html">ControlInfo</a> </li> <li class="nav-group-task"> <a href="../Structs.html#/s:9libappudo3DirV">Dir</a> </li> <li class="nav-group-task"> <a href="../Structs/Disk.html">Disk</a> </li> <li class="nav-group-task"> <a href="../Structs.html#/s:9libappudo8DiskStatV">DiskStat</a> </li> <li class="nav-group-task"> <a href="../Structs.html#/s:9libappudo6DomainV">Domain</a> </li> <li class="nav-group-task"> <a href="../Structs/ErrorEvent.html">ErrorEvent</a> </li> <li class="nav-group-task"> <a href="../Structs.html#/s:9libappudo5EventV">Event</a> </li> <li class="nav-group-task"> <a href="../Structs/FileItem.html">FileItem</a> </li> <li class="nav-group-task"> <a href="../Structs/FileItem/Flag.html">– Flag</a> </li> <li class="nav-group-task"> <a href="../Structs/FileItem/RenameFlags.html">– RenameFlags</a> </li> <li class="nav-group-task"> <a href="../Structs/FileItem/CopyFlags.html">– CopyFlags</a> </li> <li class="nav-group-task"> <a href="../Structs/FileItem/RemoveFlags.html">– RemoveFlags</a> </li> <li class="nav-group-task"> <a href="../Structs/FileItem/AccessFlags.html">– AccessFlags</a> </li> <li class="nav-group-task"> <a href="../Structs/FileItem/MKPathFlags.html">– MKPathFlags</a> </li> <li class="nav-group-task"> <a href="../Structs/FileItem/Mode.html">– Mode</a> </li> <li class="nav-group-task"> <a href="../Structs/FileItem/AccessMode.html">– AccessMode</a> </li> <li class="nav-group-task"> <a href="../Structs/FileSeekFlag.html">FileSeekFlag</a> </li> <li class="nav-group-task"> <a href="../Structs/FileStat.html">FileStat</a> </li> <li class="nav-group-task"> <a href="../Structs.html#/s:9libappudo8FileViewV">FileView</a> </li> <li class="nav-group-task"> <a href="../Structs/Group.html">Group</a> </li> <li class="nav-group-task"> <a href="../Structs/GroupID.html">GroupID</a> </li> <li class="nav-group-task"> <a href="../Structs.html#/s:9libappudo9GroupInfoV">GroupInfo</a> </li> <li class="nav-group-task"> <a href="../Structs/HMAC.html">HMAC</a> </li> <li class="nav-group-task"> <a href="../Structs/HMAC/DigestFlags.html">– DigestFlags</a> </li> <li class="nav-group-task"> <a href="../Structs/HMAC/Item.html">– Item</a> </li> <li class="nav-group-task"> <a href="../Structs/HTTPRequestStatus.html">HTTPRequestStatus</a> </li> <li class="nav-group-task"> <a href="../Structs/Hex.html">Hex</a> </li> <li class="nav-group-task"> <a href="../Structs/Link.html">Link</a> </li> <li class="nav-group-task"> <a href="../Structs/Mail.html">Mail</a> </li> <li class="nav-group-task"> <a href="../Structs/Mail.html#/s:9libappudo4MailV8AuthTypeO">– AuthType</a> </li> <li class="nav-group-task"> <a href="../Structs.html#/s:9libappudo6MemVarV">MemVar</a> </li> <li class="nav-group-task"> <a href="../Structs/Memory.html">Memory</a> </li> <li class="nav-group-task"> <a href="../Structs/PDF.html">PDF</a> </li> <li class="nav-group-task"> <a href="../Structs/PDF/PDFCreateFlags.html">– PDFCreateFlags</a> </li> <li class="nav-group-task"> <a href="../Structs/PDF.html#/s:9libappudo3PDFV13PDFSignDigestO">– PDFSignDigest</a> </li> <li class="nav-group-task"> <a href="../Structs/PDF/PDFSignFlags.html">– PDFSignFlags</a> </li> <li class="nav-group-task"> <a href="../Structs.html#/s:9libappudo4PageV">Page</a> </li> <li class="nav-group-task"> <a href="../Structs/Proc.html">Proc</a> </li> <li class="nav-group-task"> <a href="../Structs/Rand.html">Rand</a> </li> <li class="nav-group-task"> <a href="../Structs/RefCharBufferData.html">RefCharBufferData</a> </li> <li class="nav-group-task"> <a href="../Structs.html#/s:9libappudo4RoleV">Role</a> </li> <li class="nav-group-task"> <a href="../Structs/Run.html">Run</a> </li> <li class="nav-group-task"> <a href="../Structs/RunID.html">RunID</a> </li> <li class="nav-group-task"> <a href="../Structs/SHComp.html">SHComp</a> </li> <li class="nav-group-task"> <a href="../Structs/SQLQryErrCode.html">SQLQryErrCode</a> </li> <li class="nav-group-task"> <a href="../Structs/SQLQryValue.html">SQLQryValue</a> </li> <li class="nav-group-task"> <a href="../Structs.html#/s:9libappudo7SettingV">Setting</a> </li> <li class="nav-group-task"> <a href="../Structs/SettingVar.html">SettingVar</a> </li> <li class="nav-group-task"> <a href="../Structs/Socket.html">Socket</a> </li> <li class="nav-group-task"> <a href="../Structs/StaticDomain.html">StaticDomain</a> </li> <li class="nav-group-task"> <a href="../Structs/System.html">System</a> </li> <li class="nav-group-task"> <a href="../Structs/Timer.html">Timer</a> </li> <li class="nav-group-task"> <a href="../Structs/URL.html">URL</a> </li> <li class="nav-group-task"> <a href="../Structs/User.html">User</a> </li> <li class="nav-group-task"> <a href="../Structs/UserID.html">UserID</a> </li> <li class="nav-group-task"> <a href="../Structs.html#/s:9libappudo8UserInfoV">UserInfo</a> </li> <li class="nav-group-task"> <a href="../Structs/UserListItem.html">UserListItem</a> </li> <li class="nav-group-task"> <a href="../Structs/WatchEvent.html">WatchEvent</a> </li> <li class="nav-group-task"> <a href="../Structs/WatchFlag.html">WatchFlag</a> </li> <li class="nav-group-task"> <a href="../Structs/zBase32.html">zBase32</a> </li> </ul> </li> </ul> </nav> <article class="main-content"> <section> <section class="section"> <h1>FileSeekFlag</h1> <div class="declaration"> <div class="language"> <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">struct</span> <span class="kt">FileSeekFlag</span> <span class="p">:</span> <span class="kt">OptionSet</span></code></pre> </div> </div> <p>The FileSeekFlag is used for the FileSeekable API.</p> <div class="aside aside-see-also"> <p class="aside-title">See also</p> FileSeekable </div> </section> <section class="section task-group-section"> <div class="task-group"> <ul> <li class="item"> <div> <code> <a name="/s:s16RawRepresentableP8rawValue0aD0Qzvp"></a> <a name="//apple_ref/swift/Property/rawValue" class="dashAnchor"></a> <a class="token" href="#/s:s16RawRepresentableP8rawValue0aD0Qzvp">rawValue</a> </code> </div> <div class="height-container"> <div class="pointer-container"></div> <section class="section"> <div class="pointer"></div> <div class="abstract"> </div> <div class="declaration"> <h4>Declaration</h4> <div class="language"> <p class="aside-title">Swift</p> <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">let</span> <span class="nv">rawValue</span><span class="p">:</span> <span class="kt">Int32</span></code></pre> </div> </div> </section> </div> </li> <li class="item"> <div> <code> <a name="/s:s9OptionSetPx8RawValueQz03rawD0_tcfc"></a> <a name="//apple_ref/swift/Method/init(rawValue:)" class="dashAnchor"></a> <a class="token" href="#/s:s9OptionSetPx8RawValueQz03rawD0_tcfc">init(rawValue:)</a> </code> </div> <div class="height-container"> <div class="pointer-container"></div> <section class="section"> <div class="pointer"></div> <div class="abstract"> </div> <div class="declaration"> <h4>Declaration</h4> <div class="language"> <p class="aside-title">Swift</p> <pre class="highlight swift"><code><span class="kd">public</span> <span class="nf">init</span><span class="p">(</span><span class="nv">rawValue</span><span class="p">:</span> <span class="kt">Int32</span><span class="p">)</span></code></pre> </div> </div> </section> </div> </li> <li class="item"> <div> <code> <a name="/s:9libappudo12FileSeekFlagV7DEFAULTACvpZ"></a> <a name="//apple_ref/swift/Variable/DEFAULT" class="dashAnchor"></a> <a class="token" href="#/s:9libappudo12FileSeekFlagV7DEFAULTACvpZ">DEFAULT</a> </code> </div> <div class="height-container"> <div class="pointer-container"></div> <section class="section"> <div class="pointer"></div> <div class="abstract"> <p>The default value is SEEK_SET.</p> </div> <div class="declaration"> <h4>Declaration</h4> <div class="language"> <p class="aside-title">Swift</p> <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="k">let</span> <span class="nv">DEFAULT</span><span class="p">:</span> <span class="kt">FileSeekFlag</span></code></pre> </div> </div> </section> </div> </li> <li class="item"> <div> <code> <a name="/s:9libappudo12FileSeekFlagV8SEEK_SETACvpZ"></a> <a name="//apple_ref/swift/Variable/SEEK_SET" class="dashAnchor"></a> <a class="token" href="#/s:9libappudo12FileSeekFlagV8SEEK_SETACvpZ">SEEK_SET</a> </code> </div> <div class="height-container"> <div class="pointer-container"></div> <section class="section"> <div class="pointer"></div> <div class="abstract"> <p>Use this flag to set the current position.</p> </div> <div class="declaration"> <h4>Declaration</h4> <div class="language"> <p class="aside-title">Swift</p> <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="k">let</span> <span class="nv">SEEK_SET</span><span class="p">:</span> <span class="kt">FileSeekFlag</span></code></pre> </div> </div> </section> </div> </li> <li class="item"> <div> <code> <a name="/s:9libappudo12FileSeekFlagV8SEEK_CURACvpZ"></a> <a name="//apple_ref/swift/Variable/SEEK_CUR" class="dashAnchor"></a> <a class="token" href="#/s:9libappudo12FileSeekFlagV8SEEK_CURACvpZ">SEEK_CUR</a> </code> </div> <div class="height-container"> <div class="pointer-container"></div> <section class="section"> <div class="pointer"></div> <div class="abstract"> <p>Use this flag to get the current position.</p> </div> <div class="declaration"> <h4>Declaration</h4> <div class="language"> <p class="aside-title">Swift</p> <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="k">let</span> <span class="nv">SEEK_CUR</span><span class="p">:</span> <span class="kt">FileSeekFlag</span></code></pre> </div> </div> </section> </div> </li> <li class="item"> <div> <code> <a name="/s:9libappudo12FileSeekFlagV8SEEK_ENDACvpZ"></a> <a name="//apple_ref/swift/Variable/SEEK_END" class="dashAnchor"></a> <a class="token" href="#/s:9libappudo12FileSeekFlagV8SEEK_ENDACvpZ">SEEK_END</a> </code> </div> <div class="height-container"> <div class="pointer-container"></div> <section class="section"> <div class="pointer"></div> <div class="abstract"> <p>Use this flag to get the maximum position.</p> </div> <div class="declaration"> <h4>Declaration</h4> <div class="language"> <p class="aside-title">Swift</p> <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="k">let</span> <span class="nv">SEEK_END</span><span class="p">:</span> <span class="kt">FileSeekFlag</span></code></pre> </div> </div> </section> </div> </li> <li class="item"> <div> <code> <a name="/s:9libappudo12FileSeekFlagV9SEEK_DATAACvpZ"></a> <a name="//apple_ref/swift/Variable/SEEK_DATA" class="dashAnchor"></a> <a class="token" href="#/s:9libappudo12FileSeekFlagV9SEEK_DATAACvpZ">SEEK_DATA</a> </code> </div> <div class="height-container"> <div class="pointer-container"></div> <section class="section"> <div class="pointer"></div> <div class="abstract"> <p>Use this flag to move the current position to the next data.</p> </div> <div class="declaration"> <h4>Declaration</h4> <div class="language"> <p class="aside-title">Swift</p> <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="k">let</span> <span class="nv">SEEK_DATA</span><span class="p">:</span> <span class="kt">FileSeekFlag</span></code></pre> </div> </div> </section> </div> </li> <li class="item"> <div> <code> <a name="/s:9libappudo12FileSeekFlagV9SEEK_HOLEACvpZ"></a> <a name="//apple_ref/swift/Variable/SEEK_HOLE" class="dashAnchor"></a> <a class="token" href="#/s:9libappudo12FileSeekFlagV9SEEK_HOLEACvpZ">SEEK_HOLE</a> </code> </div> <div class="height-container"> <div class="pointer-container"></div> <section class="section"> <div class="pointer"></div> <div class="abstract"> <p>Use this flag to move the current position to the next hole.</p> </div> <div class="declaration"> <h4>Declaration</h4> <div class="language"> <p class="aside-title">Swift</p> <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="k">let</span> <span class="nv">SEEK_HOLE</span><span class="p">:</span> <span class="kt">FileSeekFlag</span></code></pre> </div> </div> </section> </div> </li> </ul> </div> </section> </section> <section id="footer"> <p>&copy; 2018 <a class="link" href="" target="_blank" rel="external">source@appudo.com</a>. All rights reserved. (Last updated: 2018-08-13)</p> <p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p> </section> </article> </div> </body> </div> </html>
doc/0.9.8/libguac/globals_v.html
mike-jumper/incubator-guacamole-website
<!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"/> <meta name="generator" content="Doxygen 1.8.9.1"/> <title>libguac: Globals</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/searchdata.js"></script> <script type="text/javascript" src="search/search.js"></script> <script type="text/javascript"> $(document).ready(function() { init_search(); }); </script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">libguac &#160;<span id="projectnumber">0.9.8</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.9.1 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main&#160;Page</span></a></li> <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <span class="left"> <img id="MSearchSelect" src="search/mag_sel.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/> <input type="text" id="MSearchField" value="Search" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/> </span><span class="right"> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </span> </div> </li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File&#160;List</span></a></li> <li class="current"><a href="globals.html"><span>Globals</span></a></li> </ul> </div> <div id="navrow3" class="tabs2"> <ul class="tablist"> <li class="current"><a href="globals.html"><span>All</span></a></li> <li><a href="globals_func.html"><span>Functions</span></a></li> <li><a href="globals_vars.html"><span>Variables</span></a></li> <li><a href="globals_type.html"><span>Typedefs</span></a></li> <li><a href="globals_enum.html"><span>Enumerations</span></a></li> <li><a href="globals_eval.html"><span>Enumerator</span></a></li> <li><a href="globals_defs.html"><span>Macros</span></a></li> </ul> </div> <div id="navrow4" class="tabs3"> <ul class="tablist"> <li><a href="globals.html#index_g"><span>g</span></a></li> <li class="current"><a href="globals_v.html#index_v"><span>v</span></a></li> </ul> </div> </div><!-- top --> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> </div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div class="contents"> <div class="textblock">Here is a list of all documented functions, variables, defines, enums, and typedefs with links to the documentation:</div> <h3><a class="anchor" id="index_v"></a>- v -</h3><ul> <li>vguac_client_abort() : <a class="el" href="client_8h.html#a4c0eccd7d0ed3dbf3e7941ce297e0224">client.h</a> </li> <li>vguac_client_log() : <a class="el" href="client_8h.html#a37a0fa9cfc4c02236085e3852972f494">client.h</a> </li> <li>vguac_protocol_send_log() : <a class="el" href="protocol_8h.html#a3a783d771e1727ba2a82b2298acf4ee4">protocol.h</a> </li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Tue Sep 8 2015 22:32:39 for libguac by &#160;<a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.9.1 </small></address> <!-- Google Analytics --> <script type="text/javascript"> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-75289145-1', 'auto'); ga('send', 'pageview'); </script> <!-- End Google Analytics --> </body> </html>
hadoop-hdfs-project/hadoop-hdfs/target/src-html/org/apache/hadoop/hdfs/client/HdfsDataOutputStream.html
jsrudani/HadoopHDFSProject
<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.hdfs.client;<a name="line.18"></a> <FONT color="green">019</FONT> <a name="line.19"></a> <FONT color="green">020</FONT> import java.io.IOException;<a name="line.20"></a> <FONT color="green">021</FONT> import java.util.EnumSet;<a name="line.21"></a> <FONT color="green">022</FONT> <a name="line.22"></a> <FONT color="green">023</FONT> import org.apache.hadoop.classification.InterfaceAudience;<a name="line.23"></a> <FONT color="green">024</FONT> import org.apache.hadoop.classification.InterfaceStability;<a name="line.24"></a> <FONT color="green">025</FONT> import org.apache.hadoop.fs.FSDataOutputStream;<a name="line.25"></a> <FONT color="green">026</FONT> import org.apache.hadoop.fs.FileSystem;<a name="line.26"></a> <FONT color="green">027</FONT> import org.apache.hadoop.hdfs.DFSOutputStream;<a name="line.27"></a> <FONT color="green">028</FONT> <a name="line.28"></a> <FONT color="green">029</FONT> /**<a name="line.29"></a> <FONT color="green">030</FONT> * The Hdfs implementation of {@link FSDataOutputStream}.<a name="line.30"></a> <FONT color="green">031</FONT> */<a name="line.31"></a> <FONT color="green">032</FONT> @InterfaceAudience.Public<a name="line.32"></a> <FONT color="green">033</FONT> @InterfaceStability.Evolving<a name="line.33"></a> <FONT color="green">034</FONT> public class HdfsDataOutputStream extends FSDataOutputStream {<a name="line.34"></a> <FONT color="green">035</FONT> public HdfsDataOutputStream(DFSOutputStream out, FileSystem.Statistics stats,<a name="line.35"></a> <FONT color="green">036</FONT> long startPosition) throws IOException {<a name="line.36"></a> <FONT color="green">037</FONT> super(out, stats, startPosition);<a name="line.37"></a> <FONT color="green">038</FONT> }<a name="line.38"></a> <FONT color="green">039</FONT> <a name="line.39"></a> <FONT color="green">040</FONT> public HdfsDataOutputStream(DFSOutputStream out, FileSystem.Statistics stats<a name="line.40"></a> <FONT color="green">041</FONT> ) throws IOException {<a name="line.41"></a> <FONT color="green">042</FONT> this(out, stats, 0L);<a name="line.42"></a> <FONT color="green">043</FONT> }<a name="line.43"></a> <FONT color="green">044</FONT> <a name="line.44"></a> <FONT color="green">045</FONT> /**<a name="line.45"></a> <FONT color="green">046</FONT> * Get the actual number of replicas of the current block.<a name="line.46"></a> <FONT color="green">047</FONT> * <a name="line.47"></a> <FONT color="green">048</FONT> * This can be different from the designated replication factor of the file<a name="line.48"></a> <FONT color="green">049</FONT> * because the namenode does not maintain replication for the blocks which are<a name="line.49"></a> <FONT color="green">050</FONT> * currently being written to. Depending on the configuration, the client may<a name="line.50"></a> <FONT color="green">051</FONT> * continue to write to a block even if a few datanodes in the write pipeline<a name="line.51"></a> <FONT color="green">052</FONT> * have failed, or the client may add a new datanodes once a datanode has<a name="line.52"></a> <FONT color="green">053</FONT> * failed.<a name="line.53"></a> <FONT color="green">054</FONT> * <a name="line.54"></a> <FONT color="green">055</FONT> * @return the number of valid replicas of the current block<a name="line.55"></a> <FONT color="green">056</FONT> */<a name="line.56"></a> <FONT color="green">057</FONT> public synchronized int getCurrentBlockReplication() throws IOException {<a name="line.57"></a> <FONT color="green">058</FONT> return ((DFSOutputStream)getWrappedStream()).getCurrentBlockReplication();<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> /**<a name="line.61"></a> <FONT color="green">062</FONT> * Sync buffered data to DataNodes (flush to disk devices).<a name="line.62"></a> <FONT color="green">063</FONT> * <a name="line.63"></a> <FONT color="green">064</FONT> * @param syncFlags<a name="line.64"></a> <FONT color="green">065</FONT> * Indicate the detailed semantic and actions of the hsync.<a name="line.65"></a> <FONT color="green">066</FONT> * @throws IOException<a name="line.66"></a> <FONT color="green">067</FONT> * @see FSDataOutputStream#hsync()<a name="line.67"></a> <FONT color="green">068</FONT> */<a name="line.68"></a> <FONT color="green">069</FONT> public void hsync(EnumSet&lt;SyncFlag&gt; syncFlags) throws IOException {<a name="line.69"></a> <FONT color="green">070</FONT> ((DFSOutputStream) getWrappedStream()).hsync(syncFlags);<a name="line.70"></a> <FONT color="green">071</FONT> }<a name="line.71"></a> <FONT color="green">072</FONT> <a name="line.72"></a> <FONT color="green">073</FONT> public static enum SyncFlag {<a name="line.73"></a> <FONT color="green">074</FONT> /**<a name="line.74"></a> <FONT color="green">075</FONT> * When doing sync to DataNodes, also update the metadata (block<a name="line.75"></a> <FONT color="green">076</FONT> * length) in the NameNode<a name="line.76"></a> <FONT color="green">077</FONT> */<a name="line.77"></a> <FONT color="green">078</FONT> UPDATE_LENGTH;<a name="line.78"></a> <FONT color="green">079</FONT> }<a name="line.79"></a> <FONT color="green">080</FONT> }<a name="line.80"></a> </PRE> </BODY> </HTML>
src/template/appBar/appBar.html
1hella/StreamusChromeExtension
<div class='contentBar contentBar--top'> <div class='appBar-content appBar-content--left'> <div id='appBar-showPlaylistsAreaButton' class='appBar-navButton button button--icon button--icon--primary button--large js-tooltipable'> <svg width="24" height="24" viewBox="0 0 24 24"> <path d="M0 0h24v24h-24z" fill="none"/> <path d="M3 18h18v-2h-18v2zm0-5h18v-2h-18v2zm0-7v2h18v-2h-18z"/> </svg> </div> <div id='appBar-hidePlaylistsAreaButton' class='appBar-navButton button button--icon button--icon--primary button--large hidden'> <svg width="24" height="24" viewBox="0 0 24 24"> <path d="M0 0h24v24h-24z" fill="none"/> <path d="M3 18h18v-2h-18v2zm0-5h18v-2h-18v2zm0-7v2h18v-2h-18z"/> </svg> </div> <div id='appBar-playlistTitleRegion' class='contentBar-content'></div> <!-- TODO: value=query --> <div id='appBar-searchInputRegion' class='contentBar-content hidden'> <input id='appBar-searchInput' class='textInput textInput--search' type='text' placeholder='<%= searchMessage %>' value=''> </div> <div id='appBar-showSearchButton' class='button button--icon button--icon--primary button--large'> <svg width="24" height="24" viewBox="0 0 24 24"> <path d="M15.5 14h-.79l-.28-.27c.98-1.14 1.57-2.62 1.57-4.23 0-3.59-2.91-6.5-6.5-6.5s-6.5 2.91-6.5 6.5 2.91 6.5 6.5 6.5c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99 1.49-1.49-4.99-5zm-6 0c-2.49 0-4.5-2.01-4.5-4.5s2.01-4.5 4.5-4.5 4.5 2.01 4.5 4.5-2.01 4.5-4.5 4.5z"/> <path d="M0 0h24v24h-24z" fill="none"/> </svg> </div> <div id='appBar-hideSearchButton' class='button button--icon button--icon--primary button--large hidden'> <svg width="24" height="24" viewBox="0 0 24 24"> <path d="M19 6.41l-1.41-1.41-5.59 5.59-5.59-5.59-1.41 1.41 5.59 5.59-5.59 5.59 1.41 1.41 5.59-5.59 5.59 5.59 1.41-1.41-5.59-5.59z"/> <path d="M0 0h24v24h-24z" fill="none"/> </svg> </div> </div> <div class='appBar-content appBar-content--right'> <div id='appBar-volumeAreaRegion'></div> <div class='appBar-controls'> <div id="appBar-previousButtonRegion"></div> <div id="appBar-playPauseButtonRegion"></div> <div id="appBar-nextButtonRegion"></div> </div> <div id='appBar-adminMenuAreaRegion'></div> </div> </div>
gerrit-gwtui/src/main/java/com/google/gerrit/client/gerrit.css
bootstraponline-archive/gerrit-mirror
/* Copyright (C) 2009 The Android Open Source Project * * 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. */ /** * Make every single class external so users can rely on their names */ @external .*; @def black #000000; @def white #ffffff; @def norm-font sans-serif; @def mono-font monospace; @eval backgroundColor com.google.gerrit.client.Gerrit.getTheme().backgroundColor; @eval topMenuColor com.google.gerrit.client.Gerrit.getTheme().topMenuColor; @eval textColor com.google.gerrit.client.Gerrit.getTheme().textColor; @eval trimColor com.google.gerrit.client.Gerrit.getTheme().trimColor; @eval selectionColor com.google.gerrit.client.Gerrit.getTheme().selectionColor; @eval changeTableOutdatedColor com.google.gerrit.client.Gerrit.getTheme().changeTableOutdatedColor; @eval tableOddRowColor com.google.gerrit.client.Gerrit.getTheme().tableOddRowColor; @eval tableEvenRowColor com.google.gerrit.client.Gerrit.getTheme().tableEvenRowColor; @sprite .greenCheckClass { gwt-image: "greenCheck"; } /** Override various GWT defaults */ .gerritTopMenu { font-size: 9pt; padding-left: 5px; padding-right: 5px; background: transparent; } body, table td, select { font-family: norm-font; } .gerritBody { font-size: small; padding-left: 5px; padding-right: 5px; } a, a:visited { color: #0654ac; text-decoration: none; } a:hover { color: #0654ac; text-decoration: underline; } #gerrit_btmmenu { clear: both; color: #a0adcc; text-align: right; padding-right: 10px; } .version a, .version a:visited, .version a:hover { color: #2a5db0; } /** Widgets **/ .gwt-Button { color: black; } .hyperlink { text-decoration: underline; } .accountLinkPanel { display: inline; } .accountLinkPanel img { margin-right: 0.2em; position: relative; top: 2px; } .accountLinkPanel a { position: relative; top: -1px; } .accountName { white-space: nowrap; } .inputFieldTypeHint { color: grey; } .smallHeading { margin-top: 5px; font-weight: bold; } .blockHeader { font-size: small; font-weight: bold; background: trimColor; padding: 0.2em 0.2em 0.2em 0.5em; } .link { cursor: pointer; } /** MenuScreen **/ .menuScreenMenuBar { background: topMenuColor; padding-top: 0.5em; padding-bottom: 10em; padding-left: 0.5em; padding-right: 0.5em; border-right: 1px solid black; margin-right: 0.5em; } .menuScreenMenuBar .menuItem { white-space: nowrap; display: block; border-right: none; padding: 0.2em; } .menuScreenMenuBar .menuItem.activeRow { background: selectionColor; } .menuItem.activeRow { background: selectionColor; } /** CommentPanel **/ .commentPanelBorder { border-top: 1px solid lightgray; border-left: 1px solid lightgray; border-right: 1px solid lightgray; border-top-left-radius: 8px; border-top-right-radius: 8px; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; } .commentPanelBorder.commentPanelLast { border-bottom: 1px solid lightgray; border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; } @if user.agent safari { .commentPanelBorder { \-webkit-border-top-left-radius: 8px; \-webkit-border-top-right-radius: 8px; \-webkit-border-bottom-left-radius: 0px; \-webkit-border-bottom-right-radius: 0px; } .commentPanelBorder.commentPanelLast { \-webkit-border-bottom-left-radius: 8px; \-webkit-border-bottom-right-radius: 8px; } } @if user.agent gecko1_8 { .commentPanelBorder { \-moz-border-radius-topleft: 8px; \-moz-border-radius-topright: 8px; \-moz-border-radius-bottomleft: 0; \-moz-border-radius-bottomright: 0; } .commentPanelBorder.commentPanelLast { \-moz-border-radius-bottomleft: 8px; \-moz-border-radius-bottomright: 8px; } } .commentPanelHeader { cursor: pointer; width: 100%; } .commentPanelSummary { color: #777777; white-space: nowrap; overflow: hidden; } .commentPanelAuthorCell { font-weight: bold; white-space: nowrap; } .commentPanelSummaryCell { width: 100%; } .commentPanelDateCell { white-space: nowrap; } .commentPanelContent { padding-bottom: 1px; } .commentPanelMessage { font-size: small; padding-left: 0.5em; padding-right: 0.5em; } .commentPanelMenuBar { float: right; } .commentPanelMessage p { margin-top: 0px; margin-bottom: 0px; padding-top: 0.5em; padding-bottom: 0.5em; } .commentPanelButtons { margin-left: 0.5em; } .commentPanelButtons .gwt-Button { margin-right: 2em; font-size: 7pt; padding: 1px; } .commentEditorPanel textarea { margin-left: 0.5em; font-size: small; font-family: norm-font; } /** Menu **/ .linkMenuBar { font-size: 9pt; display: inline; white-space: nowrap; padding-left: 6px; } .menuItem { padding-left: 5px; padding-right: 5px; } .linkMenuItemNotLast { border-right: 1px solid black; } .topmenu { width: 100%; } .topmenuTDmenu { vertical-align: top; } .topmenuTDglue { width: 100%; } .topmenuMenuLeft { width: 300px; font-size: 9pt; padding-top: 5px; padding-left: 5px; padding-right: 5px; background: none; position: relative; top: 0; } .topmenuMenuLeft tbody tr td table { border: 0; } .topmenuMenuLeft tbody tr td table.gwt-TabBar { border-bottom: 1px solid #DDD; } .topmenuMenuLeft .gwt-TextBox { width: 250px; } .topmenuMenuLeft .gwt-Button { padding: 3px 6px; } .topmenuMenuLeft .gwt-TabBarFirst { display: none; } .topmenuMenuLeft .gwt-TabBarItem { margin: 0px; background: transparent; padding-top: 0px; padding-bottom: 1px; padding-left: 1em; padding-right: 1em; } .topmenuMenuLeft .gwt-TabBarRest { background: transparent; padding-top: 0px; } .topmenuMenuLeft .gwt-TabPanelBottom { background: transparent; border-top: none; border-left: none; border-right: none; border-bottom: none; padding: 1px; } .topmenuMenuLeft .menuItem { padding-left: 1em; padding-right: 1em; border-right: none; } .topmenuMenuRight { float: right; text-align: right; } .menuBarUserName { padding-left: 5px; padding-right: 5px; white-space: nowrap; } .menuBarUserNameAvatar { vertical-align: middle; } .menuBarUserNameFocusPanel { display: inline; } .menuBarUserNamePanel { display: inline; cursor: pointer; font-weight: bold; } .userInfoPopup { border: 1px solid black; background: white; box-shadow: 3px 3px 5px #888; z-index: 200; } .searchPanel { white-space: nowrap; display: inline; } .searchPanel .gwt-TextBox { font-size: 9pt; } .searchPanel .gwt-Button { font-size: 9pt; margin-left: 2px; padding: 3px 6px; } .suggestBoxPopup { z-index: 200; } /** RPC Status **/ .rpcStatus { position: fixed; top: 6px; left: 50%; padding-top: 4px; padding-bottom: 4px; padding-left: 10px; padding-right: 10px; text-align: center; font-weight: bold; background: #FFF1A8; z-index: 200; } /** Error Dialog **/ .errorDialog { background: none; border: none; padding: 10px; width: 600px; color: backgroundColor; font-size: 15px; font-family: verdana; z-index: 200; } .errorDialogGlass { opacity: 0.75; z-index: 200; } @if user.agent safari { .errorDialogGlass { opacity: 0.80; } } @if user.agent ie6 ie8 { /* IE just doesn't do opacity the way we want, make our dialog * stand out in a way that it can't be missed against the page */ .errorDialog { color: black; background: darkgray; border: 10px groove lightgrey; } } .errorDialogTitle { font-size: 30px; font-weight: bold; margin-bottom: 15px; } .errorDialogErrorType { font-weight: bold; white-space: nowrap; margin-bottom: 15px; } .errorDialogButtons { width: 100%; margin-top: 15px; } .errorDialogText { font-size: 15px; font-family: verdana; } .errorDialog a, .errorDialog a:visited, .errorDialog a:hover { color: white; font-weight: bold; font-size: 15px; font-family: verdana; } .loadingPluginsDialog { background: #fff; color: #000; width: auto; } /** Screen **/ .screen { } .screenHeader { white-space: nowrap; font-size: 16pt; margin: 3px 0 8px; text-overflow: ellipsis; overflow: hidden; } .screenNoHeader { margin-top: 5px; } /** ChangeTable **/ .changeTable { border-collapse: separate; border-spacing: 0; } .changeTable tr:nth-child\(even\) { background: tableEvenRowColor; } .changeTable tr:nth-child\(odd\) { background: tableOddRowColor; } .changeTable .outdated { background: changeTableOutdatedColor !important; } .changeTable .iconCell { width: 1px; padding: 0px; vertical-align: middle; border-bottom: 1px solid trimColor; } .changeTable .changeTypeCell { width: 1px; padding-left: 5px; padding-right: 5px; border-right: 1px solid trimColor; border-bottom: 1px solid trimColor; vertical-align: top; } .changeTable .commentCell { text-align: right; font-weight: bold; white-space: nowrap; } .changeTable .commentCell span.drafts { color: #ff5555; } .changeTable .patchCellReverseDiff { color: red; } .changeTable .patchSizeCell { text-align: right; white-space: nowrap; } .changeTable td.noborder { border: none; } .changeTable .filePathCell { white-space: nowrap; } .changeTable .sourceFilePath { font-style: italic; font-size: 9pt; } .changeTable .diffLinkCell { white-space: nowrap; } .changeTable .leftMostCell { border-left: 1px solid trimColor; } .changeTable .topMostCell { border-top: 1px solid trimColor; } .changeTable .dataCell { padding-left: 5px; padding-right: 5px; border-right: 1px solid trimColor; border-bottom: 1px solid trimColor; vertical-align: middle; height: 20px; } .changeTable a.gwt-InlineHyperlink, .changeTable a.gwt-Anchor { color: #222 !important; } .changeTable .changeSize { height: 10px; display: inline-block; opacity: 0.6; } .accountDashboard.changeTable tr { color: #444444; } .accountDashboard.changeTable tr a { color: #444444; text-decoration: none; } .accountDashboard.changeTable .needsReview, .accountDashboard.changeTable .needsReview a { font-weight: bold; color: textColor; } .changeTable .activeRow, .accountDashboard.changeTable .activeRow, .accountDashboard.changeTable .activeRow a { background: selectionColor !important; } .changeTable .cSIZE { width: 70px; text-align: right; } .changeTable .cSUBJECT div { text-overflow: ellipsis; overflow: hidden; white-space: nowrap; } .changeTable .cOWNER, .changeTable .cSTATUS { white-space: nowrap; } .changeTable .cLastUpdate { white-space: nowrap; text-align: right; width: 1em; } .changeTable .groupName { white-space: nowrap; } .changeTable .cAPPROVAL { width: 0.5em; text-align: center; } .changeTable .dataCell.negscore { color: red; } .changeTable .dataCell.posscore { color: #08a400; } .changeTable .dataCell.singleLine { white-space: nowrap; } .changeTable .dataCell.labelNotApplicable { background: #F5F5F5; } .changeTable .iconHeader { border-top: 1px solid backgroundColor; border-bottom: 1px solid backgroundColor; background-color: trimColor; } .changeTable .dataHeader { border: 1px solid backgroundColor; padding: 2px 6px 1px; background-color: trimColor; font-style: italic; white-space: nowrap; color: textColor; } .changeTable .sectionHeader { border-top: 8px solid backgroundColor; padding: 2px 6px 1px; background-color: trimColor; white-space: nowrap; font-weight: bold; color: textColor; } .changeTable .emptySection { border-left: 1px solid trimColor; border-right: 1px solid trimColor; border-bottom: 1px solid trimColor; font-style: italic; padding-left: 25px; } .changeTablePrevNextLinks { float: right; padding-right: 5px; } .changeTablePrevNextLinks td { width: 5em; text-align: right; } .changeTablePrevNextLinks .gwt-Hyperlink { font-size: 9pt; color: #2a5db0; } /** PatchScreen **/ .patchScreenDisplayControls .gwt-CheckBox { margin-right: 1em; } .reviewedPanelBottom { float: right; font-size: small; } /** PatchContentTable **/ .patchContentTable { width: 100%; border-collapse: separate; border-spacing: 0; background: white; color: black; } .patchContentTable td { padding-top: 0; padding-bottom: 0; font-size: 9pt; font-family: mono-font; } .patchContentTable .iconCell { width: 1px; padding: 0px; vertical-align: middle; } .patchContentTable .diffText { white-space: pre; padding-left: 0.2em; border-left: thin solid #b0bdcc; } .patchContentTable .diffTextForBinaryInSideBySide { width: 50%; } .patchContentTable .diffTextFileHeader { color: grey; font-weight: bold; } .patchContentTable .diffTextNoLF { color: grey; font-weight: bold; } .patchContentTable .diffTextHunkHeader { color: blue; } .patchContentTable .diffTextDELETE { color: #a00000; } .patchContentTable .diffTextCONTEXT { color: grey; } .patchContentTable .diffTextINSERT { color: #006000; } .patchContentTable tr.commentHolder { background: #E5ECF9; } .patchContentTable tr.commentHolder .iconCell { background: white; } .patchContentTable tr.commentHolder .iconCellOfFileCommentRow { background: trimColor; } .patchContentTable td.commentHolder { padding-left: 0; padding-right: 0; border-top: 1px solid black; border-right: 1px solid black; } .patchContentTable td.commentHolderLeftmost { border-left: 1px solid black; } .patchContentTable td.commentHolder.commentPanelLast { border-bottom: 1px solid black; } .patchContentTable .commentPanel { font-family: norm-font; } .patchContentTable .commentPanel td { font-family: norm-font; } .patchContentTable .commentPanelMessage { padding-left: 1px; padding-right: 1px; white-space: normal; } .patchContentTable .commentPanelButtons, .patchContentTable .commentPanel textarea { margin-left: 1px; } .lineNumber { padding-left: 0.2em; white-space: pre; width: 1.5em; text-align: center; padding-right: 0.2em; background: white; border-bottom: 1px solid white; } .lineNumber.rightmost { border-left: thin solid #b0bdcc; } .lineNumber.rightBorder { border-right: thin solid #b0bdcc; } .lineNumber a { color: #888; text-decoration: none; } .patchContentTable td.fileColumnHeader { background: trimColor; font-family: norm-font; font-weight: bold; text-align: center; } .patchContentTable td.fileColumnHeader.unifiedTableHeader { text-align: left; } .lineNumber.fileColumnHeader { border-bottom: 1px solid trimColor; } .noLineLineNumber { font-family: mono-font; width: 3.5em; padding-left: 0.2em; padding-right: 0.2em; background: white; border-bottom: 1px solid white; } .fileLine { padding-left: 0; padding-right: 0; white-space: pre; border-left: thin solid #b0bdcc; } .fileLineNone { background: #eeeeee; border-bottom: 1px solid #eeeeee; } .fileLineMode { font-weight: bold; } .fileLineDELETE, .fileLineDELETE .wdc { background: #ffeeee; border-bottom: 1px solid #ffeeee; } .fileLineCONTEXT { background: white; border-bottom: 1px solid white; } .fileLineINSERT, .fileLineINSERT .wdc { background: #ddffdd; border-bottom: 1px solid #ddffdd; } .patchContentTable .wdd { border-bottom: 1px solid #FAA; } .patchContentTable .wdi { border-bottom: 1px solid #9F9; } .patchContentTable .skipLine .iconCell, .patchContentTable .skipLine { font-family: norm-font; text-align: center; font-style: italic; background: #def; color: grey; } .patchContentTable .skipLine div { display: inline; } .patchContentTable a.skipLine { color: grey; text-decoration: none; } .patchContentTable a:hover.skipLine { background: white; color: #00A; text-decoration: underline; } .patchContentTable td.cellsNextToFileComment { background: trimColor; border-top: trimColor; border-bottom: trimColor; } .patchContentTable .activeRow .iconCell, .patchContentTable .activeRow .lineNumber { background: selectionColor; } .patchContentTable .activeRow .iconCell, .patchContentTable .activeRow .lineNumber, .patchContentTable .activeRow .fileLine, .patchContentTable .activeRow .diffText, .patchContentTable .activeRow td.commentHolder, .patchContentTable .activeRow .wdc, .patchContentTable .activeRow .wdd, .patchContentTable .activeRow .wdi, .patchContentTable .activeRow .iconCellOfFileCommentRow, .patchContentTable .activeRow td.commentHolder.commentPanelLast { border-bottom: 1px solid blue; } .patchContentTable .fileCommentBorder .iconCellOfFileCommentRow, .patchContentTable .fileCommentBorder .lineNumber, .patchContentTable .fileCommentBorder .diffText { height: 20px; background: trimColor; border-bottom: 1px solid trimColor; } /** Change **/ .changeScreenStarIcon { margin-right: 5px; } .changeScreen .gwt-DisclosurePanel .header td { font-weight: bold; white-space: nowrap; } .changeScreen .gwt-DisclosurePanel .complexHeader { white-space: nowrap; } .changeScreen .gwt-DisclosurePanel .complexHeader span { white-space: nowrap; } .patchSetRevision { padding-left: 20px; font-size: 8pt; } .patchSetLink { padding-left: 0.5em; font-size: 8pt; } .changeScreen .gwt-DisclosurePanel .content { margin-bottom: 10px; } .gwt-DisclosurePanel .content { margin-left: 10px; } .changeScreenDescription, .changeScreenDescription textarea { white-space: pre; font-family: mono-font; font-size: 9pt; } .changeScreenDescription p { margin-top: 0px; padding-top: 0.5em; } .changeComments { padding-top: 1em; width: 60em; } .infoTable { border-collapse: collapse; border-spacing: 0; } .infoTable td { border-left: 1px solid trimColor; border-bottom: 1px solid trimColor; padding: 2px 6px 1px; } .infoTable td.header { background-color: trimColor; font-weight: normal; padding: 2px 4px 0 6px; font-style: italic; text-align: left; vertical-align: top; white-space: nowrap; } .rightmost { border-right: 1px solid trimColor; } .sideBySideTableBinaryHeader { border-left: thin solid #b0bdcc; width: 100%; color: grey; font-weight: bold; } .infoTable td.approvalrole { width: 5em; border-left: none; font-style: italic; white-space: nowrap; } .infoTable td.approvalscore { text-align: center; } .infoTable td.notVotable { background: #F5F5F5; } .infoTable td.negscore { color: red; } .infoTable td.posscore { color: #08a400; } .infoTable td.approvalhint { white-space: nowrap; text-align: left; color: #444444; } .changeInfoBlock { margin-right: 15px; } .changeInfoTopicPanel img { float: right; } .changeInfoTopicPanel a { float: left; } .avatarInfoPanel { margin-right: 10px; } .avatarInfoPanel td { text-align: center; } .infoBlock { border-collapse: collapse; border-spacing: 0; } .infoBlock td { padding: 2px 4px 2px 6px; border-right: 1px solid trimColor; border-bottom: 1px solid trimColor; text-align: left; white-space: nowrap; } .infoBlock td td { padding-left: 0px; border-right: 0px; } .infoBlock td.topmost { border-top: 1px solid trimColor; } .infoBlock td.header { background-color: trimColor; font-style: italic; text-align: right; } .infoBlock td.noborder { border-right: none; } .infoBlock td.bottomheader { border-bottom: 1px solid trimColor; } .infoBlock td.closedstate { font-weight: bold; } .infoBlock td.useridentity { white-space: nowrap; } .changeInfoBlock td.changeid { font-size: x-small; } .patchSetInfoBlock { margin-bottom: 10px; } .patchSetUserIdentity { white-space: nowrap; } .patchSetUserIdentity .gwt-InlineLabel { margin-left: 0.2em; } .patchSetActions { margin-bottom: 10px; } .patchSetActions .gwt-Button { margin-right: 30px; font-size: 8pt; } .selectPatchSetOldVersion { font-weight: bold; margin-right: 30px; margin-top: 5px; } .approvalTable { margin-top: 1em; margin-bottom: 1em; } .missingApprovalList { margin-top: 5px; margin-left: 1em; padding-left: 1em; margin-bottom: 0px; } .missingApproval { font-size: small; white-space: nowrap; } .addReviewer { margin-left: 1em; margin-top: 5px; white-space: nowrap; } .removeReviewer { padding: 0px; } td.removeReviewerCell { padding-left: 4em; border-left: none; } .downloadBox { min-width: 580px; margin: 5px; } .downloadBoxTable { border-spacing: 0; width: 100%; } .downloadBoxTableCommandColumn { text-align: left; font-weight: normal; white-space: nowrap; max-height: 18px; width: 80px; padding-right: 5px; } .downloadBoxSpacer { margin-left: 5px; margin-right: 5px; } .downloadBoxScheme { float: right; } .downloadBoxCopyLabel { font-size: smaller; font-family: monospace; } .downloadBoxCopyLabel span { width: 500px; white-space: nowrap; display: inline-block; overflow: hidden; text-overflow: ellipsis; } .downloadBoxCopyLabel .gwt-TextBox { padding: 0; margin: 0; border: 0; max-height: 18px; width: 500px; } .downloadBoxCopyLabel div { float: right; } td.downloadLinkListCell { padding: 0px; } .downloadLinkHeader { background: trimColor; white-space: nowrap; border-bottom: 1px solid black; } .downloadLinkHeaderGap { margin-left: 5em; } .downloadLinkList { display: inline; white-space: nowrap; } .downloadLink { color: black; text-decoration: none; white-space: nowrap; background: trimColor; border-right: 1px solid black; padding-left: 0.5em; padding-right: 0.5em; } a:hover.downloadLink { color: black; } .downloadLink_Active { background: selectionColor; } .downloadLinkCopyLabel { white-space: pre; font-family: mono-font; font-size: 12px; margin-left: 0.5em; margin-right: 0.5em; } .downloadLinkCopyLabel .gwt-TextBox { width: 30em; } .parentsTable { border-style: none; border: 1px 1px 1px 0px; outline: 0px; padding: 0px; border-spacing: 0px; text-align: left; font-family: mono-font; font-size: 10px; } .parentsTable td.noborder { border: none; } .parentsTable td.monospace { font-family: mono-font; font-size: 10px; margin: 0px; padding-left: 0px; } /** UnifiedScreen **/ .unifiedTable { width: 100%; border: 1px solid #B0BDCC; display: table; } /** SideBySideScreen **/ .sideBySideScreenSideBySideTable { width: 100%; border: 1px solid #B0BDCC; display: table; } .sideBySideScreenSideBySideTable .fileLine { width: 50%; } .sideBySideScreenLinkTable { width: 100%; } .sideBySideScreenLinkTable td { width: 33%; } .patchNoDifference { margin-top: 1em; margin-bottom: 2em; margin-left: 1em; margin-right: 5em; font-weight: bold; font-size: medium; font-family: norm-font; } /** Patch History Table **/ .patchHistoryTable { width: auto; margin-bottom: 10px; } .patchHistoryTable .dataCell { white-space: nowrap; } .patchHistoryTablePatchSetHeader { text-align: right; } /** AccountSettings **/ .usernameField { white-space: nowrap; } .accountUsername { font-family: mono-font; font-size: small; } .accountPassword { font-family: mono-font; font-size: small; } .sshKeyPanelEncodedKey { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; font-family: mono-font; font-size: small; } .sshKeyPanelInvalid { white-space: nowrap; color: red; font-weight: bold; } .identityUntrustedExternalId { white-space: nowrap; color: red; font-weight: bold; } .accountInfoBlock { margin-bottom: 10px; } .accountInfoBlock .gwt-Button { margin-left: 10px; } .accountContactPrivacyDetails { margin-left: 10px; margin-top: 5px; margin-bottom: 5px; width: 40em; } .accountContactOnFile { margin-left: 10px; margin-top: 5px; margin-bottom: 5px; font-weight: bold; } .addWatchPanel { margin-top: 10px; padding: 5px 5px 5px 5px; } .watchedProjectFilter { margin-left: 1em; color: grey; } .addBranch { margin-top: 10px; background-color: trimColor; padding: 5px 5px 5px 5px; } .addSshKeyPanel { margin-top: 10px; background-color: trimColor; padding: 5px 5px 5px 5px; } .addSshKeyPanel ol { margin-top: 0px; margin-bottom: 5px; } .addSshKeyPanel td { width: 100%; } .createGroupLink { margin-bottom: 10px; } .createProjectPanel { margin-bottom: 10px; background-color: trimColor; padding: 5px 5px 5px 5px; } .sshHostKeyPanel { margin-top: 10px; border: 1px solid trimColor; padding: 5px 5px 5px 5px; } .sshHostKeyPanelHeading { white-space: nowrap; margin-top: 5px; margin-left: 1em; } .sshHostKeyPanelFingerprintData { margin-left: 2em; white-space: nowrap; font-family: mono-font; font-size: small; } .sshHostKeyPanelKnownHostEntry { margin-left: 2em; white-space: nowrap; font-family: mono-font; font-size: small; width: 80em; } .contributorAgreementButton { font-weight: bold; } .contributorAgreementShortDescription { margin-left: 20px; margin-right: 20px; margin-bottom: 10px; padding: 5px 5px 5px 5px; border: 1px solid #b0bdcc; } .contributorAgreementAlreadySubmitted { margin-left: 20px; margin-right: 20px; padding: 5px 5px 5px 5px; color: red; } .contributorAgreementLegal { margin-left: 20px; margin-right: 20px; padding: 5px 5px 5px 5px; border: 1px solid #b0bdcc; } .registerScreenSection { margin-top: 2em; } .registerScreenExplain { margin-left: 10px; margin-top: 5px; margin-bottom: 5px; width: 45em; } .registerScreenNextLinks { margin-top: 2em; } .registerScreenNextLinks .gwt-InlineHyperlink { margin-left: 2em; white-space: nowrap; } .registerScreenSection .changeTable { width: 45em; } .registerScreenSection .addSshKeyPanel { background: none; } .registerScreenSection .sshHostKeyPanel { border: none; } .registerScreenSection .sshHostKeyPanel .sshHostKeyPanelKnownHostEntry { width: 45em; } .projectAdminLabelRangeLine { white-space: nowrap; } .projectAdminLabelValue { font-family: mono-font; font-size: small; } .projectActions { margin-bottom: 10px; } /** PublishCommentsScreen **/ .publishCommentsScreen .smallHeading { font-size: small; font-weight: bold; white-space: nowrap; } .publishCommentsScreen .labelList { margin-bottom: 10px; margin-left: 10px; background: trimColor; width: 25em; white-space: nowrap; padding-top: 2px; padding-bottom: 2px; } .publishCommentsScreen .coverMessage { margin-left: 10px; padding: 5px 5px 5px 5px; } .publishCommentsScreen .coverMessage textarea { font-size: small; } .publishCommentsScreen .labelList .gwt-RadioButton { font-size: smaller; } .publishCommentsScreen .patchComments { margin-left: 1em; margin-right: 0.5em; margin-bottom: 0.5em; } .publishCommentsScreen .gwt-Hyperlink { white-space: nowrap; font-size: small; } .publishCommentsScreen .lineHeader { white-space: nowrap; font-family: mono-font; font-size: small; font-style: italic; padding-left: 3px; } .publishCommentsScreen .commentPanel { border: none; width: 35em; } .publishCommentsScreen .commentPanelDateCell { display: none; } /** CommentedActionDialog **/ .commentedActionDialog .gwt-DisclosurePanel .header td { font-weight: bold; white-space: nowrap; } .commentedActionDialog .smallHeading { font-size: small; font-weight: bold; white-space: nowrap; } .commentedActionDialog .commentedActionMessage { margin-left: 10px; background: trimColor; padding: 5px 5px 5px 5px; } .commentedActionDialog .commentedActionMessage textarea { font-size: small; } .commentedActionDialog .gwt-Hyperlink { white-space: nowrap; font-size: small; } /** PatchBrowserPopup **/ .patchBrowserPopup { opacity: 0.90; } .patchBrowserPopupBody { background: backgroundColor; margin: 4px; opacity: 0.90; } /** AccountGroupInfoScreen **/ .groupUUIDPanel { margin-bottom: 10px; } .groupDescriptionPanel { margin-bottom: 3px; } .groupExternalNameFilterTextBox { margin-right: 2px; margin-bottom: 2px; } .groupNamePanel { margin-bottom: 3px; } .groupNameTextBox { margin-bottom: 2px; } .groupOptionsPanel { margin-bottom: 5px; } .groupOwnerPanel { margin-bottom: 3px; } .groupOwnerTextBox { margin-bottom: 2px; } .groupTypeSelectListBox { margin-bottom: 2px; } /** AccountGroupMembersScreen **/ .groupMembersTable { margin-bottom: 2px; } .groupIncludesTable { margin-bottom: 2px; } /** AddMemberBox **/ .addMemberTextBox { margin-right: 2px; margin-bottom: 2px; } /** ProjectBranchesScreen **/ .specialBranchIconCell { background: #ECECEC; border-bottom: 1px solid #FFFFFF; border-top: 1px solid #FFFFFF; } .specialBranchDataCell { background: #ECECEC; border: 1px solid white; font-style: italic; padding: 2px 6px 1px; } .editHeadButton { float: right; cursor: pointer; } /** PluginListScreen **/ .pluginsTable { } /** ProjectListScreen **/ .projectFilterPanel { margin-bottom: 10px; } .projectFilterPanel input { width: 200px; } .projectFilterLabel { margin-right: 5px; } .projectNameColumn { min-width: 300px; } /** ProjectSettings */ .maxObjectSizeLimitEffectiveLabel { padding-top: 5px; padding-left: 5px; } .pluginProjectConfigInheritedValue { padding-top: 5px; padding-left: 5px; }
prova/doc/base-4.9.0.0/src/Text-ParserCombinators-ReadPrec.html
ericAndrade/ericandrade.github.io
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <!-- Generated by HsColour, http://code.haskell.org/~malcolm/hscolour/ --> <title>Text/ParserCombinators/ReadPrec.hs</title> <link type='text/css' rel='stylesheet' href='hscolour.css' /> </head> <body> <pre><a name="line-1"></a><span class='hs-comment'>{-# LANGUAGE Trustworthy #-}</span> <a name="line-2"></a><span class='hs-comment'>{-# LANGUAGE NoImplicitPrelude #-}</span> <a name="line-3"></a> <a name="line-4"></a><span class='hs-comment'>-----------------------------------------------------------------------------</span> <a name="line-5"></a><span class='hs-comment'>-- |</span> <a name="line-6"></a><span class='hs-comment'>-- Module : Text.ParserCombinators.ReadPrec</span> <a name="line-7"></a><span class='hs-comment'>-- Copyright : (c) The University of Glasgow 2002</span> <a name="line-8"></a><span class='hs-comment'>-- License : BSD-style (see the file libraries/base/LICENSE)</span> <a name="line-9"></a><span class='hs-comment'>--</span> <a name="line-10"></a><span class='hs-comment'>-- Maintainer : libraries@haskell.org</span> <a name="line-11"></a><span class='hs-comment'>-- Stability : provisional</span> <a name="line-12"></a><span class='hs-comment'>-- Portability : non-portable (uses Text.ParserCombinators.ReadP)</span> <a name="line-13"></a><span class='hs-comment'>--</span> <a name="line-14"></a><span class='hs-comment'>-- This library defines parser combinators for precedence parsing.</span> <a name="line-15"></a> <a name="line-16"></a><span class='hs-comment'>-----------------------------------------------------------------------------</span> <a name="line-17"></a> <a name="line-18"></a><span class='hs-keyword'>module</span> <span class='hs-conid'>Text</span><span class='hs-varop'>.</span><span class='hs-conid'>ParserCombinators</span><span class='hs-varop'>.</span><span class='hs-conid'>ReadPrec</span> <a name="line-19"></a> <span class='hs-layout'>(</span> <a name="line-20"></a> <span class='hs-conid'>ReadPrec</span><span class='hs-layout'>,</span> <a name="line-21"></a> <a name="line-22"></a> <span class='hs-comment'>-- * Precedences</span> <a name="line-23"></a> <span class='hs-conid'>Prec</span><span class='hs-layout'>,</span> <a name="line-24"></a> <span class='hs-varid'>minPrec</span><span class='hs-layout'>,</span> <a name="line-25"></a> <a name="line-26"></a> <span class='hs-comment'>-- * Precedence operations</span> <a name="line-27"></a> <span class='hs-varid'>lift</span><span class='hs-layout'>,</span> <a name="line-28"></a> <span class='hs-varid'>prec</span><span class='hs-layout'>,</span> <a name="line-29"></a> <span class='hs-varid'>step</span><span class='hs-layout'>,</span> <a name="line-30"></a> <span class='hs-varid'>reset</span><span class='hs-layout'>,</span> <a name="line-31"></a> <a name="line-32"></a> <span class='hs-comment'>-- * Other operations</span> <a name="line-33"></a> <span class='hs-comment'>-- | All are based directly on their similarly-named 'ReadP' counterparts.</span> <a name="line-34"></a> <span class='hs-varid'>get</span><span class='hs-layout'>,</span> <a name="line-35"></a> <span class='hs-varid'>look</span><span class='hs-layout'>,</span> <a name="line-36"></a> <span class='hs-layout'>(</span><span class='hs-varop'>+++</span><span class='hs-layout'>)</span><span class='hs-layout'>,</span> <a name="line-37"></a> <span class='hs-layout'>(</span><span class='hs-varop'>&lt;++</span><span class='hs-layout'>)</span><span class='hs-layout'>,</span> <a name="line-38"></a> <span class='hs-varid'>pfail</span><span class='hs-layout'>,</span> <a name="line-39"></a> <span class='hs-varid'>choice</span><span class='hs-layout'>,</span> <a name="line-40"></a> <a name="line-41"></a> <span class='hs-comment'>-- * Converters</span> <a name="line-42"></a> <span class='hs-varid'>readPrec_to_P</span><span class='hs-layout'>,</span> <a name="line-43"></a> <span class='hs-varid'>readP_to_Prec</span><span class='hs-layout'>,</span> <a name="line-44"></a> <span class='hs-varid'>readPrec_to_S</span><span class='hs-layout'>,</span> <a name="line-45"></a> <span class='hs-varid'>readS_to_Prec</span><span class='hs-layout'>,</span> <a name="line-46"></a> <span class='hs-layout'>)</span> <a name="line-47"></a> <span class='hs-keyword'>where</span> <a name="line-48"></a> <a name="line-49"></a> <a name="line-50"></a><span class='hs-keyword'>import</span> <span class='hs-conid'>Text</span><span class='hs-varop'>.</span><span class='hs-conid'>ParserCombinators</span><span class='hs-varop'>.</span><span class='hs-conid'>ReadP</span> <a name="line-51"></a> <span class='hs-layout'>(</span> <span class='hs-conid'>ReadP</span> <a name="line-52"></a> <span class='hs-layout'>,</span> <span class='hs-conid'>ReadS</span> <a name="line-53"></a> <span class='hs-layout'>,</span> <span class='hs-varid'>readP_to_S</span> <a name="line-54"></a> <span class='hs-layout'>,</span> <span class='hs-varid'>readS_to_P</span> <a name="line-55"></a> <span class='hs-layout'>)</span> <a name="line-56"></a> <a name="line-57"></a><span class='hs-keyword'>import</span> <span class='hs-keyword'>qualified</span> <span class='hs-conid'>Text</span><span class='hs-varop'>.</span><span class='hs-conid'>ParserCombinators</span><span class='hs-varop'>.</span><span class='hs-conid'>ReadP</span> <span class='hs-keyword'>as</span> <span class='hs-conid'>ReadP</span> <a name="line-58"></a> <span class='hs-layout'>(</span> <span class='hs-varid'>get</span> <a name="line-59"></a> <span class='hs-layout'>,</span> <span class='hs-varid'>look</span> <a name="line-60"></a> <span class='hs-layout'>,</span> <span class='hs-layout'>(</span><span class='hs-varop'>+++</span><span class='hs-layout'>)</span><span class='hs-layout'>,</span> <span class='hs-layout'>(</span><span class='hs-varop'>&lt;++</span><span class='hs-layout'>)</span> <a name="line-61"></a> <span class='hs-layout'>,</span> <span class='hs-varid'>pfail</span> <a name="line-62"></a> <span class='hs-layout'>)</span> <a name="line-63"></a> <a name="line-64"></a><span class='hs-keyword'>import</span> <span class='hs-conid'>GHC</span><span class='hs-varop'>.</span><span class='hs-conid'>Num</span><span class='hs-layout'>(</span> <span class='hs-conid'>Num</span><span class='hs-layout'>(</span><span class='hs-keyglyph'>..</span><span class='hs-layout'>)</span> <span class='hs-layout'>)</span> <a name="line-65"></a><span class='hs-keyword'>import</span> <span class='hs-conid'>GHC</span><span class='hs-varop'>.</span><span class='hs-conid'>Base</span> <a name="line-66"></a> <a name="line-67"></a><span class='hs-keyword'>import</span> <span class='hs-keyword'>qualified</span> <span class='hs-conid'>Control</span><span class='hs-varop'>.</span><span class='hs-conid'>Monad</span><span class='hs-varop'>.</span><span class='hs-conid'>Fail</span> <span class='hs-keyword'>as</span> <span class='hs-conid'>MonadFail</span> <a name="line-68"></a> <a name="line-69"></a><span class='hs-comment'>-- ---------------------------------------------------------------------------</span> <a name="line-70"></a><span class='hs-comment'>-- The readPrec type</span> <a name="line-71"></a> <a name="line-72"></a><a name="ReadPrec"></a><span class='hs-keyword'>newtype</span> <span class='hs-conid'>ReadPrec</span> <span class='hs-varid'>a</span> <span class='hs-keyglyph'>=</span> <span class='hs-conid'>P</span> <span class='hs-layout'>(</span><span class='hs-conid'>Prec</span> <span class='hs-keyglyph'>-&gt;</span> <span class='hs-conid'>ReadP</span> <span class='hs-varid'>a</span><span class='hs-layout'>)</span> <a name="line-73"></a> <a name="line-74"></a><span class='hs-comment'>-- Functor, Monad, MonadPlus</span> <a name="line-75"></a> <a name="line-76"></a><a name="instance%20Functor%20ReadPrec"></a><span class='hs-keyword'>instance</span> <span class='hs-conid'>Functor</span> <span class='hs-conid'>ReadPrec</span> <span class='hs-keyword'>where</span> <a name="line-77"></a> <span class='hs-varid'>fmap</span> <span class='hs-varid'>h</span> <span class='hs-layout'>(</span><span class='hs-conid'>P</span> <span class='hs-varid'>f</span><span class='hs-layout'>)</span> <span class='hs-keyglyph'>=</span> <span class='hs-conid'>P</span> <span class='hs-layout'>(</span><span class='hs-keyglyph'>\</span><span class='hs-varid'>n</span> <span class='hs-keyglyph'>-&gt;</span> <span class='hs-varid'>fmap</span> <span class='hs-varid'>h</span> <span class='hs-layout'>(</span><span class='hs-varid'>f</span> <span class='hs-varid'>n</span><span class='hs-layout'>)</span><span class='hs-layout'>)</span> <a name="line-78"></a> <a name="line-79"></a><a name="instance%20Applicative%20ReadPrec"></a><span class='hs-keyword'>instance</span> <span class='hs-conid'>Applicative</span> <span class='hs-conid'>ReadPrec</span> <span class='hs-keyword'>where</span> <a name="line-80"></a> <span class='hs-varid'>pure</span> <span class='hs-varid'>x</span> <span class='hs-keyglyph'>=</span> <span class='hs-conid'>P</span> <span class='hs-layout'>(</span><span class='hs-keyglyph'>\</span><span class='hs-keyword'>_</span> <span class='hs-keyglyph'>-&gt;</span> <span class='hs-varid'>pure</span> <span class='hs-varid'>x</span><span class='hs-layout'>)</span> <a name="line-81"></a> <span class='hs-layout'>(</span><span class='hs-varop'>&lt;*&gt;</span><span class='hs-layout'>)</span> <span class='hs-keyglyph'>=</span> <span class='hs-varid'>ap</span> <a name="line-82"></a> <a name="line-83"></a><a name="instance%20Monad%20ReadPrec"></a><span class='hs-keyword'>instance</span> <span class='hs-conid'>Monad</span> <span class='hs-conid'>ReadPrec</span> <span class='hs-keyword'>where</span> <a name="line-84"></a> <span class='hs-varid'>fail</span> <span class='hs-varid'>s</span> <span class='hs-keyglyph'>=</span> <span class='hs-conid'>P</span> <span class='hs-layout'>(</span><span class='hs-keyglyph'>\</span><span class='hs-keyword'>_</span> <span class='hs-keyglyph'>-&gt;</span> <span class='hs-varid'>fail</span> <span class='hs-varid'>s</span><span class='hs-layout'>)</span> <a name="line-85"></a> <span class='hs-conid'>P</span> <span class='hs-varid'>f</span> <span class='hs-varop'>&gt;&gt;=</span> <span class='hs-varid'>k</span> <span class='hs-keyglyph'>=</span> <span class='hs-conid'>P</span> <span class='hs-layout'>(</span><span class='hs-keyglyph'>\</span><span class='hs-varid'>n</span> <span class='hs-keyglyph'>-&gt;</span> <span class='hs-keyword'>do</span> <span class='hs-varid'>a</span> <span class='hs-keyglyph'>&lt;-</span> <span class='hs-varid'>f</span> <span class='hs-varid'>n</span><span class='hs-layout'>;</span> <span class='hs-keyword'>let</span> <span class='hs-conid'>P</span> <span class='hs-varid'>f'</span> <span class='hs-keyglyph'>=</span> <span class='hs-varid'>k</span> <span class='hs-varid'>a</span> <span class='hs-keyword'>in</span> <span class='hs-varid'>f'</span> <span class='hs-varid'>n</span><span class='hs-layout'>)</span> <a name="line-86"></a> <a name="line-87"></a><a name="instance%20MonadFail.MonadFail%20ReadPrec"></a><span class='hs-keyword'>instance</span> <span class='hs-conid'>MonadFail</span><span class='hs-varop'>.</span><span class='hs-conid'>MonadFail</span> <span class='hs-conid'>ReadPrec</span> <span class='hs-keyword'>where</span> <a name="line-88"></a> <span class='hs-varid'>fail</span> <span class='hs-varid'>s</span> <span class='hs-keyglyph'>=</span> <span class='hs-conid'>P</span> <span class='hs-layout'>(</span><span class='hs-keyglyph'>\</span><span class='hs-keyword'>_</span> <span class='hs-keyglyph'>-&gt;</span> <span class='hs-varid'>fail</span> <span class='hs-varid'>s</span><span class='hs-layout'>)</span> <a name="line-89"></a> <a name="line-90"></a><a name="instance%20MonadPlus%20ReadPrec"></a><span class='hs-keyword'>instance</span> <span class='hs-conid'>MonadPlus</span> <span class='hs-conid'>ReadPrec</span> <span class='hs-keyword'>where</span> <a name="line-91"></a> <span class='hs-varid'>mzero</span> <span class='hs-keyglyph'>=</span> <span class='hs-varid'>pfail</span> <a name="line-92"></a> <span class='hs-varid'>mplus</span> <span class='hs-keyglyph'>=</span> <span class='hs-layout'>(</span><span class='hs-varop'>+++</span><span class='hs-layout'>)</span> <a name="line-93"></a> <a name="line-94"></a><a name="instance%20Alternative%20ReadPrec"></a><span class='hs-keyword'>instance</span> <span class='hs-conid'>Alternative</span> <span class='hs-conid'>ReadPrec</span> <span class='hs-keyword'>where</span> <a name="line-95"></a> <span class='hs-varid'>empty</span> <span class='hs-keyglyph'>=</span> <span class='hs-varid'>mzero</span> <a name="line-96"></a> <span class='hs-layout'>(</span><span class='hs-varop'>&lt;|&gt;</span><span class='hs-layout'>)</span> <span class='hs-keyglyph'>=</span> <span class='hs-varid'>mplus</span> <a name="line-97"></a> <a name="line-98"></a><a name="Prec"></a><span class='hs-comment'>-- precedences</span> <a name="line-99"></a><a name="Prec"></a><span class='hs-keyword'>type</span> <span class='hs-conid'>Prec</span> <span class='hs-keyglyph'>=</span> <span class='hs-conid'>Int</span> <a name="line-100"></a> <a name="line-101"></a><a name="minPrec"></a><span class='hs-definition'>minPrec</span> <span class='hs-keyglyph'>::</span> <span class='hs-conid'>Prec</span> <a name="line-102"></a><span class='hs-definition'>minPrec</span> <span class='hs-keyglyph'>=</span> <span class='hs-num'>0</span> <a name="line-103"></a> <a name="line-104"></a><span class='hs-comment'>-- ---------------------------------------------------------------------------</span> <a name="line-105"></a><span class='hs-comment'>-- Operations over ReadPrec</span> <a name="line-106"></a> <a name="line-107"></a><a name="lift"></a><span class='hs-definition'>lift</span> <span class='hs-keyglyph'>::</span> <span class='hs-conid'>ReadP</span> <span class='hs-varid'>a</span> <span class='hs-keyglyph'>-&gt;</span> <span class='hs-conid'>ReadPrec</span> <span class='hs-varid'>a</span> <a name="line-108"></a><span class='hs-comment'>-- ^ Lift a precedence-insensitive 'ReadP' to a 'ReadPrec'.</span> <a name="line-109"></a><span class='hs-definition'>lift</span> <span class='hs-varid'>m</span> <span class='hs-keyglyph'>=</span> <span class='hs-conid'>P</span> <span class='hs-layout'>(</span><span class='hs-keyglyph'>\</span><span class='hs-keyword'>_</span> <span class='hs-keyglyph'>-&gt;</span> <span class='hs-varid'>m</span><span class='hs-layout'>)</span> <a name="line-110"></a> <a name="line-111"></a><a name="step"></a><span class='hs-definition'>step</span> <span class='hs-keyglyph'>::</span> <span class='hs-conid'>ReadPrec</span> <span class='hs-varid'>a</span> <span class='hs-keyglyph'>-&gt;</span> <span class='hs-conid'>ReadPrec</span> <span class='hs-varid'>a</span> <a name="line-112"></a><span class='hs-comment'>-- ^ Increases the precedence context by one.</span> <a name="line-113"></a><span class='hs-definition'>step</span> <span class='hs-layout'>(</span><span class='hs-conid'>P</span> <span class='hs-varid'>f</span><span class='hs-layout'>)</span> <span class='hs-keyglyph'>=</span> <span class='hs-conid'>P</span> <span class='hs-layout'>(</span><span class='hs-keyglyph'>\</span><span class='hs-varid'>n</span> <span class='hs-keyglyph'>-&gt;</span> <span class='hs-varid'>f</span> <span class='hs-layout'>(</span><span class='hs-varid'>n</span><span class='hs-varop'>+</span><span class='hs-num'>1</span><span class='hs-layout'>)</span><span class='hs-layout'>)</span> <a name="line-114"></a> <a name="line-115"></a><a name="reset"></a><span class='hs-definition'>reset</span> <span class='hs-keyglyph'>::</span> <span class='hs-conid'>ReadPrec</span> <span class='hs-varid'>a</span> <span class='hs-keyglyph'>-&gt;</span> <span class='hs-conid'>ReadPrec</span> <span class='hs-varid'>a</span> <a name="line-116"></a><span class='hs-comment'>-- ^ Resets the precedence context to zero.</span> <a name="line-117"></a><span class='hs-definition'>reset</span> <span class='hs-layout'>(</span><span class='hs-conid'>P</span> <span class='hs-varid'>f</span><span class='hs-layout'>)</span> <span class='hs-keyglyph'>=</span> <span class='hs-conid'>P</span> <span class='hs-layout'>(</span><span class='hs-keyglyph'>\</span><span class='hs-keyword'>_</span> <span class='hs-keyglyph'>-&gt;</span> <span class='hs-varid'>f</span> <span class='hs-varid'>minPrec</span><span class='hs-layout'>)</span> <a name="line-118"></a> <a name="line-119"></a><a name="prec"></a><span class='hs-definition'>prec</span> <span class='hs-keyglyph'>::</span> <span class='hs-conid'>Prec</span> <span class='hs-keyglyph'>-&gt;</span> <span class='hs-conid'>ReadPrec</span> <span class='hs-varid'>a</span> <span class='hs-keyglyph'>-&gt;</span> <span class='hs-conid'>ReadPrec</span> <span class='hs-varid'>a</span> <a name="line-120"></a><span class='hs-comment'>-- ^ @(prec n p)@ checks whether the precedence context is</span> <a name="line-121"></a><span class='hs-comment'>-- less than or equal to @n@, and</span> <a name="line-122"></a><span class='hs-comment'>--</span> <a name="line-123"></a><span class='hs-comment'>-- * if not, fails</span> <a name="line-124"></a><span class='hs-comment'>--</span> <a name="line-125"></a><span class='hs-comment'>-- * if so, parses @p@ in context @n@.</span> <a name="line-126"></a><span class='hs-definition'>prec</span> <span class='hs-varid'>n</span> <span class='hs-layout'>(</span><span class='hs-conid'>P</span> <span class='hs-varid'>f</span><span class='hs-layout'>)</span> <span class='hs-keyglyph'>=</span> <span class='hs-conid'>P</span> <span class='hs-layout'>(</span><span class='hs-keyglyph'>\</span><span class='hs-varid'>c</span> <span class='hs-keyglyph'>-&gt;</span> <span class='hs-keyword'>if</span> <span class='hs-varid'>c</span> <span class='hs-varop'>&lt;=</span> <span class='hs-varid'>n</span> <span class='hs-keyword'>then</span> <span class='hs-varid'>f</span> <span class='hs-varid'>n</span> <span class='hs-keyword'>else</span> <span class='hs-conid'>ReadP</span><span class='hs-varop'>.</span><span class='hs-varid'>pfail</span><span class='hs-layout'>)</span> <a name="line-127"></a> <a name="line-128"></a><span class='hs-comment'>-- ---------------------------------------------------------------------------</span> <a name="line-129"></a><span class='hs-comment'>-- Derived operations</span> <a name="line-130"></a> <a name="line-131"></a><a name="get"></a><span class='hs-definition'>get</span> <span class='hs-keyglyph'>::</span> <span class='hs-conid'>ReadPrec</span> <span class='hs-conid'>Char</span> <a name="line-132"></a><span class='hs-comment'>-- ^ Consumes and returns the next character.</span> <a name="line-133"></a><span class='hs-comment'>-- Fails if there is no input left.</span> <a name="line-134"></a><span class='hs-definition'>get</span> <span class='hs-keyglyph'>=</span> <span class='hs-varid'>lift</span> <span class='hs-conid'>ReadP</span><span class='hs-varop'>.</span><span class='hs-varid'>get</span> <a name="line-135"></a> <a name="line-136"></a><a name="look"></a><span class='hs-definition'>look</span> <span class='hs-keyglyph'>::</span> <span class='hs-conid'>ReadPrec</span> <span class='hs-conid'>String</span> <a name="line-137"></a><span class='hs-comment'>-- ^ Look-ahead: returns the part of the input that is left, without</span> <a name="line-138"></a><span class='hs-comment'>-- consuming it.</span> <a name="line-139"></a><span class='hs-definition'>look</span> <span class='hs-keyglyph'>=</span> <span class='hs-varid'>lift</span> <span class='hs-conid'>ReadP</span><span class='hs-varop'>.</span><span class='hs-varid'>look</span> <a name="line-140"></a> <a name="line-141"></a><a name="+++"></a><span class='hs-layout'>(</span><span class='hs-varop'>+++</span><span class='hs-layout'>)</span> <span class='hs-keyglyph'>::</span> <span class='hs-conid'>ReadPrec</span> <span class='hs-varid'>a</span> <span class='hs-keyglyph'>-&gt;</span> <span class='hs-conid'>ReadPrec</span> <span class='hs-varid'>a</span> <span class='hs-keyglyph'>-&gt;</span> <span class='hs-conid'>ReadPrec</span> <span class='hs-varid'>a</span> <a name="line-142"></a><span class='hs-comment'>-- ^ Symmetric choice.</span> <a name="line-143"></a><span class='hs-conid'>P</span> <span class='hs-varid'>f1</span> <span class='hs-varop'>+++</span> <span class='hs-conid'>P</span> <span class='hs-varid'>f2</span> <span class='hs-keyglyph'>=</span> <span class='hs-conid'>P</span> <span class='hs-layout'>(</span><span class='hs-keyglyph'>\</span><span class='hs-varid'>n</span> <span class='hs-keyglyph'>-&gt;</span> <span class='hs-varid'>f1</span> <span class='hs-varid'>n</span> <span class='hs-conid'>ReadP</span><span class='hs-varop'>.+++</span> <span class='hs-varid'>f2</span> <span class='hs-varid'>n</span><span class='hs-layout'>)</span> <a name="line-144"></a> <a name="line-145"></a><a name="%3c++"></a><span class='hs-layout'>(</span><span class='hs-varop'>&lt;++</span><span class='hs-layout'>)</span> <span class='hs-keyglyph'>::</span> <span class='hs-conid'>ReadPrec</span> <span class='hs-varid'>a</span> <span class='hs-keyglyph'>-&gt;</span> <span class='hs-conid'>ReadPrec</span> <span class='hs-varid'>a</span> <span class='hs-keyglyph'>-&gt;</span> <span class='hs-conid'>ReadPrec</span> <span class='hs-varid'>a</span> <a name="line-146"></a><span class='hs-comment'>-- ^ Local, exclusive, left-biased choice: If left parser</span> <a name="line-147"></a><span class='hs-comment'>-- locally produces any result at all, then right parser is</span> <a name="line-148"></a><span class='hs-comment'>-- not used.</span> <a name="line-149"></a><span class='hs-conid'>P</span> <span class='hs-varid'>f1</span> <span class='hs-varop'>&lt;++</span> <span class='hs-conid'>P</span> <span class='hs-varid'>f2</span> <span class='hs-keyglyph'>=</span> <span class='hs-conid'>P</span> <span class='hs-layout'>(</span><span class='hs-keyglyph'>\</span><span class='hs-varid'>n</span> <span class='hs-keyglyph'>-&gt;</span> <span class='hs-varid'>f1</span> <span class='hs-varid'>n</span> <span class='hs-conid'>ReadP</span><span class='hs-varop'>.&lt;++</span> <span class='hs-varid'>f2</span> <span class='hs-varid'>n</span><span class='hs-layout'>)</span> <a name="line-150"></a> <a name="line-151"></a><a name="pfail"></a><span class='hs-definition'>pfail</span> <span class='hs-keyglyph'>::</span> <span class='hs-conid'>ReadPrec</span> <span class='hs-varid'>a</span> <a name="line-152"></a><span class='hs-comment'>-- ^ Always fails.</span> <a name="line-153"></a><span class='hs-definition'>pfail</span> <span class='hs-keyglyph'>=</span> <span class='hs-varid'>lift</span> <span class='hs-conid'>ReadP</span><span class='hs-varop'>.</span><span class='hs-varid'>pfail</span> <a name="line-154"></a> <a name="line-155"></a><a name="choice"></a><span class='hs-definition'>choice</span> <span class='hs-keyglyph'>::</span> <span class='hs-keyglyph'>[</span><span class='hs-conid'>ReadPrec</span> <span class='hs-varid'>a</span><span class='hs-keyglyph'>]</span> <span class='hs-keyglyph'>-&gt;</span> <span class='hs-conid'>ReadPrec</span> <span class='hs-varid'>a</span> <a name="line-156"></a><span class='hs-comment'>-- ^ Combines all parsers in the specified list.</span> <a name="line-157"></a><span class='hs-definition'>choice</span> <span class='hs-varid'>ps</span> <span class='hs-keyglyph'>=</span> <span class='hs-varid'>foldr</span> <span class='hs-layout'>(</span><span class='hs-varop'>+++</span><span class='hs-layout'>)</span> <span class='hs-varid'>pfail</span> <span class='hs-varid'>ps</span> <a name="line-158"></a> <a name="line-159"></a><span class='hs-comment'>-- ---------------------------------------------------------------------------</span> <a name="line-160"></a><span class='hs-comment'>-- Converting between ReadPrec and Read</span> <a name="line-161"></a> <a name="line-162"></a><a name="readPrec_to_P"></a><span class='hs-definition'>readPrec_to_P</span> <span class='hs-keyglyph'>::</span> <span class='hs-conid'>ReadPrec</span> <span class='hs-varid'>a</span> <span class='hs-keyglyph'>-&gt;</span> <span class='hs-layout'>(</span><span class='hs-conid'>Int</span> <span class='hs-keyglyph'>-&gt;</span> <span class='hs-conid'>ReadP</span> <span class='hs-varid'>a</span><span class='hs-layout'>)</span> <a name="line-163"></a><span class='hs-definition'>readPrec_to_P</span> <span class='hs-layout'>(</span><span class='hs-conid'>P</span> <span class='hs-varid'>f</span><span class='hs-layout'>)</span> <span class='hs-keyglyph'>=</span> <span class='hs-varid'>f</span> <a name="line-164"></a> <a name="line-165"></a><a name="readP_to_Prec"></a><span class='hs-definition'>readP_to_Prec</span> <span class='hs-keyglyph'>::</span> <span class='hs-layout'>(</span><span class='hs-conid'>Int</span> <span class='hs-keyglyph'>-&gt;</span> <span class='hs-conid'>ReadP</span> <span class='hs-varid'>a</span><span class='hs-layout'>)</span> <span class='hs-keyglyph'>-&gt;</span> <span class='hs-conid'>ReadPrec</span> <span class='hs-varid'>a</span> <a name="line-166"></a><span class='hs-definition'>readP_to_Prec</span> <span class='hs-varid'>f</span> <span class='hs-keyglyph'>=</span> <span class='hs-conid'>P</span> <span class='hs-varid'>f</span> <a name="line-167"></a> <a name="line-168"></a><a name="readPrec_to_S"></a><span class='hs-definition'>readPrec_to_S</span> <span class='hs-keyglyph'>::</span> <span class='hs-conid'>ReadPrec</span> <span class='hs-varid'>a</span> <span class='hs-keyglyph'>-&gt;</span> <span class='hs-layout'>(</span><span class='hs-conid'>Int</span> <span class='hs-keyglyph'>-&gt;</span> <span class='hs-conid'>ReadS</span> <span class='hs-varid'>a</span><span class='hs-layout'>)</span> <a name="line-169"></a><span class='hs-definition'>readPrec_to_S</span> <span class='hs-layout'>(</span><span class='hs-conid'>P</span> <span class='hs-varid'>f</span><span class='hs-layout'>)</span> <span class='hs-varid'>n</span> <span class='hs-keyglyph'>=</span> <span class='hs-varid'>readP_to_S</span> <span class='hs-layout'>(</span><span class='hs-varid'>f</span> <span class='hs-varid'>n</span><span class='hs-layout'>)</span> <a name="line-170"></a> <a name="line-171"></a><a name="readS_to_Prec"></a><span class='hs-definition'>readS_to_Prec</span> <span class='hs-keyglyph'>::</span> <span class='hs-layout'>(</span><span class='hs-conid'>Int</span> <span class='hs-keyglyph'>-&gt;</span> <span class='hs-conid'>ReadS</span> <span class='hs-varid'>a</span><span class='hs-layout'>)</span> <span class='hs-keyglyph'>-&gt;</span> <span class='hs-conid'>ReadPrec</span> <span class='hs-varid'>a</span> <a name="line-172"></a><span class='hs-definition'>readS_to_Prec</span> <span class='hs-varid'>f</span> <span class='hs-keyglyph'>=</span> <span class='hs-conid'>P</span> <span class='hs-layout'>(</span><span class='hs-keyglyph'>\</span><span class='hs-varid'>n</span> <span class='hs-keyglyph'>-&gt;</span> <span class='hs-varid'>readS_to_P</span> <span class='hs-layout'>(</span><span class='hs-varid'>f</span> <span class='hs-varid'>n</span><span class='hs-layout'>)</span><span class='hs-layout'>)</span> <a name="line-173"></a> </pre></body> </html>
src/public/game/stylesheets/map.css
joostverdoorn/webrtc
html, body { width: 100%; height: 100%; margin: 0px; padding: 0px; overflow:hidden; } body { background: #34363a; /* Old browsers */ background: -moz-radial-gradient(center, ellipse cover, #34363a 0%, #282730 100%); /* FF3.6+ */ background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,#34363a), color-stop(100%,#282730)); /* Chrome,Safari4+ */ background: -webkit-radial-gradient(center, ellipse cover, #34363a 0%,#282730 100%); /* Chrome10+,Safari5.1+ */ background: -o-radial-gradient(center, ellipse cover, #34363a 0%,#282730 100%); /* Opera 12+ */ background: -ms-radial-gradient(center, ellipse cover, #34363a 0%,#282730 100%); /* IE10+ */ background: radial-gradient(ellipse at center, #34363a 0%,#282730 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#34363a', endColorstr='#282730',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */ } .label { color: #000; font-family: Arial, sans-serif; font-size: 10px; font-weight:bold; border-radius: 4px; padding:4px; background: #fff; opacity:.8; }
guardian/templates/admin/guardian/model/obj_perms_manage.html
lukaszb/django-guardian
{% extends "admin/change_form.html" %} {% load i18n %} {% load guardian_tags %} {% block extrahead %}{{ block.super }} <style type="text/css"> </style> {% endblock %} {% block breadcrumbs %}{% if not is_popup %} <div class="breadcrumbs"> <a href="../../../../">{% trans "Home" %}</a> &rsaquo; <a href="../../../">{{ opts.app_config.verbose_name|capfirst|escape }}</a> &rsaquo; {% if has_change_permission %}<a href="../../">{{ opts.verbose_name_plural|capfirst }}</a>{% else %}{{ opts.verbose_name_plural|capfirst }}{% endif %} &rsaquo; {% if has_change_permission %}<a href="../">{{ original|truncatewords:"18" }}</a>{% else %}{{ original|truncatewords:"18" }}{% endif %} &rsaquo; {% trans "Object permissions" %} </div> {% endif %}{% endblock %} {% block content %} <div id="content-main"> <form action="." method="post"> {% csrf_token %} {% if user_form.errors %} <div> <p class="errornote">{% trans "Please correct the errors below." %}</p> </div> {% endif %} <fieldset class="module aligned"> <h2>{% trans "Users" %}</h2> {% for error in user_form.errors %} <p class="error">{{ error }}</p> {% endfor %} <div class="form-row user_permissions"> <table id="user-permissions" class="object-perms"> <caption>{% trans "User permissions" %}</caption> <thead> <tr> <th>{% trans "User" %}</th> {% for perm in model_perms %} <th>{{ perm.name }}</th> {% endfor %} <th>{% trans "Action" %}</th> </tr> </thead> <tbody> {% for user, user_perms in users_perms.items %} <tr> <td>{{ user }}</td> {% for perm in model_perms %} <td> {% if perm.codename in user_perms %} {% include "admin/guardian/model/obj_perms_yes.html" %} {% else %} {% include "admin/guardian/model/obj_perms_no.html" %} {% endif %} </td> {% endfor %} <td> <a href="user-manage/{{ user.id|safe }}/">{% trans "Edit" %}</a> </td> </tr> {% endfor %} </tbody> </table> </div> {% for field in user_form %} {% include "admin/guardian/model/field.html" %} {% endfor %} <div> <input name="submit_manage_user" type="submit" value="{% trans "Manage user" %}"/> </div> </fieldset> </form> <form action="." method="post"> {% csrf_token %} {% if group_form.errors %} <div> <p class="errornote">{% trans "Please correct the errors below." %}</p> </div> {% endif %} <fieldset class="module aligned"> <h2>{% trans "Groups" %}</h2> {% for error in group_form.errors %} <p class="error">{{ error }}</p> {% endfor %} <div class="form-row user_permissions"> <table id="group-permissions" class="object-perms"> <caption>{% trans "Group permissions" %}</caption> <thead> <tr> <th>{% trans "Group" %}</th> {% for perm in model_perms %} <th>{{ perm.name }}</th> {% endfor %} <th>{% trans "Action" %}</th> </tr> </thead> <tbody> {% for group, group_perms in groups_perms.items %} <tr> <td>{{ group }}</td> {% for perm in model_perms %} <td> {% if perm.codename in group_perms %} {% include "admin/guardian/model/obj_perms_yes.html" %} {% else %} {% include "admin/guardian/model/obj_perms_no.html" %} {% endif %} </td> {% endfor %} <td> <a href="group-manage/{{ group.id|safe }}/">{% trans "Edit" %}</a> </td> </tr> {% endfor %} </tbody> </table> </div> {% for field in group_form %} {% include "admin/guardian/model/field.html" %} {% endfor %} <div> <input name="submit_manage_group" type="submit" value="{% trans "Manage group" %}"/> </div> </fieldset> </form> </div> {% endblock %}
mapentity/templates/mapentity/_mapentity_list_filter.html
makinacorpus/Geotrek
{% load i18n %} <a href="#" id="filters-btn" class="btn btn-info ml-auto"><i class="bi bi-filter"></i> {% trans "Filter" %}</a> <div id="filters-hover"></div> <div id="filters-popover"></div> <div id="filters-wrapper" style="display:None"> <div id="filters-panel"> <form id="mainfilter" action="{{ model.get_jsonlist_url }}"> <div id="filters-close"> <a href="#"><i class="bi bi-x-circle-fill"></i></a> </div> <div class="left form-group"> {{ filterform.form.as_p }} </div> <div class="right form-group"></div> <div class="actions"> <input id="reset" type="reset" class="btn btn-light" /> <a id="filter" class="btn btn-primary"><i class="bi bi-search"></i> {% trans "Filter" %}</a> </div> </form> </div> </div>
DoxygenDocs.docset/html/interface_u_a___f_m_statement.html
jflasher/IgniteTools
<!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"/> <title>Ignite Tools: UA_FMStatement Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/search.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body onload='searchBox.OnSelectItem(0);'> <!-- Generated by Doxygen 1.7.4 --> <script type="text/javascript"><!-- var searchBox = new SearchBox("searchBox", "search",false,'Search'); --></script> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectlogo"><img alt="Logo" src="ASLogo.png"/></td> <td style="padding-left: 0.5em;"> <div id="projectname">Ignite Tools</div> </td> </tr> </tbody> </table> </div> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main&#160;Page</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li id="searchli"> <div id="MSearchBox" class="MSearchBoxInactive"> <span class="left"> <img id="MSearchSelect" src="search/mag_sel.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/> <input type="text" id="MSearchField" value="Search" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/> </span><span class="right"> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </span> </div> </li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class&#160;List</span></a></li> <li><a href="classes.html"><span>Class&#160;Index</span></a></li> <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li> <li><a href="functions.html"><span>Class&#160;Members</span></a></li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> &#124; <a href="#pro-attribs">Protected Attributes</a> </div> <div class="headertitle"> <div class="title">UA_FMStatement Class Reference</div> </div> </div> <div class="contents"> <!-- doxytag: class="UA_FMStatement" --> <p><a href="class_u_a___f_m_statement-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0f11e864e8aa9f1fd64406be1d65e637"></a><!-- doxytag: member="UA_FMStatement::close" ref="a0f11e864e8aa9f1fd64406be1d65e637" args="()" --> (void)&#160;</td><td class="memItemRight" valign="bottom">- <b>close</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acf8537b475881fae004fc74bdbfc294f"></a><!-- doxytag: member="UA_FMStatement::reset" ref="acf8537b475881fae004fc74bdbfc294f" args="()" --> (void)&#160;</td><td class="memItemRight" valign="bottom">- <b>reset</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a192ef7aec3fe04a00c768f4d54edaffa"></a><!-- doxytag: member="UA_FMStatement::statement" ref="a192ef7aec3fe04a00c768f4d54edaffa" args="()" --> (sqlite3_stmt *)&#160;</td><td class="memItemRight" valign="bottom">- <b>statement</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8b7fb04fb70c6aff361393b35a7af798"></a><!-- doxytag: member="UA_FMStatement::setStatement:" ref="a8b7fb04fb70c6aff361393b35a7af798" args="(sqlite3_stmt *value)" --> (void)&#160;</td><td class="memItemRight" valign="bottom">- <b>setStatement:</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0fa9a940cb5c8bb4cc54083961d03d20"></a><!-- doxytag: member="UA_FMStatement::query" ref="a0fa9a940cb5c8bb4cc54083961d03d20" args="()" --> (NSString *)&#160;</td><td class="memItemRight" valign="bottom">- <b>query</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a624a5fc54822f032e66b5fb8decb4342"></a><!-- doxytag: member="UA_FMStatement::setQuery:" ref="a624a5fc54822f032e66b5fb8decb4342" args="(NSString *value)" --> (void)&#160;</td><td class="memItemRight" valign="bottom">- <b>setQuery:</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aed47988f1371d89a2cfe5b1c4ca89352"></a><!-- doxytag: member="UA_FMStatement::useCount" ref="aed47988f1371d89a2cfe5b1c4ca89352" args="()" --> (long)&#160;</td><td class="memItemRight" valign="bottom">- <b>useCount</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa20738e9e660fe46bcc206f1146dc8ee"></a><!-- doxytag: member="UA_FMStatement::setUseCount:" ref="aa20738e9e660fe46bcc206f1146dc8ee" args="(long value)" --> (void)&#160;</td><td class="memItemRight" valign="bottom">- <b>setUseCount:</b></td></tr> <tr><td colspan="2"><h2><a name="pro-attribs"></a> Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5e011feb3176a71bc6ec5e90754c37e6"></a><!-- doxytag: member="UA_FMStatement::statement" ref="a5e011feb3176a71bc6ec5e90754c37e6" args="" --> sqlite3_stmt *&#160;</td><td class="memItemRight" valign="bottom"><b>statement</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae2ade42127f1d993e874650dc23c136a"></a><!-- doxytag: member="UA_FMStatement::query" ref="ae2ade42127f1d993e874650dc23c136a" args="" --> NSString *&#160;</td><td class="memItemRight" valign="bottom"><b>query</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa1170407f0b52f75add5d9acbb9b6379"></a><!-- doxytag: member="UA_FMStatement::useCount" ref="aa1170407f0b52f75add5d9acbb9b6379" args="" --> long&#160;</td><td class="memItemRight" valign="bottom"><b>useCount</b></td></tr> </table> <hr/>The documentation for this class was generated from the following file:<ul> <li>Shared/Airship/External/UA_fmdb/<a class="el" href="_u_a___f_m_database_8h_source.html">UA_FMDatabase.h</a></li> </ul> </div> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Properties</a></div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <hr class="footer"/><address class="footer"><small>Generated on Tue Aug 30 2011 10:11:54 for Ignite Tools by&#160; <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address> </body> </html>
html-test/ref/PR643_1.html
Fuuzetsu/haddock
<html xmlns="http://www.w3.org/1999/xhtml" ><head ><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title >PR643_1</title ><link href="#" rel="stylesheet" type="text/css" title="Ocean" /><link rel="stylesheet" type="text/css" href="#" /><script src="haddock-bundle.min.js" async="async" type="text/javascript" ></script ><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript" ></script ></head ><body ><div id="package-header" ><ul class="links" id="page-menu" ><li ><a href="#" >Contents</a ></li ><li ><a href="#" >Index</a ></li ></ul ><p class="caption empty" ></p ></div ><div id="content" ><div id="module-header" ><table class="info" ><tr ><th >Safe Haskell</th ><td >Safe</td ></tr ></table ><p class="caption" >PR643_1</p ></div ><div id="synopsis" ><details id="syn" ><summary >Synopsis</summary ><ul class="details-toggle" data-details-id="syn" ><li class="src short" ><a href="#" >test</a > :: ()</li ></ul ></details ></div ><div id="interface" ><h1 >Documentation</h1 ><div class="top" ><p class="src" ><a id="v:test" class="def" >test</a > :: () <span class="fixity" >infixr 5</span ><span class="rightedge" ></span > <a href="#" class="selflink" >#</a ></p ><div class="doc" ><p >Some big documentation</p ></div ></div ></div ></div ><div id="footer" ></div ></body ></html >
tools/share/doc/gccint/Configuration-Files.html
ExploreEmbedded/Tit-Windows
<html lang="en"> <head> <title>Configuration Files - GNU Compiler Collection (GCC) Internals</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="GNU Compiler Collection (GCC) Internals"> <meta name="generator" content="makeinfo 4.13"> <link title="Top" rel="start" href="index.html#Top"> <link rel="up" href="Configuration.html#Configuration" title="Configuration"> <link rel="prev" href="System-Config.html#System-Config" title="System Config"> <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage"> <!-- Copyright (C) 1988-2014 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with the Invariant Sections being ``Funding Free Software'', the Front-Cover Texts being (a) (see below), and with the Back-Cover Texts being (b) (see below). A copy of the license is included in the section entitled ``GNU Free Documentation License''. (a) The FSF's Front-Cover Text is: A GNU Manual (b) The FSF's Back-Cover Text is: You have freedom to copy and modify this GNU Manual, like GNU software. Copies published by the Free Software Foundation raise funds for GNU development.--> <meta http-equiv="Content-Style-Type" content="text/css"> <style type="text/css"><!-- pre.display { font-family:inherit } pre.format { font-family:inherit } pre.smalldisplay { font-family:inherit; font-size:smaller } pre.smallformat { font-family:inherit; font-size:smaller } pre.smallexample { font-size:smaller } pre.smalllisp { font-size:smaller } span.sc { font-variant:small-caps } span.roman { font-family:serif; font-weight:normal; } span.sansserif { font-family:sans-serif; font-weight:normal; } --></style> </head> <body> <div class="node"> <a name="Configuration-Files"></a> <p> Previous:&nbsp;<a rel="previous" accesskey="p" href="System-Config.html#System-Config">System Config</a>, Up:&nbsp;<a rel="up" accesskey="u" href="Configuration.html#Configuration">Configuration</a> <hr> </div> <h5 class="subsubsection">6.3.2.3 Files Created by <code>configure</code></h5> <p>Here we spell out what files will be set up by <samp><span class="file">configure</span></samp> in the <samp><span class="file">gcc</span></samp> directory. Some other files are created as temporary files in the configuration process, and are not used in the subsequent build; these are not documented. <ul> <li><samp><span class="file">Makefile</span></samp> is constructed from <samp><span class="file">Makefile.in</span></samp>, together with the host and target fragments (see <a href="Fragments.html#Fragments">Makefile Fragments</a>) <samp><span class="file">t-</span><var>target</var></samp> and <samp><span class="file">x-</span><var>host</var></samp> from <samp><span class="file">config</span></samp>, if any, and language Makefile fragments <samp><var>language</var><span class="file">/Make-lang.in</span></samp>. <li><samp><span class="file">auto-host.h</span></samp> contains information about the host machine determined by <samp><span class="file">configure</span></samp>. If the host machine is different from the build machine, then <samp><span class="file">auto-build.h</span></samp> is also created, containing such information about the build machine. <li><samp><span class="file">config.status</span></samp> is a script that may be run to recreate the current configuration. <li><samp><span class="file">configargs.h</span></samp> is a header containing details of the arguments passed to <samp><span class="file">configure</span></samp> to configure GCC, and of the thread model used. <li><samp><span class="file">cstamp-h</span></samp> is used as a timestamp. <li>If a language <samp><span class="file">config-lang.in</span></samp> file (see <a href="Front-End-Config.html#Front-End-Config">The Front End <samp><span class="file">config-lang.in</span></samp> File</a>) sets <code>outputs</code>, then the files listed in <code>outputs</code> there are also generated. </ul> <p>The following configuration headers are created from the Makefile, using <samp><span class="file">mkconfig.sh</span></samp>, rather than directly by <samp><span class="file">configure</span></samp>. <samp><span class="file">config.h</span></samp>, <samp><span class="file">bconfig.h</span></samp> and <samp><span class="file">tconfig.h</span></samp> all contain the <samp><span class="file">xm-</span><var>machine</var><span class="file">.h</span></samp> header, if any, appropriate to the host, build and target machines respectively, the configuration headers for the target, and some definitions; for the host and build machines, these include the autoconfigured headers generated by <samp><span class="file">configure</span></samp>. The other configuration headers are determined by <samp><span class="file">config.gcc</span></samp>. They also contain the typedefs for <code>rtx</code>, <code>rtvec</code> and <code>tree</code>. <ul> <li><samp><span class="file">config.h</span></samp>, for use in programs that run on the host machine. <li><samp><span class="file">bconfig.h</span></samp>, for use in programs that run on the build machine. <li><samp><span class="file">tconfig.h</span></samp>, for use in programs and libraries for the target machine. <li><samp><span class="file">tm_p.h</span></samp>, which includes the header <samp><var>machine</var><span class="file">-protos.h</span></samp> that contains prototypes for functions in the target <samp><var>machine</var><span class="file">.c</span></samp> file. The header <samp><var>machine</var><span class="file">-protos.h</span></samp> can include prototypes of functions that use rtl and tree data structures inside appropriate <code>#ifdef RTX_CODE</code> and <code>#ifdef TREE_CODE</code> conditional code segements. The <samp><var>machine</var><span class="file">-protos.h</span></samp> is included after the <samp><span class="file">rtl.h</span></samp> and/or <samp><span class="file">tree.h</span></samp> would have been included. The <samp><span class="file">tm_p.h</span></samp> also includes the header <samp><span class="file">tm-preds.h</span></samp> which is generated by <samp><span class="file">genpreds</span></samp> program during the build to define the declarations and inline functions for the predicate functions. </ul> </body></html>
sorvell/styling/core-style/common-styles.html
PolymerLabs/labs
<core-style id="common"> :host { display: block; margin: 4px 0; border: 3px solid yellow; } .colorful { background-color: orange; } </core-style>
src/sentry/templates/sentry/auth-confirm-identity.html
looker/sentry
{% extends "sentry/bases/auth.html" %} {% load crispy_forms_tags %} {% load i18n %} {% load sentry_avatars %} {% block title %}{% trans "Confirm Identity" %} | {{ block.super }}{% endblock %} {% block auth_main %} {% if existing_user %} <div class="sso-link"> <span class="avatar"> {% avatar existing_user %} </span> <span class="icon-arrow-right"></span> <span class="icon-arrow-left"></span> <span class="avatar"> {% letter_avatar_svg identity_display_name identity_identifier %} </span> <span class="avatar"> <img src="{% gravatar_url identity.email size 36 default 'blank' %}" class="avatar"> </span> </div> <form class="form-stacked" action="" method="post" autocomplete="off"> {% csrf_token %} <div class="align-center"> <p>We found an existing account for {{ identity.email }}.</p> <p>Please confirm your credentials:</p> </div> {{ login_form|as_crispy_errors }} {% for field in login_form %} {{ field|as_crispy_field }} {% endfor %} <fieldset class="form-actions"> <button type="submit" class="btn btn-primary" name="op" value="login">{% trans "Login" %}</button> <a class="pull-right" style="margin-top: 9px" href="{% url 'sentry-account-recover' %}">{% trans "Lost your password?" %}</a> </fieldset> </form> {% else %} <form class="form-stacked" action="" method="post"> {% csrf_token %} <div class="sso-link"> <span class="avatar"> {% letter_avatar_svg identity_display_name identity_identifier %} </span> <span class="avatar"> <img src="{% gravatar_url identity.email size 36 default 'blank' %}" class="avatar"> </span> </div> <div class="align-center"> <p>We've identified you as {{ identity.email }}.</p> <p>We'll go ahead and create a new account for you with this email address.</p> <p><button class="btn btn-primary" type="submit" name="op" value="newuser">Continue</button></p> </div> </form> {% endif %} {% endblock %}
mlmusic/static/blank.html
j4cbo/stilts
<html> <head> </head> <body bgcolor="#ffffff"> [ blank.html ] </body> </html>
index.html
PolymerLabs/sandbox
<!DOCTYPE html> <!-- Copyright 2013 The Polymer Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. --> <html> <head> <title>Polymer Sandbox</title> <meta charset="UTF-8"> <script src="components/platform/platform.js"></script> <link rel="import" href="lib/components.html"> <link rel="import" href="metadata.html"> <style> body, html { position: relative; height: 100%; } body { margin: 0; overflow: hidden; font-family: Arial; -webkit-user-select: none; -moz-user-select: none; -webkit-tap-highlight-color: rgba(0,0,0,0); } tk-app { position: absolute; left: 0; top: 0; right: 0; bottom: 0; } .unsupported { font-size: 20px; text-align: center; } .unsupported button { font-size: 20px; } .popup { padding: 20px; border: 2px solid #000; background: lightyellow; max-width: 800px; max-height: 800px; } blink { color: red; font-size: 30px; } </style> </head> <body> <tk-app id="app" touch-action="none"></tk-app> </body> </html>
mousedb/animal/templates/animal_form.html
BridgesLab/mousedb
{% extends "base.html" %} {% block title %}{% if object %}Update Animal - {{ object }}{% else %}New Animal{% endif %}{% endblock title %} {% block scripts %} {{ form.media }} <script type="text/javascript"> $(document).ready(function() { $('#id_Born').datepicker({dateFormat: 'yy-mm-dd'}); $('#id_Weaned').datepicker({dateFormat: 'yy-mm-dd'}); $('#id_Death').datepicker({dateFormat: 'yy-mm-dd'}); }); </script> {% endblock %} {% block header %}{% if object %}Update Animal - {{ object }}{% else %}New Animal{% endif %}{% endblock header %} {% block content %} <form method="POST" {% if object %} action="{% url "animal-update" object.id %}" {% else %}action="{% url "animal-new" %}"{% endif %}>{% csrf_token %} <table>{{ form }}</table> <input type="submit" value="Submit" /> </form> {% endblock content %}
enc/enc_eng/meta/customapi/archives/arccommands.html
FarGroup/FarManager
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Archivers' command line arguments</title> <meta http-equiv="Content-Type" Content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="../../../styles/styles.css"> <script language="javascript" src='../../links.js' type="text/javascript"></script> </head> <body> <h1>Archivers' command line arguments</h1> <div class=navbar> <a href="../../index.html">main</a> | <a href="../index.html">Custom API</a> | <a href="index.html">archive support</a> <br> </div> <div class=shortdescr> The following variables can be used in external archivers' command-lines for different archive handling operations: </div> <table class="cont"> <tr class="cont"><th class="cont" width="40%">Variables</th><th class="cont" width="60%">Description</th></tr> <tr class="cont"><td class="cont" width="40%">%%A</td> <td class="cont" width="60%"> Archive name.</td></tr> <tr class="cont"><td class="cont" width="40%">%%a</td> <td class="cont" width="60%"> Archive short name.</td></tr> <tr class="cont"><td class="cont" width="40%">%%W</td> <td class="cont" width="60%"> Folder for temporary files, including trailing slash symbol. </td></tr> <tr class="cont"><td class="cont" width="40%">%%P</td> <td class="cont" width="60%"> Password.</td></tr> <tr class="cont"><td class="cont" width="40%">%%R</td> <td class="cont" width="60%"> Current folder in the archive.</td></tr> <tr class="cont"><td class="cont" width="40%">%%L</td> <td class="cont" width="60%"> List of file names (file list). It's a file containing file names to be processed by the external archiver. </td></tr> <tr class="cont"><td class="cont" width="40%">%%l</td> <td class="cont" width="60%"> List of short file names.</td></tr> <tr class="cont"><td class="cont" width="40%">%%F</td> <td class="cont" width="60%"> Name(s) of the file(s) to process. If all the file names don't fit in the command line then the archiver will be launched several times until all file names are processed. By default the maximum command line length is 127 symbols, but one can define it explicitly right after %%F (i.e. %%F512). The %%F variable should be used only in case the archiver doesn't support file lists.</td></tr> <tr class="cont"><td class="cont" width="40%">%%f</td> <td class="cont" width="60%"> Name of a single file to process. Archiver will be launched several times until all the file names are processed. This variable should be used only in case the archiver doesn't support file lists or several file names in its command line.</td></tr> <tr class="cont"><td class="cont" width="40%">%%E &laquo;exit code&raquo;</td> <td class="cont" width="60%"> Maximum allowable exit code. For example, %%E2 shows that exit codes of 0, 1 and 2 are allowed. The variable can be used at any place in the command line. If it's missing the only available exit code is 0.</td></tr> <tr class="cont"><td class="cont" width="40%">%%S</td> <td class="cont" width="60%"> Place for additional command line keys defined in the second line of the "Add" dialog. When the variable is missing keys are added to the end of the command line.</td></tr> </table> <p>Modifiers for the variables Q, S, M, N, *, W can be used for more accurate definitions of file name formats.</p> <table class="cont"> <tr class="cont"><th class="cont" width="40%">Modifier</th><th class="cont" width="60%">Description</th></tr> <tr class="cont"><td class="cont" width="40%">'Q'</td> <td class="cont" width="60%"> enclose file names with spaces in quotes; </td></tr> <tr class="cont"><td class="cont" width="40%">'q'</td> <td class="cont" width="60%"> enclose all file names in quotes; </td></tr> <tr class="cont"><td class="cont" width="40%">'S'</td> <td class="cont" width="60%"> use '/' instead of '\' in full paths; </td></tr> <tr class="cont"><td class="cont" width="40%">'M'</td> <td class="cont" width="60%"> pass folder names to archivers as 'name\*.*'; </td></tr> <tr class="cont"><td class="cont" width="40%">'N'</td> <td class="cont" width="60%"> pass folder names to archivers as 'name'; </td></tr> <tr class="cont"><td class="cont" width="40%">'*'</td> <td class="cont" width="60%"> use '*' mask to select all files. This modifier overrides "All files Mask" parameter for any single command of the archiver; </td></tr> <tr class="cont"><td class="cont" width="40%">'W'</td> <td class="cont" width="60%"> use name without path; </td></tr> <tr class="cont"><td class="cont" width="40%">'P'</td> <td class="cont" width="60%"> use path without name; </td></tr> <tr class="cont"><td class="cont" width="40%">'A'</td> <td class="cont" width="60%"> use ANSI encoding. </td></tr> </table> <p> These modifiers can be used right after the %%F, %%f, %%L and %%l variables without spaces. 'P' and 'A' can also be specified after %%A and %%a. It's allowed to use several modifiers at once, for example, %%LMN or %%FQSN128. If there're no 'M' or 'N' modifiers the archiver receives both 'name' and 'name\*.*'. </P> <P> If some part of the command line is enclosed in curly braces {...} it will be added to the resulting command line only in case it contains at least one not empty variable described above. </P> <P> If an external archiver doesn't support some command simply leave the corresponding line empty. </P> <div class=see>See also:</div><div class=seecont> <a href="index.html">archive support</a>, <a href="getdefaultcommands.html">GetDefaultCommands</a></div> </body> </html>
flaskbb/templates/forum/new_post.html
joyhuang-web/flaskbb
{% set page_title = "New Post" %} {% set active_forum_nav=True %} {% extends theme("layout.html") %} {% block content %} {% from theme("macros.html") import render_field %} <ul class="breadcrumb"> <li><a href="{{ url_for('forum.index') }}">Forum</a></li> <li><a href="{{ topic.forum.url }}">{{ topic.forum.title }}</a></li> <li><a href="{{ topic.url }}">{{ topic.title }} </a></li> <li class="active">New Post</li> </ul> <form class="form" role="form" method="post"> {{ form.hidden_tag() }} <h3>New Post</h3> {% if preview %} <div class="form-group"> <div class="col-sm-12"> <label>Preview</label> <div class="form-control preview-body"> {% autoescape false %} {{ preview|markup }} {% endautoescape %} </div> </div> </div> {% endif %} {{ render_field(form.content, div_class="col-sm-12", rows=12) }} <button type="submit" class="btn btn-success" name="button" value="reply">Reply</button> <button type="submit" class="btn btn-success" name="button" value="preview">Preview</button> </form> {% endblock %}
src/olympia/templates/impala/user_login.html
eviljeff/olympia
{% if user.is_authenticated %} <li class="account"> <a href="{{ user.get_url_path() }}" class="user" title="{{ user.email }}"> {{ user.welcome_name }}</a> <ul> {% if account_links %} {% for link in account_links %} {% if not loop.last %} <li><a href="{{ link.href }}">{{ link.text }}</a></li> {% endif %} {% endfor %} {% endif %} <li class="nomenu logout"> {% if devhub_backlink %} <a href="{{ url('devhub.logout') }}?to={{ url('devhub.index') }}">{{ _('Log out') }}</a> {% else %} <a href="{{ url('devhub.logout') }}">{{ _('Log out') }}</a> {% endif %} </li> </ul> </li> {% elif request.session %} <li class="account anonymous nomenu login legacy"> {% trans reg=register_link(), login=login_link() %} <a href="{{ reg }}">Register</a> or <a href="{{ login }}">Log in</a> {% endtrans %} </li> {% endif %} {% if user.is_authenticated %} {% if tools_links|count > 1 %} <li class="tools"> <a href="#">{{ tools_title }}</a> <ul> {% for link in tools_links %} <li><a href="{{ link.href }}">{{ link.text }}</a></li> {% endfor %} </ul> </li> {% elif tools_links %} <li class="context tools nomenu"> <a href="{{ tools_links[0].href }}">{{ tools_links[0].text }}</a> </li> {% endif %} {% endif %}
protected/modules/containr/extensions/yii-mail/doc/Swift/Events/_vendors---swiftMailer---classes---Swift---Events---TransportChangeListener.php.html
giantbits/conTainr
<?xml version="1.0" encoding="iso-8859-1"?> <!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> <title>Docs for page TransportChangeListener.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <script src="../../media/lib/classTree.js"></script> <link id="webfx-tab-style-sheet" type="text/css" rel="stylesheet" href="../../media/lib/tab.webfx.css" /> <script type="text/javascript" src="../../media/lib/tabpane.js"></script> <script language="javascript" type="text/javascript" src="../../media/lib/ua.js"></script> <script language="javascript" type="text/javascript"> var imgPlus = new Image(); var imgMinus = new Image(); imgPlus.src = "../../media/images/plus.gif"; imgMinus.src = "../../media/images/minus.gif"; function showNode(Node){ switch(navigator.family){ case 'nn4': // Nav 4.x code fork... var oTable = document.layers["span" + Node]; var oImg = document.layers["img" + Node]; break; case 'ie4': // IE 4/5 code fork... var oTable = document.all["span" + Node]; var oImg = document.all["img" + Node]; break; case 'gecko': // Standards Compliant code fork... var oTable = document.getElementById("span" + Node); var oImg = document.getElementById("img" + Node); break; } oImg.src = imgMinus.src; oTable.style.display = "block"; } function hideNode(Node){ switch(navigator.family){ case 'nn4': // Nav 4.x code fork... var oTable = document.layers["span" + Node]; var oImg = document.layers["img" + Node]; break; case 'ie4': // IE 4/5 code fork... var oTable = document.all["span" + Node]; var oImg = document.all["img" + Node]; break; case 'gecko': // Standards Compliant code fork... var oTable = document.getElementById("span" + Node); var oImg = document.getElementById("img" + Node); break; } oImg.src = imgPlus.src; oTable.style.display = "none"; } function nodeIsVisible(Node){ switch(navigator.family){ case 'nn4': // Nav 4.x code fork... var oTable = document.layers["span" + Node]; break; case 'ie4': // IE 4/5 code fork... var oTable = document.all["span" + Node]; break; case 'gecko': // Standards Compliant code fork... var oTable = document.getElementById("span" + Node); break; } return (oTable && oTable.style.display == "block"); } function toggleNodeVisibility(Node){ if (nodeIsVisible(Node)){ hideNode(Node); }else{ showNode(Node); } } </script> <!-- template designed by Julien Damon based on PHPEdit's generated templates, and tweaked by Greg Beaver --> <body bgcolor="#ffffff" > <h2>File: /vendors/swiftMailer/classes/Swift/Events/TransportChangeListener.php</h2> <div class="tab-pane" id="tabPane1"> <script type="text/javascript"> tp1 = new WebFXTabPane( document.getElementById( "tabPane1" ) ); </script> <div class="tab-page" id="Description"> <h2 class="tab">Description</h2> <!-- ========== Info from phpDoc block ========= --> <ul> </ul> <!-- =========== Used Classes =========== --> <A NAME='classes_summary'><!-- --></A> <h3>Classes defined in this file</h3> <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> <THEAD> <TR><TD STYLE="width:20%"><h4>CLASS NAME</h4></TD><TD STYLE="width: 80%"><h4>DESCRIPTION</h4></TD></TR> </THEAD> <TBODY> <TR BGCOLOR='white' CLASS='TableRowColor'> <TD><a href="../../Swift/Events/Swift_Events_TransportChangeListener.html">Swift_Events_TransportChangeListener</a></TD> <TD>Listens for changes within the Transport system.</TD> </TR> </TBODY> </TABLE> </div> <script type="text/javascript">tp1.addTabPage( document.getElementById( "Description" ) );</script> <div class="tab-page" id="tabPage1"> <!-- ============ Includes DETAIL =========== --> <h2 class="tab">Include/Require Statements</h2> <script type="text/javascript">tp1.addTabPage( document.getElementById( "tabPage1" ) );</script> </div> <div class="tab-page" id="tabPage2"> <!-- ============ GLOBAL DETAIL =========== --> <h2 class="tab">Global Variables</h2> <script type="text/javascript">tp1.addTabPage( document.getElementById( "tabPage2" ) );</script> </div> <div class="tab-page" id="tabPage3"> <!-- ============ CONSTANT DETAIL =========== --> <A NAME='constant_detail'></A> <h2 class="tab">Constants</h2> <script type="text/javascript">tp1.addTabPage( document.getElementById( "tabPage3" ) );</script> </div> <div class="tab-page" id="tabPage4"> <!-- ============ FUNCTION DETAIL =========== --> <h2 class="tab">Functions</h2> <script type="text/javascript">tp1.addTabPage( document.getElementById( "tabPage4" ) );</script> </div> </div> <script type="text/javascript"> //<![CDATA[ setupAllTabs(); //]]> </script> <div id="credit"> <hr /> Documentation generated on Fri, 12 Nov 2010 20:45:31 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> </div> </body> </html>
doc/ModelSupport_OmniThreadLibrary_UML/OtlParallel/TOmniIteratorStateTaskDelegate_T_(T).html
VSoftTechnologies/OmniThreadLibrary
<html > <head ><STYLE TYPE="text/css">@import "../stylesheet.css";</STYLE><title ></title><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><script language='JavaScript'> function doClick(imageHref) { if (parent.imageFrame != null) parent.imageFrame.location.href = imageHref; } </script></head><table border='0' width='100%' cellpadding='1' cellspacing='0'> <tr > <td colspan='2' class='NavBarCellCommon'> <table border='0' cellpadding='0' cellspacing='3'> <tr align='center' valign='top'> <td class='NavBarCellCommon'> <a href='../overview-summary.html'> <font size='+1' class='NavBarFont1'> <b >Overview</b></font></a>&nbsp;</td><td class='NavBarCellCommon'> <a href='package-summary.html'> <font size='+1' class='NavBarFont1'> <b >Namespace</b></font></a>&nbsp;</td><td class='NavBarCellCommonRev'> <font size='+1' class='NavBarFont1'> <b >Classifier</b></font>&nbsp;</td><td class='NavBarCellCommon'> <font size='+1' class='NavBarFont1'>Tree</font>&nbsp;</td><td class='NavBarCellCommon'> <a href='../index-all.html'> <font size='+1' class='NavBarFont1'> <b >Index</b></font></a>&nbsp;</td><td class='NavBarCellCommon'> <a href='../help-doc.html'> <font size='+1' class='NavBarFont1'> <b >Help</b></font></a>&nbsp;</td></tr></table><td align='right' valign='top' rowspan='3'> <em ></em></td></td></tr><tr > <td class='NavBarCellPrevNext'> <font size='-2'><a href="../OtlParallel/TOmniIteratorSimpleDelegate.html" target="classFrame" onclick="doClick('../OtlParallel/doc-files/default.txvpck.html')">PREV </a> &nbsp;&nbsp;<a href="../OtlParallel/IOmniParallelInitializedLoop.html" target="classFrame" onclick="doClick('../OtlParallel/doc-files/default.txvpck.html')">NEXT </a> </font></td><td class='NavBarCellPrevNext'> <font size='-2'> <a href='../index.html' target='_top'> <b >FRAMES</b></a>&nbsp;<a href='../OtlParallel/TOmniIteratorStateTaskDelegate_T_(T).html' target='_top'> <b >NO FRAMES</b></a></font></td></tr><tr > <td valign='top' class='NavBarCell3'> <font size='-2'>SUMMARY:&nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;DESTR&nbsp;|&nbsp;METHOD</font></td><td valign='top' class='NavBarCell3'> <font size='-2'>DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;DESTR&nbsp;|&nbsp;METHOD</font></td></tr></table><hr /><h2 > <font size='-1'> <i >Namespace: </i>OtlParallel<br /></font><br />Delegate TOmniIteratorStateTaskDelegate&lt;T&gt;</h2><hr /><dl > <dt />public&nbsp;procedure delegate <b >TOmniIteratorStateTaskDelegate&lt;T&gt;</b>(task: <a href="../OtlTask/IOmniTask.html" target="classFrame" onclick="doClick('../OtlTask/doc-files/default.txvpck.html')">OtlTask.IOmniTask</a> ; value: T; taskState: <a href="../OtlCommon/TOmniValue.html" target="classFrame" onclick="doClick('../OtlCommon/doc-files/default.txvpck.html')">OtlCommon.TOmniValue</a> )</dl><p /><dl > <dt /><b >Generic Parameters</b><dd >T</dd></dl><hr /><p /><p /><hr /><table border='0' width='100%' cellpadding='1' cellspacing='0'> <tr > <td colspan='2' class='NavBarCellCommon'> <table border='0' cellpadding='0' cellspacing='3'> <tr align='center' valign='top'> <td class='NavBarCellCommon'> <a href='../overview-summary.html'> <font size='+1' class='NavBarFont1'> <b >Overview</b></font></a>&nbsp;</td><td class='NavBarCellCommon'> <a href='package-summary.html'> <font size='+1' class='NavBarFont1'> <b >Namespace</b></font></a>&nbsp;</td><td class='NavBarCellCommonRev'> <font size='+1' class='NavBarFont1'> <b >Classifier</b></font>&nbsp;</td><td class='NavBarCellCommon'> <font size='+1' class='NavBarFont1'>Tree</font>&nbsp;</td><td class='NavBarCellCommon'> <a href='../index-all.html'> <font size='+1' class='NavBarFont1'> <b >Index</b></font></a>&nbsp;</td><td class='NavBarCellCommon'> <a href='../help-doc.html'> <font size='+1' class='NavBarFont1'> <b >Help</b></font></a>&nbsp;</td></tr></table><td align='right' valign='top' rowspan='3'> <em ></em></td></td></tr><tr > <td class='NavBarCellPrevNext'> <font size='-2'><a href="../OtlParallel/TOmniIteratorSimpleDelegate.html" target="classFrame" onclick="doClick('../OtlParallel/doc-files/default.txvpck.html')">PREV </a> &nbsp;&nbsp;<a href="../OtlParallel/IOmniParallelInitializedLoop.html" target="classFrame" onclick="doClick('../OtlParallel/doc-files/default.txvpck.html')">NEXT </a> </font></td><td class='NavBarCellPrevNext'> <font size='-2'> <a href='../index.html' target='_top'> <b >FRAMES</b></a>&nbsp;<a href='../OtlParallel/TOmniIteratorStateTaskDelegate_T_(T).html' target='_top'> <b >NO FRAMES</b></a></font></td></tr><tr > <td valign='top' class='NavBarCell3'> <font size='-2'>SUMMARY:&nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;DESTR&nbsp;|&nbsp;METHOD</font></td><td valign='top' class='NavBarCell3'> <font size='-2'>DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;DESTR&nbsp;|&nbsp;METHOD</font></td></tr></table><br /><p /></html>
src/fox-ajax.html
foxui/fox-ajax
<fox-element name="fox-ajax" attributes="url dataType params response method jsonp headers contentType"> <script> fox('fox-ajax', { /** * Fired when a response is received. * * @event success */ /** * Fired when an error is received. * * @event error */ /** * Fired whenever a response or an error is received. * * @event complete */ /** * Fired whenever a response is received and diff from old response * * @event data-change */ /** * The URL target of the request. * * @attribute url * @type string * @default '' */ url: '', /** * Specifies what data to store in the `response` property, and * to deliver as `event.response` in `response` events. * * One of: * * `text`: uses `XHR.responseText`. * * `xml`: uses `XHR.responseXML`. * * `json`: uses `XHR.responseText` parsed as JSON. * * `html`: uses `XHR.responseText`. * * `jsonp`: uses `jsonp callback`. * * @attribute dataType * @type string * @default 'text' */ dataType: '', /** * If true, automatically performs an Ajax request when either `url` or `params` changes. * * @attribute auto * @type boolean * @default false */ auto: false, /** * Parameters to send to the specified URL, as JSON. * * @attribute params * @type string (JSON) * @default '' */ params: '', /** * Returns the response object. * * @attribute response * @type Object * @default null */ response: null, /** * The HTTP method to use such as 'GET', 'POST', 'PUT', or 'DELETE'. * Default is 'GET'. * * @attribute method * @type string * @default 'GET' */ method: '', /** * The name of the JSONP callback query parameter. * Default is 'callback'. * * @attribute jsonp * @type string * @default 'callback' */ jsonp: '', /** * HTTP request headers to send. * * Example: * * <w-ajax * auto * url="http://somesite.com" * headers='{"X-Requested-With": "XMLHttpRequest"}' * dataType="json" * on-success="{{handleResponse}}"></w-ajax> * * @attribute headers * @type Object * @default null */ headers: null, /** * Content type to use when sending data. * * @attribute contentType * @type string * @default 'application/x-www-form-urlencoded' */ contentType: 'application/x-www-form-urlencoded', lifecycle : { created: function() { !this.method && (this.method = 'GET'); !this.jsonp && (this.jsonp = 'callback'); !this.contentType && (this.contentType = 'application/x-www-form-urlencoded'); this.autoGo(); }, urlChanged: function() { this.autoGo(); }, paramsChanged: function() { this.autoGo(); } }, accessors: { auto: { attribute: { boolean: true } } }, methods: { autoGo: function() { if (this.hasAttribute('auto')) { this.go(); } }, go: function() { var options = { type: this.method, url: this.url, dataType: this.dataType, contentType: this.contentType, success: function(data, status, xhr){ var oldVal = me.response; // property me.data = data; me.response = JSON.stringify(data); fox.fireEvent(me, 'data-change', { 'detail' : { oldVal : oldVal, newVal : data } }); fox.fireEvent(me, 'success', { 'detail' : { data: data, status: status, xhr: xhr } }); }, error: function(xhr, errorType, error){ fox.fireEvent(me, 'error', { 'detail' : { errorType: errorType, error: error, xhr: xhr } }); }, complete: function(){ fox.fireEvent(me, 'complete'); } }; var me = this; if (this.params) { options.data = JSON.parse(this.params); } if (this.headers) { options.headers = JSON.parse(this.headers); } $.ajax(options); } } }); </script> </fox-element>
shift_scheduler.css
mcstrother/drupal-shift-scheduler
/** * Styles for Shift Scheduler Module **/ #shift-scheduler { } #shift-scheduler .open-shift { color:#F00; font-weight:bold; } #shift-scheduler .closed-shift { color:#0F0; } #shift-scheduler .taken-shift { background-color:#254117; } #shift-scheduler table.body-table { } #shift-scheduler th { vertical-align:top; } #shift-scheduler th.schedule-header { vertical-align:top; } #shift-scheduler tr.schedule-display { vertical-align:middle; }
layouts/templates/layouts/layout_left_main_right.html
sashakames/COG
{% extends "layouts/layout_base.html" %} {% block body %} <!--EXTENDS: /layouts/templates/layouts/layout_base.html--> <!--LAYOUT: layouts/layout_sidebar_center_right.html --> <div class="span-5"> {% block left %} &nbsp; {% endblock %} </div> <div class="span-740"> {% block title %} <h1 class="title">{{ title }}</h1> {% endblock %} {% block main %} &nbsp; {% endblock %} </div> <div class="span-5 last"> {% block right %} &nbsp; {% endblock %} </div> <!--END: layouts/layout_sidebar_center_right.html --> {% endblock %}
djem/templates/djem/csrfify_ajax/jquery.html
oogles/django-goodies
<script type="text/javascript"> function csrfSafeMethod(method) { // These HTTP methods do not require CSRF protection return (/^(GET|HEAD|OPTIONS|TRACE)$/.test(method)); } $.ajaxSetup({ beforeSend: function(xhr, settings) { if (!csrfSafeMethod(settings.type) && !this.crossDomain) { xhr.setRequestHeader('X-CSRFToken', '{{ csrf_token }}'); } } }); </script>
Documentation/html/_m_s_p_b_s_l___c_r_c_engine_8h_source.html
MSP-EricLoeffler/MSPBSL_Library
<!-- This comment will put IE 6, 7 and 8 in quirks mode --> <!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"/> <title>MSPBSL_CRCEngine.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="$relpath/search.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <table width="100%"> <tr> <td bgcolor="black" width="1"><a href="http://www.ti.com"><img border="0" src="tilogo.gif" /></a></td> <td bgcolor="red"><img src="titagline.gif" /></td> </tr> </table> <!-- Generated by Doxygen 1.8.0 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main&#160;Page</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related&#160;Pages</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File&#160;List</span></a></li> <li><a href="globals.html"><span>File&#160;Members</span></a></li> </ul> </div> </div> <div class="header"> <div class="headertitle"> <div class="title">MSPBSL_CRCEngine.h</div> </div> </div><!--header--> <div class="contents"> <a href="_m_s_p_b_s_l___c_r_c_engine_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> <a name="l00002"></a>00002 <span class="comment"> * MSPBSL_CRCEngine</span> <a name="l00003"></a>00003 <span class="comment"> *</span> <a name="l00004"></a>00004 <span class="comment"> * A class file to encapsulate the computation of CRCs on the PC side</span> <a name="l00005"></a>00005 <span class="comment"> *</span> <a name="l00006"></a>00006 <span class="comment"> * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ </span> <a name="l00007"></a>00007 <span class="comment"> * </span> <a name="l00008"></a>00008 <span class="comment"> * </span> <a name="l00009"></a>00009 <span class="comment"> * Redistribution and use in source and binary forms, with or without </span> <a name="l00010"></a>00010 <span class="comment"> * modification, are permitted provided that the following conditions </span> <a name="l00011"></a>00011 <span class="comment"> * are met:</span> <a name="l00012"></a>00012 <span class="comment"> *</span> <a name="l00013"></a>00013 <span class="comment"> * Redistributions of source code must retain the above copyright </span> <a name="l00014"></a>00014 <span class="comment"> * notice, this list of conditions and the following disclaimer.</span> <a name="l00015"></a>00015 <span class="comment"> *</span> <a name="l00016"></a>00016 <span class="comment"> * Redistributions in binary form must reproduce the above copyright</span> <a name="l00017"></a>00017 <span class="comment"> * notice, this list of conditions and the following disclaimer in the </span> <a name="l00018"></a>00018 <span class="comment"> * documentation and/or other materials provided with the </span> <a name="l00019"></a>00019 <span class="comment"> * distribution.</span> <a name="l00020"></a>00020 <span class="comment"> *</span> <a name="l00021"></a>00021 <span class="comment"> * Neither the name of Texas Instruments Incorporated nor the names of</span> <a name="l00022"></a>00022 <span class="comment"> * its contributors may be used to endorse or promote products derived</span> <a name="l00023"></a>00023 <span class="comment"> * from this software without specific prior written permission.</span> <a name="l00024"></a>00024 <span class="comment"> *</span> <a name="l00025"></a>00025 <span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS </span> <a name="l00026"></a>00026 <span class="comment"> * &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT </span> <a name="l00027"></a>00027 <span class="comment"> * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR</span> <a name="l00028"></a>00028 <span class="comment"> * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT </span> <a name="l00029"></a>00029 <span class="comment"> * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, </span> <a name="l00030"></a>00030 <span class="comment"> * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT </span> <a name="l00031"></a>00031 <span class="comment"> * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,</span> <a name="l00032"></a>00032 <span class="comment"> * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY</span> <a name="l00033"></a>00033 <span class="comment"> * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT </span> <a name="l00034"></a>00034 <span class="comment"> * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE </span> <a name="l00035"></a>00035 <span class="comment"> * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span> <a name="l00036"></a>00036 <span class="comment"> *</span> <a name="l00037"></a>00037 <span class="comment">*/</span> <a name="l00038"></a>00038 <a name="l00039"></a>00039 <span class="preprocessor">#pragma once</span> <a name="l00040"></a>00040 <span class="preprocessor"></span><span class="preprocessor">#include &lt;string&gt;</span> <a name="l00041"></a>00041 <span class="preprocessor">#include &lt;boost/asio.hpp&gt;</span> <span class="comment">// include boost</span> <a name="l00042"></a>00042 <span class="preprocessor">#include &lt;boost/cstdint.hpp&gt;</span> <a name="l00043"></a>00043 <span class="preprocessor">#include &quot;<a class="code" href="_m_s_p_b_s_l___physical_interface_serial_u_a_r_t_8h.html">MSPBSL_PhysicalInterfaceSerialUART.h</a>&quot;</span> <a name="l00044"></a>00044 <a name="l00045"></a>00045 <span class="keyword">using namespace </span>std; <a name="l00046"></a>00046 <a name="l00047"></a><a class="code" href="class_m_s_p_b_s_l___c_r_c_engine.html">00047</a> <span class="keyword">class </span><a class="code" href="class_m_s_p_b_s_l___c_r_c_engine.html">MSPBSL_CRCEngine</a> <a name="l00048"></a>00048 { <a name="l00049"></a>00049 <span class="keyword">public</span>: <a name="l00050"></a>00050 <a name="l00051"></a>00051 <a class="code" href="class_m_s_p_b_s_l___c_r_c_engine.html">MSPBSL_CRCEngine</a>(<span class="keywordtype">string</span> initString); <a name="l00052"></a>00052 <a name="l00053"></a>00053 ~<a class="code" href="class_m_s_p_b_s_l___c_r_c_engine.html">MSPBSL_CRCEngine</a>(<span class="keywordtype">void</span>); <a name="l00054"></a>00054 <a name="l00055"></a>00055 <span class="keywordtype">void</span> initEngine(uint16_t seed); <a name="l00056"></a>00056 <a name="l00057"></a>00057 <span class="keywordtype">void</span> addByte(uint8_t byte); <a name="l00058"></a>00058 <a name="l00059"></a>00059 <span class="keywordtype">void</span> addBytes(uint8_t* byte, uint16_t numBytes); <a name="l00060"></a>00060 <a name="l00061"></a>00061 uint16_t getLowByte(); <a name="l00062"></a>00062 <a name="l00063"></a>00063 uint16_t getHighByte(); <a name="l00064"></a>00064 <a name="l00065"></a>00065 uint16_t verify( uint8_t* buf, uint16_t numBytes, uint16_t crc ); <a name="l00066"></a>00066 }; <a name="l00067"></a>00067 </pre></div></div><!-- contents --> <hr size="1" /><small> Copyright 2012, Texas Instruments Incorporated</small> </body> </html>
doc/ModelSupport_OmniThreadLibrary_UML/OtlSync/IOmniSynchroObserver.html
VSoftTechnologies/OmniThreadLibrary
<html > <head ><STYLE TYPE="text/css">@import "../stylesheet.css";</STYLE><title ></title><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><script language='JavaScript'> function doClick(imageHref) { if (parent.imageFrame != null) parent.imageFrame.location.href = imageHref; } </script></head><table border='0' width='100%' cellpadding='1' cellspacing='0'> <tr > <td colspan='2' class='NavBarCellCommon'> <table border='0' cellpadding='0' cellspacing='3'> <tr align='center' valign='top'> <td class='NavBarCellCommon'> <a href='../overview-summary.html'> <font size='+1' class='NavBarFont1'> <b >Overview</b></font></a>&nbsp;</td><td class='NavBarCellCommon'> <a href='package-summary.html'> <font size='+1' class='NavBarFont1'> <b >Namespace</b></font></a>&nbsp;</td><td class='NavBarCellCommonRev'> <font size='+1' class='NavBarFont1'> <b >Classifier</b></font>&nbsp;</td><td class='NavBarCellCommon'> <font size='+1' class='NavBarFont1'>Tree</font>&nbsp;</td><td class='NavBarCellCommon'> <a href='../index-all.html'> <font size='+1' class='NavBarFont1'> <b >Index</b></font></a>&nbsp;</td><td class='NavBarCellCommon'> <a href='../help-doc.html'> <font size='+1' class='NavBarFont1'> <b >Help</b></font></a>&nbsp;</td></tr></table><td align='right' valign='top' rowspan='3'> <em ></em></td></td></tr><tr > <td class='NavBarCellPrevNext'> <font size='-2'><a href="../OtlSync/TInterlockedEx.html" target="classFrame" onclick="doClick('../OtlSync/doc-files/default.txvpck.html')">PREV </a> &nbsp;&nbsp;NEXT</font></td><td class='NavBarCellPrevNext'> <font size='-2'> <a href='../index.html' target='_top'> <b >FRAMES</b></a>&nbsp;<a href='../OtlSync/IOmniSynchroObserver.html' target='_top'> <b >NO FRAMES</b></a></font></td></tr><tr > <td valign='top' class='NavBarCell3'> <font size='-2'>SUMMARY:&nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;DESTR&nbsp;|&nbsp;<a href='#method_summary'>METHOD</a></font></td><td valign='top' class='NavBarCell3'> <font size='-2'>DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;DESTR&nbsp;|&nbsp;<a href='#method_detail'>METHOD</a></font></td></tr></table><hr /><h2 > <font size='-1'> <i >Namespace: </i>OtlSync<br /></font><br />Interface IOmniSynchroObserver</h2><hr /><dl > <dt />public&nbsp;interface <b >IOmniSynchroObserver</b></dl><p /><dl > <dt /><b >Persistent</b><dd >False</dd></dl><hr /><p /><a name='method_summary'/><table border='1' cellpadding='3' cellspacing='0' width='100%'> <tr class='TableHeaderStyle'> <td colspan='2'> <font size='+2'> <b >Method Summary</b></font></td></tr><tr class='TableRow'> <td align='right' valign='top' width='20%'> <font size='-1'> <code > &nbsp; public <b >Sub </b></code></font></td><td > <code > <b > <a href='../OtlSync/IOmniSynchroObserver.html#AfterSignal(TObject/TObject)'>AfterSignal</a></b>(Signaller: TObject; Data: TObject)</code><br />  </td></tr><tr class='TableRow'> <td align='right' valign='top' width='20%'> <font size='-1'> <code > &nbsp; public <b >Sub </b></code></font></td><td > <code > <b > <a href='../OtlSync/IOmniSynchroObserver.html#BeforeSignal(TObject/TObject)'>BeforeSignal</a></b>(Signaller: TObject; Data: TObject)</code><br />  </td></tr><tr class='TableRow'> <td align='right' valign='top' width='20%'> <font size='-1'> <code > &nbsp; public <b >Sub </b></code></font></td><td > <code > <b > <a href='../OtlSync/IOmniSynchroObserver.html#DereferenceSynchObj(TObject/Boolean)'>DereferenceSynchObj</a></b>(SynchObj: TObject; AllowInterface: boolean)</code><br />  </td></tr><tr class='TableRow'> <td align='right' valign='top' width='20%'> <font size='-1'> <code > &nbsp; public <b >Sub </b></code></font></td><td > <code > <b > <a href='../OtlSync/IOmniSynchroObserver.html#EnterGate()'>EnterGate</a></b>()</code><br />  </td></tr><tr class='TableRow'> <td align='right' valign='top' width='20%'> <font size='-1'> <code > &nbsp; public <b >Sub </b></code></font></td><td > <code > <b > <a href='../OtlSync/IOmniSynchroObserver.html#LeaveGate()'>LeaveGate</a></b>()</code><br />  </td></tr></table> <p /><p /><a name='method_detail'/><table border='1' cellpadding='3' cellspacing='0' width='100%'> <tr class='TableHeaderStyle'> <td colspan='2'> <font size='+2'> <b >Method Detail</b></font></td></tr></table><br /><a name='AfterSignal(TObject/TObject)'> <h3 >AfterSignal</h3></a><pre >public&nbsp;procedure AfterSignal(Signaller: TObject; Data: TObject)</pre><dl > <dt /><b >param</b><dd >Signaller must support IOmniSynchroObject.</dd></dl><dl > <dt /><b >Reintroduce</b><dd >False</dd></dl><hr /><a name='BeforeSignal(TObject/TObject)'> <h3 >BeforeSignal</h3></a><pre >public&nbsp;procedure BeforeSignal(Signaller: TObject; Data: TObject)</pre><dl > <dt /><b >param</b><dd >Signaller must support IOmniSynchroObject.</dd></dl><dl > <dt /><b >Reintroduce</b><dd >False</dd></dl><hr /><a name='DereferenceSynchObj(TObject/Boolean)'> <h3 >DereferenceSynchObj</h3></a><pre >public&nbsp;procedure DereferenceSynchObj(SynchObj: TObject; AllowInterface: boolean)</pre><dl > <dt /><b >param</b><dd >SynchObj must support IOmniSynchroObject.</dd></dl><dl > <dt /><b >Reintroduce</b><dd >False</dd></dl><hr /><a name='EnterGate()'> <h3 >EnterGate</h3></a><pre >public&nbsp;procedure EnterGate()</pre><dl > <dt /><b >Reintroduce</b><dd >False</dd></dl><hr /><a name='LeaveGate()'> <h3 >LeaveGate</h3></a><pre >public&nbsp;procedure LeaveGate()</pre><dl > <dt /><b >Reintroduce</b><dd >False</dd></dl><hr /><hr /><table border='0' width='100%' cellpadding='1' cellspacing='0'> <tr > <td colspan='2' class='NavBarCellCommon'> <table border='0' cellpadding='0' cellspacing='3'> <tr align='center' valign='top'> <td class='NavBarCellCommon'> <a href='../overview-summary.html'> <font size='+1' class='NavBarFont1'> <b >Overview</b></font></a>&nbsp;</td><td class='NavBarCellCommon'> <a href='package-summary.html'> <font size='+1' class='NavBarFont1'> <b >Namespace</b></font></a>&nbsp;</td><td class='NavBarCellCommonRev'> <font size='+1' class='NavBarFont1'> <b >Classifier</b></font>&nbsp;</td><td class='NavBarCellCommon'> <font size='+1' class='NavBarFont1'>Tree</font>&nbsp;</td><td class='NavBarCellCommon'> <a href='../index-all.html'> <font size='+1' class='NavBarFont1'> <b >Index</b></font></a>&nbsp;</td><td class='NavBarCellCommon'> <a href='../help-doc.html'> <font size='+1' class='NavBarFont1'> <b >Help</b></font></a>&nbsp;</td></tr></table><td align='right' valign='top' rowspan='3'> <em ></em></td></td></tr><tr > <td class='NavBarCellPrevNext'> <font size='-2'><a href="../OtlSync/TInterlockedEx.html" target="classFrame" onclick="doClick('../OtlSync/doc-files/default.txvpck.html')">PREV </a> &nbsp;&nbsp;NEXT</font></td><td class='NavBarCellPrevNext'> <font size='-2'> <a href='../index.html' target='_top'> <b >FRAMES</b></a>&nbsp;<a href='../OtlSync/IOmniSynchroObserver.html' target='_top'> <b >NO FRAMES</b></a></font></td></tr><tr > <td valign='top' class='NavBarCell3'> <font size='-2'>SUMMARY:&nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;DESTR&nbsp;|&nbsp;<a href='#method_summary'>METHOD</a></font></td><td valign='top' class='NavBarCell3'> <font size='-2'>DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;DESTR&nbsp;|&nbsp;<a href='#method_detail'>METHOD</a></font></td></tr></table><br /><p /></html>
votai_theme/templates/elections/compare_candidates.html
YoQuieroSaber/votai-theme
{% extends "elections/election_base.html" %} {% load i18n %} {% load thumbnail %} {% load votainteligente_extras %} {% load yqs_extras %} {% block title %} - {{election}} - {% trans "Frente a Frente"%}{% endblock title%} {% block last_breadcrumb %}{% trans "Frente a Frente"%}{% endblock last_breadcrumb %} {% block tab_facetoface %}class="active"{% endblock %} {% block mainelection %} <!-- face-to-face --> <div id="compare-candidates"> <div class="row"> {% if first_candidate.id and second_candidate.id %} <div class="col-md-12"> <div class="candidate-percentage-txt"> <p class="text-center"> {% trans "El porcentaje de similitud es" %} {{similitude|floatformat}}% </p> </div> </div> {% endif %} <div class="col-md-6"> <select data-placeholder="{% trans "Selecciona un candidato" %}" name="candidate_one" id="candidate_one" class="chosen-select" style="width:100%"> <option value=""></option> {% for candidato in election.candidates.all %} {% if second_candidate.id != candidato.id %} <option value="{{candidato.id}}" {% if candidato.id and candidato.id == first_candidate.id %}selected="selected"{% endif %}>{{candidato.name}} {% if candidato.did_not_pass_primaries == True %} (no superó las internas PASO){% endif %}</option> {% endif %} {% endfor %} <i class="icon-chevron-down"></i> </select> </div> <div class="col-md-6"> <select data-placeholder="{% trans "Selecciona un candidato" %}" name="candidate_two" id="candidate_two" class="chosen-select" style="width:100%"> <option value=""></option> {% for candidato in election.candidates.all %} {% if first_candidate.id != candidato.id %} <option value="{{candidato.id}}" {% if candidato.id and candidato.id == second_candidate.id %}selected="selected"{% endif %}>{{candidato.name}} {% if candidato.did_not_pass_primaries == True %} (no superó las internas PASO){% endif %}</option> {% endif %} {% endfor %} </select> </div> </div> <!-- hidden for small devices --> <div class="hidden-xs"> {% if first_candidate.id and second_candidate.id %} {% for category in election.categories.all %} <div class="panel panel-default"> <div class="panel-heading" id="{{category.slug}}">{{category.name}} {% if candidato.did_not_pass_primaries == True %} (no superó las internas PASO){% endif %}</div> <div class="panel-body"> {% for topic in category.topics.all %} <div class="row"> <div class="col-md-12"> <p class="question">{{ topic.label }}</p> </div> </div> <div class="row"> <div class="col-md-6"> <div class="fondo-blanco contenedor"> <p class="answer"> {% get_taken_position_for topic first_candidate only_text=True %} </p> <p class="text-right"> {% if first_candidate.image %} {% thumbnail first_candidate.image "35x35" crop="center" format="PNG" as im %} <a href="{% url 'candidate_detail_view' election_slug=election.slug slug=first_candidate.id %}" title="Ver perfil completo de {{first_candidate.name}}"><img src="{{im.url}}" height="35" width="35" alt="{{first_candidate.name}}" border="0" class="img-responsive" title="{{first_candidate.name}}" style="display: inline; background-color: {% candidate_extra_info first_candidate 'color' %} "></a> {% endthumbnail %} {% endif %} {{ first_candidate.name }}</p> </div> </div> <div class="col-md-6"> <div class="fondo-blanco contenedor"> <p class="answer"> {% get_taken_position_for topic second_candidate only_text=True %} </p> <p class="text-right"> {% if second_candidate.image %} {% thumbnail second_candidate.image "35x35" crop="center" format="PNG" as im %} <a href="{% url 'candidate_detail_view' election_slug=election.slug slug=second_candidate.id %}" title="Ver perfil completo de {{second_candidate.name}}"><img src="{{im.url}}" height="35" width="35" alt="{{second_candidate.name}}" border="0" class="img-responsive" title="{{second_candidate.name}}" style="display: inline; background-color: {% candidate_extra_info second_candidate 'color' %} "></a> {% endthumbnail %} {% endif %} {{ second_candidate.name }} </p> </div> </div> </div> {% endfor %} </div> </div> {% endfor %} {% else %} <div class="alert alert-info">{% trans "Aquí se mostraran las diferencias y similitudes entre los candidatos que selecciones." %}</div> {% endif %} </div> <!-- EOF hidden for small devices --> <!-- display only for small devices --> <div class="visible-xs"> {% if first_candidate.id and second_candidate.id %} {% for category in election.categories.all %} <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title">{{category.name}}</h3> </div> {% if first_candidate.id and second_candidate.id %} <div class="panel-body"> {% for topic in category.topics.all %} <h3 class="panel-title">{{ topic.label }}</h3> <div class="response-candidate-one"> <p> {% get_taken_position_for topic first_candidate %} </p> <p class="text-right"><small>{{ first_candidate.name }}</small></p> </div> <div class="response-candidate-two"> <p> {% get_taken_position_for topic second_candidate %} </p> <p class="text-right"><small>{{ second_candidate.name }}</small></p> </div> {% endfor %} </div> {% endif %} </div> {% endfor %} {% else %} <div class="alert alert-info">{% trans "Aquí se mostraran las diferencias y similitudes entre los candidatos que selecciones." %}</div> {% endif %} </div> <!-- display only for small devices --> </div> <!-- eof face-to-face --> {% endblock mainelection %}
tracing/tracing/ui/analysis/single_frame_sub_view.html
catapult-project/catapult-csm
<!DOCTYPE html> <!-- Copyright (c) 2015 The Chromium Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. --> <link rel="import" href="/tracing/base/iteration_helpers.html"> <link rel="import" href="/tracing/ui/analysis/alert_sub_view.html"> <link rel="import" href="/tracing/ui/analysis/analysis_sub_view.html"> <dom-module id='tr-ui-a-single-frame-sub-view'> <template> <style> :host { display: flex; flex-direction: column; } #asv { flex: 0 0 auto; align-self: stretch; } </style> <tr-ui-a-alert-sub-view id="asv"> </tr-ui-a-alert-sub-view> </template> </dom-module> <script> 'use strict'; Polymer({ is: 'tr-ui-a-single-frame-sub-view', behaviors: [tr.ui.analysis.AnalysisSubView], ready() { this.currentSelection_ = undefined; }, get selection() { return this.currentSelection_; }, set selection(selection) { this.currentSelection_ = selection; this.$.asv.selection = tr.b.getOnlyElement(selection).associatedAlerts; }, get relatedEventsToHighlight() { if (!this.currentSelection_) return undefined; return tr.b.getOnlyElement(this.currentSelection_).associatedEvents; } }); tr.ui.analysis.AnalysisSubView.register( 'tr-ui-a-single-frame-sub-view', tr.model.Frame, { multi: false, title: 'Frame', }); </script>
frontend/themes/football/assets/fonts/font-awesome.min.css
man780/futbol
@font-face{font-family:'FontAwesome';src:url('fontawesome-webfont.eot?v=3.2.1');src:url('fontawesome-webfont.eot?#iefix&v=3.2.1') format('embedded-opentype'),url('fontawesome-webfont.woff?v=3.2.1') format('woff'),url('fontawesome-webfont.ttf?v=3.2.1') format('truetype'),url('fontawesome-webfont.svg#fontawesomeregular?v=3.2.1') format('svg');font-weight:normal;font-style:normal;}[class^="icon-"],[class*=" icon-"]{font-family:FontAwesome;font-weight:normal;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;*margin-right:.3em;} [class^="icon-"]:before,[class*=" icon-"]:before{text-decoration:inherit;display:inline-block;speak:none;} .icon-large:before{vertical-align:-10%;font-size:1.3333333333333333em;} [class^="icon-"].icon-fixed-width,[class*=" icon-"].icon-fixed-width{display:inline-block;width:1.1428571428571428em;text-align:right;padding-right:0.2857142857142857em;}[class^="icon-"].icon-fixed-width.icon-large,[class*=" icon-"].icon-fixed-width.icon-large{width:1.4285714285714286em;} .icons-ul{margin-left:2.142857142857143em;list-style-type:none;}.icons-ul>li{position:relative;} .icons-ul .icon-li{position:absolute;left:-2.142857142857143em;width:2.142857142857143em;text-align:center;line-height:inherit;} [class^="icon-"].hide,[class*=" icon-"].hide{display:none;} .icon-muted{color:#eeeeee;} .icon-light{color:#ffffff;} .icon-dark{color:#333333;} .icon-border{border:solid 1px #eeeeee;padding:.2em .25em .15em;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;} .icon-2x{font-size:2em;}.icon-2x.icon-border{border-width:2px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;} .icon-3x{font-size:3em;}.icon-3x.icon-border{border-width:3px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;} .icon-4x{font-size:4em;}.icon-4x.icon-border{border-width:4px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;} .icon-5x{font-size:5em;}.icon-5x.icon-border{border-width:5px;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;} .pull-right{float:right;} .pull-left{float:left;} [class^="icon-"].pull-left,[class*=" icon-"].pull-left{margin-right:.3em;} [class^="icon-"].pull-right,[class*=" icon-"].pull-right{margin-left:.3em;} [class^="icon-"],[class*=" icon-"]{display:inline;width:auto;height:auto;line-height:normal;vertical-align:baseline;background-image:none;background-position:0% 0%;background-repeat:repeat;margin-top:0;} .icon-white,.nav-pills>.active>a>[class^="icon-"],.nav-pills>.active>a>[class*=" icon-"],.nav-list>.active>a>[class^="icon-"],.nav-list>.active>a>[class*=" icon-"],.navbar-inverse .nav>.active>a>[class^="icon-"],.navbar-inverse .nav>.active>a>[class*=" icon-"],.dropdown-menu>li>a:hover>[class^="icon-"],.dropdown-menu>li>a:hover>[class*=" icon-"],.dropdown-menu>.active>a>[class^="icon-"],.dropdown-menu>.active>a>[class*=" icon-"],.dropdown-submenu:hover>a>[class^="icon-"],.dropdown-submenu:hover>a>[class*=" icon-"]{background-image:none;} .btn [class^="icon-"].icon-large,.nav [class^="icon-"].icon-large,.btn [class*=" icon-"].icon-large,.nav [class*=" icon-"].icon-large{line-height:.9em;} .btn [class^="icon-"].icon-spin,.nav [class^="icon-"].icon-spin,.btn [class*=" icon-"].icon-spin,.nav [class*=" icon-"].icon-spin{display:inline-block;} .nav-tabs [class^="icon-"],.nav-pills [class^="icon-"],.nav-tabs [class*=" icon-"],.nav-pills [class*=" icon-"],.nav-tabs [class^="icon-"].icon-large,.nav-pills [class^="icon-"].icon-large,.nav-tabs [class*=" icon-"].icon-large,.nav-pills [class*=" icon-"].icon-large{line-height:.9em;} .btn [class^="icon-"].pull-left.icon-2x,.btn [class*=" icon-"].pull-left.icon-2x,.btn [class^="icon-"].pull-right.icon-2x,.btn [class*=" icon-"].pull-right.icon-2x{margin-top:.18em;} .btn [class^="icon-"].icon-spin.icon-large,.btn [class*=" icon-"].icon-spin.icon-large{line-height:.8em;} .btn.btn-small [class^="icon-"].pull-left.icon-2x,.btn.btn-small [class*=" icon-"].pull-left.icon-2x,.btn.btn-small [class^="icon-"].pull-right.icon-2x,.btn.btn-small [class*=" icon-"].pull-right.icon-2x{margin-top:.25em;} .btn.btn-large [class^="icon-"],.btn.btn-large [class*=" icon-"]{margin-top:0;}.btn.btn-large [class^="icon-"].pull-left.icon-2x,.btn.btn-large [class*=" icon-"].pull-left.icon-2x,.btn.btn-large [class^="icon-"].pull-right.icon-2x,.btn.btn-large [class*=" icon-"].pull-right.icon-2x{margin-top:.05em;} .btn.btn-large [class^="icon-"].pull-left.icon-2x,.btn.btn-large [class*=" icon-"].pull-left.icon-2x{margin-right:.2em;} .btn.btn-large [class^="icon-"].pull-right.icon-2x,.btn.btn-large [class*=" icon-"].pull-right.icon-2x{margin-left:.2em;} .nav-list [class^="icon-"],.nav-list [class*=" icon-"]{line-height:inherit;} .icon-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:-35%;}.icon-stack [class^="icon-"],.icon-stack [class*=" icon-"]{display:block;text-align:center;position:absolute;width:100%;height:100%;font-size:1em;line-height:inherit;*line-height:2em;} .icon-stack .icon-stack-base{font-size:2em;*line-height:1em;} .icon-spin{display:inline-block;-moz-animation:spin 2s infinite linear;-o-animation:spin 2s infinite linear;-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear;} a .icon-stack,a .icon-spin{display:inline-block;text-decoration:none;} @-moz-keyframes spin{0%{-moz-transform:rotate(0deg);} 100%{-moz-transform:rotate(359deg);}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);} 100%{-webkit-transform:rotate(359deg);}}@-o-keyframes spin{0%{-o-transform:rotate(0deg);} 100%{-o-transform:rotate(359deg);}}@-ms-keyframes spin{0%{-ms-transform:rotate(0deg);} 100%{-ms-transform:rotate(359deg);}}@keyframes spin{0%{transform:rotate(0deg);} 100%{transform:rotate(359deg);}}.icon-rotate-90:before{-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);} .icon-rotate-180:before{-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);} .icon-rotate-270:before{-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);-ms-transform:rotate(270deg);-o-transform:rotate(270deg);transform:rotate(270deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);} .icon-flip-horizontal:before{-webkit-transform:scale(-1, 1);-moz-transform:scale(-1, 1);-ms-transform:scale(-1, 1);-o-transform:scale(-1, 1);transform:scale(-1, 1);} .icon-flip-vertical:before{-webkit-transform:scale(1, -1);-moz-transform:scale(1, -1);-ms-transform:scale(1, -1);-o-transform:scale(1, -1);transform:scale(1, -1);} a .icon-rotate-90:before,a .icon-rotate-180:before,a .icon-rotate-270:before,a .icon-flip-horizontal:before,a .icon-flip-vertical:before{display:inline-block;} .icon-glass:before{content:"\f000";} .icon-music:before{content:"\f001";} .icon-search:before{content:"\f002";} .icon-envelope-alt:before{content:"\f003";} .icon-heart:before{content:"\f004";} .icon-star:before{content:"\f005";} .icon-star-empty:before{content:"\f006";} .icon-user:before{content:"\f007";} .icon-film:before{content:"\f008";} .icon-th-large:before{content:"\f009";} .icon-th:before{content:"\f00a";} .icon-th-list:before{content:"\f00b";} .icon-ok:before{content:"\f00c";} .icon-remove:before{content:"\f00d";} .icon-zoom-in:before{content:"\f00e";} .icon-zoom-out:before{content:"\f010";} .icon-power-off:before,.icon-off:before{content:"\f011";} .icon-signal:before{content:"\f012";} .icon-gear:before,.icon-cog:before{content:"\f013";} .icon-trash:before{content:"\f014";} .icon-home:before{content:"\f015";} .icon-file-alt:before{content:"\f016";} .icon-time:before{content:"\f017";} .icon-road:before{content:"\f018";} .icon-download-alt:before{content:"\f019";} .icon-download:before{content:"\f01a";} .icon-upload:before{content:"\f01b";} .icon-inbox:before{content:"\f01c";} .icon-play-circle:before{content:"\f01d";} .icon-rotate-right:before,.icon-repeat:before{content:"\f01e";} .icon-refresh:before{content:"\f021";} .icon-list-alt:before{content:"\f022";} .icon-lock:before{content:"\f023";} .icon-flag:before{content:"\f024";} .icon-headphones:before{content:"\f025";} .icon-volume-off:before{content:"\f026";} .icon-volume-down:before{content:"\f027";} .icon-volume-up:before{content:"\f028";} .icon-qrcode:before{content:"\f029";} .icon-barcode:before{content:"\f02a";} .icon-tag:before{content:"\f02b";} .icon-tags:before{content:"\f02c";} .icon-book:before{content:"\f02d";} .icon-bookmark:before{content:"\f02e";} .icon-print:before{content:"\f02f";} .icon-camera:before{content:"\f030";} .icon-font:before{content:"\f031";} .icon-bold:before{content:"\f032";} .icon-italic:before{content:"\f033";} .icon-text-height:before{content:"\f034";} .icon-text-width:before{content:"\f035";} .icon-align-left:before{content:"\f036";} .icon-align-center:before{content:"\f037";} .icon-align-right:before{content:"\f038";} .icon-align-justify:before{content:"\f039";} .icon-list:before{content:"\f03a";} .icon-indent-left:before{content:"\f03b";} .icon-indent-right:before{content:"\f03c";} .icon-facetime-video:before{content:"\f03d";} .icon-picture:before{content:"\f03e";} .icon-pencil:before{content:"\f040";} .icon-map-marker:before{content:"\f041";} .icon-adjust:before{content:"\f042";} .icon-tint:before{content:"\f043";} .icon-edit:before{content:"\f044";} .icon-share:before{content:"\f045";} .icon-check:before{content:"\f046";} .icon-move:before{content:"\f047";} .icon-step-backward:before{content:"\f048";} .icon-fast-backward:before{content:"\f049";} .icon-backward:before{content:"\f04a";} .icon-play:before{content:"\f04b";} .icon-pause:before{content:"\f04c";} .icon-stop:before{content:"\f04d";} .icon-forward:before{content:"\f04e";} .icon-fast-forward:before{content:"\f050";} .icon-step-forward:before{content:"\f051";} .icon-eject:before{content:"\f052";} .icon-chevron-left:before{content:"\f053";} .icon-chevron-right:before{content:"\f054";} .icon-plus-sign:before{content:"\f055";} .icon-minus-sign:before{content:"\f056";} .icon-remove-sign:before{content:"\f057";} .icon-ok-sign:before{content:"\f058";} .icon-question-sign:before{content:"\f059";} .icon-info-sign:before{content:"\f05a";} .icon-screenshot:before{content:"\f05b";} .icon-remove-circle:before{content:"\f05c";} .icon-ok-circle:before{content:"\f05d";} .icon-ban-circle:before{content:"\f05e";} .icon-arrow-left:before{content:"\f060";} .icon-arrow-right:before{content:"\f061";} .icon-arrow-up:before{content:"\f062";} .icon-arrow-down:before{content:"\f063";} .icon-mail-forward:before,.icon-share-alt:before{content:"\f064";} .icon-resize-full:before{content:"\f065";} .icon-resize-small:before{content:"\f066";} .icon-plus:before{content:"\f067";} .icon-minus:before{content:"\f068";} .icon-asterisk:before{content:"\f069";} .icon-exclamation-sign:before{content:"\f06a";} .icon-gift:before{content:"\f06b";} .icon-leaf:before{content:"\f06c";} .icon-fire:before{content:"\f06d";} .icon-eye-open:before{content:"\f06e";} .icon-eye-close:before{content:"\f070";} .icon-warning-sign:before{content:"\f071";} .icon-plane:before{content:"\f072";} .icon-calendar:before{content:"\f073";} .icon-random:before{content:"\f074";} .icon-magnet:before{content:"\f076";} .icon-chevron-up:before{content:"\f077";} .icon-chevron-down:before{content:"\f078";} .icon-retweet:before{content:"\f079";} .icon-shopping-cart:before{content:"\f07a";} .icon-folder-close:before{content:"\f07b";} .icon-folder-open:before{content:"\f07c";} .icon-resize-vertical:before{content:"\f07d";} .icon-resize-horizontal:before{content:"\f07e";} .icon-bar-chart:before{content:"\f080";} .icon-twitter-sign:before{content:"\f081";} .icon-facebook-sign:before{content:"\f082";} .icon-camera-retro:before{content:"\f083";} .icon-key:before{content:"\f084";} .icon-gears:before,.icon-cogs:before{content:"\f085";} .icon-comments:before{content:"\f086";} .icon-thumbs-up-alt:before{content:"\f087";} .icon-thumbs-down-alt:before{content:"\f088";} .icon-star-half:before{content:"\f089";} .icon-heart-empty:before{content:"\f08a";} .icon-signout:before{content:"\f08b";} .icon-linkedin-sign:before{content:"\f08c";} .icon-pushpin:before{content:"\f08d";} .icon-external-link:before{content:"\f08e";} .icon-signin:before{content:"\f090";} .icon-trophy:before{content:"\f091";} .icon-github-sign:before{content:"\f092";} .icon-upload-alt:before{content:"\f093";} .icon-lemon:before{content:"\f094";} .icon-phone:before{content:"\f095";} .icon-unchecked:before,.icon-check-empty:before{content:"\f096";} .icon-bookmark-empty:before{content:"\f097";} .icon-phone-sign:before{content:"\f098";} .icon-twitter:before{content:"\f099";} .icon-facebook:before{content:"\f09a";} .icon-github:before{content:"\f09b";} .icon-unlock:before{content:"\f09c";} .icon-credit-card:before{content:"\f09d";} .icon-rss:before{content:"\f09e";} .icon-hdd:before{content:"\f0a0";} .icon-bullhorn:before{content:"\f0a1";} .icon-bell:before{content:"\f0a2";} .icon-certificate:before{content:"\f0a3";} .icon-hand-right:before{content:"\f0a4";} .icon-hand-left:before{content:"\f0a5";} .icon-hand-up:before{content:"\f0a6";} .icon-hand-down:before{content:"\f0a7";} .icon-circle-arrow-left:before{content:"\f0a8";} .icon-circle-arrow-right:before{content:"\f0a9";} .icon-circle-arrow-up:before{content:"\f0aa";} .icon-circle-arrow-down:before{content:"\f0ab";} .icon-globe:before{content:"\f0ac";} .icon-wrench:before{content:"\f0ad";} .icon-tasks:before{content:"\f0ae";} .icon-filter:before{content:"\f0b0";} .icon-briefcase:before{content:"\f0b1";} .icon-fullscreen:before{content:"\f0b2";} .icon-group:before{content:"\f0c0";} .icon-link:before{content:"\f0c1";} .icon-cloud:before{content:"\f0c2";} .icon-beaker:before{content:"\f0c3";} .icon-cut:before{content:"\f0c4";} .icon-copy:before{content:"\f0c5";} .icon-paperclip:before,.icon-paper-clip:before{content:"\f0c6";} .icon-save:before{content:"\f0c7";} .icon-sign-blank:before{content:"\f0c8";} .icon-reorder:before{content:"\f0c9";} .icon-list-ul:before{content:"\f0ca";} .icon-list-ol:before{content:"\f0cb";} .icon-strikethrough:before{content:"\f0cc";} .icon-underline:before{content:"\f0cd";} .icon-table:before{content:"\f0ce";} .icon-magic:before{content:"\f0d0";} .icon-truck:before{content:"\f0d1";} .icon-pinterest:before{content:"\f0d2";} .icon-pinterest-sign:before{content:"\f0d3";} .icon-google-plus-sign:before{content:"\f0d4";} .icon-google-plus:before{content:"\f0d5";} .icon-money:before{content:"\f0d6";} .icon-caret-down:before{content:"\f0d7";} .icon-caret-up:before{content:"\f0d8";} .icon-caret-left:before{content:"\f0d9";} .icon-caret-right:before{content:"\f0da";} .icon-columns:before{content:"\f0db";} .icon-sort:before{content:"\f0dc";} .icon-sort-down:before{content:"\f0dd";} .icon-sort-up:before{content:"\f0de";} .icon-envelope:before{content:"\f0e0";} .icon-linkedin:before{content:"\f0e1";} .icon-rotate-left:before,.icon-undo:before{content:"\f0e2";} .icon-legal:before{content:"\f0e3";} .icon-dashboard:before{content:"\f0e4";} .icon-comment-alt:before{content:"\f0e5";} .icon-comments-alt:before{content:"\f0e6";} .icon-bolt:before{content:"\f0e7";} .icon-sitemap:before{content:"\f0e8";} .icon-umbrella:before{content:"\f0e9";} .icon-paste:before{content:"\f0ea";} .icon-lightbulb:before{content:"\f0eb";} .icon-exchange:before{content:"\f0ec";} .icon-cloud-download:before{content:"\f0ed";} .icon-cloud-upload:before{content:"\f0ee";} .icon-user-md:before{content:"\f0f0";} .icon-stethoscope:before{content:"\f0f1";} .icon-suitcase:before{content:"\f0f2";} .icon-bell-alt:before{content:"\f0f3";} .icon-coffee:before{content:"\f0f4";} .icon-food:before{content:"\f0f5";} .icon-file-text-alt:before{content:"\f0f6";} .icon-building:before{content:"\f0f7";} .icon-hospital:before{content:"\f0f8";} .icon-ambulance:before{content:"\f0f9";} .icon-medkit:before{content:"\f0fa";} .icon-fighter-jet:before{content:"\f0fb";} .icon-beer:before{content:"\f0fc";} .icon-h-sign:before{content:"\f0fd";} .icon-plus-sign-alt:before{content:"\f0fe";} .icon-double-angle-left:before{content:"\f100";} .icon-double-angle-right:before{content:"\f101";} .icon-double-angle-up:before{content:"\f102";} .icon-double-angle-down:before{content:"\f103";} .icon-angle-left:before{content:"\f104";} .icon-angle-right:before{content:"\f105";} .icon-angle-up:before{content:"\f106";} .icon-angle-down:before{content:"\f107";} .icon-desktop:before{content:"\f108";} .icon-laptop:before{content:"\f109";} .icon-tablet:before{content:"\f10a";} .icon-mobile-phone:before{content:"\f10b";} .icon-circle-blank:before{content:"\f10c";} .icon-quote-left:before{content:"\f10d";} .icon-quote-right:before{content:"\f10e";} .icon-spinner:before{content:"\f110";} .icon-circle:before{content:"\f111";} .icon-mail-reply:before,.icon-reply:before{content:"\f112";} .icon-github-alt:before{content:"\f113";} .icon-folder-close-alt:before{content:"\f114";} .icon-folder-open-alt:before{content:"\f115";} .icon-expand-alt:before{content:"\f116";} .icon-collapse-alt:before{content:"\f117";} .icon-smile:before{content:"\f118";} .icon-frown:before{content:"\f119";} .icon-meh:before{content:"\f11a";} .icon-gamepad:before{content:"\f11b";} .icon-keyboard:before{content:"\f11c";} .icon-flag-alt:before{content:"\f11d";} .icon-flag-checkered:before{content:"\f11e";} .icon-terminal:before{content:"\f120";} .icon-code:before{content:"\f121";} .icon-reply-all:before{content:"\f122";} .icon-mail-reply-all:before{content:"\f122";} .icon-star-half-full:before,.icon-star-half-empty:before{content:"\f123";} .icon-location-arrow:before{content:"\f124";} .icon-crop:before{content:"\f125";} .icon-code-fork:before{content:"\f126";} .icon-unlink:before{content:"\f127";} .icon-question:before{content:"\f128";} .icon-info:before{content:"\f129";} .icon-exclamation:before{content:"\f12a";} .icon-superscript:before{content:"\f12b";} .icon-subscript:before{content:"\f12c";} .icon-eraser:before{content:"\f12d";} .icon-puzzle-piece:before{content:"\f12e";} .icon-microphone:before{content:"\f130";} .icon-microphone-off:before{content:"\f131";} .icon-shield:before{content:"\f132";} .icon-calendar-empty:before{content:"\f133";} .icon-fire-extinguisher:before{content:"\f134";} .icon-rocket:before{content:"\f135";} .icon-maxcdn:before{content:"\f136";} .icon-chevron-sign-left:before{content:"\f137";} .icon-chevron-sign-right:before{content:"\f138";} .icon-chevron-sign-up:before{content:"\f139";} .icon-chevron-sign-down:before{content:"\f13a";} .icon-html5:before{content:"\f13b";} .icon-css3:before{content:"\f13c";} .icon-anchor:before{content:"\f13d";} .icon-unlock-alt:before{content:"\f13e";} .icon-bullseye:before{content:"\f140";} .icon-ellipsis-horizontal:before{content:"\f141";} .icon-ellipsis-vertical:before{content:"\f142";} .icon-rss-sign:before{content:"\f143";} .icon-play-sign:before{content:"\f144";} .icon-ticket:before{content:"\f145";} .icon-minus-sign-alt:before{content:"\f146";} .icon-check-minus:before{content:"\f147";} .icon-level-up:before{content:"\f148";} .icon-level-down:before{content:"\f149";} .icon-check-sign:before{content:"\f14a";} .icon-edit-sign:before{content:"\f14b";} .icon-external-link-sign:before{content:"\f14c";} .icon-share-sign:before{content:"\f14d";} .icon-compass:before{content:"\f14e";} .icon-collapse:before{content:"\f150";} .icon-collapse-top:before{content:"\f151";} .icon-expand:before{content:"\f152";} .icon-euro:before,.icon-eur:before{content:"\f153";} .icon-gbp:before{content:"\f154";} .icon-dollar:before,.icon-usd:before{content:"\f155";} .icon-rupee:before,.icon-inr:before{content:"\f156";} .icon-yen:before,.icon-jpy:before{content:"\f157";} .icon-renminbi:before,.icon-cny:before{content:"\f158";} .icon-won:before,.icon-krw:before{content:"\f159";} .icon-bitcoin:before,.icon-btc:before{content:"\f15a";} .icon-file:before{content:"\f15b";} .icon-file-text:before{content:"\f15c";} .icon-sort-by-alphabet:before{content:"\f15d";} .icon-sort-by-alphabet-alt:before{content:"\f15e";} .icon-sort-by-attributes:before{content:"\f160";} .icon-sort-by-attributes-alt:before{content:"\f161";} .icon-sort-by-order:before{content:"\f162";} .icon-sort-by-order-alt:before{content:"\f163";} .icon-thumbs-up:before{content:"\f164";} .icon-thumbs-down:before{content:"\f165";} .icon-youtube-sign:before{content:"\f166";} .icon-youtube:before{content:"\f167";} .icon-xing:before{content:"\f168";} .icon-xing-sign:before{content:"\f169";} .icon-youtube-play:before{content:"\f16a";} .icon-dropbox:before{content:"\f16b";} .icon-stackexchange:before{content:"\f16c";} .icon-instagram:before{content:"\f16d";} .icon-flickr:before{content:"\f16e";} .icon-adn:before{content:"\f170";} .icon-bitbucket:before{content:"\f171";} .icon-bitbucket-sign:before{content:"\f172";} .icon-tumblr:before{content:"\f173";} .icon-tumblr-sign:before{content:"\f174";} .icon-long-arrow-down:before{content:"\f175";} .icon-long-arrow-up:before{content:"\f176";} .icon-long-arrow-left:before{content:"\f177";} .icon-long-arrow-right:before{content:"\f178";} .icon-apple:before{content:"\f179";} .icon-windows:before{content:"\f17a";} .icon-android:before{content:"\f17b";} .icon-linux:before{content:"\f17c";} .icon-dribbble:before{content:"\f17d";} .icon-skype:before{content:"\f17e";} .icon-foursquare:before{content:"\f180";} .icon-trello:before{content:"\f181";} .icon-female:before{content:"\f182";} .icon-male:before{content:"\f183";} .icon-gittip:before{content:"\f184";} .icon-sun:before{content:"\f185";} .icon-moon:before{content:"\f186";} .icon-archive:before{content:"\f187";} .icon-bug:before{content:"\f188";} .icon-vk:before{content:"\f189";} .icon-weibo:before{content:"\f18a";} .icon-renren:before{content:"\f18b";}
docs/html/classlitesql_1_1Not.html
psychobob666/litesql
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>LiteSQL: litesql::Not Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.6 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main&nbsp;Page</span></a></li> <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li> <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li> <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li> </ul> </div> <div class="navpath"><b>litesql</b>::<a class="el" href="classlitesql_1_1Not.html">Not</a> </div> </div> <div class="contents"> <h1>litesql::Not Class Reference</h1><!-- doxytag: class="litesql::Not" --><!-- doxytag: inherits="litesql::Expr" -->negates expression <a href="#_details">More...</a> <p> <code>#include &lt;<a class="el" href="expr_8hpp-source.html">expr.hpp</a>&gt;</code> <p> <div class="dynheader"> Inheritance diagram for litesql::Not:</div> <div class="dynsection"> <p><center><img src="classlitesql_1_1Not__inherit__graph.png" border="0" usemap="#litesql_1_1Not__inherit__map" alt="Inheritance graph"></center> <map name="litesql_1_1Not__inherit__map"> base refererrect $classlitesql_1_1Expr.html 8,9 98,33</map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <div class="dynheader"> Collaboration diagram for litesql::Not:</div> <div class="dynsection"> <p><center><img src="classlitesql_1_1Not__coll__graph.png" border="0" usemap="#litesql_1_1Not__coll__map" alt="Collaboration graph"></center> <map name="litesql_1_1Not__coll__map"> base refererrect $classlitesql_1_1Expr.html 8,100 98,124rect $classlitesql_1_1Split.html 9,9 97,33</map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="classlitesql_1_1Not-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d72173c6c37184225e1ebb5b89190d56"></a><!-- doxytag: member="litesql::Not::Not" ref="d72173c6c37184225e1ebb5b89190d56" args="(const Expr &amp;_exp)" --> &nbsp;</td><td class="memItemRight" valign="bottom"><b>Not</b> (const <a class="el" href="classlitesql_1_1Expr.html">Expr</a> &amp;_exp)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5e335f2b66154413b7747922c354b414"></a><!-- doxytag: member="litesql::Not::asString" ref="5e335f2b66154413b7747922c354b414" args="() const " --> virtual string&nbsp;</td><td class="memItemRight" valign="bottom"><b>asString</b> () const </td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> negates expression <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="expr_8hpp-source.html">expr.hpp</a></ul> </div> <hr /> <a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=113304&amp;type=2" width="125" height="37" border="0" alt="SourceForge.net Logo" /></a>
static/plugin/jquery-mobile/docs/toolbars/bars-fullscreen.html
madeinnordeste/open-rsvp
<!DOCTYPE html> <html class="ui-mobile-rendering"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>jQuery Mobile Framework - Fullscreen Fixed toolbars</title> <link rel="stylesheet" href="../../css/themes/default/jquery.mobile.css" /> <link rel="stylesheet" href="../_assets/css/jqm-docs.css"/> <script data-main="../../js/jquery.mobile.docs" src="../../external/requirejs/require.js"></script> <script src="../../js/jquery.js"></script> </head> <body> <div data-role="page" class="type-interior"> <div data-role="header" data-position="fixed" data-theme="f" data-fullscreen="true"> <h1>Fullscreen fixed header</h1> <a href="../../" data-icon="home" data-iconpos="notext" data-direction="reverse" class="ui-btn-right jqm-home">Home</a> </div> <div data-role="content"> <div class="content-primary"> <img src="images/photo-run.jpeg" alt="Photo Run"> <p class="ui-body">This page demonstrates the "fullscreen" toolbar mode. This toolbar treatment is used in special cases where you want the content to fill the whole screen, and you want the header and footer toolbars to appear and disappear when the page is clicked responsively &mdash; a common scenario for photo, image or video viewers.</p> <p class="ui-body">To enable this toolbar feature type, you apply a <code>data-fullscreen="true"</code> attribute to the <code>div</code> container that has the attribute <code>data-role="page"</code>, and the <code>data-position="fixed"</code> attribute to both the header and footer <code>div</code> elements. </p> <p class="ui-body">Keep in mind that the toolbars in this mode will sit <strong>over</strong> page content, so not all content will be accessible with the toolbars open, just as shown in this demo.</p> </div><!--/content-primary --> <div class="content-secondary"> <div data-role="collapsible" data-collapsed="true" data-theme="b" data-content-theme="d"> <h3>More in this section</h3> <ul data-role="listview" data-theme="c" data-dividertheme="d"> <li data-role="list-divider">Toolbars</li> <li><a href="docs-bars.html">Toolbar basics</a></li> <li><a href="docs-headers.html">Header bars</a></li> <li><a href="docs-footers.html">Footer bars</a></li> <li><a href="docs-navbar.html">Navbars</a></li> <li data-theme="a"><a href="bars-fixed.html">Fixed positioning</a></li> <li><a href="footer-persist-a.html">Persistent toolbars</a></li> <li><a href="bars-themes.html">Theming toolbars</a></li> </ul> </div> </div> </div><!-- /content --> <div data-role="footer" class="footer-docs" data-theme="a" data-position="fixed" data-fullscreen="true"> <h1>Fullscreen Fixed Footer</h1> </div> </div><!-- /page --> </body> </html>
public/js/dwz-ria/themes/azure/style.css
wnow20/artpartner
@charset "utf-8"; /* Icon */ .tabsHeader li.main a span span, #taskbar li .taskbutton span { background:url(images/icon.png) no-repeat;} /* Panel */ .panel, .panel .panelHeader, .panel .panelHeaderContent, .panel .panelHeaderContent h1, .panel .panelFooter, .panel .panelFooterContent { background:url(images/panel/panel.png) no-repeat;} .panel .expandable, .panel .collapsable { background:url(images/panel/panel_icon.png) no-repeat;} .panel .panelHeaderContent h1 { color:#15428B; } .panel .panelContent { border-color:#99bbe8; background:#e4ebf6;} .panel .grid { border-color:#99bbe8;} /* Tabs */ .tabs, .tabsHeader, .tabsHeaderContent, .tabs .tabsHeader ul, .tabs .tabsHeader li, .tabs .tabsHeader li a, .tabs .tabsHeader li span, .tabs .tabsFooter, .tabs .tabsFooterContent { background:url(images/tabs/tabspanel.png) no-repeat;} .tabs .tabsHeader li a { color:#03408b;} .tabs .tabsHeader li span { color:#15428B;} .tabs .tabsContent { border-color:#99bbe8; background:#e4ebf6;} /* TabsPage */ .tabsPage .tabsPageHeader, .tabsPage .tabsPageHeader li, .tabsPage .tabsPageHeader li a, .tabsPage .tabsPageHeader li span { background:url(images/tabs/tabspage.png) no-repeat;} .tabsPage .tabsPageHeader { background-color:#e9f0f2;} .tabsPage .tabsPageHeader { border-color:#99bbe8;} .tabsPage .tabsPageHeader li a { color:#15428B;} .tabsPage .tabsPageHeader li .close, .tabsPage .tabsPageHeader li.hover .close, .tabsPage .tabsPageHeader li.selected .close { background:url(images/tabs/tabspage_icon.png) no-repeat;} .tabsPage .tabsLeft, .tabsPage .tabsRight, .tabsPage .tabsMore { background:url(images/tabs/tabscontrol.png) no-repeat;} .tabsPage .tabsMoreList { border-color:#88a0be; background:#FFF;} .tabsPage .tabsPageHeader .home_icon { background:url(images/icon.png) no-repeat;} .tabsPage .tabsPageContent { border-color:#88a0be; background:#FFF;} /* Alert */ .alert .alertFooter, .alert .alertFooter_r, .alert .alertFooter_c { background:url(images/alert/alertpanel.png) no-repeat;} .alert .alertContent { border-color:#88a0be; background:#ced9e7;} .alert .warn .alertInner { border-color:#e83e09; background:#fefacf;} .alert .error .alertInner { border-color:#e50000; background:#fefacf;} .alert .correct .alertInner, .alert .info .alertInner { border-color:#99bbe8; background:#fefacf;} .alert .confirm .alertInner { border-color:#99bbe8; background:#fefacf;} .alert h1 { border-color:#CCC; background:url(images/alert/alertpanel_icon.png) no-repeat;} /* Dialog */ .dialog .dialogHeader, .dialog .dialogHeader_r, .dialog .dialogHeader_c, .dialog .dialogFooter, .dialog .dialogFooter_r, .dialog .dialogFooter_c { background:url(images/dialog/dialogpanel.png) no-repeat;} .dialog .dialogHeader h1, .dialog .dialogHeader .close, .dialog .dialogHeader .maximize, .dialog .dialogHeader .restore, .dialog .dialogHeader .minimize, .resizable_f_r { background:url(images/dialog/dialogpanel_icon.png) no-repeat;} .dialog .dialogHeader h1 { color:#15428B;} .dialog .dialogContent { border-color:#99bbe8; background:#e4ebf6;} .resizable { border-color:#081629; background:#c3d7dc;} /* Shadow */ .shadow .shadow_h_l { background:url(images/shadow/shadow_h_l.png) no-repeat;} .shadow .shadow_h_r { background:url(images/shadow/shadow_h_r.png) no-repeat;} .shadow .shadow_h_c { background:url(images/shadow/shadow_h_c.png) repeat-x;} .shadow .shadow_c_l { background:url(images/shadow/shadow_c_l.png) repeat-y;} .shadow .shadow_c_r { background:url(images/shadow/shadow_c_r.png) repeat-y;} .shadow .shadow_c_c { background:url(images/shadow/shadow_c_c.png) repeat;} .shadow .shadow_f_l { background:url(images/shadow/shadow_f_l.png) no-repeat;} .shadow .shadow_f_r { background:url(images/shadow/shadow_f_r.png) no-repeat;} .shadow .shadow_f_c { background:url(images/shadow/shadow_f_c.png) repeat-x;} /* Tree */ .tree div div { background:url(images/tree/tree.png) no-repeat;} .tree .folder_collapsable, .tree .folder_expandable, .tree .file { background:url(images/tree/folder.png) no-repeat;} .tree .checked, .tree .unchecked, .tree .indeterminate { background:url(images/tree/check.png) no-repeat;} .tree ul { background:#FFF;} .tree li a, .tree li span { color:#15428B;} .tree .hover { background:#f5f5f5;} .tree .selected { background-color:#e8edf3;} /* Accordion */ .accordion .accordionHeader, .accordion .accordionHeader h2, .accordion .accordionHeader h2 span { color:#15428B; background:url(images/accordion/accordion.png);} .accordion { border-color:#99bbe8; background:#FFF;} .accordion .accordionHeader { background-color:#eaf4ff;} .accordion .accordionContent { border-color:#99bbe8;} /* Grid */ .panelBar, .toolBar li.hover, .toolBar li.hover a, .toolBar li.hover span, .toolBar span, .pagination, .pagination li.hover, .pagination li.hover a, .pagination li span, .pagination li.disabled span span, .panelBar .line, .pagination li.jumpto, .pagination li.jumpto .goto { background:url(images/grid/grid.png) no-repeat;} .panelBar { border-color:#99bbe8; background-color:#efefef;} .grid .gridHeader { background:#EEE;} .grid { background:#FFF;} .grid table { border-color:#d0d0d0;} .grid .gridHeader, .grid .gridHeader th { border-color:#d0d0d0; background:#f0eff0 url(images/grid/tableth.png) repeat-x;} .grid table th div { border-left-color:#EEE; border-right-color:#d0d0d0;} .grid table td { border-color:#ededed;} .grid .resizeMarker, .grid .resizeProxy { background:url(images/grid/resizeCol.png) repeat-y;} .grid .gridHeader th.hover, .grid .gridHeader th.thSelected { border-color:#aaccf6; } .grid .gridTbody .gridRowBg { background:#f7f7f7;} .grid .gridTbody .gridRow { border-color:#ededed;} .grid .gridTbody .gridRow td.tdLast { border-color:#ededed;} .grid .gridTbody .hover { border-color:#dddddd; background:#f5f5f5;} .grid .gridTbody .hover .tdSelected { background:#f5f5f5;} .grid .gridTbody .selected { border-color:#99bbe8; background:#dfe8f6;} .grid .gridTbody .selected .tdSelected { background:#e8edf3;} .grid .gridTbody .tdSelected { background:#f8f8f8;} .grid .error{background:#fb7e81;} /* ProgressBar */ .progressBar { border:solid 2px #86a5ad; background:#FFF url(images/progressBar/progressBar_m.gif) no-repeat 10px 10px;} /* ----------------------------------------------------------------- Form */ /* TextInput */ .textInput, input.focus, input.required, input.error, input.readonly, input.disabled, textarea.focus, textarea.required, textarea.error, textarea.readonly, textarea.disabled { background:url(images/form/input_bg.png) no-repeat scroll;} .textInput, .textArea { border-color:#a2bac0 #99bbe8 #99bbe8 #a2bac0; background-color:#FFF;} input.required, textarea.required { border-color:#a2bac0 #99bbe8 #99bbe8 #a2bac0; background-color:#FFF;} input.error, textarea.error { border-color:#F80C11 #FB7E81 #FB7E81 #F80C11;} input.focus, textarea.focus { border-color:#8db2e3 #99bbe8 #99bbe8 #8db2e3; background-color:#f8fafc;} input.readonly, textarea.readonly { border-color:#9eabb3 #d5dbdf #d5dbdf #9eabb3; background-color:#F6F6F6;} input.disabled, textarea.disabled { border-color:#9eabb3 #d5dbdf #d5dbdf #9eabb3; background-color:#F6F6F6;} .inputButton, .inputDateButton { background:url(images/form/input_bt.png) no-repeat;} /* Button */ .button, .button span, .buttonDisabled, .buttonDisabled span, .buttonActive, .buttonActive span, .button .buttonContent, .buttonHover, .buttonHover .buttonContent, .buttonActive .buttonContent, .buttonActiveHover, .buttonActiveHover .buttonContent, .buttonDisabled .buttonContent { background:url(images/button/button_s.png) no-repeat;} .button span, .buttonDisabled span, .buttonActive span, .button .buttonContent, .buttonHover, .buttonHover .buttonContent, .buttonActive .buttonContent, .buttonDisabled .buttonContent, .button button, .buttonHover button, .buttonActive button, .buttonDisabled button { color:#15428B;} .buttonDisabled span, .buttonDisabled:hover span, .buttonDisabled button { color:#999;} /* ----------------------------------------------------------------- Pages */ /* Layout */ body, #splitBar { background:#dfe8f6;} #splitBarProxy { border-color:#c0c0c0; background:#CCC;} #header, #header .headerNav { background:url(images/header_bg.png) repeat-x;} #header { background-color:#102c4a;} #header .logo { background:url(../default/images/logo.png) no-repeat;} #header .nav li { float:left; margin-left:-1px; padding:0 8px; line-height:11px; background:url(images/listLine.png) no-repeat;} #header .nav li a { color:#15428b;} #header .themeList li div { background:url(../default/images/themeButton.png) no-repeat;} .toggleCollapse, .toggleCollapse div { background:url(images/layout/toggleSidebar.png) no-repeat;} .toggleCollapse { border-style:solid; border-width:1px 1px 0 1px; border-color:#99BBE8; background-color:#dfe8f6;} .toggleCollapse h2 { color:#15428B;} #sidebar_s .collapse { border:solid 1px #99bbe8; background:#eff5f6;} #sidebar_s .collapse:hover { background:#f5f9fa;} #taskbar, #taskbar li, #taskbar li .taskbutton { background:url(images/layout/taskbar.png) no-repeat;} #taskbar .close, #taskbar .restore, #taskbar .minimize { background:url(images/layout/taskbar_icon.png) no-repeat;} #taskbar li .taskbutton span { color:#FFF;} #taskbar .taskbarLeft, #taskbar .taskbarRight { background:url(images/layout/taskbar_control.png) no-repeat;} /* Menu */ #navMenu, #navMenu li, #navMenu li.selected a, #navMenu li.selected span { background:url(../default/images/menu/menu.png) no-repeat;} #navMenu { background-color:#1871dd; } #navMenu li a, #navMenu li span { color:#FFF; } #navMenu li.selected span { color:#000; } /* Homepage */ .sidebarContent { display:block; overflow:auto; height:500px; border:solid 1px #86B4EC; background:#FFF;} .accountInfo { display:block; overflow:hidden; height:60px; padding:0 10px; background:url(images/account_info_bg.png) repeat-x} .accountInfo p { padding:8px 0 0 0; line-height:19px;} .accountInfo p span { font-size:14px; font-weight:bold;} .accountInfo .right { float:right; padding-right:10px; text-align:right;} .accountInfo .alertInfo { float:right; width:300px; height:60px; padding-left:10px; border-left:solid 1px #accdf4;} .accountInfo .alertInfo h2 { padding:8px 0; line-height:17px;} .accountInfo .alertInfo a { padding:6px 0 0 0; line-height:21px;} /* Pages */ .pageForm .inputInfo { color:#999;} /* Pages dialog */ .dialog .pageHeader, .dialog .pageContent { border-color:#99bbe8;} .dialog .pageContent .pageFormContent { border-color:#99bbe8; background:#FFF;} /* Pages default */ .page .pageHeader, .formBar { border-color:#99bbe8; background:#ebf0f5 url(../default/images/pageHeader_bg.png) repeat-x;} .page .searchBar label { color:#15428B;} /* Pages Form */ .formBar { border-color:#99bbe8;} .divider { border-color:#99bbe8;} /* combox */ .combox .select a { color:#15428B; } .comboxop { border-color:#99bbe8; } .combox, .combox div, .combox div a { background:url(../default/images/search-bg.gif) no-repeat; }
labs/lab40/www/index.html
alejo8591/unipiloto-am-2
<!DOCTYPE html> <html> <head> <meta charset="utf-8"/> <meta name="format-detection" content="telephone=no"> <meta name="msapplication-tap-highlight" content="no"> <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width"> <title>Lab40</title> </head> <body> <img src="img/compass.png" id="compass" align="middle" width="195px" height="195px" /> <div id="heading-info"></div> <script type="text/javascript" src="cordova.js"></script> <!-- <script type="text/javascript" src="js/index.js"></script> --> <script type="text/javascript" src="js/jquery-1.11.3.min.js"></script> <script type="text/javascript" src="js/jQueryRotateCompressed.js"></script> <script type="text/javascript" src="js/lab40.js"></script> </body> </html>
ajax/libs/codemirror/3.18.0/theme/erlang-dark.css
yogeshsaroya/new-cdnjs
version https://git-lfs.github.com/spec/v1 oid sha256:96047f3d61e43a077bd6af991d233198c7ed682cc50094970b466a99bac6e072 size 1733
wp-content/plugins/wp-recipe-maker/templates/admin/menu/support-widget.html
florianduport/slowvan
<!-- Start of bootstrappedventures Zendesk Widget script --> <script>/*<![CDATA[*/window.zEmbed||function(e,t){var n,o,d,i,s,a=[],r=document.createElement("iframe");window.zEmbed=function(){a.push(arguments)},window.zE=window.zE||window.zEmbed,r.src="javascript:false",r.title="",r.role="presentation",(r.frameElement||r).style.cssText="display: none",d=document.getElementsByTagName("script"),d=d[d.length-1],d.parentNode.insertBefore(r,d),i=r.contentWindow,s=i.document;try{o=s}catch(e){n=document.domain,r.src='javascript:var d=document.open();d.domain="'+n+'";void(0);',o=s}o.open()._l=function(){var o=this.createElement("script");n&&(this.domain=n),o.id="js-iframe-async",o.src=e,this.t=+new Date,this.zendeskHost=t,this.zEQueue=a,this.body.appendChild(o)},o.write('<body onload="document._l();">'),o.close()}("https://assets.zendesk.com/embeddable_framework/main.js","bootstrappedventures.zendesk.com"); /*]]>*/</script> <!-- End of bootstrappedventures Zendesk Widget script -->
bootstrap4/templates/bootstrap4/menu_pills.html
glomium/elmnt.de
{% load menu_tags %} {% for child in children %} <li class="nav-item"><a href="{{ child.attr.redirect_url|default:child.get_absolute_url }}" class="nav-link{% if child.selected or child.ancestor %} active{% endif %}">{{ child.get_menu_title }}</a></li> {% endfor %}
vendor/magento/module-ui/view/frontend/web/templates/form/element/helper/tooltip.html
j-froehlich/magento2_wk
<!-- /** * Copyright © 2013-2017 Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ --> <div class="field-tooltip toggle"> <!-- ko if: (tooltip.link)--> <a class="field-tooltip-action action-help" target="_blank" data-toggle="dropdown" data-bind="attr: {href: tooltip.link}, mageInit: {'dropdown':{'activeClass': '_active'}}"></a> <!-- /ko --> <!-- ko if: (!tooltip.link)--> <span class="field-tooltip-action action-help" tabindex="0" data-toggle="dropdown" data-bind="mageInit: {'dropdown':{'activeClass': '_active'}}"></span> <!-- /ko --> <div class="field-tooltip-content" data-target="dropdown"> <!-- ko text: tooltip.description --><!-- /ko --> </div> </div>
views/components/main/assets/miniship.css
Dibel/poi
#MiniShip { font-size: 14px; } #MiniShip .btn-group { display: flex; width: 100%; padding-left: 5px; padding-right: 5px; } #MiniShip .btn-group .btn { flex: 1; } #MiniShip .hidden { display: none; } #MiniShip .show { display: block; } #MiniShip .deck-status { padding-left: 0px; padding-right: 0px; text-align: center; } #MiniShip .progress { margin-bottom: 5px; } #MiniShip .ship-details { margin-bottom: 1px; } #MiniShip .ship-details .ship-tile { margin: 5px 5px 5px 0; display: flex; align-items: center; justify-content: space-between; } #MiniShip .ship-details .ship-item { flex: 1; display: flex; flex-flow: row nowrap; align-items: flex-end; overflow: hidden; white-space: nowrap; /*margin-right: 15px;*/ } #MiniShip .ship-details .ship-item .ship-info { flex: 1; font-size: 14px; display: flex; flex-flow: column nowrap; justify-content: space-between; } #MiniShip .ship-details .ship-item .ship-info .ship-type { margin-left: 5px; } #MiniShip .ship-details .ship-item .ship-info .ship-name { flex: 1.5; padding-right: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } #MiniShip .ship-details .ship-item .ship-info .ship-lv-text { flex: 2; font-size: 70%; margin-right: 4px; line-height: 1; overflow: hidden; } #MiniShip .ship-details .ship-item .ship-stat { flex: 2; font-size: 14px; display: flex; flex-flow: column nowrap; width: 100%; min-width: 125px; justify-content: space-between; } #MiniShip .ship-details .ship-item .ship-stat .ship-hp { flex: 1; align-self: flex-start; } .ship-pop .status-label, #MiniShip .ship-details .ship-item .ship-stat .status-label { display: inline-block; z-index: 100; position: relative; margin-left: 5px; margin-top: -1px; text-align: center; vertical-align: middle; width: 20px; } #MiniShip .ship-details .ship-item .ship-stat .status-label .label { width: 20px; padding: 3px 3px; display: inline-block; } #MiniShip .ship-details .ship-item .ship-stat .ship-cond { width: 40px; align-self: flex-end; margin-left: auto; display: table; text-align: right; } #MiniShip .ship-details .ship-item .ship-stat .ship-cond .cond-indicator { display: inline-block; height: 30px; width: 4px; vertical-align: middle; margin-left: 4px; } #MiniShip .ship-details .ship-item .ship-stat .hp-progress { flex: 1; } #MiniShip .ship-details .ship-item .ship-stat .hp-progress .progress { height: 7px; flex: auto; } #MiniShip .ship-details .ship-item .ship-slot { width: 105px; flex: none; margin-left: 4px; margin-right: 4px; margin-bottom: 3px; } #MiniShip .alert { background-color: transparent; border-color: transparent; margin-top: 9px; text-align: center; } #MiniShip .fleet-name { display: flex; justify-content: space-between; margin: 5px 0; } #MiniShip .flex { flex: 1; } #MiniShip .top-space { margin-top: 5px; } .ship-pop .slotitem-container { display :flex; flex-flow: row; margin-top: 4px; } .ship-pop .slotitem-container .slotitem-name { max-width: 200px; white-space: nowrap; overflow: hidden; } .ship-pop .slotitem-container .slotitem-onslot { font-size: 90%; padding: 3px 6px 3px 5px; margin-left: 2px; } .ship-pop .slotitem-container span.show { display: inline !important; } .ship-pop .slotitem-container img { width: 32px; height: 32px; margin-top: -8px; margin-bottom: -8px; } #MiniShip .div-col, .ship-pop .div-col { display: flex; flex-flow: column; } #MiniShip .div-row, .ship-pop .div-row { display: flex; flex-flow: row; } .ship-pop .flex { flex: 1; } .ship-pop .item-name { margin-bottom: 5px; width: 220px } .ship-pop .progress { margin-top: 5px; height: 9px; } .ship-pop .material-icon { margin-right: auto; }
public/_lib/bootstrap/css/bootstrap.css
cBioPortal/ctmole
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */ html { font-family: sans-serif; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; } body { margin: 0; } article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary { display: block; } audio, canvas, progress, video { display: inline-block; vertical-align: baseline; } audio:not([controls]) { display: none; height: 0; } [hidden], template { display: none; } a { background-color: transparent; } a:active, a:hover { outline: 0; } abbr[title] { border-bottom: 1px dotted; } b, strong { font-weight: bold; } dfn { font-style: italic; } h1 { font-size: 2em; margin: 0.67em 0; } mark { background: #ff0; color: #000; } small { font-size: 80%; } sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sup { top: -0.5em; } sub { bottom: -0.25em; } img { border: 0; } svg:not(:root) { overflow: hidden; } figure { margin: 1em 40px; } hr { -moz-box-sizing: content-box; box-sizing: content-box; height: 0; } pre { overflow: auto; } code, kbd, pre, samp { font-family: monospace, monospace; font-size: 1em; } button, input, optgroup, select, textarea { color: inherit; font: inherit; margin: 0; } button { overflow: visible; } button, select { text-transform: none; } button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; cursor: pointer; } button[disabled], html input[disabled] { cursor: default; } button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; } input { line-height: normal; } input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; } input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { height: auto; } input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; } input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; } fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; } legend { border: 0; padding: 0; } textarea { overflow: auto; } optgroup { font-weight: bold; } table { border-collapse: collapse; border-spacing: 0; } td, th { padding: 0; } /*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */ @media print { *, *:before, *:after { background: transparent !important; color: #000 !important; box-shadow: none !important; text-shadow: none !important; } a, a:visited { text-decoration: underline; } a[href]:after { content: " (" attr(href) ")"; } abbr[title]:after { content: " (" attr(title) ")"; } a[href^="#"]:after, a[href^="javascript:"]:after { content: ""; } pre, blockquote { border: 1px solid #999; page-break-inside: avoid; } thead { display: table-header-group; } tr, img { page-break-inside: avoid; } img { max-width: 100% !important; } p, h2, h3 { orphans: 3; widows: 3; } h2, h3 { page-break-after: avoid; } select { background: #fff !important; } .navbar { display: none; } .btn > .caret, .dropup > .btn > .caret { border-top-color: #000 !important; } .label { border: 1px solid #000; } .table { border-collapse: collapse !important; } .table td, .table th { background-color: #fff !important; } .table-bordered th, .table-bordered td { border: 1px solid #ddd !important; } } @font-face { font-family: 'Glyphicons Halflings'; src: url('../fonts/glyphicons-halflings-regular.eot'); src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg'); } .glyphicon { position: relative; top: 1px; display: inline-block; font-family: 'Glyphicons Halflings'; font-style: normal; font-weight: normal; line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .glyphicon-asterisk:before { content: "\2a"; } .glyphicon-plus:before { content: "\2b"; } .glyphicon-euro:before, .glyphicon-eur:before { content: "\20ac"; } .glyphicon-minus:before { content: "\2212"; } .glyphicon-cloud:before { content: "\2601"; } .glyphicon-envelope:before { content: "\2709"; } .glyphicon-pencil:before { content: "\270f"; } .glyphicon-glass:before { content: "\e001"; } .glyphicon-music:before { content: "\e002"; } .glyphicon-search:before { content: "\e003"; } .glyphicon-heart:before { content: "\e005"; } .glyphicon-star:before { content: "\e006"; } .glyphicon-star-empty:before { content: "\e007"; } .glyphicon-user:before { content: "\e008"; } .glyphicon-film:before { content: "\e009"; } .glyphicon-th-large:before { content: "\e010"; } .glyphicon-th:before { content: "\e011"; } .glyphicon-th-list:before { content: "\e012"; } .glyphicon-ok:before { content: "\e013"; } .glyphicon-remove:before { content: "\e014"; } .glyphicon-zoom-in:before { content: "\e015"; } .glyphicon-zoom-out:before { content: "\e016"; } .glyphicon-off:before { content: "\e017"; } .glyphicon-signal:before { content: "\e018"; } .glyphicon-cog:before { content: "\e019"; } .glyphicon-trash:before { content: "\e020"; } .glyphicon-home:before { content: "\e021"; } .glyphicon-file:before { content: "\e022"; } .glyphicon-time:before { content: "\e023"; } .glyphicon-road:before { content: "\e024"; } .glyphicon-download-alt:before { content: "\e025"; } .glyphicon-download:before { content: "\e026"; } .glyphicon-upload:before { content: "\e027"; } .glyphicon-inbox:before { content: "\e028"; } .glyphicon-play-circle:before { content: "\e029"; } .glyphicon-repeat:before { content: "\e030"; } .glyphicon-refresh:before { content: "\e031"; } .glyphicon-list-alt:before { content: "\e032"; } .glyphicon-lock:before { content: "\e033"; } .glyphicon-flag:before { content: "\e034"; } .glyphicon-headphones:before { content: "\e035"; } .glyphicon-volume-off:before { content: "\e036"; } .glyphicon-volume-down:before { content: "\e037"; } .glyphicon-volume-up:before { content: "\e038"; } .glyphicon-qrcode:before { content: "\e039"; } .glyphicon-barcode:before { content: "\e040"; } .glyphicon-tag:before { content: "\e041"; } .glyphicon-tags:before { content: "\e042"; } .glyphicon-book:before { content: "\e043"; } .glyphicon-bookmark:before { content: "\e044"; } .glyphicon-print:before { content: "\e045"; } .glyphicon-camera:before { content: "\e046"; } .glyphicon-font:before { content: "\e047"; } .glyphicon-bold:before { content: "\e048"; } .glyphicon-italic:before { content: "\e049"; } .glyphicon-text-height:before { content: "\e050"; } .glyphicon-text-width:before { content: "\e051"; } .glyphicon-align-left:before { content: "\e052"; } .glyphicon-align-center:before { content: "\e053"; } .glyphicon-align-right:before { content: "\e054"; } .glyphicon-align-justify:before { content: "\e055"; } .glyphicon-list:before { content: "\e056"; } .glyphicon-indent-left:before { content: "\e057"; } .glyphicon-indent-right:before { content: "\e058"; } .glyphicon-facetime-video:before { content: "\e059"; } .glyphicon-picture:before { content: "\e060"; } .glyphicon-map-marker:before { content: "\e062"; } .glyphicon-adjust:before { content: "\e063"; } .glyphicon-tint:before { content: "\e064"; } .glyphicon-edit:before { content: "\e065"; } .glyphicon-share:before { content: "\e066"; } .glyphicon-check:before { content: "\e067"; } .glyphicon-move:before { content: "\e068"; } .glyphicon-step-backward:before { content: "\e069"; } .glyphicon-fast-backward:before { content: "\e070"; } .glyphicon-backward:before { content: "\e071"; } .glyphicon-play:before { content: "\e072"; } .glyphicon-pause:before { content: "\e073"; } .glyphicon-stop:before { content: "\e074"; } .glyphicon-forward:before { content: "\e075"; } .glyphicon-fast-forward:before { content: "\e076"; } .glyphicon-step-forward:before { content: "\e077"; } .glyphicon-eject:before { content: "\e078"; } .glyphicon-chevron-left:before { content: "\e079"; } .glyphicon-chevron-right:before { content: "\e080"; } .glyphicon-plus-sign:before { content: "\e081"; } .glyphicon-minus-sign:before { content: "\e082"; } .glyphicon-remove-sign:before { content: "\e083"; } .glyphicon-ok-sign:before { content: "\e084"; } .glyphicon-question-sign:before { content: "\e085"; } .glyphicon-info-sign:before { content: "\e086"; } .glyphicon-screenshot:before { content: "\e087"; } .glyphicon-remove-circle:before { content: "\e088"; } .glyphicon-ok-circle:before { content: "\e089"; } .glyphicon-ban-circle:before { content: "\e090"; } .glyphicon-arrow-left:before { content: "\e091"; } .glyphicon-arrow-right:before { content: "\e092"; } .glyphicon-arrow-up:before { content: "\e093"; } .glyphicon-arrow-down:before { content: "\e094"; } .glyphicon-share-alt:before { content: "\e095"; } .glyphicon-resize-full:before { content: "\e096"; } .glyphicon-resize-small:before { content: "\e097"; } .glyphicon-exclamation-sign:before { content: "\e101"; } .glyphicon-gift:before { content: "\e102"; } .glyphicon-leaf:before { content: "\e103"; } .glyphicon-fire:before { content: "\e104"; } .glyphicon-eye-open:before { content: "\e105"; } .glyphicon-eye-close:before { content: "\e106"; } .glyphicon-warning-sign:before { content: "\e107"; } .glyphicon-plane:before { content: "\e108"; } .glyphicon-calendar:before { content: "\e109"; } .glyphicon-random:before { content: "\e110"; } .glyphicon-comment:before { content: "\e111"; } .glyphicon-magnet:before { content: "\e112"; } .glyphicon-chevron-up:before { content: "\e113"; } .glyphicon-chevron-down:before { content: "\e114"; } .glyphicon-retweet:before { content: "\e115"; } .glyphicon-shopping-cart:before { content: "\e116"; } .glyphicon-folder-close:before { content: "\e117"; } .glyphicon-folder-open:before { content: "\e118"; } .glyphicon-resize-vertical:before { content: "\e119"; } .glyphicon-resize-horizontal:before { content: "\e120"; } .glyphicon-hdd:before { content: "\e121"; } .glyphicon-bullhorn:before { content: "\e122"; } .glyphicon-bell:before { content: "\e123"; } .glyphicon-certificate:before { content: "\e124"; } .glyphicon-thumbs-up:before { content: "\e125"; } .glyphicon-thumbs-down:before { content: "\e126"; } .glyphicon-hand-right:before { content: "\e127"; } .glyphicon-hand-left:before { content: "\e128"; } .glyphicon-hand-up:before { content: "\e129"; } .glyphicon-hand-down:before { content: "\e130"; } .glyphicon-circle-arrow-right:before { content: "\e131"; } .glyphicon-circle-arrow-left:before { content: "\e132"; } .glyphicon-circle-arrow-up:before { content: "\e133"; } .glyphicon-circle-arrow-down:before { content: "\e134"; } .glyphicon-globe:before { content: "\e135"; } .glyphicon-wrench:before { content: "\e136"; } .glyphicon-tasks:before { content: "\e137"; } .glyphicon-filter:before { content: "\e138"; } .glyphicon-briefcase:before { content: "\e139"; } .glyphicon-fullscreen:before { content: "\e140"; } .glyphicon-dashboard:before { content: "\e141"; } .glyphicon-paperclip:before { content: "\e142"; } .glyphicon-heart-empty:before { content: "\e143"; } .glyphicon-link:before { content: "\e144"; } .glyphicon-phone:before { content: "\e145"; } .glyphicon-pushpin:before { content: "\e146"; } .glyphicon-usd:before { content: "\e148"; } .glyphicon-gbp:before { content: "\e149"; } .glyphicon-sort:before { content: "\e150"; } .glyphicon-sort-by-alphabet:before { content: "\e151"; } .glyphicon-sort-by-alphabet-alt:before { content: "\e152"; } .glyphicon-sort-by-order:before { content: "\e153"; } .glyphicon-sort-by-order-alt:before { content: "\e154"; } .glyphicon-sort-by-attributes:before { content: "\e155"; } .glyphicon-sort-by-attributes-alt:before { content: "\e156"; } .glyphicon-unchecked:before { content: "\e157"; } .glyphicon-expand:before { content: "\e158"; } .glyphicon-collapse-down:before { content: "\e159"; } .glyphicon-collapse-up:before { content: "\e160"; } .glyphicon-log-in:before { content: "\e161"; } .glyphicon-flash:before { content: "\e162"; } .glyphicon-log-out:before { content: "\e163"; } .glyphicon-new-window:before { content: "\e164"; } .glyphicon-record:before { content: "\e165"; } .glyphicon-save:before { content: "\e166"; } .glyphicon-open:before { content: "\e167"; } .glyphicon-saved:before { content: "\e168"; } .glyphicon-import:before { content: "\e169"; } .glyphicon-export:before { content: "\e170"; } .glyphicon-send:before { content: "\e171"; } .glyphicon-floppy-disk:before { content: "\e172"; } .glyphicon-floppy-saved:before { content: "\e173"; } .glyphicon-floppy-remove:before { content: "\e174"; } .glyphicon-floppy-save:before { content: "\e175"; } .glyphicon-floppy-open:before { content: "\e176"; } .glyphicon-credit-card:before { content: "\e177"; } .glyphicon-transfer:before { content: "\e178"; } .glyphicon-cutlery:before { content: "\e179"; } .glyphicon-header:before { content: "\e180"; } .glyphicon-compressed:before { content: "\e181"; } .glyphicon-earphone:before { content: "\e182"; } .glyphicon-phone-alt:before { content: "\e183"; } .glyphicon-tower:before { content: "\e184"; } .glyphicon-stats:before { content: "\e185"; } .glyphicon-sd-video:before { content: "\e186"; } .glyphicon-hd-video:before { content: "\e187"; } .glyphicon-subtitles:before { content: "\e188"; } .glyphicon-sound-stereo:before { content: "\e189"; } .glyphicon-sound-dolby:before { content: "\e190"; } .glyphicon-sound-5-1:before { content: "\e191"; } .glyphicon-sound-6-1:before { content: "\e192"; } .glyphicon-sound-7-1:before { content: "\e193"; } .glyphicon-copyright-mark:before { content: "\e194"; } .glyphicon-registration-mark:before { content: "\e195"; } .glyphicon-cloud-download:before { content: "\e197"; } .glyphicon-cloud-upload:before { content: "\e198"; } .glyphicon-tree-conifer:before { content: "\e199"; } .glyphicon-tree-deciduous:before { content: "\e200"; } .glyphicon-cd:before { content: "\e201"; } .glyphicon-save-file:before { content: "\e202"; } .glyphicon-open-file:before { content: "\e203"; } .glyphicon-level-up:before { content: "\e204"; } .glyphicon-copy:before { content: "\e205"; } .glyphicon-paste:before { content: "\e206"; } .glyphicon-alert:before { content: "\e209"; } .glyphicon-equalizer:before { content: "\e210"; } .glyphicon-king:before { content: "\e211"; } .glyphicon-queen:before { content: "\e212"; } .glyphicon-pawn:before { content: "\e213"; } .glyphicon-bishop:before { content: "\e214"; } .glyphicon-knight:before { content: "\e215"; } .glyphicon-baby-formula:before { content: "\e216"; } .glyphicon-tent:before { content: "\26fa"; } .glyphicon-blackboard:before { content: "\e218"; } .glyphicon-bed:before { content: "\e219"; } .glyphicon-apple:before { content: "\f8ff"; } .glyphicon-erase:before { content: "\e221"; } .glyphicon-hourglass:before { content: "\231b"; } .glyphicon-lamp:before { content: "\e223"; } .glyphicon-duplicate:before { content: "\e224"; } .glyphicon-piggy-bank:before { content: "\e225"; } .glyphicon-scissors:before { content: "\e226"; } .glyphicon-bitcoin:before { content: "\e227"; } .glyphicon-yen:before { content: "\00a5"; } .glyphicon-ruble:before { content: "\20bd"; } .glyphicon-scale:before { content: "\e230"; } .glyphicon-ice-lolly:before { content: "\e231"; } .glyphicon-ice-lolly-tasted:before { content: "\e232"; } .glyphicon-education:before { content: "\e233"; } .glyphicon-option-horizontal:before { content: "\e234"; } .glyphicon-option-vertical:before { content: "\e235"; } .glyphicon-menu-hamburger:before { content: "\e236"; } .glyphicon-modal-window:before { content: "\e237"; } .glyphicon-oil:before { content: "\e238"; } .glyphicon-grain:before { content: "\e239"; } .glyphicon-sunglasses:before { content: "\e240"; } .glyphicon-text-size:before { content: "\e241"; } .glyphicon-text-color:before { content: "\e242"; } .glyphicon-text-background:before { content: "\e243"; } .glyphicon-object-align-top:before { content: "\e244"; } .glyphicon-object-align-bottom:before { content: "\e245"; } .glyphicon-object-align-horizontal:before { content: "\e246"; } .glyphicon-object-align-left:before { content: "\e247"; } .glyphicon-object-align-vertical:before { content: "\e248"; } .glyphicon-object-align-right:before { content: "\e249"; } .glyphicon-triangle-right:before { content: "\e250"; } .glyphicon-triangle-left:before { content: "\e251"; } .glyphicon-triangle-bottom:before { content: "\e252"; } .glyphicon-triangle-top:before { content: "\e253"; } .glyphicon-console:before { content: "\e254"; } .glyphicon-superscript:before { content: "\e255"; } .glyphicon-subscript:before { content: "\e256"; } .glyphicon-menu-left:before { content: "\e257"; } .glyphicon-menu-right:before { content: "\e258"; } .glyphicon-menu-down:before { content: "\e259"; } .glyphicon-menu-up:before { content: "\e260"; } * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } *:before, *:after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } html { font-size: 10px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } body { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.42857143; color: #333333; background-color: #ffffff; } input, button, select, textarea { font-family: inherit; font-size: inherit; line-height: inherit; } a { color: #337ab7; text-decoration: none; } a:hover, a:focus { color: #23527c; text-decoration: underline; } a:focus { outline: thin dotted; outline: 5px auto -webkit-focus-ring-color; outline-offset: -2px; } figure { margin: 0; } img { vertical-align: middle; } .img-responsive, .thumbnail > img, .thumbnail a > img, .carousel-inner > .item > img, .carousel-inner > .item > a > img { display: block; max-width: 100%; height: auto; } .img-rounded { border-radius: 6px; } .img-thumbnail { padding: 4px; line-height: 1.42857143; background-color: #ffffff; border: 1px solid #dddddd; border-radius: 4px; -webkit-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; display: inline-block; max-width: 100%; height: auto; } .img-circle { border-radius: 50%; } hr { margin-top: 20px; margin-bottom: 20px; border: 0; border-top: 1px solid #eeeeee; } .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; } .sr-only-focusable:active, .sr-only-focusable:focus { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; } h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: inherit; font-weight: 500; line-height: 1.1; color: inherit; } h1 small, h2 small, h3 small, h4 small, h5 small, h6 small, .h1 small, .h2 small, .h3 small, .h4 small, .h5 small, .h6 small, h1 .small, h2 .small, h3 .small, h4 .small, h5 .small, h6 .small, .h1 .small, .h2 .small, .h3 .small, .h4 .small, .h5 .small, .h6 .small { font-weight: normal; line-height: 1; color: #777777; } h1, .h1, h2, .h2, h3, .h3 { margin-top: 20px; margin-bottom: 10px; } h1 small, .h1 small, h2 small, .h2 small, h3 small, .h3 small, h1 .small, .h1 .small, h2 .small, .h2 .small, h3 .small, .h3 .small { font-size: 65%; } h4, .h4, h5, .h5, h6, .h6 { margin-top: 10px; margin-bottom: 10px; } h4 small, .h4 small, h5 small, .h5 small, h6 small, .h6 small, h4 .small, .h4 .small, h5 .small, .h5 .small, h6 .small, .h6 .small { font-size: 75%; } h1, .h1 { font-size: 36px; } h2, .h2 { font-size: 30px; } h3, .h3 { font-size: 24px; } h4, .h4 { font-size: 18px; } h5, .h5 { font-size: 14px; } h6, .h6 { font-size: 12px; } p { margin: 0 0 10px; } .lead { margin-bottom: 20px; font-size: 16px; font-weight: 300; line-height: 1.4; } @media (min-width: 768px) { .lead { font-size: 21px; } } small, .small { font-size: 85%; } mark, .mark { background-color: #fcf8e3; padding: .2em; } .text-left { text-align: left; } .text-right { text-align: right; } .text-center { text-align: center; } .text-justify { text-align: justify; } .text-nowrap { white-space: nowrap; } .text-lowercase { text-transform: lowercase; } .text-uppercase { text-transform: uppercase; } .text-capitalize { text-transform: capitalize; } .text-muted { color: #777777; } .text-primary { color: #337ab7; } a.text-primary:hover { color: #286090; } .text-success { color: #3c763d; } a.text-success:hover { color: #2b542c; } .text-info { color: #31708f; } a.text-info:hover { color: #245269; } .text-warning { color: #8a6d3b; } a.text-warning:hover { color: #66512c; } .text-danger { color: #a94442; } a.text-danger:hover { color: #843534; } .bg-primary { color: #fff; background-color: #337ab7; } a.bg-primary:hover { background-color: #286090; } .bg-success { background-color: #dff0d8; } a.bg-success:hover { background-color: #c1e2b3; } .bg-info { background-color: #d9edf7; } a.bg-info:hover { background-color: #afd9ee; } .bg-warning { background-color: #fcf8e3; } a.bg-warning:hover { background-color: #f7ecb5; } .bg-danger { background-color: #f2dede; } a.bg-danger:hover { background-color: #e4b9b9; } .page-header { padding-bottom: 9px; margin: 40px 0 20px; border-bottom: 1px solid #eeeeee; } ul, ol { margin-top: 0; margin-bottom: 10px; } ul ul, ol ul, ul ol, ol ol { margin-bottom: 0; } .list-unstyled { padding-left: 0; list-style: none; } .list-inline { padding-left: 0; list-style: none; margin-left: -5px; } .list-inline > li { display: inline-block; padding-left: 5px; padding-right: 5px; } dl { margin-top: 0; margin-bottom: 20px; } dt, dd { line-height: 1.42857143; } dt { font-weight: bold; } dd { margin-left: 0; } @media (min-width: 768px) { .dl-horizontal dt { float: left; width: 160px; clear: left; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .dl-horizontal dd { margin-left: 180px; } } abbr[title], abbr[data-original-title] { cursor: help; border-bottom: 1px dotted #777777; } .initialism { font-size: 90%; text-transform: uppercase; } blockquote { padding: 10px 20px; margin: 0 0 20px; font-size: 17.5px; border-left: 5px solid #eeeeee; } blockquote p:last-child, blockquote ul:last-child, blockquote ol:last-child { margin-bottom: 0; } blockquote footer, blockquote small, blockquote .small { display: block; font-size: 80%; line-height: 1.42857143; color: #777777; } blockquote footer:before, blockquote small:before, blockquote .small:before { content: '\2014 \00A0'; } .blockquote-reverse, blockquote.pull-right { padding-right: 15px; padding-left: 0; border-right: 5px solid #eeeeee; border-left: 0; text-align: right; } .blockquote-reverse footer:before, blockquote.pull-right footer:before, .blockquote-reverse small:before, blockquote.pull-right small:before, .blockquote-reverse .small:before, blockquote.pull-right .small:before { content: ''; } .blockquote-reverse footer:after, blockquote.pull-right footer:after, .blockquote-reverse small:after, blockquote.pull-right small:after, .blockquote-reverse .small:after, blockquote.pull-right .small:after { content: '\00A0 \2014'; } address { margin-bottom: 20px; font-style: normal; line-height: 1.42857143; } code, kbd, pre, samp { font-family: Menlo, Monaco, Consolas, "Courier New", monospace; } code { padding: 2px 4px; font-size: 90%; color: #c7254e; background-color: #f9f2f4; border-radius: 4px; } kbd { padding: 2px 4px; font-size: 90%; color: #ffffff; background-color: #333333; border-radius: 3px; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25); } kbd kbd { padding: 0; font-size: 100%; font-weight: bold; box-shadow: none; } pre { display: block; padding: 9.5px; margin: 0 0 10px; font-size: 13px; line-height: 1.42857143; word-break: break-all; word-wrap: break-word; color: #333333; background-color: #f5f5f5; border: 1px solid #cccccc; border-radius: 4px; } pre code { padding: 0; font-size: inherit; color: inherit; white-space: pre-wrap; background-color: transparent; border-radius: 0; } .pre-scrollable { max-height: 340px; overflow-y: scroll; } .container { margin-right: auto; margin-left: auto; padding-left: 15px; padding-right: 15px; } @media (min-width: 768px) { .container { width: 750px; } } @media (min-width: 992px) { .container { width: 970px; } } @media (min-width: 1200px) { .container { width: 1170px; } } .container-fluid { margin-right: auto; margin-left: auto; padding-left: 15px; padding-right: 15px; } .row { margin-left: -15px; margin-right: -15px; } .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 { position: relative; min-height: 1px; padding-left: 15px; padding-right: 15px; } .col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 { float: left; } .col-xs-12 { width: 100%; } .col-xs-11 { width: 91.66666667%; } .col-xs-10 { width: 83.33333333%; } .col-xs-9 { width: 75%; } .col-xs-8 { width: 66.66666667%; } .col-xs-7 { width: 58.33333333%; } .col-xs-6 { width: 50%; } .col-xs-5 { width: 41.66666667%; } .col-xs-4 { width: 33.33333333%; } .col-xs-3 { width: 25%; } .col-xs-2 { width: 16.66666667%; } .col-xs-1 { width: 8.33333333%; } .col-xs-pull-12 { right: 100%; } .col-xs-pull-11 { right: 91.66666667%; } .col-xs-pull-10 { right: 83.33333333%; } .col-xs-pull-9 { right: 75%; } .col-xs-pull-8 { right: 66.66666667%; } .col-xs-pull-7 { right: 58.33333333%; } .col-xs-pull-6 { right: 50%; } .col-xs-pull-5 { right: 41.66666667%; } .col-xs-pull-4 { right: 33.33333333%; } .col-xs-pull-3 { right: 25%; } .col-xs-pull-2 { right: 16.66666667%; } .col-xs-pull-1 { right: 8.33333333%; } .col-xs-pull-0 { right: auto; } .col-xs-push-12 { left: 100%; } .col-xs-push-11 { left: 91.66666667%; } .col-xs-push-10 { left: 83.33333333%; } .col-xs-push-9 { left: 75%; } .col-xs-push-8 { left: 66.66666667%; } .col-xs-push-7 { left: 58.33333333%; } .col-xs-push-6 { left: 50%; } .col-xs-push-5 { left: 41.66666667%; } .col-xs-push-4 { left: 33.33333333%; } .col-xs-push-3 { left: 25%; } .col-xs-push-2 { left: 16.66666667%; } .col-xs-push-1 { left: 8.33333333%; } .col-xs-push-0 { left: auto; } .col-xs-offset-12 { margin-left: 100%; } .col-xs-offset-11 { margin-left: 91.66666667%; } .col-xs-offset-10 { margin-left: 83.33333333%; } .col-xs-offset-9 { margin-left: 75%; } .col-xs-offset-8 { margin-left: 66.66666667%; } .col-xs-offset-7 { margin-left: 58.33333333%; } .col-xs-offset-6 { margin-left: 50%; } .col-xs-offset-5 { margin-left: 41.66666667%; } .col-xs-offset-4 { margin-left: 33.33333333%; } .col-xs-offset-3 { margin-left: 25%; } .col-xs-offset-2 { margin-left: 16.66666667%; } .col-xs-offset-1 { margin-left: 8.33333333%; } .col-xs-offset-0 { margin-left: 0%; } @media (min-width: 768px) { .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 { float: left; } .col-sm-12 { width: 100%; } .col-sm-11 { width: 91.66666667%; } .col-sm-10 { width: 83.33333333%; } .col-sm-9 { width: 75%; } .col-sm-8 { width: 66.66666667%; } .col-sm-7 { width: 58.33333333%; } .col-sm-6 { width: 50%; } .col-sm-5 { width: 41.66666667%; } .col-sm-4 { width: 33.33333333%; } .col-sm-3 { width: 25%; } .col-sm-2 { width: 16.66666667%; } .col-sm-1 { width: 8.33333333%; } .col-sm-pull-12 { right: 100%; } .col-sm-pull-11 { right: 91.66666667%; } .col-sm-pull-10 { right: 83.33333333%; } .col-sm-pull-9 { right: 75%; } .col-sm-pull-8 { right: 66.66666667%; } .col-sm-pull-7 { right: 58.33333333%; } .col-sm-pull-6 { right: 50%; } .col-sm-pull-5 { right: 41.66666667%; } .col-sm-pull-4 { right: 33.33333333%; } .col-sm-pull-3 { right: 25%; } .col-sm-pull-2 { right: 16.66666667%; } .col-sm-pull-1 { right: 8.33333333%; } .col-sm-pull-0 { right: auto; } .col-sm-push-12 { left: 100%; } .col-sm-push-11 { left: 91.66666667%; } .col-sm-push-10 { left: 83.33333333%; } .col-sm-push-9 { left: 75%; } .col-sm-push-8 { left: 66.66666667%; } .col-sm-push-7 { left: 58.33333333%; } .col-sm-push-6 { left: 50%; } .col-sm-push-5 { left: 41.66666667%; } .col-sm-push-4 { left: 33.33333333%; } .col-sm-push-3 { left: 25%; } .col-sm-push-2 { left: 16.66666667%; } .col-sm-push-1 { left: 8.33333333%; } .col-sm-push-0 { left: auto; } .col-sm-offset-12 { margin-left: 100%; } .col-sm-offset-11 { margin-left: 91.66666667%; } .col-sm-offset-10 { margin-left: 83.33333333%; } .col-sm-offset-9 { margin-left: 75%; } .col-sm-offset-8 { margin-left: 66.66666667%; } .col-sm-offset-7 { margin-left: 58.33333333%; } .col-sm-offset-6 { margin-left: 50%; } .col-sm-offset-5 { margin-left: 41.66666667%; } .col-sm-offset-4 { margin-left: 33.33333333%; } .col-sm-offset-3 { margin-left: 25%; } .col-sm-offset-2 { margin-left: 16.66666667%; } .col-sm-offset-1 { margin-left: 8.33333333%; } .col-sm-offset-0 { margin-left: 0%; } } @media (min-width: 992px) { .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 { float: left; } .col-md-12 { width: 100%; } .col-md-11 { width: 91.66666667%; } .col-md-10 { width: 83.33333333%; } .col-md-9 { width: 75%; } .col-md-8 { width: 66.66666667%; } .col-md-7 { width: 58.33333333%; } .col-md-6 { width: 50%; } .col-md-5 { width: 41.66666667%; } .col-md-4 { width: 33.33333333%; } .col-md-3 { width: 25%; } .col-md-2 { width: 16.66666667%; } .col-md-1 { width: 8.33333333%; } .col-md-pull-12 { right: 100%; } .col-md-pull-11 { right: 91.66666667%; } .col-md-pull-10 { right: 83.33333333%; } .col-md-pull-9 { right: 75%; } .col-md-pull-8 { right: 66.66666667%; } .col-md-pull-7 { right: 58.33333333%; } .col-md-pull-6 { right: 50%; } .col-md-pull-5 { right: 41.66666667%; } .col-md-pull-4 { right: 33.33333333%; } .col-md-pull-3 { right: 25%; } .col-md-pull-2 { right: 16.66666667%; } .col-md-pull-1 { right: 8.33333333%; } .col-md-pull-0 { right: auto; } .col-md-push-12 { left: 100%; } .col-md-push-11 { left: 91.66666667%; } .col-md-push-10 { left: 83.33333333%; } .col-md-push-9 { left: 75%; } .col-md-push-8 { left: 66.66666667%; } .col-md-push-7 { left: 58.33333333%; } .col-md-push-6 { left: 50%; } .col-md-push-5 { left: 41.66666667%; } .col-md-push-4 { left: 33.33333333%; } .col-md-push-3 { left: 25%; } .col-md-push-2 { left: 16.66666667%; } .col-md-push-1 { left: 8.33333333%; } .col-md-push-0 { left: auto; } .col-md-offset-12 { margin-left: 100%; } .col-md-offset-11 { margin-left: 91.66666667%; } .col-md-offset-10 { margin-left: 83.33333333%; } .col-md-offset-9 { margin-left: 75%; } .col-md-offset-8 { margin-left: 66.66666667%; } .col-md-offset-7 { margin-left: 58.33333333%; } .col-md-offset-6 { margin-left: 50%; } .col-md-offset-5 { margin-left: 41.66666667%; } .col-md-offset-4 { margin-left: 33.33333333%; } .col-md-offset-3 { margin-left: 25%; } .col-md-offset-2 { margin-left: 16.66666667%; } .col-md-offset-1 { margin-left: 8.33333333%; } .col-md-offset-0 { margin-left: 0%; } } @media (min-width: 1200px) { .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 { float: left; } .col-lg-12 { width: 100%; } .col-lg-11 { width: 91.66666667%; } .col-lg-10 { width: 83.33333333%; } .col-lg-9 { width: 75%; } .col-lg-8 { width: 66.66666667%; } .col-lg-7 { width: 58.33333333%; } .col-lg-6 { width: 50%; } .col-lg-5 { width: 41.66666667%; } .col-lg-4 { width: 33.33333333%; } .col-lg-3 { width: 25%; } .col-lg-2 { width: 16.66666667%; } .col-lg-1 { width: 8.33333333%; } .col-lg-pull-12 { right: 100%; } .col-lg-pull-11 { right: 91.66666667%; } .col-lg-pull-10 { right: 83.33333333%; } .col-lg-pull-9 { right: 75%; } .col-lg-pull-8 { right: 66.66666667%; } .col-lg-pull-7 { right: 58.33333333%; } .col-lg-pull-6 { right: 50%; } .col-lg-pull-5 { right: 41.66666667%; } .col-lg-pull-4 { right: 33.33333333%; } .col-lg-pull-3 { right: 25%; } .col-lg-pull-2 { right: 16.66666667%; } .col-lg-pull-1 { right: 8.33333333%; } .col-lg-pull-0 { right: auto; } .col-lg-push-12 { left: 100%; } .col-lg-push-11 { left: 91.66666667%; } .col-lg-push-10 { left: 83.33333333%; } .col-lg-push-9 { left: 75%; } .col-lg-push-8 { left: 66.66666667%; } .col-lg-push-7 { left: 58.33333333%; } .col-lg-push-6 { left: 50%; } .col-lg-push-5 { left: 41.66666667%; } .col-lg-push-4 { left: 33.33333333%; } .col-lg-push-3 { left: 25%; } .col-lg-push-2 { left: 16.66666667%; } .col-lg-push-1 { left: 8.33333333%; } .col-lg-push-0 { left: auto; } .col-lg-offset-12 { margin-left: 100%; } .col-lg-offset-11 { margin-left: 91.66666667%; } .col-lg-offset-10 { margin-left: 83.33333333%; } .col-lg-offset-9 { margin-left: 75%; } .col-lg-offset-8 { margin-left: 66.66666667%; } .col-lg-offset-7 { margin-left: 58.33333333%; } .col-lg-offset-6 { margin-left: 50%; } .col-lg-offset-5 { margin-left: 41.66666667%; } .col-lg-offset-4 { margin-left: 33.33333333%; } .col-lg-offset-3 { margin-left: 25%; } .col-lg-offset-2 { margin-left: 16.66666667%; } .col-lg-offset-1 { margin-left: 8.33333333%; } .col-lg-offset-0 { margin-left: 0%; } } table { background-color: transparent; } caption { padding-top: 8px; padding-bottom: 8px; color: #777777; text-align: left; } th { text-align: left; } .table { width: 100%; max-width: 100%; margin-bottom: 20px; } .table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td { padding: 8px; line-height: 1.42857143; vertical-align: top; border-top: 1px solid #dddddd; } .table > thead > tr > th { vertical-align: bottom; border-bottom: 2px solid #dddddd; } .table > caption + thead > tr:first-child > th, .table > colgroup + thead > tr:first-child > th, .table > thead:first-child > tr:first-child > th, .table > caption + thead > tr:first-child > td, .table > colgroup + thead > tr:first-child > td, .table > thead:first-child > tr:first-child > td { border-top: 0; } .table > tbody + tbody { border-top: 2px solid #dddddd; } .table .table { background-color: #ffffff; } .table-condensed > thead > tr > th, .table-condensed > tbody > tr > th, .table-condensed > tfoot > tr > th, .table-condensed > thead > tr > td, .table-condensed > tbody > tr > td, .table-condensed > tfoot > tr > td { padding: 5px; } .table-bordered { border: 1px solid #dddddd; } .table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td { border: 1px solid #dddddd; } .table-bordered > thead > tr > th, .table-bordered > thead > tr > td { border-bottom-width: 2px; } .table-striped > tbody > tr:nth-of-type(odd) { background-color: #f9f9f9; } .table-hover > tbody > tr:hover { background-color: #f5f5f5; } table col[class*="col-"] { position: static; float: none; display: table-column; } table td[class*="col-"], table th[class*="col-"] { position: static; float: none; display: table-cell; } .table > thead > tr > td.active, .table > tbody > tr > td.active, .table > tfoot > tr > td.active, .table > thead > tr > th.active, .table > tbody > tr > th.active, .table > tfoot > tr > th.active, .table > thead > tr.active > td, .table > tbody > tr.active > td, .table > tfoot > tr.active > td, .table > thead > tr.active > th, .table > tbody > tr.active > th, .table > tfoot > tr.active > th { background-color: #f5f5f5; } .table-hover > tbody > tr > td.active:hover, .table-hover > tbody > tr > th.active:hover, .table-hover > tbody > tr.active:hover > td, .table-hover > tbody > tr:hover > .active, .table-hover > tbody > tr.active:hover > th { background-color: #e8e8e8; } .table > thead > tr > td.success, .table > tbody > tr > td.success, .table > tfoot > tr > td.success, .table > thead > tr > th.success, .table > tbody > tr > th.success, .table > tfoot > tr > th.success, .table > thead > tr.success > td, .table > tbody > tr.success > td, .table > tfoot > tr.success > td, .table > thead > tr.success > th, .table > tbody > tr.success > th, .table > tfoot > tr.success > th { background-color: #dff0d8; } .table-hover > tbody > tr > td.success:hover, .table-hover > tbody > tr > th.success:hover, .table-hover > tbody > tr.success:hover > td, .table-hover > tbody > tr:hover > .success, .table-hover > tbody > tr.success:hover > th { background-color: #d0e9c6; } .table > thead > tr > td.info, .table > tbody > tr > td.info, .table > tfoot > tr > td.info, .table > thead > tr > th.info, .table > tbody > tr > th.info, .table > tfoot > tr > th.info, .table > thead > tr.info > td, .table > tbody > tr.info > td, .table > tfoot > tr.info > td, .table > thead > tr.info > th, .table > tbody > tr.info > th, .table > tfoot > tr.info > th { background-color: #d9edf7; } .table-hover > tbody > tr > td.info:hover, .table-hover > tbody > tr > th.info:hover, .table-hover > tbody > tr.info:hover > td, .table-hover > tbody > tr:hover > .info, .table-hover > tbody > tr.info:hover > th { background-color: #c4e3f3; } .table > thead > tr > td.warning, .table > tbody > tr > td.warning, .table > tfoot > tr > td.warning, .table > thead > tr > th.warning, .table > tbody > tr > th.warning, .table > tfoot > tr > th.warning, .table > thead > tr.warning > td, .table > tbody > tr.warning > td, .table > tfoot > tr.warning > td, .table > thead > tr.warning > th, .table > tbody > tr.warning > th, .table > tfoot > tr.warning > th { background-color: #fcf8e3; } .table-hover > tbody > tr > td.warning:hover, .table-hover > tbody > tr > th.warning:hover, .table-hover > tbody > tr.warning:hover > td, .table-hover > tbody > tr:hover > .warning, .table-hover > tbody > tr.warning:hover > th { background-color: #faf2cc; } .table > thead > tr > td.danger, .table > tbody > tr > td.danger, .table > tfoot > tr > td.danger, .table > thead > tr > th.danger, .table > tbody > tr > th.danger, .table > tfoot > tr > th.danger, .table > thead > tr.danger > td, .table > tbody > tr.danger > td, .table > tfoot > tr.danger > td, .table > thead > tr.danger > th, .table > tbody > tr.danger > th, .table > tfoot > tr.danger > th { background-color: #f2dede; } .table-hover > tbody > tr > td.danger:hover, .table-hover > tbody > tr > th.danger:hover, .table-hover > tbody > tr.danger:hover > td, .table-hover > tbody > tr:hover > .danger, .table-hover > tbody > tr.danger:hover > th { background-color: #ebcccc; } .table-responsive { overflow-x: auto; min-height: 0.01%; } @media screen and (max-width: 767px) { .table-responsive { width: 100%; margin-bottom: 15px; overflow-y: hidden; -ms-overflow-style: -ms-autohiding-scrollbar; border: 1px solid #dddddd; } .table-responsive > .table { margin-bottom: 0; } .table-responsive > .table > thead > tr > th, .table-responsive > .table > tbody > tr > th, .table-responsive > .table > tfoot > tr > th, .table-responsive > .table > thead > tr > td, .table-responsive > .table > tbody > tr > td, .table-responsive > .table > tfoot > tr > td { white-space: nowrap; } .table-responsive > .table-bordered { border: 0; } .table-responsive > .table-bordered > thead > tr > th:first-child, .table-responsive > .table-bordered > tbody > tr > th:first-child, .table-responsive > .table-bordered > tfoot > tr > th:first-child, .table-responsive > .table-bordered > thead > tr > td:first-child, .table-responsive > .table-bordered > tbody > tr > td:first-child, .table-responsive > .table-bordered > tfoot > tr > td:first-child { border-left: 0; } .table-responsive > .table-bordered > thead > tr > th:last-child, .table-responsive > .table-bordered > tbody > tr > th:last-child, .table-responsive > .table-bordered > tfoot > tr > th:last-child, .table-responsive > .table-bordered > thead > tr > td:last-child, .table-responsive > .table-bordered > tbody > tr > td:last-child, .table-responsive > .table-bordered > tfoot > tr > td:last-child { border-right: 0; } .table-responsive > .table-bordered > tbody > tr:last-child > th, .table-responsive > .table-bordered > tfoot > tr:last-child > th, .table-responsive > .table-bordered > tbody > tr:last-child > td, .table-responsive > .table-bordered > tfoot > tr:last-child > td { border-bottom: 0; } } fieldset { padding: 0; margin: 0; border: 0; min-width: 0; } legend { display: block; width: 100%; padding: 0; margin-bottom: 20px; font-size: 21px; line-height: inherit; color: #333333; border: 0; border-bottom: 1px solid #e5e5e5; } label { display: inline-block; max-width: 100%; margin-bottom: 5px; font-weight: bold; } input[type="search"] { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } input[type="radio"], input[type="checkbox"] { margin: 4px 0 0; margin-top: 1px \9; line-height: normal; } input[type="file"] { display: block; } input[type="range"] { display: block; width: 100%; } select[multiple], select[size] { height: auto; } input[type="file"]:focus, input[type="radio"]:focus, input[type="checkbox"]:focus { outline: thin dotted; outline: 5px auto -webkit-focus-ring-color; outline-offset: -2px; } output { display: block; padding-top: 7px; font-size: 14px; line-height: 1.42857143; color: #555555; } .form-control { display: block; width: 100%; height: 34px; padding: 6px 12px; font-size: 14px; line-height: 1.42857143; color: #555555; background-color: #ffffff; background-image: none; border: 1px solid #cccccc; border-radius: 4px; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; } .form-control:focus { border-color: #66afe9; outline: 0; -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6); box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6); } .form-control::-moz-placeholder { color: #999999; opacity: 1; } .form-control:-ms-input-placeholder { color: #999999; } .form-control::-webkit-input-placeholder { color: #999999; } .form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control { cursor: not-allowed; background-color: #eeeeee; opacity: 1; } textarea.form-control { height: auto; } input[type="search"] { -webkit-appearance: none; } @media screen and (-webkit-min-device-pixel-ratio: 0) { input[type="date"], input[type="time"], input[type="datetime-local"], input[type="month"] { line-height: 34px; } input[type="date"].input-sm, input[type="time"].input-sm, input[type="datetime-local"].input-sm, input[type="month"].input-sm, .input-group-sm input[type="date"], .input-group-sm input[type="time"], .input-group-sm input[type="datetime-local"], .input-group-sm input[type="month"] { line-height: 30px; } input[type="date"].input-lg, input[type="time"].input-lg, input[type="datetime-local"].input-lg, input[type="month"].input-lg, .input-group-lg input[type="date"], .input-group-lg input[type="time"], .input-group-lg input[type="datetime-local"], .input-group-lg input[type="month"] { line-height: 46px; } } .form-group { margin-bottom: 15px; } .radio, .checkbox { position: relative; display: block; margin-top: 10px; margin-bottom: 10px; } .radio label, .checkbox label { min-height: 20px; padding-left: 20px; margin-bottom: 0; font-weight: normal; cursor: pointer; } .radio input[type="radio"], .radio-inline input[type="radio"], .checkbox input[type="checkbox"], .checkbox-inline input[type="checkbox"] { position: absolute; margin-left: -20px; margin-top: 4px \9; } .radio + .radio, .checkbox + .checkbox { margin-top: -5px; } .radio-inline, .checkbox-inline { display: inline-block; padding-left: 20px; margin-bottom: 0; vertical-align: middle; font-weight: normal; cursor: pointer; } .radio-inline + .radio-inline, .checkbox-inline + .checkbox-inline { margin-top: 0; margin-left: 10px; } input[type="radio"][disabled], input[type="checkbox"][disabled], input[type="radio"].disabled, input[type="checkbox"].disabled, fieldset[disabled] input[type="radio"], fieldset[disabled] input[type="checkbox"] { cursor: not-allowed; } .radio-inline.disabled, .checkbox-inline.disabled, fieldset[disabled] .radio-inline, fieldset[disabled] .checkbox-inline { cursor: not-allowed; } .radio.disabled label, .checkbox.disabled label, fieldset[disabled] .radio label, fieldset[disabled] .checkbox label { cursor: not-allowed; } .form-control-static { padding-top: 7px; padding-bottom: 7px; margin-bottom: 0; } .form-control-static.input-lg, .form-control-static.input-sm { padding-left: 0; padding-right: 0; } .input-sm { height: 30px; padding: 5px 10px; font-size: 12px; line-height: 1.5; border-radius: 3px; } select.input-sm { height: 30px; line-height: 30px; } textarea.input-sm, select[multiple].input-sm { height: auto; } .form-group-sm .form-control { height: 30px; padding: 5px 10px; font-size: 12px; line-height: 1.5; border-radius: 3px; } select.form-group-sm .form-control { height: 30px; line-height: 30px; } textarea.form-group-sm .form-control, select[multiple].form-group-sm .form-control { height: auto; } .form-group-sm .form-control-static { height: 30px; padding: 5px 10px; font-size: 12px; line-height: 1.5; } .input-lg { height: 46px; padding: 10px 16px; font-size: 18px; line-height: 1.3333333; border-radius: 6px; } select.input-lg { height: 46px; line-height: 46px; } textarea.input-lg, select[multiple].input-lg { height: auto; } .form-group-lg .form-control { height: 46px; padding: 10px 16px; font-size: 18px; line-height: 1.3333333; border-radius: 6px; } select.form-group-lg .form-control { height: 46px; line-height: 46px; } textarea.form-group-lg .form-control, select[multiple].form-group-lg .form-control { height: auto; } .form-group-lg .form-control-static { height: 46px; padding: 10px 16px; font-size: 18px; line-height: 1.3333333; } .has-feedback { position: relative; } .has-feedback .form-control { padding-right: 42.5px; } .form-control-feedback { position: absolute; top: 0; right: 0; z-index: 2; display: block; width: 34px; height: 34px; line-height: 34px; text-align: center; pointer-events: none; } .input-lg + .form-control-feedback { width: 46px; height: 46px; line-height: 46px; } .input-sm + .form-control-feedback { width: 30px; height: 30px; line-height: 30px; } .has-success .help-block, .has-success .control-label, .has-success .radio, .has-success .checkbox, .has-success .radio-inline, .has-success .checkbox-inline, .has-success.radio label, .has-success.checkbox label, .has-success.radio-inline label, .has-success.checkbox-inline label { color: #3c763d; } .has-success .form-control { border-color: #3c763d; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); } .has-success .form-control:focus { border-color: #2b542c; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168; } .has-success .input-group-addon { color: #3c763d; border-color: #3c763d; background-color: #dff0d8; } .has-success .form-control-feedback { color: #3c763d; } .has-warning .help-block, .has-warning .control-label, .has-warning .radio, .has-warning .checkbox, .has-warning .radio-inline, .has-warning .checkbox-inline, .has-warning.radio label, .has-warning.checkbox label, .has-warning.radio-inline label, .has-warning.checkbox-inline label { color: #8a6d3b; } .has-warning .form-control { border-color: #8a6d3b; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); } .has-warning .form-control:focus { border-color: #66512c; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b; } .has-warning .input-group-addon { color: #8a6d3b; border-color: #8a6d3b; background-color: #fcf8e3; } .has-warning .form-control-feedback { color: #8a6d3b; } .has-error .help-block, .has-error .control-label, .has-error .radio, .has-error .checkbox, .has-error .radio-inline, .has-error .checkbox-inline, .has-error.radio label, .has-error.checkbox label, .has-error.radio-inline label, .has-error.checkbox-inline label { color: #a94442; } .has-error .form-control { border-color: #a94442; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); } .has-error .form-control:focus { border-color: #843534; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483; } .has-error .input-group-addon { color: #a94442; border-color: #a94442; background-color: #f2dede; } .has-error .form-control-feedback { color: #a94442; } .has-feedback label ~ .form-control-feedback { top: 25px; } .has-feedback label.sr-only ~ .form-control-feedback { top: 0; } .help-block { display: block; margin-top: 5px; margin-bottom: 10px; color: #737373; } @media (min-width: 768px) { .form-inline .form-group { display: inline-block; margin-bottom: 0; vertical-align: middle; } .form-inline .form-control { display: inline-block; width: auto; vertical-align: middle; } .form-inline .form-control-static { display: inline-block; } .form-inline .input-group { display: inline-table; vertical-align: middle; } .form-inline .input-group .input-group-addon, .form-inline .input-group .input-group-btn, .form-inline .input-group .form-control { width: auto; } .form-inline .input-group > .form-control { width: 100%; } .form-inline .control-label { margin-bottom: 0; vertical-align: middle; } .form-inline .radio, .form-inline .checkbox { display: inline-block; margin-top: 0; margin-bottom: 0; vertical-align: middle; } .form-inline .radio label, .form-inline .checkbox label { padding-left: 0; } .form-inline .radio input[type="radio"], .form-inline .checkbox input[type="checkbox"] { position: relative; margin-left: 0; } .form-inline .has-feedback .form-control-feedback { top: 0; } } .form-horizontal .radio, .form-horizontal .checkbox, .form-horizontal .radio-inline, .form-horizontal .checkbox-inline { margin-top: 0; margin-bottom: 0; padding-top: 7px; } .form-horizontal .radio, .form-horizontal .checkbox { min-height: 27px; } .form-horizontal .form-group { margin-left: -15px; margin-right: -15px; } @media (min-width: 768px) { .form-horizontal .control-label { text-align: right; margin-bottom: 0; padding-top: 7px; } } .form-horizontal .has-feedback .form-control-feedback { right: 15px; } @media (min-width: 768px) { .form-horizontal .form-group-lg .control-label { padding-top: 14.333333px; } } @media (min-width: 768px) { .form-horizontal .form-group-sm .control-label { padding-top: 6px; } } .btn { display: inline-block; margin-bottom: 0; font-weight: normal; text-align: center; vertical-align: middle; touch-action: manipulation; cursor: pointer; background-image: none; border: 1px solid transparent; white-space: nowrap; padding: 6px 12px; font-size: 14px; line-height: 1.42857143; border-radius: 4px; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn.active.focus { outline: thin dotted; outline: 5px auto -webkit-focus-ring-color; outline-offset: -2px; } .btn:hover, .btn:focus, .btn.focus { color: #333333; text-decoration: none; } .btn:active, .btn.active { outline: 0; background-image: none; -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); } .btn.disabled, .btn[disabled], fieldset[disabled] .btn { cursor: not-allowed; pointer-events: none; opacity: 0.65; filter: alpha(opacity=65); -webkit-box-shadow: none; box-shadow: none; } .btn-default { color: #333333; background-color: #ffffff; border-color: #cccccc; } .btn-default:hover, .btn-default:focus, .btn-default.focus, .btn-default:active, .btn-default.active, .open > .dropdown-toggle.btn-default { color: #333333; background-color: #e6e6e6; border-color: #adadad; } .btn-default:active, .btn-default.active, .open > .dropdown-toggle.btn-default { background-image: none; } .btn-default.disabled, .btn-default[disabled], fieldset[disabled] .btn-default, .btn-default.disabled:hover, .btn-default[disabled]:hover, fieldset[disabled] .btn-default:hover, .btn-default.disabled:focus, .btn-default[disabled]:focus, fieldset[disabled] .btn-default:focus, .btn-default.disabled.focus, .btn-default[disabled].focus, fieldset[disabled] .btn-default.focus, .btn-default.disabled:active, .btn-default[disabled]:active, fieldset[disabled] .btn-default:active, .btn-default.disabled.active, .btn-default[disabled].active, fieldset[disabled] .btn-default.active { background-color: #ffffff; border-color: #cccccc; } .btn-default .badge { color: #ffffff; background-color: #333333; } .btn-primary { color: #ffffff; background-color: #337ab7; border-color: #2e6da4; } .btn-primary:hover, .btn-primary:focus, .btn-primary.focus, .btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary { color: #ffffff; background-color: #286090; border-color: #204d74; } .btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary { background-image: none; } .btn-primary.disabled, .btn-primary[disabled], fieldset[disabled] .btn-primary, .btn-primary.disabled:hover, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary:hover, .btn-primary.disabled:focus, .btn-primary[disabled]:focus, fieldset[disabled] .btn-primary:focus, .btn-primary.disabled.focus, .btn-primary[disabled].focus, fieldset[disabled] .btn-primary.focus, .btn-primary.disabled:active, .btn-primary[disabled]:active, fieldset[disabled] .btn-primary:active, .btn-primary.disabled.active, .btn-primary[disabled].active, fieldset[disabled] .btn-primary.active { background-color: #337ab7; border-color: #2e6da4; } .btn-primary .badge { color: #337ab7; background-color: #ffffff; } .btn-success { color: #ffffff; background-color: #5cb85c; border-color: #4cae4c; } .btn-success:hover, .btn-success:focus, .btn-success.focus, .btn-success:active, .btn-success.active, .open > .dropdown-toggle.btn-success { color: #ffffff; background-color: #449d44; border-color: #398439; } .btn-success:active, .btn-success.active, .open > .dropdown-toggle.btn-success { background-image: none; } .btn-success.disabled, .btn-success[disabled], fieldset[disabled] .btn-success, .btn-success.disabled:hover, .btn-success[disabled]:hover, fieldset[disabled] .btn-success:hover, .btn-success.disabled:focus, .btn-success[disabled]:focus, fieldset[disabled] .btn-success:focus, .btn-success.disabled.focus, .btn-success[disabled].focus, fieldset[disabled] .btn-success.focus, .btn-success.disabled:active, .btn-success[disabled]:active, fieldset[disabled] .btn-success:active, .btn-success.disabled.active, .btn-success[disabled].active, fieldset[disabled] .btn-success.active { background-color: #5cb85c; border-color: #4cae4c; } .btn-success .badge { color: #5cb85c; background-color: #ffffff; } .btn-info { color: #ffffff; background-color: #5bc0de; border-color: #46b8da; } .btn-info:hover, .btn-info:focus, .btn-info.focus, .btn-info:active, .btn-info.active, .open > .dropdown-toggle.btn-info { color: #ffffff; background-color: #31b0d5; border-color: #269abc; } .btn-info:active, .btn-info.active, .open > .dropdown-toggle.btn-info { background-image: none; } .btn-info.disabled, .btn-info[disabled], fieldset[disabled] .btn-info, .btn-info.disabled:hover, .btn-info[disabled]:hover, fieldset[disabled] .btn-info:hover, .btn-info.disabled:focus, .btn-info[disabled]:focus, fieldset[disabled] .btn-info:focus, .btn-info.disabled.focus, .btn-info[disabled].focus, fieldset[disabled] .btn-info.focus, .btn-info.disabled:active, .btn-info[disabled]:active, fieldset[disabled] .btn-info:active, .btn-info.disabled.active, .btn-info[disabled].active, fieldset[disabled] .btn-info.active { background-color: #5bc0de; border-color: #46b8da; } .btn-info .badge { color: #5bc0de; background-color: #ffffff; } .btn-warning { color: #ffffff; background-color: #f0ad4e; border-color: #eea236; } .btn-warning:hover, .btn-warning:focus, .btn-warning.focus, .btn-warning:active, .btn-warning.active, .open > .dropdown-toggle.btn-warning { color: #ffffff; background-color: #ec971f; border-color: #d58512; } .btn-warning:active, .btn-warning.active, .open > .dropdown-toggle.btn-warning { background-image: none; } .btn-warning.disabled, .btn-warning[disabled], fieldset[disabled] .btn-warning, .btn-warning.disabled:hover, .btn-warning[disabled]:hover, fieldset[disabled] .btn-warning:hover, .btn-warning.disabled:focus, .btn-warning[disabled]:focus, fieldset[disabled] .btn-warning:focus, .btn-warning.disabled.focus, .btn-warning[disabled].focus, fieldset[disabled] .btn-warning.focus, .btn-warning.disabled:active, .btn-warning[disabled]:active, fieldset[disabled] .btn-warning:active, .btn-warning.disabled.active, .btn-warning[disabled].active, fieldset[disabled] .btn-warning.active { background-color: #f0ad4e; border-color: #eea236; } .btn-warning .badge { color: #f0ad4e; background-color: #ffffff; } .btn-danger { color: #ffffff; background-color: #d9534f; border-color: #d43f3a; } .btn-danger:hover, .btn-danger:focus, .btn-danger.focus, .btn-danger:active, .btn-danger.active, .open > .dropdown-toggle.btn-danger { color: #ffffff; background-color: #c9302c; border-color: #ac2925; } .btn-danger:active, .btn-danger.active, .open > .dropdown-toggle.btn-danger { background-image: none; } .btn-danger.disabled, .btn-danger[disabled], fieldset[disabled] .btn-danger, .btn-danger.disabled:hover, .btn-danger[disabled]:hover, fieldset[disabled] .btn-danger:hover, .btn-danger.disabled:focus, .btn-danger[disabled]:focus, fieldset[disabled] .btn-danger:focus, .btn-danger.disabled.focus, .btn-danger[disabled].focus, fieldset[disabled] .btn-danger.focus, .btn-danger.disabled:active, .btn-danger[disabled]:active, fieldset[disabled] .btn-danger:active, .btn-danger.disabled.active, .btn-danger[disabled].active, fieldset[disabled] .btn-danger.active { background-color: #d9534f; border-color: #d43f3a; } .btn-danger .badge { color: #d9534f; background-color: #ffffff; } .btn-link { color: #337ab7; font-weight: normal; border-radius: 0; } .btn-link, .btn-link:active, .btn-link.active, .btn-link[disabled], fieldset[disabled] .btn-link { background-color: transparent; -webkit-box-shadow: none; box-shadow: none; } .btn-link, .btn-link:hover, .btn-link:focus, .btn-link:active { border-color: transparent; } .btn-link:hover, .btn-link:focus { color: #23527c; text-decoration: underline; background-color: transparent; } .btn-link[disabled]:hover, fieldset[disabled] .btn-link:hover, .btn-link[disabled]:focus, fieldset[disabled] .btn-link:focus { color: #777777; text-decoration: none; } .btn-lg, .btn-group-lg > .btn { padding: 10px 16px; font-size: 18px; line-height: 1.3333333; border-radius: 6px; } .btn-sm, .btn-group-sm > .btn { padding: 5px 10px; font-size: 12px; line-height: 1.5; border-radius: 3px; } .btn-xs, .btn-group-xs > .btn { padding: 1px 5px; font-size: 12px; line-height: 1.5; border-radius: 3px; } .btn-block { display: block; width: 100%; } .btn-block + .btn-block { margin-top: 5px; } input[type="submit"].btn-block, input[type="reset"].btn-block, input[type="button"].btn-block { width: 100%; } .fade { opacity: 0; -webkit-transition: opacity 0.15s linear; -o-transition: opacity 0.15s linear; transition: opacity 0.15s linear; } .fade.in { opacity: 1; } .collapse { display: none; visibility: hidden; } .collapse.in { display: block; visibility: visible; } tr.collapse.in { display: table-row; } tbody.collapse.in { display: table-row-group; } .collapsing { position: relative; height: 0; overflow: hidden; -webkit-transition-property: height, visibility; transition-property: height, visibility; -webkit-transition-duration: 0.35s; transition-duration: 0.35s; -webkit-transition-timing-function: ease; transition-timing-function: ease; } .caret { display: inline-block; width: 0; height: 0; margin-left: 2px; vertical-align: middle; border-top: 4px solid; border-right: 4px solid transparent; border-left: 4px solid transparent; } .dropup, .dropdown { position: relative; } .dropdown-toggle:focus { outline: 0; } .dropdown-menu { position: absolute; top: 100%; left: 0; z-index: 1000; display: none; float: left; min-width: 160px; padding: 5px 0; margin: 2px 0 0; list-style: none; font-size: 14px; text-align: left; background-color: #ffffff; border: 1px solid #cccccc; border: 1px solid rgba(0, 0, 0, 0.15); border-radius: 4px; -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); background-clip: padding-box; } .dropdown-menu.pull-right { right: 0; left: auto; } .dropdown-menu .divider { height: 1px; margin: 9px 0; overflow: hidden; background-color: #e5e5e5; } .dropdown-menu > li > a { display: block; padding: 3px 20px; clear: both; font-weight: normal; line-height: 1.42857143; color: #333333; white-space: nowrap; } .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus { text-decoration: none; color: #262626; background-color: #f5f5f5; } .dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus { color: #ffffff; text-decoration: none; outline: 0; background-color: #337ab7; } .dropdown-menu > .disabled > a, .dropdown-menu > .disabled > a:hover, .dropdown-menu > .disabled > a:focus { color: #777777; } .dropdown-menu > .disabled > a:hover, .dropdown-menu > .disabled > a:focus { text-decoration: none; background-color: transparent; background-image: none; filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); cursor: not-allowed; } .open > .dropdown-menu { display: block; } .open > a { outline: 0; } .dropdown-menu-right { left: auto; right: 0; } .dropdown-menu-left { left: 0; right: auto; } .dropdown-header { display: block; padding: 3px 20px; font-size: 12px; line-height: 1.42857143; color: #777777; white-space: nowrap; } .dropdown-backdrop { position: fixed; left: 0; right: 0; bottom: 0; top: 0; z-index: 990; } .pull-right > .dropdown-menu { right: 0; left: auto; } .dropup .caret, .navbar-fixed-bottom .dropdown .caret { border-top: 0; border-bottom: 4px solid; content: ""; } .dropup .dropdown-menu, .navbar-fixed-bottom .dropdown .dropdown-menu { top: auto; bottom: 100%; margin-bottom: 2px; } @media (min-width: 768px) { .navbar-right .dropdown-menu { left: auto; right: 0; } .navbar-right .dropdown-menu-left { left: 0; right: auto; } } .btn-group, .btn-group-vertical { position: relative; display: inline-block; vertical-align: middle; } .btn-group > .btn, .btn-group-vertical > .btn { position: relative; float: left; } .btn-group > .btn:hover, .btn-group-vertical > .btn:hover, .btn-group > .btn:focus, .btn-group-vertical > .btn:focus, .btn-group > .btn:active, .btn-group-vertical > .btn:active, .btn-group > .btn.active, .btn-group-vertical > .btn.active { z-index: 2; } .btn-group .btn + .btn, .btn-group .btn + .btn-group, .btn-group .btn-group + .btn, .btn-group .btn-group + .btn-group { margin-left: -1px; } .btn-toolbar { margin-left: -5px; } .btn-toolbar .btn-group, .btn-toolbar .input-group { float: left; } .btn-toolbar > .btn, .btn-toolbar > .btn-group, .btn-toolbar > .input-group { margin-left: 5px; } .btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { border-radius: 0; } .btn-group > .btn:first-child { margin-left: 0; } .btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) { border-bottom-right-radius: 0; border-top-right-radius: 0; } .btn-group > .btn:last-child:not(:first-child), .btn-group > .dropdown-toggle:not(:first-child) { border-bottom-left-radius: 0; border-top-left-radius: 0; } .btn-group > .btn-group { float: left; } .btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { border-radius: 0; } .btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child, .btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle { border-bottom-right-radius: 0; border-top-right-radius: 0; } .btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child { border-bottom-left-radius: 0; border-top-left-radius: 0; } .btn-group .dropdown-toggle:active, .btn-group.open .dropdown-toggle { outline: 0; } .btn-group > .btn + .dropdown-toggle { padding-left: 8px; padding-right: 8px; } .btn-group > .btn-lg + .dropdown-toggle { padding-left: 12px; padding-right: 12px; } .btn-group.open .dropdown-toggle { -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); } .btn-group.open .dropdown-toggle.btn-link { -webkit-box-shadow: none; box-shadow: none; } .btn .caret { margin-left: 0; } .btn-lg .caret { border-width: 5px 5px 0; border-bottom-width: 0; } .dropup .btn-lg .caret { border-width: 0 5px 5px; } .btn-group-vertical > .btn, .btn-group-vertical > .btn-group, .btn-group-vertical > .btn-group > .btn { display: block; float: none; width: 100%; max-width: 100%; } .btn-group-vertical > .btn-group > .btn { float: none; } .btn-group-vertical > .btn + .btn, .btn-group-vertical > .btn + .btn-group, .btn-group-vertical > .btn-group + .btn, .btn-group-vertical > .btn-group + .btn-group { margin-top: -1px; margin-left: 0; } .btn-group-vertical > .btn:not(:first-child):not(:last-child) { border-radius: 0; } .btn-group-vertical > .btn:first-child:not(:last-child) { border-top-right-radius: 4px; border-bottom-right-radius: 0; border-bottom-left-radius: 0; } .btn-group-vertical > .btn:last-child:not(:first-child) { border-bottom-left-radius: 4px; border-top-right-radius: 0; border-top-left-radius: 0; } .btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn { border-radius: 0; } .btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child, .btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle { border-bottom-right-radius: 0; border-bottom-left-radius: 0; } .btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child { border-top-right-radius: 0; border-top-left-radius: 0; } .btn-group-justified { display: table; width: 100%; table-layout: fixed; border-collapse: separate; } .btn-group-justified > .btn, .btn-group-justified > .btn-group { float: none; display: table-cell; width: 1%; } .btn-group-justified > .btn-group .btn { width: 100%; } .btn-group-justified > .btn-group .dropdown-menu { left: auto; } [data-toggle="buttons"] > .btn input[type="radio"], [data-toggle="buttons"] > .btn-group > .btn input[type="radio"], [data-toggle="buttons"] > .btn input[type="checkbox"], [data-toggle="buttons"] > .btn-group > .btn input[type="checkbox"] { position: absolute; clip: rect(0, 0, 0, 0); pointer-events: none; } .input-group { position: relative; display: table; border-collapse: separate; } .input-group[class*="col-"] { float: none; padding-left: 0; padding-right: 0; } .input-group .form-control { position: relative; z-index: 2; float: left; width: 100%; margin-bottom: 0; } .input-group-lg > .form-control, .input-group-lg > .input-group-addon, .input-group-lg > .input-group-btn > .btn { height: 46px; padding: 10px 16px; font-size: 18px; line-height: 1.3333333; border-radius: 6px; } select.input-group-lg > .form-control, select.input-group-lg > .input-group-addon, select.input-group-lg > .input-group-btn > .btn { height: 46px; line-height: 46px; } textarea.input-group-lg > .form-control, textarea.input-group-lg > .input-group-addon, textarea.input-group-lg > .input-group-btn > .btn, select[multiple].input-group-lg > .form-control, select[multiple].input-group-lg > .input-group-addon, select[multiple].input-group-lg > .input-group-btn > .btn { height: auto; } .input-group-sm > .form-control, .input-group-sm > .input-group-addon, .input-group-sm > .input-group-btn > .btn { height: 30px; padding: 5px 10px; font-size: 12px; line-height: 1.5; border-radius: 3px; } select.input-group-sm > .form-control, select.input-group-sm > .input-group-addon, select.input-group-sm > .input-group-btn > .btn { height: 30px; line-height: 30px; } textarea.input-group-sm > .form-control, textarea.input-group-sm > .input-group-addon, textarea.input-group-sm > .input-group-btn > .btn, select[multiple].input-group-sm > .form-control, select[multiple].input-group-sm > .input-group-addon, select[multiple].input-group-sm > .input-group-btn > .btn { height: auto; } .input-group-addon, .input-group-btn, .input-group .form-control { display: table-cell; } .input-group-addon:not(:first-child):not(:last-child), .input-group-btn:not(:first-child):not(:last-child), .input-group .form-control:not(:first-child):not(:last-child) { border-radius: 0; } .input-group-addon, .input-group-btn { width: 1%; white-space: nowrap; vertical-align: middle; } .input-group-addon { padding: 6px 12px; font-size: 14px; font-weight: normal; line-height: 1; color: #555555; text-align: center; background-color: #eeeeee; border: 1px solid #cccccc; border-radius: 4px; } .input-group-addon.input-sm { padding: 5px 10px; font-size: 12px; border-radius: 3px; } .input-group-addon.input-lg { padding: 10px 16px; font-size: 18px; border-radius: 6px; } .input-group-addon input[type="radio"], .input-group-addon input[type="checkbox"] { margin-top: 0; } .input-group .form-control:first-child, .input-group-addon:first-child, .input-group-btn:first-child > .btn, .input-group-btn:first-child > .btn-group > .btn, .input-group-btn:first-child > .dropdown-toggle, .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle), .input-group-btn:last-child > .btn-group:not(:last-child) > .btn { border-bottom-right-radius: 0; border-top-right-radius: 0; } .input-group-addon:first-child { border-right: 0; } .input-group .form-control:last-child, .input-group-addon:last-child, .input-group-btn:last-child > .btn, .input-group-btn:last-child > .btn-group > .btn, .input-group-btn:last-child > .dropdown-toggle, .input-group-btn:first-child > .btn:not(:first-child), .input-group-btn:first-child > .btn-group:not(:first-child) > .btn { border-bottom-left-radius: 0; border-top-left-radius: 0; } .input-group-addon:last-child { border-left: 0; } .input-group-btn { position: relative; font-size: 0; white-space: nowrap; } .input-group-btn > .btn { position: relative; } .input-group-btn > .btn + .btn { margin-left: -1px; } .input-group-btn > .btn:hover, .input-group-btn > .btn:focus, .input-group-btn > .btn:active { z-index: 2; } .input-group-btn:first-child > .btn, .input-group-btn:first-child > .btn-group { margin-right: -1px; } .input-group-btn:last-child > .btn, .input-group-btn:last-child > .btn-group { margin-left: -1px; } .nav { margin-bottom: 0; padding-left: 0; list-style: none; } .nav > li { position: relative; display: block; } .nav > li > a { position: relative; display: block; padding: 10px 15px; } .nav > li > a:hover, .nav > li > a:focus { text-decoration: none; background-color: #eeeeee; } .nav > li.disabled > a { color: #777777; } .nav > li.disabled > a:hover, .nav > li.disabled > a:focus { color: #777777; text-decoration: none; background-color: transparent; cursor: not-allowed; } .nav .open > a, .nav .open > a:hover, .nav .open > a:focus { background-color: #eeeeee; border-color: #337ab7; } .nav .nav-divider { height: 1px; margin: 9px 0; overflow: hidden; background-color: #e5e5e5; } .nav > li > a > img { max-width: none; } .nav-tabs { border-bottom: 1px solid #dddddd; } .nav-tabs > li { float: left; margin-bottom: -1px; } .nav-tabs > li > a { margin-right: 2px; line-height: 1.42857143; border: 1px solid transparent; border-radius: 4px 4px 0 0; } .nav-tabs > li > a:hover { border-color: #eeeeee #eeeeee #dddddd; } .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus { color: #555555; background-color: #ffffff; border: 1px solid #dddddd; border-bottom-color: transparent; cursor: default; } .nav-tabs.nav-justified { width: 100%; border-bottom: 0; } .nav-tabs.nav-justified > li { float: none; } .nav-tabs.nav-justified > li > a { text-align: center; margin-bottom: 5px; } .nav-tabs.nav-justified > .dropdown .dropdown-menu { top: auto; left: auto; } @media (min-width: 768px) { .nav-tabs.nav-justified > li { display: table-cell; width: 1%; } .nav-tabs.nav-justified > li > a { margin-bottom: 0; } } .nav-tabs.nav-justified > li > a { margin-right: 0; border-radius: 4px; } .nav-tabs.nav-justified > .active > a, .nav-tabs.nav-justified > .active > a:hover, .nav-tabs.nav-justified > .active > a:focus { border: 1px solid #dddddd; } @media (min-width: 768px) { .nav-tabs.nav-justified > li > a { border-bottom: 1px solid #dddddd; border-radius: 4px 4px 0 0; } .nav-tabs.nav-justified > .active > a, .nav-tabs.nav-justified > .active > a:hover, .nav-tabs.nav-justified > .active > a:focus { border-bottom-color: #ffffff; } } .nav-pills > li { float: left; } .nav-pills > li > a { border-radius: 4px; } .nav-pills > li + li { margin-left: 2px; } .nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus { color: #ffffff; background-color: #337ab7; } .nav-stacked > li { float: none; } .nav-stacked > li + li { margin-top: 2px; margin-left: 0; } .nav-justified { width: 100%; } .nav-justified > li { float: none; } .nav-justified > li > a { text-align: center; margin-bottom: 5px; } .nav-justified > .dropdown .dropdown-menu { top: auto; left: auto; } @media (min-width: 768px) { .nav-justified > li { display: table-cell; width: 1%; } .nav-justified > li > a { margin-bottom: 0; } } .nav-tabs-justified { border-bottom: 0; } .nav-tabs-justified > li > a { margin-right: 0; border-radius: 4px; } .nav-tabs-justified > .active > a, .nav-tabs-justified > .active > a:hover, .nav-tabs-justified > .active > a:focus { border: 1px solid #dddddd; } @media (min-width: 768px) { .nav-tabs-justified > li > a { border-bottom: 1px solid #dddddd; border-radius: 4px 4px 0 0; } .nav-tabs-justified > .active > a, .nav-tabs-justified > .active > a:hover, .nav-tabs-justified > .active > a:focus { border-bottom-color: #ffffff; } } .tab-content > .tab-pane { display: none; visibility: hidden; } .tab-content > .active { display: block; visibility: visible; } .nav-tabs .dropdown-menu { margin-top: -1px; border-top-right-radius: 0; border-top-left-radius: 0; } .navbar { position: relative; min-height: 50px; margin-bottom: 20px; border: 1px solid transparent; } @media (min-width: 768px) { .navbar { border-radius: 4px; } } @media (min-width: 768px) { .navbar-header { float: left; } } .navbar-collapse { overflow-x: visible; padding-right: 15px; padding-left: 15px; border-top: 1px solid transparent; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); -webkit-overflow-scrolling: touch; } .navbar-collapse.in { overflow-y: auto; } @media (min-width: 768px) { .navbar-collapse { width: auto; border-top: 0; box-shadow: none; } .navbar-collapse.collapse { display: block !important; visibility: visible !important; height: auto !important; padding-bottom: 0; overflow: visible !important; } .navbar-collapse.in { overflow-y: visible; } .navbar-fixed-top .navbar-collapse, .navbar-static-top .navbar-collapse, .navbar-fixed-bottom .navbar-collapse { padding-left: 0; padding-right: 0; } } .navbar-fixed-top .navbar-collapse, .navbar-fixed-bottom .navbar-collapse { max-height: 340px; } @media (max-device-width: 480px) and (orientation: landscape) { .navbar-fixed-top .navbar-collapse, .navbar-fixed-bottom .navbar-collapse { max-height: 200px; } } .container > .navbar-header, .container-fluid > .navbar-header, .container > .navbar-collapse, .container-fluid > .navbar-collapse { margin-right: -15px; margin-left: -15px; } @media (min-width: 768px) { .container > .navbar-header, .container-fluid > .navbar-header, .container > .navbar-collapse, .container-fluid > .navbar-collapse { margin-right: 0; margin-left: 0; } } .navbar-static-top { z-index: 1000; border-width: 0 0 1px; } @media (min-width: 768px) { .navbar-static-top { border-radius: 0; } } .navbar-fixed-top, .navbar-fixed-bottom { position: fixed; right: 0; left: 0; z-index: 1030; } @media (min-width: 768px) { .navbar-fixed-top, .navbar-fixed-bottom { border-radius: 0; } } .navbar-fixed-top { top: 0; border-width: 0 0 1px; } .navbar-fixed-bottom { bottom: 0; margin-bottom: 0; border-width: 1px 0 0; } .navbar-brand { float: left; padding: 15px 15px; font-size: 18px; line-height: 20px; height: 50px; } .navbar-brand:hover, .navbar-brand:focus { text-decoration: none; } .navbar-brand > img { display: block; } @media (min-width: 768px) { .navbar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand { margin-left: -15px; } } .navbar-toggle { position: relative; float: right; margin-right: 15px; padding: 9px 10px; margin-top: 8px; margin-bottom: 8px; background-color: transparent; background-image: none; border: 1px solid transparent; border-radius: 4px; } .navbar-toggle:focus { outline: 0; } .navbar-toggle .icon-bar { display: block; width: 22px; height: 2px; border-radius: 1px; } .navbar-toggle .icon-bar + .icon-bar { margin-top: 4px; } @media (min-width: 768px) { .navbar-toggle { display: none; } } .navbar-nav { margin: 7.5px -15px; } .navbar-nav > li > a { padding-top: 10px; padding-bottom: 10px; line-height: 20px; } @media (max-width: 767px) { .navbar-nav .open .dropdown-menu { position: static; float: none; width: auto; margin-top: 0; background-color: transparent; border: 0; box-shadow: none; } .navbar-nav .open .dropdown-menu > li > a, .navbar-nav .open .dropdown-menu .dropdown-header { padding: 5px 15px 5px 25px; } .navbar-nav .open .dropdown-menu > li > a { line-height: 20px; } .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-nav .open .dropdown-menu > li > a:focus { background-image: none; } } @media (min-width: 768px) { .navbar-nav { float: left; margin: 0; } .navbar-nav > li { float: left; } .navbar-nav > li > a { padding-top: 15px; padding-bottom: 15px; } } .navbar-form { margin-left: -15px; margin-right: -15px; padding: 10px 15px; border-top: 1px solid transparent; border-bottom: 1px solid transparent; -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); margin-top: 8px; margin-bottom: 8px; } @media (min-width: 768px) { .navbar-form .form-group { display: inline-block; margin-bottom: 0; vertical-align: middle; } .navbar-form .form-control { display: inline-block; width: auto; vertical-align: middle; } .navbar-form .form-control-static { display: inline-block; } .navbar-form .input-group { display: inline-table; vertical-align: middle; } .navbar-form .input-group .input-group-addon, .navbar-form .input-group .input-group-btn, .navbar-form .input-group .form-control { width: auto; } .navbar-form .input-group > .form-control { width: 100%; } .navbar-form .control-label { margin-bottom: 0; vertical-align: middle; } .navbar-form .radio, .navbar-form .checkbox { display: inline-block; margin-top: 0; margin-bottom: 0; vertical-align: middle; } .navbar-form .radio label, .navbar-form .checkbox label { padding-left: 0; } .navbar-form .radio input[type="radio"], .navbar-form .checkbox input[type="checkbox"] { position: relative; margin-left: 0; } .navbar-form .has-feedback .form-control-feedback { top: 0; } } @media (max-width: 767px) { .navbar-form .form-group { margin-bottom: 5px; } .navbar-form .form-group:last-child { margin-bottom: 0; } } @media (min-width: 768px) { .navbar-form { width: auto; border: 0; margin-left: 0; margin-right: 0; padding-top: 0; padding-bottom: 0; -webkit-box-shadow: none; box-shadow: none; } } .navbar-nav > li > .dropdown-menu { margin-top: 0; border-top-right-radius: 0; border-top-left-radius: 0; } .navbar-fixed-bottom .navbar-nav > li > .dropdown-menu { margin-bottom: 0; border-top-right-radius: 4px; border-top-left-radius: 4px; border-bottom-right-radius: 0; border-bottom-left-radius: 0; } .navbar-btn { margin-top: 8px; margin-bottom: 8px; } .navbar-btn.btn-sm { margin-top: 10px; margin-bottom: 10px; } .navbar-btn.btn-xs { margin-top: 14px; margin-bottom: 14px; } .navbar-text { margin-top: 15px; margin-bottom: 15px; } @media (min-width: 768px) { .navbar-text { float: left; margin-left: 15px; margin-right: 15px; } } @media (min-width: 768px) { .navbar-left { float: left !important; } .navbar-right { float: right !important; margin-right: -15px; } .navbar-right ~ .navbar-right { margin-right: 0; } } .navbar-default { background-color: #f8f8f8; border-color: #e7e7e7; } .navbar-default .navbar-brand { color: #777777; } .navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus { color: #5e5e5e; background-color: transparent; } .navbar-default .navbar-text { color: #777777; } .navbar-default .navbar-nav > li > a { color: #777777; } .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus { color: #333333; background-color: transparent; } .navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus { color: #555555; background-color: #e7e7e7; } .navbar-default .navbar-nav > .disabled > a, .navbar-default .navbar-nav > .disabled > a:hover, .navbar-default .navbar-nav > .disabled > a:focus { color: #cccccc; background-color: transparent; } .navbar-default .navbar-toggle { border-color: #dddddd; } .navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus { background-color: #dddddd; } .navbar-default .navbar-toggle .icon-bar { background-color: #888888; } .navbar-default .navbar-collapse, .navbar-default .navbar-form { border-color: #e7e7e7; } .navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus { background-color: #e7e7e7; color: #555555; } @media (max-width: 767px) { .navbar-default .navbar-nav .open .dropdown-menu > li > a { color: #777777; } .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { color: #333333; background-color: transparent; } .navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus { color: #555555; background-color: #e7e7e7; } .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus { color: #cccccc; background-color: transparent; } } .navbar-default .navbar-link { color: #777777; } .navbar-default .navbar-link:hover { color: #333333; } .navbar-default .btn-link { color: #777777; } .navbar-default .btn-link:hover, .navbar-default .btn-link:focus { color: #333333; } .navbar-default .btn-link[disabled]:hover, fieldset[disabled] .navbar-default .btn-link:hover, .navbar-default .btn-link[disabled]:focus, fieldset[disabled] .navbar-default .btn-link:focus { color: #cccccc; } .navbar-inverse { background-color: #222222; border-color: #080808; } .navbar-inverse .navbar-brand { color: #9d9d9d; } .navbar-inverse .navbar-brand:hover, .navbar-inverse .navbar-brand:focus { color: #ffffff; background-color: transparent; } .navbar-inverse .navbar-text { color: #9d9d9d; } .navbar-inverse .navbar-nav > li > a { color: #9d9d9d; } .navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus { color: #ffffff; background-color: transparent; } .navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus { color: #ffffff; background-color: #080808; } .navbar-inverse .navbar-nav > .disabled > a, .navbar-inverse .navbar-nav > .disabled > a:hover, .navbar-inverse .navbar-nav > .disabled > a:focus { color: #444444; background-color: transparent; } .navbar-inverse .navbar-toggle { border-color: #333333; } .navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus { background-color: #333333; } .navbar-inverse .navbar-toggle .icon-bar { background-color: #ffffff; } .navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form { border-color: #101010; } .navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus { background-color: #080808; color: #ffffff; } @media (max-width: 767px) { .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header { border-color: #080808; } .navbar-inverse .navbar-nav .open .dropdown-menu .divider { background-color: #080808; } .navbar-inverse .navbar-nav .open .dropdown-menu > li > a { color: #9d9d9d; } .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus { color: #ffffff; background-color: transparent; } .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus { color: #ffffff; background-color: #080808; } .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus { color: #444444; background-color: transparent; } } .navbar-inverse .navbar-link { color: #9d9d9d; } .navbar-inverse .navbar-link:hover { color: #ffffff; } .navbar-inverse .btn-link { color: #9d9d9d; } .navbar-inverse .btn-link:hover, .navbar-inverse .btn-link:focus { color: #ffffff; } .navbar-inverse .btn-link[disabled]:hover, fieldset[disabled] .navbar-inverse .btn-link:hover, .navbar-inverse .btn-link[disabled]:focus, fieldset[disabled] .navbar-inverse .btn-link:focus { color: #444444; } .breadcrumb { padding: 8px 15px; margin-bottom: 20px; list-style: none; background-color: #f5f5f5; border-radius: 4px; } .breadcrumb > li { display: inline-block; } .breadcrumb > li + li:before { content: "/\00a0"; padding: 0 5px; color: #cccccc; } .breadcrumb > .active { color: #777777; } .pagination { display: inline-block; padding-left: 0; margin: 20px 0; border-radius: 4px; } .pagination > li { display: inline; } .pagination > li > a, .pagination > li > span { position: relative; float: left; padding: 6px 12px; line-height: 1.42857143; text-decoration: none; color: #337ab7; background-color: #ffffff; border: 1px solid #dddddd; margin-left: -1px; } .pagination > li:first-child > a, .pagination > li:first-child > span { margin-left: 0; border-bottom-left-radius: 4px; border-top-left-radius: 4px; } .pagination > li:last-child > a, .pagination > li:last-child > span { border-bottom-right-radius: 4px; border-top-right-radius: 4px; } .pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus { color: #23527c; background-color: #eeeeee; border-color: #dddddd; } .pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus { z-index: 2; color: #ffffff; background-color: #337ab7; border-color: #337ab7; cursor: default; } .pagination > .disabled > span, .pagination > .disabled > span:hover, .pagination > .disabled > span:focus, .pagination > .disabled > a, .pagination > .disabled > a:hover, .pagination > .disabled > a:focus { color: #777777; background-color: #ffffff; border-color: #dddddd; cursor: not-allowed; } .pagination-lg > li > a, .pagination-lg > li > span { padding: 10px 16px; font-size: 18px; } .pagination-lg > li:first-child > a, .pagination-lg > li:first-child > span { border-bottom-left-radius: 6px; border-top-left-radius: 6px; } .pagination-lg > li:last-child > a, .pagination-lg > li:last-child > span { border-bottom-right-radius: 6px; border-top-right-radius: 6px; } .pagination-sm > li > a, .pagination-sm > li > span { padding: 5px 10px; font-size: 12px; } .pagination-sm > li:first-child > a, .pagination-sm > li:first-child > span { border-bottom-left-radius: 3px; border-top-left-radius: 3px; } .pagination-sm > li:last-child > a, .pagination-sm > li:last-child > span { border-bottom-right-radius: 3px; border-top-right-radius: 3px; } .pager { padding-left: 0; margin: 20px 0; list-style: none; text-align: center; } .pager li { display: inline; } .pager li > a, .pager li > span { display: inline-block; padding: 5px 14px; background-color: #ffffff; border: 1px solid #dddddd; border-radius: 15px; } .pager li > a:hover, .pager li > a:focus { text-decoration: none; background-color: #eeeeee; } .pager .next > a, .pager .next > span { float: right; } .pager .previous > a, .pager .previous > span { float: left; } .pager .disabled > a, .pager .disabled > a:hover, .pager .disabled > a:focus, .pager .disabled > span { color: #777777; background-color: #ffffff; cursor: not-allowed; } .label { display: inline; padding: .2em .6em .3em; font-size: 75%; font-weight: bold; line-height: 1; color: #ffffff; text-align: center; white-space: nowrap; vertical-align: baseline; border-radius: .25em; } a.label:hover, a.label:focus { color: #ffffff; text-decoration: none; cursor: pointer; } .label:empty { display: none; } .btn .label { position: relative; top: -1px; } .label-default { background-color: #777777; } .label-default[href]:hover, .label-default[href]:focus { background-color: #5e5e5e; } .label-primary { background-color: #337ab7; } .label-primary[href]:hover, .label-primary[href]:focus { background-color: #286090; } .label-success { background-color: #5cb85c; } .label-success[href]:hover, .label-success[href]:focus { background-color: #449d44; } .label-info { background-color: #5bc0de; } .label-info[href]:hover, .label-info[href]:focus { background-color: #31b0d5; } .label-warning { background-color: #f0ad4e; } .label-warning[href]:hover, .label-warning[href]:focus { background-color: #ec971f; } .label-danger { background-color: #d9534f; } .label-danger[href]:hover, .label-danger[href]:focus { background-color: #c9302c; } .badge { display: inline-block; min-width: 10px; padding: 3px 7px; font-size: 12px; font-weight: bold; color: #ffffff; line-height: 1; vertical-align: baseline; white-space: nowrap; text-align: center; background-color: #777777; border-radius: 10px; } .badge:empty { display: none; } .btn .badge { position: relative; top: -1px; } .btn-xs .badge { top: 0; padding: 1px 5px; } a.badge:hover, a.badge:focus { color: #ffffff; text-decoration: none; cursor: pointer; } .list-group-item.active > .badge, .nav-pills > .active > a > .badge { color: #337ab7; background-color: #ffffff; } .list-group-item > .badge { float: right; } .list-group-item > .badge + .badge { margin-right: 5px; } .nav-pills > li > a > .badge { margin-left: 3px; } .jumbotron { padding: 30px 15px; margin-bottom: 30px; color: inherit; background-color: #eeeeee; } .jumbotron h1, .jumbotron .h1 { color: inherit; } .jumbotron p { margin-bottom: 15px; font-size: 21px; font-weight: 200; } .jumbotron > hr { border-top-color: #d5d5d5; } .container .jumbotron, .container-fluid .jumbotron { border-radius: 6px; } .jumbotron .container { max-width: 100%; } @media screen and (min-width: 768px) { .jumbotron { padding: 48px 0; } .container .jumbotron, .container-fluid .jumbotron { padding-left: 60px; padding-right: 60px; } .jumbotron h1, .jumbotron .h1 { font-size: 63px; } } .thumbnail { display: block; padding: 4px; margin-bottom: 20px; line-height: 1.42857143; background-color: #ffffff; border: 1px solid #dddddd; border-radius: 4px; -webkit-transition: border 0.2s ease-in-out; -o-transition: border 0.2s ease-in-out; transition: border 0.2s ease-in-out; } .thumbnail > img, .thumbnail a > img { margin-left: auto; margin-right: auto; } a.thumbnail:hover, a.thumbnail:focus, a.thumbnail.active { border-color: #337ab7; } .thumbnail .caption { padding: 9px; color: #333333; } .alert { padding: 15px; margin-bottom: 20px; border: 1px solid transparent; border-radius: 4px; } .alert h4 { margin-top: 0; color: inherit; } .alert .alert-link { font-weight: bold; } .alert > p, .alert > ul { margin-bottom: 0; } .alert > p + p { margin-top: 5px; } .alert-dismissable, .alert-dismissible { padding-right: 35px; } .alert-dismissable .close, .alert-dismissible .close { position: relative; top: -2px; right: -21px; color: inherit; } .alert-success { background-color: #dff0d8; border-color: #d6e9c6; color: #3c763d; } .alert-success hr { border-top-color: #c9e2b3; } .alert-success .alert-link { color: #2b542c; } .alert-info { background-color: #d9edf7; border-color: #bce8f1; color: #31708f; } .alert-info hr { border-top-color: #a6e1ec; } .alert-info .alert-link { color: #245269; } .alert-warning { background-color: #fcf8e3; border-color: #faebcc; color: #8a6d3b; } .alert-warning hr { border-top-color: #f7e1b5; } .alert-warning .alert-link { color: #66512c; } .alert-danger { background-color: #f2dede; border-color: #ebccd1; color: #a94442; } .alert-danger hr { border-top-color: #e4b9c0; } .alert-danger .alert-link { color: #843534; } @-webkit-keyframes progress-bar-stripes { from { background-position: 40px 0; } to { background-position: 0 0; } } @keyframes progress-bar-stripes { from { background-position: 40px 0; } to { background-position: 0 0; } } .progress { overflow: hidden; height: 20px; margin-bottom: 20px; background-color: #f5f5f5; border-radius: 4px; -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); } .progress-bar { float: left; width: 0%; height: 100%; font-size: 12px; line-height: 20px; color: #ffffff; text-align: center; background-color: #337ab7; -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); -webkit-transition: width 0.6s ease; -o-transition: width 0.6s ease; transition: width 0.6s ease; } .progress-striped .progress-bar, .progress-bar-striped { background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-size: 40px 40px; } .progress.active .progress-bar, .progress-bar.active { -webkit-animation: progress-bar-stripes 2s linear infinite; -o-animation: progress-bar-stripes 2s linear infinite; animation: progress-bar-stripes 2s linear infinite; } .progress-bar-success { background-color: #5cb85c; } .progress-striped .progress-bar-success { background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); } .progress-bar-info { background-color: #5bc0de; } .progress-striped .progress-bar-info { background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); } .progress-bar-warning { background-color: #f0ad4e; } .progress-striped .progress-bar-warning { background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); } .progress-bar-danger { background-color: #d9534f; } .progress-striped .progress-bar-danger { background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); } .media { margin-top: 15px; } .media:first-child { margin-top: 0; } .media, .media-body { zoom: 1; overflow: hidden; } .media-body { width: 10000px; } .media-object { display: block; } .media-right, .media > .pull-right { padding-left: 10px; } .media-left, .media > .pull-left { padding-right: 10px; } .media-left, .media-right, .media-body { display: table-cell; vertical-align: top; } .media-middle { vertical-align: middle; } .media-bottom { vertical-align: bottom; } .media-heading { margin-top: 0; margin-bottom: 5px; } .media-list { padding-left: 0; list-style: none; } .list-group { margin-bottom: 20px; padding-left: 0; } .list-group-item { position: relative; display: block; padding: 10px 15px; margin-bottom: -1px; background-color: #ffffff; border: 1px solid #dddddd; } .list-group-item:first-child { border-top-right-radius: 4px; border-top-left-radius: 4px; } .list-group-item:last-child { margin-bottom: 0; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; } a.list-group-item { color: #555555; } a.list-group-item .list-group-item-heading { color: #333333; } a.list-group-item:hover, a.list-group-item:focus { text-decoration: none; color: #555555; background-color: #f5f5f5; } .list-group-item.disabled, .list-group-item.disabled:hover, .list-group-item.disabled:focus { background-color: #eeeeee; color: #777777; cursor: not-allowed; } .list-group-item.disabled .list-group-item-heading, .list-group-item.disabled:hover .list-group-item-heading, .list-group-item.disabled:focus .list-group-item-heading { color: inherit; } .list-group-item.disabled .list-group-item-text, .list-group-item.disabled:hover .list-group-item-text, .list-group-item.disabled:focus .list-group-item-text { color: #777777; } .list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus { z-index: 2; color: #ffffff; background-color: #337ab7; border-color: #337ab7; } .list-group-item.active .list-group-item-heading, .list-group-item.active:hover .list-group-item-heading, .list-group-item.active:focus .list-group-item-heading, .list-group-item.active .list-group-item-heading > small, .list-group-item.active:hover .list-group-item-heading > small, .list-group-item.active:focus .list-group-item-heading > small, .list-group-item.active .list-group-item-heading > .small, .list-group-item.active:hover .list-group-item-heading > .small, .list-group-item.active:focus .list-group-item-heading > .small { color: inherit; } .list-group-item.active .list-group-item-text, .list-group-item.active:hover .list-group-item-text, .list-group-item.active:focus .list-group-item-text { color: #c7ddef; } .list-group-item-success { color: #3c763d; background-color: #dff0d8; } a.list-group-item-success { color: #3c763d; } a.list-group-item-success .list-group-item-heading { color: inherit; } a.list-group-item-success:hover, a.list-group-item-success:focus { color: #3c763d; background-color: #d0e9c6; } a.list-group-item-success.active, a.list-group-item-success.active:hover, a.list-group-item-success.active:focus { color: #fff; background-color: #3c763d; border-color: #3c763d; } .list-group-item-info { color: #31708f; background-color: #d9edf7; } a.list-group-item-info { color: #31708f; } a.list-group-item-info .list-group-item-heading { color: inherit; } a.list-group-item-info:hover, a.list-group-item-info:focus { color: #31708f; background-color: #c4e3f3; } a.list-group-item-info.active, a.list-group-item-info.active:hover, a.list-group-item-info.active:focus { color: #fff; background-color: #31708f; border-color: #31708f; } .list-group-item-warning { color: #8a6d3b; background-color: #fcf8e3; } a.list-group-item-warning { color: #8a6d3b; } a.list-group-item-warning .list-group-item-heading { color: inherit; } a.list-group-item-warning:hover, a.list-group-item-warning:focus { color: #8a6d3b; background-color: #faf2cc; } a.list-group-item-warning.active, a.list-group-item-warning.active:hover, a.list-group-item-warning.active:focus { color: #fff; background-color: #8a6d3b; border-color: #8a6d3b; } .list-group-item-danger { color: #a94442; background-color: #f2dede; } a.list-group-item-danger { color: #a94442; } a.list-group-item-danger .list-group-item-heading { color: inherit; } a.list-group-item-danger:hover, a.list-group-item-danger:focus { color: #a94442; background-color: #ebcccc; } a.list-group-item-danger.active, a.list-group-item-danger.active:hover, a.list-group-item-danger.active:focus { color: #fff; background-color: #a94442; border-color: #a94442; } .list-group-item-heading { margin-top: 0; margin-bottom: 5px; } .list-group-item-text { margin-bottom: 0; line-height: 1.3; } .panel { margin-bottom: 20px; background-color: #ffffff; border: 1px solid transparent; border-radius: 4px; -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); } .panel-body { padding: 15px; } .panel-heading { padding: 10px 15px; border-bottom: 1px solid transparent; border-top-right-radius: 3px; border-top-left-radius: 3px; } .panel-heading > .dropdown .dropdown-toggle { color: inherit; } .panel-title { margin-top: 0; margin-bottom: 0; font-size: 16px; color: inherit; } .panel-title > a, .panel-title > small, .panel-title > .small, .panel-title > small > a, .panel-title > .small > a { color: inherit; } .panel-footer { padding: 10px 15px; background-color: #f5f5f5; border-top: 1px solid #dddddd; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; } .panel > .list-group, .panel > .panel-collapse > .list-group { margin-bottom: 0; } .panel > .list-group .list-group-item, .panel > .panel-collapse > .list-group .list-group-item { border-width: 1px 0; border-radius: 0; } .panel > .list-group:first-child .list-group-item:first-child, .panel > .panel-collapse > .list-group:first-child .list-group-item:first-child { border-top: 0; border-top-right-radius: 3px; border-top-left-radius: 3px; } .panel > .list-group:last-child .list-group-item:last-child, .panel > .panel-collapse > .list-group:last-child .list-group-item:last-child { border-bottom: 0; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; } .panel-heading + .list-group .list-group-item:first-child { border-top-width: 0; } .list-group + .panel-footer { border-top-width: 0; } .panel > .table, .panel > .table-responsive > .table, .panel > .panel-collapse > .table { margin-bottom: 0; } .panel > .table caption, .panel > .table-responsive > .table caption, .panel > .panel-collapse > .table caption { padding-left: 15px; padding-right: 15px; } .panel > .table:first-child, .panel > .table-responsive:first-child > .table:first-child { border-top-right-radius: 3px; border-top-left-radius: 3px; } .panel > .table:first-child > thead:first-child > tr:first-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child, .panel > .table:first-child > tbody:first-child > tr:first-child, .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child { border-top-left-radius: 3px; border-top-right-radius: 3px; } .panel > .table:first-child > thead:first-child > tr:first-child td:first-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child, .panel > .table:first-child > tbody:first-child > tr:first-child td:first-child, .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child, .panel > .table:first-child > thead:first-child > tr:first-child th:first-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child, .panel > .table:first-child > tbody:first-child > tr:first-child th:first-child, .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child { border-top-left-radius: 3px; } .panel > .table:first-child > thead:first-child > tr:first-child td:last-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child, .panel > .table:first-child > tbody:first-child > tr:first-child td:last-child, .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child, .panel > .table:first-child > thead:first-child > tr:first-child th:last-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child, .panel > .table:first-child > tbody:first-child > tr:first-child th:last-child, .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child { border-top-right-radius: 3px; } .panel > .table:last-child, .panel > .table-responsive:last-child > .table:last-child { border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; } .panel > .table:last-child > tbody:last-child > tr:last-child, .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child, .panel > .table:last-child > tfoot:last-child > tr:last-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child { border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; } .panel > .table:last-child > tbody:last-child > tr:last-child td:first-child, .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child, .panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child, .panel > .table:last-child > tbody:last-child > tr:last-child th:first-child, .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child, .panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child { border-bottom-left-radius: 3px; } .panel > .table:last-child > tbody:last-child > tr:last-child td:last-child, .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child, .panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child, .panel > .table:last-child > tbody:last-child > tr:last-child th:last-child, .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child, .panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child { border-bottom-right-radius: 3px; } .panel > .panel-body + .table, .panel > .panel-body + .table-responsive, .panel > .table + .panel-body, .panel > .table-responsive + .panel-body { border-top: 1px solid #dddddd; } .panel > .table > tbody:first-child > tr:first-child th, .panel > .table > tbody:first-child > tr:first-child td { border-top: 0; } .panel > .table-bordered, .panel > .table-responsive > .table-bordered { border: 0; } .panel > .table-bordered > thead > tr > th:first-child, .panel > .table-responsive > .table-bordered > thead > tr > th:first-child, .panel > .table-bordered > tbody > tr > th:first-child, .panel > .table-responsive > .table-bordered > tbody > tr > th:first-child, .panel > .table-bordered > tfoot > tr > th:first-child, .panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child, .panel > .table-bordered > thead > tr > td:first-child, .panel > .table-responsive > .table-bordered > thead > tr > td:first-child, .panel > .table-bordered > tbody > tr > td:first-child, .panel > .table-responsive > .table-bordered > tbody > tr > td:first-child, .panel > .table-bordered > tfoot > tr > td:first-child, .panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child { border-left: 0; } .panel > .table-bordered > thead > tr > th:last-child, .panel > .table-responsive > .table-bordered > thead > tr > th:last-child, .panel > .table-bordered > tbody > tr > th:last-child, .panel > .table-responsive > .table-bordered > tbody > tr > th:last-child, .panel > .table-bordered > tfoot > tr > th:last-child, .panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child, .panel > .table-bordered > thead > tr > td:last-child, .panel > .table-responsive > .table-bordered > thead > tr > td:last-child, .panel > .table-bordered > tbody > tr > td:last-child, .panel > .table-responsive > .table-bordered > tbody > tr > td:last-child, .panel > .table-bordered > tfoot > tr > td:last-child, .panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child { border-right: 0; } .panel > .table-bordered > thead > tr:first-child > td, .panel > .table-responsive > .table-bordered > thead > tr:first-child > td, .panel > .table-bordered > tbody > tr:first-child > td, .panel > .table-responsive > .table-bordered > tbody > tr:first-child > td, .panel > .table-bordered > thead > tr:first-child > th, .panel > .table-responsive > .table-bordered > thead > tr:first-child > th, .panel > .table-bordered > tbody > tr:first-child > th, .panel > .table-responsive > .table-bordered > tbody > tr:first-child > th { border-bottom: 0; } .panel > .table-bordered > tbody > tr:last-child > td, .panel > .table-responsive > .table-bordered > tbody > tr:last-child > td, .panel > .table-bordered > tfoot > tr:last-child > td, .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td, .panel > .table-bordered > tbody > tr:last-child > th, .panel > .table-responsive > .table-bordered > tbody > tr:last-child > th, .panel > .table-bordered > tfoot > tr:last-child > th, .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th { border-bottom: 0; } .panel > .table-responsive { border: 0; margin-bottom: 0; } .panel-group { margin-bottom: 20px; } .panel-group .panel { margin-bottom: 0; border-radius: 4px; } .panel-group .panel + .panel { margin-top: 5px; } .panel-group .panel-heading { border-bottom: 0; } .panel-group .panel-heading + .panel-collapse > .panel-body, .panel-group .panel-heading + .panel-collapse > .list-group { border-top: 1px solid #dddddd; } .panel-group .panel-footer { border-top: 0; } .panel-group .panel-footer + .panel-collapse .panel-body { border-bottom: 1px solid #dddddd; } .panel-default { border-color: #dddddd; } .panel-default > .panel-heading { color: #333333; background-color: #f5f5f5; border-color: #dddddd; } .panel-default > .panel-heading + .panel-collapse > .panel-body { border-top-color: #dddddd; } .panel-default > .panel-heading .badge { color: #f5f5f5; background-color: #333333; } .panel-default > .panel-footer + .panel-collapse > .panel-body { border-bottom-color: #dddddd; } .panel-primary { border-color: #337ab7; } .panel-primary > .panel-heading { color: #ffffff; background-color: #337ab7; border-color: #337ab7; } .panel-primary > .panel-heading + .panel-collapse > .panel-body { border-top-color: #337ab7; } .panel-primary > .panel-heading .badge { color: #337ab7; background-color: #ffffff; } .panel-primary > .panel-footer + .panel-collapse > .panel-body { border-bottom-color: #337ab7; } .panel-success { border-color: #d6e9c6; } .panel-success > .panel-heading { color: #3c763d; background-color: #dff0d8; border-color: #d6e9c6; } .panel-success > .panel-heading + .panel-collapse > .panel-body { border-top-color: #d6e9c6; } .panel-success > .panel-heading .badge { color: #dff0d8; background-color: #3c763d; } .panel-success > .panel-footer + .panel-collapse > .panel-body { border-bottom-color: #d6e9c6; } .panel-info { border-color: #bce8f1; } .panel-info > .panel-heading { color: #31708f; background-color: #d9edf7; border-color: #bce8f1; } .panel-info > .panel-heading + .panel-collapse > .panel-body { border-top-color: #bce8f1; } .panel-info > .panel-heading .badge { color: #d9edf7; background-color: #31708f; } .panel-info > .panel-footer + .panel-collapse > .panel-body { border-bottom-color: #bce8f1; } .panel-warning { border-color: #faebcc; } .panel-warning > .panel-heading { color: #8a6d3b; background-color: #fcf8e3; border-color: #faebcc; } .panel-warning > .panel-heading + .panel-collapse > .panel-body { border-top-color: #faebcc; } .panel-warning > .panel-heading .badge { color: #fcf8e3; background-color: #8a6d3b; } .panel-warning > .panel-footer + .panel-collapse > .panel-body { border-bottom-color: #faebcc; } .panel-danger { border-color: #ebccd1; } .panel-danger > .panel-heading { color: #a94442; background-color: #f2dede; border-color: #ebccd1; } .panel-danger > .panel-heading + .panel-collapse > .panel-body { border-top-color: #ebccd1; } .panel-danger > .panel-heading .badge { color: #f2dede; background-color: #a94442; } .panel-danger > .panel-footer + .panel-collapse > .panel-body { border-bottom-color: #ebccd1; } .embed-responsive { position: relative; display: block; height: 0; padding: 0; overflow: hidden; } .embed-responsive .embed-responsive-item, .embed-responsive iframe, .embed-responsive embed, .embed-responsive object, .embed-responsive video { position: absolute; top: 0; left: 0; bottom: 0; height: 100%; width: 100%; border: 0; } .embed-responsive.embed-responsive-16by9 { padding-bottom: 56.25%; } .embed-responsive.embed-responsive-4by3 { padding-bottom: 75%; } .well { min-height: 20px; padding: 19px; margin-bottom: 20px; background-color: #f5f5f5; border: 1px solid #e3e3e3; border-radius: 4px; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); } .well blockquote { border-color: #ddd; border-color: rgba(0, 0, 0, 0.15); } .well-lg { padding: 24px; border-radius: 6px; } .well-sm { padding: 9px; border-radius: 3px; } .close { float: right; font-size: 21px; font-weight: bold; line-height: 1; color: #000000; text-shadow: 0 1px 0 #ffffff; opacity: 0.2; filter: alpha(opacity=20); } .close:hover, .close:focus { color: #000000; text-decoration: none; cursor: pointer; opacity: 0.5; filter: alpha(opacity=50); } button.close { padding: 0; cursor: pointer; background: transparent; border: 0; -webkit-appearance: none; } .modal-open { overflow: hidden; } .modal { display: none; overflow: hidden; position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1040; -webkit-overflow-scrolling: touch; outline: 0; } .modal.fade .modal-dialog { -webkit-transform: translate(0, -25%); -ms-transform: translate(0, -25%); -o-transform: translate(0, -25%); transform: translate(0, -25%); -webkit-transition: -webkit-transform 0.3s ease-out; -moz-transition: -moz-transform 0.3s ease-out; -o-transition: -o-transform 0.3s ease-out; transition: transform 0.3s ease-out; } .modal.in .modal-dialog { -webkit-transform: translate(0, 0); -ms-transform: translate(0, 0); -o-transform: translate(0, 0); transform: translate(0, 0); } .modal-open .modal { overflow-x: hidden; overflow-y: auto; } .modal-dialog { position: relative; width: auto; margin: 10px; } .modal-content { position: relative; background-color: #ffffff; border: 1px solid #999999; border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 6px; -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); background-clip: padding-box; outline: 0; } .modal-backdrop { position: absolute; top: 0; right: 0; left: 0; background-color: #000000; } .modal-backdrop.fade { opacity: 0; filter: alpha(opacity=0); } .modal-backdrop.in { opacity: 0.5; filter: alpha(opacity=50); } .modal-header { padding: 15px; border-bottom: 1px solid #e5e5e5; min-height: 16.42857143px; } .modal-header .close { margin-top: -2px; } .modal-title { margin: 0; line-height: 1.42857143; } .modal-body { position: relative; padding: 15px; } .modal-footer { padding: 15px; text-align: right; border-top: 1px solid #e5e5e5; } .modal-footer .btn + .btn { margin-left: 5px; margin-bottom: 0; } .modal-footer .btn-group .btn + .btn { margin-left: -1px; } .modal-footer .btn-block + .btn-block { margin-left: 0; } .modal-scrollbar-measure { position: absolute; top: -9999px; width: 50px; height: 50px; overflow: scroll; } @media (min-width: 768px) { .modal-dialog { width: 600px; margin: 30px auto; } .modal-content { -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); } .modal-sm { width: 300px; } } @media (min-width: 992px) { .modal-lg { width: 900px; } } .tooltip { position: absolute; z-index: 1070; display: block; visibility: visible; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 12px; font-weight: normal; line-height: 1.4; opacity: 0; filter: alpha(opacity=0); } .tooltip.in { opacity: 0.9; filter: alpha(opacity=90); } .tooltip.top { margin-top: -3px; padding: 5px 0; } .tooltip.right { margin-left: 3px; padding: 0 5px; } .tooltip.bottom { margin-top: 3px; padding: 5px 0; } .tooltip.left { margin-left: -3px; padding: 0 5px; } .tooltip-inner { max-width: 200px; padding: 3px 8px; color: #ffffff; text-align: center; text-decoration: none; background-color: #000000; border-radius: 4px; } .tooltip-arrow { position: absolute; width: 0; height: 0; border-color: transparent; border-style: solid; } .tooltip.top .tooltip-arrow { bottom: 0; left: 50%; margin-left: -5px; border-width: 5px 5px 0; border-top-color: #000000; } .tooltip.top-left .tooltip-arrow { bottom: 0; right: 5px; margin-bottom: -5px; border-width: 5px 5px 0; border-top-color: #000000; } .tooltip.top-right .tooltip-arrow { bottom: 0; left: 5px; margin-bottom: -5px; border-width: 5px 5px 0; border-top-color: #000000; } .tooltip.right .tooltip-arrow { top: 50%; left: 0; margin-top: -5px; border-width: 5px 5px 5px 0; border-right-color: #000000; } .tooltip.left .tooltip-arrow { top: 50%; right: 0; margin-top: -5px; border-width: 5px 0 5px 5px; border-left-color: #000000; } .tooltip.bottom .tooltip-arrow { top: 0; left: 50%; margin-left: -5px; border-width: 0 5px 5px; border-bottom-color: #000000; } .tooltip.bottom-left .tooltip-arrow { top: 0; right: 5px; margin-top: -5px; border-width: 0 5px 5px; border-bottom-color: #000000; } .tooltip.bottom-right .tooltip-arrow { top: 0; left: 5px; margin-top: -5px; border-width: 0 5px 5px; border-bottom-color: #000000; } .popover { position: absolute; top: 0; left: 0; z-index: 1060; display: none; max-width: 276px; padding: 1px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.42857143; text-align: left; background-color: #ffffff; background-clip: padding-box; border: 1px solid #cccccc; border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 6px; -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); white-space: normal; } .popover.top { margin-top: -10px; } .popover.right { margin-left: 10px; } .popover.bottom { margin-top: 10px; } .popover.left { margin-left: -10px; } .popover-title { margin: 0; padding: 8px 14px; font-size: 14px; background-color: #f7f7f7; border-bottom: 1px solid #ebebeb; border-radius: 5px 5px 0 0; } .popover-content { padding: 9px 14px; } .popover > .arrow, .popover > .arrow:after { position: absolute; display: block; width: 0; height: 0; border-color: transparent; border-style: solid; } .popover > .arrow { border-width: 11px; } .popover > .arrow:after { border-width: 10px; content: ""; } .popover.top > .arrow { left: 50%; margin-left: -11px; border-bottom-width: 0; border-top-color: #999999; border-top-color: rgba(0, 0, 0, 0.25); bottom: -11px; } .popover.top > .arrow:after { content: " "; bottom: 1px; margin-left: -10px; border-bottom-width: 0; border-top-color: #ffffff; } .popover.right > .arrow { top: 50%; left: -11px; margin-top: -11px; border-left-width: 0; border-right-color: #999999; border-right-color: rgba(0, 0, 0, 0.25); } .popover.right > .arrow:after { content: " "; left: 1px; bottom: -10px; border-left-width: 0; border-right-color: #ffffff; } .popover.bottom > .arrow { left: 50%; margin-left: -11px; border-top-width: 0; border-bottom-color: #999999; border-bottom-color: rgba(0, 0, 0, 0.25); top: -11px; } .popover.bottom > .arrow:after { content: " "; top: 1px; margin-left: -10px; border-top-width: 0; border-bottom-color: #ffffff; } .popover.left > .arrow { top: 50%; right: -11px; margin-top: -11px; border-right-width: 0; border-left-color: #999999; border-left-color: rgba(0, 0, 0, 0.25); } .popover.left > .arrow:after { content: " "; right: 1px; border-right-width: 0; border-left-color: #ffffff; bottom: -10px; } .carousel { position: relative; } .carousel-inner { position: relative; overflow: hidden; width: 100%; } .carousel-inner > .item { display: none; position: relative; -webkit-transition: 0.6s ease-in-out left; -o-transition: 0.6s ease-in-out left; transition: 0.6s ease-in-out left; } .carousel-inner > .item > img, .carousel-inner > .item > a > img { line-height: 1; } @media all and (transform-3d), (-webkit-transform-3d) { .carousel-inner > .item { -webkit-transition: -webkit-transform 0.6s ease-in-out; -moz-transition: -moz-transform 0.6s ease-in-out; -o-transition: -o-transform 0.6s ease-in-out; transition: transform 0.6s ease-in-out; -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; backface-visibility: hidden; -webkit-perspective: 1000; -moz-perspective: 1000; perspective: 1000; } .carousel-inner > .item.next, .carousel-inner > .item.active.right { -webkit-transform: translate3d(100%, 0, 0); transform: translate3d(100%, 0, 0); left: 0; } .carousel-inner > .item.prev, .carousel-inner > .item.active.left { -webkit-transform: translate3d(-100%, 0, 0); transform: translate3d(-100%, 0, 0); left: 0; } .carousel-inner > .item.next.left, .carousel-inner > .item.prev.right, .carousel-inner > .item.active { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); left: 0; } } .carousel-inner > .active, .carousel-inner > .next, .carousel-inner > .prev { display: block; } .carousel-inner > .active { left: 0; } .carousel-inner > .next, .carousel-inner > .prev { position: absolute; top: 0; width: 100%; } .carousel-inner > .next { left: 100%; } .carousel-inner > .prev { left: -100%; } .carousel-inner > .next.left, .carousel-inner > .prev.right { left: 0; } .carousel-inner > .active.left { left: -100%; } .carousel-inner > .active.right { left: 100%; } .carousel-control { position: absolute; top: 0; left: 0; bottom: 0; width: 15%; opacity: 0.5; filter: alpha(opacity=50); font-size: 20px; color: #ffffff; text-align: center; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); } .carousel-control.left { background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%); background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%); background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1); } .carousel-control.right { left: auto; right: 0; background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%); background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%); background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1); } .carousel-control:hover, .carousel-control:focus { outline: 0; color: #ffffff; text-decoration: none; opacity: 0.9; filter: alpha(opacity=90); } .carousel-control .icon-prev, .carousel-control .icon-next, .carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right { position: absolute; top: 50%; z-index: 5; display: inline-block; } .carousel-control .icon-prev, .carousel-control .glyphicon-chevron-left { left: 50%; margin-left: -10px; } .carousel-control .icon-next, .carousel-control .glyphicon-chevron-right { right: 50%; margin-right: -10px; } .carousel-control .icon-prev, .carousel-control .icon-next { width: 20px; height: 20px; margin-top: -10px; line-height: 1; font-family: serif; } .carousel-control .icon-prev:before { content: '\2039'; } .carousel-control .icon-next:before { content: '\203a'; } .carousel-indicators { position: absolute; bottom: 10px; left: 50%; z-index: 15; width: 60%; margin-left: -30%; padding-left: 0; list-style: none; text-align: center; } .carousel-indicators li { display: inline-block; width: 10px; height: 10px; margin: 1px; text-indent: -999px; border: 1px solid #ffffff; border-radius: 10px; cursor: pointer; background-color: #000 \9; background-color: rgba(0, 0, 0, 0); } .carousel-indicators .active { margin: 0; width: 12px; height: 12px; background-color: #ffffff; } .carousel-caption { position: absolute; left: 15%; right: 15%; bottom: 20px; z-index: 10; padding-top: 20px; padding-bottom: 20px; color: #ffffff; text-align: center; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); } .carousel-caption .btn { text-shadow: none; } @media screen and (min-width: 768px) { .carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right, .carousel-control .icon-prev, .carousel-control .icon-next { width: 30px; height: 30px; margin-top: -15px; font-size: 30px; } .carousel-control .glyphicon-chevron-left, .carousel-control .icon-prev { margin-left: -15px; } .carousel-control .glyphicon-chevron-right, .carousel-control .icon-next { margin-right: -15px; } .carousel-caption { left: 20%; right: 20%; padding-bottom: 30px; } .carousel-indicators { bottom: 20px; } } .clearfix:before, .clearfix:after, .dl-horizontal dd:before, .dl-horizontal dd:after, .container:before, .container:after, .container-fluid:before, .container-fluid:after, .row:before, .row:after, .form-horizontal .form-group:before, .form-horizontal .form-group:after, .btn-toolbar:before, .btn-toolbar:after, .btn-group-vertical > .btn-group:before, .btn-group-vertical > .btn-group:after, .nav:before, .nav:after, .navbar:before, .navbar:after, .navbar-header:before, .navbar-header:after, .navbar-collapse:before, .navbar-collapse:after, .pager:before, .pager:after, .panel-body:before, .panel-body:after, .modal-footer:before, .modal-footer:after { content: " "; display: table; } .clearfix:after, .dl-horizontal dd:after, .container:after, .container-fluid:after, .row:after, .form-horizontal .form-group:after, .btn-toolbar:after, .btn-group-vertical > .btn-group:after, .nav:after, .navbar:after, .navbar-header:after, .navbar-collapse:after, .pager:after, .panel-body:after, .modal-footer:after { clear: both; } .center-block { display: block; margin-left: auto; margin-right: auto; } .pull-right { float: right !important; } .pull-left { float: left !important; } .hide { display: none !important; } .show { display: block !important; } .invisible { visibility: hidden; } .text-hide { font: 0/0 a; color: transparent; text-shadow: none; background-color: transparent; border: 0; } .hidden { display: none !important; visibility: hidden !important; } .affix { position: fixed; } @-ms-viewport { width: device-width; } .visible-xs, .visible-sm, .visible-md, .visible-lg { display: none !important; } .visible-xs-block, .visible-xs-inline, .visible-xs-inline-block, .visible-sm-block, .visible-sm-inline, .visible-sm-inline-block, .visible-md-block, .visible-md-inline, .visible-md-inline-block, .visible-lg-block, .visible-lg-inline, .visible-lg-inline-block { display: none !important; } @media (max-width: 767px) { .visible-xs { display: block !important; } table.visible-xs { display: table; } tr.visible-xs { display: table-row !important; } th.visible-xs, td.visible-xs { display: table-cell !important; } } @media (max-width: 767px) { .visible-xs-block { display: block !important; } } @media (max-width: 767px) { .visible-xs-inline { display: inline !important; } } @media (max-width: 767px) { .visible-xs-inline-block { display: inline-block !important; } } @media (min-width: 768px) and (max-width: 991px) { .visible-sm { display: block !important; } table.visible-sm { display: table; } tr.visible-sm { display: table-row !important; } th.visible-sm, td.visible-sm { display: table-cell !important; } } @media (min-width: 768px) and (max-width: 991px) { .visible-sm-block { display: block !important; } } @media (min-width: 768px) and (max-width: 991px) { .visible-sm-inline { display: inline !important; } } @media (min-width: 768px) and (max-width: 991px) { .visible-sm-inline-block { display: inline-block !important; } } @media (min-width: 992px) and (max-width: 1199px) { .visible-md { display: block !important; } table.visible-md { display: table; } tr.visible-md { display: table-row !important; } th.visible-md, td.visible-md { display: table-cell !important; } } @media (min-width: 992px) and (max-width: 1199px) { .visible-md-block { display: block !important; } } @media (min-width: 992px) and (max-width: 1199px) { .visible-md-inline { display: inline !important; } } @media (min-width: 992px) and (max-width: 1199px) { .visible-md-inline-block { display: inline-block !important; } } @media (min-width: 1200px) { .visible-lg { display: block !important; } table.visible-lg { display: table; } tr.visible-lg { display: table-row !important; } th.visible-lg, td.visible-lg { display: table-cell !important; } } @media (min-width: 1200px) { .visible-lg-block { display: block !important; } } @media (min-width: 1200px) { .visible-lg-inline { display: inline !important; } } @media (min-width: 1200px) { .visible-lg-inline-block { display: inline-block !important; } } @media (max-width: 767px) { .hidden-xs { display: none !important; } } @media (min-width: 768px) and (max-width: 991px) { .hidden-sm { display: none !important; } } @media (min-width: 992px) and (max-width: 1199px) { .hidden-md { display: none !important; } } @media (min-width: 1200px) { .hidden-lg { display: none !important; } } .visible-print { display: none !important; } @media print { .visible-print { display: block !important; } table.visible-print { display: table; } tr.visible-print { display: table-row !important; } th.visible-print, td.visible-print { display: table-cell !important; } } .visible-print-block { display: none !important; } @media print { .visible-print-block { display: block !important; } } .visible-print-inline { display: none !important; } @media print { .visible-print-inline { display: inline !important; } } .visible-print-inline-block { display: none !important; } @media print { .visible-print-inline-block { display: inline-block !important; } } @media print { .hidden-print { display: none !important; } } .chosen-select { width: 100%; } .chosen-select-deselect { width: 100%; } .chosen-container { display: inline-block; font-size: 14px; position: relative; vertical-align: middle; } .chosen-container .chosen-drop { background: #ffffff; border: 1px solid #cccccc; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; -webkit-box-shadow: 0 8px 8px rgba(0, 0, 0, .25); box-shadow: 0 8px 8px rgba(0, 0, 0, .25); margin-top: -1px; position: absolute; top: 100%; left: -9000px; z-index: 1060; } .chosen-container.chosen-with-drop .chosen-drop { left: 0; right: 0; } .chosen-container .chosen-results { color: #555555; margin: 0 4px 4px 0; max-height: 240px; padding: 0 0 0 4px; position: relative; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; } .chosen-container .chosen-results li { display: none; line-height: 1.42857143; list-style: none; margin: 0; padding: 5px 6px; } .chosen-container .chosen-results li em { background: #feffde; font-style: normal; } .chosen-container .chosen-results li.group-result { display: list-item; cursor: default; color: #999; font-weight: bold; } .chosen-container .chosen-results li.group-option { padding-left: 15px; } .chosen-container .chosen-results li.active-result { cursor: pointer; display: list-item; } .chosen-container .chosen-results li.highlighted { background-color: #337ab7; background-image: none; color: white; } .chosen-container .chosen-results li.highlighted em { background: transparent; } .chosen-container .chosen-results li.disabled-result { display: list-item; color: #777777; } .chosen-container .chosen-results .no-results { background: #eeeeee; display: list-item; } .chosen-container .chosen-results-scroll { background: white; margin: 0 4px; position: absolute; text-align: center; width: 321px; z-index: 1; } .chosen-container .chosen-results-scroll span { display: inline-block; height: 1.42857143; text-indent: -5000px; width: 9px; } .chosen-container .chosen-results-scroll-down { bottom: 0; } .chosen-container .chosen-results-scroll-down span { background: url("chosen-sprite.png") no-repeat -4px -3px; } .chosen-container .chosen-results-scroll-up span { background: url("chosen-sprite.png") no-repeat -22px -3px; } .chosen-container-single .chosen-single { background-color: #ffffff; -webkit-background-clip: padding-box; -moz-background-clip: padding; background-clip: padding-box; border: 1px solid #cccccc; border-top-right-radius: 4px; border-top-left-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); color: #555555; display: block; height: 34px; overflow: hidden; line-height: 34px; padding: 0 0 0 8px; position: relative; text-decoration: none; white-space: nowrap; } .chosen-container-single .chosen-single span { display: block; margin-right: 26px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .chosen-container-single .chosen-single abbr { background: url("chosen-sprite.png") right top no-repeat; display: block; font-size: 1px; height: 10px; position: absolute; right: 26px; top: 12px; width: 12px; } .chosen-container-single .chosen-single abbr:hover { background-position: right -11px; } .chosen-container-single .chosen-single.chosen-disabled .chosen-single abbr:hover { background-position: right 2px; } .chosen-container-single .chosen-single div { display: block; height: 100%; position: absolute; top: 0; right: 0; width: 18px; } .chosen-container-single .chosen-single div b { background: url("chosen-sprite.png") no-repeat 0 7px; display: block; height: 100%; width: 100%; } .chosen-container-single .chosen-default { color: #777777; } .chosen-container-single .chosen-search { margin: 0; padding: 3px 4px; position: relative; white-space: nowrap; z-index: 1000; } .chosen-container-single .chosen-search input[type="text"] { background: url("chosen-sprite.png") no-repeat 100% -20px, #ffffff; border: 1px solid #cccccc; border-top-right-radius: 4px; border-top-left-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); margin: 1px 0; padding: 4px 20px 4px 4px; width: 100%; } .chosen-container-single .chosen-drop { margin-top: -1px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; -webkit-background-clip: padding-box; -moz-background-clip: padding; background-clip: padding-box; } .chosen-container-single-nosearch .chosen-search input { position: absolute; left: -9000px; } .chosen-container-multi .chosen-choices { background-color: #ffffff; border: 1px solid #cccccc; border-top-right-radius: 4px; border-top-left-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); cursor: text; height: auto !important; height: 1%; margin: 0; overflow: hidden; padding: 0; position: relative; } .chosen-container-multi .chosen-choices li { float: left; list-style: none; } .chosen-container-multi .chosen-choices .search-field { margin: 0; padding: 0; white-space: nowrap; } .chosen-container-multi .chosen-choices .search-field input[type="text"] { background: transparent !important; border: 0 !important; -webkit-box-shadow: none; box-shadow: none; color: #555555; height: 32px; margin: 0; padding: 4px; outline: 0; } .chosen-container-multi .chosen-choices .search-field .default { color: #999; } .chosen-container-multi .chosen-choices .search-choice { -webkit-background-clip: padding-box; -moz-background-clip: padding; background-clip: padding-box; background-color: #eeeeee; border: 1px solid #cccccc; border-top-right-radius: 4px; border-top-left-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); color: #333333; cursor: default; line-height: 13px; margin: 6px 0 3px 5px; padding: 3px 20px 3px 5px; position: relative; } .chosen-container-multi .chosen-choices .search-choice .search-choice-close { background: url("chosen-sprite.png") right top no-repeat; display: block; font-size: 1px; height: 10px; position: absolute; right: 4px; top: 5px; width: 12px; cursor: pointer; } .chosen-container-multi .chosen-choices .search-choice .search-choice-close:hover { background-position: right -11px; } .chosen-container-multi .chosen-choices .search-choice-focus { background: #d4d4d4; } .chosen-container-multi .chosen-choices .search-choice-focus .search-choice-close { background-position: right -11px; } .chosen-container-multi .chosen-results { margin: 0 0 0 0; padding: 0; } .chosen-container-multi .chosen-drop .result-selected { display: none; } .chosen-container-active .chosen-single { border: 1px solid #66afe9; -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .075) inset, 0 0 8px rgba(82, 168, 236, .6); box-shadow: 0 1px 1px rgba(0, 0, 0, .075) inset, 0 0 8px rgba(82, 168, 236, .6); -webkit-transition: border linear .2s, box-shadow linear .2s; -o-transition: border linear .2s, box-shadow linear .2s; transition: border linear .2s, box-shadow linear .2s; } .chosen-container-active.chosen-with-drop .chosen-single { background-color: #ffffff; border: 1px solid #66afe9; border-bottom-right-radius: 0; border-bottom-left-radius: 0; -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .075) inset, 0 0 8px rgba(82, 168, 236, .6); box-shadow: 0 1px 1px rgba(0, 0, 0, .075) inset, 0 0 8px rgba(82, 168, 236, .6); -webkit-transition: border linear .2s, box-shadow linear .2s; -o-transition: border linear .2s, box-shadow linear .2s; transition: border linear .2s, box-shadow linear .2s; } .chosen-container-active.chosen-with-drop .chosen-single div { background: transparent; border-left: none; } .chosen-container-active.chosen-with-drop .chosen-single div b { background-position: -18px 7px; } .chosen-container-active .chosen-choices { border: 1px solid #66afe9; border-bottom-right-radius: 0; border-bottom-left-radius: 0; -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .075) inset, 0 0 8px rgba(82, 168, 236, .6); box-shadow: 0 1px 1px rgba(0, 0, 0, .075) inset, 0 0 8px rgba(82, 168, 236, .6); -webkit-transition: border linear .2s, box-shadow linear .2s; -o-transition: border linear .2s, box-shadow linear .2s; transition: border linear .2s, box-shadow linear .2s; } .chosen-container-active .chosen-choices .search-field input[type="text"] { color: #111 !important; } .chosen-container-active.chosen-with-drop .chosen-choices { border-bottom-right-radius: 0; border-bottom-left-radius: 0; } .chosen-disabled { cursor: default; opacity: 0.5 !important; } .chosen-disabled .chosen-single { cursor: default; } .chosen-disabled .chosen-choices .search-choice .search-choice-close { cursor: default; } .chosen-rtl { text-align: right; } .chosen-rtl .chosen-single { padding: 0 8px 0 0; overflow: visible; } .chosen-rtl .chosen-single span { margin-left: 26px; margin-right: 0; direction: rtl; } .chosen-rtl .chosen-single div { left: 7px; right: auto; } .chosen-rtl .chosen-single abbr { left: 26px; right: auto; } .chosen-rtl .chosen-choices .search-field input[type="text"] { direction: rtl; } .chosen-rtl .chosen-choices li { float: right; } .chosen-rtl .chosen-choices .search-choice { margin: 6px 5px 3px 0; padding: 3px 5px 3px 19px; } .chosen-rtl .chosen-choices .search-choice .search-choice-close { background-position: right top; left: 4px; right: auto; } .chosen-rtl.chosen-container-single .chosen-results { margin: 0 0 4px 4px; padding: 0 4px 0 0; } .chosen-rtl .chosen-results .group-option { padding-left: 0; padding-right: 15px; } .chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div { border-right: none; } .chosen-rtl .chosen-search input[type="text"] { background: url("chosen-sprite.png") no-repeat -28px -20px, #ffffff; direction: rtl; padding: 4px 5px 4px 20px; } @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 2dppx) { .chosen-rtl .chosen-search input[type="text"], .chosen-container-single .chosen-single abbr, .chosen-container-single .chosen-single div b, .chosen-container-single .chosen-search input[type="text"], .chosen-container-multi .chosen-choices .search-choice .search-choice-close, .chosen-container .chosen-results-scroll-down span, .chosen-container .chosen-results-scroll-up span { background-image: url("chosen-sprite@2x.png") !important; background-size: 52px 37px !important; background-repeat: no-repeat !important; } }
vendor/oodle/krumo/skins/modern/skin.unminified.css
maxime121294/ToDoList
ul.krumo-node,#content ul.krumo-node li { margin: 0; padding: 0; background: 0; } ul.krumo-node ul { margin-left: 18px; } * html ul.krumo-node ul { margin-left: 24px; } div.krumo-root { border: solid 1px #000; margin: .5em; } ul.krumo-first { font-family: "Helvetica Neue",Helvetica,Verdana,Arial,sans-serif; font-weight: 400; font-size: 12px; border: solid 2px #fff; border-top-width: 1px; background: url(data:image/gif;base64,R0lGODlhWgAJALMAAP///8vLy+Tk5AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAAAALAAAAABaAAkAAAQ6MAgh6az4astz314Ijl/pkaKJrmqbvivssnJN358973qPn7yfMEi0+YrDoxLJXDZxyehzCnNapVdLBAA7); } li.krumo-child { display: block; list-style: none; padding: 0; margin: 0; overflow: hidden; } div.krumo-element { cursor: default; line-height: 22px; display: block; clear: both; white-space: nowrap; border-top: solid 1px #fff; background: #E8E8E8; background-repeat: no-repeat; background-position: 6px 8px; padding-left: 18px; } * html div.krumo-element { padding-bottom: 3px; } a.krumo-name { color: #2C5858; font-family: "Helvetica Neue",Helvetica,Verdana,Arial,sans-serif; font-weight: 700; font-size: 12px; } a.krumo-name big { font: 700 20pt Georgia; line-height: 14px; position: relative; top: 2px; left: -2px; } * html a.krumo-name big { font: 700 19pt Georgia; top: 5px; left: 0; line-height: 9px; height: 12px; padding: 0; margin: 0; } div.krumo-expand { background-color: #CCC; cursor: pointer; } div.krumo-hover { background-color: #B7DBDB; } div.krumo-expand { background-image: url(data:image/gif;base64,R0lGODlhCQAJALMAAP///wAAAP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAAAALAAAAAAJAAkAAAQTEIAna33USpwt79vncRpZgpcGRAA7); cursor: pointer; } div.krumo-opened { background-image: url(data:image/gif;base64,R0lGODlhCQAJALMAAP///wAAAP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAAAALAAAAAAJAAkAAAQQEMhJ63w4Z6C37JUXWmQJRAA7); } div.krumo-preview { font: 400 13px courier new; padding: 5px; background: #fff; border-top: 0; overflow: auto; } * html div.krumo-preview { padding-top: 2px; } li.krumo-footnote { background: #fff; padding: 2px 5px; list-style: none; border-top: solid 1px #bebebe; margin-top: 2px; cursor: default; } * html li.krumo-footnote { line-height: 13px; } .krumo-version { float: right; } .krumo-version-number { font-family: "Helvetica Neue",Helvetica,Verdana,Arial,sans-serif; font-weight: 700; font-size: 11px; margin: 0; padding: 0; color: #366D6D; display: inline; margin-right: 3px; } li.krumo-footnote a { font-family: "Helvetica Neue",Helvetica,Verdana,Arial,sans-serif; font-weight: 700; font-size: 10px; color: #434343; text-decoration: none; } li.krumo-footnote a:hover { color: #000; } li.krumo-footnote span.krumo-call { font-family: "Helvetica Neue",Helvetica,Verdana,Arial,sans-serif; font-weight: 400; font-size: 11px; position: relative; top: 1px; } li.krumo-footnote span.krumo-call code { font-weight: 700; } div.krumo-title { font-family: "Helvetica Neue",Helvetica,Verdana,Arial,sans-serif; font-weight: 400; font-size: 11px; cursor: default; } strong.krumo-array-length,strong.krumo-string-length { font-weight: 400; } .krumo-boolean, .krumo-null, .krumo-sorted, .krumo-datetime { font-weight: bold; color: #700; }
Hoare.html
darioush/sf
<!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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <link href="coqdoc.css" rel="stylesheet" type="text/css"/> <title>Hoare: Hoare Logic, Part I</title> <script type="text/javascript" src="jquery-1.8.3.js"></script> <script type="text/javascript" src="main.js"></script> </head> <body> <div id="page"> <div id="header"> </div> <div id="main"> <h1 class="libtitle">Hoare<span class="subtitle">Hoare Logic, Part I</span></h1> <div class="code code-tight"> </div> <div class="doc"> </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Require</span> <span class="id" type="keyword">Export</span> <span class="id" type="var">Imp</span>.<br/> <br/> </div> <div class="doc"> In the past couple of chapters, we've begun applying the mathematical tools developed in the first part of the course to studying the theory of a small programming language, Imp. <div class="paragraph"> </div> <ul class="doclist"> <li> We defined a type of <i>abstract syntax trees</i> for Imp, together with an <i>evaluation relation</i> (a partial function on states) that specifies the <i>operational semantics</i> of programs. <div class="paragraph"> </div> The language we defined, though small, captures some of the key features of full-blown languages like C, C++, and Java, including the fundamental notion of mutable state and some common control structures. <div class="paragraph"> </div> </li> <li> We proved a number of <i>metatheoretic properties</i> &mdash; "meta" in the sense that they are properties of the language as a whole, rather than properties of particular programs in the language. These included: <div class="paragraph"> </div> <ul class="doclist"> <li> determinism of evaluation <div class="paragraph"> </div> </li> <li> equivalence of some different ways of writing down the definitions (e.g. functional and relational definitions of arithmetic expression evaluation) <div class="paragraph"> </div> </li> <li> guaranteed termination of certain classes of programs <div class="paragraph"> </div> </li> <li> correctness (in the sense of preserving meaning) of a number of useful program transformations <div class="paragraph"> </div> </li> <li> behavioral equivalence of programs (in the <span class="inlinecode"><span class="id" type="var">Equiv</span></span> chapter). </li> </ul> </li> </ul> If we stopped here, we would already have something useful: a set of tools for defining and discussing programming languages and language features that are mathematically precise, flexible, and easy to work with, applied to a set of key properties. All of these properties are things that language designers, compiler writers, and users might care about knowing. Indeed, many of them are so fundamental to our understanding of the programming languages we deal with that we might not consciously recognize them as "theorems." But properties that seem intuitively obvious can sometimes be quite subtle (in some cases, even subtly wrong!). <div class="paragraph"> </div> We'll return to the theme of metatheoretic properties of whole languages later in the course when we discuss <i>types</i> and <i>type soundness</i>. In this chapter, though, we'll turn to a different set of issues. <div class="paragraph"> </div> Our goal is to see how to carry out some simple examples of <i>program verification</i> &mdash; i.e., using the precise definition of Imp to prove formally that particular programs satisfy particular specifications of their behavior. We'll develop a reasoning system called <i>Floyd-Hoare Logic</i> &mdash; often shortened to just <i>Hoare Logic</i> &mdash; in which each of the syntactic constructs of Imp is equipped with a single, generic "proof rule" that can be used to reason compositionally about the correctness of programs involving this construct. <div class="paragraph"> </div> Hoare Logic originates in the 1960s, and it continues to be the subject of intensive research right up to the present day. It lies at the core of a multitude of tools that are being used in academia and industry to specify and verify real software systems. </div> <div class="code code-tight"> <br/> <br/> </div> <div class="doc"> <a name="lab515"></a><h1 class="section">Hoare Logic</h1> <div class="paragraph"> </div> Hoare Logic combines two beautiful ideas: a natural way of writing down <i>specifications</i> of programs, and a <i>compositional proof technique</i> for proving that programs are correct with respect to such specifications &mdash; where by "compositional" we mean that the structure of proofs directly mirrors the structure of the programs that they are about. </div> <div class="code code-tight"> <br/> </div> <div class="doc"> <a name="lab516"></a><h2 class="section">Assertions</h2> <div class="paragraph"> </div> To talk about specifications of programs, the first thing we need is a way of making <i>assertions</i> about properties that hold at particular points during a program's execution &mdash; i.e., claims about the current state of the memory when program execution reaches that point. Formally, an assertion is just a family of propositions indexed by a <span class="inlinecode"><span class="id" type="var">state</span></span>. </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Definition</span> <span class="id" type="var">Assertion</span> := <span class="id" type="var">state</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="keyword">Prop</span>.<br/> <br/> </div> <div class="doc"> <a name="lab517"></a><h4 class="section">Exercise: 1 star, optional (assertions)</h4> </div> <div class="code code-space"> <br/> </div> <div class="doc"> Paraphrase the following assertions in English. </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Definition</span> <span class="id" type="var">as1</span> : <span class="id" type="var">Assertion</span> := <span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> ⇒ <span class="id" type="var">st</span> <span class="id" type="var">X</span> = 3.<br/> <span class="id" type="keyword">Definition</span> <span class="id" type="var">as2</span> : <span class="id" type="var">Assertion</span> := <span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> ⇒ <span class="id" type="var">st</span> <span class="id" type="var">X</span> ≤ <span class="id" type="var">st</span> <span class="id" type="var">Y</span>.<br/> <span class="id" type="keyword">Definition</span> <span class="id" type="var">as3</span> : <span class="id" type="var">Assertion</span> :=<br/> &nbsp;&nbsp;<span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> ⇒ <span class="id" type="var">st</span> <span class="id" type="var">X</span> = 3 <span style="font-family: arial;">&or;</span> <span class="id" type="var">st</span> <span class="id" type="var">X</span> ≤ <span class="id" type="var">st</span> <span class="id" type="var">Y</span>.<br/> <span class="id" type="keyword">Definition</span> <span class="id" type="var">as4</span> : <span class="id" type="var">Assertion</span> :=<br/> &nbsp;&nbsp;<span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> ⇒ <span class="id" type="var">st</span> <span class="id" type="var">Z</span> × <span class="id" type="var">st</span> <span class="id" type="var">Z</span> ≤ <span class="id" type="var">st</span> <span class="id" type="var">X</span> <span style="font-family: arial;">&and;</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;¬ (((<span class="id" type="var">S</span> (<span class="id" type="var">st</span> <span class="id" type="var">Z</span>)) × (<span class="id" type="var">S</span> (<span class="id" type="var">st</span> <span class="id" type="var">Z</span>))) ≤ <span class="id" type="var">st</span> <span class="id" type="var">X</span>).<br/> <span class="id" type="keyword">Definition</span> <span class="id" type="var">as5</span> : <span class="id" type="var">Assertion</span> := <span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> ⇒ <span class="id" type="var">True</span>.<br/> <span class="id" type="keyword">Definition</span> <span class="id" type="var">as6</span> : <span class="id" type="var">Assertion</span> := <span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> ⇒ <span class="id" type="var">False</span>.<br/> <br/> <span class="comment">(*&nbsp;FILL&nbsp;IN&nbsp;HERE&nbsp;*)</span><br/> </div> <div class="doc"> <font size=-2>&#9744;</font> <div class="paragraph"> </div> This way of writing assertions can be a little bit heavy, for two reasons: (1) every single assertion that we ever write is going to begin with <span class="inlinecode"><span class="id" type="keyword">fun</span></span> <span class="inlinecode"><span class="id" type="var">st</span></span> <span class="inlinecode">⇒</span> <span class="inlinecode"></span>; and (2) this state <span class="inlinecode"><span class="id" type="var">st</span></span> is the only one that we ever use to look up variables (we will never need to talk about two different memory states at the same time). For discussing examples informally, we'll adopt some simplifying conventions: we'll drop the initial <span class="inlinecode"><span class="id" type="keyword">fun</span></span> <span class="inlinecode"><span class="id" type="var">st</span></span> <span class="inlinecode">⇒</span>, and we'll write just <span class="inlinecode"><span class="id" type="var">X</span></span> to mean <span class="inlinecode"><span class="id" type="var">st</span></span> <span class="inlinecode"><span class="id" type="var">X</span></span>. Thus, instead of writing <div class="paragraph"> </div> <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="keyword">fun</span>&nbsp;<span class="id" type="var">st</span>&nbsp;⇒&nbsp;(<span class="id" type="var">st</span>&nbsp;<span class="id" type="var">Z</span>)&nbsp;×&nbsp;(<span class="id" type="var">st</span>&nbsp;<span class="id" type="var">Z</span>)&nbsp;≤&nbsp;<span class="id" type="var">m</span>&nbsp;<span style="font-family: arial;">&and;</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;¬&nbsp;((<span class="id" type="var">S</span>&nbsp;(<span class="id" type="var">st</span>&nbsp;<span class="id" type="var">Z</span>))&nbsp;×&nbsp;(<span class="id" type="var">S</span>&nbsp;(<span class="id" type="var">st</span>&nbsp;<span class="id" type="var">Z</span>))&nbsp;≤&nbsp;<span class="id" type="var">m</span>) <div class="paragraph"> </div> </div> we'll write just <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">Z</span>&nbsp;×&nbsp;<span class="id" type="var">Z</span>&nbsp;≤&nbsp;<span class="id" type="var">m</span>&nbsp;<span style="font-family: arial;">&and;</span>&nbsp;~((<span class="id" type="var">S</span>&nbsp;<span class="id" type="var">Z</span>)&nbsp;×&nbsp;(<span class="id" type="var">S</span>&nbsp;<span class="id" type="var">Z</span>)&nbsp;≤&nbsp;<span class="id" type="var">m</span>). <div class="paragraph"> </div> </div> <div class="paragraph"> </div> Given two assertions <span class="inlinecode"><span class="id" type="var">P</span></span> and <span class="inlinecode"><span class="id" type="var">Q</span></span>, we say that <span class="inlinecode"><span class="id" type="var">P</span></span> <i>implies</i> <span class="inlinecode"><span class="id" type="var">Q</span></span>, written <span class="inlinecode"><span class="id" type="var">P</span></span> <span class="inlinecode"><span style="font-family: arial;">&#8702;</span></span> <span class="inlinecode"><span class="id" type="var">Q</span></span> (in ASCII, <span class="inlinecode"><span class="id" type="var">P</span></span> <span class="inlinecode">-</span><span class="inlinecode">&gt;</span><span class="inlinecode">&gt;</span> <span class="inlinecode"><span class="id" type="var">Q</span></span>), if, whenever <span class="inlinecode"><span class="id" type="var">P</span></span> holds in some state <span class="inlinecode"><span class="id" type="var">st</span></span>, <span class="inlinecode"><span class="id" type="var">Q</span></span> also holds. </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Definition</span> <span class="id" type="var">assert_implies</span> (<span class="id" type="var">P</span> <span class="id" type="var">Q</span> : <span class="id" type="var">Assertion</span>) : <span class="id" type="keyword">Prop</span> :=<br/> &nbsp;&nbsp;<span style="font-family: arial;">&forall;</span><span class="id" type="var">st</span>, <span class="id" type="var">P</span> <span class="id" type="var">st</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">Q</span> <span class="id" type="var">st</span>.<br/> <br/> <span class="id" type="keyword">Notation</span> "P <span style="font-family: arial;">&#8702;</span> Q" :=<br/> &nbsp;&nbsp;(<span class="id" type="var">assert_implies</span> <span class="id" type="var">P</span> <span class="id" type="var">Q</span>) (<span class="id" type="tactic">at</span> <span class="id" type="var">level</span> 80) : <span class="id" type="var">hoare_spec_scope</span>.<br/> <span class="id" type="keyword">Open</span> <span class="id" type="keyword">Scope</span> <span class="id" type="var">hoare_spec_scope</span>.<br/> <br/> </div> <div class="doc"> We'll also have occasion to use the "iff" variant of implication between assertions: </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Notation</span> "P <span style="font-family: arial;">&#8703;</span> Q" :=<br/> &nbsp;&nbsp;(<span class="id" type="var">P</span> <span style="font-family: arial;">&#8702;</span> <span class="id" type="var">Q</span> <span style="font-family: arial;">&and;</span> <span class="id" type="var">Q</span> <span style="font-family: arial;">&#8702;</span> <span class="id" type="var">P</span>) (<span class="id" type="tactic">at</span> <span class="id" type="var">level</span> 80) : <span class="id" type="var">hoare_spec_scope</span>.<br/> <br/> </div> <div class="doc"> <a name="lab518"></a><h2 class="section">Hoare Triples</h2> <div class="paragraph"> </div> Next, we need a way of making formal claims about the behavior of commands. <div class="paragraph"> </div> Since the behavior of a command is to transform one state to another, it is natural to express claims about commands in terms of assertions that are true before and after the command executes: <div class="paragraph"> </div> <ul class="doclist"> <li> "If command <span class="inlinecode"><span class="id" type="var">c</span></span> is started in a state satisfying assertion <span class="inlinecode"><span class="id" type="var">P</span></span>, and if <span class="inlinecode"><span class="id" type="var">c</span></span> eventually terminates in some final state, then this final state will satisfy the assertion <span class="inlinecode"><span class="id" type="var">Q</span></span>." </li> </ul> <div class="paragraph"> </div> Such a claim is called a <i>Hoare Triple</i>. The property <span class="inlinecode"><span class="id" type="var">P</span></span> is called the <i>precondition</i> of <span class="inlinecode"><span class="id" type="var">c</span></span>, while <span class="inlinecode"><span class="id" type="var">Q</span></span> is the <i>postcondition</i>. Formally: </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Definition</span> <span class="id" type="var">hoare_triple</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(<span class="id" type="var">P</span>:<span class="id" type="var">Assertion</span>) (<span class="id" type="var">c</span>:<span class="id" type="var">com</span>) (<span class="id" type="var">Q</span>:<span class="id" type="var">Assertion</span>) : <span class="id" type="keyword">Prop</span> :=<br/> &nbsp;&nbsp;<span style="font-family: arial;">&forall;</span><span class="id" type="var">st</span> <span class="id" type="var">st'</span>,<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">c</span> / <span class="id" type="var">st</span> <span style="font-family: arial;">&dArr;</span> <span class="id" type="var">st'</span> <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">P</span> <span class="id" type="var">st</span> <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">Q</span> <span class="id" type="var">st'</span>.<br/> <br/> </div> <div class="doc"> Since we'll be working a lot with Hoare triples, it's useful to have a compact notation: <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">P</span><span style="letter-spacing:-.4em;">}</span>}&nbsp;<span class="id" type="var">c</span>&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">Q</span><span style="letter-spacing:-.4em;">}</span>}. <div class="paragraph"> </div> </div> (The traditional notation is <span class="inlinecode">{<span class="id" type="var">P</span>}</span> <span class="inlinecode"><span class="id" type="var">c</span></span> <span class="inlinecode">{<span class="id" type="var">Q</span>}</span>, but single braces are already used for other things in Coq.) </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Notation</span> "<span style="letter-spacing:-.4em;">{</span>{ P <span style="letter-spacing:-.4em;">}</span>} c <span style="letter-spacing:-.4em;">{</span>{ Q <span style="letter-spacing:-.4em;">}</span>}" :=<br/> &nbsp;&nbsp;(<span class="id" type="var">hoare_triple</span> <span class="id" type="var">P</span> <span class="id" type="var">c</span> <span class="id" type="var">Q</span>) (<span class="id" type="tactic">at</span> <span class="id" type="var">level</span> 90, <span class="id" type="var">c</span> <span class="id" type="tactic">at</span> <span class="id" type="var">next</span> <span class="id" type="var">level</span>)<br/> &nbsp;&nbsp;: <span class="id" type="var">hoare_spec_scope</span>.<br/> <br/> </div> <div class="doc"> (The <span class="inlinecode"><span class="id" type="var">hoare_spec_scope</span></span> annotation here tells Coq that this notation is not global but is intended to be used in particular contexts. The <span class="inlinecode"><span class="id" type="keyword">Open</span></span> <span class="inlinecode"><span class="id" type="keyword">Scope</span></span> tells Coq that this file is one such context.) <div class="paragraph"> </div> <a name="lab519"></a><h4 class="section">Exercise: 1 star, optional (triples)</h4> Paraphrase the following Hoare triples in English. <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;&nbsp;1)&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">True</span><span style="letter-spacing:-.4em;">}</span>}&nbsp;<span class="id" type="var">c</span>&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">X</span>&nbsp;=&nbsp;5<span style="letter-spacing:-.4em;">}</span>}<br/> <br/> &nbsp;&nbsp;&nbsp;2)&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">X</span>&nbsp;=&nbsp;<span class="id" type="var">m</span><span style="letter-spacing:-.4em;">}</span>}&nbsp;<span class="id" type="var">c</span>&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">X</span>&nbsp;=&nbsp;<span class="id" type="var">m</span>&nbsp;+&nbsp;5)<span style="letter-spacing:-.4em;">}</span>}<br/> <br/> &nbsp;&nbsp;&nbsp;3)&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">X</span>&nbsp;≤&nbsp;<span class="id" type="var">Y</span><span style="letter-spacing:-.4em;">}</span>}&nbsp;<span class="id" type="var">c</span>&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">Y</span>&nbsp;≤&nbsp;<span class="id" type="var">X</span><span style="letter-spacing:-.4em;">}</span>}<br/> <br/> &nbsp;&nbsp;&nbsp;4)&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">True</span><span style="letter-spacing:-.4em;">}</span>}&nbsp;<span class="id" type="var">c</span>&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">False</span><span style="letter-spacing:-.4em;">}</span>}<br/> <br/> &nbsp;&nbsp;&nbsp;5)&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">X</span>&nbsp;=&nbsp;<span class="id" type="var">m</span><span style="letter-spacing:-.4em;">}</span>}&nbsp;<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">c</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">Y</span>&nbsp;=&nbsp;<span class="id" type="var">real_fact</span>&nbsp;<span class="id" type="var">m</span><span style="letter-spacing:-.4em;">}</span>}.<br/> <br/> &nbsp;&nbsp;&nbsp;6)&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">True</span><span style="letter-spacing:-.4em;">}</span>}&nbsp;<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">c</span>&nbsp;<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{(<span class="id" type="var">Z</span>&nbsp;×&nbsp;<span class="id" type="var">Z</span>)&nbsp;≤&nbsp;<span class="id" type="var">m</span>&nbsp;<span style="font-family: arial;">&and;</span>&nbsp;¬&nbsp;(((<span class="id" type="var">S</span>&nbsp;<span class="id" type="var">Z</span>)&nbsp;×&nbsp;(<span class="id" type="var">S</span>&nbsp;<span class="id" type="var">Z</span>))&nbsp;≤&nbsp;<span class="id" type="var">m</span>)<span style="letter-spacing:-.4em;">}</span>} <div class="paragraph"> </div> </div> <div class="paragraph"> </div> <div class="paragraph"> </div> <font size=-2>&#9744;</font> <div class="paragraph"> </div> <a name="lab520"></a><h4 class="section">Exercise: 1 star, optional (valid_triples)</h4> Which of the following Hoare triples are <i>valid</i> &mdash; i.e., the claimed relation between <span class="inlinecode"><span class="id" type="var">P</span></span>, <span class="inlinecode"><span class="id" type="var">c</span></span>, and <span class="inlinecode"><span class="id" type="var">Q</span></span> is true? <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;&nbsp;1)&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">True</span><span style="letter-spacing:-.4em;">}</span>}&nbsp;<span class="id" type="var">X</span>&nbsp;::=&nbsp;5&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">X</span>&nbsp;=&nbsp;5<span style="letter-spacing:-.4em;">}</span>}<br/> <br/> &nbsp;&nbsp;&nbsp;2)&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">X</span>&nbsp;=&nbsp;2<span style="letter-spacing:-.4em;">}</span>}&nbsp;<span class="id" type="var">X</span>&nbsp;::=&nbsp;<span class="id" type="var">X</span>&nbsp;+&nbsp;1&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">X</span>&nbsp;=&nbsp;3<span style="letter-spacing:-.4em;">}</span>}<br/> <br/> &nbsp;&nbsp;&nbsp;3)&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">True</span><span style="letter-spacing:-.4em;">}</span>}&nbsp;<span class="id" type="var">X</span>&nbsp;::=&nbsp;5;&nbsp;<span class="id" type="var">Y</span>&nbsp;::=&nbsp;0&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">X</span>&nbsp;=&nbsp;5<span style="letter-spacing:-.4em;">}</span>}<br/> <br/> &nbsp;&nbsp;&nbsp;4)&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">X</span>&nbsp;=&nbsp;2&nbsp;<span style="font-family: arial;">&and;</span>&nbsp;<span class="id" type="var">X</span>&nbsp;=&nbsp;3<span style="letter-spacing:-.4em;">}</span>}&nbsp;<span class="id" type="var">X</span>&nbsp;::=&nbsp;5&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">X</span>&nbsp;=&nbsp;0<span style="letter-spacing:-.4em;">}</span>}<br/> <br/> &nbsp;&nbsp;&nbsp;5)&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">True</span><span style="letter-spacing:-.4em;">}</span>}&nbsp;<span class="id" type="var">SKIP</span>&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">False</span><span style="letter-spacing:-.4em;">}</span>}<br/> <br/> &nbsp;&nbsp;&nbsp;6)&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">False</span><span style="letter-spacing:-.4em;">}</span>}&nbsp;<span class="id" type="var">SKIP</span>&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">True</span><span style="letter-spacing:-.4em;">}</span>}<br/> <br/> &nbsp;&nbsp;&nbsp;7)&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">True</span><span style="letter-spacing:-.4em;">}</span>}&nbsp;<span class="id" type="var">WHILE</span>&nbsp;<span class="id" type="var">True</span>&nbsp;<span class="id" type="var">DO</span>&nbsp;<span class="id" type="var">SKIP</span>&nbsp;<span class="id" type="var">END</span>&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">False</span><span style="letter-spacing:-.4em;">}</span>}<br/> <br/> &nbsp;&nbsp;&nbsp;8)&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">X</span>&nbsp;=&nbsp;0<span style="letter-spacing:-.4em;">}</span>}<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">WHILE</span>&nbsp;<span class="id" type="var">X</span>&nbsp;==&nbsp;0&nbsp;<span class="id" type="var">DO</span>&nbsp;<span class="id" type="var">X</span>&nbsp;::=&nbsp;<span class="id" type="var">X</span>&nbsp;+&nbsp;1&nbsp;<span class="id" type="var">END</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">X</span>&nbsp;=&nbsp;1<span style="letter-spacing:-.4em;">}</span>}<br/> <br/> &nbsp;&nbsp;&nbsp;9)&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">X</span>&nbsp;=&nbsp;1<span style="letter-spacing:-.4em;">}</span>}<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">WHILE</span>&nbsp;<span class="id" type="var">X</span>&nbsp;≠&nbsp;0&nbsp;<span class="id" type="var">DO</span>&nbsp;<span class="id" type="var">X</span>&nbsp;::=&nbsp;<span class="id" type="var">X</span>&nbsp;+&nbsp;1&nbsp;<span class="id" type="var">END</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">X</span>&nbsp;=&nbsp;100<span style="letter-spacing:-.4em;">}</span>} <div class="paragraph"> </div> </div> <div class="paragraph"> </div> </div> <div class="code code-tight"> <span class="comment">(*&nbsp;FILL&nbsp;IN&nbsp;HERE&nbsp;*)</span><br/> </div> <div class="doc"> <font size=-2>&#9744;</font> <div class="paragraph"> </div> (Note that we're using informal mathematical notations for expressions inside of commands, for readability, rather than their formal <span class="inlinecode"><span class="id" type="var">aexp</span></span> and <span class="inlinecode"><span class="id" type="var">bexp</span></span> encodings. We'll continue doing so throughout the chapter.) <div class="paragraph"> </div> To get us warmed up for what's coming, here are two simple facts about Hoare triples. </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Theorem</span> <span class="id" type="var">hoare_post_true</span> : <span style="font-family: arial;">&forall;</span>(<span class="id" type="var">P</span> <span class="id" type="var">Q</span> : <span class="id" type="var">Assertion</span>) <span class="id" type="var">c</span>,<br/> &nbsp;&nbsp;(<span style="font-family: arial;">&forall;</span><span class="id" type="var">st</span>, <span class="id" type="var">Q</span> <span class="id" type="var">st</span>) <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">P</span><span style="letter-spacing:-.4em;">}</span>} <span class="id" type="var">c</span> <span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">Q</span><span style="letter-spacing:-.4em;">}</span>}.<br/> <div class="togglescript" id="proofcontrol1" onclick="toggleDisplay('proof1');toggleDisplay('proofcontrol1')"><span class="show"></span></div> <div class="proofscript" id="proof1" onclick="toggleDisplay('proof1');toggleDisplay('proofcontrol1')"> <span class="id" type="keyword">Proof</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">intros</span> <span class="id" type="var">P</span> <span class="id" type="var">Q</span> <span class="id" type="var">c</span> <span class="id" type="var">H</span>. <span class="id" type="tactic">unfold</span> <span class="id" type="var">hoare_triple</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">intros</span> <span class="id" type="var">st</span> <span class="id" type="var">st'</span> <span class="id" type="var">Heval</span> <span class="id" type="var">HP</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">apply</span> <span class="id" type="var">H</span>. <span class="id" type="keyword">Qed</span>.<br/> </div> <br/> <span class="id" type="keyword">Theorem</span> <span class="id" type="var">hoare_pre_false</span> : <span style="font-family: arial;">&forall;</span>(<span class="id" type="var">P</span> <span class="id" type="var">Q</span> : <span class="id" type="var">Assertion</span>) <span class="id" type="var">c</span>,<br/> &nbsp;&nbsp;(<span style="font-family: arial;">&forall;</span><span class="id" type="var">st</span>, ~(<span class="id" type="var">P</span> <span class="id" type="var">st</span>)) <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">P</span><span style="letter-spacing:-.4em;">}</span>} <span class="id" type="var">c</span> <span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">Q</span><span style="letter-spacing:-.4em;">}</span>}.<br/> <div class="togglescript" id="proofcontrol2" onclick="toggleDisplay('proof2');toggleDisplay('proofcontrol2')"><span class="show"></span></div> <div class="proofscript" id="proof2" onclick="toggleDisplay('proof2');toggleDisplay('proofcontrol2')"> <span class="id" type="keyword">Proof</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">intros</span> <span class="id" type="var">P</span> <span class="id" type="var">Q</span> <span class="id" type="var">c</span> <span class="id" type="var">H</span>. <span class="id" type="tactic">unfold</span> <span class="id" type="var">hoare_triple</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">intros</span> <span class="id" type="var">st</span> <span class="id" type="var">st'</span> <span class="id" type="var">Heval</span> <span class="id" type="var">HP</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">unfold</span> <span class="id" type="var">not</span> <span class="id" type="keyword">in</span> <span class="id" type="var">H</span>. <span class="id" type="tactic">apply</span> <span class="id" type="var">H</span> <span class="id" type="keyword">in</span> <span class="id" type="var">HP</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">inversion</span> <span class="id" type="var">HP</span>. <span class="id" type="keyword">Qed</span>.<br/> </div> <br/> </div> <div class="doc"> <a name="lab521"></a><h2 class="section">Proof Rules</h2> <div class="paragraph"> </div> The goal of Hoare logic is to provide a <i>compositional</i> method for proving the validity of Hoare triples. That is, the structure of a program's correctness proof should mirror the structure of the program itself. To this end, in the sections below, we'll introduce one rule for reasoning about each of the different syntactic forms of commands in Imp &mdash; one for assignment, one for sequencing, one for conditionals, etc. &mdash; plus a couple of "structural" rules that are useful for gluing things together. We will prove programs correct using these proof rules, without ever unfolding the definition of <span class="inlinecode"><span class="id" type="var">hoare_triple</span></span>. </div> <div class="code code-tight"> <br/> </div> <div class="doc"> <a name="lab522"></a><h3 class="section">Assignment</h3> <div class="paragraph"> </div> The rule for assignment is the most fundamental of the Hoare logic proof rules. Here's how it works. <div class="paragraph"> </div> Consider this (valid) Hoare triple: <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;<span class="id" type="var">Y</span>&nbsp;=&nbsp;1&nbsp;<span style="letter-spacing:-.4em;">}</span>}&nbsp;&nbsp;<span class="id" type="var">X</span>&nbsp;::=&nbsp;<span class="id" type="var">Y</span>&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;<span class="id" type="var">X</span>&nbsp;=&nbsp;1&nbsp;<span style="letter-spacing:-.4em;">}</span>} <div class="paragraph"> </div> </div> In English: if we start out in a state where the value of <span class="inlinecode"><span class="id" type="var">Y</span></span> is <span class="inlinecode">1</span> and we assign <span class="inlinecode"><span class="id" type="var">Y</span></span> to <span class="inlinecode"><span class="id" type="var">X</span></span>, then we'll finish in a state where <span class="inlinecode"><span class="id" type="var">X</span></span> is <span class="inlinecode">1</span>. That is, the property of being equal to <span class="inlinecode">1</span> gets transferred from <span class="inlinecode"><span class="id" type="var">Y</span></span> to <span class="inlinecode"><span class="id" type="var">X</span></span>. <div class="paragraph"> </div> Similarly, in <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;<span class="id" type="var">Y</span>&nbsp;+&nbsp;<span class="id" type="var">Z</span>&nbsp;=&nbsp;1&nbsp;<span style="letter-spacing:-.4em;">}</span>}&nbsp;&nbsp;<span class="id" type="var">X</span>&nbsp;::=&nbsp;<span class="id" type="var">Y</span>&nbsp;+&nbsp;<span class="id" type="var">Z</span>&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;<span class="id" type="var">X</span>&nbsp;=&nbsp;1&nbsp;<span style="letter-spacing:-.4em;">}</span>} <div class="paragraph"> </div> </div> the same property (being equal to one) gets transferred to <span class="inlinecode"><span class="id" type="var">X</span></span> from the expression <span class="inlinecode"><span class="id" type="var">Y</span></span> <span class="inlinecode">+</span> <span class="inlinecode"><span class="id" type="var">Z</span></span> on the right-hand side of the assignment. <div class="paragraph"> </div> More generally, if <span class="inlinecode"><span class="id" type="var">a</span></span> is <i>any</i> arithmetic expression, then <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;<span class="id" type="var">a</span>&nbsp;=&nbsp;1&nbsp;<span style="letter-spacing:-.4em;">}</span>}&nbsp;&nbsp;<span class="id" type="var">X</span>&nbsp;::=&nbsp;<span class="id" type="var">a</span>&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;<span class="id" type="var">X</span>&nbsp;=&nbsp;1&nbsp;<span style="letter-spacing:-.4em;">}</span>} <div class="paragraph"> </div> </div> is a valid Hoare triple. <div class="paragraph"> </div> This can be made even more general. To conclude that an <i>arbitrary</i> property <span class="inlinecode"><span class="id" type="var">Q</span></span> holds after <span class="inlinecode"><span class="id" type="var">X</span></span> <span class="inlinecode">::=</span> <span class="inlinecode"><span class="id" type="var">a</span></span>, we need to assume that <span class="inlinecode"><span class="id" type="var">Q</span></span> holds before <span class="inlinecode"><span class="id" type="var">X</span></span> <span class="inlinecode">::=</span> <span class="inlinecode"><span class="id" type="var">a</span></span>, but <i>with all occurrences of</i> <span class="inlinecode"><span class="id" type="var">X</span></span> replaced by <span class="inlinecode"><span class="id" type="var">a</span></span> in <span class="inlinecode"><span class="id" type="var">Q</span></span>. This leads to the Hoare rule for assignment <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;<span class="id" type="var">Q</span>&nbsp;[<span class="id" type="var">X</span>&nbsp;<span style="font-family: arial;">&#8614;</span>&nbsp;<span class="id" type="var">a</span>]&nbsp;<span style="letter-spacing:-.4em;">}</span>}&nbsp;<span class="id" type="var">X</span>&nbsp;::=&nbsp;<span class="id" type="var">a</span>&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;<span class="id" type="var">Q</span>&nbsp;<span style="letter-spacing:-.4em;">}</span>} <div class="paragraph"> </div> </div> where "<span class="inlinecode"><span class="id" type="var">Q</span></span> <span class="inlinecode">[<span class="id" type="var">X</span></span> <span class="inlinecode"><span style="font-family: arial;">&#8614;</span></span> <span class="inlinecode"><span class="id" type="var">a</span>]</span>" is pronounced "<span class="inlinecode"><span class="id" type="var">Q</span></span> where <span class="inlinecode"><span class="id" type="var">a</span></span> is substituted for <span class="inlinecode"><span class="id" type="var">X</span></span>". <div class="paragraph"> </div> For example, these are valid applications of the assignment rule: <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;(<span class="id" type="var">X</span>&nbsp;≤&nbsp;5)&nbsp;[<span class="id" type="var">X</span>&nbsp;<span style="font-family: arial;">&#8614;</span>&nbsp;<span class="id" type="var">X</span>&nbsp;+&nbsp;1]<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">i.e</span>.,&nbsp;<span class="id" type="var">X</span>&nbsp;+&nbsp;1&nbsp;≤&nbsp;5&nbsp;<span style="letter-spacing:-.4em;">}</span>}&nbsp;&nbsp;<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">X</span>&nbsp;::=&nbsp;<span class="id" type="var">X</span>&nbsp;+&nbsp;1&nbsp;&nbsp;<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;<span class="id" type="var">X</span>&nbsp;≤&nbsp;5&nbsp;<span style="letter-spacing:-.4em;">}</span>}<br/> <br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;(<span class="id" type="var">X</span>&nbsp;=&nbsp;3)&nbsp;[<span class="id" type="var">X</span>&nbsp;<span style="font-family: arial;">&#8614;</span>&nbsp;3]<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">i.e</span>.,&nbsp;3&nbsp;=&nbsp;3<span style="letter-spacing:-.4em;">}</span>}&nbsp;&nbsp;<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">X</span>&nbsp;::=&nbsp;3&nbsp;&nbsp;<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;<span class="id" type="var">X</span>&nbsp;=&nbsp;3&nbsp;<span style="letter-spacing:-.4em;">}</span>}<br/> <br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;(0&nbsp;≤&nbsp;<span class="id" type="var">X</span>&nbsp;<span style="font-family: arial;">&and;</span>&nbsp;<span class="id" type="var">X</span>&nbsp;≤&nbsp;5)&nbsp;[<span class="id" type="var">X</span>&nbsp;<span style="font-family: arial;">&#8614;</span>&nbsp;3]<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">i.e</span>.,&nbsp;(0&nbsp;≤&nbsp;3&nbsp;<span style="font-family: arial;">&and;</span>&nbsp;3&nbsp;≤&nbsp;5)<span style="letter-spacing:-.4em;">}</span>}&nbsp;&nbsp;<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">X</span>&nbsp;::=&nbsp;3&nbsp;&nbsp;<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;0&nbsp;≤&nbsp;<span class="id" type="var">X</span>&nbsp;<span style="font-family: arial;">&and;</span>&nbsp;<span class="id" type="var">X</span>&nbsp;≤&nbsp;5&nbsp;<span style="letter-spacing:-.4em;">}</span>} <div class="paragraph"> </div> </div> <div class="paragraph"> </div> To formalize the rule, we must first formalize the idea of "substituting an expression for an Imp variable in an assertion." That is, given a proposition <span class="inlinecode"><span class="id" type="var">P</span></span>, a variable <span class="inlinecode"><span class="id" type="var">X</span></span>, and an arithmetic expression <span class="inlinecode"><span class="id" type="var">a</span></span>, we want to derive another proposition <span class="inlinecode"><span class="id" type="var">P'</span></span> that is just the same as <span class="inlinecode"><span class="id" type="var">P</span></span> except that, wherever <span class="inlinecode"><span class="id" type="var">P</span></span> mentions <span class="inlinecode"><span class="id" type="var">X</span></span>, <span class="inlinecode"><span class="id" type="var">P'</span></span> should instead mention <span class="inlinecode"><span class="id" type="var">a</span></span>. <div class="paragraph"> </div> Since <span class="inlinecode"><span class="id" type="var">P</span></span> is an arbitrary Coq proposition, we can't directly "edit" its text. Instead, we can achieve the effect we want by evaluating <span class="inlinecode"><span class="id" type="var">P</span></span> in an updated state: </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Definition</span> <span class="id" type="var">assn_sub</span> <span class="id" type="var">X</span> <span class="id" type="var">a</span> <span class="id" type="var">P</span> : <span class="id" type="var">Assertion</span> :=<br/> &nbsp;&nbsp;<span class="id" type="keyword">fun</span> (<span class="id" type="var">st</span> : <span class="id" type="var">state</span>) ⇒<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">P</span> (<span class="id" type="var">update</span> <span class="id" type="var">st</span> <span class="id" type="var">X</span> (<span class="id" type="var">aeval</span> <span class="id" type="var">st</span> <span class="id" type="var">a</span>)).<br/> <br/> <span class="id" type="keyword">Notation</span> "P [ X |-&gt; a ]" := (<span class="id" type="var">assn_sub</span> <span class="id" type="var">X</span> <span class="id" type="var">a</span> <span class="id" type="var">P</span>) (<span class="id" type="tactic">at</span> <span class="id" type="var">level</span> 10).<br/> <br/> </div> <div class="doc"> That is, <span class="inlinecode"><span class="id" type="var">P</span></span> <span class="inlinecode">[<span class="id" type="var">X</span></span> <span class="inlinecode"><span style="font-family: arial;">&#8614;</span></span> <span class="inlinecode"><span class="id" type="var">a</span>]</span> is an assertion <span class="inlinecode"><span class="id" type="var">P'</span></span> that is just like <span class="inlinecode"><span class="id" type="var">P</span></span> except that, wherever <span class="inlinecode"><span class="id" type="var">P</span></span> looks up the variable <span class="inlinecode"><span class="id" type="var">X</span></span> in the current state, <span class="inlinecode"><span class="id" type="var">P'</span></span> instead uses the value of the expression <span class="inlinecode"><span class="id" type="var">a</span></span>. <div class="paragraph"> </div> To see how this works, let's calculate what happens with a couple of examples. First, suppose <span class="inlinecode"><span class="id" type="var">P'</span></span> is <span class="inlinecode">(<span class="id" type="var">X</span></span> <span class="inlinecode">≤</span> <span class="inlinecode">5)</span> <span class="inlinecode">[<span class="id" type="var">X</span></span> <span class="inlinecode"><span style="font-family: arial;">&#8614;</span></span> <span class="inlinecode">3]</span> &mdash; that is, more formally, <span class="inlinecode"><span class="id" type="var">P'</span></span> is the Coq expression <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="keyword">fun</span>&nbsp;<span class="id" type="var">st</span>&nbsp;⇒&nbsp;<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(<span class="id" type="keyword">fun</span>&nbsp;<span class="id" type="var">st'</span>&nbsp;⇒&nbsp;<span class="id" type="var">st'</span>&nbsp;<span class="id" type="var">X</span>&nbsp;≤&nbsp;5)&nbsp;<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(<span class="id" type="var">update</span>&nbsp;<span class="id" type="var">st</span>&nbsp;<span class="id" type="var">X</span>&nbsp;(<span class="id" type="var">aeval</span>&nbsp;<span class="id" type="var">st</span>&nbsp;(<span class="id" type="var">ANum</span>&nbsp;3))), <div class="paragraph"> </div> </div> which simplifies to <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="keyword">fun</span>&nbsp;<span class="id" type="var">st</span>&nbsp;⇒&nbsp;<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(<span class="id" type="keyword">fun</span>&nbsp;<span class="id" type="var">st'</span>&nbsp;⇒&nbsp;<span class="id" type="var">st'</span>&nbsp;<span class="id" type="var">X</span>&nbsp;≤&nbsp;5)&nbsp;<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(<span class="id" type="var">update</span>&nbsp;<span class="id" type="var">st</span>&nbsp;<span class="id" type="var">X</span>&nbsp;3) <div class="paragraph"> </div> </div> and further simplifies to <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="keyword">fun</span>&nbsp;<span class="id" type="var">st</span>&nbsp;⇒&nbsp;<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;((<span class="id" type="var">update</span>&nbsp;<span class="id" type="var">st</span>&nbsp;<span class="id" type="var">X</span>&nbsp;3)&nbsp;<span class="id" type="var">X</span>)&nbsp;≤&nbsp;5) <div class="paragraph"> </div> </div> and by further simplification to <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="keyword">fun</span>&nbsp;<span class="id" type="var">st</span>&nbsp;⇒&nbsp;<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(3&nbsp;≤&nbsp;5). <div class="paragraph"> </div> </div> That is, <span class="inlinecode"><span class="id" type="var">P'</span></span> is the assertion that <span class="inlinecode">3</span> is less than or equal to <span class="inlinecode">5</span> (as expected). <div class="paragraph"> </div> For a more interesting example, suppose <span class="inlinecode"><span class="id" type="var">P'</span></span> is <span class="inlinecode">(<span class="id" type="var">X</span></span> <span class="inlinecode">≤</span> <span class="inlinecode">5)</span> <span class="inlinecode">[<span class="id" type="var">X</span></span> <span class="inlinecode"><span style="font-family: arial;">&#8614;</span></span> <span class="inlinecode"><span class="id" type="var">X</span>+1]</span>. Formally, <span class="inlinecode"><span class="id" type="var">P'</span></span> is the Coq expression <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="keyword">fun</span>&nbsp;<span class="id" type="var">st</span>&nbsp;⇒&nbsp;<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(<span class="id" type="keyword">fun</span>&nbsp;<span class="id" type="var">st'</span>&nbsp;⇒&nbsp;<span class="id" type="var">st'</span>&nbsp;<span class="id" type="var">X</span>&nbsp;≤&nbsp;5)&nbsp;<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(<span class="id" type="var">update</span>&nbsp;<span class="id" type="var">st</span>&nbsp;<span class="id" type="var">X</span>&nbsp;(<span class="id" type="var">aeval</span>&nbsp;<span class="id" type="var">st</span>&nbsp;(<span class="id" type="var">APlus</span>&nbsp;(<span class="id" type="var">AId</span>&nbsp;<span class="id" type="var">X</span>)&nbsp;(<span class="id" type="var">ANum</span>&nbsp;1)))), <div class="paragraph"> </div> </div> which simplifies to <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="keyword">fun</span>&nbsp;<span class="id" type="var">st</span>&nbsp;⇒&nbsp;<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(((<span class="id" type="var">update</span>&nbsp;<span class="id" type="var">st</span>&nbsp;<span class="id" type="var">X</span>&nbsp;(<span class="id" type="var">aeval</span>&nbsp;<span class="id" type="var">st</span>&nbsp;(<span class="id" type="var">APlus</span>&nbsp;(<span class="id" type="var">AId</span>&nbsp;<span class="id" type="var">X</span>)&nbsp;(<span class="id" type="var">ANum</span>&nbsp;1)))))&nbsp;<span class="id" type="var">X</span>)&nbsp;≤&nbsp;5 <div class="paragraph"> </div> </div> and further simplifies to <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="keyword">fun</span>&nbsp;<span class="id" type="var">st</span>&nbsp;⇒&nbsp;<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(<span class="id" type="var">aeval</span>&nbsp;<span class="id" type="var">st</span>&nbsp;(<span class="id" type="var">APlus</span>&nbsp;(<span class="id" type="var">AId</span>&nbsp;<span class="id" type="var">X</span>)&nbsp;(<span class="id" type="var">ANum</span>&nbsp;1)))&nbsp;≤&nbsp;5. <div class="paragraph"> </div> </div> That is, <span class="inlinecode"><span class="id" type="var">P'</span></span> is the assertion that <span class="inlinecode"><span class="id" type="var">X</span>+1</span> is at most <span class="inlinecode">5</span>. <div class="paragraph"> </div> <div class="paragraph"> </div> Now we can give the precise proof rule for assignment: <center><table class="infrule"> <tr class="infruleassumption"> <td class="infrule">&nbsp;&nbsp;</td> <td class="infrulenamecol" rowspan="3"> (hoare_asgn) &nbsp; </td></tr> <tr class="infrulemiddle"> <td class="infrule"><hr /></td> </tr> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{Q&nbsp;[X&nbsp;<span style="font-family: arial;">&#8614;</span>&nbsp;a]<span style="letter-spacing:-.4em;">}</span>}&nbsp;X&nbsp;::=&nbsp;a&nbsp;<span style="letter-spacing:-.4em;">{</span>{Q<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> </table></center> <div class="paragraph"> </div> We can prove formally that this rule is indeed valid. </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Theorem</span> <span class="id" type="var">hoare_asgn</span> : <span style="font-family: arial;">&forall;</span><span class="id" type="var">Q</span> <span class="id" type="var">X</span> <span class="id" type="var">a</span>,<br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">Q</span> [<span class="id" type="var">X</span> <span style="font-family: arial;">&#8614;</span> <span class="id" type="var">a</span>]<span style="letter-spacing:-.4em;">}</span>} (<span class="id" type="var">X</span> ::= <span class="id" type="var">a</span>) <span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">Q</span><span style="letter-spacing:-.4em;">}</span>}.<br/> <div class="togglescript" id="proofcontrol3" onclick="toggleDisplay('proof3');toggleDisplay('proofcontrol3')"><span class="show"></span></div> <div class="proofscript" id="proof3" onclick="toggleDisplay('proof3');toggleDisplay('proofcontrol3')"> <span class="id" type="keyword">Proof</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">unfold</span> <span class="id" type="var">hoare_triple</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">intros</span> <span class="id" type="var">Q</span> <span class="id" type="var">X</span> <span class="id" type="var">a</span> <span class="id" type="var">st</span> <span class="id" type="var">st'</span> <span class="id" type="var">HE</span> <span class="id" type="var">HQ</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">inversion</span> <span class="id" type="var">HE</span>. <span class="id" type="tactic">subst</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">unfold</span> <span class="id" type="var">assn_sub</span> <span class="id" type="keyword">in</span> <span class="id" type="var">HQ</span>. <span class="id" type="tactic">assumption</span>. <span class="id" type="keyword">Qed</span>.<br/> </div> <br/> </div> <div class="doc"> Here's a first formal proof using this rule. </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Example</span> <span class="id" type="var">assn_sub_example</span> :<br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{(<span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> ⇒ <span class="id" type="var">st</span> <span class="id" type="var">X</span> = 3) [<span class="id" type="var">X</span> <span style="font-family: arial;">&#8614;</span> <span class="id" type="var">ANum</span> 3]<span style="letter-spacing:-.4em;">}</span>}<br/> &nbsp;&nbsp;(<span class="id" type="var">X</span> ::= (<span class="id" type="var">ANum</span> 3))<br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> ⇒ <span class="id" type="var">st</span> <span class="id" type="var">X</span> = 3<span style="letter-spacing:-.4em;">}</span>}.<br/> <span class="id" type="keyword">Proof</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">apply</span> <span class="id" type="var">hoare_asgn</span>. <span class="id" type="keyword">Qed</span>.<br/> <br/> </div> <div class="doc"> <a name="lab523"></a><h4 class="section">Exercise: 2 stars (hoare_asgn_examples)</h4> Translate these informal Hoare triples... <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;&nbsp;&nbsp;1)&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;(<span class="id" type="var">X</span>&nbsp;≤&nbsp;5)&nbsp;[<span class="id" type="var">X</span>&nbsp;<span style="font-family: arial;">&#8614;</span>&nbsp;<span class="id" type="var">X</span>&nbsp;+&nbsp;1]&nbsp;<span style="letter-spacing:-.4em;">}</span>}<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">X</span>&nbsp;::=&nbsp;<span class="id" type="var">X</span>&nbsp;+&nbsp;1<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;<span class="id" type="var">X</span>&nbsp;≤&nbsp;5&nbsp;<span style="letter-spacing:-.4em;">}</span>}<br/> <br/> &nbsp;&nbsp;&nbsp;&nbsp;2)&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;(0&nbsp;≤&nbsp;<span class="id" type="var">X</span>&nbsp;<span style="font-family: arial;">&and;</span>&nbsp;<span class="id" type="var">X</span>&nbsp;≤&nbsp;5)&nbsp;[<span class="id" type="var">X</span>&nbsp;<span style="font-family: arial;">&#8614;</span>&nbsp;3]&nbsp;<span style="letter-spacing:-.4em;">}</span>}<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">X</span>&nbsp;::=&nbsp;3<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;0&nbsp;≤&nbsp;<span class="id" type="var">X</span>&nbsp;<span style="font-family: arial;">&and;</span>&nbsp;<span class="id" type="var">X</span>&nbsp;≤&nbsp;5&nbsp;<span style="letter-spacing:-.4em;">}</span>} <div class="paragraph"> </div> </div> ...into formal statements and use <span class="inlinecode"><span class="id" type="var">hoare_asgn</span></span> to prove them. </div> <div class="code code-tight"> <br/> <span class="comment">(*&nbsp;FILL&nbsp;IN&nbsp;HERE&nbsp;*)</span><br/> </div> <div class="doc"> <font size=-2>&#9744;</font> <div class="paragraph"> </div> <a name="lab524"></a><h4 class="section">Exercise: 2 stars (hoare_asgn_wrong)</h4> The assignment rule looks backward to almost everyone the first time they see it. If it still seems backward to you, it may help to think a little about alternative "forward" rules. Here is a seemingly natural one: <center><table class="infrule"> <tr class="infruleassumption"> <td class="infrule">&nbsp;&nbsp;</td> <td class="infrulenamecol" rowspan="3"> (hoare_asgn_wrong) &nbsp; </td></tr> <tr class="infrulemiddle"> <td class="infrule"><hr /></td> </tr> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{&nbsp;True&nbsp;<span style="letter-spacing:-.4em;">}</span>}&nbsp;X&nbsp;::=&nbsp;a&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;X&nbsp;=&nbsp;a&nbsp;<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> </table></center> Give a counterexample showing that this rule is incorrect (informally). Hint: The rule universally quantifies over the arithmetic expression <span class="inlinecode"><span class="id" type="var">a</span></span>, and your counterexample needs to exhibit an <span class="inlinecode"><span class="id" type="var">a</span></span> for which the rule doesn't work. </div> <div class="code code-tight"> <br/> <span class="comment">(*&nbsp;FILL&nbsp;IN&nbsp;HERE&nbsp;*)</span><br/> </div> <div class="doc"> <font size=-2>&#9744;</font> <div class="paragraph"> </div> <a name="lab525"></a><h4 class="section">Exercise: 3 stars, advanced (hoare_asgn_fwd)</h4> However, using an auxiliary variable <span class="inlinecode"><span class="id" type="var">m</span></span> to remember the original value of <span class="inlinecode"><span class="id" type="var">X</span></span> we can define a Hoare rule for assignment that does, intuitively, "work forwards" rather than backwards. <center><table class="infrule"> <tr class="infruleassumption"> <td class="infrule">&nbsp;&nbsp;</td> <td class="infrulenamecol" rowspan="3"> (hoare_asgn_fwd) &nbsp; </td></tr> <tr class="infrulemiddle"> <td class="infrule"><hr /></td> </tr> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{fun&nbsp;st&nbsp;⇒&nbsp;P&nbsp;st&nbsp;<span style="font-family: arial;">&and;</span>&nbsp;st&nbsp;X&nbsp;=&nbsp;m<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> <tr class="infruleassumption"> <td class="infrule">X&nbsp;::=&nbsp;a</td> <td></td> </td> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{fun&nbsp;st&nbsp;⇒&nbsp;P&nbsp;st'&nbsp;<span style="font-family: arial;">&and;</span>&nbsp;st&nbsp;X&nbsp;=&nbsp;aeval&nbsp;st'&nbsp;a&nbsp;<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> <tr class="infruleassumption"> <td class="infrule">(where&nbsp;st'&nbsp;=&nbsp;update&nbsp;st&nbsp;X&nbsp;m)</td> <td></td> </td> </table></center> Note that we use the original value of <span class="inlinecode"><span class="id" type="var">X</span></span> to reconstruct the state <span class="inlinecode"><span class="id" type="var">st'</span></span> before the assignment took place. Prove that this rule is correct (the first hypothesis is the functional extensionality axiom, which you will need at some point). Also note that this rule is more complicated than <span class="inlinecode"><span class="id" type="var">hoare_asgn</span></span>. </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Theorem</span> <span class="id" type="var">hoare_asgn_fwd</span> :<br/> &nbsp;&nbsp;(<span style="font-family: arial;">&forall;</span>{<span class="id" type="var">X</span> <span class="id" type="var">Y</span>: <span class="id" type="keyword">Type</span>} {<span class="id" type="var">f</span> <span class="id" type="var">g</span> : <span class="id" type="var">X</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">Y</span>},<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(<span style="font-family: arial;">&forall;</span>(<span class="id" type="var">x</span>: <span class="id" type="var">X</span>), <span class="id" type="var">f</span> <span class="id" type="var">x</span> = <span class="id" type="var">g</span> <span class="id" type="var">x</span>) <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">f</span> = <span class="id" type="var">g</span>) <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;<span style="font-family: arial;">&forall;</span><span class="id" type="var">m</span> <span class="id" type="var">a</span> <span class="id" type="var">P</span>,<br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> ⇒ <span class="id" type="var">P</span> <span class="id" type="var">st</span> <span style="font-family: arial;">&and;</span> <span class="id" type="var">st</span> <span class="id" type="var">X</span> = <span class="id" type="var">m</span><span style="letter-spacing:-.4em;">}</span>}<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">X</span> ::= <span class="id" type="var">a</span><br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> ⇒ <span class="id" type="var">P</span> (<span class="id" type="var">update</span> <span class="id" type="var">st</span> <span class="id" type="var">X</span> <span class="id" type="var">m</span>) <span style="font-family: arial;">&and;</span> <span class="id" type="var">st</span> <span class="id" type="var">X</span> = <span class="id" type="var">aeval</span> (<span class="id" type="var">update</span> <span class="id" type="var">st</span> <span class="id" type="var">X</span> <span class="id" type="var">m</span>) <span class="id" type="var">a</span> <span style="letter-spacing:-.4em;">}</span>}.<br/> <span class="id" type="keyword">Proof</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">intros</span> <span class="id" type="var">functional_extensionality</span> <span class="id" type="var">m</span> <span class="id" type="var">a</span> <span class="id" type="var">P</span>.<br/> &nbsp;&nbsp;<span class="comment">(*&nbsp;FILL&nbsp;IN&nbsp;HERE&nbsp;*)</span> <span class="id" type="var">Admitted</span>.<br/> </div> <div class="doc"> <font size=-2>&#9744;</font> <div class="paragraph"> </div> <a name="lab526"></a><h4 class="section">Exercise: 2 stars, advanced (hoare_asgn_fwd_exists)</h4> Another way to define a forward rule for assignment is to existentially quantify over the previous value of the assigned variable. <center><table class="infrule"> <tr class="infruleassumption"> <td class="infrule">&nbsp;&nbsp;</td> <td class="infrulenamecol" rowspan="3"> (hoare_asgn_fwd_exists) &nbsp; </td></tr> <tr class="infrulemiddle"> <td class="infrule"><hr /></td> </tr> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{fun&nbsp;st&nbsp;⇒&nbsp;P&nbsp;st<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> <tr class="infruleassumption"> <td class="infrule">X&nbsp;::=&nbsp;a</td> <td></td> </td> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{fun&nbsp;st&nbsp;⇒&nbsp;<span style="font-family: arial;">&exist;</span>m,&nbsp;P&nbsp;(update&nbsp;st&nbsp;X&nbsp;m)&nbsp;<span style="font-family: arial;">&and;</span></td> <td></td> </td> <tr class="infruleassumption"> <td class="infrule">st&nbsp;X&nbsp;=&nbsp;aeval&nbsp;(update&nbsp;st&nbsp;X&nbsp;m)&nbsp;a&nbsp;<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> </table></center> </div> <div class="code code-tight"> <span class="comment">(*&nbsp;This&nbsp;rule&nbsp;was&nbsp;proposed&nbsp;by&nbsp;Nick&nbsp;Giannarakis&nbsp;and&nbsp;Zoe&nbsp;Paraskevopoulou.&nbsp;*)</span><br/> <br/> <span class="id" type="keyword">Theorem</span> <span class="id" type="var">hoare_asgn_fwd_exists</span> :<br/> &nbsp;&nbsp;(<span style="font-family: arial;">&forall;</span>{<span class="id" type="var">X</span> <span class="id" type="var">Y</span>: <span class="id" type="keyword">Type</span>} {<span class="id" type="var">f</span> <span class="id" type="var">g</span> : <span class="id" type="var">X</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">Y</span>},<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(<span style="font-family: arial;">&forall;</span>(<span class="id" type="var">x</span>: <span class="id" type="var">X</span>), <span class="id" type="var">f</span> <span class="id" type="var">x</span> = <span class="id" type="var">g</span> <span class="id" type="var">x</span>) <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">f</span> = <span class="id" type="var">g</span>) <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;<span style="font-family: arial;">&forall;</span><span class="id" type="var">a</span> <span class="id" type="var">P</span>,<br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> ⇒ <span class="id" type="var">P</span> <span class="id" type="var">st</span><span style="letter-spacing:-.4em;">}</span>}<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">X</span> ::= <span class="id" type="var">a</span><br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> ⇒ <span style="font-family: arial;">&exist;</span><span class="id" type="var">m</span>, <span class="id" type="var">P</span> (<span class="id" type="var">update</span> <span class="id" type="var">st</span> <span class="id" type="var">X</span> <span class="id" type="var">m</span>) <span style="font-family: arial;">&and;</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">st</span> <span class="id" type="var">X</span> = <span class="id" type="var">aeval</span> (<span class="id" type="var">update</span> <span class="id" type="var">st</span> <span class="id" type="var">X</span> <span class="id" type="var">m</span>) <span class="id" type="var">a</span> <span style="letter-spacing:-.4em;">}</span>}.<br/> <span class="id" type="keyword">Proof</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">intros</span> <span class="id" type="var">functional_extensionality</span> <span class="id" type="var">a</span> <span class="id" type="var">P</span>.<br/> &nbsp;&nbsp;<span class="comment">(*&nbsp;FILL&nbsp;IN&nbsp;HERE&nbsp;*)</span> <span class="id" type="var">Admitted</span>.<br/> </div> <div class="doc"> <font size=-2>&#9744;</font> </div> <div class="code code-tight"> <br/> </div> <div class="doc"> <a name="lab527"></a><h3 class="section">Consequence</h3> <div class="paragraph"> </div> Sometimes the preconditions and postconditions we get from the Hoare rules won't quite be the ones we want in the particular situation at hand &mdash; they may be logically equivalent but have a different syntactic form that fails to unify with the goal we are trying to prove, or they actually may be logically weaker (for preconditions) or stronger (for postconditions) than what we need. <div class="paragraph"> </div> For instance, while <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{(<span class="id" type="var">X</span>&nbsp;=&nbsp;3)&nbsp;[<span class="id" type="var">X</span>&nbsp;<span style="font-family: arial;">&#8614;</span>&nbsp;3]<span style="letter-spacing:-.4em;">}</span>}&nbsp;<span class="id" type="var">X</span>&nbsp;::=&nbsp;3&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">X</span>&nbsp;=&nbsp;3<span style="letter-spacing:-.4em;">}</span>}, <div class="paragraph"> </div> </div> follows directly from the assignment rule, <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">True</span><span style="letter-spacing:-.4em;">}</span>}&nbsp;<span class="id" type="var">X</span>&nbsp;::=&nbsp;3&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">X</span>&nbsp;=&nbsp;3<span style="letter-spacing:-.4em;">}</span>}. <div class="paragraph"> </div> </div> does not. This triple is valid, but it is not an instance of <span class="inlinecode"><span class="id" type="var">hoare_asgn</span></span> because <span class="inlinecode"><span class="id" type="var">True</span></span> and <span class="inlinecode">(<span class="id" type="var">X</span></span> <span class="inlinecode">=</span> <span class="inlinecode">3)</span> <span class="inlinecode">[<span class="id" type="var">X</span></span> <span class="inlinecode"><span style="font-family: arial;">&#8614;</span></span> <span class="inlinecode">3]</span> are not syntactically equal assertions. However, they are logically equivalent, so if one triple is valid, then the other must certainly be as well. We might capture this observation with the following rule: <center><table class="infrule"> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{P'<span style="letter-spacing:-.4em;">}</span>}&nbsp;c&nbsp;<span style="letter-spacing:-.4em;">{</span>{Q<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> <tr class="infruleassumption"> <td class="infrule">P&nbsp;<span style="font-family: arial;">&#8703;</span>&nbsp;P'</td> <td class="infrulenamecol" rowspan="3"> (hoare_consequence_pre_equiv) &nbsp; </td></tr> <tr class="infrulemiddle"> <td class="infrule"><hr /></td> </tr> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{P<span style="letter-spacing:-.4em;">}</span>}&nbsp;c&nbsp;<span style="letter-spacing:-.4em;">{</span>{Q<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> </table></center> Taking this line of thought a bit further, we can see that strengthening the precondition or weakening the postcondition of a valid triple always produces another valid triple. This observation is captured by two <i>Rules of Consequence</i>. <center><table class="infrule"> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{P'<span style="letter-spacing:-.4em;">}</span>}&nbsp;c&nbsp;<span style="letter-spacing:-.4em;">{</span>{Q<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> <tr class="infruleassumption"> <td class="infrule">P&nbsp;<span style="font-family: arial;">&#8702;</span>&nbsp;P'</td> <td class="infrulenamecol" rowspan="3"> (hoare_consequence_pre) &nbsp; </td></tr> <tr class="infrulemiddle"> <td class="infrule"><hr /></td> </tr> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{P<span style="letter-spacing:-.4em;">}</span>}&nbsp;c&nbsp;<span style="letter-spacing:-.4em;">{</span>{Q<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> </table></center><center><table class="infrule"> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{P<span style="letter-spacing:-.4em;">}</span>}&nbsp;c&nbsp;<span style="letter-spacing:-.4em;">{</span>{Q'<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> <tr class="infruleassumption"> <td class="infrule">Q'&nbsp;<span style="font-family: arial;">&#8702;</span>&nbsp;Q</td> <td class="infrulenamecol" rowspan="3"> (hoare_consequence_post) &nbsp; </td></tr> <tr class="infrulemiddle"> <td class="infrule"><hr /></td> </tr> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{P<span style="letter-spacing:-.4em;">}</span>}&nbsp;c&nbsp;<span style="letter-spacing:-.4em;">{</span>{Q<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> </table></center> <div class="paragraph"> </div> Here are the formal versions: </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Theorem</span> <span class="id" type="var">hoare_consequence_pre</span> : <span style="font-family: arial;">&forall;</span>(<span class="id" type="var">P</span> <span class="id" type="var">P'</span> <span class="id" type="var">Q</span> : <span class="id" type="var">Assertion</span>) <span class="id" type="var">c</span>,<br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">P'</span><span style="letter-spacing:-.4em;">}</span>} <span class="id" type="var">c</span> <span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">Q</span><span style="letter-spacing:-.4em;">}</span>} <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;<span class="id" type="var">P</span> <span style="font-family: arial;">&#8702;</span> <span class="id" type="var">P'</span> <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">P</span><span style="letter-spacing:-.4em;">}</span>} <span class="id" type="var">c</span> <span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">Q</span><span style="letter-spacing:-.4em;">}</span>}.<br/> <div class="togglescript" id="proofcontrol4" onclick="toggleDisplay('proof4');toggleDisplay('proofcontrol4')"><span class="show"></span></div> <div class="proofscript" id="proof4" onclick="toggleDisplay('proof4');toggleDisplay('proofcontrol4')"> <span class="id" type="keyword">Proof</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">intros</span> <span class="id" type="var">P</span> <span class="id" type="var">P'</span> <span class="id" type="var">Q</span> <span class="id" type="var">c</span> <span class="id" type="var">Hhoare</span> <span class="id" type="var">Himp</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">intros</span> <span class="id" type="var">st</span> <span class="id" type="var">st'</span> <span class="id" type="var">Hc</span> <span class="id" type="var">HP</span>. <span class="id" type="tactic">apply</span> (<span class="id" type="var">Hhoare</span> <span class="id" type="var">st</span> <span class="id" type="var">st'</span>).<br/> &nbsp;&nbsp;<span class="id" type="tactic">assumption</span>. <span class="id" type="tactic">apply</span> <span class="id" type="var">Himp</span>. <span class="id" type="tactic">assumption</span>. <span class="id" type="keyword">Qed</span>.<br/> </div> <br/> <span class="id" type="keyword">Theorem</span> <span class="id" type="var">hoare_consequence_post</span> : <span style="font-family: arial;">&forall;</span>(<span class="id" type="var">P</span> <span class="id" type="var">Q</span> <span class="id" type="var">Q'</span> : <span class="id" type="var">Assertion</span>) <span class="id" type="var">c</span>,<br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">P</span><span style="letter-spacing:-.4em;">}</span>} <span class="id" type="var">c</span> <span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">Q'</span><span style="letter-spacing:-.4em;">}</span>} <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;<span class="id" type="var">Q'</span> <span style="font-family: arial;">&#8702;</span> <span class="id" type="var">Q</span> <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">P</span><span style="letter-spacing:-.4em;">}</span>} <span class="id" type="var">c</span> <span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">Q</span><span style="letter-spacing:-.4em;">}</span>}.<br/> <div class="togglescript" id="proofcontrol5" onclick="toggleDisplay('proof5');toggleDisplay('proofcontrol5')"><span class="show"></span></div> <div class="proofscript" id="proof5" onclick="toggleDisplay('proof5');toggleDisplay('proofcontrol5')"> <span class="id" type="keyword">Proof</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">intros</span> <span class="id" type="var">P</span> <span class="id" type="var">Q</span> <span class="id" type="var">Q'</span> <span class="id" type="var">c</span> <span class="id" type="var">Hhoare</span> <span class="id" type="var">Himp</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">intros</span> <span class="id" type="var">st</span> <span class="id" type="var">st'</span> <span class="id" type="var">Hc</span> <span class="id" type="var">HP</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">apply</span> <span class="id" type="var">Himp</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">apply</span> (<span class="id" type="var">Hhoare</span> <span class="id" type="var">st</span> <span class="id" type="var">st'</span>).<br/> &nbsp;&nbsp;<span class="id" type="tactic">assumption</span>. <span class="id" type="tactic">assumption</span>. <span class="id" type="keyword">Qed</span>.<br/> </div> <br/> </div> <div class="doc"> For example, we might use the first consequence rule like this: <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;<span class="id" type="var">True</span>&nbsp;<span style="letter-spacing:-.4em;">}</span>}&nbsp;<span style="font-family: arial;">&#8702;</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;1&nbsp;=&nbsp;1&nbsp;<span style="letter-spacing:-.4em;">}</span>}&nbsp;<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">X</span>&nbsp;::=&nbsp;1<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;<span class="id" type="var">X</span>&nbsp;=&nbsp;1&nbsp;<span style="letter-spacing:-.4em;">}</span>} <div class="paragraph"> </div> </div> Or, formally... </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Example</span> <span class="id" type="var">hoare_asgn_example1</span> :<br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> ⇒ <span class="id" type="var">True</span><span style="letter-spacing:-.4em;">}</span>} (<span class="id" type="var">X</span> ::= (<span class="id" type="var">ANum</span> 1)) <span style="letter-spacing:-.4em;">{</span>{<span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> ⇒ <span class="id" type="var">st</span> <span class="id" type="var">X</span> = 1<span style="letter-spacing:-.4em;">}</span>}.<br/> <span class="id" type="keyword">Proof</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">apply</span> <span class="id" type="var">hoare_consequence_pre</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="keyword">with</span> (<span class="id" type="var">P'</span> := (<span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> ⇒ <span class="id" type="var">st</span> <span class="id" type="var">X</span> = 1) [<span class="id" type="var">X</span> <span style="font-family: arial;">&#8614;</span> <span class="id" type="var">ANum</span> 1]).<br/> &nbsp;&nbsp;<span class="id" type="tactic">apply</span> <span class="id" type="var">hoare_asgn</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">intros</span> <span class="id" type="var">st</span> <span class="id" type="var">H</span>. <span class="id" type="tactic">unfold</span> <span class="id" type="var">assn_sub</span>, <span class="id" type="var">update</span>. <span class="id" type="tactic">simpl</span>. <span class="id" type="tactic">reflexivity</span>.<br/> <span class="id" type="keyword">Qed</span>.<br/> <br/> </div> <div class="doc"> Finally, for convenience in some proofs, we can state a "combined" rule of consequence that allows us to vary both the precondition and the postcondition. <center><table class="infrule"> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{P'<span style="letter-spacing:-.4em;">}</span>}&nbsp;c&nbsp;<span style="letter-spacing:-.4em;">{</span>{Q'<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> <tr class="infruleassumption"> <td class="infrule">P&nbsp;<span style="font-family: arial;">&#8702;</span>&nbsp;P'</td> <td></td> </td> <tr class="infruleassumption"> <td class="infrule">Q'&nbsp;<span style="font-family: arial;">&#8702;</span>&nbsp;Q</td> <td class="infrulenamecol" rowspan="3"> (hoare_consequence) &nbsp; </td></tr> <tr class="infrulemiddle"> <td class="infrule"><hr /></td> </tr> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{P<span style="letter-spacing:-.4em;">}</span>}&nbsp;c&nbsp;<span style="letter-spacing:-.4em;">{</span>{Q<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> </table></center> </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Theorem</span> <span class="id" type="var">hoare_consequence</span> : <span style="font-family: arial;">&forall;</span>(<span class="id" type="var">P</span> <span class="id" type="var">P'</span> <span class="id" type="var">Q</span> <span class="id" type="var">Q'</span> : <span class="id" type="var">Assertion</span>) <span class="id" type="var">c</span>,<br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">P'</span><span style="letter-spacing:-.4em;">}</span>} <span class="id" type="var">c</span> <span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">Q'</span><span style="letter-spacing:-.4em;">}</span>} <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;<span class="id" type="var">P</span> <span style="font-family: arial;">&#8702;</span> <span class="id" type="var">P'</span> <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;<span class="id" type="var">Q'</span> <span style="font-family: arial;">&#8702;</span> <span class="id" type="var">Q</span> <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">P</span><span style="letter-spacing:-.4em;">}</span>} <span class="id" type="var">c</span> <span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">Q</span><span style="letter-spacing:-.4em;">}</span>}.<br/> <div class="togglescript" id="proofcontrol6" onclick="toggleDisplay('proof6');toggleDisplay('proofcontrol6')"><span class="show"></span></div> <div class="proofscript" id="proof6" onclick="toggleDisplay('proof6');toggleDisplay('proofcontrol6')"> <span class="id" type="keyword">Proof</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">intros</span> <span class="id" type="var">P</span> <span class="id" type="var">P'</span> <span class="id" type="var">Q</span> <span class="id" type="var">Q'</span> <span class="id" type="var">c</span> <span class="id" type="var">Hht</span> <span class="id" type="var">HPP'</span> <span class="id" type="var">HQ'Q</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">apply</span> <span class="id" type="var">hoare_consequence_pre</span> <span class="id" type="keyword">with</span> (<span class="id" type="var">P'</span> := <span class="id" type="var">P'</span>).<br/> &nbsp;&nbsp;<span class="id" type="tactic">apply</span> <span class="id" type="var">hoare_consequence_post</span> <span class="id" type="keyword">with</span> (<span class="id" type="var">Q'</span> := <span class="id" type="var">Q'</span>).<br/> &nbsp;&nbsp;<span class="id" type="tactic">assumption</span>. <span class="id" type="tactic">assumption</span>. <span class="id" type="tactic">assumption</span>. <span class="id" type="keyword">Qed</span>.<br/> </div> <br/> </div> <div class="doc"> <a name="lab528"></a><h3 class="section">Digression: The <span class="inlinecode"><span class="id" type="tactic">eapply</span></span> Tactic</h3> <div class="paragraph"> </div> This is a good moment to introduce another convenient feature of Coq. We had to write "<span class="inlinecode"><span class="id" type="keyword">with</span></span> <span class="inlinecode">(<span class="id" type="var">P'</span></span> <span class="inlinecode">:=</span> <span class="inlinecode">...)</span>" explicitly in the proof of <span class="inlinecode"><span class="id" type="var">hoare_asgn_example1</span></span> and <span class="inlinecode"><span class="id" type="var">hoare_consequence</span></span> above, to make sure that all of the metavariables in the premises to the <span class="inlinecode"><span class="id" type="var">hoare_consequence_pre</span></span> rule would be set to specific values. (Since <span class="inlinecode"><span class="id" type="var">P'</span></span> doesn't appear in the conclusion of <span class="inlinecode"><span class="id" type="var">hoare_consequence_pre</span></span>, the process of unifying the conclusion with the current goal doesn't constrain <span class="inlinecode"><span class="id" type="var">P'</span></span> to a specific assertion.) <div class="paragraph"> </div> This is a little annoying, both because the assertion is a bit long and also because for <span class="inlinecode"><span class="id" type="var">hoare_asgn_example1</span></span> the very next thing we are going to do &mdash; applying the <span class="inlinecode"><span class="id" type="var">hoare_asgn</span></span> rule &mdash; will tell us exactly what it should be! We can use <span class="inlinecode"><span class="id" type="tactic">eapply</span></span> instead of <span class="inlinecode"><span class="id" type="tactic">apply</span></span> to tell Coq, essentially, "Be patient: The missing part is going to be filled in soon." </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Example</span> <span class="id" type="var">hoare_asgn_example1'</span> :<br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> ⇒ <span class="id" type="var">True</span><span style="letter-spacing:-.4em;">}</span>} <br/> &nbsp;&nbsp;(<span class="id" type="var">X</span> ::= (<span class="id" type="var">ANum</span> 1)) <br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> ⇒ <span class="id" type="var">st</span> <span class="id" type="var">X</span> = 1<span style="letter-spacing:-.4em;">}</span>}.<br/> <span class="id" type="keyword">Proof</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">eapply</span> <span class="id" type="var">hoare_consequence_pre</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">apply</span> <span class="id" type="var">hoare_asgn</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">intros</span> <span class="id" type="var">st</span> <span class="id" type="var">H</span>. <span class="id" type="tactic">reflexivity</span>. <span class="id" type="keyword">Qed</span>.<br/> <br/> </div> <div class="doc"> In general, <span class="inlinecode"><span class="id" type="tactic">eapply</span></span> <span class="inlinecode"><span class="id" type="var">H</span></span> tactic works just like <span class="inlinecode"><span class="id" type="tactic">apply</span></span> <span class="inlinecode"><span class="id" type="var">H</span></span> except that, instead of failing if unifying the goal with the conclusion of <span class="inlinecode"><span class="id" type="var">H</span></span> does not determine how to instantiate all of the variables appearing in the premises of <span class="inlinecode"><span class="id" type="var">H</span></span>, <span class="inlinecode"><span class="id" type="tactic">eapply</span></span> <span class="inlinecode"><span class="id" type="var">H</span></span> will replace these variables with so-called <i>existential variables</i> (written <span class="inlinecode">?<span class="id" type="var">nnn</span></span>) as placeholders for expressions that will be determined (by further unification) later in the proof. <div class="paragraph"> </div> In order for <span class="inlinecode"><span class="id" type="keyword">Qed</span></span> to succeed, all existential variables need to be determined by the end of the proof. Otherwise Coq will (rightly) refuse to accept the proof. Remember that the Coq tactics build proof objects, and proof objects containing existential variables are not complete. </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Lemma</span> <span class="id" type="var">silly1</span> : <span style="font-family: arial;">&forall;</span>(<span class="id" type="var">P</span> : <span class="id" type="var">nat</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">nat</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="keyword">Prop</span>) (<span class="id" type="var">Q</span> : <span class="id" type="var">nat</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="keyword">Prop</span>),<br/> &nbsp;&nbsp;(<span style="font-family: arial;">&forall;</span><span class="id" type="var">x</span> <span class="id" type="var">y</span> : <span class="id" type="var">nat</span>, <span class="id" type="var">P</span> <span class="id" type="var">x</span> <span class="id" type="var">y</span>) <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;(<span style="font-family: arial;">&forall;</span><span class="id" type="var">x</span> <span class="id" type="var">y</span> : <span class="id" type="var">nat</span>, <span class="id" type="var">P</span> <span class="id" type="var">x</span> <span class="id" type="var">y</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">Q</span> <span class="id" type="var">x</span>) <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;<span class="id" type="var">Q</span> 42.<br/> <span class="id" type="keyword">Proof</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">intros</span> <span class="id" type="var">P</span> <span class="id" type="var">Q</span> <span class="id" type="var">HP</span> <span class="id" type="var">HQ</span>. <span class="id" type="tactic">eapply</span> <span class="id" type="var">HQ</span>. <span class="id" type="tactic">apply</span> <span class="id" type="var">HP</span>.<br/> <br/> </div> <div class="doc"> Coq gives a warning after <span class="inlinecode"><span class="id" type="tactic">apply</span></span> <span class="inlinecode"><span class="id" type="var">HP</span></span>: <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">No</span>&nbsp;<span class="id" type="var">more</span>&nbsp;<span class="id" type="var">subgoals</span>&nbsp;<span class="id" type="var">but</span>&nbsp;<span class="id" type="var">non</span>-<span class="id" type="var">instantiated</span>&nbsp;<span class="id" type="var">existential</span>&nbsp;<span class="id" type="var">variables</span>:<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">Existential</span>&nbsp;1&nbsp;=<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;?171&nbsp;:&nbsp;[<span class="id" type="var">P</span>&nbsp;:&nbsp;<span class="id" type="var">nat</span>&nbsp;<span style="font-family: arial;">&rarr;</span>&nbsp;<span class="id" type="var">nat</span>&nbsp;<span style="font-family: arial;">&rarr;</span>&nbsp;<span class="id" type="keyword">Prop</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">Q</span>&nbsp;:&nbsp;<span class="id" type="var">nat</span>&nbsp;<span style="font-family: arial;">&rarr;</span>&nbsp;<span class="id" type="keyword">Prop</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">HP</span>&nbsp;:&nbsp;<span style="font-family: arial;">&forall;</span><span class="id" type="var">x</span>&nbsp;<span class="id" type="var">y</span>&nbsp;:&nbsp;<span class="id" type="var">nat</span>,&nbsp;<span class="id" type="var">P</span>&nbsp;<span class="id" type="var">x</span>&nbsp;<span class="id" type="var">y</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">HQ</span>&nbsp;:&nbsp;<span style="font-family: arial;">&forall;</span><span class="id" type="var">x</span>&nbsp;<span class="id" type="var">y</span>&nbsp;:&nbsp;<span class="id" type="var">nat</span>,&nbsp;<span class="id" type="var">P</span>&nbsp;<span class="id" type="var">x</span>&nbsp;<span class="id" type="var">y</span>&nbsp;<span style="font-family: arial;">&rarr;</span>&nbsp;<span class="id" type="var">Q</span>&nbsp;<span class="id" type="var">x</span>&nbsp;<span style="font-family: arial;">&#8866;</span>&nbsp;<span class="id" type="var">nat</span>]&nbsp;<br/> &nbsp;&nbsp;<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(<span class="id" type="tactic">dependent</span>&nbsp;<span class="id" type="var">evars</span>:&nbsp;?171&nbsp;<span class="id" type="var">open</span>,)<br/> <br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">You</span>&nbsp;<span class="id" type="var">can</span>&nbsp;<span class="id" type="var">use</span>&nbsp;<span class="id" type="var">Grab</span>&nbsp;<span class="id" type="var">Existential</span>&nbsp;<span class="id" type="keyword">Variables</span>. <div class="paragraph"> </div> </div> Trying to finish the proof with <span class="inlinecode"><span class="id" type="keyword">Qed</span></span> gives an error: <pre> Error: Attempt to save a proof with existential variables still non-instantiated </pre> </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Abort</span>.<br/> <br/> </div> <div class="doc"> An additional constraint is that existential variables cannot be instantiated with terms containing (ordinary) variables that did not exist at the time the existential variable was created. </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Lemma</span> <span class="id" type="var">silly2</span> :<br/> &nbsp;&nbsp;<span style="font-family: arial;">&forall;</span>(<span class="id" type="var">P</span> : <span class="id" type="var">nat</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">nat</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="keyword">Prop</span>) (<span class="id" type="var">Q</span> : <span class="id" type="var">nat</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="keyword">Prop</span>),<br/> &nbsp;&nbsp;(<span style="font-family: arial;">&exist;</span><span class="id" type="var">y</span>, <span class="id" type="var">P</span> 42 <span class="id" type="var">y</span>) <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;(<span style="font-family: arial;">&forall;</span><span class="id" type="var">x</span> <span class="id" type="var">y</span> : <span class="id" type="var">nat</span>, <span class="id" type="var">P</span> <span class="id" type="var">x</span> <span class="id" type="var">y</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">Q</span> <span class="id" type="var">x</span>) <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;<span class="id" type="var">Q</span> 42.<br/> <span class="id" type="keyword">Proof</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">intros</span> <span class="id" type="var">P</span> <span class="id" type="var">Q</span> <span class="id" type="var">HP</span> <span class="id" type="var">HQ</span>. <span class="id" type="tactic">eapply</span> <span class="id" type="var">HQ</span>. <span class="id" type="tactic">destruct</span> <span class="id" type="var">HP</span> <span class="id" type="keyword">as</span> [<span class="id" type="var">y</span> <span class="id" type="var">HP'</span>].<br/> </div> <div class="doc"> Doing <span class="inlinecode"><span class="id" type="tactic">apply</span></span> <span class="inlinecode"><span class="id" type="var">HP'</span></span> above fails with the following error: <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">Error</span>:&nbsp;<span class="id" type="var">Impossible</span>&nbsp;<span class="id" type="var">to</span>&nbsp;<span class="id" type="var">unify</span>&nbsp;"?175"&nbsp;<span class="id" type="keyword">with</span>&nbsp;"y". <div class="paragraph"> </div> </div> In this case there is an easy fix: doing <span class="inlinecode"><span class="id" type="tactic">destruct</span></span> <span class="inlinecode"><span class="id" type="var">HP</span></span> <i>before</i> doing <span class="inlinecode"><span class="id" type="tactic">eapply</span></span> <span class="inlinecode"><span class="id" type="var">HQ</span></span>. </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Abort</span>.<br/> <br/> <span class="id" type="keyword">Lemma</span> <span class="id" type="var">silly2_fixed</span> :<br/> &nbsp;&nbsp;<span style="font-family: arial;">&forall;</span>(<span class="id" type="var">P</span> : <span class="id" type="var">nat</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">nat</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="keyword">Prop</span>) (<span class="id" type="var">Q</span> : <span class="id" type="var">nat</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="keyword">Prop</span>),<br/> &nbsp;&nbsp;(<span style="font-family: arial;">&exist;</span><span class="id" type="var">y</span>, <span class="id" type="var">P</span> 42 <span class="id" type="var">y</span>) <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;(<span style="font-family: arial;">&forall;</span><span class="id" type="var">x</span> <span class="id" type="var">y</span> : <span class="id" type="var">nat</span>, <span class="id" type="var">P</span> <span class="id" type="var">x</span> <span class="id" type="var">y</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">Q</span> <span class="id" type="var">x</span>) <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;<span class="id" type="var">Q</span> 42.<br/> <span class="id" type="keyword">Proof</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">intros</span> <span class="id" type="var">P</span> <span class="id" type="var">Q</span> <span class="id" type="var">HP</span> <span class="id" type="var">HQ</span>. <span class="id" type="tactic">destruct</span> <span class="id" type="var">HP</span> <span class="id" type="keyword">as</span> [<span class="id" type="var">y</span> <span class="id" type="var">HP'</span>].<br/> &nbsp;&nbsp;<span class="id" type="tactic">eapply</span> <span class="id" type="var">HQ</span>. <span class="id" type="tactic">apply</span> <span class="id" type="var">HP'</span>.<br/> <span class="id" type="keyword">Qed</span>.<br/> <br/> </div> <div class="doc"> In the last step we did <span class="inlinecode"><span class="id" type="tactic">apply</span></span> <span class="inlinecode"><span class="id" type="var">HP'</span></span> which unifies the existential variable in the goal with the variable <span class="inlinecode"><span class="id" type="var">y</span></span>. The <span class="inlinecode"><span class="id" type="tactic">assumption</span></span> tactic doesn't work in this case, since it cannot handle existential variables. However, Coq also provides an <span class="inlinecode"><span class="id" type="var">eassumption</span></span> tactic that solves the goal if one of the premises matches the goal up to instantiations of existential variables. We can use it instead of <span class="inlinecode"><span class="id" type="tactic">apply</span></span> <span class="inlinecode"><span class="id" type="var">HP'</span></span>. </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Lemma</span> <span class="id" type="var">silly2_eassumption</span> : <span style="font-family: arial;">&forall;</span>(<span class="id" type="var">P</span> : <span class="id" type="var">nat</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">nat</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="keyword">Prop</span>) (<span class="id" type="var">Q</span> : <span class="id" type="var">nat</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="keyword">Prop</span>),<br/> &nbsp;&nbsp;(<span style="font-family: arial;">&exist;</span><span class="id" type="var">y</span>, <span class="id" type="var">P</span> 42 <span class="id" type="var">y</span>) <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;(<span style="font-family: arial;">&forall;</span><span class="id" type="var">x</span> <span class="id" type="var">y</span> : <span class="id" type="var">nat</span>, <span class="id" type="var">P</span> <span class="id" type="var">x</span> <span class="id" type="var">y</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">Q</span> <span class="id" type="var">x</span>) <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;<span class="id" type="var">Q</span> 42.<br/> <span class="id" type="keyword">Proof</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">intros</span> <span class="id" type="var">P</span> <span class="id" type="var">Q</span> <span class="id" type="var">HP</span> <span class="id" type="var">HQ</span>. <span class="id" type="tactic">destruct</span> <span class="id" type="var">HP</span> <span class="id" type="keyword">as</span> [<span class="id" type="var">y</span> <span class="id" type="var">HP'</span>]. <span class="id" type="tactic">eapply</span> <span class="id" type="var">HQ</span>. <span class="id" type="var">eassumption</span>.<br/> <span class="id" type="keyword">Qed</span>.<br/> <br/> <br/> </div> <div class="doc"> <a name="lab529"></a><h4 class="section">Exercise: 2 stars (hoare_asgn_examples_2)</h4> Translate these informal Hoare triples... <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;<span class="id" type="var">X</span>&nbsp;+&nbsp;1&nbsp;≤&nbsp;5&nbsp;<span style="letter-spacing:-.4em;">}</span>}&nbsp;&nbsp;<span class="id" type="var">X</span>&nbsp;::=&nbsp;<span class="id" type="var">X</span>&nbsp;+&nbsp;1&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;<span class="id" type="var">X</span>&nbsp;≤&nbsp;5&nbsp;<span style="letter-spacing:-.4em;">}</span>}<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;0&nbsp;≤&nbsp;3&nbsp;<span style="font-family: arial;">&and;</span>&nbsp;3&nbsp;≤&nbsp;5&nbsp;<span style="letter-spacing:-.4em;">}</span>}&nbsp;&nbsp;<span class="id" type="var">X</span>&nbsp;::=&nbsp;3&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;0&nbsp;≤&nbsp;<span class="id" type="var">X</span>&nbsp;<span style="font-family: arial;">&and;</span>&nbsp;<span class="id" type="var">X</span>&nbsp;≤&nbsp;5&nbsp;<span style="letter-spacing:-.4em;">}</span>} <div class="paragraph"> </div> </div> ...into formal statements and use <span class="inlinecode"><span class="id" type="var">hoare_asgn</span></span> and <span class="inlinecode"><span class="id" type="var">hoare_consequence_pre</span></span> to prove them. </div> <div class="code code-tight"> <br/> <span class="comment">(*&nbsp;FILL&nbsp;IN&nbsp;HERE&nbsp;*)</span><br/> </div> <div class="doc"> <font size=-2>&#9744;</font> </div> <div class="code code-tight"> <br/> </div> <div class="doc"> <a name="lab530"></a><h3 class="section">Skip</h3> <div class="paragraph"> </div> Since <span class="inlinecode"><span class="id" type="var">SKIP</span></span> doesn't change the state, it preserves any property P: <center><table class="infrule"> <tr class="infruleassumption"> <td class="infrule">&nbsp;&nbsp;</td> <td class="infrulenamecol" rowspan="3"> (hoare_skip) &nbsp; </td></tr> <tr class="infrulemiddle"> <td class="infrule"><hr /></td> </tr> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{&nbsp;P&nbsp;<span style="letter-spacing:-.4em;">}</span>}&nbsp;SKIP&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;P&nbsp;<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> </table></center> </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Theorem</span> <span class="id" type="var">hoare_skip</span> : <span style="font-family: arial;">&forall;</span><span class="id" type="var">P</span>,<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">P</span><span style="letter-spacing:-.4em;">}</span>} <span class="id" type="var">SKIP</span> <span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">P</span><span style="letter-spacing:-.4em;">}</span>}.<br/> <div class="togglescript" id="proofcontrol7" onclick="toggleDisplay('proof7');toggleDisplay('proofcontrol7')"><span class="show"></span></div> <div class="proofscript" id="proof7" onclick="toggleDisplay('proof7');toggleDisplay('proofcontrol7')"> <span class="id" type="keyword">Proof</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">intros</span> <span class="id" type="var">P</span> <span class="id" type="var">st</span> <span class="id" type="var">st'</span> <span class="id" type="var">H</span> <span class="id" type="var">HP</span>. <span class="id" type="tactic">inversion</span> <span class="id" type="var">H</span>. <span class="id" type="tactic">subst</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">assumption</span>. <span class="id" type="keyword">Qed</span>.<br/> </div> <br/> </div> <div class="doc"> <a name="lab531"></a><h3 class="section">Sequencing</h3> <div class="paragraph"> </div> More interestingly, if the command <span class="inlinecode"><span class="id" type="var">c1</span></span> takes any state where <span class="inlinecode"><span class="id" type="var">P</span></span> holds to a state where <span class="inlinecode"><span class="id" type="var">Q</span></span> holds, and if <span class="inlinecode"><span class="id" type="var">c2</span></span> takes any state where <span class="inlinecode"><span class="id" type="var">Q</span></span> holds to one where <span class="inlinecode"><span class="id" type="var">R</span></span> holds, then doing <span class="inlinecode"><span class="id" type="var">c1</span></span> followed by <span class="inlinecode"><span class="id" type="var">c2</span></span> will take any state where <span class="inlinecode"><span class="id" type="var">P</span></span> holds to one where <span class="inlinecode"><span class="id" type="var">R</span></span> holds: <center><table class="infrule"> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{&nbsp;P&nbsp;<span style="letter-spacing:-.4em;">}</span>}&nbsp;c1&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;Q&nbsp;<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{&nbsp;Q&nbsp;<span style="letter-spacing:-.4em;">}</span>}&nbsp;c2&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;R&nbsp;<span style="letter-spacing:-.4em;">}</span>}</td> <td class="infrulenamecol" rowspan="3"> (hoare_seq) &nbsp; </td></tr> <tr class="infrulemiddle"> <td class="infrule"><hr /></td> </tr> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{&nbsp;P&nbsp;<span style="letter-spacing:-.4em;">}</span>}&nbsp;c1;;c2&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;R&nbsp;<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> </table></center> </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Theorem</span> <span class="id" type="var">hoare_seq</span> : <span style="font-family: arial;">&forall;</span><span class="id" type="var">P</span> <span class="id" type="var">Q</span> <span class="id" type="var">R</span> <span class="id" type="var">c1</span> <span class="id" type="var">c2</span>,<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">Q</span><span style="letter-spacing:-.4em;">}</span>} <span class="id" type="var">c2</span> <span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">R</span><span style="letter-spacing:-.4em;">}</span>} <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">P</span><span style="letter-spacing:-.4em;">}</span>} <span class="id" type="var">c1</span> <span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">Q</span><span style="letter-spacing:-.4em;">}</span>} <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">P</span><span style="letter-spacing:-.4em;">}</span>} <span class="id" type="var">c1</span>;;<span class="id" type="var">c2</span> <span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">R</span><span style="letter-spacing:-.4em;">}</span>}.<br/> <div class="togglescript" id="proofcontrol8" onclick="toggleDisplay('proof8');toggleDisplay('proofcontrol8')"><span class="show"></span></div> <div class="proofscript" id="proof8" onclick="toggleDisplay('proof8');toggleDisplay('proofcontrol8')"> <span class="id" type="keyword">Proof</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">intros</span> <span class="id" type="var">P</span> <span class="id" type="var">Q</span> <span class="id" type="var">R</span> <span class="id" type="var">c1</span> <span class="id" type="var">c2</span> <span class="id" type="var">H1</span> <span class="id" type="var">H2</span> <span class="id" type="var">st</span> <span class="id" type="var">st'</span> <span class="id" type="var">H12</span> <span class="id" type="var">Pre</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">inversion</span> <span class="id" type="var">H12</span>; <span class="id" type="tactic">subst</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">apply</span> (<span class="id" type="var">H1</span> <span class="id" type="var">st'0</span> <span class="id" type="var">st'</span>); <span class="id" type="tactic">try</span> <span class="id" type="tactic">assumption</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">apply</span> (<span class="id" type="var">H2</span> <span class="id" type="var">st</span> <span class="id" type="var">st'0</span>); <span class="id" type="tactic">assumption</span>. <span class="id" type="keyword">Qed</span>.<br/> </div> <br/> </div> <div class="doc"> Note that, in the formal rule <span class="inlinecode"><span class="id" type="var">hoare_seq</span></span>, the premises are given in "backwards" order (<span class="inlinecode"><span class="id" type="var">c2</span></span> before <span class="inlinecode"><span class="id" type="var">c1</span></span>). This matches the natural flow of information in many of the situations where we'll use the rule: the natural way to construct a Hoare-logic proof is to begin at the end of the program (with the final postcondition) and push postconditions backwards through commands until we reach the beginning. <div class="paragraph"> </div> Informally, a nice way of recording a proof using the sequencing rule is as a "decorated program" where the intermediate assertion <span class="inlinecode"><span class="id" type="var">Q</span></span> is written between <span class="inlinecode"><span class="id" type="var">c1</span></span> and <span class="inlinecode"><span class="id" type="var">c2</span></span>: <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;<span class="id" type="var">a</span>&nbsp;=&nbsp;<span class="id" type="var">n</span>&nbsp;<span style="letter-spacing:-.4em;">}</span>}<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">X</span>&nbsp;::=&nbsp;<span class="id" type="var">a</span>;;<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;<span class="id" type="var">X</span>&nbsp;=&nbsp;<span class="id" type="var">n</span>&nbsp;<span style="letter-spacing:-.4em;">}</span>}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;----&nbsp;<span class="id" type="var">decoration</span>&nbsp;<span class="id" type="keyword">for</span>&nbsp;<span class="id" type="var">Q</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">SKIP</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;<span class="id" type="var">X</span>&nbsp;=&nbsp;<span class="id" type="var">n</span>&nbsp;<span style="letter-spacing:-.4em;">}</span>} <div class="paragraph"> </div> </div> </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Example</span> <span class="id" type="var">hoare_asgn_example3</span> : <span style="font-family: arial;">&forall;</span><span class="id" type="var">a</span> <span class="id" type="var">n</span>,<br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> ⇒ <span class="id" type="var">aeval</span> <span class="id" type="var">st</span> <span class="id" type="var">a</span> = <span class="id" type="var">n</span><span style="letter-spacing:-.4em;">}</span>} <br/> &nbsp;&nbsp;(<span class="id" type="var">X</span> ::= <span class="id" type="var">a</span>;; <span class="id" type="var">SKIP</span>) <br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> ⇒ <span class="id" type="var">st</span> <span class="id" type="var">X</span> = <span class="id" type="var">n</span><span style="letter-spacing:-.4em;">}</span>}.<br/> <div class="togglescript" id="proofcontrol9" onclick="toggleDisplay('proof9');toggleDisplay('proofcontrol9')"><span class="show"></span></div> <div class="proofscript" id="proof9" onclick="toggleDisplay('proof9');toggleDisplay('proofcontrol9')"> <span class="id" type="keyword">Proof</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">intros</span> <span class="id" type="var">a</span> <span class="id" type="var">n</span>. <span class="id" type="tactic">eapply</span> <span class="id" type="var">hoare_seq</span>.<br/> &nbsp;&nbsp;<span class="id" type="var">Case</span> "right part of seq".<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="tactic">apply</span> <span class="id" type="var">hoare_skip</span>.<br/> &nbsp;&nbsp;<span class="id" type="var">Case</span> "left part of seq".<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="tactic">eapply</span> <span class="id" type="var">hoare_consequence_pre</span>. <span class="id" type="tactic">apply</span> <span class="id" type="var">hoare_asgn</span>.<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="tactic">intros</span> <span class="id" type="var">st</span> <span class="id" type="var">H</span>. <span class="id" type="tactic">subst</span>. <span class="id" type="tactic">reflexivity</span>. <span class="id" type="keyword">Qed</span>.<br/> </div> <br/> </div> <div class="doc"> You will most often use <span class="inlinecode"><span class="id" type="var">hoare_seq</span></span> and <span class="inlinecode"><span class="id" type="var">hoare_consequence_pre</span></span> in conjunction with the <span class="inlinecode"><span class="id" type="tactic">eapply</span></span> tactic, as done above. <div class="paragraph"> </div> <a name="lab532"></a><h4 class="section">Exercise: 2 stars (hoare_asgn_example4)</h4> Translate this "decorated program" into a formal proof: <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;<span class="id" type="var">True</span>&nbsp;<span style="letter-spacing:-.4em;">}</span>}&nbsp;<span style="font-family: arial;">&#8702;</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;1&nbsp;=&nbsp;1&nbsp;<span style="letter-spacing:-.4em;">}</span>}<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">X</span>&nbsp;::=&nbsp;1;;<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;<span class="id" type="var">X</span>&nbsp;=&nbsp;1&nbsp;<span style="letter-spacing:-.4em;">}</span>}&nbsp;<span style="font-family: arial;">&#8702;</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;<span class="id" type="var">X</span>&nbsp;=&nbsp;1&nbsp;<span style="font-family: arial;">&and;</span>&nbsp;2&nbsp;=&nbsp;2&nbsp;<span style="letter-spacing:-.4em;">}</span>}<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">Y</span>&nbsp;::=&nbsp;2<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;<span class="id" type="var">X</span>&nbsp;=&nbsp;1&nbsp;<span style="font-family: arial;">&and;</span>&nbsp;<span class="id" type="var">Y</span>&nbsp;=&nbsp;2&nbsp;<span style="letter-spacing:-.4em;">}</span>} <div class="paragraph"> </div> </div> </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Example</span> <span class="id" type="var">hoare_asgn_example4</span> :<br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> ⇒ <span class="id" type="var">True</span><span style="letter-spacing:-.4em;">}</span>} (<span class="id" type="var">X</span> ::= (<span class="id" type="var">ANum</span> 1);; <span class="id" type="var">Y</span> ::= (<span class="id" type="var">ANum</span> 2)) <br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> ⇒ <span class="id" type="var">st</span> <span class="id" type="var">X</span> = 1 <span style="font-family: arial;">&and;</span> <span class="id" type="var">st</span> <span class="id" type="var">Y</span> = 2<span style="letter-spacing:-.4em;">}</span>}.<br/> <span class="id" type="keyword">Proof</span>.<br/> &nbsp;&nbsp;<span class="comment">(*&nbsp;FILL&nbsp;IN&nbsp;HERE&nbsp;*)</span> <span class="id" type="var">Admitted</span>.<br/> </div> <div class="doc"> <font size=-2>&#9744;</font> <div class="paragraph"> </div> <a name="lab533"></a><h4 class="section">Exercise: 3 stars (swap_exercise)</h4> Write an Imp program <span class="inlinecode"><span class="id" type="var">c</span></span> that swaps the values of <span class="inlinecode"><span class="id" type="var">X</span></span> and <span class="inlinecode"><span class="id" type="var">Y</span></span> and show (in Coq) that it satisfies the following specification: <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">X</span>&nbsp;≤&nbsp;<span class="id" type="var">Y</span><span style="letter-spacing:-.4em;">}</span>}&nbsp;<span class="id" type="var">c</span>&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">Y</span>&nbsp;≤&nbsp;<span class="id" type="var">X</span><span style="letter-spacing:-.4em;">}</span>} <div class="paragraph"> </div> </div> </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Definition</span> <span class="id" type="var">swap_program</span> : <span class="id" type="var">com</span> :=<br/> &nbsp;&nbsp;<span class="comment">(*&nbsp;FILL&nbsp;IN&nbsp;HERE&nbsp;*)</span> <span class="id" type="var">admit</span>.<br/> <br/> <span class="id" type="keyword">Theorem</span> <span class="id" type="var">swap_exercise</span> :<br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> ⇒ <span class="id" type="var">st</span> <span class="id" type="var">X</span> ≤ <span class="id" type="var">st</span> <span class="id" type="var">Y</span><span style="letter-spacing:-.4em;">}</span>} <br/> &nbsp;&nbsp;<span class="id" type="var">swap_program</span><br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> ⇒ <span class="id" type="var">st</span> <span class="id" type="var">Y</span> ≤ <span class="id" type="var">st</span> <span class="id" type="var">X</span><span style="letter-spacing:-.4em;">}</span>}.<br/> <span class="id" type="keyword">Proof</span>.<br/> &nbsp;&nbsp;<span class="comment">(*&nbsp;FILL&nbsp;IN&nbsp;HERE&nbsp;*)</span> <span class="id" type="var">Admitted</span>.<br/> </div> <div class="doc"> <font size=-2>&#9744;</font> <div class="paragraph"> </div> <a name="lab534"></a><h4 class="section">Exercise: 3 stars (hoarestate1)</h4> Explain why the following proposition can't be proven: <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="font-family: arial;">&forall;</span>(<span class="id" type="var">a</span>&nbsp;:&nbsp;<span class="id" type="var">aexp</span>)&nbsp;(<span class="id" type="var">n</span>&nbsp;:&nbsp;<span class="id" type="var">nat</span>),<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="keyword">fun</span>&nbsp;<span class="id" type="var">st</span>&nbsp;⇒&nbsp;<span class="id" type="var">aeval</span>&nbsp;<span class="id" type="var">st</span>&nbsp;<span class="id" type="var">a</span>&nbsp;=&nbsp;<span class="id" type="var">n</span><span style="letter-spacing:-.4em;">}</span>}<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(<span class="id" type="var">X</span>&nbsp;::=&nbsp;(<span class="id" type="var">ANum</span>&nbsp;3);;&nbsp;<span class="id" type="var">Y</span>&nbsp;::=&nbsp;<span class="id" type="var">a</span>)<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="keyword">fun</span>&nbsp;<span class="id" type="var">st</span>&nbsp;⇒&nbsp;<span class="id" type="var">st</span>&nbsp;<span class="id" type="var">Y</span>&nbsp;=&nbsp;<span class="id" type="var">n</span><span style="letter-spacing:-.4em;">}</span>}. <div class="paragraph"> </div> </div> </div> <div class="code code-tight"> <br/> <span class="comment">(*&nbsp;FILL&nbsp;IN&nbsp;HERE&nbsp;*)</span><br/> </div> <div class="doc"> <font size=-2>&#9744;</font> </div> <div class="code code-tight"> <br/> </div> <div class="doc"> <a name="lab535"></a><h3 class="section">Conditionals</h3> <div class="paragraph"> </div> What sort of rule do we want for reasoning about conditional commands? Certainly, if the same assertion <span class="inlinecode"><span class="id" type="var">Q</span></span> holds after executing either branch, then it holds after the whole conditional. So we might be tempted to write: <center><table class="infrule"> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{P<span style="letter-spacing:-.4em;">}</span>}&nbsp;c1&nbsp;<span style="letter-spacing:-.4em;">{</span>{Q<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{P<span style="letter-spacing:-.4em;">}</span>}&nbsp;c2&nbsp;<span style="letter-spacing:-.4em;">{</span>{Q<span style="letter-spacing:-.4em;">}</span>}</td> <td class="infrulenamecol" rowspan="3"> &nbsp; </td></tr> <tr class="infrulemiddle"> <td class="infrule"><hr /></td> </tr> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{P<span style="letter-spacing:-.4em;">}</span>}&nbsp;IFB&nbsp;b&nbsp;THEN&nbsp;c1&nbsp;ELSE&nbsp;c2&nbsp;<span style="letter-spacing:-.4em;">{</span>{Q<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> </table></center> However, this is rather weak. For example, using this rule, we cannot show that: <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;<span class="id" type="var">True</span>&nbsp;<span style="letter-spacing:-.4em;">}</span>}&nbsp;<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">IFB</span>&nbsp;<span class="id" type="var">X</span>&nbsp;==&nbsp;0<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">THEN</span>&nbsp;<span class="id" type="var">Y</span>&nbsp;::=&nbsp;2<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">ELSE</span>&nbsp;<span class="id" type="var">Y</span>&nbsp;::=&nbsp;<span class="id" type="var">X</span>&nbsp;+&nbsp;1&nbsp;<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">FI</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;<span class="id" type="var">X</span>&nbsp;≤&nbsp;<span class="id" type="var">Y</span>&nbsp;<span style="letter-spacing:-.4em;">}</span>} <div class="paragraph"> </div> </div> since the rule tells us nothing about the state in which the assignments take place in the "then" and "else" branches. <div class="paragraph"> </div> But we can actually say something more precise. In the "then" branch, we know that the boolean expression <span class="inlinecode"><span class="id" type="var">b</span></span> evaluates to <span class="inlinecode"><span class="id" type="var">true</span></span>, and in the "else" branch, we know it evaluates to <span class="inlinecode"><span class="id" type="var">false</span></span>. Making this information available in the premises of the rule gives us more information to work with when reasoning about the behavior of <span class="inlinecode"><span class="id" type="var">c1</span></span> and <span class="inlinecode"><span class="id" type="var">c2</span></span> (i.e., the reasons why they establish the postcondition <span class="inlinecode"><span class="id" type="var">Q</span></span>). <div class="paragraph"> </div> <center><table class="infrule"> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{P&nbsp;<span style="font-family: arial;">&and;</span>&nbsp;&nbsp;b<span style="letter-spacing:-.4em;">}</span>}&nbsp;c1&nbsp;<span style="letter-spacing:-.4em;">{</span>{Q<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{P&nbsp;<span style="font-family: arial;">&and;</span>&nbsp;~b<span style="letter-spacing:-.4em;">}</span>}&nbsp;c2&nbsp;<span style="letter-spacing:-.4em;">{</span>{Q<span style="letter-spacing:-.4em;">}</span>}</td> <td class="infrulenamecol" rowspan="3"> (hoare_if) &nbsp; </td></tr> <tr class="infrulemiddle"> <td class="infrule"><hr /></td> </tr> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{P<span style="letter-spacing:-.4em;">}</span>}&nbsp;IFB&nbsp;b&nbsp;THEN&nbsp;c1&nbsp;ELSE&nbsp;c2&nbsp;FI&nbsp;<span style="letter-spacing:-.4em;">{</span>{Q<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> </table></center> <div class="paragraph"> </div> To interpret this rule formally, we need to do a little work. Strictly speaking, the assertion we've written, <span class="inlinecode"><span class="id" type="var">P</span></span> <span class="inlinecode"><span style="font-family: arial;">&and;</span></span> <span class="inlinecode"><span class="id" type="var">b</span></span>, is the conjunction of an assertion and a boolean expression &mdash; i.e., it doesn't typecheck. To fix this, we need a way of formally "lifting" any bexp <span class="inlinecode"><span class="id" type="var">b</span></span> to an assertion. We'll write <span class="inlinecode"><span class="id" type="var">bassn</span></span> <span class="inlinecode"><span class="id" type="var">b</span></span> for the assertion "the boolean expression <span class="inlinecode"><span class="id" type="var">b</span></span> evaluates to <span class="inlinecode"><span class="id" type="var">true</span></span> (in the given state)." </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Definition</span> <span class="id" type="var">bassn</span> <span class="id" type="var">b</span> : <span class="id" type="var">Assertion</span> :=<br/> &nbsp;&nbsp;<span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> ⇒ (<span class="id" type="var">beval</span> <span class="id" type="var">st</span> <span class="id" type="var">b</span> = <span class="id" type="var">true</span>).<br/> <br/> </div> <div class="doc"> A couple of useful facts about <span class="inlinecode"><span class="id" type="var">bassn</span></span>: </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Lemma</span> <span class="id" type="var">bexp_eval_true</span> : <span style="font-family: arial;">&forall;</span><span class="id" type="var">b</span> <span class="id" type="var">st</span>,<br/> &nbsp;&nbsp;<span class="id" type="var">beval</span> <span class="id" type="var">st</span> <span class="id" type="var">b</span> = <span class="id" type="var">true</span> <span style="font-family: arial;">&rarr;</span> (<span class="id" type="var">bassn</span> <span class="id" type="var">b</span>) <span class="id" type="var">st</span>.<br/> <div class="togglescript" id="proofcontrol10" onclick="toggleDisplay('proof10');toggleDisplay('proofcontrol10')"><span class="show"></span></div> <div class="proofscript" id="proof10" onclick="toggleDisplay('proof10');toggleDisplay('proofcontrol10')"> <span class="id" type="keyword">Proof</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">intros</span> <span class="id" type="var">b</span> <span class="id" type="var">st</span> <span class="id" type="var">Hbe</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">unfold</span> <span class="id" type="var">bassn</span>. <span class="id" type="tactic">assumption</span>. <span class="id" type="keyword">Qed</span>.<br/> </div> <br/> <span class="id" type="keyword">Lemma</span> <span class="id" type="var">bexp_eval_false</span> : <span style="font-family: arial;">&forall;</span><span class="id" type="var">b</span> <span class="id" type="var">st</span>,<br/> &nbsp;&nbsp;<span class="id" type="var">beval</span> <span class="id" type="var">st</span> <span class="id" type="var">b</span> = <span class="id" type="var">false</span> <span style="font-family: arial;">&rarr;</span> ¬ ((<span class="id" type="var">bassn</span> <span class="id" type="var">b</span>) <span class="id" type="var">st</span>).<br/> <div class="togglescript" id="proofcontrol11" onclick="toggleDisplay('proof11');toggleDisplay('proofcontrol11')"><span class="show"></span></div> <div class="proofscript" id="proof11" onclick="toggleDisplay('proof11');toggleDisplay('proofcontrol11')"> <span class="id" type="keyword">Proof</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">intros</span> <span class="id" type="var">b</span> <span class="id" type="var">st</span> <span class="id" type="var">Hbe</span> <span class="id" type="var">contra</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">unfold</span> <span class="id" type="var">bassn</span> <span class="id" type="keyword">in</span> <span class="id" type="var">contra</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">rewrite</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">contra</span> <span class="id" type="keyword">in</span> <span class="id" type="var">Hbe</span>. <span class="id" type="tactic">inversion</span> <span class="id" type="var">Hbe</span>. <span class="id" type="keyword">Qed</span>.<br/> </div> <br/> </div> <div class="doc"> Now we can formalize the Hoare proof rule for conditionals and prove it correct. </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Theorem</span> <span class="id" type="var">hoare_if</span> : <span style="font-family: arial;">&forall;</span><span class="id" type="var">P</span> <span class="id" type="var">Q</span> <span class="id" type="var">b</span> <span class="id" type="var">c1</span> <span class="id" type="var">c2</span>,<br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> ⇒ <span class="id" type="var">P</span> <span class="id" type="var">st</span> <span style="font-family: arial;">&and;</span> <span class="id" type="var">bassn</span> <span class="id" type="var">b</span> <span class="id" type="var">st</span><span style="letter-spacing:-.4em;">}</span>} <span class="id" type="var">c1</span> <span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">Q</span><span style="letter-spacing:-.4em;">}</span>} <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> ⇒ <span class="id" type="var">P</span> <span class="id" type="var">st</span> <span style="font-family: arial;">&and;</span> ~(<span class="id" type="var">bassn</span> <span class="id" type="var">b</span> <span class="id" type="var">st</span>)<span style="letter-spacing:-.4em;">}</span>} <span class="id" type="var">c2</span> <span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">Q</span><span style="letter-spacing:-.4em;">}</span>} <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">P</span><span style="letter-spacing:-.4em;">}</span>} (<span class="id" type="var">IFB</span> <span class="id" type="var">b</span> <span class="id" type="var">THEN</span> <span class="id" type="var">c1</span> <span class="id" type="var">ELSE</span> <span class="id" type="var">c2</span> <span class="id" type="var">FI</span>) <span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">Q</span><span style="letter-spacing:-.4em;">}</span>}.<br/> <div class="togglescript" id="proofcontrol12" onclick="toggleDisplay('proof12');toggleDisplay('proofcontrol12')"><span class="show"></span></div> <div class="proofscript" id="proof12" onclick="toggleDisplay('proof12');toggleDisplay('proofcontrol12')"> <span class="id" type="keyword">Proof</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">intros</span> <span class="id" type="var">P</span> <span class="id" type="var">Q</span> <span class="id" type="var">b</span> <span class="id" type="var">c1</span> <span class="id" type="var">c2</span> <span class="id" type="var">HTrue</span> <span class="id" type="var">HFalse</span> <span class="id" type="var">st</span> <span class="id" type="var">st'</span> <span class="id" type="var">HE</span> <span class="id" type="var">HP</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">inversion</span> <span class="id" type="var">HE</span>; <span class="id" type="tactic">subst</span>.<br/> &nbsp;&nbsp;<span class="id" type="var">Case</span> "b is true".<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="tactic">apply</span> (<span class="id" type="var">HTrue</span> <span class="id" type="var">st</span> <span class="id" type="var">st'</span>).<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="tactic">assumption</span>.<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="tactic">split</span>. <span class="id" type="tactic">assumption</span>.<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="tactic">apply</span> <span class="id" type="var">bexp_eval_true</span>. <span class="id" type="tactic">assumption</span>.<br/> &nbsp;&nbsp;<span class="id" type="var">Case</span> "b is false".<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="tactic">apply</span> (<span class="id" type="var">HFalse</span> <span class="id" type="var">st</span> <span class="id" type="var">st'</span>).<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="tactic">assumption</span>.<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="tactic">split</span>. <span class="id" type="tactic">assumption</span>.<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="tactic">apply</span> <span class="id" type="var">bexp_eval_false</span>. <span class="id" type="tactic">assumption</span>. <span class="id" type="keyword">Qed</span>.<br/> </div> <br/> <br/> </div> <div class="doc"> <a name="lab536"></a><h1 class="section">Hoare Logic: So Far</h1> <div class="paragraph"> </div> <div class="paragraph"> </div> Idea: create a <i>domain specific logic</i> for reasoning about properties of Imp programs. <div class="paragraph"> </div> <ul class="doclist"> <li> This hides the low-level details of the semantics of the program </li> <li> Leads to a compositional reasoning process </li> </ul> <div class="paragraph"> </div> The basic structure is given by <i>Hoare triples</i> of the form: <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">P</span><span style="letter-spacing:-.4em;">}</span>}&nbsp;<span class="id" type="var">c</span>&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">Q</span><span style="letter-spacing:-.4em;">}</span>} <div class="paragraph"> </div> </div> <div class="paragraph"> </div> <ul class="doclist"> <li> <span class="inlinecode"><span class="id" type="var">P</span></span> and <span class="inlinecode"><span class="id" type="var">Q</span></span> are predicates about the state of the Imp program </li> <li> "If command <span class="inlinecode"><span class="id" type="var">c</span></span> is started in a state satisfying assertion <span class="inlinecode"><span class="id" type="var">P</span></span>, and if <span class="inlinecode"><span class="id" type="var">c</span></span> eventually terminates in some final state, then this final state will satisfy the assertion <span class="inlinecode"><span class="id" type="var">Q</span></span>." </li> </ul> <div class="paragraph"> </div> <a name="lab537"></a><h2 class="section">Hoare Logic Rules (so far)</h2> <div class="paragraph"> </div> <div class="paragraph"> </div> <center><table class="infrule"> <tr class="infruleassumption"> <td class="infrule">&nbsp;&nbsp;</td> <td class="infrulenamecol" rowspan="3"> (hoare_asgn) &nbsp; </td></tr> <tr class="infrulemiddle"> <td class="infrule"><hr /></td> </tr> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{Q&nbsp;[X&nbsp;<span style="font-family: arial;">&#8614;</span>&nbsp;a]<span style="letter-spacing:-.4em;">}</span>}&nbsp;X::=a&nbsp;<span style="letter-spacing:-.4em;">{</span>{Q<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> </table></center><center><table class="infrule"> <tr class="infruleassumption"> <td class="infrule">&nbsp;&nbsp;</td> <td class="infrulenamecol" rowspan="3"> (hoare_skip) &nbsp; </td></tr> <tr class="infrulemiddle"> <td class="infrule"><hr /></td> </tr> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{&nbsp;P&nbsp;<span style="letter-spacing:-.4em;">}</span>}&nbsp;SKIP&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;P&nbsp;<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> </table></center><center><table class="infrule"> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{&nbsp;P&nbsp;<span style="letter-spacing:-.4em;">}</span>}&nbsp;c1&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;Q&nbsp;<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{&nbsp;Q&nbsp;<span style="letter-spacing:-.4em;">}</span>}&nbsp;c2&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;R&nbsp;<span style="letter-spacing:-.4em;">}</span>}</td> <td class="infrulenamecol" rowspan="3"> (hoare_seq) &nbsp; </td></tr> <tr class="infrulemiddle"> <td class="infrule"><hr /></td> </tr> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{&nbsp;P&nbsp;<span style="letter-spacing:-.4em;">}</span>}&nbsp;c1;;c2&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;R&nbsp;<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> </table></center><center><table class="infrule"> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{P&nbsp;<span style="font-family: arial;">&and;</span>&nbsp;&nbsp;b<span style="letter-spacing:-.4em;">}</span>}&nbsp;c1&nbsp;<span style="letter-spacing:-.4em;">{</span>{Q<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{P&nbsp;<span style="font-family: arial;">&and;</span>&nbsp;~b<span style="letter-spacing:-.4em;">}</span>}&nbsp;c2&nbsp;<span style="letter-spacing:-.4em;">{</span>{Q<span style="letter-spacing:-.4em;">}</span>}</td> <td class="infrulenamecol" rowspan="3"> (hoare_if) &nbsp; </td></tr> <tr class="infrulemiddle"> <td class="infrule"><hr /></td> </tr> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{P<span style="letter-spacing:-.4em;">}</span>}&nbsp;IFB&nbsp;b&nbsp;THEN&nbsp;c1&nbsp;ELSE&nbsp;c2&nbsp;FI&nbsp;<span style="letter-spacing:-.4em;">{</span>{Q<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> </table></center><center><table class="infrule"> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{P'<span style="letter-spacing:-.4em;">}</span>}&nbsp;c&nbsp;<span style="letter-spacing:-.4em;">{</span>{Q'<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> <tr class="infruleassumption"> <td class="infrule">P&nbsp;<span style="font-family: arial;">&#8702;</span>&nbsp;P'</td> <td></td> </td> <tr class="infruleassumption"> <td class="infrule">Q'&nbsp;<span style="font-family: arial;">&#8702;</span>&nbsp;Q</td> <td class="infrulenamecol" rowspan="3"> (hoare_consequence) &nbsp; </td></tr> <tr class="infrulemiddle"> <td class="infrule"><hr /></td> </tr> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{P<span style="letter-spacing:-.4em;">}</span>}&nbsp;c&nbsp;<span style="letter-spacing:-.4em;">{</span>{Q<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> </table></center> <div class="paragraph"> </div> <a name="lab538"></a><h3 class="section">Example</h3> Here is a formal proof that the program we used to motivate the rule satisfies the specification we gave. </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Example</span> <span class="id" type="var">if_example</span> : <br/> &nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> ⇒ <span class="id" type="var">True</span><span style="letter-spacing:-.4em;">}</span>} <br/> &nbsp;&nbsp;<span class="id" type="var">IFB</span> (<span class="id" type="var">BEq</span> (<span class="id" type="var">AId</span> <span class="id" type="var">X</span>) (<span class="id" type="var">ANum</span> 0)) <br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">THEN</span> (<span class="id" type="var">Y</span> ::= (<span class="id" type="var">ANum</span> 2)) <br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">ELSE</span> (<span class="id" type="var">Y</span> ::= <span class="id" type="var">APlus</span> (<span class="id" type="var">AId</span> <span class="id" type="var">X</span>) (<span class="id" type="var">ANum</span> 1)) <br/> &nbsp;&nbsp;<span class="id" type="var">FI</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> ⇒ <span class="id" type="var">st</span> <span class="id" type="var">X</span> ≤ <span class="id" type="var">st</span> <span class="id" type="var">Y</span><span style="letter-spacing:-.4em;">}</span>}.<br/> <div class="togglescript" id="proofcontrol13" onclick="toggleDisplay('proof13');toggleDisplay('proofcontrol13')"><span class="show"></span></div> <div class="proofscript" id="proof13" onclick="toggleDisplay('proof13');toggleDisplay('proofcontrol13')"> <span class="id" type="keyword">Proof</span>.<br/> &nbsp;&nbsp;<span class="comment">(*&nbsp;WORKED&nbsp;IN&nbsp;CLASS&nbsp;*)</span><br/> &nbsp;&nbsp;<span class="id" type="tactic">apply</span> <span class="id" type="var">hoare_if</span>.<br/> &nbsp;&nbsp;<span class="id" type="var">Case</span> "Then".<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="tactic">eapply</span> <span class="id" type="var">hoare_consequence_pre</span>. <span class="id" type="tactic">apply</span> <span class="id" type="var">hoare_asgn</span>.<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="tactic">unfold</span> <span class="id" type="var">bassn</span>, <span class="id" type="var">assn_sub</span>, <span class="id" type="var">update</span>, <span class="id" type="var">assert_implies</span>.<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="tactic">simpl</span>. <span class="id" type="tactic">intros</span> <span class="id" type="var">st</span> [<span class="id" type="var">_</span> <span class="id" type="var">H</span>].<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="tactic">apply</span> <span class="id" type="var">beq_nat_true</span> <span class="id" type="keyword">in</span> <span class="id" type="var">H</span>.<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="tactic">rewrite</span> <span class="id" type="var">H</span>. <span class="id" type="tactic">omega</span>.<br/> &nbsp;&nbsp;<span class="id" type="var">Case</span> "Else".<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="tactic">eapply</span> <span class="id" type="var">hoare_consequence_pre</span>. <span class="id" type="tactic">apply</span> <span class="id" type="var">hoare_asgn</span>.<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="tactic">unfold</span> <span class="id" type="var">assn_sub</span>, <span class="id" type="var">update</span>, <span class="id" type="var">assert_implies</span>.<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="tactic">simpl</span>; <span class="id" type="tactic">intros</span> <span class="id" type="var">st</span> <span class="id" type="var">_</span>. <span class="id" type="tactic">omega</span>.<br/> <span class="id" type="keyword">Qed</span>.<br/> </div> <br/> </div> <div class="doc"> <a name="lab539"></a><h4 class="section">Exercise: 2 stars (if_minus_plus)</h4> Prove the following hoare triple using <span class="inlinecode"><span class="id" type="var">hoare_if</span></span>: </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Theorem</span> <span class="id" type="var">if_minus_plus</span> :<br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> ⇒ <span class="id" type="var">True</span><span style="letter-spacing:-.4em;">}</span>}<br/> &nbsp;&nbsp;<span class="id" type="var">IFB</span> (<span class="id" type="var">BLe</span> (<span class="id" type="var">AId</span> <span class="id" type="var">X</span>) (<span class="id" type="var">AId</span> <span class="id" type="var">Y</span>))<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">THEN</span> (<span class="id" type="var">Z</span> ::= <span class="id" type="var">AMinus</span> (<span class="id" type="var">AId</span> <span class="id" type="var">Y</span>) (<span class="id" type="var">AId</span> <span class="id" type="var">X</span>))<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">ELSE</span> (<span class="id" type="var">Y</span> ::= <span class="id" type="var">APlus</span> (<span class="id" type="var">AId</span> <span class="id" type="var">X</span>) (<span class="id" type="var">AId</span> <span class="id" type="var">Z</span>))<br/> &nbsp;&nbsp;<span class="id" type="var">FI</span><br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> ⇒ <span class="id" type="var">st</span> <span class="id" type="var">Y</span> = <span class="id" type="var">st</span> <span class="id" type="var">X</span> + <span class="id" type="var">st</span> <span class="id" type="var">Z</span><span style="letter-spacing:-.4em;">}</span>}.<br/> <span class="id" type="keyword">Proof</span>.<br/> &nbsp;&nbsp;<span class="comment">(*&nbsp;FILL&nbsp;IN&nbsp;HERE&nbsp;*)</span> <span class="id" type="var">Admitted</span>.<br/> <br/> </div> <div class="doc"> <a name="lab540"></a><h3 class="section">Exercise: One-sided conditionals</h3> <div class="paragraph"> </div> <a name="lab541"></a><h4 class="section">Exercise: 4 stars (if1_hoare)</h4> <div class="paragraph"> </div> In this exercise we consider extending Imp with "one-sided conditionals" of the form <span class="inlinecode"><span class="id" type="var">IF1</span></span> <span class="inlinecode"><span class="id" type="var">b</span></span> <span class="inlinecode"><span class="id" type="var">THEN</span></span> <span class="inlinecode"><span class="id" type="var">c</span></span> <span class="inlinecode"><span class="id" type="var">FI</span></span>. Here <span class="inlinecode"><span class="id" type="var">b</span></span> is a boolean expression, and <span class="inlinecode"><span class="id" type="var">c</span></span> is a command. If <span class="inlinecode"><span class="id" type="var">b</span></span> evaluates to <span class="inlinecode"><span class="id" type="var">true</span></span>, then command <span class="inlinecode"><span class="id" type="var">c</span></span> is evaluated. If <span class="inlinecode"><span class="id" type="var">b</span></span> evaluates to <span class="inlinecode"><span class="id" type="var">false</span></span>, then <span class="inlinecode"><span class="id" type="var">IF1</span></span> <span class="inlinecode"><span class="id" type="var">b</span></span> <span class="inlinecode"><span class="id" type="var">THEN</span></span> <span class="inlinecode"><span class="id" type="var">c</span></span> <span class="inlinecode"><span class="id" type="var">FI</span></span> does nothing. <div class="paragraph"> </div> We recommend that you do this exercise before the ones that follow, as it should help solidify your understanding of the material. <div class="paragraph"> </div> The first step is to extend the syntax of commands and introduce the usual notations. (We've done this for you. We use a separate module to prevent polluting the global name space.) </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Module</span> <span class="id" type="var">If1</span>.<br/> <br/> <span class="id" type="keyword">Inductive</span> <span class="id" type="var">com</span> : <span class="id" type="keyword">Type</span> :=<br/> &nbsp;&nbsp;| <span class="id" type="var">CSkip</span> : <span class="id" type="var">com</span><br/> &nbsp;&nbsp;| <span class="id" type="var">CAss</span> : <span class="id" type="var">id</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">aexp</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">com</span><br/> &nbsp;&nbsp;| <span class="id" type="var">CSeq</span> : <span class="id" type="var">com</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">com</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">com</span><br/> &nbsp;&nbsp;| <span class="id" type="var">CIf</span> : <span class="id" type="var">bexp</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">com</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">com</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">com</span><br/> &nbsp;&nbsp;| <span class="id" type="var">CWhile</span> : <span class="id" type="var">bexp</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">com</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">com</span><br/> &nbsp;&nbsp;| <span class="id" type="var">CIf1</span> : <span class="id" type="var">bexp</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">com</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">com</span>.<br/> <br/> <span class="id" type="keyword">Tactic Notation</span> "com_cases" <span class="id" type="var">tactic</span>(<span class="id" type="var">first</span>) <span class="id" type="var">ident</span>(<span class="id" type="var">c</span>) :=<br/> &nbsp;&nbsp;<span class="id" type="var">first</span>;<br/> &nbsp;&nbsp;[ <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "SKIP" | <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "::=" | <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> ";"<br/> &nbsp;&nbsp;| <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "IFB" | <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "WHILE" | <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "CIF1" ].<br/> <br/> <span class="id" type="keyword">Notation</span> "'SKIP'" := <br/> &nbsp;&nbsp;<span class="id" type="var">CSkip</span>.<br/> <span class="id" type="keyword">Notation</span> "c1 ;; c2" := <br/> &nbsp;&nbsp;(<span class="id" type="var">CSeq</span> <span class="id" type="var">c1</span> <span class="id" type="var">c2</span>) (<span class="id" type="tactic">at</span> <span class="id" type="var">level</span> 80, <span class="id" type="var">right</span> <span class="id" type="var">associativity</span>).<br/> <span class="id" type="keyword">Notation</span> "X '::=' a" := <br/> &nbsp;&nbsp;(<span class="id" type="var">CAss</span> <span class="id" type="var">X</span> <span class="id" type="var">a</span>) (<span class="id" type="tactic">at</span> <span class="id" type="var">level</span> 60).<br/> <span class="id" type="keyword">Notation</span> "'WHILE' b 'DO' c 'END'" := <br/> &nbsp;&nbsp;(<span class="id" type="var">CWhile</span> <span class="id" type="var">b</span> <span class="id" type="var">c</span>) (<span class="id" type="tactic">at</span> <span class="id" type="var">level</span> 80, <span class="id" type="var">right</span> <span class="id" type="var">associativity</span>).<br/> <span class="id" type="keyword">Notation</span> "'IFB' e1 'THEN' e2 'ELSE' e3 'FI'" := <br/> &nbsp;&nbsp;(<span class="id" type="var">CIf</span> <span class="id" type="var">e1</span> <span class="id" type="var">e2</span> <span class="id" type="var">e3</span>) (<span class="id" type="tactic">at</span> <span class="id" type="var">level</span> 80, <span class="id" type="var">right</span> <span class="id" type="var">associativity</span>).<br/> <span class="id" type="keyword">Notation</span> "'IF1' b 'THEN' c 'FI'" := <br/> &nbsp;&nbsp;(<span class="id" type="var">CIf1</span> <span class="id" type="var">b</span> <span class="id" type="var">c</span>) (<span class="id" type="tactic">at</span> <span class="id" type="var">level</span> 80, <span class="id" type="var">right</span> <span class="id" type="var">associativity</span>).<br/> <br/> </div> <div class="doc"> Next we need to extend the evaluation relation to accommodate <span class="inlinecode"><span class="id" type="var">IF1</span></span> branches. This is for you to do... What rule(s) need to be added to <span class="inlinecode"><span class="id" type="var">ceval</span></span> to evaluate one-sided conditionals? </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Reserved Notation</span> "c1 '/' st '<span style="font-family: arial;">&dArr;</span>' st'" (<span class="id" type="tactic">at</span> <span class="id" type="var">level</span> 40, <span class="id" type="var">st</span> <span class="id" type="tactic">at</span> <span class="id" type="var">level</span> 39).<br/> <br/> <span class="id" type="keyword">Inductive</span> <span class="id" type="var">ceval</span> : <span class="id" type="var">com</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">state</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">state</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="keyword">Prop</span> :=<br/> &nbsp;&nbsp;| <span class="id" type="var">E_Skip</span> : <span style="font-family: arial;">&forall;</span><span class="id" type="var">st</span> : <span class="id" type="var">state</span>, <span class="id" type="var">SKIP</span> / <span class="id" type="var">st</span> <span style="font-family: arial;">&dArr;</span> <span class="id" type="var">st</span><br/> &nbsp;&nbsp;| <span class="id" type="var">E_Ass</span> : <span style="font-family: arial;">&forall;</span>(<span class="id" type="var">st</span> : <span class="id" type="var">state</span>) (<span class="id" type="var">a1</span> : <span class="id" type="var">aexp</span>) (<span class="id" type="var">n</span> : <span class="id" type="var">nat</span>) (<span class="id" type="var">X</span> : <span class="id" type="var">id</span>),<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">aeval</span> <span class="id" type="var">st</span> <span class="id" type="var">a1</span> = <span class="id" type="var">n</span> <span style="font-family: arial;">&rarr;</span> (<span class="id" type="var">X</span> ::= <span class="id" type="var">a1</span>) / <span class="id" type="var">st</span> <span style="font-family: arial;">&dArr;</span> <span class="id" type="var">update</span> <span class="id" type="var">st</span> <span class="id" type="var">X</span> <span class="id" type="var">n</span><br/> &nbsp;&nbsp;| <span class="id" type="var">E_Seq</span> : <span style="font-family: arial;">&forall;</span>(<span class="id" type="var">c1</span> <span class="id" type="var">c2</span> : <span class="id" type="var">com</span>) (<span class="id" type="var">st</span> <span class="id" type="var">st'</span> <span class="id" type="var">st''</span> : <span class="id" type="var">state</span>),<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">c1</span> / <span class="id" type="var">st</span> <span style="font-family: arial;">&dArr;</span> <span class="id" type="var">st'</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">c2</span> / <span class="id" type="var">st'</span> <span style="font-family: arial;">&dArr;</span> <span class="id" type="var">st''</span> <span style="font-family: arial;">&rarr;</span> (<span class="id" type="var">c1</span> ;; <span class="id" type="var">c2</span>) / <span class="id" type="var">st</span> <span style="font-family: arial;">&dArr;</span> <span class="id" type="var">st''</span><br/> &nbsp;&nbsp;| <span class="id" type="var">E_IfTrue</span> : <span style="font-family: arial;">&forall;</span>(<span class="id" type="var">st</span> <span class="id" type="var">st'</span> : <span class="id" type="var">state</span>) (<span class="id" type="var">b1</span> : <span class="id" type="var">bexp</span>) (<span class="id" type="var">c1</span> <span class="id" type="var">c2</span> : <span class="id" type="var">com</span>),<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">beval</span> <span class="id" type="var">st</span> <span class="id" type="var">b1</span> = <span class="id" type="var">true</span> <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">c1</span> / <span class="id" type="var">st</span> <span style="font-family: arial;">&dArr;</span> <span class="id" type="var">st'</span> <span style="font-family: arial;">&rarr;</span> (<span class="id" type="var">IFB</span> <span class="id" type="var">b1</span> <span class="id" type="var">THEN</span> <span class="id" type="var">c1</span> <span class="id" type="var">ELSE</span> <span class="id" type="var">c2</span> <span class="id" type="var">FI</span>) / <span class="id" type="var">st</span> <span style="font-family: arial;">&dArr;</span> <span class="id" type="var">st'</span><br/> &nbsp;&nbsp;| <span class="id" type="var">E_IfFalse</span> : <span style="font-family: arial;">&forall;</span>(<span class="id" type="var">st</span> <span class="id" type="var">st'</span> : <span class="id" type="var">state</span>) (<span class="id" type="var">b1</span> : <span class="id" type="var">bexp</span>) (<span class="id" type="var">c1</span> <span class="id" type="var">c2</span> : <span class="id" type="var">com</span>),<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">beval</span> <span class="id" type="var">st</span> <span class="id" type="var">b1</span> = <span class="id" type="var">false</span> <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">c2</span> / <span class="id" type="var">st</span> <span style="font-family: arial;">&dArr;</span> <span class="id" type="var">st'</span> <span style="font-family: arial;">&rarr;</span> (<span class="id" type="var">IFB</span> <span class="id" type="var">b1</span> <span class="id" type="var">THEN</span> <span class="id" type="var">c1</span> <span class="id" type="var">ELSE</span> <span class="id" type="var">c2</span> <span class="id" type="var">FI</span>) / <span class="id" type="var">st</span> <span style="font-family: arial;">&dArr;</span> <span class="id" type="var">st'</span><br/> &nbsp;&nbsp;| <span class="id" type="var">E_WhileEnd</span> : <span style="font-family: arial;">&forall;</span>(<span class="id" type="var">b1</span> : <span class="id" type="var">bexp</span>) (<span class="id" type="var">st</span> : <span class="id" type="var">state</span>) (<span class="id" type="var">c1</span> : <span class="id" type="var">com</span>),<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">beval</span> <span class="id" type="var">st</span> <span class="id" type="var">b1</span> = <span class="id" type="var">false</span> <span style="font-family: arial;">&rarr;</span> (<span class="id" type="var">WHILE</span> <span class="id" type="var">b1</span> <span class="id" type="var">DO</span> <span class="id" type="var">c1</span> <span class="id" type="var">END</span>) / <span class="id" type="var">st</span> <span style="font-family: arial;">&dArr;</span> <span class="id" type="var">st</span><br/> &nbsp;&nbsp;| <span class="id" type="var">E_WhileLoop</span> : <span style="font-family: arial;">&forall;</span>(<span class="id" type="var">st</span> <span class="id" type="var">st'</span> <span class="id" type="var">st''</span> : <span class="id" type="var">state</span>) (<span class="id" type="var">b1</span> : <span class="id" type="var">bexp</span>) (<span class="id" type="var">c1</span> : <span class="id" type="var">com</span>),<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">beval</span> <span class="id" type="var">st</span> <span class="id" type="var">b1</span> = <span class="id" type="var">true</span> <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">c1</span> / <span class="id" type="var">st</span> <span style="font-family: arial;">&dArr;</span> <span class="id" type="var">st'</span> <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(<span class="id" type="var">WHILE</span> <span class="id" type="var">b1</span> <span class="id" type="var">DO</span> <span class="id" type="var">c1</span> <span class="id" type="var">END</span>) / <span class="id" type="var">st'</span> <span style="font-family: arial;">&dArr;</span> <span class="id" type="var">st''</span> <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(<span class="id" type="var">WHILE</span> <span class="id" type="var">b1</span> <span class="id" type="var">DO</span> <span class="id" type="var">c1</span> <span class="id" type="var">END</span>) / <span class="id" type="var">st</span> <span style="font-family: arial;">&dArr;</span> <span class="id" type="var">st''</span><br/> <span class="comment">(*&nbsp;FILL&nbsp;IN&nbsp;HERE&nbsp;*)</span><br/> <br/> &nbsp;&nbsp;<span class="id" type="keyword">where</span> "c1 '/' st '<span style="font-family: arial;">&dArr;</span>' st'" := (<span class="id" type="var">ceval</span> <span class="id" type="var">c1</span> <span class="id" type="var">st</span> <span class="id" type="var">st'</span>).<br/> <br/> <span class="id" type="keyword">Tactic Notation</span> "ceval_cases" <span class="id" type="var">tactic</span>(<span class="id" type="var">first</span>) <span class="id" type="var">ident</span>(<span class="id" type="var">c</span>) :=<br/> &nbsp;&nbsp;<span class="id" type="var">first</span>;<br/> &nbsp;&nbsp;[ <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "E_Skip" | <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "E_Ass" | <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "E_Seq"<br/> &nbsp;&nbsp;| <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "E_IfTrue" | <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "E_IfFalse"<br/> &nbsp;&nbsp;| <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "E_WhileEnd" | <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "E_WhileLoop"<br/> &nbsp;&nbsp;<span class="comment">(*&nbsp;FILL&nbsp;IN&nbsp;HERE&nbsp;*)</span><br/> &nbsp;&nbsp;].<br/> <br/> </div> <div class="doc"> Now we repeat (verbatim) the definition and notation of Hoare triples. </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Definition</span> <span class="id" type="var">hoare_triple</span> (<span class="id" type="var">P</span>:<span class="id" type="var">Assertion</span>) (<span class="id" type="var">c</span>:<span class="id" type="var">com</span>) (<span class="id" type="var">Q</span>:<span class="id" type="var">Assertion</span>) : <span class="id" type="keyword">Prop</span> :=<br/> &nbsp;&nbsp;<span style="font-family: arial;">&forall;</span><span class="id" type="var">st</span> <span class="id" type="var">st'</span>, <br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">c</span> / <span class="id" type="var">st</span> <span style="font-family: arial;">&dArr;</span> <span class="id" type="var">st'</span> <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">P</span> <span class="id" type="var">st</span> <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">Q</span> <span class="id" type="var">st'</span>.<br/> <br/> <span class="id" type="keyword">Notation</span> "<span style="letter-spacing:-.4em;">{</span>{ P <span style="letter-spacing:-.4em;">}</span>} c <span style="letter-spacing:-.4em;">{</span>{ Q <span style="letter-spacing:-.4em;">}</span>}" := (<span class="id" type="var">hoare_triple</span> <span class="id" type="var">P</span> <span class="id" type="var">c</span> <span class="id" type="var">Q</span>) <br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(<span class="id" type="tactic">at</span> <span class="id" type="var">level</span> 90, <span class="id" type="var">c</span> <span class="id" type="tactic">at</span> <span class="id" type="var">next</span> <span class="id" type="var">level</span>) <br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: <span class="id" type="var">hoare_spec_scope</span>.<br/> <br/> </div> <div class="doc"> Finally, we (i.e., you) need to state and prove a theorem, <span class="inlinecode"><span class="id" type="var">hoare_if1</span></span>, that expresses an appropriate Hoare logic proof rule for one-sided conditionals. Try to come up with a rule that is both sound and as precise as possible. </div> <div class="code code-tight"> <br/> <span class="comment">(*&nbsp;FILL&nbsp;IN&nbsp;HERE&nbsp;*)</span><br/> <br/> </div> <div class="doc"> For full credit, prove formally that your rule is precise enough to show the following valid Hoare triple: <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;<span class="id" type="var">X</span>&nbsp;+&nbsp;<span class="id" type="var">Y</span>&nbsp;=&nbsp;<span class="id" type="var">Z</span>&nbsp;<span style="letter-spacing:-.4em;">}</span>}<br/> &nbsp;&nbsp;<span class="id" type="var">IF1</span>&nbsp;<span class="id" type="var">Y</span>&nbsp;≠&nbsp;0&nbsp;<span class="id" type="var">THEN</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">X</span>&nbsp;::=&nbsp;<span class="id" type="var">X</span>&nbsp;+&nbsp;<span class="id" type="var">Y</span><br/> &nbsp;&nbsp;<span class="id" type="var">FI</span><br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;<span class="id" type="var">X</span>&nbsp;=&nbsp;<span class="id" type="var">Z</span>&nbsp;<span style="letter-spacing:-.4em;">}</span>} <div class="paragraph"> </div> </div> <div class="paragraph"> </div> Hint: Your proof of this triple may need to use the other proof rules also. Because we're working in a separate module, you'll need to copy here the rules you find necessary. </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Lemma</span> <span class="id" type="var">hoare_if1_good</span> :<br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{ <span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> ⇒ <span class="id" type="var">st</span> <span class="id" type="var">X</span> + <span class="id" type="var">st</span> <span class="id" type="var">Y</span> = <span class="id" type="var">st</span> <span class="id" type="var">Z</span> <span style="letter-spacing:-.4em;">}</span>}<br/> &nbsp;&nbsp;<span class="id" type="var">IF1</span> <span class="id" type="var">BNot</span> (<span class="id" type="var">BEq</span> (<span class="id" type="var">AId</span> <span class="id" type="var">Y</span>) (<span class="id" type="var">ANum</span> 0)) <span class="id" type="var">THEN</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">X</span> ::= <span class="id" type="var">APlus</span> (<span class="id" type="var">AId</span> <span class="id" type="var">X</span>) (<span class="id" type="var">AId</span> <span class="id" type="var">Y</span>)<br/> &nbsp;&nbsp;<span class="id" type="var">FI</span><br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{ <span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> ⇒ <span class="id" type="var">st</span> <span class="id" type="var">X</span> = <span class="id" type="var">st</span> <span class="id" type="var">Z</span> <span style="letter-spacing:-.4em;">}</span>}.<br/> <span class="id" type="keyword">Proof</span>. <span class="comment">(*&nbsp;FILL&nbsp;IN&nbsp;HERE&nbsp;*)</span> <span class="id" type="var">Admitted</span>.<br/> <br/> <span class="id" type="keyword">End</span> <span class="id" type="var">If1</span>.<br/> </div> <div class="doc"> <font size=-2>&#9744;</font> </div> <div class="code code-tight"> <br/> </div> <div class="doc"> <a name="lab542"></a><h3 class="section">Loops</h3> <div class="paragraph"> </div> Finally, we need a rule for reasoning about while loops. <div class="paragraph"> </div> Suppose we have a loop <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">WHILE</span>&nbsp;<span class="id" type="var">b</span>&nbsp;<span class="id" type="var">DO</span>&nbsp;<span class="id" type="var">c</span>&nbsp;<span class="id" type="var">END</span> <div class="paragraph"> </div> </div> and we want to find a pre-condition <span class="inlinecode"><span class="id" type="var">P</span></span> and a post-condition <span class="inlinecode"><span class="id" type="var">Q</span></span> such that <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">P</span><span style="letter-spacing:-.4em;">}</span>}&nbsp;<span class="id" type="var">WHILE</span>&nbsp;<span class="id" type="var">b</span>&nbsp;<span class="id" type="var">DO</span>&nbsp;<span class="id" type="var">c</span>&nbsp;<span class="id" type="var">END</span>&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">Q</span><span style="letter-spacing:-.4em;">}</span>}&nbsp; <div class="paragraph"> </div> </div> is a valid triple. <div class="paragraph"> </div> <a name="lab543"></a><h3 class="section"> </h3> <div class="paragraph"> </div> First of all, let's think about the case where <span class="inlinecode"><span class="id" type="var">b</span></span> is false at the beginning &mdash; i.e., let's assume that the loop body never executes at all. In this case, the loop behaves like <span class="inlinecode"><span class="id" type="var">SKIP</span></span>, so we might be tempted to write: <div class="paragraph"> </div> <div class="paragraph"> </div> <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">P</span><span style="letter-spacing:-.4em;">}</span>}&nbsp;<span class="id" type="var">WHILE</span>&nbsp;<span class="id" type="var">b</span>&nbsp;<span class="id" type="var">DO</span>&nbsp;<span class="id" type="var">c</span>&nbsp;<span class="id" type="var">END</span>&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">P</span><span style="letter-spacing:-.4em;">}</span>}. <div class="paragraph"> </div> </div> <div class="paragraph"> </div> <div class="paragraph"> </div> But, as we remarked above for the conditional, we know a little more at the end &mdash; not just <span class="inlinecode"><span class="id" type="var">P</span></span>, but also the fact that <span class="inlinecode"><span class="id" type="var">b</span></span> is false in the current state. So we can enrich the postcondition a little: <div class="paragraph"> </div> <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">P</span><span style="letter-spacing:-.4em;">}</span>}&nbsp;<span class="id" type="var">WHILE</span>&nbsp;<span class="id" type="var">b</span>&nbsp;<span class="id" type="var">DO</span>&nbsp;<span class="id" type="var">c</span>&nbsp;<span class="id" type="var">END</span>&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">P</span>&nbsp;<span style="font-family: arial;">&and;</span>&nbsp;¬<span class="id" type="var">b</span><span style="letter-spacing:-.4em;">}</span>} <div class="paragraph"> </div> </div> <div class="paragraph"> </div> <div class="paragraph"> </div> What about the case where the loop body <i>does</i> get executed? In order to ensure that <span class="inlinecode"><span class="id" type="var">P</span></span> holds when the loop finally exits, we certainly need to make sure that the command <span class="inlinecode"><span class="id" type="var">c</span></span> guarantees that <span class="inlinecode"><span class="id" type="var">P</span></span> holds whenever <span class="inlinecode"><span class="id" type="var">c</span></span> is finished. Moreover, since <span class="inlinecode"><span class="id" type="var">P</span></span> holds at the beginning of the first execution of <span class="inlinecode"><span class="id" type="var">c</span></span>, and since each execution of <span class="inlinecode"><span class="id" type="var">c</span></span> re-establishes <span class="inlinecode"><span class="id" type="var">P</span></span> when it finishes, we can always assume that <span class="inlinecode"><span class="id" type="var">P</span></span> holds at the beginning of <span class="inlinecode"><span class="id" type="var">c</span></span>. This leads us to the following rule: <div class="paragraph"> </div> <center><table class="infrule"> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{P<span style="letter-spacing:-.4em;">}</span>}&nbsp;c&nbsp;<span style="letter-spacing:-.4em;">{</span>{P<span style="letter-spacing:-.4em;">}</span>}</td> <td class="infrulenamecol" rowspan="3"> &nbsp; </td></tr> <tr class="infrulemiddle"> <td class="infrule"><hr /></td> </tr> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{P<span style="letter-spacing:-.4em;">}</span>}&nbsp;WHILE&nbsp;b&nbsp;DO&nbsp;c&nbsp;END&nbsp;<span style="letter-spacing:-.4em;">{</span>{P&nbsp;<span style="font-family: arial;">&and;</span>&nbsp;~b<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> </table></center> <div class="paragraph"> </div> This is almost the rule we want, but again it can be improved a little: at the beginning of the loop body, we know not only that <span class="inlinecode"><span class="id" type="var">P</span></span> holds, but also that the guard <span class="inlinecode"><span class="id" type="var">b</span></span> is true in the current state. This gives us a little more information to use in reasoning about <span class="inlinecode"><span class="id" type="var">c</span></span> (showing that it establishes the invariant by the time it finishes). This gives us the final version of the rule: <div class="paragraph"> </div> <center><table class="infrule"> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{P&nbsp;<span style="font-family: arial;">&and;</span>&nbsp;b<span style="letter-spacing:-.4em;">}</span>}&nbsp;c&nbsp;<span style="letter-spacing:-.4em;">{</span>{P<span style="letter-spacing:-.4em;">}</span>}</td> <td class="infrulenamecol" rowspan="3"> (hoare_while) &nbsp; </td></tr> <tr class="infrulemiddle"> <td class="infrule"><hr /></td> </tr> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{P<span style="letter-spacing:-.4em;">}</span>}&nbsp;WHILE&nbsp;b&nbsp;DO&nbsp;c&nbsp;END&nbsp;<span style="letter-spacing:-.4em;">{</span>{P&nbsp;<span style="font-family: arial;">&and;</span>&nbsp;~b<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> </table></center> The proposition <span class="inlinecode"><span class="id" type="var">P</span></span> is called an <i>invariant</i> of the loop. </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Lemma</span> <span class="id" type="var">hoare_while</span> : <span style="font-family: arial;">&forall;</span><span class="id" type="var">P</span> <span class="id" type="var">b</span> <span class="id" type="var">c</span>,<br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> ⇒ <span class="id" type="var">P</span> <span class="id" type="var">st</span> <span style="font-family: arial;">&and;</span> <span class="id" type="var">bassn</span> <span class="id" type="var">b</span> <span class="id" type="var">st</span><span style="letter-spacing:-.4em;">}</span>} <span class="id" type="var">c</span> <span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">P</span><span style="letter-spacing:-.4em;">}</span>} <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">P</span><span style="letter-spacing:-.4em;">}</span>} <span class="id" type="var">WHILE</span> <span class="id" type="var">b</span> <span class="id" type="var">DO</span> <span class="id" type="var">c</span> <span class="id" type="var">END</span> <span style="letter-spacing:-.4em;">{</span>{<span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> ⇒ <span class="id" type="var">P</span> <span class="id" type="var">st</span> <span style="font-family: arial;">&and;</span> ¬ (<span class="id" type="var">bassn</span> <span class="id" type="var">b</span> <span class="id" type="var">st</span>)<span style="letter-spacing:-.4em;">}</span>}.<br/> <div class="togglescript" id="proofcontrol14" onclick="toggleDisplay('proof14');toggleDisplay('proofcontrol14')"><span class="show"></span></div> <div class="proofscript" id="proof14" onclick="toggleDisplay('proof14');toggleDisplay('proofcontrol14')"> <span class="id" type="keyword">Proof</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">intros</span> <span class="id" type="var">P</span> <span class="id" type="var">b</span> <span class="id" type="var">c</span> <span class="id" type="var">Hhoare</span> <span class="id" type="var">st</span> <span class="id" type="var">st'</span> <span class="id" type="var">He</span> <span class="id" type="var">HP</span>.<br/> &nbsp;&nbsp;<span class="comment">(*&nbsp;Like&nbsp;we've&nbsp;seen&nbsp;before,&nbsp;we&nbsp;need&nbsp;to&nbsp;reason&nbsp;by&nbsp;induction&nbsp;<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;on&nbsp;<span class="inlinecode"><span class="id" type="var">He</span></span>,&nbsp;because,&nbsp;in&nbsp;the&nbsp;"keep&nbsp;looping"&nbsp;case,&nbsp;its&nbsp;hypotheses&nbsp;<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;talk&nbsp;about&nbsp;the&nbsp;whole&nbsp;loop&nbsp;instead&nbsp;of&nbsp;just&nbsp;<span class="inlinecode"><span class="id" type="var">c</span></span>.&nbsp;*)</span><br/> &nbsp;&nbsp;<span class="id" type="var">remember</span> (<span class="id" type="var">WHILE</span> <span class="id" type="var">b</span> <span class="id" type="var">DO</span> <span class="id" type="var">c</span> <span class="id" type="var">END</span>) <span class="id" type="keyword">as</span> <span class="id" type="var">wcom</span> <span class="id" type="var">eqn</span>:<span class="id" type="var">Heqwcom</span>.<br/> &nbsp;&nbsp;<span class="id" type="var">ceval_cases</span> (<span class="id" type="tactic">induction</span> <span class="id" type="var">He</span>) <span class="id" type="var">Case</span>;<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="tactic">try</span> (<span class="id" type="tactic">inversion</span> <span class="id" type="var">Heqwcom</span>); <span class="id" type="tactic">subst</span>; <span class="id" type="tactic">clear</span> <span class="id" type="var">Heqwcom</span>.<br/> &nbsp;&nbsp;<span class="id" type="var">Case</span> "E_WhileEnd".<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="tactic">split</span>. <span class="id" type="tactic">assumption</span>. <span class="id" type="tactic">apply</span> <span class="id" type="var">bexp_eval_false</span>. <span class="id" type="tactic">assumption</span>.<br/> &nbsp;&nbsp;<span class="id" type="var">Case</span> "E_WhileLoop".<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="tactic">apply</span> <span class="id" type="var">IHHe2</span>. <span class="id" type="tactic">reflexivity</span>.<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="tactic">apply</span> (<span class="id" type="var">Hhoare</span> <span class="id" type="var">st</span> <span class="id" type="var">st'</span>). <span class="id" type="tactic">assumption</span>.<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="tactic">split</span>. <span class="id" type="tactic">assumption</span>. <span class="id" type="tactic">apply</span> <span class="id" type="var">bexp_eval_true</span>. <span class="id" type="tactic">assumption</span>.<br/> <span class="id" type="keyword">Qed</span>.<br/> </div> <br/> </div> <div class="doc"> One subtlety in the terminology is that calling some assertion <span class="inlinecode"><span class="id" type="var">P</span></span> a "loop invariant" doesn't just mean that it is preserved by the body of the loop in question (i.e., <span class="inlinecode"><span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">P</span><span style="letter-spacing:-.4em;">}</span>}</span> <span class="inlinecode"><span class="id" type="var">c</span></span> <span class="inlinecode"><span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">P</span><span style="letter-spacing:-.4em;">}</span>}</span>, where <span class="inlinecode"><span class="id" type="var">c</span></span> is the loop body), but rather that <span class="inlinecode"><span class="id" type="var">P</span></span> <i>together with the fact that the loop's guard is true</i> is a sufficient precondition for <span class="inlinecode"><span class="id" type="var">c</span></span> to ensure <span class="inlinecode"><span class="id" type="var">P</span></span> as a postcondition. <div class="paragraph"> </div> This is a slightly (but significantly) weaker requirement. For example, if <span class="inlinecode"><span class="id" type="var">P</span></span> is the assertion <span class="inlinecode"><span class="id" type="var">X</span></span> <span class="inlinecode">=</span> <span class="inlinecode">0</span>, then <span class="inlinecode"><span class="id" type="var">P</span></span> <i>is</i> an invariant of the loop <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">WHILE</span>&nbsp;<span class="id" type="var">X</span>&nbsp;=&nbsp;2&nbsp;<span class="id" type="var">DO</span>&nbsp;<span class="id" type="var">X</span>&nbsp;:=&nbsp;1&nbsp;<span class="id" type="var">END</span> <div class="paragraph"> </div> </div> although it is clearly <i>not</i> preserved by the body of the loop. </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Example</span> <span class="id" type="var">while_example</span> :<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> ⇒ <span class="id" type="var">st</span> <span class="id" type="var">X</span> ≤ 3<span style="letter-spacing:-.4em;">}</span>}<br/> &nbsp;&nbsp;<span class="id" type="var">WHILE</span> (<span class="id" type="var">BLe</span> (<span class="id" type="var">AId</span> <span class="id" type="var">X</span>) (<span class="id" type="var">ANum</span> 2))<br/> &nbsp;&nbsp;<span class="id" type="var">DO</span> <span class="id" type="var">X</span> ::= <span class="id" type="var">APlus</span> (<span class="id" type="var">AId</span> <span class="id" type="var">X</span>) (<span class="id" type="var">ANum</span> 1) <span class="id" type="var">END</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> ⇒ <span class="id" type="var">st</span> <span class="id" type="var">X</span> = 3<span style="letter-spacing:-.4em;">}</span>}.<br/> <div class="togglescript" id="proofcontrol15" onclick="toggleDisplay('proof15');toggleDisplay('proofcontrol15')"><span class="show"></span></div> <div class="proofscript" id="proof15" onclick="toggleDisplay('proof15');toggleDisplay('proofcontrol15')"> <span class="id" type="keyword">Proof</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">eapply</span> <span class="id" type="var">hoare_consequence_post</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">apply</span> <span class="id" type="var">hoare_while</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">eapply</span> <span class="id" type="var">hoare_consequence_pre</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">apply</span> <span class="id" type="var">hoare_asgn</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">unfold</span> <span class="id" type="var">bassn</span>, <span class="id" type="var">assn_sub</span>, <span class="id" type="var">assert_implies</span>, <span class="id" type="var">update</span>. <span class="id" type="tactic">simpl</span>.<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="tactic">intros</span> <span class="id" type="var">st</span> [<span class="id" type="var">H1</span> <span class="id" type="var">H2</span>]. <span class="id" type="tactic">apply</span> <span class="id" type="var">ble_nat_true</span> <span class="id" type="keyword">in</span> <span class="id" type="var">H2</span>. <span class="id" type="tactic">omega</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">unfold</span> <span class="id" type="var">bassn</span>, <span class="id" type="var">assert_implies</span>. <span class="id" type="tactic">intros</span> <span class="id" type="var">st</span> [<span class="id" type="var">Hle</span> <span class="id" type="var">Hb</span>].<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="tactic">simpl</span> <span class="id" type="keyword">in</span> <span class="id" type="var">Hb</span>. <span class="id" type="tactic">destruct</span> (<span class="id" type="var">ble_nat</span> (<span class="id" type="var">st</span> <span class="id" type="var">X</span>) 2) <span class="id" type="var">eqn</span> : <span class="id" type="var">Heqle</span>.<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="tactic">apply</span> <span class="id" type="var">ex_falso_quodlibet</span>. <span class="id" type="tactic">apply</span> <span class="id" type="var">Hb</span>; <span class="id" type="tactic">reflexivity</span>.<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="tactic">apply</span> <span class="id" type="var">ble_nat_false</span> <span class="id" type="keyword">in</span> <span class="id" type="var">Heqle</span>. <span class="id" type="tactic">omega</span>.<br/> <span class="id" type="keyword">Qed</span>.<br/> </div> <br/> </div> <div class="doc"> <a name="lab544"></a><h3 class="section"> </h3> We can use the while rule to prove the following Hoare triple, which may seem surprising at first... </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Theorem</span> <span class="id" type="var">always_loop_hoare</span> : <span style="font-family: arial;">&forall;</span><span class="id" type="var">P</span> <span class="id" type="var">Q</span>,<br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">P</span><span style="letter-spacing:-.4em;">}</span>} <span class="id" type="var">WHILE</span> <span class="id" type="var">BTrue</span> <span class="id" type="var">DO</span> <span class="id" type="var">SKIP</span> <span class="id" type="var">END</span> <span style="letter-spacing:-.4em;">{</span>{<span class="id" type="var">Q</span><span style="letter-spacing:-.4em;">}</span>}.<br/> <div class="togglescript" id="proofcontrol16" onclick="toggleDisplay('proof16');toggleDisplay('proofcontrol16')"><span class="show"></span></div> <div class="proofscript" id="proof16" onclick="toggleDisplay('proof16');toggleDisplay('proofcontrol16')"> <span class="id" type="keyword">Proof</span>.<br/> &nbsp;&nbsp;<span class="comment">(*&nbsp;WORKED&nbsp;IN&nbsp;CLASS&nbsp;*)</span><br/> &nbsp;&nbsp;<span class="id" type="tactic">intros</span> <span class="id" type="var">P</span> <span class="id" type="var">Q</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">apply</span> <span class="id" type="var">hoare_consequence_pre</span> <span class="id" type="keyword">with</span> (<span class="id" type="var">P'</span> := <span class="id" type="keyword">fun</span> <span class="id" type="var">st</span> : <span class="id" type="var">state</span> ⇒ <span class="id" type="var">True</span>).<br/> &nbsp;&nbsp;<span class="id" type="tactic">eapply</span> <span class="id" type="var">hoare_consequence_post</span>.<br/> &nbsp;&nbsp;<span class="id" type="tactic">apply</span> <span class="id" type="var">hoare_while</span>.<br/> &nbsp;&nbsp;<span class="id" type="var">Case</span> "Loop body preserves invariant".<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="tactic">apply</span> <span class="id" type="var">hoare_post_true</span>. <span class="id" type="tactic">intros</span> <span class="id" type="var">st</span>. <span class="id" type="tactic">apply</span> <span class="id" type="var">I</span>.<br/> &nbsp;&nbsp;<span class="id" type="var">Case</span> "Loop invariant and negated guard imply postcondition".<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="tactic">simpl</span>. <span class="id" type="tactic">intros</span> <span class="id" type="var">st</span> [<span class="id" type="var">Hinv</span> <span class="id" type="var">Hguard</span>].<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="tactic">apply</span> <span class="id" type="var">ex_falso_quodlibet</span>. <span class="id" type="tactic">apply</span> <span class="id" type="var">Hguard</span>. <span class="id" type="tactic">reflexivity</span>.<br/> &nbsp;&nbsp;<span class="id" type="var">Case</span> "Precondition implies invariant".<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="tactic">intros</span> <span class="id" type="var">st</span> <span class="id" type="var">H</span>. <span class="id" type="var">constructor</span>. <span class="id" type="keyword">Qed</span>.<br/> </div> <br/> </div> <div class="doc"> Of course, this result is not surprising if we remember that the definition of <span class="inlinecode"><span class="id" type="var">hoare_triple</span></span> asserts that the postcondition must hold <i>only</i> when the command terminates. If the command doesn't terminate, we can prove anything we like about the post-condition. <div class="paragraph"> </div> Hoare rules that only talk about terminating commands are often said to describe a logic of "partial" correctness. It is also possible to give Hoare rules for "total" correctness, which build in the fact that the commands terminate. However, in this course we will only talk about partial correctness. </div> <div class="code code-tight"> <br/> </div> <div class="doc"> <a name="lab545"></a><h3 class="section">Exercise: <span class="inlinecode"><span class="id" type="var">REPEAT</span></span></h3> </div> <div class="code code-space"> <br/> <span class="id" type="keyword">Module</span> <span class="id" type="var">RepeatExercise</span>.<br/> <br/> </div> <div class="doc"> <a name="lab546"></a><h4 class="section">Exercise: 4 stars, advanced (hoare_repeat)</h4> In this exercise, we'll add a new command to our language of commands: <span class="inlinecode"><span class="id" type="var">REPEAT</span></span> c <span class="inlinecode"><span class="id" type="var">UNTIL</span></span> a <span class="inlinecode"><span class="id" type="var">END</span></span>. You will write the evaluation rule for <span class="inlinecode"><span class="id" type="tactic">repeat</span></span> and add a new Hoare rule to the language for programs involving it. </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Inductive</span> <span class="id" type="var">com</span> : <span class="id" type="keyword">Type</span> :=<br/> &nbsp;&nbsp;| <span class="id" type="var">CSkip</span> : <span class="id" type="var">com</span><br/> &nbsp;&nbsp;| <span class="id" type="var">CAsgn</span> : <span class="id" type="var">id</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">aexp</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">com</span><br/> &nbsp;&nbsp;| <span class="id" type="var">CSeq</span> : <span class="id" type="var">com</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">com</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">com</span><br/> &nbsp;&nbsp;| <span class="id" type="var">CIf</span> : <span class="id" type="var">bexp</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">com</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">com</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">com</span><br/> &nbsp;&nbsp;| <span class="id" type="var">CWhile</span> : <span class="id" type="var">bexp</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">com</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">com</span><br/> &nbsp;&nbsp;| <span class="id" type="var">CRepeat</span> : <span class="id" type="var">com</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">bexp</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">com</span>.<br/> <br/> </div> <div class="doc"> <span class="inlinecode"><span class="id" type="var">REPEAT</span></span> behaves like <span class="inlinecode"><span class="id" type="var">WHILE</span></span>, except that the loop guard is checked <i>after</i> each execution of the body, with the loop repeating as long as the guard stays <i>false</i>. Because of this, the body will always execute at least once. </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Tactic Notation</span> "com_cases" <span class="id" type="var">tactic</span>(<span class="id" type="var">first</span>) <span class="id" type="var">ident</span>(<span class="id" type="var">c</span>) :=<br/> &nbsp;&nbsp;<span class="id" type="var">first</span>;<br/> &nbsp;&nbsp;[ <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "SKIP" | <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "::=" | <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> ";"<br/> &nbsp;&nbsp;| <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "IFB" | <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "WHILE"<br/> &nbsp;&nbsp;| <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "CRepeat" ].<br/> <br/> <span class="id" type="keyword">Notation</span> "'SKIP'" := <br/> &nbsp;&nbsp;<span class="id" type="var">CSkip</span>.<br/> <span class="id" type="keyword">Notation</span> "c1 ;; c2" := <br/> &nbsp;&nbsp;(<span class="id" type="var">CSeq</span> <span class="id" type="var">c1</span> <span class="id" type="var">c2</span>) (<span class="id" type="tactic">at</span> <span class="id" type="var">level</span> 80, <span class="id" type="var">right</span> <span class="id" type="var">associativity</span>).<br/> <span class="id" type="keyword">Notation</span> "X '::=' a" := <br/> &nbsp;&nbsp;(<span class="id" type="var">CAsgn</span> <span class="id" type="var">X</span> <span class="id" type="var">a</span>) (<span class="id" type="tactic">at</span> <span class="id" type="var">level</span> 60).<br/> <span class="id" type="keyword">Notation</span> "'WHILE' b 'DO' c 'END'" := <br/> &nbsp;&nbsp;(<span class="id" type="var">CWhile</span> <span class="id" type="var">b</span> <span class="id" type="var">c</span>) (<span class="id" type="tactic">at</span> <span class="id" type="var">level</span> 80, <span class="id" type="var">right</span> <span class="id" type="var">associativity</span>).<br/> <span class="id" type="keyword">Notation</span> "'IFB' e1 'THEN' e2 'ELSE' e3 'FI'" := <br/> &nbsp;&nbsp;(<span class="id" type="var">CIf</span> <span class="id" type="var">e1</span> <span class="id" type="var">e2</span> <span class="id" type="var">e3</span>) (<span class="id" type="tactic">at</span> <span class="id" type="var">level</span> 80, <span class="id" type="var">right</span> <span class="id" type="var">associativity</span>).<br/> <span class="id" type="keyword">Notation</span> "'REPEAT' e1 'UNTIL' b2 'END'" := <br/> &nbsp;&nbsp;(<span class="id" type="var">CRepeat</span> <span class="id" type="var">e1</span> <span class="id" type="var">b2</span>) (<span class="id" type="tactic">at</span> <span class="id" type="var">level</span> 80, <span class="id" type="var">right</span> <span class="id" type="var">associativity</span>).<br/> <br/> </div> <div class="doc"> Add new rules for <span class="inlinecode"><span class="id" type="var">REPEAT</span></span> to <span class="inlinecode"><span class="id" type="var">ceval</span></span> below. You can use the rules for <span class="inlinecode"><span class="id" type="var">WHILE</span></span> as a guide, but remember that the body of a <span class="inlinecode"><span class="id" type="var">REPEAT</span></span> should always execute at least once, and that the loop ends when the guard becomes true. Then update the <span class="inlinecode"><span class="id" type="var">ceval_cases</span></span> tactic to handle these added cases. </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Inductive</span> <span class="id" type="var">ceval</span> : <span class="id" type="var">state</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">com</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">state</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="keyword">Prop</span> :=<br/> &nbsp;&nbsp;| <span class="id" type="var">E_Skip</span> : <span style="font-family: arial;">&forall;</span><span class="id" type="var">st</span>,<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">ceval</span> <span class="id" type="var">st</span> <span class="id" type="var">SKIP</span> <span class="id" type="var">st</span><br/> &nbsp;&nbsp;| <span class="id" type="var">E_Ass</span> : <span style="font-family: arial;">&forall;</span><span class="id" type="var">st</span> <span class="id" type="var">a1</span> <span class="id" type="var">n</span> <span class="id" type="var">X</span>,<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">aeval</span> <span class="id" type="var">st</span> <span class="id" type="var">a1</span> = <span class="id" type="var">n</span> <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">ceval</span> <span class="id" type="var">st</span> (<span class="id" type="var">X</span> ::= <span class="id" type="var">a1</span>) (<span class="id" type="var">update</span> <span class="id" type="var">st</span> <span class="id" type="var">X</span> <span class="id" type="var">n</span>)<br/> &nbsp;&nbsp;| <span class="id" type="var">E_Seq</span> : <span style="font-family: arial;">&forall;</span><span class="id" type="var">c1</span> <span class="id" type="var">c2</span> <span class="id" type="var">st</span> <span class="id" type="var">st'</span> <span class="id" type="var">st''</span>,<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">ceval</span> <span class="id" type="var">st</span> <span class="id" type="var">c1</span> <span class="id" type="var">st'</span> <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">ceval</span> <span class="id" type="var">st'</span> <span class="id" type="var">c2</span> <span class="id" type="var">st''</span> <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">ceval</span> <span class="id" type="var">st</span> (<span class="id" type="var">c1</span> ;; <span class="id" type="var">c2</span>) <span class="id" type="var">st''</span><br/> &nbsp;&nbsp;| <span class="id" type="var">E_IfTrue</span> : <span style="font-family: arial;">&forall;</span><span class="id" type="var">st</span> <span class="id" type="var">st'</span> <span class="id" type="var">b1</span> <span class="id" type="var">c1</span> <span class="id" type="var">c2</span>,<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">beval</span> <span class="id" type="var">st</span> <span class="id" type="var">b1</span> = <span class="id" type="var">true</span> <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">ceval</span> <span class="id" type="var">st</span> <span class="id" type="var">c1</span> <span class="id" type="var">st'</span> <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">ceval</span> <span class="id" type="var">st</span> (<span class="id" type="var">IFB</span> <span class="id" type="var">b1</span> <span class="id" type="var">THEN</span> <span class="id" type="var">c1</span> <span class="id" type="var">ELSE</span> <span class="id" type="var">c2</span> <span class="id" type="var">FI</span>) <span class="id" type="var">st'</span><br/> &nbsp;&nbsp;| <span class="id" type="var">E_IfFalse</span> : <span style="font-family: arial;">&forall;</span><span class="id" type="var">st</span> <span class="id" type="var">st'</span> <span class="id" type="var">b1</span> <span class="id" type="var">c1</span> <span class="id" type="var">c2</span>,<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">beval</span> <span class="id" type="var">st</span> <span class="id" type="var">b1</span> = <span class="id" type="var">false</span> <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">ceval</span> <span class="id" type="var">st</span> <span class="id" type="var">c2</span> <span class="id" type="var">st'</span> <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">ceval</span> <span class="id" type="var">st</span> (<span class="id" type="var">IFB</span> <span class="id" type="var">b1</span> <span class="id" type="var">THEN</span> <span class="id" type="var">c1</span> <span class="id" type="var">ELSE</span> <span class="id" type="var">c2</span> <span class="id" type="var">FI</span>) <span class="id" type="var">st'</span><br/> &nbsp;&nbsp;| <span class="id" type="var">E_WhileEnd</span> : <span style="font-family: arial;">&forall;</span><span class="id" type="var">b1</span> <span class="id" type="var">st</span> <span class="id" type="var">c1</span>,<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">beval</span> <span class="id" type="var">st</span> <span class="id" type="var">b1</span> = <span class="id" type="var">false</span> <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">ceval</span> <span class="id" type="var">st</span> (<span class="id" type="var">WHILE</span> <span class="id" type="var">b1</span> <span class="id" type="var">DO</span> <span class="id" type="var">c1</span> <span class="id" type="var">END</span>) <span class="id" type="var">st</span><br/> &nbsp;&nbsp;| <span class="id" type="var">E_WhileLoop</span> : <span style="font-family: arial;">&forall;</span><span class="id" type="var">st</span> <span class="id" type="var">st'</span> <span class="id" type="var">st''</span> <span class="id" type="var">b1</span> <span class="id" type="var">c1</span>,<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">beval</span> <span class="id" type="var">st</span> <span class="id" type="var">b1</span> = <span class="id" type="var">true</span> <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">ceval</span> <span class="id" type="var">st</span> <span class="id" type="var">c1</span> <span class="id" type="var">st'</span> <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">ceval</span> <span class="id" type="var">st'</span> (<span class="id" type="var">WHILE</span> <span class="id" type="var">b1</span> <span class="id" type="var">DO</span> <span class="id" type="var">c1</span> <span class="id" type="var">END</span>) <span class="id" type="var">st''</span> <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">ceval</span> <span class="id" type="var">st</span> (<span class="id" type="var">WHILE</span> <span class="id" type="var">b1</span> <span class="id" type="var">DO</span> <span class="id" type="var">c1</span> <span class="id" type="var">END</span>) <span class="id" type="var">st''</span><br/> <span class="comment">(*&nbsp;FILL&nbsp;IN&nbsp;HERE&nbsp;*)</span><br/> .<br/> <br/> <span class="id" type="keyword">Tactic Notation</span> "ceval_cases" <span class="id" type="var">tactic</span>(<span class="id" type="var">first</span>) <span class="id" type="var">ident</span>(<span class="id" type="var">c</span>) :=<br/> &nbsp;&nbsp;<span class="id" type="var">first</span>;<br/> &nbsp;&nbsp;[ <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "E_Skip" | <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "E_Ass"<br/> &nbsp;&nbsp;| <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "E_Seq"<br/> &nbsp;&nbsp;| <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "E_IfTrue" | <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "E_IfFalse"<br/> &nbsp;&nbsp;| <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "E_WhileEnd" | <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "E_WhileLoop" <br/> <span class="comment">(*&nbsp;FILL&nbsp;IN&nbsp;HERE&nbsp;*)</span><br/> ].<br/> <br/> </div> <div class="doc"> A couple of definitions from above, copied here so they use the new <span class="inlinecode"><span class="id" type="var">ceval</span></span>. </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Notation</span> "c1 '/' st '<span style="font-family: arial;">&dArr;</span>' st'" := (<span class="id" type="var">ceval</span> <span class="id" type="var">st</span> <span class="id" type="var">c1</span> <span class="id" type="var">st'</span>) <br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(<span class="id" type="tactic">at</span> <span class="id" type="var">level</span> 40, <span class="id" type="var">st</span> <span class="id" type="tactic">at</span> <span class="id" type="var">level</span> 39).<br/> <br/> <span class="id" type="keyword">Definition</span> <span class="id" type="var">hoare_triple</span> (<span class="id" type="var">P</span>:<span class="id" type="var">Assertion</span>) (<span class="id" type="var">c</span>:<span class="id" type="var">com</span>) (<span class="id" type="var">Q</span>:<span class="id" type="var">Assertion</span>) <br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: <span class="id" type="keyword">Prop</span> :=<br/> &nbsp;&nbsp;<span style="font-family: arial;">&forall;</span><span class="id" type="var">st</span> <span class="id" type="var">st'</span>, (<span class="id" type="var">c</span> / <span class="id" type="var">st</span> <span style="font-family: arial;">&dArr;</span> <span class="id" type="var">st'</span>) <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">P</span> <span class="id" type="var">st</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">Q</span> <span class="id" type="var">st'</span>.<br/> <br/> <span class="id" type="keyword">Notation</span> "<span style="letter-spacing:-.4em;">{</span>{ P <span style="letter-spacing:-.4em;">}</span>} c <span style="letter-spacing:-.4em;">{</span>{ Q <span style="letter-spacing:-.4em;">}</span>}" :=<br/> &nbsp;&nbsp;(<span class="id" type="var">hoare_triple</span> <span class="id" type="var">P</span> <span class="id" type="var">c</span> <span class="id" type="var">Q</span>) (<span class="id" type="tactic">at</span> <span class="id" type="var">level</span> 90, <span class="id" type="var">c</span> <span class="id" type="tactic">at</span> <span class="id" type="var">next</span> <span class="id" type="var">level</span>).<br/> <br/> </div> <div class="doc"> To make sure you've got the evaluation rules for <span class="inlinecode"><span class="id" type="var">REPEAT</span></span> right, prove that <span class="inlinecode"><span class="id" type="var">ex1_repeat</span></span> <span class="inlinecode"><span class="id" type="var">evaluates</span></span> <span class="inlinecode"><span class="id" type="var">correctly</span>.</span> <span class="inlinecode"></span> </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Definition</span> <span class="id" type="var">ex1_repeat</span> :=<br/> &nbsp;&nbsp;<span class="id" type="var">REPEAT</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">X</span> ::= <span class="id" type="var">ANum</span> 1;;<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">Y</span> ::= <span class="id" type="var">APlus</span> (<span class="id" type="var">AId</span> <span class="id" type="var">Y</span>) (<span class="id" type="var">ANum</span> 1)<br/> &nbsp;&nbsp;<span class="id" type="var">UNTIL</span> (<span class="id" type="var">BEq</span> (<span class="id" type="var">AId</span> <span class="id" type="var">X</span>) (<span class="id" type="var">ANum</span> 1)) <span class="id" type="var">END</span>.<br/> <br/> <span class="id" type="keyword">Theorem</span> <span class="id" type="var">ex1_repeat_works</span> :<br/> &nbsp;&nbsp;<span class="id" type="var">ex1_repeat</span> / <span class="id" type="var">empty_state</span> <span style="font-family: arial;">&dArr;</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">update</span> (<span class="id" type="var">update</span> <span class="id" type="var">empty_state</span> <span class="id" type="var">X</span> 1) <span class="id" type="var">Y</span> 1.<br/> <span class="id" type="keyword">Proof</span>.<br/> &nbsp;&nbsp;<span class="comment">(*&nbsp;FILL&nbsp;IN&nbsp;HERE&nbsp;*)</span> <span class="id" type="var">Admitted</span>.<br/> <br/> </div> <div class="doc"> Now state and prove a theorem, <span class="inlinecode"><span class="id" type="var">hoare_repeat</span></span>, that expresses an appropriate proof rule for <span class="inlinecode"><span class="id" type="tactic">repeat</span></span> commands. Use <span class="inlinecode"><span class="id" type="var">hoare_while</span></span> as a model, and try to make your rule as precise as possible. </div> <div class="code code-tight"> <br/> <span class="comment">(*&nbsp;FILL&nbsp;IN&nbsp;HERE&nbsp;*)</span><br/> <br/> </div> <div class="doc"> For full credit, make sure (informally) that your rule can be used to prove the following valid Hoare triple: <div class="paragraph"> </div> <div class="code code-tight"> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;<span class="id" type="var">X</span>&nbsp;&gt;&nbsp;0&nbsp;<span style="letter-spacing:-.4em;">}</span>}<br/> &nbsp;&nbsp;<span class="id" type="var">REPEAT</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">Y</span>&nbsp;::=&nbsp;<span class="id" type="var">X</span>;;<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">X</span>&nbsp;::=&nbsp;<span class="id" type="var">X</span>&nbsp;-&nbsp;1<br/> &nbsp;&nbsp;<span class="id" type="var">UNTIL</span>&nbsp;<span class="id" type="var">X</span>&nbsp;=&nbsp;0&nbsp;<span class="id" type="var">END</span><br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;<span class="id" type="var">X</span>&nbsp;=&nbsp;0&nbsp;<span style="font-family: arial;">&and;</span>&nbsp;<span class="id" type="var">Y</span>&nbsp;&gt;&nbsp;0&nbsp;<span style="letter-spacing:-.4em;">}</span>} <div class="paragraph"> </div> </div> </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">End</span> <span class="id" type="var">RepeatExercise</span>.<br/> </div> <div class="doc"> <font size=-2>&#9744;</font> </div> <div class="code code-tight"> <br/> </div> <div class="doc"> <a name="lab547"></a><h2 class="section">Exercise: <span class="inlinecode"><span class="id" type="var">HAVOC</span></span></h2> <div class="paragraph"> </div> <a name="lab548"></a><h4 class="section">Exercise: 3 stars (himp_hoare)</h4> <div class="paragraph"> </div> In this exercise, we will derive proof rules for the <span class="inlinecode"><span class="id" type="var">HAVOC</span></span> command which we studied in the last chapter. First, we enclose this work in a separate module, and recall the syntax and big-step semantics of Himp commands. </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Module</span> <span class="id" type="var">Himp</span>.<br/> <br/> <span class="id" type="keyword">Inductive</span> <span class="id" type="var">com</span> : <span class="id" type="keyword">Type</span> :=<br/> &nbsp;&nbsp;| <span class="id" type="var">CSkip</span> : <span class="id" type="var">com</span><br/> &nbsp;&nbsp;| <span class="id" type="var">CAsgn</span> : <span class="id" type="var">id</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">aexp</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">com</span><br/> &nbsp;&nbsp;| <span class="id" type="var">CSeq</span> : <span class="id" type="var">com</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">com</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">com</span><br/> &nbsp;&nbsp;| <span class="id" type="var">CIf</span> : <span class="id" type="var">bexp</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">com</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">com</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">com</span><br/> &nbsp;&nbsp;| <span class="id" type="var">CWhile</span> : <span class="id" type="var">bexp</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">com</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">com</span><br/> &nbsp;&nbsp;| <span class="id" type="var">CHavoc</span> : <span class="id" type="var">id</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">com</span>.<br/> <br/> <span class="id" type="keyword">Tactic Notation</span> "com_cases" <span class="id" type="var">tactic</span>(<span class="id" type="var">first</span>) <span class="id" type="var">ident</span>(<span class="id" type="var">c</span>) :=<br/> &nbsp;&nbsp;<span class="id" type="var">first</span>;<br/> &nbsp;&nbsp;[ <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "SKIP" | <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "::=" | <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> ";"<br/> &nbsp;&nbsp;| <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "IFB" | <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "WHILE" | <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "HAVOC" ].<br/> <br/> <span class="id" type="keyword">Notation</span> "'SKIP'" :=<br/> &nbsp;&nbsp;<span class="id" type="var">CSkip</span>.<br/> <span class="id" type="keyword">Notation</span> "X '::=' a" :=<br/> &nbsp;&nbsp;(<span class="id" type="var">CAsgn</span> <span class="id" type="var">X</span> <span class="id" type="var">a</span>) (<span class="id" type="tactic">at</span> <span class="id" type="var">level</span> 60).<br/> <span class="id" type="keyword">Notation</span> "c1 ;; c2" :=<br/> &nbsp;&nbsp;(<span class="id" type="var">CSeq</span> <span class="id" type="var">c1</span> <span class="id" type="var">c2</span>) (<span class="id" type="tactic">at</span> <span class="id" type="var">level</span> 80, <span class="id" type="var">right</span> <span class="id" type="var">associativity</span>).<br/> <span class="id" type="keyword">Notation</span> "'WHILE' b 'DO' c 'END'" :=<br/> &nbsp;&nbsp;(<span class="id" type="var">CWhile</span> <span class="id" type="var">b</span> <span class="id" type="var">c</span>) (<span class="id" type="tactic">at</span> <span class="id" type="var">level</span> 80, <span class="id" type="var">right</span> <span class="id" type="var">associativity</span>).<br/> <span class="id" type="keyword">Notation</span> "'IFB' e1 'THEN' e2 'ELSE' e3 'FI'" :=<br/> &nbsp;&nbsp;(<span class="id" type="var">CIf</span> <span class="id" type="var">e1</span> <span class="id" type="var">e2</span> <span class="id" type="var">e3</span>) (<span class="id" type="tactic">at</span> <span class="id" type="var">level</span> 80, <span class="id" type="var">right</span> <span class="id" type="var">associativity</span>).<br/> <span class="id" type="keyword">Notation</span> "'HAVOC' X" := (<span class="id" type="var">CHavoc</span> <span class="id" type="var">X</span>) (<span class="id" type="tactic">at</span> <span class="id" type="var">level</span> 60).<br/> <br/> <span class="id" type="keyword">Reserved Notation</span> "c1 '/' st '<span style="font-family: arial;">&dArr;</span>' st'" (<span class="id" type="tactic">at</span> <span class="id" type="var">level</span> 40, <span class="id" type="var">st</span> <span class="id" type="tactic">at</span> <span class="id" type="var">level</span> 39).<br/> <br/> <span class="id" type="keyword">Inductive</span> <span class="id" type="var">ceval</span> : <span class="id" type="var">com</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">state</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">state</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="keyword">Prop</span> :=<br/> &nbsp;&nbsp;| <span class="id" type="var">E_Skip</span> : <span style="font-family: arial;">&forall;</span><span class="id" type="var">st</span> : <span class="id" type="var">state</span>, <span class="id" type="var">SKIP</span> / <span class="id" type="var">st</span> <span style="font-family: arial;">&dArr;</span> <span class="id" type="var">st</span><br/> &nbsp;&nbsp;| <span class="id" type="var">E_Ass</span> : <span style="font-family: arial;">&forall;</span>(<span class="id" type="var">st</span> : <span class="id" type="var">state</span>) (<span class="id" type="var">a1</span> : <span class="id" type="var">aexp</span>) (<span class="id" type="var">n</span> : <span class="id" type="var">nat</span>) (<span class="id" type="var">X</span> : <span class="id" type="var">id</span>),<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">aeval</span> <span class="id" type="var">st</span> <span class="id" type="var">a1</span> = <span class="id" type="var">n</span> <span style="font-family: arial;">&rarr;</span> (<span class="id" type="var">X</span> ::= <span class="id" type="var">a1</span>) / <span class="id" type="var">st</span> <span style="font-family: arial;">&dArr;</span> <span class="id" type="var">update</span> <span class="id" type="var">st</span> <span class="id" type="var">X</span> <span class="id" type="var">n</span><br/> &nbsp;&nbsp;| <span class="id" type="var">E_Seq</span> : <span style="font-family: arial;">&forall;</span>(<span class="id" type="var">c1</span> <span class="id" type="var">c2</span> : <span class="id" type="var">com</span>) (<span class="id" type="var">st</span> <span class="id" type="var">st'</span> <span class="id" type="var">st''</span> : <span class="id" type="var">state</span>),<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">c1</span> / <span class="id" type="var">st</span> <span style="font-family: arial;">&dArr;</span> <span class="id" type="var">st'</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">c2</span> / <span class="id" type="var">st'</span> <span style="font-family: arial;">&dArr;</span> <span class="id" type="var">st''</span> <span style="font-family: arial;">&rarr;</span> (<span class="id" type="var">c1</span> ;; <span class="id" type="var">c2</span>) / <span class="id" type="var">st</span> <span style="font-family: arial;">&dArr;</span> <span class="id" type="var">st''</span><br/> &nbsp;&nbsp;| <span class="id" type="var">E_IfTrue</span> : <span style="font-family: arial;">&forall;</span>(<span class="id" type="var">st</span> <span class="id" type="var">st'</span> : <span class="id" type="var">state</span>) (<span class="id" type="var">b1</span> : <span class="id" type="var">bexp</span>) (<span class="id" type="var">c1</span> <span class="id" type="var">c2</span> : <span class="id" type="var">com</span>),<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">beval</span> <span class="id" type="var">st</span> <span class="id" type="var">b1</span> = <span class="id" type="var">true</span> <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">c1</span> / <span class="id" type="var">st</span> <span style="font-family: arial;">&dArr;</span> <span class="id" type="var">st'</span> <span style="font-family: arial;">&rarr;</span> (<span class="id" type="var">IFB</span> <span class="id" type="var">b1</span> <span class="id" type="var">THEN</span> <span class="id" type="var">c1</span> <span class="id" type="var">ELSE</span> <span class="id" type="var">c2</span> <span class="id" type="var">FI</span>) / <span class="id" type="var">st</span> <span style="font-family: arial;">&dArr;</span> <span class="id" type="var">st'</span><br/> &nbsp;&nbsp;| <span class="id" type="var">E_IfFalse</span> : <span style="font-family: arial;">&forall;</span>(<span class="id" type="var">st</span> <span class="id" type="var">st'</span> : <span class="id" type="var">state</span>) (<span class="id" type="var">b1</span> : <span class="id" type="var">bexp</span>) (<span class="id" type="var">c1</span> <span class="id" type="var">c2</span> : <span class="id" type="var">com</span>),<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">beval</span> <span class="id" type="var">st</span> <span class="id" type="var">b1</span> = <span class="id" type="var">false</span> <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">c2</span> / <span class="id" type="var">st</span> <span style="font-family: arial;">&dArr;</span> <span class="id" type="var">st'</span> <span style="font-family: arial;">&rarr;</span> (<span class="id" type="var">IFB</span> <span class="id" type="var">b1</span> <span class="id" type="var">THEN</span> <span class="id" type="var">c1</span> <span class="id" type="var">ELSE</span> <span class="id" type="var">c2</span> <span class="id" type="var">FI</span>) / <span class="id" type="var">st</span> <span style="font-family: arial;">&dArr;</span> <span class="id" type="var">st'</span><br/> &nbsp;&nbsp;| <span class="id" type="var">E_WhileEnd</span> : <span style="font-family: arial;">&forall;</span>(<span class="id" type="var">b1</span> : <span class="id" type="var">bexp</span>) (<span class="id" type="var">st</span> : <span class="id" type="var">state</span>) (<span class="id" type="var">c1</span> : <span class="id" type="var">com</span>),<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">beval</span> <span class="id" type="var">st</span> <span class="id" type="var">b1</span> = <span class="id" type="var">false</span> <span style="font-family: arial;">&rarr;</span> (<span class="id" type="var">WHILE</span> <span class="id" type="var">b1</span> <span class="id" type="var">DO</span> <span class="id" type="var">c1</span> <span class="id" type="var">END</span>) / <span class="id" type="var">st</span> <span style="font-family: arial;">&dArr;</span> <span class="id" type="var">st</span><br/> &nbsp;&nbsp;| <span class="id" type="var">E_WhileLoop</span> : <span style="font-family: arial;">&forall;</span>(<span class="id" type="var">st</span> <span class="id" type="var">st'</span> <span class="id" type="var">st''</span> : <span class="id" type="var">state</span>) (<span class="id" type="var">b1</span> : <span class="id" type="var">bexp</span>) (<span class="id" type="var">c1</span> : <span class="id" type="var">com</span>),<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">beval</span> <span class="id" type="var">st</span> <span class="id" type="var">b1</span> = <span class="id" type="var">true</span> <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="id" type="var">c1</span> / <span class="id" type="var">st</span> <span style="font-family: arial;">&dArr;</span> <span class="id" type="var">st'</span> <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(<span class="id" type="var">WHILE</span> <span class="id" type="var">b1</span> <span class="id" type="var">DO</span> <span class="id" type="var">c1</span> <span class="id" type="var">END</span>) / <span class="id" type="var">st'</span> <span style="font-family: arial;">&dArr;</span> <span class="id" type="var">st''</span> <span style="font-family: arial;">&rarr;</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(<span class="id" type="var">WHILE</span> <span class="id" type="var">b1</span> <span class="id" type="var">DO</span> <span class="id" type="var">c1</span> <span class="id" type="var">END</span>) / <span class="id" type="var">st</span> <span style="font-family: arial;">&dArr;</span> <span class="id" type="var">st''</span><br/> &nbsp;&nbsp;| <span class="id" type="var">E_Havoc</span> : <span style="font-family: arial;">&forall;</span>(<span class="id" type="var">st</span> : <span class="id" type="var">state</span>) (<span class="id" type="var">X</span> : <span class="id" type="var">id</span>) (<span class="id" type="var">n</span> : <span class="id" type="var">nat</span>),<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(<span class="id" type="var">HAVOC</span> <span class="id" type="var">X</span>) / <span class="id" type="var">st</span> <span style="font-family: arial;">&dArr;</span> <span class="id" type="var">update</span> <span class="id" type="var">st</span> <span class="id" type="var">X</span> <span class="id" type="var">n</span><br/> <br/> &nbsp;&nbsp;<span class="id" type="keyword">where</span> "c1 '/' st '<span style="font-family: arial;">&dArr;</span>' st'" := (<span class="id" type="var">ceval</span> <span class="id" type="var">c1</span> <span class="id" type="var">st</span> <span class="id" type="var">st'</span>).<br/> <br/> <span class="id" type="keyword">Tactic Notation</span> "ceval_cases" <span class="id" type="var">tactic</span>(<span class="id" type="var">first</span>) <span class="id" type="var">ident</span>(<span class="id" type="var">c</span>) :=<br/> &nbsp;&nbsp;<span class="id" type="var">first</span>;<br/> &nbsp;&nbsp;[ <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "E_Skip" | <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "E_Ass" | <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "E_Seq"<br/> &nbsp;&nbsp;| <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "E_IfTrue" | <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "E_IfFalse"<br/> &nbsp;&nbsp;| <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "E_WhileEnd" | <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "E_WhileLoop"<br/> &nbsp;&nbsp;| <span class="id" type="var">Case_aux</span> <span class="id" type="var">c</span> "E_Havoc" ].<br/> <br/> </div> <div class="doc"> The definition of Hoare triples is exactly as before. Unlike our notion of program equivalence, which had subtle consequences with occassionally nonterminating commands (exercise <span class="inlinecode"><span class="id" type="var">havoc_diverge</span></span>), this definition is still fully satisfactory. Convince yourself of this before proceeding. </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Definition</span> <span class="id" type="var">hoare_triple</span> (<span class="id" type="var">P</span>:<span class="id" type="var">Assertion</span>) (<span class="id" type="var">c</span>:<span class="id" type="var">com</span>) (<span class="id" type="var">Q</span>:<span class="id" type="var">Assertion</span>) : <span class="id" type="keyword">Prop</span> :=<br/> &nbsp;&nbsp;<span style="font-family: arial;">&forall;</span><span class="id" type="var">st</span> <span class="id" type="var">st'</span>, <span class="id" type="var">c</span> / <span class="id" type="var">st</span> <span style="font-family: arial;">&dArr;</span> <span class="id" type="var">st'</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">P</span> <span class="id" type="var">st</span> <span style="font-family: arial;">&rarr;</span> <span class="id" type="var">Q</span> <span class="id" type="var">st'</span>.<br/> <br/> <span class="id" type="keyword">Notation</span> "<span style="letter-spacing:-.4em;">{</span>{ P <span style="letter-spacing:-.4em;">}</span>} c <span style="letter-spacing:-.4em;">{</span>{ Q <span style="letter-spacing:-.4em;">}</span>}" := (<span class="id" type="var">hoare_triple</span> <span class="id" type="var">P</span> <span class="id" type="var">c</span> <span class="id" type="var">Q</span>) <br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(<span class="id" type="tactic">at</span> <span class="id" type="var">level</span> 90, <span class="id" type="var">c</span> <span class="id" type="tactic">at</span> <span class="id" type="var">next</span> <span class="id" type="var">level</span>) <br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: <span class="id" type="var">hoare_spec_scope</span>.<br/> <br/> </div> <div class="doc"> Complete the Hoare rule for <span class="inlinecode"><span class="id" type="var">HAVOC</span></span> commands below by defining <span class="inlinecode"><span class="id" type="var">havoc_pre</span></span> and prove that the resulting rule is correct. </div> <div class="code code-tight"> <br/> <span class="id" type="keyword">Definition</span> <span class="id" type="var">havoc_pre</span> (<span class="id" type="var">X</span> : <span class="id" type="var">id</span>) (<span class="id" type="var">Q</span> : <span class="id" type="var">Assertion</span>) : <span class="id" type="var">Assertion</span> :=<br/> <span class="comment">(*&nbsp;FILL&nbsp;IN&nbsp;HERE&nbsp;*)</span> <span class="id" type="var">admit</span>.<br/> <br/> <span class="id" type="keyword">Theorem</span> <span class="id" type="var">hoare_havoc</span> : <span style="font-family: arial;">&forall;</span>(<span class="id" type="var">Q</span> : <span class="id" type="var">Assertion</span>) (<span class="id" type="var">X</span> : <span class="id" type="var">id</span>),<br/> &nbsp;&nbsp;<span style="letter-spacing:-.4em;">{</span>{ <span class="id" type="var">havoc_pre</span> <span class="id" type="var">X</span> <span class="id" type="var">Q</span> <span style="letter-spacing:-.4em;">}</span>} <span class="id" type="var">HAVOC</span> <span class="id" type="var">X</span> <span style="letter-spacing:-.4em;">{</span>{ <span class="id" type="var">Q</span> <span style="letter-spacing:-.4em;">}</span>}.<br/> <span class="id" type="keyword">Proof</span>.<br/> &nbsp;&nbsp;<span class="comment">(*&nbsp;FILL&nbsp;IN&nbsp;HERE&nbsp;*)</span> <span class="id" type="var">Admitted</span>.<br/> <br/> <span class="id" type="keyword">End</span> <span class="id" type="var">Himp</span>.<br/> </div> <div class="doc"> <font size=-2>&#9744;</font> </div> <div class="code code-tight"> <br/> </div> <div class="doc"> <a name="lab549"></a><h2 class="section">Complete List of Hoare Logic Rules</h2> <div class="paragraph"> </div> Above, we've introduced Hoare Logic as a tool to reasoning about Imp programs. In the reminder of this chapter we will explore a systematic way to use Hoare Logic to prove properties about programs. The rules of Hoare Logic are the following: <div class="paragraph"> </div> <div class="paragraph"> </div> <center><table class="infrule"> <tr class="infruleassumption"> <td class="infrule">&nbsp;&nbsp;</td> <td class="infrulenamecol" rowspan="3"> (hoare_asgn) &nbsp; </td></tr> <tr class="infrulemiddle"> <td class="infrule"><hr /></td> </tr> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{Q&nbsp;[X&nbsp;<span style="font-family: arial;">&#8614;</span>&nbsp;a]<span style="letter-spacing:-.4em;">}</span>}&nbsp;X::=a&nbsp;<span style="letter-spacing:-.4em;">{</span>{Q<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> </table></center><center><table class="infrule"> <tr class="infruleassumption"> <td class="infrule">&nbsp;&nbsp;</td> <td class="infrulenamecol" rowspan="3"> (hoare_skip) &nbsp; </td></tr> <tr class="infrulemiddle"> <td class="infrule"><hr /></td> </tr> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{&nbsp;P&nbsp;<span style="letter-spacing:-.4em;">}</span>}&nbsp;SKIP&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;P&nbsp;<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> </table></center><center><table class="infrule"> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{&nbsp;P&nbsp;<span style="letter-spacing:-.4em;">}</span>}&nbsp;c1&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;Q&nbsp;<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{&nbsp;Q&nbsp;<span style="letter-spacing:-.4em;">}</span>}&nbsp;c2&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;R&nbsp;<span style="letter-spacing:-.4em;">}</span>}</td> <td class="infrulenamecol" rowspan="3"> (hoare_seq) &nbsp; </td></tr> <tr class="infrulemiddle"> <td class="infrule"><hr /></td> </tr> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{&nbsp;P&nbsp;<span style="letter-spacing:-.4em;">}</span>}&nbsp;c1;;c2&nbsp;<span style="letter-spacing:-.4em;">{</span>{&nbsp;R&nbsp;<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> </table></center><center><table class="infrule"> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{P&nbsp;<span style="font-family: arial;">&and;</span>&nbsp;&nbsp;b<span style="letter-spacing:-.4em;">}</span>}&nbsp;c1&nbsp;<span style="letter-spacing:-.4em;">{</span>{Q<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{P&nbsp;<span style="font-family: arial;">&and;</span>&nbsp;~b<span style="letter-spacing:-.4em;">}</span>}&nbsp;c2&nbsp;<span style="letter-spacing:-.4em;">{</span>{Q<span style="letter-spacing:-.4em;">}</span>}</td> <td class="infrulenamecol" rowspan="3"> (hoare_if) &nbsp; </td></tr> <tr class="infrulemiddle"> <td class="infrule"><hr /></td> </tr> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{P<span style="letter-spacing:-.4em;">}</span>}&nbsp;IFB&nbsp;b&nbsp;THEN&nbsp;c1&nbsp;ELSE&nbsp;c2&nbsp;FI&nbsp;<span style="letter-spacing:-.4em;">{</span>{Q<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> </table></center><center><table class="infrule"> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{P&nbsp;<span style="font-family: arial;">&and;</span>&nbsp;b<span style="letter-spacing:-.4em;">}</span>}&nbsp;c&nbsp;<span style="letter-spacing:-.4em;">{</span>{P<span style="letter-spacing:-.4em;">}</span>}</td> <td class="infrulenamecol" rowspan="3"> (hoare_while) &nbsp; </td></tr> <tr class="infrulemiddle"> <td class="infrule"><hr /></td> </tr> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{P<span style="letter-spacing:-.4em;">}</span>}&nbsp;WHILE&nbsp;b&nbsp;DO&nbsp;c&nbsp;END&nbsp;<span style="letter-spacing:-.4em;">{</span>{P&nbsp;<span style="font-family: arial;">&and;</span>&nbsp;~b<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> </table></center><center><table class="infrule"> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{P'<span style="letter-spacing:-.4em;">}</span>}&nbsp;c&nbsp;<span style="letter-spacing:-.4em;">{</span>{Q'<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> <tr class="infruleassumption"> <td class="infrule">P&nbsp;<span style="font-family: arial;">&#8702;</span>&nbsp;P'</td> <td></td> </td> <tr class="infruleassumption"> <td class="infrule">Q'&nbsp;<span style="font-family: arial;">&#8702;</span>&nbsp;Q</td> <td class="infrulenamecol" rowspan="3"> (hoare_consequence) &nbsp; </td></tr> <tr class="infrulemiddle"> <td class="infrule"><hr /></td> </tr> <tr class="infruleassumption"> <td class="infrule"><span style="letter-spacing:-.4em;">{</span>{P<span style="letter-spacing:-.4em;">}</span>}&nbsp;c&nbsp;<span style="letter-spacing:-.4em;">{</span>{Q<span style="letter-spacing:-.4em;">}</span>}</td> <td></td> </td> </table></center> In the next chapter, we'll see how these rules are used to prove that programs satisfy specifications of their behavior. </div> <div class="code code-tight"> <br/> <span class="comment">(*&nbsp;$Date:&nbsp;2014-02-27&nbsp;16:56:35&nbsp;-0500&nbsp;(Thu,&nbsp;27&nbsp;Feb&nbsp;2014)&nbsp;$&nbsp;*)</span><br/> <br/> </div> </div> <div id="footer"> <hr/><a href="coqindex.html">Index</a><hr/>This page has been generated by <a href="http://www.lix.polytechnique.fr/coq/">coqdoc</a> </div> </div> </body> </html>
docs/_includes/lists/secondary-info.html
andrew-waters/SASS-Material-Design-for-Bootstrap
<a href="#" class="no-decoration"> <i class="icon icon-md icon-inactive material-icons">info</i> </a>
web/assets/plugins/chosen/chosen-sprite@2x.html
ramireznoy/RealBoost
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /nifty/v2.5/plugins/chosen/chosen-sprite@2x.png was not found on this server.</p> </body></html>
js/lib/angular-1.2.32/docs/partials/api/ng/directive/ngFocus.html
souths/njy2
<a href='https://github.com/angular/angular.js/edit/v1.2.x/src/ng/directive/ngEventDirs.js?message=docs(ngFocus)%3A%20describe%20your%20change...#L379' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit">&nbsp;</i>Improve this Doc</a> <a href='https://github.com/angular/angular.js/tree/v1.2.32/src/ng/directive/ngEventDirs.js#L379' class='view-source pull-right btn btn-primary'> <i class="glyphicon glyphicon-zoom-in">&nbsp;</i>View Source </a> <header class="api-profile-header"> <h1 class="api-profile-header-heading">ngFocus</h1> <ol class="api-profile-header-structure naked-list step-list"> <li> - directive in module <a href="api/ng">ng</a> </li> </ol> </header> <div class="api-profile-description"> <p>Specify custom behavior on focus event.</p> <p>Note: As the <code>focus</code> event is executed synchronously when calling <code>input.focus()</code> AngularJS executes the expression using <code>scope.$evalAsync</code> if the event is fired during an <code>$apply</code> to ensure a consistent state.</p> </div> <div> <h2>Directive Info</h2> <ul> <li>This directive executes at priority level 0.</li> </ul> <h2 id="usage">Usage</h2> <div class="usage"> <ul> <li>as attribute: <pre><code>&lt;window, input, select, textarea, a&#10; ng-focus=&quot;&quot;&gt;&#10;...&#10;&lt;/window, input, select, textarea, a&gt;</code></pre> </li> </div> <section class="api-section"> <h3>Arguments</h3> <table class="variables-matrix input-arguments"> <thead> <tr> <th>Param</th> <th>Type</th> <th>Details</th> </tr> </thead> <tbody> <tr> <td> ngFocus </td> <td> <a href="" class="label type-hint type-hint-expression">expression</a> </td> <td> <p><a href="guide/expression">Expression</a> to evaluate upon focus. (<a href="guide/expression#-event-">Event object is available as <code>$event</code></a>)</p> </td> </tr> </tbody> </table> </section> <h2 id="example">Example</h2><p>See <a href="api/ng/directive/ngClick">ngClick</a></p> </div>
web/js/ext-js/docs/source/Line.html
ofertix/WebUIMonitor
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>The source code</title> <link href="../prettify/prettify.css" type="text/css" rel="stylesheet" /> <script type="text/javascript" src="../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-chart-series-Line'>/** </span> * @class Ext.chart.series.Line * @extends Ext.chart.series.Cartesian * * Creates a Line Chart. A Line Chart is a useful visualization technique to display quantitative information for different * categories or other real values (as opposed to the bar chart), that can show some progression (or regression) in the dataset. * As with all other series, the Line Series must be appended in the *series* Chart array configuration. See the Chart * documentation for more information. A typical configuration object for the line series could be: * * {@img Ext.chart.series.Line/Ext.chart.series.Line.png Ext.chart.series.Line chart series} * * var store = Ext.create('Ext.data.JsonStore', { * fields: ['name', 'data1', 'data2', 'data3', 'data4', 'data5'], * data: [ * {'name':'metric one', 'data1':10, 'data2':12, 'data3':14, 'data4':8, 'data5':13}, * {'name':'metric two', 'data1':7, 'data2':8, 'data3':16, 'data4':10, 'data5':3}, * {'name':'metric three', 'data1':5, 'data2':2, 'data3':14, 'data4':12, 'data5':7}, * {'name':'metric four', 'data1':2, 'data2':14, 'data3':6, 'data4':1, 'data5':23}, * {'name':'metric five', 'data1':27, 'data2':38, 'data3':36, 'data4':13, 'data5':33} * ] * }); * * Ext.create('Ext.chart.Chart', { * renderTo: Ext.getBody(), * width: 500, * height: 300, * animate: true, * store: store, * axes: [{ * type: 'Numeric', * position: 'bottom', * fields: ['data1'], * label: { * renderer: Ext.util.Format.numberRenderer('0,0') * }, * title: 'Sample Values', * grid: true, * minimum: 0 * }, { * type: 'Category', * position: 'left', * fields: ['name'], * title: 'Sample Metrics' * }], * series: [{ * type: 'line', * highlight: { * size: 7, * radius: 7 * }, * axis: 'left', * xField: 'name', * yField: 'data1', * markerCfg: { * type: 'cross', * size: 4, * radius: 4, * 'stroke-width': 0 * } * }, { * type: 'line', * highlight: { * size: 7, * radius: 7 * }, * axis: 'left', * fill: true, * xField: 'name', * yField: 'data3', * markerCfg: { * type: 'circle', * size: 4, * radius: 4, * 'stroke-width': 0 * } * }] * }); * * In this configuration we're adding two series (or lines), one bound to the `data1` * property of the store and the other to `data3`. The type for both configurations is * `line`. The `xField` for both series is the same, the name propert of the store. * Both line series share the same axis, the left axis. You can set particular marker * configuration by adding properties onto the markerConfig object. Both series have * an object as highlight so that markers animate smoothly to the properties in highlight * when hovered. The second series has `fill=true` which means that the line will also * have an area below it of the same color. * * **Note:** In the series definition remember to explicitly set the axis to bind the * values of the line series to. This can be done by using the `axis` configuration property. */ Ext.define('Ext.chart.series.Line', { /* Begin Definitions */ extend: 'Ext.chart.series.Cartesian', alternateClassName: ['Ext.chart.LineSeries', 'Ext.chart.LineChart'], requires: ['Ext.chart.axis.Axis', 'Ext.chart.Shape', 'Ext.draw.Draw', 'Ext.fx.Anim'], /* End Definitions */ type: 'line', alias: 'series.line', <span id='Ext-chart-series-Line-cfg-axis'> /** </span> * @cfg {String} axis * The position of the axis to bind the values to. Possible values are 'left', 'bottom', 'top' and 'right'. * You must explicitly set this value to bind the values of the line series to the ones in the axis, otherwise a * relative scale will be used. */ <span id='Ext-chart-series-Line-cfg-selectionTolerance'> /** </span> * @cfg {Number} selectionTolerance * The offset distance from the cursor position to the line series to trigger events (then used for highlighting series, etc). */ selectionTolerance: 20, <span id='Ext-chart-series-Line-cfg-showMarkers'> /** </span> * @cfg {Boolean} showMarkers * Whether markers should be displayed at the data points along the line. If true, * then the {@link #markerConfig} config item will determine the markers' styling. */ showMarkers: true, <span id='Ext-chart-series-Line-cfg-markerConfig'> /** </span> * @cfg {Object} markerConfig * The display style for the markers. Only used if {@link #showMarkers} is true. * The markerConfig is a configuration object containing the same set of properties defined in * the Sprite class. For example, if we were to set red circles as markers to the line series we could * pass the object: * &lt;pre&gt;&lt;code&gt; markerConfig: { type: 'circle', radius: 4, 'fill': '#f00' } &lt;/code&gt;&lt;/pre&gt; */ markerConfig: {}, <span id='Ext-chart-series-Line-cfg-style'> /** </span> * @cfg {Object} style * An object containing styles for the visualization lines. These styles will override the theme styles. * Some options contained within the style object will are described next. */ style: {}, <span id='Ext-chart-series-Line-cfg-smooth'> /** </span> * @cfg {Boolean/Number} smooth * If set to `true` or a non-zero number, the line will be smoothed/rounded around its points; otherwise * straight line segments will be drawn. * * A numeric value is interpreted as a divisor of the horizontal distance between consecutive points in * the line; larger numbers result in sharper curves while smaller numbers result in smoother curves. * * If set to `true` then a default numeric value of 3 will be used. Defaults to `false`. */ smooth: false, <span id='Ext-chart-series-Line-property-defaultSmoothness'> /** </span> * @private Default numeric smoothing value to be used when {@link #smooth} = true. */ defaultSmoothness: 3, <span id='Ext-chart-series-Line-cfg-fill'> /** </span> * @cfg {Boolean} fill * If true, the area below the line will be filled in using the {@link #style.eefill} and * {@link #style.opacity} config properties. Defaults to false. */ fill: false, constructor: function(config) { this.callParent(arguments); var me = this, surface = me.chart.surface, shadow = me.chart.shadow, i, l; Ext.apply(me, config, { highlightCfg: { 'stroke-width': 3 }, shadowAttributes: [{ &quot;stroke-width&quot;: 6, &quot;stroke-opacity&quot;: 0.05, stroke: 'rgb(0, 0, 0)', translate: { x: 1, y: 1 } }, { &quot;stroke-width&quot;: 4, &quot;stroke-opacity&quot;: 0.1, stroke: 'rgb(0, 0, 0)', translate: { x: 1, y: 1 } }, { &quot;stroke-width&quot;: 2, &quot;stroke-opacity&quot;: 0.15, stroke: 'rgb(0, 0, 0)', translate: { x: 1, y: 1 } }] }); me.group = surface.getGroup(me.seriesId); if (me.showMarkers) { me.markerGroup = surface.getGroup(me.seriesId + '-markers'); } if (shadow) { for (i = 0, l = this.shadowAttributes.length; i &lt; l; i++) { me.shadowGroups.push(surface.getGroup(me.seriesId + '-shadows' + i)); } } }, // @private makes an average of points when there are more data points than pixels to be rendered. shrink: function(xValues, yValues, size) { // Start at the 2nd point... var len = xValues.length, ratio = Math.floor(len / size), i = 1, xSum = 0, ySum = 0, xRes = [xValues[0]], yRes = [yValues[0]]; for (; i &lt; len; ++i) { xSum += xValues[i] || 0; ySum += yValues[i] || 0; if (i % ratio == 0) { xRes.push(xSum/ratio); yRes.push(ySum/ratio); xSum = 0; ySum = 0; } } return { x: xRes, y: yRes }; }, <span id='Ext-chart-series-Line-method-drawSeries'> /** </span> * Draws the series for the current chart. */ drawSeries: function() { var me = this, chart = me.chart, store = chart.substore || chart.store, surface = chart.surface, chartBBox = chart.chartBBox, bbox = {}, group = me.group, gutterX = chart.maxGutter[0], gutterY = chart.maxGutter[1], showMarkers = me.showMarkers, markerGroup = me.markerGroup, enableShadows = chart.shadow, shadowGroups = me.shadowGroups, shadowAttributes = me.shadowAttributes, smooth = me.smooth, lnsh = shadowGroups.length, dummyPath = [&quot;M&quot;], path = [&quot;M&quot;], markerIndex = chart.markerIndex, axes = [].concat(me.axis), shadowGroup, shadowBarAttr, xValues = [], yValues = [], storeIndices = [], numericAxis = true, axisCount = 0, onbreak = false, markerStyle = me.markerStyle, seriesStyle = me.seriesStyle, seriesLabelStyle = me.seriesLabelStyle, colorArrayStyle = me.colorArrayStyle, colorArrayLength = colorArrayStyle &amp;&amp; colorArrayStyle.length || 0, posHash = { 'left': 'right', 'right': 'left', 'top': 'bottom', 'bottom': 'top' }, isNumber = Ext.isNumber, seriesIdx = me.seriesIdx, shadows, shadow, shindex, fromPath, fill, fillPath, rendererAttributes, x, y, prevX, prevY, firstY, markerCount, i, j, ln, axis, ends, marker, markerAux, item, xValue, yValue, coords, xScale, yScale, minX, maxX, minY, maxY, line, animation, endMarkerStyle, endLineStyle, type, props, firstMarker, count, smoothPath, renderPath; //if store is empty then there's nothing to draw. if (!store || !store.getCount()) { return; } //prepare style objects for line and markers endMarkerStyle = Ext.apply(markerStyle, me.markerConfig); type = endMarkerStyle.type; delete endMarkerStyle.type; endLineStyle = Ext.apply(seriesStyle, me.style); //if no stroke with is specified force it to 0.5 because this is //about making *lines* if (!endLineStyle['stroke-width']) { endLineStyle['stroke-width'] = 0.5; } //If we're using a time axis and we need to translate the points, //then reuse the first markers as the last markers. if (markerIndex &amp;&amp; markerGroup &amp;&amp; markerGroup.getCount()) { for (i = 0; i &lt; markerIndex; i++) { marker = markerGroup.getAt(i); markerGroup.remove(marker); markerGroup.add(marker); markerAux = markerGroup.getAt(markerGroup.getCount() - 2); marker.setAttributes({ x: 0, y: 0, translate: { x: markerAux.attr.translation.x, y: markerAux.attr.translation.y } }, true); } } me.unHighlightItem(); me.cleanHighlights(); me.setBBox(); bbox = me.bbox; me.clipRect = [bbox.x, bbox.y, bbox.width, bbox.height]; chart.axes.each(function(axis) { //only apply position calculations to axes that affect this series //this means the axis in the position referred by this series and also //the axis in the other coordinate for this series. For example: (left, top|bottom), //or (top, left|right), etc. if (axis.position == me.axis || axis.position != posHash[me.axis]) { axisCount++; if (axis.type != 'Numeric') { numericAxis = false; return; } numericAxis = (numericAxis &amp;&amp; axis.type == 'Numeric'); if (axis) { ends = axis.calcEnds(); if (axis.position == 'top' || axis.position == 'bottom') { minX = ends.from; maxX = ends.to; } else { minY = ends.from; maxY = ends.to; } } } }); //If there's only one axis specified for a series, then we set the default type of the other //axis to a category axis. So in this case numericAxis, which would be true if both axes affecting //the series are numeric should be false. if (numericAxis &amp;&amp; axisCount == 1) { numericAxis = false; } // If a field was specified without a corresponding axis, create one to get bounds //only do this for the axis where real values are bound (that's why we check for //me.axis) if (me.xField &amp;&amp; !isNumber(minX)) { if (me.axis == 'bottom' || me.axis == 'top') { axis = Ext.create('Ext.chart.axis.Axis', { chart: chart, fields: [].concat(me.xField) }).calcEnds(); minX = axis.from; maxX = axis.to; } else if (numericAxis) { axis = Ext.create('Ext.chart.axis.Axis', { chart: chart, fields: [].concat(me.xField), forceMinMax: true }).calcEnds(); minX = axis.from; maxX = axis.to; } } if (me.yField &amp;&amp; !isNumber(minY)) { if (me.axis == 'right' || me.axis == 'left') { axis = Ext.create('Ext.chart.axis.Axis', { chart: chart, fields: [].concat(me.yField) }).calcEnds(); minY = axis.from; maxY = axis.to; } else if (numericAxis) { axis = Ext.create('Ext.chart.axis.Axis', { chart: chart, fields: [].concat(me.yField), forceMinMax: true }).calcEnds(); minY = axis.from; maxY = axis.to; } } if (isNaN(minX)) { minX = 0; xScale = bbox.width / (store.getCount() - 1); } else { //In case some person decides to set an axis' minimum and maximum //configuration properties to the same value, then fallback the //denominator to a &gt; 0 value. xScale = bbox.width / ((maxX - minX) || (store.getCount() - 1)); } if (isNaN(minY)) { minY = 0; yScale = bbox.height / (store.getCount() - 1); } else { //In case some person decides to set an axis' minimum and maximum //configuration properties to the same value, then fallback the //denominator to a &gt; 0 value. yScale = bbox.height / ((maxY - minY) || (store.getCount() - 1)); } store.each(function(record, i) { xValue = record.get(me.xField); yValue = record.get(me.yField); //skip undefined values if (typeof yValue == 'undefined' || (typeof yValue == 'string' &amp;&amp; !yValue)) { //&lt;debug warn&gt; if (Ext.isDefined(Ext.global.console)) { Ext.global.console.warn(&quot;[Ext.chart.series.Line] Skipping a store element with an undefined value at &quot;, record, xValue, yValue); } //&lt;/debug&gt; return; } // Ensure a value if (typeof xValue == 'string' || typeof xValue == 'object' //set as uniform distribution if the axis is a category axis. || (me.axis != 'top' &amp;&amp; me.axis != 'bottom' &amp;&amp; !numericAxis)) { xValue = i; } if (typeof yValue == 'string' || typeof yValue == 'object' //set as uniform distribution if the axis is a category axis. || (me.axis != 'left' &amp;&amp; me.axis != 'right' &amp;&amp; !numericAxis)) { yValue = i; } storeIndices.push(i); xValues.push(xValue); yValues.push(yValue); }, me); ln = xValues.length; if (ln &gt; bbox.width) { coords = me.shrink(xValues, yValues, bbox.width); xValues = coords.x; yValues = coords.y; } me.items = []; count = 0; ln = xValues.length; for (i = 0; i &lt; ln; i++) { xValue = xValues[i]; yValue = yValues[i]; if (yValue === false) { if (path.length == 1) { path = []; } onbreak = true; me.items.push(false); continue; } else { x = (bbox.x + (xValue - minX) * xScale).toFixed(2); y = ((bbox.y + bbox.height) - (yValue - minY) * yScale).toFixed(2); if (onbreak) { onbreak = false; path.push('M'); } path = path.concat([x, y]); } if ((typeof firstY == 'undefined') &amp;&amp; (typeof y != 'undefined')) { firstY = y; } // If this is the first line, create a dummypath to animate in from. if (!me.line || chart.resizing) { dummyPath = dummyPath.concat([x, bbox.y + bbox.height / 2]); } // When resizing, reset before animating if (chart.animate &amp;&amp; chart.resizing &amp;&amp; me.line) { me.line.setAttributes({ path: dummyPath }, true); if (me.fillPath) { me.fillPath.setAttributes({ path: dummyPath, opacity: 0.2 }, true); } if (me.line.shadows) { shadows = me.line.shadows; for (j = 0, lnsh = shadows.length; j &lt; lnsh; j++) { shadow = shadows[j]; shadow.setAttributes({ path: dummyPath }, true); } } } if (showMarkers) { marker = markerGroup.getAt(count++); if (!marker) { marker = Ext.chart.Shape[type](surface, Ext.apply({ group: [group, markerGroup], x: 0, y: 0, translate: { x: prevX || x, y: prevY || (bbox.y + bbox.height / 2) }, value: '&quot;' + xValue + ', ' + yValue + '&quot;' }, endMarkerStyle)); marker._to = { translate: { x: x, y: y } }; } else { marker.setAttributes({ value: '&quot;' + xValue + ', ' + yValue + '&quot;', x: 0, y: 0, hidden: false }, true); marker._to = { translate: { x: x, y: y } }; } } me.items.push({ series: me, value: [xValue, yValue], point: [x, y], sprite: marker, storeItem: store.getAt(storeIndices[i]) }); prevX = x; prevY = y; } if (path.length &lt;= 1) { //nothing to be rendered return; } if (smooth) { smoothPath = Ext.draw.Draw.smooth(path, isNumber(smooth) ? smooth : me.defaultSmoothness); } renderPath = smooth ? smoothPath : path; //Correct path if we're animating timeAxis intervals if (chart.markerIndex &amp;&amp; me.previousPath) { fromPath = me.previousPath; if (!smooth) { Ext.Array.erase(fromPath, 1, 2); } } else { fromPath = path; } // Only create a line if one doesn't exist. if (!me.line) { me.line = surface.add(Ext.apply({ type: 'path', group: group, path: dummyPath, stroke: endLineStyle.stroke || endLineStyle.fill }, endLineStyle || {})); //unset fill here (there's always a default fill withing the themes). me.line.setAttributes({ fill: 'none' }); if (!endLineStyle.stroke &amp;&amp; colorArrayLength) { me.line.setAttributes({ stroke: colorArrayStyle[seriesIdx % colorArrayLength] }, true); } if (enableShadows) { //create shadows shadows = me.line.shadows = []; for (shindex = 0; shindex &lt; lnsh; shindex++) { shadowBarAttr = shadowAttributes[shindex]; shadowBarAttr = Ext.apply({}, shadowBarAttr, { path: dummyPath }); shadow = chart.surface.add(Ext.apply({}, { type: 'path', group: shadowGroups[shindex] }, shadowBarAttr)); shadows.push(shadow); } } } if (me.fill) { fillPath = renderPath.concat([ [&quot;L&quot;, x, bbox.y + bbox.height], [&quot;L&quot;, bbox.x, bbox.y + bbox.height], [&quot;L&quot;, bbox.x, firstY] ]); if (!me.fillPath) { me.fillPath = surface.add({ group: group, type: 'path', opacity: endLineStyle.opacity || 0.3, fill: endLineStyle.fill || colorArrayStyle[seriesIdx % colorArrayLength], path: dummyPath }); } } markerCount = showMarkers &amp;&amp; markerGroup.getCount(); if (chart.animate) { fill = me.fill; line = me.line; //Add renderer to line. There is not unique record associated with this. rendererAttributes = me.renderer(line, false, { path: renderPath }, i, store); Ext.apply(rendererAttributes, endLineStyle || {}, { stroke: endLineStyle.stroke || endLineStyle.fill }); //fill should not be used here but when drawing the special fill path object delete rendererAttributes.fill; if (chart.markerIndex &amp;&amp; me.previousPath) { me.animation = animation = me.onAnimate(line, { to: rendererAttributes, from: { path: fromPath } }); } else { me.animation = animation = me.onAnimate(line, { to: rendererAttributes }); } //animate shadows if (enableShadows) { shadows = line.shadows; for(j = 0; j &lt; lnsh; j++) { if (chart.markerIndex &amp;&amp; me.previousPath) { me.onAnimate(shadows[j], { to: { path: renderPath }, from: { path: fromPath } }); } else { me.onAnimate(shadows[j], { to: { path: renderPath } }); } } } //animate fill path if (fill) { me.onAnimate(me.fillPath, { to: Ext.apply({}, { path: fillPath, fill: endLineStyle.fill || colorArrayStyle[seriesIdx % colorArrayLength] }, endLineStyle || {}) }); } //animate markers if (showMarkers) { count = 0; for(i = 0; i &lt; ln; i++) { if (me.items[i]) { item = markerGroup.getAt(count++); if (item) { rendererAttributes = me.renderer(item, store.getAt(i), item._to, i, store); me.onAnimate(item, { to: Ext.apply(rendererAttributes, endMarkerStyle || {}) }); } } } for(; count &lt; markerCount; count++) { item = markerGroup.getAt(count); item.hide(true); } } } else { rendererAttributes = me.renderer(me.line, false, { path: renderPath, hidden: false }, i, store); Ext.apply(rendererAttributes, endLineStyle || {}, { stroke: endLineStyle.stroke || endLineStyle.fill }); //fill should not be used here but when drawing the special fill path object delete rendererAttributes.fill; me.line.setAttributes(rendererAttributes, true); //set path for shadows if (enableShadows) { shadows = me.line.shadows; for(j = 0; j &lt; lnsh; j++) { shadows[j].setAttributes({ path: renderPath }, true); } } if (me.fill) { me.fillPath.setAttributes({ path: fillPath }, true); } if (showMarkers) { count = 0; for(i = 0; i &lt; ln; i++) { if (me.items[i]) { item = markerGroup.getAt(count++); if (item) { rendererAttributes = me.renderer(item, store.getAt(i), item._to, i, store); item.setAttributes(Ext.apply(endMarkerStyle || {}, rendererAttributes || {}), true); } } } for(; count &lt; markerCount; count++) { item = markerGroup.getAt(count); item.hide(true); } } } if (chart.markerIndex) { if (me.smooth) { Ext.Array.erase(path, 1, 2); } else { Ext.Array.splice(path, 1, 0, path[1], path[2]); } me.previousPath = path; } me.renderLabels(); me.renderCallouts(); }, // @private called when a label is to be created. onCreateLabel: function(storeItem, item, i, display) { var me = this, group = me.labelsGroup, config = me.label, bbox = me.bbox, endLabelStyle = Ext.apply(config, me.seriesLabelStyle); return me.chart.surface.add(Ext.apply({ 'type': 'text', 'text-anchor': 'middle', 'group': group, 'x': item.point[0], 'y': bbox.y + bbox.height / 2 }, endLabelStyle || {})); }, // @private called when a label is to be created. onPlaceLabel: function(label, storeItem, item, i, display, animate) { var me = this, chart = me.chart, resizing = chart.resizing, config = me.label, format = config.renderer, field = config.field, bbox = me.bbox, x = item.point[0], y = item.point[1], radius = item.sprite.attr.radius, bb, width, height; label.setAttributes({ text: format(storeItem.get(field)), hidden: true }, true); if (display == 'rotate') { label.setAttributes({ 'text-anchor': 'start', 'rotation': { x: x, y: y, degrees: -45 } }, true); //correct label position to fit into the box bb = label.getBBox(); width = bb.width; height = bb.height; x = x &lt; bbox.x? bbox.x : x; x = (x + width &gt; bbox.x + bbox.width)? (x - (x + width - bbox.x - bbox.width)) : x; y = (y - height &lt; bbox.y)? bbox.y + height : y; } else if (display == 'under' || display == 'over') { //TODO(nicolas): find out why width/height values in circle bounding boxes are undefined. bb = item.sprite.getBBox(); bb.width = bb.width || (radius * 2); bb.height = bb.height || (radius * 2); y = y + (display == 'over'? -bb.height : bb.height); //correct label position to fit into the box bb = label.getBBox(); width = bb.width/2; height = bb.height/2; x = x - width &lt; bbox.x? bbox.x + width : x; x = (x + width &gt; bbox.x + bbox.width) ? (x - (x + width - bbox.x - bbox.width)) : x; y = y - height &lt; bbox.y? bbox.y + height : y; y = (y + height &gt; bbox.y + bbox.height) ? (y - (y + height - bbox.y - bbox.height)) : y; } if (me.chart.animate &amp;&amp; !me.chart.resizing) { label.show(true); me.onAnimate(label, { to: { x: x, y: y } }); } else { label.setAttributes({ x: x, y: y }, true); if (resizing) { me.animation.on('afteranimate', function() { label.show(true); }); } else { label.show(true); } } }, //@private Overriding highlights.js highlightItem method. highlightItem: function() { var me = this; me.callParent(arguments); if (this.line &amp;&amp; !this.highlighted) { if (!('__strokeWidth' in this.line)) { this.line.__strokeWidth = this.line.attr['stroke-width'] || 0; } if (this.line.__anim) { this.line.__anim.paused = true; } this.line.__anim = Ext.create('Ext.fx.Anim', { target: this.line, to: { 'stroke-width': this.line.__strokeWidth + 3 } }); this.highlighted = true; } }, //@private Overriding highlights.js unHighlightItem method. unHighlightItem: function() { var me = this; me.callParent(arguments); if (this.line &amp;&amp; this.highlighted) { this.line.__anim = Ext.create('Ext.fx.Anim', { target: this.line, to: { 'stroke-width': this.line.__strokeWidth } }); this.highlighted = false; } }, //@private called when a callout needs to be placed. onPlaceCallout : function(callout, storeItem, item, i, display, animate, index) { if (!display) { return; } var me = this, chart = me.chart, surface = chart.surface, resizing = chart.resizing, config = me.callouts, items = me.items, prev = i == 0? false : items[i -1].point, next = (i == items.length -1)? false : items[i +1].point, cur = [+item.point[0], +item.point[1]], dir, norm, normal, a, aprev, anext, offsetFromViz = config.offsetFromViz || 30, offsetToSide = config.offsetToSide || 10, offsetBox = config.offsetBox || 3, boxx, boxy, boxw, boxh, p, clipRect = me.clipRect, bbox = { width: config.styles.width || 10, height: config.styles.height || 10 }, x, y; //get the right two points if (!prev) { prev = cur; } if (!next) { next = cur; } a = (next[1] - prev[1]) / (next[0] - prev[0]); aprev = (cur[1] - prev[1]) / (cur[0] - prev[0]); anext = (next[1] - cur[1]) / (next[0] - cur[0]); norm = Math.sqrt(1 + a * a); dir = [1 / norm, a / norm]; normal = [-dir[1], dir[0]]; //keep the label always on the outer part of the &quot;elbow&quot; if (aprev &gt; 0 &amp;&amp; anext &lt; 0 &amp;&amp; normal[1] &lt; 0 || aprev &lt; 0 &amp;&amp; anext &gt; 0 &amp;&amp; normal[1] &gt; 0) { normal[0] *= -1; normal[1] *= -1; } else if (Math.abs(aprev) &lt; Math.abs(anext) &amp;&amp; normal[0] &lt; 0 || Math.abs(aprev) &gt; Math.abs(anext) &amp;&amp; normal[0] &gt; 0) { normal[0] *= -1; normal[1] *= -1; } //position x = cur[0] + normal[0] * offsetFromViz; y = cur[1] + normal[1] * offsetFromViz; //box position and dimensions boxx = x + (normal[0] &gt; 0? 0 : -(bbox.width + 2 * offsetBox)); boxy = y - bbox.height /2 - offsetBox; boxw = bbox.width + 2 * offsetBox; boxh = bbox.height + 2 * offsetBox; //now check if we're out of bounds and invert the normal vector correspondingly //this may add new overlaps between labels (but labels won't be out of bounds). if (boxx &lt; clipRect[0] || (boxx + boxw) &gt; (clipRect[0] + clipRect[2])) { normal[0] *= -1; } if (boxy &lt; clipRect[1] || (boxy + boxh) &gt; (clipRect[1] + clipRect[3])) { normal[1] *= -1; } //update positions x = cur[0] + normal[0] * offsetFromViz; y = cur[1] + normal[1] * offsetFromViz; //update box position and dimensions boxx = x + (normal[0] &gt; 0? 0 : -(bbox.width + 2 * offsetBox)); boxy = y - bbox.height /2 - offsetBox; boxw = bbox.width + 2 * offsetBox; boxh = bbox.height + 2 * offsetBox; if (chart.animate) { //set the line from the middle of the pie to the box. me.onAnimate(callout.lines, { to: { path: [&quot;M&quot;, cur[0], cur[1], &quot;L&quot;, x, y, &quot;Z&quot;] } }); //set component position if (callout.panel) { callout.panel.setPosition(boxx, boxy, true); } } else { //set the line from the middle of the pie to the box. callout.lines.setAttributes({ path: [&quot;M&quot;, cur[0], cur[1], &quot;L&quot;, x, y, &quot;Z&quot;] }, true); //set component position if (callout.panel) { callout.panel.setPosition(boxx, boxy); } } for (p in callout) { callout[p].show(true); } }, isItemInPoint: function(x, y, item, i) { var me = this, items = me.items, tolerance = me.selectionTolerance, result = null, prevItem, nextItem, prevPoint, nextPoint, ln, x1, y1, x2, y2, xIntersect, yIntersect, dist1, dist2, dist, midx, midy, sqrt = Math.sqrt, abs = Math.abs; nextItem = items[i]; prevItem = i &amp;&amp; items[i - 1]; if (i &gt;= ln) { prevItem = items[ln - 1]; } prevPoint = prevItem &amp;&amp; prevItem.point; nextPoint = nextItem &amp;&amp; nextItem.point; x1 = prevItem ? prevPoint[0] : nextPoint[0] - tolerance; y1 = prevItem ? prevPoint[1] : nextPoint[1]; x2 = nextItem ? nextPoint[0] : prevPoint[0] + tolerance; y2 = nextItem ? nextPoint[1] : prevPoint[1]; dist1 = sqrt((x - x1) * (x - x1) + (y - y1) * (y - y1)); dist2 = sqrt((x - x2) * (x - x2) + (y - y2) * (y - y2)); dist = Math.min(dist1, dist2); if (dist &lt;= tolerance) { return dist == dist1? prevItem : nextItem; } return false; }, // @private toggle visibility of all series elements (markers, sprites). toggleAll: function(show) { var me = this, i, ln, shadow, shadows; if (!show) { Ext.chart.series.Line.superclass.hideAll.call(me); } else { Ext.chart.series.Line.superclass.showAll.call(me); } if (me.line) { me.line.setAttributes({ hidden: !show }, true); //hide shadows too if (me.line.shadows) { for (i = 0, shadows = me.line.shadows, ln = shadows.length; i &lt; ln; i++) { shadow = shadows[i]; shadow.setAttributes({ hidden: !show }, true); } } } if (me.fillPath) { me.fillPath.setAttributes({ hidden: !show }, true); } }, // @private hide all series elements (markers, sprites). hideAll: function() { this.toggleAll(false); }, // @private hide all series elements (markers, sprites). showAll: function() { this.toggleAll(true); } });</pre> </body> </html>
docs/details/w2grid.mergeChanges.html
bisone/bisone-w2ui
Merges user changes into the records array. <div class="definition"> mergeChanges() </div> Returns <i>undefined</i>. <h4>Description</h4> This method will only work if you define inline editing in the grid and there are changes that user entered. All changes are tracked in the <span class="method">changes</span> object, which becomes part of the record in the <a href="w2grid.records" class="method">.records</a> array. The record will also have <span class="method">changed</span> indicate if original record was changed. <div style="height: 10px"></div> You can get all the changes by calling <a href="w2grid.getChanges" class="method">.getChanges()</a> method. <div style="height: 10px"></div> If you have following grid: <textarea class="javascript"> $('#grid').w2grid({ name : 'grid', columns: [ { field: 'recid', caption: 'ID', size: '50px' }, { field: 'lname', caption: 'Last Name', size: '30%', editable: { type: 'text' } }, { field: 'fname', caption: 'First Name', size: '30%', editable: { type: 'text' } }, { field: 'email', caption: 'Email', size: '40%', editable: { type: 'text' } }, { field: 'sdate', caption: 'End Date', size: '120px', editable: { type: 'date' } } ], records: [ { recid: 1, fname: 'John', lname: 'doe', email: 'vitali@gmail.com', sdate: '1/3/2012' }, { recid: 2, fname: 'Stuart', lname: 'Motzart', email: 'jdoe@gmail.com', sdate: '2/4/2012' }, { recid: 3, fname: 'Jin', lname: 'Franson', email: '--', sdate: '4/23/2012' }, { recid: 4, fname: 'Susan', lname: 'Ottie', email: 'jdoe@gmail.com', sdate: '5/3/2012' }, { recid: 5, fname: 'Kelly', lname: 'Silver', email: 'jdoe@gmail.com', sdate: '4/3/2012' }, { recid: 6, fname: 'Francis', lname: 'Gatos', email: 'vitali@gmail.com', sdate: '2/5/2012' } ] }); </textarea> And user changed records, you can <textarea class="javascript"> var changes = w2ui.grid.getChanges(); w2ui.grid.mergeChanges(); console.log('Changes werer', changes); </textarea>
app/locale/en_US/template/email/pws_productqa/product_qa_answer.html
dmsherazi/magento-product-qa
<!--@subject Your question regarding {{var product_name}} @--> <style type="text/css"> body,td { color:#2f2f2f; font:11px/1.35em Verdana, Arial, Helvetica, sans-serif; } </style> <div style="font:11px/1.35em Verdana, Arial, Helvetica, sans-serif;"> <table cellspacing="0" cellpadding="0" border="0" width="98%" style="margin-top:10px; font:11px/1.35em Verdana, Arial, Helvetica, sans-serif; margin-bottom:10px;"> <tr> <td align="center" valign="top"> <!-- [ header starts here] --> <table cellspacing="0" cellpadding="0" border="0" width="650"> <tr> <td valign="top"> <p><a href="{{store url=""}}" style="color:#1E7EC8;"><img src="{{skin url="images/logo_email.gif" _area='frontend'}}" alt="Magento" border="0"/></a></p></td> </tr> </table> <!-- [ middle starts here] --> <table cellspacing="0" cellpadding="0" border="0" width="650"> <tr> <td valign="top"> <p><strong>Dear {{htmlescape var=$customer_name}},</strong>,<br/> Here is the answer to your question posted on {{var date_posted}} regarding product {{var product_name}} .</p> <p> <strong>Question: </strong><br /> {{htmlescape var=$question}} </p> <p> <strong>Answer: </strong><br /> {{htmlescape var=$answer}} </p> <p>Thank you,<br/><strong>{{var store_name}}</strong></p> </td> </tr> </table> </td> </tr> </table> </div>
_test/jekyll/expected/blog/2013/11/11/introduction-to-the-avalara-avatax-api/index.html
JoeSava/developer-dot
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="robots" content="index,follow"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Developer : Introduction to the Avalara AvaTax API</title> <meta name="description" content=""> <meta property="og:title" content="Home"/> <meta property="og:type" content="article"/> <meta property="og:url" content="http://developer.avalara.com/"/> <meta property="og:site_name" content="Avalara Developer Network"/> <meta property="og:description" content="Avalara AvaTax Accurate and easy sales tax calculation Automatically tie your non-taxable transactions directly to the correct exemption or reseller certificate. Determine accurate taxability & duties for millions of products and services in over 100 countries."/> <link rel="apple-touch-icon" sizes="57x57" href="/public/images/favicon/apple-icon-57x57.png"> <link rel="apple-touch-icon" sizes="60x60" href="/public/images/favicon/apple-icon-60x60.png"> <link rel="apple-touch-icon" sizes="72x72" href="/public/images/favicon/apple-icon-72x72.png"> <link rel="apple-touch-icon" sizes="76x76" href="/public/images/favicon/apple-icon-76x76.png"> <link rel="apple-touch-icon" sizes="114x114" href="/public/images/favicon/apple-icon-114x114.png"> <link rel="apple-touch-icon" sizes="120x120" href="/public/images/favicon/apple-icon-120x120.png"> <link rel="apple-touch-icon" sizes="144x144" href="/public/images/favicon/apple-icon-144x144.png"> <link rel="apple-touch-icon" sizes="152x152" href="/public/images/favicon/apple-icon-152x152.png"> <link rel="apple-touch-icon" sizes="180x180" href="/public/images/favicon/apple-icon-180x180.png"> <link rel="icon" type="image/png" sizes="192x192" href="/public/images/favicon/android-icon-192x192.png"> <link rel="icon" type="image/png" sizes="32x32" href="/public/images/favicon/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="96x96" href="/public/images/favicon/favicon-96x96.png"> <link rel="icon" type="image/png" sizes="16x16" href="/public/images/favicon/favicon-16x16.png"> <link rel="manifest" href="/public/images/favicon/manifest.json"> <meta name="msapplication-TileColor" content="#ffffff "> <meta name="msapplication-TileImage" content="/public/images/favicon/ms-icon-144x144.png"> <meta name="theme-color" content="#ffffff "> <link rel="stylesheet" href="/public/css/style.css"> </head> <body id="top" data-spy="scroll" data-target="#bootstrap-scrollspy" data-product=avaTax> <header> <div class="pageTitle"> <a href="/"> <img src="/public/images/Avalara_logo.svg" alt="Avalara Developer Network"> <span>Developer</span> </a> <span class="slash">/&nbsp;</span><a href="/avatax">avaTax</a> </div> <nav class="navbar navbar-default navbar-static"> <div class="navbar-header"> <button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target=".js-navbar-collapse"> <span>Menu</span> </button> </div> <div class="collapse navbar-collapse js-navbar-collapse"> <ul class="nav navbar-nav "> <li class="home"><a href="/"><span class="text-uppercase">Welcome</span></a></li> <li class="apis visible-xs-block"><a href="/avalara-apis"><span class="text-uppercase">API</span>s</a></li> <li class="apis dropdown dropdown-large hidden-xs"> <a class="dropdown-toggle" data-toggle="dropdown"><span class="text-uppercase">API</span>s <i class="caret"></i></a> <div class="dropdown-menu dropdown-menu-large"> <div class="row"> <div class="col-md-12"><a href="/avalara-apis">APIs overview</a></div> </div> <div class="row"> <div class="col-sm-8"> <h2>Tax calculation</h2> <h4>Avalara AvaTax</h4> <ul class="pipe"> <li><a href="/avatax">Overview</a></li> <li><a href="/avatax/use-cases">Use cases</a></li> <li><a href="/avatax/api-reference/tax/v1">API references</a></li> <li><a href="/avatax/get-started">Set up your sandbox</a></li> <li><a href="/avatax/testing-your-integration">Test your integration</a></li> <li><a href="/avatax/certification">Integration checklists</a></li> </ul> <h4>Avalara Communications</h4> <ul class="pipe"> <li><a href="/communications">Overview</a></li> <li><a href="/communications/api-reference/saas/soap">API references</a></li> <li><a href="/communications/certification">Integration checklists</a></li> </ul> <h4>Avalara Excise</h4> <ul class="pipe"> <li><a href="/excise">Overview</a></li> <li><a href="/excise/api-reference/tax-determination/v5_18_0">API references</a></li> <li><a href="/excise/certification">Integration checklists</a></li> </ul> <h4>Avalara LandedCost</h4> <ul class="pipe"> <li><a href="/landedcost">Overview</a></li> <li><a href="/landedcost/api-reference/v3">API references</a></li> </ul> </div> <div class="col-sm-4"> <h2>Compliance document management</h2> <h4>Avalara CertCapture</h4> <ul class="pipe"> <li><a href="/certcapture">Overview</a></li> <li><a href="http://docs.certcapture6xrest.apiary.io/">API references</a></li> <li><a href="/certcapture/certification">Integration checklists</a></li> </ul> <h2>Returns &amp; filing</h2> <h4>Avalara TrustFile</h4> <ul class="pipe"> <li><a href="/trustfile">Overview</a></li> <li><a href="/trustfile/api-reference/core/v3">API references</a></li> </ul> </div> </div> </div> </li> <li class="certification"><a href="/certification"><span class="text-uppercase">Become Certified</span></a></li> <li class="resources dropdown dropdown-large hidden-xs"> <a class="dropdown-toggle" data-toggle="dropdown"><span class="text-uppercase">Resources</span> <b class="caret"></b></a> <ul class="dropdown-menu dropdown-menu-large"> <li><a href="/blog">Developer Blog</a></li> <li><a href="/resources/preferred-developers">Preferred developers</a></li> <li><a href="https://community.avalara.com/avalara/category_sets/developers">Help Forum</a></li> </ul> </li> <li class="resources visible-xs-block"><a href="/blog"><span class="text-uppercase">Developer Blog</span></a></li> <li class="resources visible-xs-block"><a href="/resources/preferred-developers"><span class="text-uppercase">Preferred developers</span></a></li> <li class="resources visible-xs-block"><a href="https://community.avalara.com/avalara/category_sets/developers"><span class="text-uppercase">Help Forum</span></a></li> <li class="resources visible-xs-block"><a href="/search"><span class="text-uppercase">Search</span></a></li> <li class="hdr-search-icon hidden-xs"> <i class="mouse glyphicon glyphicon-search mouse"></i> </li> <form class="hdr-search-form horizontal hidden-xs hidden"> <div class="row"> <div class="col-md-9"><label><input type="checkbox" id="filterSite"> Search entire site</label></div> <div class="col-md-3"> <button type="button" class="close" aria-label="Close"><span>&times;</span></button> </div> </div> <div class="row"> <div class="form-group col-md-9"> <input class="form-control" type="search" placeholder="Search Developer / Avatax" > <span class="form-control-feedback">!</span> </div> <div class="form-group col-md-3"> <input type="submit" class="btn btn-primary" value="Search"> </div> </div> </form> </ul> </div> </nav> </header> <div class="container-fluid blog"> <section class="row padding-sides"> <main class="col-md-12"> <div class="breadcrumbs blog"> <div class="col-md-12"> <ul class="pipe"> <li class="text-uppercase">Resources</li> <li class="text-uppercase"><a href="/blog">Developer Blog</a></li> <li class="text-uppercase">Introduction to the Avalara AvaTax API</li> </ul> </div> </div> <div class="half"> <h1>Introduction to the Avalara AvaTax API</h1> <p class="byline">By seanrust | November 11, 2013</p> <p class="blog-content"><p>Anya Stettler has put together a nice video overview of the Avalara AvaTax API. It’s a great place to start learning the details you’ll need for a good integration.</p> <iframe src="//www.youtube.com/embed/R0WUijv8xKk?rel=0" width="610" height="343"></iframe> <p>To find out more about the business use cases and features you should be thinking about, check out our <a href="/avatax/certification">Integration Checklist.</a></p> </p> <p class="btn-callout"><a href="/blog" role="button">Back to posts</a></p> </div> </main> </section> </div> <footer class="navbar navbar-default"> <ul class="social"> <li class="twitter"><a href="https://twitter.com/Avalara">Twitter</a></li> <li class="facebook"><a href="https://www.facebook.com/avalara">Facebook</a></li> <li class="linkedin"><a href="https://www.linkedin.com/company/avalara">LinkedIn</a></li> <li class="youtube"><a href="https://www.youtube.com/user/Avalara1">Youtube</a></li> </ul> <ul class="github"> <li><a href="https://github.com/Avalara/developer-dot/edit/master/_posts/2013-11-11-introduction-to-the-avalara-avatax-api.md">Edit this page on GitHub</a></li> </ul> <ul class="global"> <li><a href="https://www.avalara.com/"><span class="icon-sphere"></span>Avalara.com</a></li> <li><a href="https://help.avalara.com/"><span class="icon-help"></span>Help Center</a></li> </ul> <ul class="legal"> <li>&copy; Avalara, Inc. All rights reserved</li> <li><a href="https://www.avalara.com/site-terms/">Terms of use</a></li> <li><a href="https://www.avalara.com/privacy-policy/">Privacy Policy</a></li> </ul> </footer> <script src="/public/js/vendor/jquery-2.2.4.min.js"></script> <script src="/public/js/vendor/bootstrap.min.js"></script> <script src="/public/js/site.js"></script> <script src='/public/js/vendor/aws-sdk-2.5.3.min.js'></script> <script>AWS.config.region = 'us-west-2';</script> <!-- Google Tag Manager --> <noscript> <iframe src="//www.googletagmanager.com/ns.html?id=GTM-MKB5LP" height="0" width="0" style="display:none;visibility:hidden"></iframe> </noscript> <script>(function(w, d, s, l, i) { w[l] = w[l] || []; w[l].push({ 'gtm.start': new Date().getTime(), event: 'gtm.js' }); var f = d.getElementsByTagName(s)[0], j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src = '//www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f); })(window, document, 'script', 'dataLayer', 'GTM-MKB5LP');</script> <!-- End Google Tag Manager --> </body> </html>
examples/basic/buttons.css
spite/ccapture.js
.button { display: inline-block; padding: 7px 9px; font-size: inherit; color: #3C3C3D; text-shadow: 1px 1px 0 #FFFFFF; background: #ECECEC; white-space: nowrap; overflow: visible; cursor: pointer; text-decoration: none; border: 1px solid #CACACA; -webkit-border-radius: 2px; -moz-border-radius: 2px; -webkit-background-clip: padding-box; border-radius: 2px; outline: none; position: relative; zoom: 1; *display: inline; } .button.primary { font-weight: bold } .button:hover { color: #FFFFFF; border-color: #388AD4; text-decoration: none; text-shadow: -1px -1px 0 rgba(0,0,0,0.3); background-position: 0 -40px; background-color: #2D7DC5; } .button:active, .button.active { background-position: 0 -81px; border-color: #347BBA; background-color: #0F5EA2; color: #FFFFFF; text-shadow: none; } .button:active { top: 1px } .button.negative:hover { color: #FFFFFF; background-position: 0 -121px; background-color: #D84743; border-color: #911D1B; } .button.negative:active, .button.negative.active { background-position: 0 -161px; background-color: #A5211E; border-color: #911D1B; } .button.pill { -webkit-border-radius: 19px; -moz-border-radius: 19px; border-radius: 19px; padding: 6px 12px; } .button.left { -webkit-border-bottom-right-radius: 0px; -webkit-border-top-right-radius: 0px; -moz-border-radius-bottomright: 0px; -moz-border-radius-topright: 0px; border-bottom-right-radius: 0px; border-top-right-radius: 0px; margin-right: 0px; } .button.middle { margin-right: 0px; margin-left: 0px; -webkit-border-radius: 0px; -moz-border-radius: 0px; border-radius: 0px; border-left: none; } .button.right { -webkit-border-bottom-left-radius: 0px; -webkit-border-top-left-radius: 0px; -moz-border-radius-bottomleft: 0px; -moz-border-radius-topleft: 0px; border-top-left-radius: 0px; border-bottom-left-radius: 0px; margin-left: 0px; border-left: none;} .button.left:active, .button.middle:active, .button.right:active { top: 0px } .button.big { font-size: 16px; padding: 7px 16px; } .button span.icon { display: inline-block; width: 14px; height: 12px; margin: auto 7px auto auto; position: relative; top: 1px; } .big.button span.icon { top: 0px } .button span.icon.book { background-position: 0 0 } .button:hover span.icon.book { background-position: 0 -15px } .button span.icon.calendar { background-position: 0 -30px } .button:hover span.icon.calendar { background-position: 0 -45px } .button span.icon.chat { background-position: 0 -60px } .button:hover span.icon.chat { background-position: 0 -75px } .button span.icon.check { background-position: 0 -90px } .button:hover span.icon.check { background-position: 0 -103px } .button span.icon.clock { background-position: 0 -116px } .button:hover span.icon.clock { background-position: 0 -131px } .button span.icon.cog { background-position: 0 -146px } .button:hover span.icon.cog { background-position: 0 -161px } .button span.icon.comment { background-position: 0 -176px } .button:hover span.icon.comment { background-position: 0 -190px } .button span.icon.cross { background-position: 0 -204px } .button:hover span.icon.cross { background-position: 0 -219px } .button span.icon.downarrow { background-position: 0 -234px } .button:hover span.icon.downarrow { background-position: 0 -249px } .button span.icon.fork { background-position: 0 -264px } .button:hover span.icon.fork { background-position: 0 -279px } .button span.icon.heart { background-position: 0 -294px } .button:hover span.icon.heart { background-position: 0 -308px } .button span.icon.home { background-position: 0 -322px } .button:hover span.icon.home { background-position: 0 -337px } .button span.icon.key { background-position: 0 -352px } .button:hover span.icon.key { background-position: 0 -367px } .button span.icon.leftarrow { background-position: 0 -382px } .button:hover span.icon.leftarrow { background-position: 0 -397px } .button span.icon.lock { background-position: 0 -412px } .button:hover span.icon.lock { background-position: 0 -427px } .button span.icon.loop { background-position: 0 -442px } .button:hover span.icon.loop { background-position: 0 -457px } .button span.icon.magnifier { background-position: 0 -472px } .button:hover span.icon.magnifier { background-position: 0 -487px } .button span.icon.mail { background-position: 0 -502px } .button:hover span.icon.mail { background-position: 0 -514px } .button span.icon.move { background-position: 0 -526px } .button:hover span.icon.move { background-position: 0 -541px } .button span.icon.pen { background-position: 0 -556px } .button:hover span.icon.pen { background-position: 0 -571px } .button span.icon.pin { background-position: 0 -586px } .button:hover span.icon.pin { background-position: 0 -601px } .button span.icon.plus { background-position: 0 -616px } .button:hover span.icon.plus { background-position: 0 -631px } .button span.icon.reload { background-position: 0 -646px } .button:hover span.icon.reload { background-position: 0 -660px } .button span.icon.rightarrow { background-position: 0 -674px } .button:hover span.icon.rightarrow { background-position: 0 -689px } .button span.icon.rss { background-position: 0 -704px } .button:hover span.icon.rss { background-position: 0 -719px } .button span.icon.tag { background-position: 0 -734px } .button:hover span.icon.tag { background-position: 0 -749px } .button span.icon.trash { background-position: 0 -764px } .button:hover span.icon.trash { background-position: 0 -779px } .button span.icon.unlock { background-position: 0 -794px } .button:hover span.icon.unlock { background-position: 0 -809px } .button span.icon.uparrow { background-position: 0 -824px } .button:hover span.icon.uparrow { background-position: 0 -839px } .button span.icon.user { background-position: 0 -854px } .button:hover span.icon.user { background-position: 0 -869px }
db/seeds/demo/layouts/login.layout.html
ShinjiTanimoto/shirasagi
<html> <head> <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=yes,minimum-scale=1.0,maximum-scale=2.0"> <link href="/css/style.css" media="all" rel="stylesheet" /> <script src="/js/common.js"></script> <!--[if lt IE 9]> <script src="/js/selectivizr.js"></script> <script src="/js/html5shiv.js"></script> <![endif]--> </head> <body> <div id="page"> {{ part "tool" }} <div class="translate-wrap"> <div class="translate-box"> {{ part "translate" }} </div> </div> {{ part "head" }} <div class="search-wrap"> {{ part "search" }} </div> {{ part "navi" }} <div id="wrap"> {{ part "breadcrumb" }} <div id="main" class="one"> <header><h1 id="ss-page-name">#{page_name}</h1></header> {{ yield }} <div class="reset_password"> <p>自治体サンプル用アカウント: member@example.jp / pass123</p> <p>パスワードをお忘れの場合は、<a href="/registration/reset_password/">こちら</a>のリンクからパスワードを再設定してください。</p> <p>ユーザー登録がまだの方は、<a href="/registration/">こちら</a>のリンクからユーザー登録を行ってください。</p> </div> {{ part "page-top" }} </div> </div> <section id="chat"> <div class="chat-close"> <p>チャットボット</p> </div> <div class="chat-open"> <header><h2>チャットボット</h2><span class="close-btn"><img src="/img/chat-close.png" alt="閉じる" /></span></header> {{ part "bot" }} </div> </section> {{ part "foot" }} </div> </body> </html>
server/2014/05/11/general-mysql-resources.html
lanacon/lanacon.github.io
<!DOCTYPE html> <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" /> <!--[if lte IE 9]><meta http-equiv="refresh" content="0;url=/ie.html"><![endif]--> <title>MySQL常用资源 | 尹亚坤的博客</title> <meta name="author" content="尹亚坤"> <meta name="keywords" content="MySQL"> <link rel="shortcut icon" href="http://ww1.sinaimg.cn/large/7f5ba233gw1exmmqayproj20u00k00wr.jpg" /> <link rel="stylesheet" type="text/css" href="/assets/css/style.css"> <link href="/pages/rss.xml" rel="alternate" title="尹亚坤的博客" type="application/atom+xml"> </head> <body> <aside id="sidebar"> <nav id="tags"> <a href="/index.html" id="avatar" style="background-image:url(http://ww1.sinaimg.cn/large/7f5ba233gw1exmmqayproj20u00k00wr.jpg)"></a> <ul id="tags__ul"> <li id="pl__all" class="tags__li tags-btn active">全部</li> <li id="技术" class="tags__li tags-btn">技术</li> <li id="资源" class="tags__li tags-btn">资源</li> <li id="生活" class="tags__li tags-btn">生活</li> <li id="读书" class="tags__li tags-btn">读书</li> </ul> <div id="tags__bottom"> <a href="mailto:yinyakun123@126.com" id="icon-email" class="tags-btn fontello"></a> <a href="/pages/rss.xml" id="icon-feed" class="tags-btn fontello"></a> </div> </nav> <!-- end #tags --> <div id="posts-list"> <form action="" id="search-form"> <a href="/index.html" id="mobile-avatar" style="background-image:url(http://ww1.sinaimg.cn/large/7f5ba233gw1exmmqayproj20u00k00wr.jpg)"></a> <!-- NOTE: input field is disabled by default --> <input id="search-input" type="text" placeholder="Search..." disabled > </form> <nav id="pl__container"> <a class="技术 pl__all" href="/2015/11/17/coredata-sample.html"><span class="pl__circle"></span><span class="pl__title">CoreData 技术</span><span class="pl__date">Nov 2015</span></a> <a class="生活 pl__all" href="/2015/11/13/%E5%B7%A5%E4%BD%9C%E7%82%B9%E6%BB%B4.html"><span class="pl__circle"></span><span class="pl__title">工作中的点滴.</span><span class="pl__date">Nov 2015</span></a> <a class="技术 pl__all" href="/2015/11/09/GCD_%E7%B3%BB%E5%88%97.html"><span class="pl__circle"></span><span class="pl__title">iOS GCD 技术系列1</span><span class="pl__date">Nov 2015</span></a> <a class="技术 pl__all" href="/2015/11/02/%E6%8F%90%E4%BA%A4%E4%BA%BA.html"><span class="pl__circle"></span><span class="pl__title">测试</span><span class="pl__date">Nov 2015</span></a> <a class="技术 pl__all" href="/2015/11/02/%E5%A4%9A%E6%80%81.html"><span class="pl__circle"></span><span class="pl__title">多态</span><span class="pl__date">Nov 2015</span></a> <a class="技术 pl__all" href="/2015/11/02/utils-part-coding.html"><span class="pl__circle"></span><span class="pl__title">ios中经常使用的代码片段</span><span class="pl__date">Nov 2015</span></a> <a class="技术 pl__all" href="/2015/11/02/c%E8%AF%AD%E8%A8%80%E5%AD%A6%E4%B9%A0..html"><span class="pl__circle"></span><span class="pl__title">C 语言基础</span><span class="pl__date">Nov 2015</span></a> <a class="生活 pl__all" href="/2015/11/01/%E7%94%9F%E6%B4%BB.html"><span class="pl__circle"></span><span class="pl__title">生活第一篇</span><span class="pl__date">Nov 2015</span></a> <a class="技术 pl__all" href="/2015/11/01/markdown_%E5%B8%B8%E7%94%A8%E7%9A%84%E5%91%BD%E4%BB%A4.html"><span class="pl__circle"></span><span class="pl__title">markdown 经常使用的命令</span><span class="pl__date">Nov 2015</span></a> <a class="技术 pl__all" href="/2015/11/01/mac_%E4%B8%8B%E5%B8%B8%E4%BD%BF%E7%94%A8%E7%9A%84%E7%BB%88%E7%AB%AF%E5%91%BD%E4%BB%A4.html"><span class="pl__circle"></span><span class="pl__title">mac 常用命令</span><span class="pl__date">Nov 2015</span></a> <a class="技术 pl__all" href="/2015/11/01/create-frame-work.html"><span class="pl__circle"></span><span class="pl__title">如何创建自己的frmawork</span><span class="pl__date">Nov 2015</span></a> <a class="资源 pl__all" href="/2015/10/04/general-vim-resources.html"><span class="pl__circle"></span><span class="pl__title">Vim 常用资源</span><span class="pl__date">Oct 2015</span></a> <a class="资源 pl__all" href="/2015/02/13/general-seo-resources.html"><span class="pl__circle"></span><span class="pl__title">SEO 常用资源</span><span class="pl__date">Feb 2015</span></a> <a class="资源 pl__all" href="/2014/08/03/general-mac-resources.html"><span class="pl__circle"></span><span class="pl__title">Mac 常用资源</span><span class="pl__date">Aug 2014</span></a> <a class="资源 pl__all" href="/2014/05/11/general-mysql-resources.html"><span class="pl__circle"></span><span class="pl__title">MySQL常用资源</span><span class="pl__date">May 2014</span></a> <a class="读书 pl__all" href="/2014/03/14/book-list-of-2014.html"><span class="pl__circle"></span><span class="pl__title">2014阅读书单</span><span class="pl__date">Mar 2014</span></a> <a class="资源 pl__all" href="/2014/01/15/general-svn-resources.html"><span class="pl__circle"></span><span class="pl__title">SVN 常用资源</span><span class="pl__date">Jan 2014</span></a> <a class="资源 pl__all" href="/2014/01/15/general-shell-resources.html"><span class="pl__circle"></span><span class="pl__title">Shell 常用资源</span><span class="pl__date">Jan 2014</span></a> <a class="资源 pl__all" href="/2014/01/15/general-python-resources.html"><span class="pl__circle"></span><span class="pl__title">Python 常用资源</span><span class="pl__date">Jan 2014</span></a> <a class="资源 pl__all" href="/2014/01/15/general-php-resources.html"><span class="pl__circle"></span><span class="pl__title">PHP 常用资源</span><span class="pl__date">Jan 2014</span></a> <a class="资源 pl__all" href="/2014/01/15/general-jquery-resources.html"><span class="pl__circle"></span><span class="pl__title">jQuery 常用资源</span><span class="pl__date">Jan 2014</span></a> <a class="资源 pl__all" href="/2014/01/15/general-javascript-resources.html"><span class="pl__circle"></span><span class="pl__title">JavaScript 常用资源</span><span class="pl__date">Jan 2014</span></a> <a class="资源 pl__all" href="/2014/01/15/general-html-resources.html"><span class="pl__circle"></span><span class="pl__title">HTML 常用资源</span><span class="pl__date">Jan 2014</span></a> <a class="资源 pl__all" href="/2014/01/15/general-git-resources.html"><span class="pl__circle"></span><span class="pl__title">Git 常用资源</span><span class="pl__date">Jan 2014</span></a> <a class="生活 pl__all" href="/2013/08/01/the-importent-of-writing.html"><span class="pl__circle"></span><span class="pl__title">持续写作的重要性</span><span class="pl__date">Aug 2013</span></a> <a class="资源 pl__all" href="/2013/04/23/general-bootstrap-resources.html"><span class="pl__circle"></span><span class="pl__title">Bootstrap常用资源</span><span class="pl__date">Apr 2013</span></a> <a class="技术 pl__all" href="/2012/09/19/php-session-security.html"><span class="pl__circle"></span><span class="pl__title">PHP操作Session的原理及提升安全性时的一个问题</span><span class="pl__date">Sep 2012</span></a> </nav> </div> <!-- end #posts-list --> </aside> <!-- end #sidebar --> <div id="post"> <div id="pjax"> <article id="post__content"> <h1 id="post__title" data-identifier="20140511">MySQL常用资源</h1> <h2 id='id81'>常用命令</h2> <h3 id='id82'>登录数据库</h3> <pre><code>mysql -h localhost -uroot -p</code></pre> <h3 id='id83'>导出数据库</h3> <pre><code>mysqldump -uroot -p db &gt; db.sql</code></pre> <h3 id='id84'>导入数据库</h3> <pre><code>mysql -uroot -p db &lt; db.sql // or mysql -uroot -p db -e &quot;source /path/to/db.sql&quot;</code></pre> <h3 id='id85'>开启远程登录</h3> <pre><code>grant all privileges on ss.* to &#39;root&#39;@&#39;%&#39; indentified by &#39;passoword&#39; with grant option; // or update user set Host=&quot;%&quot; and User=&quot;root&quot; // 注意%是不包含localhost的 flush privileges;</code></pre> <h3 id='id86'>创建用户</h3> <pre><code>CREATE USER &#39;test&#39;@&#39;localhost&#39; IDENTIFIED BY &#39;password&#39;; grant all privileges on *.* to test@&#39;localhost&#39; identified by &#39;test&#39;;</code></pre> <h3 id='id87'>创建表</h3> <pre><code>CREATE SCHEMA testdb DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;</code></pre> <h3 id='id88'>赋予数据库权限</h3> <pre><code>GRANT ALL ON testdb.* TO &#39;test&#39;@&#39;localhost&#39;;</code></pre> </article> <!-- end #post__content --> <div id="post__share"> <a id="icon-twitter" class="fontello" href="https://twitter.com/intent/tweet?url=http://localhost:4000/2014/05/11/general-mysql-resources.html&text=MySQL常用资源" target="_blank"></a> <a id="icon-cc" class="fontello" href="http://creativecommons.org/licenses/by-nc-sa/3.0" target="_blank"></a> <a id="icon-weibo" class="fontello" href="http://v.t.sina.com.cn/share/share.php?url=http://localhost:4000/2014/05/11/general-mysql-resources.html&title=MySQL常用资源" target="_blank"></a> </div> <!-- end #post__share --> <div id="disqus_thread" name=""> <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> <a href="http://disqus.com" class="dsq-brlink" target="_blank">Loading Disqus comments...</a> </div> <p id="copyright">Powered by <a href="http://jekyllrb.com" target="_blank">Jekyll</a>&nbsp;&nbsp;|&nbsp;&nbsp;Theme <a href="https://github.com/P233/3-Jekyll" target="_blank">3-Jekyll</a>&nbsp;&nbsp;|&nbsp;&nbsp;Hosted on <a href="https://pages.github.com" target="_blank">Github</a></p> </div> <!-- end #pjax --> <div id="post__toc-trigger"> <div id="post__toc"> <span id="post__toc-title">Table of Contents</span> <ul id="post__toc-ul"></ul> </div> </div> </div> <!-- end #post --> <button id="js-fullscreen"><span id="icon-arrow" class="fontello"></span></button> <script src="/assets/js/jquery.js"></script> <script src="/assets/js/jquery.pjax.js"></script> <script src="/assets/js/nprogress.js"></script> <script src="/assets/js/script.js"></script> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', '', ''); ga('send', 'pageview'); </script> </body> </html>
ext/c++/thirdpart/c++/boost/libs/asio/doc/html/boost_asio/reference/basic_waitable_timer/time_point.html
yinchunlong/abelkhan-1
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>basic_waitable_timer::time_point</title> <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> <link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> <link rel="up" href="../basic_waitable_timer.html" title="basic_waitable_timer"> <link rel="prev" href="service_type.html" title="basic_waitable_timer::service_type"> <link rel="next" href="traits_type.html" title="basic_waitable_timer::traits_type"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> <td align="center"><a href="../../../../../index.html">Home</a></td> <td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> <td align="center"><a href="../../../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="service_type.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../basic_waitable_timer.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="traits_type.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="section"> <div class="titlepage"><div><div><h4 class="title"> <a name="boost_asio.reference.basic_waitable_timer.time_point"></a><a class="link" href="time_point.html" title="basic_waitable_timer::time_point">basic_waitable_timer::time_point</a> </h4></div></div></div> <p> <a class="indexterm" name="idp62160592"></a> The time point type of the clock. </p> <pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">clock_type</span><span class="special">::</span><span class="identifier">time_point</span> <span class="identifier">time_point</span><span class="special">;</span> </pre> <h6> <a name="boost_asio.reference.basic_waitable_timer.time_point.h0"></a> <span><a name="boost_asio.reference.basic_waitable_timer.time_point.requirements"></a></span><a class="link" href="time_point.html#boost_asio.reference.basic_waitable_timer.time_point.requirements">Requirements</a> </h6> <p> <span class="emphasis"><em>Header: </em></span><code class="literal">boost/asio/basic_waitable_timer.hpp</code> </p> <p> <span class="emphasis"><em>Convenience header: </em></span><code class="literal">boost/asio.hpp</code> </p> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> <td align="right"><div class="copyright-footer">Copyright &#169; 2003-2015 Christopher M. Kohlhoff<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="service_type.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../basic_waitable_timer.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="traits_type.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html>
_includes/people/anderson.c.html
FranciscoCanas/website
<p id="anderson.c" data-toggle="tooltip" title="<img src='{{site.filesurl}}/people/anderson.c.jpg' alt='Carlos Anderson' />"> <a href="http://www.msu.edu/~carlosja" class="person">Carlos Anderson</a> is a software developer at the University of Michigan Health System, where he collaborates with researchers in radiation therapy in order to improve cancer treatments. He obtained a Ph.D. in Evolutionary Biology (Michigan State University), an M.S. in Biology, and a B.S. in Computer Science (University of Central Florida). </p>
threeJS/tquery/plugins/ogsworkshop/examples/index-complete.html
creatologist/sandbox-js
<!doctype html><title>Minimal tQuery Page</title> <script src="../../../build/tquery-bundle-require.js"></script> <script src="../vendor/webaudio-bundle.js"></script> <script> (function(){ var onLocalhost = window.location.hostname === 'localhost' || window.location.hostname === '127.0.0.1'; var serverUrl = onLocalhost ? 'http://localhost:4000/' : 'http://simplemmoserver.jit.su:80/'; var script = document.createElement('script'); script.type = 'text/javascript'; script.async = true; script.src = serverUrl+'socket.io/socket.io.js'; var tmp = document.getElementsByTagName('script')[0]; tmp.parentNode.insertBefore(script, tmp); var script = document.createElement('script'); script.type = 'text/javascript'; script.async = true; script.src = serverUrl+'examples/client.js'; var tmp = document.getElementsByTagName('script')[0]; tmp.parentNode.insertBefore(script, tmp); })(); </script> <body><div style="position: absolute; font-size: 200%; right: 0; z-index: 1; text-align: right;"> <form action="javascript:void(0)" id='chatInputForm'> <input size=100 type="text" placeholder='Chat here'/> </form> <form action="javascript:void(0)" id='nicknameForm' style='display: inline-block'> <input type="text"/> </form> <span style='font-size: 50%; font-weight: bolder;'>IN</span> <form action="javascript:void(0)" id='roomNameForm' style='display: inline-block'> <input type="text"/> </form> <span style='font-size: 50%; font-weight: bolder;'>AS</span> <select id="skinSelect"> <option value="char.png">char</option> <option value="3djesus.png">3djesus</option> <option value="agentsmith.png">agentsmith</option> <option value="batman.png">batman</option> <option value="god.png">god</option> <option value="Joker.png">Joker</option> <option value="Mario.png">Mario</option> <option value="martialartist.png">martialartist</option> <option value="robocop.png">robocop</option> <option value="Sonicthehedgehog.png">Sonic the hedgehog</option> <option value="Spiderman.png">Spiderman</option> <option value="Superman.png">Superman</option> <option value="theflash.png">theflash</option> <option value="woody.png">woody</option> <option value="Iron-Man-Minecraft-Skin.png">ironman</option> </select> </div><script> require([ 'tquery.pproc', 'tquery.skymap', 'tquery.fog' , 'tquery.keyboard', 'tquery.lensflare' , 'tquery.grassground', 'tquery.simplemaze' , 'tquery.light', 'tquery.minecraft' , 'tquery.montainarena' , 'tquery.text'], function(){ var world = tQuery.createWorld().boilerplate({ fullscreen : false, screenshot : false }).start(); // enable shaddow in the renderer world.tRenderer().shadowMapEnabled = true; world.tRenderer().shadowMapSoft = true; // determine room window.location.hash = window.location.hash || 'Public'; var roomName = window.location.hash.slice(1); // enable sound var sounds = {}; if( WebAudio.isAvailable ){ world.enableWebAudio(); sounds.chatReceived = tQuery.createSound().load('../sounds/checkpoint.wav'); sounds.skinChange = tQuery.createSound().load('../sounds/eatpill.mp3'); sounds.nickChange = tQuery.createSound().load('../sounds/gearwhine.wav'); sounds.userJoin = tQuery.createSound().load('../sounds/gearwhine.wav'); sounds.userLeft = tQuery.createSound().load('../sounds/gearwhine.wav'); } // add post processing if( false ){ world.addEffectComposer().sepia().film(0.5, 0.25, 648, false).vignette() .finish(); } // add a skybox var textureCube = tQuery.createCubeTexture('skybox') tQuery.createSkymap({ textureCube : textureCube }).addTo(world); if( true ){ // create the text var text = tQuery.createText(roomName, { bevelThickness : 0.1, bevelSize : 0.03, bevelEnabled : true, }).addTo(world).scaleBy(1).translateY(2) .setLambertMaterial({ ambient : 0x444444, color : 0x888888, envMap : textureCube }).back() .castShadow(true) world.loop().hook(function(delta, now){ text.rotateY(0.05 * delta * Math.PI * 2) }) } // initiate a spritesheet var items = new tQuery.Spritesheet({ url : '../../minecraft/examples/images/items/items.png', imgW : 256, imgH : 256, spriteW : 16, spriteH : 16 }); // create ground if( true ){ var ground = tQuery.createGrassGround({ textureRepeatX : 20, textureRepeatY : 20, }).addTo(world) .receiveShadow(true) .scale(40) tQuery.MontainArena.createBasicArena().addTo(world) .scale(40) } ////////////////////////////////////////////////////////////////////////// // lights // ////////////////////////////////////////////////////////////////////////// tQuery.createAmbientLight().addTo(world) .color(0xFFFFFF); tQuery.createDirectionalLight().addTo(world) .position(1,1,-1).color(0xffffff).intensity(2); var light = tQuery.createDirectionalLight().addTo(world) .position(-1, 2, 3) .color(0xffffff).intensity(4) .castShadow(true) .shadowDarkness(0.4) .shadowMap(512*2,512*2) .shadowCamera(8, -8, 8, -8, 0.1, 10) //.shadowCameraVisible(true) // for light to follow character world.loop().hook(function(){ if( !players[mySourceId] ) return; var player = players[mySourceId]; var model = player.character.object3D('root'); light.get(0).target.position.copy(model.position()); var delta = tQuery.createVector3(-1,2,3); var position = model.position().clone().addSelf(delta); light.position(position) }); ////////////////////////////////////////////////////////////////////////// // network // ////////////////////////////////////////////////////////////////////////// // init the gameServer var mySourceId = null; var players = {}; // initiate connect with server var onLocalhost = window.location.hostname === 'localhost' || window.location.hostname === '127.0.0.1'; var serverUrl = onLocalhost ? 'http://localhost:4000/' : 'http://simplemmoserver.jit.su:80'; var userInfo = { nickName : 'Player-'+Math.floor(Math.random()*10000).toString(16), skinBasename : 'char.png', }; var gameServer = new SimpleMMOServer(roomName, userInfo, serverUrl); gameServer.addEventListener('roomJoined', function(sourceId, usersInfo){ console.log('roomJoined', sourceId, usersInfo, gameServer.usersInfo()) createMyPlayer(sourceId, gameServer.userInfo()) Object.keys(usersInfo).forEach(function(sourceId){ if( sourceId === mySourceId ) return; var userInfo = usersInfo[sourceId]; createPlayer(sourceId, userInfo) }); }); gameServer.addEventListener('userJoin', function(data){ console.log('userJoin', arguments) createPlayer(data.sourceId, data.userInfo); }); gameServer.addEventListener('userLeft', function(data){ console.log('userLeft', data) destroyPlayer(data.sourceId); }); gameServer.addEventListener('userInfo', function(sourceId, curUserInfo, oldUserInfo){ console.log('userInfo', arguments) updatePlayer(sourceId, curUserInfo, oldUserInfo) }); gameServer.addEventListener('clientEcho', function(data){ console.assert( players[data.sourceId] ); if( data.message.type === 'positionChange' ){ if( data.sourceId === mySourceId ) return; var player = players[data.sourceId]; var mesh = player.character.object3D('root') mesh.positionX( data.message.position.x ) mesh.positionY( data.message.position.y ) mesh.positionZ( data.message.position.z ) mesh.rotationX( data.message.rotation.x ) mesh.rotationY( data.message.rotation.y ) mesh.rotationZ( data.message.rotation.z ) }else if( data.message.type === 'chatText' ){ var player = players[data.sourceId]; var mesh = player.character.object3D('root') var character = player.character; // remove previous message if any tQuery('.chatMessage', mesh).detach() // add text var text = tQuery.createSprite().addTo(mesh) .translateY(1.4).scaleBy(1/200) .addClass('chatMessage') .map(buildChatBubble(data.message.text)) // remove the text after a while setTimeout(function(){ text.detach(); }, 10*1000); }else{ console.log('unknown echo message.type', message.type) } }); setInterval(function(){ Object.keys(players).forEach(function(sourceId){ var player = players[sourceId]; var mesh = player.character.object3D('root') var velocity = mesh.position().clone().subSelf(player.prevPosition); if( velocity.length() ){ player.bodyAnims.start('run'); }else{ player.bodyAnims.start('stand'); } // update player.prevPosition/player.prevRotation player.prevPosition.copy( mesh.position() ) player.prevRotation.copy( mesh.rotation() ) }) }, 1000/5); // Important to be less than framerate - thus you dont misdetect still ////////////////////////////////////////////////////////////////////////// // UI // ////////////////////////////////////////////////////////////////////////// document.body.setAttribute("tabIndex", "0"); // make body focusable // handle roomNameForm var roomNameForm = document.getElementById('roomNameForm') roomNameForm.addEventListener('keydown', function(event){ event.stopPropagation(); }); roomNameForm[0].value = roomName; roomNameForm.addEventListener('submit', function(){ window.location.hash = roomNameForm[0].value; window.location.reload(); }); // handle nicknameForm var nicknameForm = document.getElementById('nicknameForm') nicknameForm.addEventListener('keydown', function(event){ event.stopPropagation(); }); nicknameForm[0].value = gameServer.userInfo().nickName; nicknameForm.addEventListener('submit', function(){ var myUserInfo = gameServer.userInfo(); // update myUserInfo myUserInfo.nickName = nicknameForm[0].value; // notify the server gameServer.userInfo(myUserInfo); // put back the focus on body document.body.focus(); }); // handle skinSelection var skinSelectEl = document.getElementById('skinSelect') skinSelectEl.addEventListener('change', function(){ var myUserInfo = gameServer.userInfo(); // update myUserInfo myUserInfo.skinBasename = skinSelectEl.value; // notify the server gameServer.userInfo(myUserInfo); // put back the focus on body document.body.focus(); }); // handle chatInputForm var chatInputForm = document.getElementById('chatInputForm') chatInputForm.addEventListener('keydown', function(event){ event.stopPropagation(); }); chatInputForm.addEventListener('change', function(){ // send chat input to the server gameServer.clientEcho({ type : 'chatText', text : chatInputForm[0].value }); // zero the chat input chatInputForm[0].value = null; // put back the focus on body document.body.focus(); }); ////////////////////////////////////////////////////////////////////////// // // ////////////////////////////////////////////////////////////////////////// function createMyPlayer(sourceId, userInfo){ console.assert(mySourceId === null) mySourceId = sourceId; createPlayer(mySourceId, userInfo) var character = players[mySourceId].character; // to enable a tracking camera var cameraControls = tQuery.createCameraFpsControls({ trackedObject : character.object3D('root').get(0), tCamera : world.tCamera(), }); world.setCameraControls(cameraControls) //cameraControls.deltaCamera().position(0, 0.7, -0.07) ////////////////////////////////////////////////////////////////////////// // user controls on keyboard // ////////////////////////////////////////////////////////////////////////// tQuery.createMinecraftCharKeyboard2({ object3D : character.object3D('root').get(0), lateralMove : 'rotationY', //lateralMove : 'strafe' }); world.loop().hook(function(){ var mesh = character.object3D('root'); var position = mesh.position(); var maxLength = 16; if( position.length() > maxLength ){ position.setLength(maxLength) } }); // periodically send the position of the character // - NOTE: not done on requestAnimationFrame as it has to be done even if page isnt visible setInterval(function(){ var mesh = character.object3D('root'); var position = mesh.position(); var rotation = mesh.rotation(); gameServer.clientEcho({ type : 'positionChange', position: { x : position.x, y : position.y, z : position.z }, rotation: { x : rotation.x, y : rotation.y, z : rotation.z }, }); }, 1000/60); } function createPlayer(sourceId, userInfo){ console.assert(players[sourceId] === undefined); players[sourceId] = {} // create the minecraft character var skinUrl = '../../minecraft/examples/images/'+userInfo.skinBasename; var character = tQuery.createMinecraftChar({ skinUrl : skinUrl }).addTo(world); tQuery('mesh', character.object3D('root')) //.receiveShadow(true) .castShadow(true) // store it players[sourceId].character = character; // add a nickname cartouche tQuery.createSprite().addTo(character.object3D('root')) .addClass('cartouche') .scaleBy(1/200).positionY(1.1) .map(buildNickCartouche(userInfo.nickName)) // add a sword to his arm // TODO Make it such as it work even if texture nore loaded ? // var sword = items.createMesh(2, 4) // .addTo(character.parts.armR) // .scaleBy(1/2) // .position(0,-10/35,8/35) // .rotation(Math.PI/2,Math.PI/2,Math.PI/4) // .castShadow(true) // init bodyAnims var bodyAnims = new tQuery.MinecraftCharAnimations(character); bodyAnims.start('run'); players[sourceId].bodyAnims = bodyAnims; // init headAnims var headAnims = new tQuery.MinecraftCharHeadAnimations(character); headAnims.start('still'); players[sourceId].headAnims = headAnims; // init prevPosition/prevRotation to estimate velocity later players[sourceId].prevPosition = tQuery.createVector3() players[sourceId].prevRotation = tQuery.createVector3() } function destroyPlayer(sourceId){ var player = players[sourceId]; player.character.removeFrom(world) player.bodyAnims.stop() delete players[sourceId] } function updatePlayer(sourceId, curUserInfo, oldUserInfo){ console.assert(players[sourceId] !== undefined); var otherInfo = players[sourceId]; var character = otherInfo.character; // update the skin if needed if( !oldUserInfo || curUserInfo.skinBasename !== oldUserInfo.skinBasename ){ var skinUrl = '../../minecraft/examples/images/'+curUserInfo.skinBasename; character.loadSkin(skinUrl) sounds.skinChange && sounds.skinChange.play() } // update the nickname cartouche if needed if( !oldUserInfo || curUserInfo.nickName !== oldUserInfo.nickName ){ var texture = tQuery('.cartouche', character.object3D('root')).get(0).map; texture.image = buildNickCartouche(curUserInfo.nickName) texture.needsUpdate = true; sounds.nickChange && sounds.nickChange.play() } } function buildChatBubble(text){ // create the canvas var canvas = document.createElement("canvas"); var context = canvas.getContext("2d"); canvas.width = 1024; canvas.height = 512; // center the origin context.translate( canvas.width/2, canvas.height/2 ); // measure text var fontSize = 24; context.font = "bolder "+fontSize+"px Verdana"; var fontH = fontSize; var fontW = context.measureText(text).width; // build the background context.fillStyle = "rgba(255,255,255,0.3)"; var scale = 1.2; context.fillRect(-fontW*scale/2,-fontH*scale/1.3,fontW*scale,fontH*scale) // display the text context.fillStyle = "rgba(0,0,0,0.7)"; context.fillText(text, -fontW/2, 0); // return the canvas element return canvas; } function buildNickCartouche(text){ // create the canvas var canvas = document.createElement("canvas"); var context = canvas.getContext("2d"); canvas.width = 256; canvas.height = 128; // center the origin context.translate( canvas.width/2, canvas.height/2 ); // measure text var fontSize = 36; context.font = "bolder "+fontSize+"px Verdana"; var fontH = fontSize; var fontW = context.measureText(text).width; // build the background context.fillStyle = "rgba(0,0,255,0.3)"; var scale = 1.2; context.fillRect(-fontW*scale/2,-fontH*scale/1.3,fontW*scale,fontH*scale) // display the text context.fillStyle = "rgba(0,0,0,0.7)"; context.fillText(text, -fontW/2, 0); // return the canvas element return canvas; } }) </script></body>
src/client/vendor/kendo/examples/datetimepicker/right-to-left-support.html
hhuynhlam/Ulysses
<!DOCTYPE html> <html> <head> <title>RTL support</title> <meta charset="utf-8"> <link href="../content/shared/styles/examples-offline.css" rel="stylesheet"> <link href="../../styles/kendo.common.min.css" rel="stylesheet"> <link href="../../styles/kendo.rtl.min.css" rel="stylesheet"> <link href="../../styles/kendo.default.min.css" rel="stylesheet"> <link href="../../styles/kendo.dataviz.min.css" rel="stylesheet"> <link href="../../styles/kendo.dataviz.default.min.css" rel="stylesheet"> <script src="../../js/jquery.min.js"></script> <script src="../../js/kendo.all.min.js"></script> <script src="../content/shared/js/console.js"></script> <script> </script> </head> <body> <a class="offline-button" href="../index.html">Back</a> <div id="example"> <div class="demo-section k-header"> <div class="k-rtl"> <h4>Choose date:</h4> <input id="datetimepicker" /> </div> </div> <script> $(document).ready(function() { $("#datetimepicker").kendoDateTimePicker(); }); </script> <style> .demo-section { width: 400px; } </style> </div> </body> </html>
wwwroot/ui/source/index原文件.html
shampeak/GracePHP
<!doctype html> <html><head> <meta charset="utf-8"> <title>BLOCKS - Bootstrap Dashboard Theme</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content=""> <meta name="author" content="Carlos Alvarez - Alvarez.is"> <link rel="stylesheet" type="text/css" href="//cdn.bootcss.com/bootstrap/3.3.4/css/bootstrap.min.css" /> <link href="css/main.css" rel="stylesheet"> <link href="css/font-style.css" rel="stylesheet"> <link href="//cdn.bootcss.com/flexslider/2.1/flexslider-min.css" rel="stylesheet"> <script type="text/javascript" src="//cdn.bootcss.com/jquery/1.10.0/jquery.min.js"></script> <script type="text/javascript" src="//cdn.bootcss.com/bootstrap/3.3.4/js/bootstrap.min.js"></script> <script type="text/javascript" src="js/lineandbars.js"></script> <script type="text/javascript" src="js/dash-charts.js"></script> <script type="text/javascript" src="js/gauge.js"></script> <!-- NOTY JAVASCRIPT --> <script type="text/javascript" src="//cdn.bootcss.com/jquery-noty/2.0.3/jquery.noty.min.js"></script> <script type="text/javascript" src="//cdn.bootcss.com/jquery-noty/2.0.3/layouts/top.min.js"></script> <script type="text/javascript" src="//cdn.bootcss.com/jquery-noty/2.0.3/layouts/topLeft.min.js"></script> <script type="text/javascript" src="//cdn.bootcss.com/jquery-noty/2.0.3/layouts/topRight.min.js"></script> <script type="text/javascript" src="//cdn.bootcss.com/jquery-noty/2.0.3/layouts/topCenter.min.js"></script> <!-- You can add more layouts if you want --> <script type="text/javascript" src="//cdn.bootcss.com/jquery-noty/2.0.3/themes/default.min.js"></script> <!-- <script type="text/javascript" src="assets/js/dash-noty.js"></script> This is a Noty bubble when you init the theme--> <script type="text/javascript" src="//cdn.bootcss.com/highcharts/4.2.5/highcharts.js"></script> <script src="//cdn.bootcss.com/flexslider/2.1/jquery.flexslider-min.js" type="text/javascript"></script> <script type="text/javascript" src="js/admin.js"></script> <style type="text/css"> body { padding-top: 60px; } </style> <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements --> <!--[if lt IE 9]> <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <!-- Google Fonts call. Font Used Open Sans & Raleway --> <link href="http://fonts.googleapis.com/css?family=Raleway:400,300" rel="stylesheet" type="text/css"> <link href="http://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css"> <script type="text/javascript"> $(document).ready(function () { $("#btn-blog-next").click(function () { $('#blogCarousel').carousel('next') }); $("#btn-blog-prev").click(function () { $('#blogCarousel').carousel('prev') }); $("#btn-client-next").click(function () { $('#clientCarousel').carousel('next') }); $("#btn-client-prev").click(function () { $('#clientCarousel').carousel('prev') }); }); $(window).load(function () { $('.flexslider').flexslider({ animation: "slide", slideshow: true, start: function (slider) { $('body').removeClass('loading'); } }); }); </script> </head> <body> <!-- NAVIGATION MENU --> <div class="navbar-nav navbar-inverse navbar-fixed-top"> <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="index.html"><img src="images/logo30.png" alt=""> BLOCKS Dashboard</a> </div> <div class="navbar-collapse collapse"> <ul class="nav navbar-nav"> <li class="active"><a href="index.html"><i class="icon-home icon-white"></i> Home</a></li> <li><a href="tables.html"><i class="icon-th icon-white"></i> Tables</a></li> <li><a href="login.html"><i class="icon-lock icon-white"></i> Login</a></li> <li><a href="user.html"><i class="icon-user icon-white"></i> User</a></li> </ul> </div><!--/.nav-collapse --> </div> </div> <div class="container"> <!-- FIRST ROW OF BLOCKS --> <div class="row"> <!-- USER PROFILE BLOCK --> <div class="col-sm-3 col-lg-3"> <div class="dash-unit"> <dtitle>User Profile</dtitle> <hr> <div class="thumbnail"> <img src="images/face80x80.jpg" alt="Marcel Newman" class="img-circle"> </div><!-- /thumbnail --> <h1>Marcel Newman</h1> <h3>Madrid, Spain</h3> <br> <div class="info-user"> <span aria-hidden="true" class="li_user fs1"></span> <span aria-hidden="true" class="li_settings fs1"></span> <span aria-hidden="true" class="li_mail fs1"></span> <span aria-hidden="true" class="li_key fs1"></span> </div> </div> </div> <!-- DONUT CHART BLOCK --> <div class="col-sm-3 col-lg-3"> <div class="dash-unit"> <dtitle>Site Bandwidth</dtitle> <hr> <div id="load"></div> <h2>45%</h2> </div> </div> <!-- DONUT CHART BLOCK --> <div class="col-sm-3 col-lg-3"> <div class="dash-unit"> <dtitle>Disk Space</dtitle> <hr> <div id="space"></div> <h2>65%</h2> </div> </div> <div class="col-sm-3 col-lg-3"> <!-- LOCAL TIME BLOCK --> <div class="half-unit"> <dtitle>Local Time</dtitle> <hr> <div class="clockcenter"> <digiclock>12:45:25</digiclock> </div> </div> <!-- SERVER UPTIME --> <div class="half-unit"> <dtitle>Server Uptime</dtitle> <hr> <div class="cont"> <p><img src="images/up.png" alt=""> <bold>Up</bold> | 356ms.</p> </div> </div> </div> </div><!-- /row --> <!-- SECOND ROW OF BLOCKS --> <div class="row"> <div class="col-sm-3 col-lg-3"> <!-- MAIL BLOCK --> <div class="dash-unit"> <dtitle>Inbox (1)</dtitle> <hr> <div class="framemail"> <div class="window"> <ul class="mail"> <li> <i class="unread"></i> <img class="avatar" src="images/photo01.jpeg" alt="avatar"> <p class="sender">Adam W.</p> <p class="message"><strong>Working</strong> - This is the last...</p> <div class="actions"> <a><img src="http://png-1.findicons.com/files//icons/2232/wireframe_mono/16/undo.png" alt="reply"></a> <a><img src="http://png-1.findicons.com/files//icons/2232/wireframe_mono/16/star_fav.png" alt="favourite"></a> <a><img src="http://png-4.findicons.com/files//icons/2232/wireframe_mono/16/tag.png" alt="label"></a> <a><img src="http://png-4.findicons.com/files//icons/2232/wireframe_mono/16/trash.png" alt="delete"></a> </div> </li> <li> <i class="read"></i> <img class="avatar" src="images/photo02.jpg" alt="avatar"> <p class="sender">Dan E.</p> <p class="message"><strong>Hey man!</strong> - You have to taste ...</p> <div class="actions"> <a><img src="http://png-1.findicons.com/files//icons/2232/wireframe_mono/16/undo.png" alt="reply"></a> <a><img src="http://png-1.findicons.com/files//icons/2232/wireframe_mono/16/star_fav.png" alt="favourite"></a> <a><img src="http://png-4.findicons.com/files//icons/2232/wireframe_mono/16/tag.png" alt="label"></a> <a><img src="http://png-4.findicons.com/files//icons/2232/wireframe_mono/16/trash.png" alt="delete"></a> </div> </li> <li> <i class="read"></i> <img class="avatar" src="images/photo03.jpg" alt="avatar"> <p class="sender">Leonard N.</p> <p class="message"><strong>New Mac :D</strong> - So happy with ...</p> <div class="actions"> <a><img src="http://png-1.findicons.com/files//icons/2232/wireframe_mono/16/undo.png" alt="reply"></a> <a><img src="http://png-1.findicons.com/files//icons/2232/wireframe_mono/16/star_fav.png" alt="favourite"></a> <a><img src="http://png-4.findicons.com/files//icons/2232/wireframe_mono/16/tag.png" alt="label"></a> <a><img src="http://png-4.findicons.com/files//icons/2232/wireframe_mono/16/trash.png" alt="delete"></a> </div> </li> <li> <i class="read"></i> <img class="avatar" src="images/photo04.jpg" alt="avatar"> <p class="sender">Peter B.</p> <p class="message"><strong>Thank you</strong> - Finally I can ...</p> <div class="actions"> <a><img src="http://png-1.findicons.com/files//icons/2232/wireframe_mono/16/undo.png" alt="reply"></a> <a><img src="http://png-1.findicons.com/files//icons/2232/wireframe_mono/16/star_fav.png" alt="favourite"></a> <a><img src="http://png-4.findicons.com/files//icons/2232/wireframe_mono/16/tag.png" alt="label"></a> <a><img src="http://png-4.findicons.com/files//icons/2232/wireframe_mono/16/trash.png" alt="delete"></a> </div> </li> </ul> </div> </div> </div><!-- /dash-unit --> </div><!-- /span3 --> <!-- GRAPH CHART - lineandbars.js file --> <div class="col-sm-3 col-lg-3"> <div class="dash-unit"> <dtitle>Other Information</dtitle> <hr> <div class="section-graph"> <div id="importantchart"></div> <br> <div class="graph-info"> <i class="graph-arrow"></i> <span class="graph-info-big">634.39</span> <span class="graph-info-small">+2.18 (3.71%)</span> </div> </div> </div> </div> <!-- LAST MONTH REVENUE --> <div class="col-sm-3 col-lg-3"> <div class="dash-unit"> <dtitle>Last Month Revenue</dtitle> <hr> <div class="cont"> <p><bold>$879</bold> | <ok>Approved</ok></p> <br> <p><bold>$377</bold> | Pending</p> <br> <p><bold>$156</bold> | <bad>Denied</bad></p> <br> <p><img src="images/up-small.png" alt=""> 12% Compared Last Month</p> </div> </div> </div> <!-- 30 DAYS STATS - CAROUSEL FLEXSLIDER --> <div class="col-sm-3 col-lg-3"> <div class="dash-unit"> <dtitle>Last 30 Days Stats</dtitle> <hr> <br> <br> <div class="flexslider"> <ul class="slides"> <li><img src="images/slide01.png" alt="slider"></li> <li><img src="images/slide02.png" alt="slider"></li> </ul> </div> <div class="cont"> <p>StatCounter Information</p> </div> </div> </div> </div><!-- /row --> <!-- THIRD ROW OF BLOCKS --> <div class="row"> <div class="col-sm-3 col-lg-3"> <!-- BARS CHART - lineandbars.js file --> <div class="half-unit"> <dtitle>Stock Information</dtitle> <hr> <div class="cont"> <div class="info-aapl"> <h4>AAPL</h4> <ul> <li><span class="orange" style="height: 37.5%"></span></li> <li><span class="orange" style="height: 47.5%"></span></li> <li><span class="orange" style="height: 70%"></span></li> <li><span class="orange" style="height: 85%"></span></li> <li><span class="green" style="height: 75%"></span></li> <li><span class="green" style="height: 50%"></span></li> <li><span class="green" style="height: 15%"></span></li> </ul> </div> </div> </div> <!-- TO DO LIST --> <div class="half-unit"> <dtitle>To Do List</dtitle> <hr> <div class="cont"> <p><bold>13</bold> | Pending Tasks</p> </div> <div class="progress"> <div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width:60%;"><span class="sr-only">60% Complete</span> </div> </div> </div> </div> <div class="col-sm-3 col-lg-3"> <!-- LIVE VISITORS BLOCK --> <div class="half-unit"> <dtitle>Live Visitors</dtitle> <hr> <div class="cont"> <p><bold>388</bold></p> <p><img src="images/up-small.png" alt=""> 412 Max. | <img src="images/down-small.png" alt=""> 89 Min.</p> </div> </div> <!-- PAGE VIEWS BLOCK --> <div class="half-unit"> <dtitle>Page Views</dtitle> <hr> <div class="cont"> <p><bold>145.0K</bold></p> <p><img src="images/up-small.png" alt=""> 23.88%</p> </div> </div> </div> <div class="col-sm-3 col-lg-3"> <!-- TOTAL SUBSCRIBERS BLOCK --> <div class="half-unit"> <dtitle>Total Subscribers</dtitle> <hr> <div class="cont"> <p><bold>14.744</bold></p> <p>98 Subscribed Today</p> </div> </div> <!-- FOLLOWERS BLOCK --> <div class="half-unit"> <dtitle>Twitter Followers</dtitle> <hr> <div class="cont"> <p><bold>17.833 Followers</bold></p> <p>SomeUser</p> </div> </div> </div> <!-- LATEST NEWS BLOCK --> <div class="col-sm-3 col-lg-3"> <div class="dash-unit"> <dtitle>Latest News</dtitle> <hr> <div class="info-user"> <span aria-hidden="true" class="li_news fs2"></span> </div> <br> <div class="text"> <p><b>Alvarez.is:</b> A beautiful new Dashboard theme has been realised by Carlos Alvarez. Please, visit <a href="http://alvarez.is">Alvarez.is</a> for more details.</p> <p><grey>Last Update: 5 minutes ago.</grey></p> </div> </div> </div> </div><!-- /row --> <!-- FOURTH ROW OF BLOCKS --> <div class="row"> <!-- TWITTER WIDGET BLOCK --> <div class="col-sm-3 col-lg-3"> <div class="dash-unit"> <dtitle>Twitter Widget</dtitle> <hr> <div class="info-user"> <span aria-hidden="true" class="li_megaphone fs2"></span> </div> <br> <div id="jstwitter" class="clearfix"> <ul id="twitter_update_list"></ul> </div> <!-- To show your tweets replace "wrapbootstrap", in the line above, with your user. --> <div class="text"> <p><grey>Show your tweets here!</grey></p> </div> </div> </div> <!-- NOTIFICATIONS BLOCK --> <div class="col-sm-3 col-lg-3"> <div class="dash-unit"> <dtitle>Notifications</dtitle> <hr> <div class="info-user"> <span aria-hidden="true" class="li_bubble fs2"></span> </div> <div class="cont"> <p><button class="btnnew noty" data-noty-options="{&quot;text&quot;:&quot;This is a success notification&quot;,&quot;layout&quot;:&quot;topRight&quot;,&quot;type&quot;:&quot;success&quot;}">Top Right</button></p> <p><button class="btnnew noty" data-noty-options="{&quot;text&quot;:&quot;This is an informaton notification&quot;,&quot;layout&quot;:&quot;topLeft&quot;,&quot;type&quot;:&quot;information&quot;}">Top Left</button></p> <p><button class="btnnew noty" data-noty-options="{&quot;text&quot;:&quot;This is an alert notification with fade effect.&quot;,&quot;layout&quot;:&quot;topCenter&quot;,&quot;type&quot;:&quot;alert&quot;,&quot;animateOpen&quot;: {&quot;opacity&quot;: &quot;show&quot;}}">Top Center (fade)</button></p> </div> </div> </div> <!-- SWITCHES BLOCK --> <div class="col-sm-3 col-lg-3"> <div class="dash-unit"> <dtitle>Switches</dtitle> <hr> <div class="info-user"> <span aria-hidden="true" class="li_params fs2"></span> </div> <br> <div class="switch"> <input type="radio" class="switch-input" name="view" value="on" id="on" checked=""> <label for="on" class="switch-label switch-label-off">On</label> <input type="radio" class="switch-input" name="view" value="off" id="off"> <label for="off" class="switch-label switch-label-on">Off</label> <span class="switch-selection"></span> </div> <div class="switch switch-blue"> <input type="radio" class="switch-input" name="view2" value="week2" id="week2" checked=""> <label for="week2" class="switch-label switch-label-off">Week</label> <input type="radio" class="switch-input" name="view2" value="month2" id="month2"> <label for="month2" class="switch-label switch-label-on">Month</label> <span class="switch-selection"></span> </div> <div class="switch switch-yellow"> <input type="radio" class="switch-input" name="view3" value="yes" id="yes" checked=""> <label for="yes" class="switch-label switch-label-off">Yes</label> <input type="radio" class="switch-input" name="view3" value="no" id="no"> <label for="no" class="switch-label switch-label-on">No</label> <span class="switch-selection"></span> </div> </div> </div> <!-- GAUGE CHART BLOCK --> <div class="col-sm-3 col-lg-3"> <div class="dash-unit"> <dtitle>Gauge Chart</dtitle> <hr> <div class="info-user"> <span aria-hidden="true" class="li_lab fs2"></span> </div> <canvas id="canvas" width="300" height="300"> </canvas></div> </div> </div><!--/row --> <!-- FOURTH ROW OF BLOCKS --> <div class="row"> <!-- ACCORDION BLOCK --> <div class="col-sm-3 col-lg-3"> <div class="dash-unit"> <dtitle>Accordion</dtitle> <hr> <div class="accordion" id="accordion2"> <div class="accordion-group"> <div class="accordion-heading"> <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseOne"> Collapsible Group Item #1 </a> </div> <div id="collapseOne" class="accordion-body collapse in"> <div class="accordion-inner"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla iaculis mattis lorem. </div> </div> </div> <div class="accordion-group"> <div class="accordion-heading"> <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseTwo"> Collapsible Group Item #2 </a> </div> <div id="collapseTwo" class="accordion-body collapse"> <div class="accordion-inner"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla iaculis mattis lorem. </div> </div> </div> <div class="accordion-group"> <div class="accordion-heading"> <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseThree"> Collapsible Group Item #3 </a> </div> <div id="collapseThree" class="accordion-body collapse"> <div class="accordion-inner"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla iaculis mattis lorem. </div> </div> </div> </div><!--/accordion --> </div> </div> <div class="col-sm-3 col-lg-3"> <!-- LAST USER BLOCK --> <div class="half-unit"> <dtitle>Last Registered User</dtitle> <hr> <div class="cont2"> <img src="images/user-avatar.jpg" alt=""> <br> <br> <p>Paul Smith</p> <p><bold>Liverpool, England</bold></p> </div> </div> <!-- MODAL BLOCK --> <div class="half-unit"> <dtitle>Modal</dtitle> <hr> <div class="cont"> <a href="#myModal" role="button" class="btnnew" data-toggle="modal">Example Modal Window</a> </div> </div> </div> <!-- Modal --> <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button> <h4 class="modal-title">Modal title</h4> </div> <div class="modal-body"> ... </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> <button type="button" class="btn btn-primary">Save changes</button> </div> </div><!-- /.modal-content --> </div><!-- /.modal-dialog --> </div><!-- /.modal --> <!-- FAST CONTACT BLOCK --> <div class="col-sm-3 col-lg-3"> <div class="dash-unit"> <dtitle>Fast Contact</dtitle> <hr> <div class="cont"> <form action="#get-in-touch" method="POST" id="contact"> <input type="text" id="contactname" name="contactname" placeholder="Name"> <input type="text" id="email" name="email" placeholder="Email"> <div class="textarea-container"><textarea id="message" name="message" placeholder="Message"></textarea></div> <input type="submit" id="submit" name="submit" value="Send"> </form> </div> </div> </div> <!-- INFORMATION BLOCK --> <div class="col-sm-3 col-lg-3"> <div class="dash-unit"> <dtitle>Block Dashboard</dtitle> <hr> <div class="info-user"> <span aria-hidden="true" class="li_display fs2"></span> </div> <br> <div class="text"> <p>Block Dashboard created by Basicoh.</p> <p>Special Thanks to Highcharts, Linecons and Bootstrap for their amazing tools.</p> </div> </div> </div> </div><!--/row --> </div> <!-- /container --> <div id="footerwrap"> <footer class="clearfix"></footer> <div class="container"> <div class="row"> <div class="col-sm-12 col-lg-12"> <p><img src="images/logo.png" alt=""></p> <p>Blocks Dashboard Theme - Crafted With Love - Copyright 2013</p> </div> </div><!-- /row --> </div><!-- /container --> </div><!-- /footerwrap --> </body></html>
doc/functionReference/prtClassBinaryToMaryOneVsAll/nameAbbreviation.html
covartech/PRT
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" href="./../../helpwin.css"> <title>MATLAB File Help: prtClassBinaryToMaryOneVsAll/nameAbbreviation</title> </head> <body> <!--Single-page help--> <table border="0" cellspacing="0" width="100%"> <tr class="subheader"> <td class="headertitle">MATLAB File Help: prtClassBinaryToMaryOneVsAll/nameAbbreviation</td> </tr> </table> <div class="title">prtClassBinaryToMaryOneVsAll/nameAbbreviation</div> <div class="helptext"><pre><!--helptext --> <span class="helptopic">nameAbbreviation</span> - OVA</pre></div><!--after help --> <!--Property--> <div class="sectiontitle">Property Details</div> <table class="class-details"> <tr> <td class="class-detail-label">Constant</td> <td>false</td> </tr> <tr> <td class="class-detail-label">Dependent</td> <td>false</td> </tr> <tr> <td class="class-detail-label">Sealed</td> <td>false</td> </tr> <tr> <td class="class-detail-label">Transient</td> <td>false</td> </tr> <tr> <td class="class-detail-label">GetAccess</td> <td>public</td> </tr> <tr> <td class="class-detail-label">SetAccess</td> <td>private</td> </tr> <tr> <td class="class-detail-label">GetObservable</td> <td>false</td> </tr> <tr> <td class="class-detail-label">SetObservable</td> <td>false</td> </tr> </table> </body> </html>
ext/c++/thirdpart/c++/boost/libs/units/doc/html/boost/units/abstract/plane_angle_unit_tag.html
yinchunlong/abelkhan-1
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Struct plane_angle_unit_tag</title> <link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> <link rel="home" href="../../../index.html" title="Chapter&#160;1.&#160;Boost.Units 1.1.0"> <link rel="up" href="../../../abstract_system_reference.html#header.boost.units.systems.abstract_hpp" title="Header &lt;boost/units/systems/abstract.hpp&gt;"> <link rel="prev" href="luminous_inten_idp12334016.html" title="Struct luminous_intensity_unit_tag"> <link rel="next" href="solid_angle_unit_tag.html" title="Struct solid_angle_unit_tag"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td> <td align="center"><a href="../../../../../../../index.html">Home</a></td> <td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td> <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> <td align="center"><a href="../../../../../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="luminous_inten_idp12334016.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../abstract_system_reference.html#header.boost.units.systems.abstract_hpp"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="solid_angle_unit_tag.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="refentry"> <a name="boost.units.abstract.plane_angle_unit_tag"></a><div class="titlepage"></div> <div class="refnamediv"> <h2><span class="refentrytitle">Struct plane_angle_unit_tag</span></h2> <p>boost::units::abstract::plane_angle_unit_tag</p> </div> <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2> <div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../../abstract_system_reference.html#header.boost.units.systems.abstract_hpp" title="Header &lt;boost/units/systems/abstract.hpp&gt;">boost/units/systems/abstract.hpp</a>&gt; </span> <span class="keyword">struct</span> <a class="link" href="plane_angle_unit_tag.html" title="Struct plane_angle_unit_tag">plane_angle_unit_tag</a> <span class="special">{</span> <span class="special">}</span><span class="special">;</span></pre></div> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> <td align="right"><div class="copyright-footer">Copyright &#169; 2003-2008 Matthias Christian Schabel<br>Copyright &#169; 2007-2010 Steven Watanabe<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="luminous_inten_idp12334016.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../abstract_system_reference.html#header.boost.units.systems.abstract_hpp"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="solid_angle_unit_tag.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html>
public/templates/ulboracms-org/css/menu.css
Ulbora/ulboracms-template-designer
.top-menu{ float: left; width: 100%; /*background: dimgrey;*/ background: white; margin: 0 0 0 0; padding: 0 0 0 0; text-align: center; border-bottom: #3A464F 1px solid; box-shadow: 0px 5px 5px #888888; position: fixed; } .top-menu-space{ width: 100%; float: left; text-align: left; } .logo{ float: left; color: white; font-family: serif; } .logo-img{ float: left; } .top-menu-menu{ float: left; text-align: center; } nav { } nav ul { margin: 0; padding: 0; list-style: none; } nav ul li { display: block; position: relative; float: left; } nav ul li a { display: block; text-decoration: none; padding: 7px 15px 3px 15px; /*background: #2C5463;*/ /*background: dimgrey;*/ /*background: #adadad;*/ /*color: #ffffff; */ color: #5e5e5e; margin-left: 1px; white-space: nowrap; height:30px; /* Width and height of top-level nav items */ text-align:center; } nav ul li a:visited { /*background: #617F8A; */ /*background: #95A9B1;*/ /*background: #ccc;*/ color: #5e5e5e; text-decoration: none; } nav ul li a:hover { /*background: #617F8A; */ /*background: #95A9B1;*/ /*background: #ccc;*/ color: darkgrey; text-decoration: none; } nav li:hover ul { display: block; position: absolute; height:30px; } nav li:hover li { float: none; font-size: 11px; } nav li:hover a { /*background: #3A464F; */ height:30px; /* Height of lower-level nav items is shorter than main level */ } nav li:hover li a:hover { /*background: #95A9B1; */ } nav ul li ul li a { text-align:left; /* Top-level items are centered, but nested list items are left-aligned */ } .activeLink{ /*background: #ccc;*/ color: red; } .activeLink a{ /*background: #ccc;*/ color: red; } .activeLink a:visited{ /*background: #ccc;*/ color: red; } @media screen and (min-width: 1400px){ .top-menu{ height: 100px; margin: 0 0 0 0; padding: 0 0 0 0; } .top-menu-space{ height: 60px; padding: 0 0 0 0; } .top-menu-menu{ padding: 0 0 0 0; width: 60%; margin: 0 0 0 20%; } .logo{ /*font-size: 26pt; margin: 1% 0 0 12%; width: 5%; text-shadow: 1px 2px lightyellow; background: red;*/ color: #5e5e5e; font-size: 12pt; margin: 1% 0 0 12%; text-shadow: 1px 1px black; width: 30%; display: block; } .logo-img{ font-size: 26pt; margin: 1% 0 0% 4%; width: 20%; text-shadow: 1px 2px lightyellow; /*background: red;*/ } .logo-img img{ max-width: 30%; } nav ul li a { width:20%; font-size: 16pt; } } @media screen and (max-width: 1400px){ .top-menu{ height: 100px; margin: 0 0 0 0; padding: 0 0 0 0; } .top-menu-space{ height: 60px; padding: 0 0 0 0; } .top-menu-menu{ padding: 0 0 0 0; width: 60%; margin: 0 0 0 20%; } .logo{ color: #5e5e5e; font-size: 10pt; margin: 1% 0 0 12%; text-shadow: 1px 1px black; width: 30%; display: block; } .logo-img{ font-size: 26pt; margin: 1% 0 0% 4%; width: 25%; text-shadow: 1px 2px lightyellow; /*background: blue;*/ } .logo-img img{ max-width: 35%; } nav ul li a { width:20%; font-size: 16pt; } } @media screen and (max-width: 1200px){ .top-menu{ height: 100px; margin: 0 0 0 0; padding: 0 0 0 0; } .top-menu-space{ height: 60px; padding: 0 0 0 0; } .top-menu-menu{ padding: 0 0 0 0; width: 80%; margin: 0 0 0 20%; } .logo{ color: #5e5e5e; font-size: 10pt; margin: 1% 0 0 12%; text-shadow: 1px 1px black; width: 30%; display: block; } .logo-img{ font-size: 22pt; margin: 1% 0 0% 4%; width: 25%; text-shadow: 1px 2px lightyellow; } .logo-img img{ max-width: 35%; } nav ul li a { width:20%; font-size: 14pt; } } @media screen and (max-width: 770px){ .top-menu{ height: 90px; margin: 0 0 0 0; padding: 0 0 0 0; } .top-menu-space{ height: 40px; padding: 0 0 0 0; } .top-menu-menu{ padding: 0 0 0 0; width: 90%; margin: 0 0 0 5%; } nav ul li a { font-size: 10px; width:60px; padding: 7px 10px 3px 10px; } .logo{ color: #5e5e5e; font-size: 12pt; margin: 1% 0 0 6%; text-shadow: 1px 1px black; width: 30%; display: block; } .logo-img{ font-size: 22pt; margin: 1% 0 0% 4%; width: 25%; text-shadow: 1px 2px lightyellow; /*background: purple;*/ } .logo-img img{ max-width: 30%; } nav ul li a { width:10%; font-size: 10pt; } } @media screen and (max-width: 480px){ .top-menu{ height: 60px; margin: 0 0 0 0; padding: 0 0 0 0; } .top-menu-space{ height: 30px; padding: 0 0 0 0; } .top-menu-menu{ padding: 0 0 0 0; width: 100%; margin: 0 0 0 0%; } nav ul li a { font-size: 10px; width:60px; padding: 7px 10px 3px 10px; } .logo{ color: #5e5e5e; font-size: 10pt; margin: 1% 0 0 6%; text-shadow: 1px 1px black; width: 30%; display: block; } .logo-img{ font-size: 22pt; margin: 0% 0 0 2%; width: 25%; text-shadow: 1px 2px lightyellow; /*background: purple;*/ } .logo-img img{ max-width: 40%; } nav ul li a { width:5%; font-size: 8pt; } }
example-filter/index.html
JackieLin/Wookmark-jQuery
<!doctype html> <!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]--> <!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]--> <!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]--> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>jQuery Wookmark Plug-in Example</title> <meta name="description" content="An very basic example of how to use the Wookmark jQuery plug-in."> <meta name="author" content="Christoph Ono, Sebastian Helzle"> <meta name="viewport" content="width=device-width,initial-scale=1"> <!-- CSS Reset --> <link rel="stylesheet" href="../css/reset.css"> <!-- Global CSS for the page and tiles --> <link rel="stylesheet" href="../css/main.css"> <!-- Specific CSS for the tiles --> <link rel="stylesheet" href="css/style.css"> </head> <body> <div id="container"> <header> <h1>jQuery Wookmark Plug-in Example</h1> <p>Click the words below to filter the grid. Grid items that match at least one filter will remain visible.</p> </header> <!-- These are our filter options. The "data-filter" classes are used to identify which grid items to show. --> <br/> <ol id="filters"> <li data-filter="all">Reset filters</li> <li data-filter="amsterdam">Amsterdam</li> <li data-filter="tokyo">Tokyo</li> <li data-filter="london">London</li> <li data-filter="paris">Paris</li> <li data-filter="berlin">Berlin</li> <li data-filter="sport">Sport</li> <li data-filter="fashion">Fashion</li> <li data-filter="video">Video</li> <li data-filter="art">Art</li> </ol> <br/> <div id="main" role="main"> <ul id="tiles"> <!-- These are our grid items. Notice how each one has classes assigned that are used for filtering. The classes match the "data-filter" properties above. --> <li data-filter-class='["london", "art"]'> <img src="../sample-images/image_1.jpg" height="283" width="200"> <p>London Art</p> </li> <li data-filter-class='["berlin", "art"]'> <img src="../sample-images/image_2.jpg" height="300" width="200"> <p>Berlin Art</p> </li> <li data-filter-class='["berlin", "video"]'> <img src="../sample-images/image_3.jpg" height="252" width="200"> <p>Berlin Video</p> </li> <li data-filter-class='["tokyo", "fashion"]'> <img src="../sample-images/image_4.jpg" height="158" width="200"> <p>Tokyo Fashion</p> </li> <li data-filter-class='["berlin", "art"]'> <img src="../sample-images/image_5.jpg" height="300" width="200"> <p>Berlin Art</p> </li> <li data-filter-class='["tokyo", "fashion"]'> <img src="../sample-images/image_6.jpg" height="297" width="200"> <p>Tokyo Fashion</p> </li> <li data-filter-class='["london", "art"]'> <img src="../sample-images/image_7.jpg" height="200" width="200"> <p>London Art</p> </li> <li data-filter-class='["tokyo", "video"]'> <img src="../sample-images/image_8.jpg" height="200" width="200"> <p>Tokyo Video</p> </li> <li data-filter-class='["tokyo", "art"]'> <img src="../sample-images/image_9.jpg" height="398" width="200"> <p>Tokyo Art</p> </li> <li data-filter-class='["berlin", "fashion"]'> <img src="../sample-images/image_10.jpg" height="267" width="200"> <p>Berlin Fashion</p> </li> <li data-filter-class='["amsterdam", "art"]'> <img src="../sample-images/image_1.jpg" height="283" width="200"> <p>Amsterdam Art</p> </li> <li data-filter-class='["paris", "video"]'> <img src="../sample-images/image_2.jpg" height="300" width="200"> <p>Paris Video</p> </li> <li data-filter-class='["london", "video"]'> <img src="../sample-images/image_3.jpg" height="252" width="200"> <p>London Video</p> </li> <li data-filter-class='["london", "video"]'> <img src="../sample-images/image_4.jpg" height="158" width="200"> <p>London Video</p> </li> <li data-filter-class='["amsterdam"," video"]'> <img src="../sample-images/image_5.jpg" height="300" width="200"> <p>Amsterdam Video</p> </li> <li data-filter-class='["tokyo", "fashion"]'> <img src="../sample-images/image_6.jpg" height="297" width="200"> <p>Tokyo Fashion</p> </li> <li data-filter-class='["tokyo", "sport"]'> <img src="../sample-images/image_7.jpg" height="200" width="200"> <p>Tokyo Sport</p> </li> <li data-filter-class='["berlin", "video"]'> <img src="../sample-images/image_8.jpg" height="200" width="200"> <p>Berlin Video</p> </li> <li data-filter-class='["amsterdam", "fashion"]'> <img src="../sample-images/image_9.jpg" height="398" width="200"> <p>Amsterdam Fashion</p> </li> <li data-filter-class='["berlin", "sport"]'> <img src="../sample-images/image_10.jpg" height="267" width="200"> <p>Berlin Sport</p> </li> <li data-filter-class='["paris", "video"]'> <img src="../sample-images/image_1.jpg" height="283" width="200"> <p>Paris Video</p> </li> <li data-filter-class='["tokyo", "sport"]'> <img src="../sample-images/image_2.jpg" height="300" width="200"> <p>Tokyo Sport</p> </li> <li data-filter-class='["amsterdam", "art"]'> <img src="../sample-images/image_3.jpg" height="252" width="200"> <p>Amsterdam Art</p> </li> <li data-filter-class='["berlin", "sport"]'> <img src="../sample-images/image_4.jpg" height="158" width="200"> <p>Berlin Sport</p> </li> <li data-filter-class='["paris", "art"]'> <img src="../sample-images/image_5.jpg" height="300" width="200"> <p>Paris Art</p> </li> <li data-filter-class='["berlin", "art"]'> <img src="../sample-images/image_6.jpg" height="297" width="200"> <p>Berlin Art</p> </li> <li data-filter-class='["london", "art"]'> <img src="../sample-images/image_7.jpg" height="200" width="200"> <p>London Art</p> </li> <li data-filter-class='["london", "video"]'> <img src="../sample-images/image_8.jpg" height="200" width="200"> <p>London Video</p> </li> <li data-filter-class='["london", "video"]'> <img src="../sample-images/image_9.jpg" height="398" width="200"> <p>London Video</p> </li> <li data-filter-class='["paris", "video"]'> <img src="../sample-images/image_10.jpg" height="267" width="200"> <p>Paris Video</p> </li> <!-- End of grid blocks --> </ul> </div> </div> <!-- include jQuery --> <script src="../libs/jquery.min.js"></script> <!-- Include the imagesLoaded plug-in --> <script src="../libs/jquery.imagesloaded.js"></script> <!-- Include the plug-in --> <script src="../jquery.wookmark.js"></script> <!-- Once the page is loaded, initalize the plug-in. --> <script type="text/javascript"> (function ($){ $('#tiles').imagesLoaded(function() { // Prepare layout options. var options = { autoResize: true, // This will auto-update the layout when the browser window is resized. container: $('#main'), // Optional, used for some extra CSS styling offset: 2, // Optional, the distance between grid items itemWidth: 210, // Optional, the width of a grid item fillEmptySpace: true // Optional, fill the bottom of each column with widths of flexible height }; // Get a reference to your grid items. var handler = $('#tiles li'), filters = $('#filters li'); // Call the layout function. handler.wookmark(options); /** * When a filter is clicked, toggle it's active state and refresh. */ function onClickFilter(e) { var $item = $(e.currentTarget), activeFilters = [], filterType = $item.data('filter'); if (filterType === 'all') { filters.removeClass('active'); } else { $item.toggleClass('active'); // Collect active filter strings filters.filter('.active').each(function() { activeFilters.push($(this).data('filter')); }); } handler.wookmarkInstance.filter(activeFilters, 'or'); } // Capture filter click events. $('#filters').on('click.wookmark-filter', 'li', onClickFilter); }); })(jQuery); </script> </body> </html>
source/src/main/scala/scalaExec/scalaLab/quanewbnd1.html
scalalab/scalalab
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8"> <TITLE></TITLE> <META NAME="GENERATOR" CONTENT="OpenOffice.org 3.2 (Unix)"> <META NAME="CREATED" CONTENT="0;0"> <META NAME="CHANGED" CONTENT="20101227;15090000"> <STYLE TYPE="text/css"> <!-- @page { size: 8.27in 11.69in } --> </STYLE> </HEAD> <BODY LANG="en-US" DIR="LTR"> <P><BR><BR> </P> <P STYLE="text-decoration: none"><FONT SIZE=6 STYLE="font-size: 22pt"><B>Systems of equations – No Jacobian matrix</B></FONT></P> <P STYLE="text-decoration: none"><FONT SIZE=6 STYLE="font-size: 22pt"><B>quanewbnd1</B></FONT></P> <P STYLE="font-style: normal"><FONT SIZE=4>Solves systems of nonlinear equations of which the Jacobian is known to ba a band matrix and an approximation of the Jacobian is assumed to be available at the initial guess. </FONT> </P> <P STYLE="font-style: normal"><BR><BR> </P> <P STYLE="font-style: normal"><FONT SIZE=4><B>Example: Can be run with F9 within the ScalaLab Editor </B></FONT></P> <P><BR><BR> </P> <P><FONT SIZE=2 STYLE="font-size: 11pt">import java.text.DecimalFormat;</FONT></P> <P><FONT SIZE=2 STYLE="font-size: 11pt">import numal.*;</FONT></P> <P><BR><BR> </P> <P><FONT SIZE=2 STYLE="font-size: 11pt">public class Test_quanewbnd1 extends Object</FONT></P> <P><FONT SIZE=2 STYLE="font-size: 11pt">implements AP_quanewbnd_method {</FONT></P> <P><FONT SIZE=2 STYLE="font-size: 11pt">public static void main(String args[]) {</FONT></P> <P><BR><BR> </P> <P><FONT SIZE=2 STYLE="font-size: 11pt">int i;</FONT></P> <P><FONT SIZE=2 STYLE="font-size: 11pt">double in[] = new double[6];</FONT></P> <P><FONT SIZE=2 STYLE="font-size: 11pt">double out[] = new double[6];</FONT></P> <P><FONT SIZE=2 STYLE="font-size: 11pt">double x[]= new double[601];</FONT></P> <P><FONT SIZE=2 STYLE="font-size: 11pt">double f[]= new double[601];</FONT></P> <P><FONT SIZE=2 STYLE="font-size: 11pt">Test_quanewbnd1 testquanewbnd1 = new Test_quanewbnd1();</FONT></P> <P><FONT SIZE=2 STYLE="font-size: 11pt">DecimalFormat fiveDigit = new DecimalFormat(&quot;0.00000E0&quot;);</FONT></P> <P><FONT SIZE=2 STYLE="font-size: 11pt">for (i=1; i&lt;=600; i++) x[i] = -1.0;</FONT></P> <P><FONT SIZE=2 STYLE="font-size: 11pt">in[0]=1.0e-6; in[1]=in[2]=in[3]=1.0e-5; in[4]=20000.0;</FONT></P> <P><FONT SIZE=2 STYLE="font-size: 11pt">in[5]=0.001;</FONT></P> <P><FONT SIZE=2 STYLE="font-size: 11pt">Analytic_problems.quanewbnd1(600,1,1,x,f,testquanewbnd1,in,out);</FONT></P> <P><FONT SIZE=2 STYLE="font-size: 11pt">System.out.println(&quot;Norm Residual vector: &quot; +</FONT></P> <P><FONT SIZE=2 STYLE="font-size: 11pt">fiveDigit.format(out[2]) + &quot;\nLength of last step: &quot; +</FONT></P> <P><FONT SIZE=2 STYLE="font-size: 11pt">fiveDigit.format(out[1]) +</FONT></P> <P><FONT SIZE=2 STYLE="font-size: 11pt">&quot;\nNumber of function component evaluations: &quot; +</FONT></P> <P><FONT SIZE=2 STYLE="font-size: 11pt">(int)out[3] + &quot;\nNumber of iterations: &quot; +</FONT></P> <P><FONT SIZE=2 STYLE="font-size: 11pt">(int)out[4] + &quot;\nReport: &quot; + (int)out[5]);</FONT></P> <P><FONT SIZE=2 STYLE="font-size: 11pt">}</FONT></P> <P><BR><BR> </P> <P><BR><BR> </P> <P><FONT SIZE=2 STYLE="font-size: 11pt">public boolean funct(int n, int l, int u, double x[], double f[])</FONT></P> <P><FONT SIZE=2 STYLE="font-size: 11pt">{</FONT></P> <P><FONT SIZE=2 STYLE="font-size: 11pt">int i;</FONT></P> <P><FONT SIZE=2 STYLE="font-size: 11pt">double x1,x2,x3;</FONT></P> <P><BR><BR> </P> <P><FONT SIZE=2 STYLE="font-size: 11pt">x1 = (l == 1) ? 0.0 : x[l-1];</FONT></P> <P><FONT SIZE=2 STYLE="font-size: 11pt">x2=x[l];</FONT></P> <P><FONT SIZE=2 STYLE="font-size: 11pt">x3 = (l == n) ? 0.0 : x[l+1];</FONT></P> <P><FONT SIZE=2 STYLE="font-size: 11pt">for (i=l; i&lt;=u; i++) {</FONT></P> <P><FONT SIZE=2 STYLE="font-size: 11pt">f[i]=(3.0-2.0*x2)*x2+1.0-x1-x3*2.0;</FONT></P> <P><FONT SIZE=2 STYLE="font-size: 11pt">x1=x2;</FONT></P> <P><FONT SIZE=2 STYLE="font-size: 11pt">x2=x3;</FONT></P> <P><FONT SIZE=2 STYLE="font-size: 11pt">x3 = (i &lt;= n-2) ? x[i+2] : 0.0;</FONT></P> <P><FONT SIZE=2 STYLE="font-size: 11pt">}</FONT></P> <P><FONT SIZE=2 STYLE="font-size: 11pt">return (true);</FONT></P> <P><FONT SIZE=2 STYLE="font-size: 11pt">}</FONT></P> <P><FONT SIZE=2 STYLE="font-size: 11pt">}</FONT></P> </BODY> </HTML>
docs/api/v2.3.0/lejos-navigation/overview-tree.html
ev3dev-lang-java/ev3dev-lang-java.github.io
<!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 (9.0.1) on Mon Apr 23 23:46:20 BST 2018 --> <title>Class Hierarchy</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="date" content="2018-04-23"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style"> <script type="text/javascript" src="script.js"></script> <script type="text/javascript" src="jquery/jszip/dist/jszip.min.js"></script> <script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils.min.js"></script> <!--[if IE]> <script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> <![endif]--> <script type="text/javascript" src="jquery/jquery-1.10.2.js"></script> <script type="text/javascript" src="jquery/jquery-ui.js"></script> </head> <body> <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Class Hierarchy"; } } catch(err) { } //--> var pathtoroot = "./";loadScripts(document, 'script');</script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <div class="fixedNav"> <!-- ========= 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>Package</li> <li>Class</li> <li class="navBarCell1Rev">Tree</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</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="index.html?overview-tree.html" target="_top">Frames</a></li> <li><a href="overview-tree.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> <ul class="navListSearch"> <li><span>SEARCH:&nbsp;</span> <input type="text" id="search" value=" " disabled="disabled"> <input type="reset" id="reset" value=" " disabled="disabled"> </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> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> </div> <a name="skip.navbar.top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> </div> <div class="navPadding">&nbsp;</div> <div class="header"> <h1 class="title">Hierarchy For All Packages</h1> <span class="packageHierarchyLabel">Package Hierarchies:</span> <ul class="horizontal"> <li><a href="lejos/robotics/localization/package-tree.html">lejos.robotics.localization</a>, </li> <li><a href="lejos/robotics/mapping/package-tree.html">lejos.robotics.mapping</a>, </li> <li><a href="lejos/robotics/navigation/package-tree.html">lejos.robotics.navigation</a>, </li> <li><a href="lejos/robotics/objectdetection/package-tree.html">lejos.robotics.objectdetection</a>, </li> <li><a href="lejos/robotics/pathfinding/package-tree.html">lejos.robotics.pathfinding</a></li> </ul> </div> <div class="contentContainer"> <h2 title="Class Hierarchy">Class Hierarchy</h2> <ul> <li class="circle">java.lang.Object <ul> <li class="circle">java.util.AbstractCollection&lt;E&gt; (implements java.util.Collection&lt;E&gt;) <ul> <li class="circle">java.util.AbstractList&lt;E&gt; (implements java.util.List&lt;E&gt;) <ul> <li class="circle">java.util.ArrayList&lt;E&gt; (implements java.lang.Cloneable, java.util.List&lt;E&gt;, java.util.RandomAccess, java.io.Serializable) <ul> <li class="circle">lejos.robotics.pathfinding.<a href="lejos/robotics/pathfinding/Path.html" title="class in lejos.robotics.pathfinding"><span class="typeNameLink">Path</span></a></li> </ul> </li> </ul> </li> </ul> </li> <li class="circle">lejos.robotics.navigation.<a href="lejos/robotics/navigation/ArcAlgorithms.html" title="class in lejos.robotics.navigation"><span class="typeNameLink">ArcAlgorithms</span></a></li> <li class="circle">lejos.robotics.pathfinding.<a href="lejos/robotics/pathfinding/AstarSearchAlgorithm.html" title="class in lejos.robotics.pathfinding"><span class="typeNameLink">AstarSearchAlgorithm</span></a> (implements lejos.robotics.pathfinding.<a href="lejos/robotics/pathfinding/SearchAlgorithm.html" title="interface in lejos.robotics.pathfinding">SearchAlgorithm</a>)</li> <li class="circle">lejos.robotics.localization.<a href="lejos/robotics/localization/BeaconPoseProvider.html" title="class in lejos.robotics.localization"><span class="typeNameLink">BeaconPoseProvider</span></a> (implements lejos.robotics.navigation.<a href="lejos/robotics/navigation/MoveListener.html" title="interface in lejos.robotics.navigation">MoveListener</a>, lejos.robotics.localization.<a href="lejos/robotics/localization/PoseProvider.html" title="interface in lejos.robotics.localization">PoseProvider</a>)</li> <li class="circle">lejos.robotics.localization.<a href="lejos/robotics/localization/BeaconTriangle.html" title="class in lejos.robotics.localization"><span class="typeNameLink">BeaconTriangle</span></a></li> <li class="circle">lejos.robotics.navigation.<a href="lejos/robotics/navigation/DifferentialPilot.html" title="class in lejos.robotics.navigation"><span class="typeNameLink">DifferentialPilot</span></a> (implements lejos.robotics.navigation.<a href="lejos/robotics/navigation/LineFollowingMoveController.html" title="interface in lejos.robotics.navigation">LineFollowingMoveController</a>) <ul> <li class="circle">lejos.robotics.navigation.<a href="lejos/robotics/navigation/CompassPilot.html" title="class in lejos.robotics.navigation"><span class="typeNameLink">CompassPilot</span></a></li> </ul> </li> <li class="circle">lejos.robotics.pathfinding.<a href="lejos/robotics/pathfinding/DijkstraPathFinder.html" title="class in lejos.robotics.pathfinding"><span class="typeNameLink">DijkstraPathFinder</span></a> (implements lejos.robotics.pathfinding.<a href="lejos/robotics/pathfinding/PathFinder.html" title="interface in lejos.robotics.pathfinding">PathFinder</a>)</li> <li class="circle">lejos.robotics.pathfinding.<a href="lejos/robotics/pathfinding/DijkstraPathFinder.Node.html" title="class in lejos.robotics.pathfinding"><span class="typeNameLink">DijkstraPathFinder.Node</span></a></li> <li class="circle">lejos.robotics.objectdetection.<a href="lejos/robotics/objectdetection/FeatureDetectorAdapter.html" title="class in lejos.robotics.objectdetection"><span class="typeNameLink">FeatureDetectorAdapter</span></a> (implements lejos.robotics.objectdetection.<a href="lejos/robotics/objectdetection/FeatureDetector.html" title="interface in lejos.robotics.objectdetection">FeatureDetector</a>) <ul> <li class="circle">lejos.robotics.objectdetection.<a href="lejos/robotics/objectdetection/RangeFeatureDetector.html" title="class in lejos.robotics.objectdetection"><span class="typeNameLink">RangeFeatureDetector</span></a></li> <li class="circle">lejos.robotics.objectdetection.<a href="lejos/robotics/objectdetection/TouchFeatureDetector.html" title="class in lejos.robotics.objectdetection"><span class="typeNameLink">TouchFeatureDetector</span></a></li> </ul> </li> <li class="circle">lejos.robotics.pathfinding.<a href="lejos/robotics/pathfinding/FourWayGridMesh.html" title="class in lejos.robotics.pathfinding"><span class="typeNameLink">FourWayGridMesh</span></a> (implements lejos.robotics.pathfinding.<a href="lejos/robotics/pathfinding/NavigationMesh.html" title="interface in lejos.robotics.pathfinding">NavigationMesh</a>)</li> <li class="circle">lejos.robotics.objectdetection.<a href="lejos/robotics/objectdetection/FusorDetector.html" title="class in lejos.robotics.objectdetection"><span class="typeNameLink">FusorDetector</span></a> (implements lejos.robotics.objectdetection.<a href="lejos/robotics/objectdetection/FeatureDetector.html" title="interface in lejos.robotics.objectdetection">FeatureDetector</a>, lejos.robotics.objectdetection.<a href="lejos/robotics/objectdetection/FeatureListener.html" title="interface in lejos.robotics.objectdetection">FeatureListener</a>)</li> <li class="circle">lejos.robotics.mapping.<a href="lejos/robotics/mapping/LineMap.html" title="class in lejos.robotics.mapping"><span class="typeNameLink">LineMap</span></a> (implements lejos.robotics.mapping.<a href="lejos/robotics/mapping/RangeMap.html" title="interface in lejos.robotics.mapping">RangeMap</a>)</li> <li class="circle">lejos.robotics.localization.<a href="lejos/robotics/localization/MCLParticle.html" title="class in lejos.robotics.localization"><span class="typeNameLink">MCLParticle</span></a></li> <li class="circle">lejos.robotics.localization.<a href="lejos/robotics/localization/MCLParticleSet.html" title="class in lejos.robotics.localization"><span class="typeNameLink">MCLParticleSet</span></a></li> <li class="circle">lejos.robotics.localization.<a href="lejos/robotics/localization/MCLPoseProvider.html" title="class in lejos.robotics.localization"><span class="typeNameLink">MCLPoseProvider</span></a> (implements lejos.robotics.navigation.<a href="lejos/robotics/navigation/MoveListener.html" title="interface in lejos.robotics.navigation">MoveListener</a>, lejos.robotics.localization.<a href="lejos/robotics/localization/PoseProvider.html" title="interface in lejos.robotics.localization">PoseProvider</a>)</li> <li class="circle">lejos.robotics.navigation.<a href="lejos/robotics/navigation/Move.html" title="class in lejos.robotics.navigation"><span class="typeNameLink">Move</span></a></li> <li class="circle">lejos.robotics.navigation.<a href="lejos/robotics/navigation/Navigator.html" title="class in lejos.robotics.navigation"><span class="typeNameLink">Navigator</span></a> (implements lejos.robotics.navigation.<a href="lejos/robotics/navigation/WaypointListener.html" title="interface in lejos.robotics.navigation">WaypointListener</a>)</li> <li class="circle">lejos.robotics.pathfinding.<a href="lejos/robotics/pathfinding/Node.html" title="class in lejos.robotics.pathfinding"><span class="typeNameLink">Node</span></a> <ul> <li class="circle">lejos.robotics.pathfinding.<a href="lejos/robotics/pathfinding/GridNode.html" title="class in lejos.robotics.pathfinding"><span class="typeNameLink">GridNode</span></a></li> <li class="circle">lejos.robotics.pathfinding.<a href="lejos/robotics/pathfinding/RandomSelfGeneratingNode.html" title="class in lejos.robotics.pathfinding"><span class="typeNameLink">RandomSelfGeneratingNode</span></a></li> </ul> </li> <li class="circle">lejos.robotics.pathfinding.<a href="lejos/robotics/pathfinding/NodePathFinder.html" title="class in lejos.robotics.pathfinding"><span class="typeNameLink">NodePathFinder</span></a> (implements lejos.robotics.pathfinding.<a href="lejos/robotics/pathfinding/PathFinder.html" title="interface in lejos.robotics.pathfinding">PathFinder</a>)</li> <li class="circle">lejos.robotics.mapping.<a href="lejos/robotics/mapping/OccupancyGridMap.html" title="class in lejos.robotics.mapping"><span class="typeNameLink">OccupancyGridMap</span></a></li> <li class="circle">lejos.robotics.localization.<a href="lejos/robotics/localization/OdometryPoseProvider.html" title="class in lejos.robotics.localization"><span class="typeNameLink">OdometryPoseProvider</span></a> (implements lejos.robotics.navigation.<a href="lejos/robotics/navigation/MoveListener.html" title="interface in lejos.robotics.navigation">MoveListener</a>, lejos.robotics.localization.<a href="lejos/robotics/localization/PoseProvider.html" title="interface in lejos.robotics.localization">PoseProvider</a>) <ul> <li class="circle">lejos.robotics.localization.<a href="lejos/robotics/localization/CompassPoseProvider.html" title="class in lejos.robotics.localization"><span class="typeNameLink">CompassPoseProvider</span></a></li> </ul> </li> <li class="circle">Point <ul> <li class="circle">lejos.robotics.navigation.<a href="lejos/robotics/navigation/Waypoint.html" title="class in lejos.robotics.navigation"><span class="typeNameLink">Waypoint</span></a></li> </ul> </li> <li class="circle">lejos.robotics.navigation.<a href="lejos/robotics/navigation/Pose.html" title="class in lejos.robotics.navigation"><span class="typeNameLink">Pose</span></a></li> <li class="circle">lejos.robotics.pathfinding.<a href="lejos/robotics/pathfinding/RandomPathFinder.html" title="class in lejos.robotics.pathfinding"><span class="typeNameLink">RandomPathFinder</span></a> (implements lejos.robotics.pathfinding.<a href="lejos/robotics/pathfinding/PathFinder.html" title="interface in lejos.robotics.pathfinding">PathFinder</a>)</li> <li class="circle">lejos.robotics.objectdetection.<a href="lejos/robotics/objectdetection/RangeFeature.html" title="class in lejos.robotics.objectdetection"><span class="typeNameLink">RangeFeature</span></a> (implements lejos.robotics.objectdetection.<a href="lejos/robotics/objectdetection/Feature.html" title="interface in lejos.robotics.objectdetection">Feature</a>)</li> <li class="circle">lejos.robotics.mapping.<a href="lejos/robotics/mapping/ShapefileLoader.html" title="class in lejos.robotics.mapping"><span class="typeNameLink">ShapefileLoader</span></a></li> <li class="circle">lejos.robotics.pathfinding.<a href="lejos/robotics/pathfinding/ShortestPathFinder.html" title="class in lejos.robotics.pathfinding"><span class="typeNameLink">ShortestPathFinder</span></a> (implements lejos.robotics.pathfinding.<a href="lejos/robotics/pathfinding/PathFinder.html" title="interface in lejos.robotics.pathfinding">PathFinder</a>)</li> <li class="circle">lejos.robotics.pathfinding.<a href="lejos/robotics/pathfinding/ShortestPathFinder.Node.html" title="class in lejos.robotics.pathfinding"><span class="typeNameLink">ShortestPathFinder.Node</span></a></li> <li class="circle">lejos.robotics.mapping.<a href="lejos/robotics/mapping/SVGMapLoader.html" title="class in lejos.robotics.mapping"><span class="typeNameLink">SVGMapLoader</span></a></li> <li class="circle">java.lang.Thread (implements java.lang.Runnable) <ul> <li class="circle">lejos.robotics.navigation.<a href="lejos/robotics/navigation/CompassPilot.Regulator.html" title="class in lejos.robotics.navigation"><span class="typeNameLink">CompassPilot.Regulator</span></a></li> <li class="circle">lejos.robotics.navigation.<a href="lejos/robotics/navigation/DifferentialPilot.Monitor.html" title="class in lejos.robotics.navigation"><span class="typeNameLink">DifferentialPilot.Monitor</span></a></li> <li class="circle">lejos.robotics.objectdetection.<a href="lejos/robotics/objectdetection/FeatureDetectorAdapter.MonitorThread.html" title="class in lejos.robotics.objectdetection"><span class="typeNameLink">FeatureDetectorAdapter.MonitorThread</span></a></li> <li class="circle">lejos.robotics.objectdetection.<a href="lejos/robotics/objectdetection/FusorDetector.NotifyThread.html" title="class in lejos.robotics.objectdetection"><span class="typeNameLink">FusorDetector.NotifyThread</span></a></li> <li class="circle">lejos.robotics.localization.<a href="lejos/robotics/localization/MCLPoseProvider.Updater.html" title="class in lejos.robotics.localization"><span class="typeNameLink">MCLPoseProvider.Updater</span></a></li> <li class="circle">lejos.robotics.navigation.<a href="lejos/robotics/navigation/Navigator.Nav.html" title="class in lejos.robotics.navigation"><span class="typeNameLink">Navigator.Nav</span></a></li> </ul> </li> <li class="circle">java.lang.Throwable (implements java.io.Serializable) <ul> <li class="circle">java.lang.Exception <ul> <li class="circle">lejos.robotics.navigation.<a href="lejos/robotics/navigation/DestinationUnreachableException.html" title="class in lejos.robotics.navigation"><span class="typeNameLink">DestinationUnreachableException</span></a></li> </ul> </li> </ul> </li> </ul> </li> </ul> <h2 title="Interface Hierarchy">Interface Hierarchy</h2> <ul> <li class="circle">lejos.robotics.localization.<a href="lejos/robotics/localization/BeaconLocator.html" title="interface in lejos.robotics.localization"><span class="typeNameLink">BeaconLocator</span></a></li> <li class="circle">lejos.robotics.objectdetection.<a href="lejos/robotics/objectdetection/Feature.html" title="interface in lejos.robotics.objectdetection"><span class="typeNameLink">Feature</span></a></li> <li class="circle">lejos.robotics.objectdetection.<a href="lejos/robotics/objectdetection/FeatureDetector.html" title="interface in lejos.robotics.objectdetection"><span class="typeNameLink">FeatureDetector</span></a></li> <li class="circle">lejos.robotics.objectdetection.<a href="lejos/robotics/objectdetection/FeatureListener.html" title="interface in lejos.robotics.objectdetection"><span class="typeNameLink">FeatureListener</span></a></li> <li class="circle">lejos.robotics.navigation.<a href="lejos/robotics/navigation/MoveListener.html" title="interface in lejos.robotics.navigation"><span class="typeNameLink">MoveListener</span></a></li> <li class="circle">lejos.robotics.navigation.<a href="lejos/robotics/navigation/MoveProvider.html" title="interface in lejos.robotics.navigation"><span class="typeNameLink">MoveProvider</span></a> <ul> <li class="circle">lejos.robotics.navigation.<a href="lejos/robotics/navigation/MoveController.html" title="interface in lejos.robotics.navigation"><span class="typeNameLink">MoveController</span></a> <ul> <li class="circle">lejos.robotics.navigation.<a href="lejos/robotics/navigation/ArcMoveController.html" title="interface in lejos.robotics.navigation"><span class="typeNameLink">ArcMoveController</span></a> <ul> <li class="circle">lejos.robotics.navigation.<a href="lejos/robotics/navigation/ArcRotateMoveController.html" title="interface in lejos.robotics.navigation"><span class="typeNameLink">ArcRotateMoveController</span></a> (also extends lejos.robotics.navigation.<a href="lejos/robotics/navigation/RotateMoveController.html" title="interface in lejos.robotics.navigation">RotateMoveController</a>) <ul> <li class="circle">lejos.robotics.navigation.<a href="lejos/robotics/navigation/LineFollowingMoveController.html" title="interface in lejos.robotics.navigation"><span class="typeNameLink">LineFollowingMoveController</span></a></li> </ul> </li> </ul> </li> <li class="circle">lejos.robotics.navigation.<a href="lejos/robotics/navigation/RotateMoveController.html" title="interface in lejos.robotics.navigation"><span class="typeNameLink">RotateMoveController</span></a> <ul> <li class="circle">lejos.robotics.navigation.<a href="lejos/robotics/navigation/ArcRotateMoveController.html" title="interface in lejos.robotics.navigation"><span class="typeNameLink">ArcRotateMoveController</span></a> (also extends lejos.robotics.navigation.<a href="lejos/robotics/navigation/ArcMoveController.html" title="interface in lejos.robotics.navigation">ArcMoveController</a>) <ul> <li class="circle">lejos.robotics.navigation.<a href="lejos/robotics/navigation/LineFollowingMoveController.html" title="interface in lejos.robotics.navigation"><span class="typeNameLink">LineFollowingMoveController</span></a></li> </ul> </li> </ul> </li> </ul> </li> </ul> </li> <li class="circle">lejos.robotics.navigation.<a href="lejos/robotics/navigation/NavigationListener.html" title="interface in lejos.robotics.navigation"><span class="typeNameLink">NavigationListener</span></a></li> <li class="circle">lejos.robotics.pathfinding.<a href="lejos/robotics/pathfinding/NavigationMesh.html" title="interface in lejos.robotics.pathfinding"><span class="typeNameLink">NavigationMesh</span></a></li> <li class="circle">lejos.robotics.pathfinding.<a href="lejos/robotics/pathfinding/PathFinder.html" title="interface in lejos.robotics.pathfinding"><span class="typeNameLink">PathFinder</span></a></li> <li class="circle">lejos.robotics.localization.<a href="lejos/robotics/localization/PoseProvider.html" title="interface in lejos.robotics.localization"><span class="typeNameLink">PoseProvider</span></a></li> <li class="circle">lejos.robotics.mapping.<a href="lejos/robotics/mapping/RangeMap.html" title="interface in lejos.robotics.mapping"><span class="typeNameLink">RangeMap</span></a></li> <li class="circle">lejos.robotics.pathfinding.<a href="lejos/robotics/pathfinding/SearchAlgorithm.html" title="interface in lejos.robotics.pathfinding"><span class="typeNameLink">SearchAlgorithm</span></a></li> <li class="circle">lejos.robotics.navigation.<a href="lejos/robotics/navigation/WaypointListener.html" title="interface in lejos.robotics.navigation"><span class="typeNameLink">WaypointListener</span></a></li> </ul> <h2 title="Enum Hierarchy">Enum Hierarchy</h2> <ul> <li class="circle">java.lang.Object <ul> <li class="circle">java.lang.Enum&lt;E&gt; (implements java.lang.Comparable&lt;T&gt;, java.io.Serializable) <ul> <li class="circle">lejos.robotics.navigation.<a href="lejos/robotics/navigation/Move.MoveType.html" title="enum in lejos.robotics.navigation"><span class="typeNameLink">Move.MoveType</span></a></li> </ul> </li> </ul> </li> </ul> </div> <!-- ======= 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>Package</li> <li>Class</li> <li class="navBarCell1Rev">Tree</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</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="index.html?overview-tree.html" target="_top">Frames</a></li> <li><a href="overview-tree.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> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> </div> <a name="skip.navbar.bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> </body> </html>
docs/api/zh/core/EventDispatcher.html
looeee/three.js
<!DOCTYPE html> <html lang="zh"> <head> <meta charset="utf-8" /> <base href="../../../" /> <script src="page.js"></script> <link type="text/css" rel="stylesheet" href="page.css" /> </head> <body> <h1>[name]</h1> <p class="desc"> 自定义对象的 JavaScript 事件。<br /> [link:https://github.com/mrdoob/eventdispatcher.js Eventdispatcher on GitHub] </p> <h2>代码示例</h2> <code> // 为自定义对象添加事件 class Car extends EventDispatcher { start() { this.dispatchEvent( { type: 'start', message: 'vroom vroom!' } ); }; } // 使用自定义对象的事件 const car = new Car(); car.addEventListener( 'start', function ( event ) { alert( event.message ); } ); car.start(); </code> <h2>构造函数</h2> <h3>[name]()</h3> <p> 创建 EventDispatcher 对象。 </p> <h2>方法</h2> <h3>[method:undefined addEventListener]( [param:String type], [param:Function listener] )</h3> <p> type - 需要添加监听的事件类型。<br /> listener - 事件发生时被调用到的函数。 </p> <p> 为指定事件增加监听函数。 </p> <h3>[method:Boolean hasEventListener]( [param:String type], [param:Function listener] )</h3> <p> type - 需要被监听的事件类型。<br /> listener - 事件发生时被调用到的函数。 </p> <p> 检查监听函数是否已经添加到指定事件。 </p> <h3>[method:undefined removeEventListener]( [param:String type], [param:Function listener] )</h3> <p> type - 需要移除监听的事件类型。<br /> listener - 需要被移除的监听函数。 </p> <p> 从指定事件类型中移除监听函数。 </p> <h3>[method:undefined dispatchEvent]( [param:Object event] )</h3> <p> event - 将被触发的事件。 </p> <p> 触发一个事件。 </p> <h2>源代码</h2> <p> [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js] </p> </body> </html>
src/assets/bower_components/vaadin-combo-box/test/angular2.html
leandropjp/AngularUFPB
<!doctype html> <html> <head> <meta charset="utf-8"> <script src="../../web-component-tester/browser.js"></script> <link rel="import" href="../vaadin-combo-box.html"> <script src="common.js"></script> <!-- IE required polyfills, in this exact order --> <script src="../node_modules/es6-shim/es6-shim.min.js"></script> <script src="../node_modules/systemjs/dist/system.src.js"></script> <script src="../node_modules/reflect-metadata/Reflect.js"></script> <script src="../node_modules/zone.js/dist/zone.js"></script> <script src="../node_modules/rxjs/bundles/Rx.js"></script> <!-- 2. Configure SystemJS --> <script> document.addEventListener('WebComponentsReady', function() { System.config({ map: { 'app': 'angular2', '@vaadin': '../node_modules/@vaadin', '@angular/core': '../node_modules/@angular/core/bundles/core.umd.js', '@angular/common': '../node_modules/@angular/common/bundles/common.umd.js', '@angular/compiler': '../node_modules/@angular/compiler/bundles/compiler.umd.js', '@angular/platform-browser': '../node_modules/@angular/platform-browser/bundles/platform-browser.umd.js', '@angular/platform-browser-dynamic': '../node_modules/@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js', '@angular/forms': '../node_modules/@angular/forms/bundles/forms.umd.js', // angular testing umd bundles '@angular/core/testing': '../node_modules/@angular/core/bundles/core-testing.umd.js', '@angular/common/testing': '../node_modules/@angular/common/bundles/common-testing.umd.js', '@angular/compiler/testing': '../node_modules/@angular/compiler/bundles/compiler-testing.umd.js', '@angular/platform-browser/testing': '../node_modules/@angular/platform-browser/bundles/platform-browser-testing.umd.js', '@angular/platform-browser-dynamic/testing': '../node_modules/@angular/platform-browser-dynamic/bundles/platform-browser-dynamic-testing.umd.js', '@angular/forms/testing': '../node_modules/@angular/forms/bundles/forms-testing.umd.js', // other libraries 'rxjs': '../node_modules/rxjs' }, packages: { app: { main: 'main.js' }, rxjs: { defaultExtension: 'js' }, 'angular2-in-memory-web-api': { defaultExtension: 'js' }, '@vaadin/angular2-polymer': { main: 'index.js' } } }); }); </script> </head> <body> <test-fixture id="testapp"> <template> <test-app>Loading...</test-app> </template> </test-fixture> <script> describe('Angular 2', function() { var testApp; var testAppElement; before(function() { // bootstrapping the app takes some time on the slow-ass nodes they have // at SauceLabs, so need to pump up the timeout. this.timeout(60000); return System.import('angular2/main.js'); }); beforeEach(function(done) { testAppElement = fixture('testapp'); testAppElement.addEventListener('readyForTests', function(e) { testApp = e.detail; setTimeout(done, 0); }); document.body.dispatchEvent(new CustomEvent('bootstrap')); }); describe('Data binding', function() { var combobox; beforeEach(function() { combobox = testAppElement.querySelector('vaadin-combo-box.bound'); }); it('should have initial bound value', function() { expect(combobox.value).to.equal('foo'); }); it('should change value on bound value change', function() { testApp.selection = 'bar'; testApp.detectChanges(); expect(combobox.value).to.equal('bar'); }); it('should change bound value on value change', function() { combobox.value = 'bar'; expect(testApp.selection).to.equal('bar'); }); }); describe('Form field', function() { var combobox; beforeEach(function() { combobox = testAppElement.querySelector('form vaadin-combo-box'); }); describe('initial state', function() { it('should be initially pristine', function() { expect(combobox.classList.contains('ng-pristine')).to.be.true; }); it('should be initially untouched', function() { expect(combobox.classList.contains('ng-untouched')).to.be.true; }); it('should be invalid', function() { expect(combobox.classList.contains('ng-invalid')).to.be.true; }); it('should be an invalid form', function() { expect(testApp.form.valid).to.be.false; }); it('should not reflect invalid state to combobox initially', function() { expect(combobox.invalid).to.be.false; }); it('should have a value set in inputElement', function() { expect(combobox.inputElement).to.not.be.empty; }); }); describe('after a value change', function() { beforeEach(function() { combobox.value = 'bar'; }); it('should be dirty on value change', function() { expect(combobox.classList.contains('ng-dirty')).to.be.true; }); it('should be valid', function() { expect(combobox.classList.contains('ng-valid')).to.be.true; }); it('should be a valid form', function() { expect(testApp.form.valid).to.be.true; }); it('should have correct selection value', function() { expect(testApp.form.value.selection).to.equal('bar'); }); it('should reflect invalid state to combobox when value changed', function(done) { combobox.value = ''; combobox.async(function() { expect(combobox.invalid).to.be.true; done(); }, 1); }); }); it('should get touched on input blur', function() { Polymer.Base.fire('blur', {}, { bubbles: true, node: combobox.$.input }); expect(combobox.classList.contains('ng-touched')).to.be.true; }); }); }); </script> </body> </html>
vendor/nicescroll/test/scroll3b.html
ssamanila-creative/culinary-sg
<!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/html; charset=utf-8" /> <title>jQuery NiceScroll Test 3 - DOJO</title> <style type="text/css"> #boxscroll { padding: 0px; height: 450px; width: 420px; border: 2px solid #0000FF; overflow: auto; margin: 0px; } .tabtest { } .row { background-color: #FFFFCC; } .row2 { background-color: #66CCFF; } #boxscroll2 { padding: 0px; height: 450px; width: 420px; border: 2px solid #FF0000; overflow: auto; margin: 0px; } div:focus { outline: none; ie-dummy: expression(this.hideFocus=true); } .mush { width:4960px; height:450px; background-image:url(img/mariomushrooms.png); } .bgm { background-image:url(img/mariomushrooms2.png); } body { font-family: georgia,serif; } .header { text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.9); } </style> </style> <script src="js/jquery.min.js"></script> <script src="js/jquery.nicescroll.js"></script> <script src="ext/iphone-style-checkboxes.js" type="text/javascript"></script> <link rel="stylesheet" href="ext/iphone-style-checkboxes.css" type="text/css" media="screen" /> <script> var nice1,nice2; var body; var off; $(window).load(function(){ off = $("#boxscroll").position(); off.top+=2; off.left+=2; $("#boxscroll").scroll(); }); function initScroll() { var tb = $('#nctouch').prop("checked"); if (nice1) nice1.remove(); nice1 = $("#boxscroll").niceScroll({touchbehavior:tb,cursorcolor:"#0000FF",cursoropacitymax:0.6,cursorwidth:8,horizrailenabled:true}); $("#ncver").html(nice1.version); $("#boxscroll").scroll(function(e) { if (!off) return; var px = $("#boxscroll").scrollLeft() - off.left; var py = $("#boxscroll").scrollTop() - off.top; body.style.backgroundPosition=-px+"px "+-py+"px"; $("#infoscroll1").html($("#boxscroll").scrollLeft()+'x'+$("#boxscroll").scrollTop()); }); $("#boxscroll").scroll(); //$("#boxscroll2 div").html($("#boxscroll").html()); if (nice2) nice2.remove(); nice2 = $("#boxscroll2").niceScroll("#boxscroll2 div.mush",{touchbehavior:tb,cursorcolor:"#FF0000",cursoropacitymax:0.6,cursorwidth:8,horizrailenabled:true}); /* nice2.scrollstart(function(info){ console.log(info); }); */ /* nice2.scrollend(function(info){ console.log(info); }); */ $("#boxscroll2").scroll(function(e) { var me = $(this); $("#infoscroll2").html(me.scrollLeft()+'x'+me.scrollTop()); }); // console.log($(":nicescroll").getNiceScroll()); } $(document).ready(function() { body = document.getElementsByTagName("body")[0]; $('body').niceScroll({cursoropacitymax:0.8,cursorwidth:8}); $('#nctouch').iphoneStyle().change(function(){ initScroll(); }); initScroll(); }); function getScroll(name) { $(name).scrollTop(Math.floor(Math.random()*3000)); } function getScroll2D(name) { $(name).getNiceScroll().doScrollPos(Math.floor(Math.random()*4000),Math.floor(Math.random()*4000),150); } </script> <meta name="viewport" content="user-scalable=no" /> </head> <body class="bgm"> <div style="height:120px" class="header"> <h2>NICESCROLL - SCROLLING TEST</h2> <div>TEST PAGE - Nicescroll version: <span id="ncver"></span></div> <table border="0" cellspacing="0" cellpadding="4"><tr><td>Enable touchbehavior option:</td><td><input type="checkbox" id="nctouch" /></td></tr></table> </div> <table width="100%" border="0" cellspacing="0" cellpadding="4"> <tr> <td>NATIVE (simple div with overflow:auto) <span id="infoscroll1"></span></td> <td>HWSCROLL (div+wrapper) <span id="infoscroll2"></span></td> </tr> <tr> <td align="left" valign="top"> <div id="boxscroll"><div class="mush"></div></div> </td> <td align="left" valign="top"> <div id="boxscroll2"><div class="mush"></div></div> </td> </tr> <tr> <td align="left" valign="top"><input type="button" value="GET SCROLL!" onclick='getScroll("#boxscroll")' />&nbsp;<input type="button" value="GET SCROLL2D!" onclick='getScroll2D("#boxscroll")' /></td> <td align="left" valign="top"><input type="button" value="GET SCROLL!" onclick='getScroll("#boxscroll2")' />&nbsp;<input type="button" value="GET SCROLL2D!" onclick='getScroll2D("#boxscroll2")' /></td> </tr> </table> <p>&nbsp;</p> <input type="button" value="HIDE ALL!" onclick='$(":nicescroll").getNiceScroll().hide()' />&nbsp;<input type="button" value="SHOW ALL!" onclick='$(":nicescroll").getNiceScroll().show()' /> </body> </html>
manual/examples/postprocessing-3dlut-w-loader.html
WestLangley/three.js
<!DOCTYPE html> <html lang="en"> <head> <title>Three.js - postprocessing - 3DLUT w/loader</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> <style> html, body { margin: 0; height: 100%; } #c { width: 100%; height: 100%; display: block; } </style> </head> <body> <canvas id="c"></canvas> </body> <script type="importmap"> { "imports": { "three": "../../build/three.module.js" } } </script> <script type="module"> import * as THREE from 'three'; import * as lutParser from './resources/lut-reader.js'; import * as dragAndDrop from './resources/drag-and-drop.js'; import {OrbitControls} from '../../examples/jsm/controls/OrbitControls.js'; import {GLTFLoader} from '../../examples/jsm/loaders/GLTFLoader.js'; import {EffectComposer} from '../../examples/jsm/postprocessing/EffectComposer.js'; import {RenderPass} from '../../examples/jsm/postprocessing/RenderPass.js'; import {ShaderPass} from '../../examples/jsm/postprocessing/ShaderPass.js'; import {GammaCorrectionShader} from '../../examples/jsm/shaders/GammaCorrectionShader.js'; import {GUI} from '../../examples/jsm/libs/lil-gui.module.min.js'; function main() { const canvas = document.querySelector('#c'); const renderer = new THREE.WebGLRenderer({canvas}); const fov = 45; const aspect = 2; // the canvas default const near = 0.1; const far = 100; const camera = new THREE.PerspectiveCamera(fov, aspect, near, far); camera.position.set(0, 10, 20); const controls = new OrbitControls(camera, canvas); controls.target.set(0, 5, 0); controls.update(); const lutTextures = [ { name: 'identity', size: 2, filter: true , }, { name: 'identity no filter', size: 2, filter: false, }, { name: 'custom', url: 'resources/images/lut/3dlut-red-only-s16.png' }, { name: 'monochrome', url: 'resources/images/lut/monochrome-s8.png' }, { name: 'sepia', url: 'resources/images/lut/sepia-s8.png' }, { name: 'saturated', url: 'resources/images/lut/saturated-s8.png', }, { name: 'posterize', url: 'resources/images/lut/posterize-s8n.png', }, { name: 'posterize-3-rgb', url: 'resources/images/lut/posterize-3-rgb-s8n.png', }, { name: 'posterize-3-lab', url: 'resources/images/lut/posterize-3-lab-s8n.png', }, { name: 'posterize-4-lab', url: 'resources/images/lut/posterize-4-lab-s8n.png', }, { name: 'posterize-more', url: 'resources/images/lut/posterize-more-s8n.png', }, { name: 'inverse', url: 'resources/images/lut/inverse-s8.png', }, { name: 'color negative', url: 'resources/images/lut/color-negative-s8.png', }, { name: 'high contrast', url: 'resources/images/lut/high-contrast-bw-s8.png', }, { name: 'funky contrast', url: 'resources/images/lut/funky-contrast-s8.png', }, { name: 'nightvision', url: 'resources/images/lut/nightvision-s8.png', }, { name: 'thermal', url: 'resources/images/lut/thermal-s8.png', }, { name: 'b/w', url: 'resources/images/lut/black-white-s8n.png', }, { name: 'hue +60', url: 'resources/images/lut/hue-plus-60-s8.png', }, { name: 'hue +180', url: 'resources/images/lut/hue-plus-180-s8.png', }, { name: 'hue -60', url: 'resources/images/lut/hue-minus-60-s8.png', }, { name: 'red to cyan', url: 'resources/images/lut/red-to-cyan-s8.png' }, { name: 'blues', url: 'resources/images/lut/blues-s8.png' }, { name: 'infrared', url: 'resources/images/lut/infrared-s8.png' }, { name: 'radioactive', url: 'resources/images/lut/radioactive-s8.png' }, { name: 'goolgey', url: 'resources/images/lut/googley-s8.png' }, { name: 'bgy', url: 'resources/images/lut/bgy-s8.png' }, ]; const makeIdentityLutTexture = function() { const identityLUT = new Uint8Array([ 0, 0, 0, 255, // black 255, 0, 0, 255, // red 0, 0, 255, 255, // blue 255, 0, 255, 255, // magenta 0, 255, 0, 255, // green 255, 255, 0, 255, // yellow 0, 255, 255, 255, // cyan 255, 255, 255, 255, // white ]); return function(filter) { const texture = new THREE.DataTexture(identityLUT, 4, 2); texture.minFilter = texture.magFilter = filter ? THREE.LinearFilter : THREE.NearestFilter; texture.needsUpdate = true; texture.flipY = false; return texture; }; }(); const makeLUTTexture = function() { const imgLoader = new THREE.ImageLoader(); const ctx = document.createElement('canvas').getContext('2d'); return function(info) { const lutSize = info.size; const width = lutSize * lutSize; const height = lutSize; const texture = new THREE.DataTexture(new Uint8Array(width * height), width, height); texture.minFilter = texture.magFilter = info.filter ? THREE.LinearFilter : THREE.NearestFilter; texture.flipY = false; if (info.url) { imgLoader.load(info.url, function(image) { ctx.canvas.width = width; ctx.canvas.height = height; ctx.drawImage(image, 0, 0); const imageData = ctx.getImageData(0, 0, width, height); texture.image.data = new Uint8Array(imageData.data.buffer); texture.image.width = width; texture.image.height = height; texture.needsUpdate = true; }); } return texture; }; }(); lutTextures.forEach((info) => { // if not size set get it from the filename if (!info.size) { // assumes filename ends in '-s<num>[n]' // where <num> is the size of the 3DLUT cube // and [n] means 'no filtering' or 'nearest' // // examples: // 'foo-s16.png' = size:16, filter: true // 'bar-s8n.png' = size:8, filter: false const m = /-s(\d+)(n*)\.[^.]+$/.exec(info.url); if (m) { info.size = parseInt(m[1]); info.filter = info.filter === undefined ? m[2] !== 'n' : info.filter; } info.texture = makeLUTTexture(info); } else { info.texture = makeIdentityLutTexture(info.filter); } }); const lutNameIndexMap = {}; lutTextures.forEach((info, ndx) => { lutNameIndexMap[info.name] = ndx; }); const lutSettings = { lut: lutNameIndexMap.custom, }; const gui = new GUI({ width: 300 }); gui.add(lutSettings, 'lut', lutNameIndexMap); const scene = new THREE.Scene(); const sceneBG = new THREE.Scene(); const cameraBG = new THREE.OrthographicCamera(-1, 1, 1, -1, -1, 1); let bgMesh; let bgTexture; { const loader = new THREE.TextureLoader(); bgTexture = loader.load('resources/images/beach.jpg'); bgTexture.encoding = THREE.sRGBEncoding; const planeGeo = new THREE.PlaneGeometry(2, 2); const planeMat = new THREE.MeshBasicMaterial({ map: bgTexture, depthTest: false, }); bgMesh = new THREE.Mesh(planeGeo, planeMat); sceneBG.add(bgMesh); } function frameArea(sizeToFitOnScreen, boxSize, boxCenter, camera) { const halfSizeToFitOnScreen = sizeToFitOnScreen * 0.5; const halfFovY = THREE.MathUtils.degToRad(camera.fov * .5); const distance = halfSizeToFitOnScreen / Math.tan(halfFovY); // compute a unit vector that points in the direction the camera is now // in the xz plane from the center of the box const direction = (new THREE.Vector3()) .subVectors(camera.position, boxCenter) .multiply(new THREE.Vector3(1, 0, 1)) .normalize(); // move the camera to a position distance units way from the center // in whatever direction the camera was from the center already camera.position.copy(direction.multiplyScalar(distance).add(boxCenter)); // pick some near and far values for the frustum that // will contain the box. camera.near = boxSize / 100; camera.far = boxSize * 100; camera.updateProjectionMatrix(); // point the camera to look at the center of the box camera.lookAt(boxCenter.x, boxCenter.y, boxCenter.z); } { const gltfLoader = new GLTFLoader(); gltfLoader.load('resources/models/3dbustchallange_submission/scene.gltf', (gltf) => { const root = gltf.scene; scene.add(root); // fix materials from r114 root.traverse(({material}) => { if (material) { material.depthWrite = true; } }); root.updateMatrixWorld(); // compute the box that contains all the stuff // from root and below const box = new THREE.Box3().setFromObject(root); const boxSize = box.getSize(new THREE.Vector3()).length(); const boxCenter = box.getCenter(new THREE.Vector3()); frameArea(boxSize * 0.4, boxSize, boxCenter, camera); // update the Trackball controls to handle the new size controls.maxDistance = boxSize * 10; controls.target.copy(boxCenter); controls.update(); }); } const lutShader = { uniforms: { tDiffuse: { value: null }, lutMap: { value: null }, lutMapSize: { value: 1, }, }, vertexShader: ` varying vec2 vUv; void main() { vUv = uv; gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 ); } `, fragmentShader: ` #include <common> #define FILTER_LUT true uniform sampler2D tDiffuse; uniform sampler2D lutMap; uniform float lutMapSize; varying vec2 vUv; vec4 sampleAs3DTexture(sampler2D tex, vec3 texCoord, float size) { float sliceSize = 1.0 / size; // space of 1 slice float slicePixelSize = sliceSize / size; // space of 1 pixel float width = size - 1.0; float sliceInnerSize = slicePixelSize * width; // space of size pixels float zSlice0 = floor( texCoord.z * width); float zSlice1 = min( zSlice0 + 1.0, width); float xOffset = slicePixelSize * 0.5 + texCoord.x * sliceInnerSize; float yRange = (texCoord.y * width + 0.5) / size; float s0 = xOffset + (zSlice0 * sliceSize); #ifdef FILTER_LUT float s1 = xOffset + (zSlice1 * sliceSize); vec4 slice0Color = texture2D(tex, vec2(s0, yRange)); vec4 slice1Color = texture2D(tex, vec2(s1, yRange)); float zOffset = mod(texCoord.z * width, 1.0); return mix(slice0Color, slice1Color, zOffset); #else return texture2D(tex, vec2( s0, yRange)); #endif } void main() { vec4 originalColor = texture2D(tDiffuse, vUv); gl_FragColor = sampleAs3DTexture(lutMap, originalColor.xyz, lutMapSize); } `, }; const lutNearestShader = { uniforms: {...lutShader.uniforms}, vertexShader: lutShader.vertexShader, fragmentShader: lutShader.fragmentShader.replace('#define FILTER_LUT', '//'), }; const effectLUT = new ShaderPass(lutShader); const effectLUTNearest = new ShaderPass(lutNearestShader); const renderModel = new RenderPass(scene, camera); renderModel.clear = false; // so we don't clear out the background const renderBG = new RenderPass(sceneBG, cameraBG); const gammaPass = new ShaderPass(GammaCorrectionShader); const composer = new EffectComposer(renderer); composer.addPass(renderBG); composer.addPass(renderModel); composer.addPass(effectLUT); composer.addPass(effectLUTNearest); composer.addPass(gammaPass); function resizeRendererToDisplaySize(renderer) { const canvas = renderer.domElement; const width = canvas.clientWidth * window.devicePixelRatio | 0; const height = canvas.clientHeight * window.devicePixelRatio | 0; const needResize = canvas.width !== width || canvas.height !== height; if (needResize) { renderer.setSize(width, height, false); } return needResize; } let then = 0; function render(now) { now *= 0.001; // convert to seconds const delta = now - then; then = now; if (resizeRendererToDisplaySize(renderer)) { const canvas = renderer.domElement; const canvasAspect = canvas.clientWidth / canvas.clientHeight; camera.aspect = canvasAspect; camera.updateProjectionMatrix(); composer.setSize(canvas.width, canvas.height); // scale the background plane to keep the image's // aspect correct. // Note the image may not have loaded yet. const imageAspect = bgTexture.image ? bgTexture.image.width / bgTexture.image.height : 1; const aspect = imageAspect / canvasAspect; bgMesh.scale.x = aspect > 1 ? aspect : 1; bgMesh.scale.y = aspect > 1 ? 1 : 1 / aspect; } const lutInfo = lutTextures[ lutSettings.lut ]; const effect = lutInfo.filter ? effectLUT : effectLUTNearest; effectLUT.enabled = lutInfo.filter; effectLUTNearest.enabled = !lutInfo.filter; const lutTexture = lutInfo.texture; effect.uniforms.lutMap.value = lutTexture; effect.uniforms.lutMapSize.value = lutInfo.size; composer.render(delta); requestAnimationFrame(render); } requestAnimationFrame(render); dragAndDrop.setup({msg: 'Drop LUT File here'}); dragAndDrop.onDropFile(readLUTFile); function ext(s) { const period = s.lastIndexOf('.'); return s.slice(period + 1); } function readLUTFile(file) { const reader = new FileReader(); reader.onload = (e) => { const type = ext(file.name); const lut = lutParser.lutTo2D3Drgba8(lutParser.parse(e.target.result, type)); const {size, data, name} = lut; const texture = new THREE.DataTexture(data, size * size, size); texture.magFilter = THREE.LinearFilter; texture.minFilter = THREE.LinearFilter; texture.needsUpdate = true; texture.flipY = false; const lutTexture = { name: (name && name.toLowerCase().trim() !== 'untitled') ? name : file.name, size: size, filter: true, texture, }; lutTextures.push(lutTexture); lutSettings.lut = lutTextures.length - 1; }; reader.readAsText(file); } } main(); </script> </html>
examples/maxbounds-example.html
MarkusMattinen/angular-leaflet-directive
<!DOCTYPE html> <html ng-app="demoapp"> <head> <script src="../bower_components/angular/angular.min.js"></script> <script src="../bower_components/leaflet/dist/leaflet.js"></script> <script src="../dist/angular-leaflet-directive.min.js"></script> <link rel="stylesheet" href="../bower_components/leaflet/dist/leaflet.css" /> <script> var app = angular.module("demoapp", ["leaflet-directive"]); app.controller("DemoController", [ "$scope", "leafletData", function($scope, leafletData) { $scope.regions = { london: { northEast: { lat: 51.51280224425956, lng: -0.11681556701660155 }, southWest: { lat: 51.50211782162702, lng: -0.14428138732910156 } }, lisbon: { southWest: { lat: 38.700247900602726, lng: -9.165430068969727 }, northEast: { lat: 38.72703673982525, lng: -9.110498428344725 } }, warszawa: { southWest: { lat: 52.14823737817847, lng: 20.793685913085934 }, northEast: { lat: 52.31645452105213, lng: 21.233139038085938 } } }; angular.extend($scope, { maxbounds: {} }); } ]); </script> <style> .angular-leaflet-map { width: 640px; height: 400px; } </style> </head> <body ng-controller="DemoController"> <form> <button ng-click="maxbounds=regions.london">London region</button> <button ng-click="maxbounds=regions.lisbon">Lisbon region</button> <button ng-click="maxbounds=regions.warszawa">Warszawa region</button> <button ng-click="maxbounds={}">Unset maxbounds</button> </form> <leaflet maxbounds="maxbounds"></leaflet> <p ng-show="maxbounds.northEast" class="result">Maxbounds: NE(lat: {{ maxbounds.northEast.lat }}, lng: {{ maxbounds.northEast.lng }}) SW(lat: {{ maxbounds.southWest.lat }}, lng: {{ maxbounds.southWest.lng }})</p> </body> </html>
AV/Hashing/Birthday.html
RJFreund/OpenDSA
<!DOCTYPE html> <!-- Simple activity to calculate the probability of collisions for a given number of values in a table of a given size. Written by Cliff Shaffer, August 2011. Revised for HTML validation and reformatting, June 2012. For more information, see http://algoviz.org/OpenDSA --> <html> <head> <meta charset="utf-8"> <title>Birthday Problem Calculator</title> <link rel="stylesheet" href="../../JSAV/css/JSAV.css" type="text/css" /> <link rel="stylesheet" href="../../lib/odsaAV-min.css" type="text/css" /> <link rel="stylesheet" href="Birthday.css" type="text/css" /> </head> <body> <div id="container"> <input type="button" id="about" name="about" value="About" /> <p class="instructions"> Calculate the probability of a collision.<br/> Formula Used: \(1 - \frac{t!}{(t-n)! (t^n)}\)<br/> where \(t\) is the table size and \(n\) is the number of records inserted. </p> <p class="tsize">Table size:</p> <input id="tablesize" name="tablesize" type="number" value="365"/> <p class="nrecs"># of records:</p> <input id="numrecs" name="numrecs" type="number" value="5" />&nbsp; <input type="button" id="calculate" name="calculate" value="Calculate" /> <p class="output"></p> </div> <script src="https://code.jquery.com/jquery-2.1.4.min.js"></script> <script src="../../JSAV/build/JSAV-min.js"></script> <script src="//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> <script src="../../lib/odsaUtils-min.js"></script> <script src="../../lib/odsaAV-min.js"></script> <script src="Birthday.js"></script> </body> </html>
web-projects/Week_3/Exercise_6/css/exercise-06-style.css
umbreen-deweb/umbreen-deweb.github.io
html, body { margin: 0; padding:0; width:100% } main { width:100%; } div{ display:inline-block; width: 28%; padding: 2%; } .plane { width: 28%; } img { width:250px; } a { text-decoration: none; } p { font-family: sans-serif; font-size: 10px; line-height: 2; color: grey; } h4 { font-family: sans-serif; font-size: 10px; } .button { border: solid black 2px; border-right: 5px red solid; font-size: 9px; width: 60px; text-align: center; font-family: sans-serif; color: grey; text-decoration: none; }
ext/c++/thirdpart/c++/boost/doc/html/boost/xpressive/dynamic_cast_idp374897536.html
yinchunlong/abelkhan-1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Function template dynamic_cast_</title> <link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> <link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> <link rel="up" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;"> <link rel="prev" href="static_cast_idp374892048.html" title="Function template static_cast_"> <link rel="next" href="const_cast_idp374903040.html" title="Function template const_cast_"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td> <td align="center"><a href="../../../../index.html">Home</a></td> <td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> <td align="center"><a href="../../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="static_cast_idp374892048.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="const_cast_idp374903040.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="refentry"> <a name="boost.xpressive.dynamic_cast_idp374897536"></a><div class="titlepage"></div> <div class="refnamediv"> <h2><span class="refentrytitle">Function template dynamic_cast_</span></h2> <p>boost::xpressive::dynamic_cast_ &#8212; <code class="computeroutput">dynamic_cast_</code> is a lazy funtion for dynamically casting a parameter to a different type. </p> </div> <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2> <div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;">boost/xpressive/regex_actions.hpp</a>&gt; </span> <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> T<span class="special">,</span> <span class="keyword">typename</span> A<span class="special">&gt;</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <span class="identifier">dynamic_cast_</span><span class="special">(</span><span class="identifier">A</span> <span class="keyword">const</span> <span class="special">&amp;</span> a<span class="special">)</span><span class="special">;</span></pre></div> <div class="refsect1"> <a name="idp564346528"></a><h2>Description</h2> <p> </p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody> <tr> <td><p><span class="term">Parameters:</span></p></td> <td><div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody><tr> <td><p><span class="term"><code class="computeroutput">a</code></span></p></td> <td><p>The lazy value to dynamically cast. </p></td> </tr></tbody> </table></div></td> </tr> <tr> <td><p><span class="term">Template Parameters:</span></p></td> <td><div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody><tr> <td><p><span class="term"><code class="computeroutput">T</code></span></p></td> <td><p>The type to which to dynamically cast the parameter. </p></td> </tr></tbody> </table></div></td> </tr> <tr> <td><p><span class="term">Returns:</span></p></td> <td><p>A lazy object that, when evaluated, dynamically casts its argument to the desired type. </p></td> </tr> </tbody> </table></div> </div> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> <td align="right"><div class="copyright-footer">Copyright &#169; 2007 Eric Niebler<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="static_cast_idp374892048.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="const_cast_idp374903040.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html>
client/views/404.html
carrot93/cmeteor
<template name="notFoundTemplate"> <div class="div-full-center"> <span class="span-1"> </span> <a href="{{pathFor 'index'}}" class="a-middle">404</a> </div> </template>
proj_issues/templates/issues/progress.html
akulakov/mangotrac
<div id="progress_cont_{{ pk }}" class="progress_cont"> <div id="{{ pk }}" class="progress_btns"> <ul> <li>0</li> <li>10</li> <li>20</li> <li>30</li> <li>40</li> <li>50</li> <li>60</li> <li>70</li> <li>80</li> <li>90</li> <li>100</li> </ul> </div> <div id="progress_on_{{ pk }}" class="progress_on">&nbsp;</div> </div>
detail/FMMLIB2D.html
IainNZ/packages.julialang.org
<!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"> <title>Julia Package Listing - Testing Information</title> <style> /* -- Mix of julialang.org, Bootstrap 3, and custom -- */ body { background-color: white; font-family: Georgia, 'Liberation Serif', serif; font-size: 14px; color: #333; line-height: 1.42857143; } .site { max-width: 785px; margin: 2.5em auto 2em; padding: 0 1.5em; } a { color: #428bca; text-decoration: none; } h1, h2, h3, h4, h5, h6 { font-family: inherit; font-weight: 500; line-height: 1.1; color: inherit; } h1, h2, h3 { margin-top: 20px; margin-bottom: 10px; } h2 { font-size: 30px; } h3 { font-size: 24px; } h4 { font-size: 18px; margin-top: 10px; margin-bottom: 10px; } .titlebox { text-align: center; font-size: 120%; margin-top: 3em; } .tests_pass { background-color: #11AA11; } /*Tests passing*/ .tests_fail { background-color: #DD3333; } /*Tests failed*/ .no_tests { background-color: #3333DD; } /*Tests missing*/ .not_possible { background-color: #222222; } /*Package excused*/ .statusbox { width: 12px; height: 12px; display: inline-block; } hr { margin-top: 10px; margin-bottom: 0px; border: 0; border-top: 1px solid #eee; } .pkglisting h2 { margin-bottom: 0px; } pre {margin: 0;} @media (min-width: 785px) { .pkglisting { display: table; width: 100%; } .pkgnamedesc { display: table-cell; width: 50%; } .pkgvertest { display: table-cell; width:50%; text-align: right } } </style> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-44252521-5', 'iainnz.github.io'); ga('send', 'pageview'); </script> </head> <body> <div class="site"> <!-- HEADER --> <div class="titlebox"> <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="210px" height="142px" viewBox="0 0 310 216" enable-background="new 0 0 310 216" xml:space="preserve"> <!-- blue dot --> <circle fill="#6b85dd" stroke="#4266d5" stroke-width="3" cx="50.5" cy="58.665" r="16.5"></circle> <!-- red dot --> <circle fill="#d66661" stroke="#c93d39" stroke-width="3" cx="212.459" cy="60.249" r="16.5"></circle> <!-- green dot --> <circle fill="#6bab5b" stroke="#3b972e" stroke-width="3" cx="233.834" cy="23.874" r="16.5"></circle> <!-- purple dot --> <circle fill="#aa7dc0" stroke="#945bb0" stroke-width="3" cx="255.459" cy="59.999" r="16.5"></circle> <!-- "j" --> <path fill="#252525" d="M37.216,138.427c0-15.839,0.006-31.679-0.018-47.517c-0.001-0.827,0.169-1.234,1.043-1.47 c7.876-2.127,15.739-4.308,23.606-6.47c1.33-0.366,1.333-0.36,1.333,1.019c0,25.758,0.015,51.517-0.012,77.274 c-0.006,5.514,0.245,11.032-0.272,16.543c-0.628,6.69-2.15,13.092-6.438,18.506c-3.781,4.771-8.898,7.25-14.767,8.338 c-6.599,1.222-13.251,1.552-19.934,0.938c-4.616-0.423-9.045-1.486-12.844-4.363c-2.863-2.168-4.454-4.935-3.745-8.603 c0.736-3.806,3.348-5.978,6.861-7.127c2.262-0.74,4.628-0.872,6.994-0.53c1.823,0.264,3.42,1.023,4.779,2.288 c1.38,1.284,2.641,2.674,3.778,4.177c0.872,1.15,1.793,2.256,2.991,3.086c2.055,1.426,4,0.965,5.213-1.216 c0.819-1.473,0.997-3.106,1.173-4.731c0.255-2.348,0.255-4.707,0.256-7.062C37.218,167.145,37.216,152.786,37.216,138.427z"></path> <!-- "u" --> <path fill="#252525" d="M125.536,162.479c-2.908,2.385-5.783,4.312-8.88,5.904c-10.348,5.323-20.514,4.521-30.324-1.253 c-6.71-3.95-11.012-9.849-12.52-17.606c-0.236-1.213-0.363-2.438-0.363-3.688c0.01-19.797,0.017-39.593-0.02-59.39 c-0.002-1.102,0.285-1.357,1.363-1.351c7.798,0.049,15.597,0.044,23.396,0.003c0.95-0.005,1.177,0.25,1.175,1.183 c-0.027,19.356-0.025,38.713-0.018,58.07c0.002,6.34,3.599,10.934,9.672,12.42c2.13,0.521,4.19,0.396,6.173-0.6 c4.26-2.139,7.457-5.427,10.116-9.307c0.333-0.487,0.224-1,0.224-1.51c0.007-19.635,0.016-39.271-0.02-58.904 c-0.002-1.083,0.255-1.369,1.353-1.361c7.838,0.052,15.677,0.045,23.515,0.004c0.916-0.005,1.103,0.244,1.102,1.124 c-0.025,27.677-0.026,55.353,0.002,83.024c0.001,0.938-0.278,1.099-1.139,1.095c-7.918-0.028-15.837-0.028-23.756-0.001 c-0.815,0.003-1.1-0.166-1.073-1.037C125.581,167.117,125.536,164.928,125.536,162.479z"></path> <!-- "l" --> <path fill="#252525" d="M187.423,107.08c0,20.637-0.011,41.273,0.026,61.91c0.003,1.119-0.309,1.361-1.381,1.355 c-7.799-0.052-15.598-0.047-23.396-0.008c-0.898,0.008-1.117-0.222-1.115-1.115c0.021-39.074,0.021-78.147,0-117.226 c0-0.811,0.189-1.169,1.006-1.392c7.871-2.149,15.73-4.327,23.584-6.545c1.045-0.295,1.308-0.17,1.306,0.985 C187.412,65.727,187.423,86.403,187.423,107.08z"></path> <!-- "i" --> <path fill="#252525" d="M223.46,126.477c0,14.155-0.011,28.312,0.021,42.467c0.002,1.027-0.164,1.418-1.332,1.408 c-7.838-0.061-15.676-0.047-23.516-0.01c-0.881,0.004-1.121-0.189-1.119-1.104c0.026-26.153,0.025-52.307,0-78.458 c0-0.776,0.203-1.101,0.941-1.302c7.984-2.172,15.972-4.35,23.938-6.596c1.049-0.296,1.08,0.031,1.078,0.886 C223.454,98.004,223.46,112.239,223.46,126.477z"></path> <!-- "a" --> <path fill="#252525" d="M277.695,163.6c-0.786,0.646-1.404,1.125-2,1.635c-4.375,3.746-9.42,5.898-15.16,6.42 c-5.792,0.527-11.479,0.244-16.934-2.047c-12.08-5.071-15.554-17.188-11.938-27.448c1.799-5.111,5.472-8.868,9.831-11.94 c5.681-4.003,12.009-6.732,18.504-9.074c5.576-2.014,11.186-3.939,16.955-5.347c0.445-0.104,0.773-0.243,0.757-0.854 c-0.136-4.389,0.261-8.79-0.479-13.165c-1.225-7.209-6.617-10.013-12.895-9.348c-0.516,0.055-1.029,0.129-1.536,0.241 c-4.877,1.081-7.312,4.413-7.374,10.127c-0.02,1.729-0.229,3.418-0.693,5.084c-0.906,3.229-2.969,5.354-6.168,6.266 c-3.422,0.979-6.893,0.998-10.23-0.305c-6.529-2.543-8.877-10.164-5.12-16.512c2.249-3.799,5.606-6.4,9.461-8.405 c6.238-3.246,12.914-4.974,19.896-5.537c7.565-0.61,15.096-0.366,22.49,1.507c4.285,1.085,8.312,2.776,11.744,5.657 c4.473,3.749,6.776,8.647,6.812,14.374c0.139,21.477,0.096,42.951,0.143,64.428c0.002,0.799-0.248,0.983-1.021,0.98 c-8.035-0.025-16.074-0.023-24.113-0.001c-0.716,0.002-0.973-0.146-0.941-0.915C277.736,167.562,277.695,165.698,277.695,163.6z M277.695,126.393c-4.793,2.104-9.25,4.373-13.287,7.408c-2.151,1.618-4.033,3.483-5.732,5.581 c-4.229,5.226-1.988,13.343,1.693,16.599c1.592,1.406,3.359,1.906,5.419,1.521c1.621-0.307,3.149-0.857,4.549-1.734 c1.521-0.951,2.949-2.072,4.539-2.887c2.31-1.18,2.97-2.861,2.894-5.445C277.561,140.484,277.695,133.527,277.695,126.393z"></path> </svg> <h1> <a href="http://github.com/ludvigak/FMMLIB2D.jl" name="FMMLIB2D">FMMLIB2D</a> </h1> <h4> <a href="http://github.com/ludvigak">ludvigak</a> </h4> <p> <a href="http://pkg.julialang.org#FMMLIB2D">← Back to package list</a> </p> </div> <p> If you think that there is an error in how your package is being tested or represented, please file an issue at <a href="https://github.com/JuliaCI/PackageEvaluator.jl/">PackageEvaluator.jl</a>, making sure to read the FAQ first. </p> <h3>Badges</h3> <h4>Julia v0.6</h4> <img src="../badges/FMMLIB2D_0.6.svg"> <br> <a href="http://pkg.julialang.org/badges/FMMLIB2D_0.6.svg">http:&#x2F;&#x2F;pkg.julialang.org&#x2F;badges&#x2F;FMMLIB2D_0.6.svg</a> <pre>[![FMMLIB2D](http:&#x2F;&#x2F;pkg.julialang.org&#x2F;badges&#x2F;FMMLIB2D_0.6.svg)](http:&#x2F;&#x2F;pkg.julialang.org&#x2F;detail&#x2F;FMMLIB2D)</pre> <h3>Most Recent Test Logs</h3> <ul> <li> <a href="../logs/FMMLIB2D_0.6.log">Julia v0.6</a> </li> </ul> <h3>Version and Status History</h3> <h4>Julia v0.6</h4> <pre>2018-06-20 to 2018-08-04, v0.1.0, Tests pass. 2018-04-28 to 2018-05-12, v0.0.2, Tests pass. 2018-04-24 to 2018-04-26, v0.0.1, Tests pass. </pre> </div> </body> </html>
GigyaSDK.Android/gigya-sdk-javadoc/com/gigya/socialize/GSArray.html
ianlevesque/gigya-sdk-xamarin
<!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_40) on Tue Nov 22 13:27:24 IST 2016 --> <title>GSArray (SDK API)</title> <meta name="date" content="2016-11-22"> <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="GSArray (SDK API)"; } } catch(err) { } //--> var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance 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="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&nbsp;Class</li> <li><a href="../../../com/gigya/socialize/GSException.html" title="class in com.gigya.socialize"><span class="typeNameLink">Next&nbsp;Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../index.html?com/gigya/socialize/GSArray.html" target="_top">Frames</a></li> <li><a href="GSArray.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">com.gigya.socialize</div> <h2 title="Class GSArray" class="title">Class GSArray</h2> </div> <div class="contentContainer"> <ul class="inheritance"> <li>java.lang.Object</li> <li> <ul class="inheritance"> <li>com.gigya.socialize.GSArray</li> </ul> </li> </ul> <div class="description"> <ul class="blockList"> <li class="blockList"> <dl> <dt>All Implemented Interfaces:</dt> <dd>java.io.Serializable, java.lang.Iterable&lt;java.lang.Object&gt;</dd> </dl> <hr> <br> <pre>public class <span class="typeNameLabel">GSArray</span> extends java.lang.Object implements java.io.Serializable, java.lang.Iterable&lt;java.lang.Object&gt;</pre> <div class="block">Used for passing arrays. For example, when issuing requests or receiving response data. <br/> The value may be one of the following types: <br/> <ul> <li> String <li> boolean <li> int <li> long <li> double <li> GSObject <li> GSArray </ul></div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../serialized-form.html#com.gigya.socialize.GSArray">Serialized Form</a></dd> </dl> </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="colFirst" scope="col">Modifier</th> <th class="colLast" scope="col">Constructor and Description</th> </tr> <tr class="altColor"> <td class="colFirst"><code>&nbsp;</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gigya/socialize/GSArray.html#GSArray--">GSArray</a></span>()</code> <div class="block">Empty constructor</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>protected </code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gigya/socialize/GSArray.html#GSArray-JSONArray-">GSArray</a></span>(JSONArray&nbsp;jsonArray)</code> <div class="block">Constructor from JSONArray</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>&nbsp;</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gigya/socialize/GSArray.html#GSArray-java.lang.String-">GSArray</a></span>(java.lang.String&nbsp;json)</code> <div class="block">Constructor from json string</div> </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="t2" class="tableTab"><span><a href="javascript:show(2);">Instance 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>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gigya/socialize/GSArray.html#add-boolean-">add</a></span>(boolean&nbsp;val)</code>&nbsp;</td> </tr> <tr id="i1" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gigya/socialize/GSArray.html#add-double-">add</a></span>(double&nbsp;val)</code>&nbsp;</td> </tr> <tr id="i2" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gigya/socialize/GSArray.html#add-com.gigya.socialize.GSArray-">add</a></span>(<a href="../../../com/gigya/socialize/GSArray.html" title="class in com.gigya.socialize">GSArray</a>&nbsp;val)</code>&nbsp;</td> </tr> <tr id="i3" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gigya/socialize/GSArray.html#add-com.gigya.socialize.GSObject-">add</a></span>(<a href="../../../com/gigya/socialize/GSObject.html" title="class in com.gigya.socialize">GSObject</a>&nbsp;val)</code>&nbsp;</td> </tr> <tr id="i4" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gigya/socialize/GSArray.html#add-int-">add</a></span>(int&nbsp;val)</code>&nbsp;</td> </tr> <tr id="i5" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gigya/socialize/GSArray.html#add-long-">add</a></span>(long&nbsp;val)</code>&nbsp;</td> </tr> <tr id="i6" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gigya/socialize/GSArray.html#add-java.lang.String-">add</a></span>(java.lang.String&nbsp;val)</code>&nbsp;</td> </tr> <tr id="i7" class="rowColor"> <td class="colFirst"><code><a href="../../../com/gigya/socialize/GSArray.html" title="class in com.gigya.socialize">GSArray</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gigya/socialize/GSArray.html#getArray-int-">getArray</a></span>(int&nbsp;index)</code> <div class="block">Get GSArray value at index</div> </td> </tr> <tr id="i8" class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gigya/socialize/GSArray.html#getBool-int-">getBool</a></span>(int&nbsp;index)</code> <div class="block">Get bool value at index</div> </td> </tr> <tr id="i9" class="rowColor"> <td class="colFirst"><code>double</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gigya/socialize/GSArray.html#getDouble-int-">getDouble</a></span>(int&nbsp;index)</code> <div class="block">Get double value at index</div> </td> </tr> <tr id="i10" class="altColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gigya/socialize/GSArray.html#getInt-int-">getInt</a></span>(int&nbsp;index)</code> <div class="block">Get int value at index</div> </td> </tr> <tr id="i11" class="rowColor"> <td class="colFirst"><code>long</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gigya/socialize/GSArray.html#getLong-int-">getLong</a></span>(int&nbsp;index)</code> <div class="block">Get long value at index</div> </td> </tr> <tr id="i12" class="altColor"> <td class="colFirst"><code><a href="../../../com/gigya/socialize/GSObject.html" title="class in com.gigya.socialize">GSObject</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gigya/socialize/GSArray.html#getObject-int-">getObject</a></span>(int&nbsp;index)</code> <div class="block">Get GSObject value at index</div> </td> </tr> <tr id="i13" class="rowColor"> <td class="colFirst"><code>java.lang.String</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gigya/socialize/GSArray.html#getString-int-">getString</a></span>(int&nbsp;index)</code> <div class="block">Get string value at index</div> </td> </tr> <tr id="i14" class="altColor"> <td class="colFirst"><code>protected java.util.ArrayList&lt;java.lang.Object&gt;</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gigya/socialize/GSArray.html#getUnderlingArray--">getUnderlingArray</a></span>()</code>&nbsp;</td> </tr> <tr id="i15" class="rowColor"> <td class="colFirst"><code>java.util.Iterator&lt;java.lang.Object&gt;</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gigya/socialize/GSArray.html#iterator--">iterator</a></span>()</code>&nbsp;</td> </tr> <tr id="i16" class="altColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gigya/socialize/GSArray.html#length--">length</a></span>()</code> <div class="block">return the array's length</div> </td> </tr> <tr id="i17" class="rowColor"> <td class="colFirst"><code>protected JSONArray</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gigya/socialize/GSArray.html#toJsonArray--">toJsonArray</a></span>()</code>&nbsp;</td> </tr> <tr id="i18" class="altColor"> <td class="colFirst"><code>java.lang.String</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gigya/socialize/GSArray.html#toJsonString--">toJsonString</a></span>()</code>&nbsp;</td> </tr> <tr id="i19" class="rowColor"> <td class="colFirst"><code>java.lang.String</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gigya/socialize/GSArray.html#toString--">toString</a></span>()</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.Object</h3> <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.java.lang.Iterable"> <!-- --> </a> <h3>Methods inherited from interface&nbsp;java.lang.Iterable</h3> <code>forEach, spliterator</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="GSArray--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>GSArray</h4> <pre>public&nbsp;GSArray()</pre> <div class="block">Empty constructor</div> </li> </ul> <a name="GSArray-java.lang.String-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>GSArray</h4> <pre>public&nbsp;GSArray(java.lang.String&nbsp;json) throws java.lang.Exception</pre> <div class="block">Constructor from json string</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>json</code> - json string</dd> <dt><span class="throwsLabel">Throws:</span></dt> <dd><code>java.lang.Exception</code></dd> </dl> </li> </ul> <a name="GSArray-JSONArray-"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>GSArray</h4> <pre>protected&nbsp;GSArray(JSONArray&nbsp;jsonArray) throws java.lang.Exception</pre> <div class="block">Constructor from JSONArray</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>jsonArray</code> - </dd> <dt><span class="throwsLabel">Throws:</span></dt> <dd><code>java.lang.Exception</code></dd> </dl> </li> </ul> </li> </ul> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> <li class="blockList"><a name="method.detail"> <!-- --> </a> <h3>Method Detail</h3> <a name="length--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>length</h4> <pre>public&nbsp;int&nbsp;length()</pre> <div class="block">return the array's length</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> </dl> </li> </ul> <a name="add-java.lang.String-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>add</h4> <pre>public&nbsp;void&nbsp;add(java.lang.String&nbsp;val)</pre> </li> </ul> <a name="add-boolean-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>add</h4> <pre>public&nbsp;void&nbsp;add(boolean&nbsp;val)</pre> </li> </ul> <a name="add-int-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>add</h4> <pre>public&nbsp;void&nbsp;add(int&nbsp;val)</pre> </li> </ul> <a name="add-long-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>add</h4> <pre>public&nbsp;void&nbsp;add(long&nbsp;val)</pre> </li> </ul> <a name="add-com.gigya.socialize.GSObject-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>add</h4> <pre>public&nbsp;void&nbsp;add(<a href="../../../com/gigya/socialize/GSObject.html" title="class in com.gigya.socialize">GSObject</a>&nbsp;val)</pre> </li> </ul> <a name="add-com.gigya.socialize.GSArray-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>add</h4> <pre>public&nbsp;void&nbsp;add(<a href="../../../com/gigya/socialize/GSArray.html" title="class in com.gigya.socialize">GSArray</a>&nbsp;val)</pre> </li> </ul> <a name="add-double-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>add</h4> <pre>public&nbsp;void&nbsp;add(double&nbsp;val)</pre> </li> </ul> <a name="getString-int-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getString</h4> <pre>public&nbsp;java.lang.String&nbsp;getString(int&nbsp;index)</pre> <div class="block">Get string value at index</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>index</code> - </dd> <dt><span class="returnLabel">Returns:</span></dt> </dl> </li> </ul> <a name="getBool-int-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getBool</h4> <pre>public&nbsp;boolean&nbsp;getBool(int&nbsp;index)</pre> <div class="block">Get bool value at index</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>index</code> - </dd> <dt><span class="returnLabel">Returns:</span></dt> <dt><span class="throwsLabel">Throws:</span></dt> <dd><code>java.lang.NullPointerException</code> - if value is null</dd> <dd><code>java.lang.IndexOutOfBoundsException</code></dd> </dl> </li> </ul> <a name="getInt-int-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getInt</h4> <pre>public&nbsp;int&nbsp;getInt(int&nbsp;index)</pre> <div class="block">Get int value at index</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>index</code> - </dd> <dt><span class="returnLabel">Returns:</span></dt> <dt><span class="throwsLabel">Throws:</span></dt> <dd><code>java.lang.NullPointerException</code> - if value is null</dd> <dd><code>java.lang.IndexOutOfBoundsException</code></dd> </dl> </li> </ul> <a name="getLong-int-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getLong</h4> <pre>public&nbsp;long&nbsp;getLong(int&nbsp;index)</pre> <div class="block">Get long value at index</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>index</code> - </dd> <dt><span class="returnLabel">Returns:</span></dt> <dt><span class="throwsLabel">Throws:</span></dt> <dd><code>java.lang.NullPointerException</code> - if value is null</dd> <dd><code>java.lang.IndexOutOfBoundsException</code></dd> </dl> </li> </ul> <a name="getDouble-int-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getDouble</h4> <pre>public&nbsp;double&nbsp;getDouble(int&nbsp;index)</pre> <div class="block">Get double value at index</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>index</code> - </dd> <dt><span class="returnLabel">Returns:</span></dt> <dt><span class="throwsLabel">Throws:</span></dt> <dd><code>java.lang.NullPointerException</code> - if value is null</dd> <dd><code>java.lang.IndexOutOfBoundsException</code></dd> </dl> </li> </ul> <a name="getObject-int-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getObject</h4> <pre>public&nbsp;<a href="../../../com/gigya/socialize/GSObject.html" title="class in com.gigya.socialize">GSObject</a>&nbsp;getObject(int&nbsp;index)</pre> <div class="block">Get GSObject value at index</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>index</code> - </dd> <dt><span class="returnLabel">Returns:</span></dt> <dt><span class="throwsLabel">Throws:</span></dt> <dd><code>java.lang.IndexOutOfBoundsException</code></dd> </dl> </li> </ul> <a name="getArray-int-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getArray</h4> <pre>public&nbsp;<a href="../../../com/gigya/socialize/GSArray.html" title="class in com.gigya.socialize">GSArray</a>&nbsp;getArray(int&nbsp;index)</pre> <div class="block">Get GSArray value at index</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>index</code> - </dd> <dt><span class="returnLabel">Returns:</span></dt> <dt><span class="throwsLabel">Throws:</span></dt> <dd><code>java.lang.NullPointerException</code> - if value is null</dd> </dl> </li> </ul> <a name="toString--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>toString</h4> <pre>public&nbsp;java.lang.String&nbsp;toString()</pre> <dl> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> <dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd> </dl> </li> </ul> <a name="toJsonString--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>toJsonString</h4> <pre>public&nbsp;java.lang.String&nbsp;toJsonString()</pre> </li> </ul> <a name="iterator--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>iterator</h4> <pre>public&nbsp;java.util.Iterator&lt;java.lang.Object&gt;&nbsp;iterator()</pre> <dl> <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> <dd><code>iterator</code>&nbsp;in interface&nbsp;<code>java.lang.Iterable&lt;java.lang.Object&gt;</code></dd> </dl> </li> </ul> <a name="toJsonArray--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>toJsonArray</h4> <pre>protected&nbsp;JSONArray&nbsp;toJsonArray() throws JSONException</pre> <dl> <dt><span class="throwsLabel">Throws:</span></dt> <dd><code>JSONException</code></dd> </dl> </li> </ul> <a name="getUnderlingArray--"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>getUnderlingArray</h4> <pre>protected&nbsp;java.util.ArrayList&lt;java.lang.Object&gt;&nbsp;getUnderlingArray()</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="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&nbsp;Class</li> <li><a href="../../../com/gigya/socialize/GSException.html" title="class in com.gigya.socialize"><span class="typeNameLink">Next&nbsp;Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../index.html?com/gigya/socialize/GSArray.html" target="_top">Frames</a></li> <li><a href="GSArray.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 ======= --> </body> </html>
bundle.apache.derby/db-derby-10.8.3.0-bin/docs/html/tools/ctoolsusingdblook.html
acshea/edgware
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en-us" xml:lang="en-us"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You 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. --> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> <meta name="copyright" content="(C) Copyright 2005" /> <meta name="DC.rights.owner" content="(C) Copyright 2005" /> <meta content="public" name="security" /> <meta content="index,follow" name="Robots" /> <meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' /> <meta content="concept" name="DC.Type" /> <meta name="DC.Title" content="Using dblook" /> <meta scheme="URI" name="DC.Relation" content="ctoolsdblook.html" /> <meta scheme="URI" name="DC.Relation" content="rtoolsdblookoptions.html" /> <meta scheme="URI" name="DC.Relation" content="ctoolsgenddldb.html" /> <meta scheme="URI" name="DC.Relation" content="rtoolsdblookexamples.html" /> <meta content="XHTML" name="DC.Format" /> <meta content="ctoolsusingdblook" name="DC.Identifier" /> <meta content="en-us" name="DC.Language" /> <link href="commonltr.css" type="text/css" rel="stylesheet" /> <title>Using dblook</title> </head> <body id="ctoolsusingdblook"><a name="ctoolsusingdblook"><!-- --></a> <h1 class="topictitle1">Using dblook</h1> <div> <p>The syntax for the command to launch the <samp class="codeph">dblook</samp> utility is:</p> <pre>dblook -d <em>connectionURL</em> [<em>options</em>]</pre> <p>The value for <var class="varname">connectionURL</var> is the complete URL for the database. Where appropriate, the URL includes any connection URL attributes that might be required to access the database. For complete information on connection URL attributes, see "Setting attributes for the database connection URL" in the <span><em>Derby Reference Manual</em></span>.</p> <p>For example, to connect to the database 'myDB', the URL would simply be <samp class="codeph">'jdbc:derby:myDB';</samp> to connect using the Network Server to a database 'C:\private\tmp\myDB' on a remote server (port 1527), the URL would be:</p> <pre>'jdbc:derby://localhost:1527/"C:\private\tmp\myDB";user=someusr;password=somepwd'</pre> <p>As with other <span>Derby</span> utilities, you must ensure that no other JVMs are started against the database when you call the <samp class="codeph">dblook</samp> utility, or an exception will occur and will print to the <samp class="codeph">dblook.log</samp>. If this exception is thrown, the <samp class="codeph">dblook</samp> utility will quit. To recover, you must ensure that no other <span>Derby</span> applications running in a separate JVM are connected to the source database. These connections need to be shutdown. Once all existing JVMs running against the database have been shutdown, the <samp class="codeph">dblook</samp> utility will execute successfully. You can also start the <span>Derby</span> Network server and run the <samp class="codeph">dblook</samp> utility as a client application while other clients are connected to the server.</p> </div> <div> <div class="familylinks"> <div class="parentlink"><strong>Parent topic:</strong> <a href="ctoolsdblook.html" title="">dblook</a></div> </div> <div class="relconcepts"><strong>Related concepts</strong><br /> <div><a href="ctoolsgenddldb.html" title="">Generating the DDL for a database</a></div> </div> <div class="relref"><strong>Related reference</strong><br /> <div><a href="rtoolsdblookoptions.html" title="">dblook options</a></div> <div><a href="rtoolsdblookexamples.html" title="">dblook examples</a></div> </div> </div> </body> </html>
resources/apache-jena/javadoc-sdb/com/hp/hpl/jena/sdb/core/sqlnode/class-use/SqlUnion.html
vuk/Clojure-Movies
<!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 (version 1.7.0_25) on Thu Sep 12 11:01:01 BST 2013 --> <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> <title>Uses of Class com.hp.hpl.jena.sdb.core.sqlnode.SqlUnion (Apache Jena SDB)</title> <meta name="date" content="2013-09-12"> <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="Uses of Class com.hp.hpl.jena.sdb.core.sqlnode.SqlUnion (Apache Jena SDB)"; } //--> </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><a href="../../../../../../../../com/hp/hpl/jena/sdb/core/sqlnode/SqlUnion.html" title="class in com.hp.hpl.jena.sdb.core.sqlnode">Class</a></li> <li class="navBarCell1Rev">Use</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</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../../../../../index.html?com/hp/hpl/jena/sdb/core/sqlnode/class-use/SqlUnion.html" target="_top">Frames</a></li> <li><a href="SqlUnion.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"> <h2 title="Uses of Class com.hp.hpl.jena.sdb.core.sqlnode.SqlUnion" class="title">Uses of Class<br>com.hp.hpl.jena.sdb.core.sqlnode.SqlUnion</h2> </div> <div class="classUseContainer"> <ul class="blockList"> <li class="blockList"> <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation"> <caption><span>Packages that use <a href="../../../../../../../../com/hp/hpl/jena/sdb/core/sqlnode/SqlUnion.html" title="class in com.hp.hpl.jena.sdb.core.sqlnode">SqlUnion</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Package</th> <th class="colLast" scope="col">Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><a href="#com.hp.hpl.jena.sdb.core.sqlnode">com.hp.hpl.jena.sdb.core.sqlnode</a></td> <td class="colLast">&nbsp;</td> </tr> </tbody> </table> </li> <li class="blockList"> <ul class="blockList"> <li class="blockList"><a name="com.hp.hpl.jena.sdb.core.sqlnode"> <!-- --> </a> <h3>Uses of <a href="../../../../../../../../com/hp/hpl/jena/sdb/core/sqlnode/SqlUnion.html" title="class in com.hp.hpl.jena.sdb.core.sqlnode">SqlUnion</a> in <a href="../../../../../../../../com/hp/hpl/jena/sdb/core/sqlnode/package-summary.html">com.hp.hpl.jena.sdb.core.sqlnode</a></h3> <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../../../../../com/hp/hpl/jena/sdb/core/sqlnode/package-summary.html">com.hp.hpl.jena.sdb.core.sqlnode</a> with parameters of type <a href="../../../../../../../../com/hp/hpl/jena/sdb/core/sqlnode/SqlUnion.html" title="class in com.hp.hpl.jena.sdb.core.sqlnode">SqlUnion</a></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> <tbody> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../../../../com/hp/hpl/jena/sdb/core/sqlnode/SqlNode.html" title="interface in com.hp.hpl.jena.sdb.core.sqlnode">SqlNode</a></code></td> <td class="colLast"><span class="strong">SqlTransformCopy.</span><code><strong><a href="../../../../../../../../com/hp/hpl/jena/sdb/core/sqlnode/SqlTransformCopy.html#transform(com.hp.hpl.jena.sdb.core.sqlnode.SqlUnion, com.hp.hpl.jena.sdb.core.sqlnode.SqlNode, com.hp.hpl.jena.sdb.core.sqlnode.SqlNode)">transform</a></strong>(<a href="../../../../../../../../com/hp/hpl/jena/sdb/core/sqlnode/SqlUnion.html" title="class in com.hp.hpl.jena.sdb.core.sqlnode">SqlUnion</a>&nbsp;sqlUnion, <a href="../../../../../../../../com/hp/hpl/jena/sdb/core/sqlnode/SqlNode.html" title="interface in com.hp.hpl.jena.sdb.core.sqlnode">SqlNode</a>&nbsp;left, <a href="../../../../../../../../com/hp/hpl/jena/sdb/core/sqlnode/SqlNode.html" title="interface in com.hp.hpl.jena.sdb.core.sqlnode">SqlNode</a>&nbsp;right)</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../../../../com/hp/hpl/jena/sdb/core/sqlnode/SqlNode.html" title="interface in com.hp.hpl.jena.sdb.core.sqlnode">SqlNode</a></code></td> <td class="colLast"><span class="strong">SqlTransform.</span><code><strong><a href="../../../../../../../../com/hp/hpl/jena/sdb/core/sqlnode/SqlTransform.html#transform(com.hp.hpl.jena.sdb.core.sqlnode.SqlUnion, com.hp.hpl.jena.sdb.core.sqlnode.SqlNode, com.hp.hpl.jena.sdb.core.sqlnode.SqlNode)">transform</a></strong>(<a href="../../../../../../../../com/hp/hpl/jena/sdb/core/sqlnode/SqlUnion.html" title="class in com.hp.hpl.jena.sdb.core.sqlnode">SqlUnion</a>&nbsp;sqlUnion, <a href="../../../../../../../../com/hp/hpl/jena/sdb/core/sqlnode/SqlNode.html" title="interface in com.hp.hpl.jena.sdb.core.sqlnode">SqlNode</a>&nbsp;left, <a href="../../../../../../../../com/hp/hpl/jena/sdb/core/sqlnode/SqlNode.html" title="interface in com.hp.hpl.jena.sdb.core.sqlnode">SqlNode</a>&nbsp;right)</code>&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="strong">GenerateSQLVisitor.</span><code><strong><a href="../../../../../../../../com/hp/hpl/jena/sdb/core/sqlnode/GenerateSQLVisitor.html#visit(com.hp.hpl.jena.sdb.core.sqlnode.SqlUnion)">visit</a></strong>(<a href="../../../../../../../../com/hp/hpl/jena/sdb/core/sqlnode/SqlUnion.html" title="class in com.hp.hpl.jena.sdb.core.sqlnode">SqlUnion</a>&nbsp;sqlUnion)</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="strong">SqlNodeVisitorBase.</span><code><strong><a href="../../../../../../../../com/hp/hpl/jena/sdb/core/sqlnode/SqlNodeVisitorBase.html#visit(com.hp.hpl.jena.sdb.core.sqlnode.SqlUnion)">visit</a></strong>(<a href="../../../../../../../../com/hp/hpl/jena/sdb/core/sqlnode/SqlUnion.html" title="class in com.hp.hpl.jena.sdb.core.sqlnode">SqlUnion</a>&nbsp;sqlUnion)</code>&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="strong">SqlNodeVisitor.</span><code><strong><a href="../../../../../../../../com/hp/hpl/jena/sdb/core/sqlnode/SqlNodeVisitor.html#visit(com.hp.hpl.jena.sdb.core.sqlnode.SqlUnion)">visit</a></strong>(<a href="../../../../../../../../com/hp/hpl/jena/sdb/core/sqlnode/SqlUnion.html" title="class in com.hp.hpl.jena.sdb.core.sqlnode">SqlUnion</a>&nbsp;sqlUnion)</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="strong">SqlNodeTextVisitor.</span><code><strong><a href="../../../../../../../../com/hp/hpl/jena/sdb/core/sqlnode/SqlNodeTextVisitor.html#visit(com.hp.hpl.jena.sdb.core.sqlnode.SqlUnion)">visit</a></strong>(<a href="../../../../../../../../com/hp/hpl/jena/sdb/core/sqlnode/SqlUnion.html" title="class in com.hp.hpl.jena.sdb.core.sqlnode">SqlUnion</a>&nbsp;sqlUnion)</code>&nbsp;</td> </tr> </tbody> </table> </li> </ul> </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="../../../../../../../../overview-summary.html">Overview</a></li> <li><a href="../package-summary.html">Package</a></li> <li><a href="../../../../../../../../com/hp/hpl/jena/sdb/core/sqlnode/SqlUnion.html" title="class in com.hp.hpl.jena.sdb.core.sqlnode">Class</a></li> <li class="navBarCell1Rev">Use</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</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../../../../../index.html?com/hp/hpl/jena/sdb/core/sqlnode/class-use/SqlUnion.html" target="_top">Frames</a></li> <li><a href="SqlUnion.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 ======= --> <p class="legalCopy"><small>Licenced under the Apache License, Version 2.0</small></p> </body> </html>
resources/apache-jena/javadoc-arq/com/hp/hpl/jena/sparql/util/class-use/MappedLoader.html
vuk/Clojure-Movies
<!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 (version 1.7.0_25) on Thu Sep 12 10:52:56 BST 2013 --> <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> <title>Uses of Class com.hp.hpl.jena.sparql.util.MappedLoader (Apache Jena ARQ)</title> <meta name="date" content="2013-09-12"> <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="Uses of Class com.hp.hpl.jena.sparql.util.MappedLoader (Apache Jena ARQ)"; } //--> </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><a href="../../../../../../../com/hp/hpl/jena/sparql/util/MappedLoader.html" title="class in com.hp.hpl.jena.sparql.util">Class</a></li> <li class="navBarCell1Rev">Use</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</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../../../../index.html?com/hp/hpl/jena/sparql/util/class-use/MappedLoader.html" target="_top">Frames</a></li> <li><a href="MappedLoader.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"> <h2 title="Uses of Class com.hp.hpl.jena.sparql.util.MappedLoader" class="title">Uses of Class<br>com.hp.hpl.jena.sparql.util.MappedLoader</h2> </div> <div class="classUseContainer">No usage of com.hp.hpl.jena.sparql.util.MappedLoader</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="../../../../../../../overview-summary.html">Overview</a></li> <li><a href="../package-summary.html">Package</a></li> <li><a href="../../../../../../../com/hp/hpl/jena/sparql/util/MappedLoader.html" title="class in com.hp.hpl.jena.sparql.util">Class</a></li> <li class="navBarCell1Rev">Use</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</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../../../../index.html?com/hp/hpl/jena/sparql/util/class-use/MappedLoader.html" target="_top">Frames</a></li> <li><a href="MappedLoader.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 ======= --> <p class="legalCopy"><small>Licenced under the Apache License, Version 2.0</small></p> </body> </html>
sites/all/modules/media_youtube/css/media_youtube.css
alexinfopruna/hipicmedia2013
.media-youtube-preview-wrapper { max-width: 100%; min-height: 50px; position: relative; } .media-youtube-preview-wrapper object, .media-youtube-preview-wrapper iframe { max-width: 100%; position: relative; } .media-youtube-preview-wrapper .js-fallback { left: 0; margin-top: -0.5em; position: absolute; right: 0; text-align: center; top: 50%; }
h_code/statics/main/shiti_two/shiti_files/testing.css
caoxinjava001/exam_new
.testing_position { LINE-HEIGHT: 20px; PADDING-LEFT: 26px; BACKGROUND: url(position_icon.png) no-repeat left 0px; COLOR: #2f3743; FONT-SIZE: 12px } .testing_content { BORDER-BOTTOM: #d6d6d6 1px solid; BORDER-LEFT: #d6d6d6 1px solid; BACKGROUND: #fff; BORDER-TOP: #d6d6d6 1px solid; BORDER-RIGHT: #d6d6d6 1px solid } .testing_content .title { LINE-HEIGHT: 65px; BACKGROUND: url(/images/paperks/testing_left_bg.png) repeat-x; HEIGHT: 65px } .testing_content .title H4 { TEXT-ALIGN: center; FONT-FAMILY: "΢ÈíÑźÚ"; COLOR: #339900; FONT-SIZE: 18px; FONT-WEIGHT: normal } .testing_content .content { PADDING-BOTTOM: 0px; PADDING-LEFT: 22px; PADDING-RIGHT: 22px; PADDING-TOP: 0px } .testing_content .content_title { TEXT-ALIGN: center; COLOR: #979696 } .papers_illustrate { POSITION: relative; MARGIN: 0px auto; WIDTH: 621px } .illustrate_t { Z-INDEX: 33; POSITION: absolute; TEXT-ALIGN: center; PADDING-BOTTOM: 0px; LINE-HEIGHT: 21px; PADDING-LEFT: 10px; PADDING-RIGHT: 10px; BACKGROUND: #fff; HEIGHT: 21px; COLOR: #2f3743; TOP: 0px; FONT-WEIGHT: bold; PADDING-TOP: 0px; LEFT: 50px } .illustrate_c { BORDER-BOTTOM: #b8b8b8 1px solid; POSITION: relative; BORDER-LEFT: #b8b8b8 1px solid; WIDTH: 619px; BACKGROUND: #fff; HEIGHT: 105px; BORDER-TOP: #b8b8b8 1px solid; TOP: 10px; BORDER-RIGHT: #b8b8b8 1px solid; LEFT: 0px } .illustrate_c UL { MARGIN: 0px auto; WIDTH: 510px; PADDING-TOP: 16px } .illustrate_c LI { LINE-HEIGHT: 25px; WIDTH: 162px; PADDING-RIGHT: 8px; FLOAT: left; COLOR: #666 } .illustrate_c DL { } .illustrate_c DT { FLOAT: left } .illustrate_c DD { LINE-HEIGHT: 19px; FLOAT: left } .illustrate_c P { PADDING-BOTTOM: 0px; LINE-HEIGHT: 24px; PADDING-LEFT: 20px; PADDING-RIGHT: 0px; COLOR: #2f3743; PADDING-TOP: 15px } .subject_btn { TEXT-ALIGN: center; HEIGHT: auto } .subject_btn .input1 { PADDING-BOTTOM: 0px; MARGIN: 0px 3px; PADDING-LEFT: 15px; WIDTH: auto; PADDING-RIGHT: 15px; BACKGROUND: #737c71; HEIGHT: 34px; COLOR: #fff; FONT-SIZE: 14px; VERTICAL-ALIGN: middle; CURSOR: pointer; FONT-WEIGHT: bold; PADDING-TOP: 0px } .subject_btn .input2 { BORDER-LEFT: #969da4 1px solid; PADDING-BOTTOM: 0px; MARGIN: 0px 3px; PADDING-LEFT: 15px; WIDTH: auto; PADDING-RIGHT: 15px; BACKGROUND: url(/images/paperks/subject_bg.png) repeat-x; HEIGHT: 34px; COLOR: #333; FONT-SIZE: 14px; VERTICAL-ALIGN: middle; CURSOR: pointer; FONT-WEIGHT: bold; BORDER-RIGHT: #969da4 1px solid; PADDING-TOP: 0px } .subject_btn .input11 { PADDING-BOTTOM: 0px; MARGIN: 0px 3px; PADDING-LEFT: 15px; WIDTH: auto; PADDING-RIGHT: 15px; BACKGROUND: #737c71; HEIGHT: 34px; COLOR: #fff; FONT-SIZE: 14px; VERTICAL-ALIGN: middle; CURSOR: pointer; FONT-WEIGHT: bold; PADDING-TOP: 0px } .subject_btn .input22 { BORDER-LEFT: #969da4 1px solid; PADDING-BOTTOM: 0px; MARGIN: 0px 3px; PADDING-LEFT: 15px; WIDTH: auto; PADDING-RIGHT: 15px; BACKGROUND: url(/images/paperks/subject_bg.png) repeat-x; HEIGHT: 34px; COLOR: #333; FONT-SIZE: 14px; VERTICAL-ALIGN: middle; CURSOR: pointer; FONT-WEIGHT: bold; BORDER-RIGHT: #969da4 1px solid; PADDING-TOP: 0px } .mark_ans_img_ing { LINE-HEIGHT: 22px; WIDTH: 127px; BACKGROUND: url(test_jiaru_error4.gif) no-repeat center top; HEIGHT: 22px } .mark_ans_img1_ing { LINE-HEIGHT: 22px; WIDTH: 127px; BACKGROUND: url(test_jiaru_error4.gif) no-repeat center bottom; HEIGHT: 22px } .paper_title { BORDER-BOTTOM: #dcdcdc 1px solid; LINE-HEIGHT: 37px; PADDING-LEFT: 10px; BACKGROUND: #f4f4f4; HEIGHT: 37px; COLOR: #2f3743; FONT-SIZE: 14px; BORDER-TOP: #32be00 2px solid; FONT-WEIGHT: bold } .paper_content { } .paper_content1 { PADDING-TOP: 12px } .paper_content1_border { BORDER-BOTTOM: #50b926 1px solid; BORDER-LEFT: #50b926 1px solid; BORDER-TOP: #50b926 1px solid; BORDER-RIGHT: #50b926 1px solid } .paper_content1 .toper { PADDING-LEFT: 10px } .paper_content1 .toper H5 { COLOR: #333; FONT-SIZE: 14px; FONT-WEIGHT: normal } .paper_content1 .toper UL { PADDING-TOP: 8px } .paper_content1 .toper LI { LINE-HEIGHT: 24px; COLOR: #333; FONT-SIZE: 14px } .paper_content1 .resolve { BACKGROUND: #f3f3f3; HEIGHT: 42px } .paper_content1 .resolve H5 { LINE-HEIGHT: 42px; PADDING-LEFT: 10px; WIDTH: 60px; FLOAT: left; COLOR: #333 } .paper_content1 .resolve .key { WIDTH: 388px } .paper_content1 .resolve .key UL { PADDING-BOTTOM: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; PADDING-TOP: 7px } .paper_content1 .resolve .key LI { TEXT-ALIGN: center; LINE-HEIGHT: 28px; FONT-FAMILY: Arial; BACKGROUND: url(/images/paperks/option_link.png) no-repeat; FLOAT: left; HEIGHT: 28px; COLOR: #013e77; FONT-SIZE: 16px; MARGIN-RIGHT: 4px } .paper_content1 .resolve .key LI A { PADDING-LEFT: 6px; WIDTH: 55px; DISPLAY: block; TEXT-DECORATION: none } .paper_content1 .resolve .key LI A:hover { DISPLAY: block; BACKGROUND: url(/images/paperks/option_hover.png) no-repeat; HEIGHT: 28px; COLOR: #013e77 } .paper_content1 .resolve .key LI A.select { DISPLAY: block; BACKGROUND: url(/images/paperks/option_select.png) no-repeat; HEIGHT: 28px; COLOR: #fff } .paper_content1 .resolve .key2 { WIDTH: 388px } .paper_content1 .resolve .key2 UL { PADDING-BOTTOM: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; PADDING-TOP: 7px } .paper_content1 .resolve .key2 LI { TEXT-ALIGN: center; LINE-HEIGHT: 28px; FONT-FAMILY: Arial; BACKGROUND: url(/images/paperks/fukuang.png) no-repeat; FLOAT: left; HEIGHT: 28px; COLOR: #013e77; FONT-SIZE: 16px; MARGIN-RIGHT: 4px } .paper_content1 .resolve .key2 LI A { PADDING-LEFT: 8px; WIDTH: 53px; DISPLAY: block; TEXT-DECORATION: none } .paper_content1 .resolve .key2 LI A:hover { DISPLAY: block; BACKGROUND: url(/images/paperks/fukuang_hover.png) no-repeat; HEIGHT: 28px; COLOR: #013e77 } .paper_content1 .resolve .key2 LI A.select { DISPLAY: block; BACKGROUND: url(/images/paperks/fukuang_click.png) no-repeat; HEIGHT: 28px; COLOR: #fff } .fill_position { } .fill_text { BORDER-BOTTOM: #cdcdcd 1px solid; BORDER-LEFT: #cdcdcd 1px solid; PADDING-BOTTOM: 2px; LINE-HEIGHT: 20px; PADDING-LEFT: 2px; WIDTH: 908px; PADDING-RIGHT: 2px; HEIGHT: 100px; BORDER-TOP: #cdcdcd 1px solid; BORDER-RIGHT: #cdcdcd 1px solid; PADDING-TOP: 2px } .relevant_btn { WIDTH: 446px; PADDING-TOP: 6px } .relevant_btn UL { } .relevant_btn LI { PADDING-RIGHT: 3px; FLOAT: left } .situation_num { TEXT-ALIGN: center; COLOR: #2f3743; FONT-SIZE: 14px } .cut_question { } .cut_question UL { MARGIN: 0px auto; WIDTH: 224px } .cut_question LI { HEIGHT: 32px } .cut_question .line { BACKGROUND: #32be00; HEIGHT: 4px; OVERFLOW: hidden } .hand_paper { MARGIN: 0px auto; WIDTH: 182px; HEIGHT: 50px } .testing_banner { WIDTH: 914px } .feedback_bg_lx { Z-INDEX: 999; POSITION: fixed; WIDTH: 71px; BOTTOM: 20px; HEIGHT: 21px; RIGHT: 148px; _position: absolute; _bottom: auto } .feedback_lx { PADDING-BOTTOM: 0px; LINE-HEIGHT: 24px; PADDING-LEFT: 21px; WIDTH: 52px; PADDING-RIGHT: 0px; BACKGROUND: url(/images/paperks/feedback_bg.png) no-repeat; HEIGHT: 24px; COLOR: #339900; PADDING-TOP: 0px } .feedback_lx A { COLOR: #339900; TEXT-DECORATION: none } .feedback_lx A:hover { COLOR: #ff6600 } .top_lx { PADDING-BOTTOM: 0px; LINE-HEIGHT: 24px; PADDING-LEFT: 21px; WIDTH: 52px; PADDING-RIGHT: 0px; BACKGROUND: url(/images/paperks/top_bg.png) no-repeat; HEIGHT: 23px; COLOR: #3e503e; PADDING-TOP: 0px } .top_lx A { COLOR: #3e503e; TEXT-DECORATION: none } .top_lx A:hover { COLOR: #ff6600 } .top_lx_lx { Z-INDEX: 999; POSITION: fixed; WIDTH: 32px; BOTTOM: 20px; HEIGHT: 32px; RIGHT: 180px; _position: absolute; _bottom: auto } .feedback_bg { Z-INDEX: 999; POSITION: absolute; WIDTH: 32px; HEIGHT: 124px; CLEAR: both; TOP: 650px; RIGHT: 160px } .feedback { PADDING-BOTTOM: 0px; LINE-HEIGHT: 16px; PADDING-LEFT: 10px; WIDTH: 12px; PADDING-RIGHT: 10px; BACKGROUND: url(/images/paperks/feedback_bg_result.png) no-repeat; HEIGHT: 69px; COLOR: #339900; PADDING-TOP: 28px } .feedback A { COLOR: #339900; TEXT-DECORATION: none } .feedback A:hover { COLOR: #ff6600 } .top { WIDTH: 32px; HEIGHT: 27px } .fast_menu { Z-INDEX: 888; BORDER-BOTTOM: #c5c5c5 1px solid; POSITION: fixed; BORDER-LEFT: #c5c5c5 1px solid; WIDTH: 212px; BACKGROUND: #f7f7f7; OVERFLOW: hidden; BORDER-TOP: #c5c5c5 1px solid; TOP: 113px; RIGHT: 6px; BORDER-RIGHT: #c5c5c5 1px solid; _position: absolute; _bottom: auto; _margin-top: 113px } .fast_menu .title { BACKGROUND: #8f8f8f; HEIGHT: 32px } .fast_hidden { PADDING-BOTTOM: 0px; PADDING-LEFT: 10px; WIDTH: 14px; PADDING-RIGHT: 0px; HEIGHT: 13px; PADDING-TOP: 9px } .fast_menu .title H5 { TEXT-ALIGN: center; LINE-HEIGHT: 26px; WIDTH: 168px; FONT-FAMILY: "΢ÈíÑźÚ"; FLOAT: left; COLOR: #fff; FONT-SIZE: 16px; FONT-WEIGHT: normal } .fast_closed { PADDING-BOTTOM: 0px; PADDING-LEFT: 0px; WIDTH: 10px; PADDING-RIGHT: 10px; HEIGHT: 9px; PADDING-TOP: 11px } .fast_menu .content { PADDING-BOTTOM: 0px; PADDING-LEFT: 14px; PADDING-RIGHT: 14px; PADDING-TOP: 0px } .fast_menu .content1 H6 { WIDTH: 164px; FLOAT: left; COLOR: #2f3743; FONT-SIZE: 14px; FONT-WEIGHT: normal } .take_up { WIDTH: 13px; HEIGHT: 13px } .small_test { PADDING-BOTTOM: 0px; PADDING-LEFT: 8px; PADDING-RIGHT: 0px; BACKGROUND: #fff; OVERFLOW: hidden; PADDING-TOP: 2px } .small_test UL { WIDTH: 100% } .small_test LI { BORDER-BOTTOM: #c6c6c6 1px solid; TEXT-ALIGN: center; BORDER-LEFT: #c6c6c6 1px solid; LINE-HEIGHT: 21px; MARGIN: 6px 6px 0px 0px; WIDTH: 21px; FONT-FAMILY: Arial; FLOAT: left; HEIGHT: 21px; COLOR: #3d3530; BORDER-TOP: #c6c6c6 1px solid; FONT-WEIGHT: bold; BORDER-RIGHT: #c6c6c6 1px solid } .small_test LI A { TEXT-DECORATION: none } .small_test_bg { BACKGROUND: #e3e3e3 } .small_test_bg2 { BACKGROUND: #ffdab6 } .fast_menu .explain { WIDTH: 212px; BACKGROUND: #e8e8e8 } .fast_menu .explain1 { WIDTH: 212px } .fast_menu .explain1 DL { PADDING-LEFT: 7px; WIDTH: 65px; FLOAT: left } .fast_menu .explain1 DT { WIDTH: 23px; FLOAT: left; HEIGHT: 23px } .fast_menu .explain1 DD { LINE-HEIGHT: 21px; WIDTH: 36px; FLOAT: right; COLOR: #666 } .fast_menu .explain2 { WIDTH: 212px } .fast_menu .explain2 DL { PADDING-LEFT: 3px; WIDTH: 52px; FLOAT: left } .fast_menu .explain2 DT { WIDTH: 23px; FLOAT: left; HEIGHT: 23px } .fast_menu .explain2 DD { LINE-HEIGHT: 21px; WIDTH: 26px; FLOAT: right; COLOR: #666 } .explain1_btn { MARGIN: 0px auto; WIDTH: 184px } .exam_btn { MARGIN: 0px auto; WIDTH: 200px } .fast_menu_lx { } .fast_menu_lx H5 { TEXT-ALIGN: center; LINE-HEIGHT: 26px; WIDTH: 168px; FONT-FAMILY: "΢ÈíÑźÚ"; FLOAT: left; COLOR: #fff; FONT-SIZE: 16px; FONT-WEIGHT: normal } .fast_menu_lx .explain1 { WIDTH: 220px } .fast_menu_lx .explain1 DL { PADDING-LEFT: 7px; WIDTH: 65px; FLOAT: left } .fast_menu_lx .explain1 DT { WIDTH: 23px; FLOAT: left; HEIGHT: 23px } .fast_menu_lx .explain1 DD { LINE-HEIGHT: 21px; WIDTH: 36px; FLOAT: right; COLOR: #666 } .bottomNav_top11 { WIDTH: 100%; BACKGROUND: url(/images/paperks/bg_timu_daohang1.jpg) repeat-x left top; HEIGHT: 32px; CURSOR: pointer } .xtNavA_bg_dt A { COLOR: black } .xtNavA_con_tab A:hover { TEXT-DECORATION: none } .biaoji A:hover { TEXT-DECORATION: none } .bj_11 { BORDER-BOTTOM: #50b926 2px solid; BORDER-LEFT: #50b926 2px solid; BORDER-TOP: #50b926 2px solid; BORDER-RIGHT: #50b926 2px solid } .fast_menu_lx .explain2 { WIDTH: 212px } .fast_menu_lx .explain2 DL { PADDING-LEFT: 3px; WIDTH: 52px; FLOAT: left } .fast_menu_lx .explain2 DT { WIDTH: 23px; FLOAT: left; HEIGHT: 23px } .fast_menu_lx .explain2 DD { LINE-HEIGHT: 21px; WIDTH: 26px; FLOAT: right; COLOR: #666 } .border_t_g_r { BORDER-BOTTOM: #fff 1px solid; BORDER-LEFT: #fff 1px solid; BORDER-TOP: #fff 1px solid; BORDER-RIGHT: #fff 1px solid } .point_kuang { BORDER-BOTTOM: #dad7bd 1px solid; BORDER-LEFT: #dad7bd 1px solid; BACKGROUND: url(/images/paperks/point_bg.png) repeat-x; HEIGHT: 42px; BORDER-TOP: #dad7bd 1px solid; BORDER-RIGHT: #dad7bd 1px solid } .point_kuang H4 { LINE-HEIGHT: 42px; PADDING-LEFT: 17px; WIDTH: 800px; FLOAT: left; COLOR: #000; FONT-SIZE: 14px; FONT-WEIGHT: normal } .point_closed { PADDING-BOTTOM: 0px; PADDING-LEFT: 0px; WIDTH: 11px; PADDING-RIGHT: 15px; PADDING-TOP: 15px } .exam2_btn { } .exam2_btn UL { } .exam2_btn LI { PADDING-RIGHT: 3px; FLOAT: left; HEIGHT: 29px } .analyze_con { POSITION: relative; MARGIN-TOP: 3px } .analyze_con .title { Z-INDEX: 44; POSITION: absolute; WIDTH: 99px; HEIGHT: 40px; TOP: -33px; LEFT: 0px } .analyze_con .content2 { BORDER-BOTTOM: #c5eab7 1px solid; POSITION: relative; BORDER-LEFT: #c5eab7 1px solid; WIDTH: 912px; BACKGROUND: url(/images/paperks/analyze_bg.png) #fff repeat-x; OVERFLOW: hidden; BORDER-TOP: #c5eab7 1px solid; BORDER-RIGHT: #c5eab7 1px solid } .anl_clear { PADDING-BOTTOM: 0px; PADDING-LEFT: 16px; PADDING-RIGHT: 16px; PADDING-TOP: 0px } .mark { WIDTH: 31px; HEIGHT: 27px; PADDING-TOP: 20px } .answer_font { PADDING-LEFT: 15px; WIDTH: 414px } .answer_font UL { } .answer_font LI { WIDTH: 207px; FLOAT: left; HEIGHT: 28px; COLOR: #666; FONT-SIZE: 14px; PADDING-TOP: 8px } .ask_pic { WIDTH: 239px; HEIGHT: 40px; PADDING-TOP: 15px } .analyze_line { WIDTH: 912px; HEIGHT: 20px } .analyze_bg { PADDING-BOTTOM: 0px; PADDING-LEFT: 16px; WIDTH: 880px; PADDING-RIGHT: 16px; BACKGROUND: #f1f7ed; PADDING-TOP: 0px } .analyze_bg H5 { WIDTH: 80px; FLOAT: left; COLOR: #333; FONT-SIZE: 14px; FONT-WEIGHT: bold; PADDING-TOP: 4px } .analyze_bg H6 { LINE-HEIGHT: 24px; WIDTH: 800px; FLOAT: left; COLOR: #2f3743; FONT-SIZE: 14px; FONT-WEIGHT: normal } .anl_input { BORDER-BOTTOM: #c9c9c9 1px solid; BORDER-LEFT: #c9c9c9 1px solid; LINE-HEIGHT: 26px; WIDTH: 70px; HEIGHT: 26px; BORDER-TOP: #c9c9c9 1px solid; BORDER-RIGHT: #c9c9c9 1px solid } .test2_finish { MARGIN: 0px auto; WIDTH: 332px } .resolve_test { PADDING-BOTTOM: 0px; PADDING-LEFT: 10px; WIDTH: 620px; PADDING-RIGHT: 0px; PADDING-TOP: 14px } .resolve_test H5 { COLOR: #0090c5; FONT-SIZE: 14px; FONT-WEIGHT: bold } .resolve_test H6 { LINE-HEIGHT: 22px; COLOR: #666; FONT-SIZE: 12px; FONT-WEIGHT: normal; PADDING-TOP: 10px } .resolve_test_f { LINE-HEIGHT: 26px; COLOR: #0090c5; PADDING-TOP: 10px } .tongji_center { } .tongji_center LI { TEXT-ALIGN: center } .analysis_l_lx { TEXT-ALIGN: center; LINE-HEIGHT: 30px; WIDTH: 96px; FONT-FAMILY: "΢ÈíÑźÚ"; BACKGROUND: url(/images/paperks/analyze_font.png) no-repeat; FLOAT: left; HEIGHT: 30px; COLOR: #fff; FONT-SIZE: 14px } .tk_lx { BORDER-BOTTOM: #aed3f2 1px solid; BORDER-LEFT: #aed3f2 1px solid; PADDING-BOTTOM: 15px; PADDING-LEFT: 20px; PADDING-RIGHT: 16px; BACKGROUND: url(/images/paperks/dajxbg.png) #f1f7ed no-repeat; CLEAR: both; MARGIN-RIGHT: 3px; BORDER-RIGHT: #aed3f2 1px solid; PADDING-TOP: 23px } .mark_ans_r_lx { BORDER-BOTTOM: #c5c5c5 1px solid; BORDER-LEFT: #c5c5c5 1px solid; BACKGROUND-COLOR: #fff; COLOR: #000; BORDER-TOP: #c5c5c5 1px solid; BORDER-RIGHT: #c5c5c5 1px solid } .mark_ans_rq_0_lx_error { BORDER-BOTTOM: #c5c5c5 1px solid; BORDER-LEFT: #c5c5c5 1px solid; BACKGROUND-COLOR: #e3e3e3; COLOR: #000; BORDER-TOP: #c5c5c5 1px solid; BORDER-RIGHT: #c5c5c5 1px solid } .mark_ans_rq_0_lx { BORDER-BOTTOM: #c5c5c5 1px solid; BORDER-LEFT: #c5c5c5 1px solid; BACKGROUND-COLOR: #ffe2db; COLOR: #000; BORDER-TOP: #c5c5c5 1px solid; BORDER-RIGHT: #c5c5c5 1px solid } .lodge_btn { MARGIN: 0px auto; WIDTH: 102px } .fast_test_f { TEXT-ALIGN: center; COLOR: #2f3743; FONT-SIZE: 14px } .performance { BORDER-BOTTOM: #eccc95 1px solid; BORDER-LEFT: #eccc95 1px solid; MARGIN: 0px auto; WIDTH: 528px; BACKGROUND: #fff; HEIGHT: 100px; BORDER-TOP: #eccc95 1px solid; BORDER-RIGHT: #eccc95 1px solid } .performance_l { WIDTH: 238px } .performance_l H6 { TEXT-ALIGN: center; COLOR: #2f3743; FONT-SIZE: 14px; FONT-WEIGHT: bold; PADDING-TOP: 15px } .performance_l H5 { TEXT-ALIGN: center; MARGIN: 0px auto; WIDTH: 218px; COLOR: #2f3743; FONT-SIZE: 14px; BORDER-TOP: #9f9f9f 1px dashed; FONT-WEIGHT: normal; PADDING-TOP: 10px } .performance_l .nub_color { FONT-FAMILY: Arial; COLOR: #ff6600; FONT-SIZE: 30px } .performance_r { BORDER-LEFT: #eccc95 1px solid; WIDTH: 289px; BACKGROUND: #fff9e6; HEIGHT: 100px } .performance_r .message { LINE-HEIGHT: 28px; MARGIN: 0px auto; WIDTH: 145px; COLOR: #797979; FONT-SIZE: 14px; PADDING-TOP: 6px } .score_head { } .score_head UL { } .score_head LI { LINE-HEIGHT: 63px; PADDING-LEFT: 25px; FLOAT: left; COLOR: #fff } .score_head LI A { COLOR: #fff } .score_head LI A:hover { COLOR: #f5ff5b } .score_content { } .score_left { WIDTH: 695px } .score_left1 { BORDER-BOTTOM: #d9d9d9 1px solid; BORDER-LEFT: #d9d9d9 1px solid; WIDTH: 693px; BACKGROUND: #fff; BORDER-TOP: #d9d9d9 1px solid; BORDER-RIGHT: #d9d9d9 1px solid } .score_left1 .title { TEXT-ALIGN: center; LINE-HEIGHT: 65px; FONT-FAMILY: "΢ÈíÑźÚ"; BACKGROUND: url(/images/paperks/testing_left_bg.png) repeat-x; HEIGHT: 65px; COLOR: #339900; FONT-SIZE: 18px; FONT-WEIGHT: normal } .score_left1 .content { PADDING-BOTTOM: 0px; PADDING-LEFT: 51px; PADDING-RIGHT: 51px; OVERFLOW: hidden; PADDING-TOP: 0px } .score_left1 .content DL { } .score_left1 .content DT { TEXT-ALIGN: center; WIDTH: 131px; FONT-FAMILY: "΢ÈíÑźÚ"; BACKGROUND: url(/images/paperks/score_bg.png) no-repeat; FLOAT: left; HEIGHT: 121px } .score_left1 .content .mark { LINE-HEIGHT: 63px; COLOR: #fff; FONT-SIZE: 30px } .score_left1 .content .ming { LINE-HEIGHT: 47px; COLOR: #f00; FONT-SIZE: 18px } .score_left1 .content DD { LINE-HEIGHT: 22px; WIDTH: 442px; FLOAT: right; COLOR: #666 } .score_left1 .content .s_title { COLOR: #2f3743; FONT-SIZE: 14px; FONT-WEIGHT: bold } .score_left1 .content UL { PADDING-LEFT: 4px } .score_left1 .content LI { PADDING-RIGHT: 14px; FLOAT: left } .score_left1 .title2 { TEXT-ALIGN: center; LINE-HEIGHT: 44px; FONT-FAMILY: "΢ÈíÑźÚ"; BACKGROUND: url(/images/paperks/title_bg.png) repeat-x; HEIGHT: 44px; COLOR: #2f3743; FONT-SIZE: 18px } .score_left1 .content2 { PADDING-BOTTOM: 0px; PADDING-LEFT: 22px; PADDING-RIGHT: 22px; PADDING-TOP: 0px } .score_left1 .content2 .list { } .score_left1 .content2 .list_t { BORDER-BOTTOM: #dcdcdc 1px solid; BACKGROUND: #f4f4f4; HEIGHT: 39px; COLOR: #2f3743; FONT-SIZE: 14px; BORDER-TOP: #32be00 2px solid; FONT-WEIGHT: bold } .score_left1 .content2 .list UL { } .score_left1 .content2 .list LI { BORDER-BOTTOM: #999 1px dashed; LINE-HEIGHT: 39px; WIDTH: 100%; FLOAT: left; HEIGHT: 39px; COLOR: #666; FONT-SIZE: 14px } .score_left1 .content2 .wid1 { TEXT-ALIGN: center; LINE-HEIGHT: 39px; WIDTH: 172px } .score_left1 .content2 .wid2 { LINE-HEIGHT: 39px; WIDTH: 160px } .score_left1 .content2 .wid3 { TEXT-ALIGN: center; LINE-HEIGHT: 39px; WIDTH: 78px } .score_left1 .content2 .wid4 { TEXT-ALIGN: center; LINE-HEIGHT: 39px; WIDTH: 100px } .score_left1 .content2 .wid5 { LINE-HEIGHT: 39px; WIDTH: 130px } .score_left1 .content2 .list_bg { BACKGROUND: #f0f0f0 } .score_left1 .content2 .wid6 { TEXT-ALIGN: center; LINE-HEIGHT: 39px; WIDTH: 80px } .score_left1 .content2 .wid7 { TEXT-ALIGN: center; LINE-HEIGHT: 39px; WIDTH: 170px } .score_left1 .content2 .wid7 IMG { PADDING-BOTTOM: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; PADDING-TOP: 10px } .score_left1 .content2 .wid8 { TEXT-ALIGN: center; LINE-HEIGHT: 39px; WIDTH: 64px } .score_left1 .content2 .wid9 { TEXT-ALIGN: center; LINE-HEIGHT: 39px; WIDTH: 80px } .score_left1 .content2 .wid10 { LINE-HEIGHT: 39px; WIDTH: 120px } .score_left1 .content2 .wid11 { LINE-HEIGHT: 39px; WIDTH: 135px } .paging { MARGIN: 0px auto; WIDTH: 474px } .paging UL { } .paging LI { LINE-HEIGHT: 20px; BACKGROUND: #e6e6e6; FLOAT: left; HEIGHT: 20px; COLOR: #2f3743; MARGIN-LEFT: 12px } .paging LI A { PADDING-BOTTOM: 0px; PADDING-LEFT: 7px; PADDING-RIGHT: 7px; PADDING-TOP: 0px } .page_bg { PADDING-BOTTOM: 0px; BACKGROUND-COLOR: #25ab13; PADDING-LEFT: 7px; PADDING-RIGHT: 7px; DISPLAY: block; FLOAT: left; HEIGHT: 20px; COLOR: #fff; FONT-WEIGHT: bold; PADDING-TOP: 0px } .score_right { WIDTH: 250px } .advise_content2 { WIDTH: 100%; OVERFLOW: hidden } .advise_content2 UL { } .advise_content2 LI { LINE-HEIGHT: 24px; PADDING-LEFT: 14px; WIDTH: 212px; BACKGROUND: url(/images/paperks/advise_dot.png) no-repeat left 10px; HEIGHT: 24px; OVERFLOW: hidden } .test_guide { } .guide_title { BORDER-BOTTOM: #2f8b09 1px solid; BORDER-LEFT: #2f8b09 1px solid; PADDING-LEFT: 16px; BACKGROUND: url(/images/paperks/guide_bg.png) repeat-x; HEIGHT: 43px; BORDER-TOP: #2f8b09 1px solid; BORDER-RIGHT: #2f8b09 1px solid } .guide_title H4 { LINE-HEIGHT: 43px; PADDING-LEFT: 23px; BACKGROUND: url(/images/paperks/guide_icon.png) no-repeat left center; COLOR: #fff; FONT-WEIGHT: bold } .guide_content { BORDER-BOTTOM: #d6d6d6 1px solid; BORDER-LEFT: #d6d6d6 1px solid; BACKGROUND: #fff; BORDER-TOP: 0px; BORDER-RIGHT: #d6d6d6 1px solid } .guide_content_t { BACKGROUND: url(/images/paperks/guide_tab_bg.png) repeat-x; HEIGHT: 36px } .guide_content_t UL { } .guide_content_t LI { TEXT-ALIGN: center; LINE-HEIGHT: 36px; WIDTH: 82px; FLOAT: left; HEIGHT: 36px; CURSOR: pointer; BORDER-RIGHT: #d6d6d6 1px solid } .relevant_papers_c { PADDING-BOTTOM: 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 18px; PADDING-TOP: 0px } .guide_content_c { PADDING-BOTTOM: 0px; PADDING-LEFT: 18px; PADDING-RIGHT: 18px; PADDING-TOP: 0px } .video_re { WIDTH: 100% } .video_re DL { HEIGHT: 88px } .video_re DT { BORDER-BOTTOM: #eaeaea 1px solid; BORDER-LEFT: #eaeaea 1px solid; PADDING-BOTTOM: 1px; PADDING-LEFT: 1px; WIDTH: 84px; PADDING-RIGHT: 1px; BACKGROUND: #fff; FLOAT: left; HEIGHT: 65px; BORDER-TOP: #eaeaea 1px solid; BORDER-RIGHT: #eaeaea 1px solid; PADDING-TOP: 1px } .video_re DT IMG { PADDING-BOTTOM: 2px; PADDING-LEFT: 2px; WIDTH: 80px; PADDING-RIGHT: 2px; BACKGROUND: #f6f6f6; HEIGHT: 61px; PADDING-TOP: 2px } .video_re DD { LINE-HEIGHT: 20px; WIDTH: 114px; FLOAT: right; COLOR: #2f3743 } .data_sharing { } .data_sharing UL { } .data_sharing LI { BORDER-BOTTOM: #b7b7b7 1px dashed; LINE-HEIGHT: 20px; HEIGHT: 49px; COLOR: #788eb7; PADDING-TOP: 11px } .data_sharing .icon1 { PADDING-LEFT: 23px; WIDTH: 188px; DISPLAY: block; BACKGROUND: url(/images/paperks/data_icon1.png) no-repeat left 2px; FLOAT: left; HEIGHT: 20px; OVERFLOW: hidden } .data_sharing .icon2 { PADDING-LEFT: 22px; WIDTH: 188px; DISPLAY: block; BACKGROUND: url(/images/paperks/data_icon2.png) no-repeat left 2px; FLOAT: left; HEIGHT: 20px; OVERFLOW: hidden } .data_sharing .icon3 { PADDING-LEFT: 23px; WIDTH: 188px; DISPLAY: block; BACKGROUND: url(/images/paperks/data_icon3.png) no-repeat left 2px; FLOAT: left; HEIGHT: 20px; OVERFLOW: hidden } .recommended_books { BORDER-BOTTOM: #d6d6d6 1px solid; BORDER-LEFT: #d6d6d6 1px solid; WIDTH: 248px; BACKGROUND: #fff; OVERFLOW: hidden; BORDER-TOP: #d6d6d6 1px solid; BORDER-RIGHT: #d6d6d6 1px solid } .recommended_books .title { BACKGROUND: url(/images/paperks/title_bg.png) repeat-x; HEIGHT: 44px } .recommended_books .title H4 { LINE-HEIGHT: 44px; PADDING-LEFT: 16px; WIDTH: 68px; FLOAT: left; COLOR: #2f3743; FONT-SIZE: 14px; FONT-WEIGHT: bold } .recommended_books .title H6 { LINE-HEIGHT: 44px; PADDING-RIGHT: 16px; FLOAT: right; COLOR: #ff6600; FONT-SIZE: 12px; FONT-WEIGHT: normal } .recommended_books .title H6 A { COLOR: #ff6600 } .recommended_books .title H6 A:hover { COLOR: #ff6600 } .recommended_books .content { PADDING-BOTTOM: 0px; PADDING-LEFT: 16px; PADDING-RIGHT: 16px; PADDING-TOP: 0px } .recommended_books .content DL { HEIGHT: 120px } .recommended_books .content DT { BORDER-BOTTOM: #eaeaea 1px solid; BORDER-LEFT: #eaeaea 1px solid; PADDING-BOTTOM: 1px; PADDING-LEFT: 1px; WIDTH: 71px; PADDING-RIGHT: 1px; BACKGROUND: #fff; FLOAT: left; HEIGHT: 95px; BORDER-TOP: #eaeaea 1px solid; BORDER-RIGHT: #eaeaea 1px solid; PADDING-TOP: 1px } .recommended_books .content DT IMG { PADDING-BOTTOM: 2px; PADDING-LEFT: 2px; WIDTH: 67px; PADDING-RIGHT: 2px; BACKGROUND: #f6f6f6; HEIGHT: 91px; PADDING-TOP: 2px } .recommended_books .content DD { LINE-HEIGHT: 22px; WIDTH: 132px; FLOAT: right; COLOR: #666; PADDING-TOP: 6px } .book_name { WIDTH: 132px; DISPLAY: block; FLOAT: left; HEIGHT: 22px; OVERFLOW: hidden } .sd0001 { BACKGROUND: #fff; COLOR: #2f3743; FONT-WEIGHT: bold } .sd0002 { COLOR: #666 } .intro_video { } .intro_video .title { TEXT-ALIGN: left; PADDING-LEFT: 16px; BACKGROUND: url(/images/paperks/title_bg.png) repeat-x; HEIGHT: 43px; COLOR: #2f3743; FONT-SIZE: 14px; FONT-WEIGHT: bold } .intro_video .title2 { HEIGHT: 43px; COLOR: #00a000; FONT-SIZE: 14px; FONT-WEIGHT: bold } .intro_video .title3 { COLOR: #2f3743; FONT-WEIGHT: bold } .video_table { } .video_table TD { TEXT-ALIGN: center; HEIGHT: 30px; COLOR: #666 } .video_table TD DL { MARGIN: 0px auto; WIDTH: 90px } .video_table TD DD { LINE-HEIGHT: 22px; WIDTH: 49px; FLOAT: left; COLOR: #ff6600 } .video_table TD DT { WIDTH: 41px; FLOAT: left; HEIGHT: 22px } .error_page { MARGIN: 0px auto; WIDTH: 597px; BACKGROUND: #fff } .error_page .title { BACKGROUND: url(/images/paperks/error_title_bg.png) repeat-x; HEIGHT: 37px } .error_page .title H4 { PADDING-BOTTOM: 0px; PADDING-LEFT: 16px; WIDTH: 59px; PADDING-RIGHT: 0px; FLOAT: left; HEIGHT: 14px; PADDING-TOP: 10px } .error_page .content { BORDER-BOTTOM: #d6d6d6 1px solid; BORDER-LEFT: #d6d6d6 1px solid; BORDER-TOP: 0px; BORDER-RIGHT: #d6d6d6 1px solid } .error_page .content_c { PADDING-BOTTOM: 0px; PADDING-LEFT: 16px; PADDING-RIGHT: 16px; PADDING-TOP: 0px } .error_page .content_c H4 { COLOR: #666; FONT-SIZE: 12px; FONT-WEIGHT: normal } .error_text { BORDER-BOTTOM: #c9c9c9 1px solid; BORDER-LEFT: #c9c9c9 1px solid; PADDING-BOTTOM: 0px; LINE-HEIGHT: 20px; PADDING-LEFT: 2px; WIDTH: 560px; PADDING-RIGHT: 0px; HEIGHT: 100px; BORDER-TOP: #c9c9c9 1px solid; BORDER-RIGHT: #c9c9c9 1px solid; PADDING-TOP: 2px } .error_btn { } .error_btn UL { } .error_btn LI { WIDTH: 78px; PADDING-RIGHT: 10px; FLOAT: left; HEIGHT: 30px } .error_message { } .error_message UL { } .error_message LI { BORDER-BOTTOM: #e0e0e0 1px solid; LINE-HEIGHT: 24px; WIDTH: 100%; HEIGHT: 54px; COLOR: #666; PADDING-TOP: 5px }
solr-4.10.4/docs/solr-core/org/apache/solr/logging/log4j/class-use/Log4jInfo.html
ashrafmhd09/openpublish
<!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 (version 1.7.0_71) on Fri Feb 27 16:43:20 EST 2015 --> <meta http-equiv="Content-Type" content="text/html" charset="utf-8"> <title>Uses of Class org.apache.solr.logging.log4j.Log4jInfo (Solr 4.10.4 API)</title> <meta name="date" content="2015-02-27"> <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="Uses of Class org.apache.solr.logging.log4j.Log4jInfo (Solr 4.10.4 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><a href="../../../../../../org/apache/solr/logging/log4j/Log4jInfo.html" title="class in org.apache.solr.logging.log4j">Class</a></li> <li class="navBarCell1Rev">Use</li> <li><a href="../package-tree.html">Tree</a></li> <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../../../index.html?org/apache/solr/logging/log4j/class-use/Log4jInfo.html" target="_top">Frames</a></li> <li><a href="Log4jInfo.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"> <h2 title="Uses of Class org.apache.solr.logging.log4j.Log4jInfo" class="title">Uses of Class<br>org.apache.solr.logging.log4j.Log4jInfo</h2> </div> <div class="classUseContainer">No usage of org.apache.solr.logging.log4j.Log4jInfo</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="../../../../../../overview-summary.html">Overview</a></li> <li><a href="../package-summary.html">Package</a></li> <li><a href="../../../../../../org/apache/solr/logging/log4j/Log4jInfo.html" title="class in org.apache.solr.logging.log4j">Class</a></li> <li class="navBarCell1Rev">Use</li> <li><a href="../package-tree.html">Tree</a></li> <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../../../index.html?org/apache/solr/logging/log4j/class-use/Log4jInfo.html" target="_top">Frames</a></li> <li><a href="Log4jInfo.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 ======= --> <p class="legalCopy"><small> <i>Copyright &copy; 2000-2015 Apache Software Foundation. All Rights Reserved.</i> <script src='../../../../../../prettify.js' type='text/javascript'></script> <script type='text/javascript'> (function(){ var oldonload = window.onload; if (typeof oldonload != 'function') { window.onload = prettyPrint; } else { window.onload = function() { oldonload(); prettyPrint(); } } })(); </script> </small></p> </body> </html>
solr-4.10.4/docs/solr-core/org/apache/solr/schema/package-summary.html
ashrafmhd09/openpublish
<!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 (version 1.7.0_71) on Fri Feb 27 16:43:19 EST 2015 --> <meta http-equiv="Content-Type" content="text/html" charset="utf-8"> <title>org.apache.solr.schema (Solr 4.10.4 API)</title> <meta name="date" content="2015-02-27"> <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="org.apache.solr.schema (Solr 4.10.4 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 class="navBarCell1Rev">Package</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="../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../../org/apache/solr/rest/schema/analysis/package-summary.html">Prev Package</a></li> <li><a href="../../../../org/apache/solr/search/package-summary.html">Next Package</a></li> </ul> <ul class="navList"> <li><a href="../../../../index.html?org/apache/solr/schema/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;org.apache.solr.schema</h1> <div class="docSummary"> <div class="block"> <a href="../../../../org/apache/solr/schema/IndexSchema.html" title="class in org.apache.solr.schema"><code>IndexSchema</code></a> and <a href="../../../../org/apache/solr/schema/FieldType.html" title="class in org.apache.solr.schema"><code>FieldType</code></a> implementations for powering schema.xml</div> </div> <p>See:&nbsp;<a href="#package_description">Description</a></p> </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="../../../../org/apache/solr/schema/DateValueFieldType.html" title="interface in org.apache.solr.schema">DateValueFieldType</a></td> <td class="colLast"> <div class="block">Marker interface for Date-valued field types.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/DoubleValueFieldType.html" title="interface in org.apache.solr.schema">DoubleValueFieldType</a></td> <td class="colLast"> <div class="block">Marker interface for double-valued field types.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/ExchangeRateProvider.html" title="interface in org.apache.solr.schema">ExchangeRateProvider</a></td> <td class="colLast"> <div class="block">Interface for providing pluggable exchange rate providers to @CurrencyField</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/FloatValueFieldType.html" title="interface in org.apache.solr.schema">FloatValueFieldType</a></td> <td class="colLast"> <div class="block">Marker interface for float-valued field types.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/IntValueFieldType.html" title="interface in org.apache.solr.schema">IntValueFieldType</a></td> <td class="colLast"> <div class="block">Marker interface for int-valued field types.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/LongValueFieldType.html" title="interface in org.apache.solr.schema">LongValueFieldType</a></td> <td class="colLast"> <div class="block">Marker interface for long-valued field types.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/NumericValueFieldType.html" title="interface in org.apache.solr.schema">NumericValueFieldType</a></td> <td class="colLast"> <div class="block">Marker interface for numeric-valued field types.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/PreAnalyzedField.PreAnalyzedParser.html" title="interface in org.apache.solr.schema">PreAnalyzedField.PreAnalyzedParser</a></td> <td class="colLast"> <div class="block">Parse the input and return the stored part and the tokens with attributes.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/SchemaAware.html" title="interface in org.apache.solr.schema">SchemaAware</a></td> <td class="colLast"> <div class="block">An interface that can be extended to provide a callback mechanism for informing an <a href="../../../../org/apache/solr/schema/IndexSchema.html" title="class in org.apache.solr.schema"><code>IndexSchema</code></a> instance of changes to it, dynamically performed at runtime.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/SpatialQueryable.html" title="interface in org.apache.solr.schema">SpatialQueryable</a></td> <td class="colLast"> <div class="block">Indicate that the implementing class is capable of generating a Query against spatial resources.</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="../../../../org/apache/solr/schema/AbstractSpatialFieldType.html" title="class in org.apache.solr.schema">AbstractSpatialFieldType</a>&lt;T extends <a href="http://lucene.apache.org/core/4_10_4/spatial/org/apache/lucene/spatial/SpatialStrategy.html?is-external=true" title="class or interface in org.apache.lucene.spatial">SpatialStrategy</a>&gt;</td> <td class="colLast"> <div class="block">Abstract base class for Solr FieldTypes based on a Lucene 4 <a href="http://lucene.apache.org/core/4_10_4/spatial/org/apache/lucene/spatial/SpatialStrategy.html?is-external=true" title="class or interface in org.apache.lucene.spatial"><code>SpatialStrategy</code></a>.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/AbstractSpatialPrefixTreeFieldType.html" title="class in org.apache.solr.schema">AbstractSpatialPrefixTreeFieldType</a>&lt;T extends <a href="http://lucene.apache.org/core/4_10_4/spatial/org/apache/lucene/spatial/prefix/PrefixTreeStrategy.html?is-external=true" title="class or interface in org.apache.lucene.spatial.prefix">PrefixTreeStrategy</a>&gt;</td> <td class="colLast">&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/AbstractSubTypeFieldType.html" title="class in org.apache.solr.schema">AbstractSubTypeFieldType</a></td> <td class="colLast"> <div class="block">An abstract base class for FieldTypes that delegate work to another <a href="../../../../org/apache/solr/schema/FieldType.html" title="class in org.apache.solr.schema"><code>FieldType</code></a>.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/BBoxField.html" title="class in org.apache.solr.schema">BBoxField</a></td> <td class="colLast">&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/BCDIntField.html" title="class in org.apache.solr.schema">BCDIntField</a></td> <td class="colLast">Deprecated <div class="block"><i>this class will be removed in 5.0 - use <a href="../../../../org/apache/solr/schema/TrieIntField.html" title="class in org.apache.solr.schema"><code>TrieIntField</code></a> instead</i></div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/BCDLongField.html" title="class in org.apache.solr.schema">BCDLongField</a></td> <td class="colLast">Deprecated <div class="block"><i>this class will be removed in 5.0 - use <a href="../../../../org/apache/solr/schema/TrieLongField.html" title="class in org.apache.solr.schema"><code>TrieLongField</code></a> instead</i></div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/BCDStrField.html" title="class in org.apache.solr.schema">BCDStrField</a></td> <td class="colLast">Deprecated <div class="block"><i>this class will be removed in 5.0 - use <a href="../../../../org/apache/solr/schema/TrieIntField.html" title="class in org.apache.solr.schema"><code>TrieIntField</code></a> instead</i></div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/BinaryField.html" title="class in org.apache.solr.schema">BinaryField</a></td> <td class="colLast">&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/BoolField.html" title="class in org.apache.solr.schema">BoolField</a></td> <td class="colLast">&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/ByteField.html" title="class in org.apache.solr.schema">ByteField</a></td> <td class="colLast">Deprecated <div class="block"><i>Use <a href="../../../../org/apache/solr/schema/TrieIntField.html" title="class in org.apache.solr.schema"><code>TrieIntField</code></a> instead.</i></div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/ClassicIndexSchemaFactory.html" title="class in org.apache.solr.schema">ClassicIndexSchemaFactory</a></td> <td class="colLast">&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/CollationField.html" title="class in org.apache.solr.schema">CollationField</a></td> <td class="colLast"> <div class="block">Field for collated sort keys.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/CoordinateFieldType.html" title="class in org.apache.solr.schema">CoordinateFieldType</a></td> <td class="colLast"> <div class="block">A CoordinateFieldType is the base class for <a href="../../../../org/apache/solr/schema/FieldType.html" title="class in org.apache.solr.schema"><code>FieldType</code></a>s that have semantics related to items in a coordinate system.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/CopyField.html" title="class in org.apache.solr.schema">CopyField</a></td> <td class="colLast"> <div class="block"><code>CopyField</code> contains all the information of a valid copy fields in an index.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/CurrencyField.html" title="class in org.apache.solr.schema">CurrencyField</a></td> <td class="colLast"> <div class="block">Field type for support of monetary values.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/DateField.html" title="class in org.apache.solr.schema">DateField</a></td> <td class="colLast">Deprecated <div class="block"><i>this class will be removed in 5.0 - use <a href="../../../../org/apache/solr/schema/TrieDateField.html" title="class in org.apache.solr.schema"><code>TrieDateField</code></a> instead</i></div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/DoubleField.html" title="class in org.apache.solr.schema">DoubleField</a></td> <td class="colLast">Deprecated <div class="block"><i>this class will be removed in 5.0 - use <a href="../../../../org/apache/solr/schema/TrieDoubleField.html" title="class in org.apache.solr.schema"><code>TrieDoubleField</code></a> instead</i></div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/EnumField.html" title="class in org.apache.solr.schema">EnumField</a></td> <td class="colLast"> <div class="block">Field type for support of string values with custom sort order.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/ExternalFileField.html" title="class in org.apache.solr.schema">ExternalFileField</a></td> <td class="colLast"> <div class="block">Get values from an external file instead of the index.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/ExternalFileFieldReloader.html" title="class in org.apache.solr.schema">ExternalFileFieldReloader</a></td> <td class="colLast"> <div class="block">An event listener to reload ExternalFileFields for new searchers.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/FieldProperties.html" title="class in org.apache.solr.schema">FieldProperties</a></td> <td class="colLast">&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/FieldType.html" title="class in org.apache.solr.schema">FieldType</a></td> <td class="colLast"> <div class="block">Base class for all field types used by an index schema.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/FieldTypePluginLoader.html" title="class in org.apache.solr.schema">FieldTypePluginLoader</a></td> <td class="colLast">&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/FloatField.html" title="class in org.apache.solr.schema">FloatField</a></td> <td class="colLast">Deprecated <div class="block"><i>this class will be removed in 5.0 - use <a href="../../../../org/apache/solr/schema/TrieFloatField.html" title="class in org.apache.solr.schema"><code>TrieFloatField</code></a> instead</i></div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/GeoHashField.html" title="class in org.apache.solr.schema">GeoHashField</a></td> <td class="colLast"> <div class="block">This is a class that represents a <a href="http://en.wikipedia.org/wiki/Geohash">Geohash</a> field.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/IndexSchema.html" title="class in org.apache.solr.schema">IndexSchema</a></td> <td class="colLast"> <div class="block"><code>IndexSchema</code> contains information about the valid fields in an index and the types of those fields.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/IndexSchema.DynamicCopy.html" title="class in org.apache.solr.schema">IndexSchema.DynamicCopy</a></td> <td class="colLast">&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/IndexSchema.DynamicField.html" title="class in org.apache.solr.schema">IndexSchema.DynamicField</a></td> <td class="colLast">&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/IndexSchema.DynamicReplacement.html" title="class in org.apache.solr.schema">IndexSchema.DynamicReplacement</a></td> <td class="colLast">&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/IndexSchema.DynamicReplacement.DynamicPattern.html" title="class in org.apache.solr.schema">IndexSchema.DynamicReplacement.DynamicPattern</a></td> <td class="colLast">&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/IndexSchemaFactory.html" title="class in org.apache.solr.schema">IndexSchemaFactory</a></td> <td class="colLast"> <div class="block">Base class for factories for IndexSchema implementations</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/IntField.html" title="class in org.apache.solr.schema">IntField</a></td> <td class="colLast">Deprecated <div class="block"><i>this class will be removed in 5.0 - use <a href="../../../../org/apache/solr/schema/TrieIntField.html" title="class in org.apache.solr.schema"><code>TrieIntField</code></a> instead</i></div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/JsonPreAnalyzedParser.html" title="class in org.apache.solr.schema">JsonPreAnalyzedParser</a></td> <td class="colLast">&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/LatLonType.html" title="class in org.apache.solr.schema">LatLonType</a></td> <td class="colLast"> <div class="block">Represents a Latitude/Longitude as a 2 dimensional point.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/LongField.html" title="class in org.apache.solr.schema">LongField</a></td> <td class="colLast">Deprecated <div class="block"><i>this class will be removed in 5.0 - use <a href="../../../../org/apache/solr/schema/TrieLongField.html" title="class in org.apache.solr.schema"><code>TrieLongField</code></a> instead</i></div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/ManagedIndexSchema.html" title="class in org.apache.solr.schema">ManagedIndexSchema</a></td> <td class="colLast"> <div class="block">Solr-managed schema - non-user-editable, but can be mutable via internal and external REST API requests.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/ManagedIndexSchemaFactory.html" title="class in org.apache.solr.schema">ManagedIndexSchemaFactory</a></td> <td class="colLast"> <div class="block">Factory for ManagedIndexSchema</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/OpenExchangeRatesOrgProvider.html" title="class in org.apache.solr.schema">OpenExchangeRatesOrgProvider</a></td> <td class="colLast"> <div class="block"> Exchange Rates Provider for <a href="../../../../org/apache/solr/schema/CurrencyField.html" title="class in org.apache.solr.schema"><code>CurrencyField</code></a> capable of fetching &amp; parsing the freely available exchange rates from openexchangerates.org</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/PointType.html" title="class in org.apache.solr.schema">PointType</a></td> <td class="colLast"> <div class="block">A point type that indexes a point in an n-dimensional space as separate fields and supports range queries.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/PreAnalyzedField.html" title="class in org.apache.solr.schema">PreAnalyzedField</a></td> <td class="colLast"> <div class="block">Pre-analyzed field type provides a way to index a serialized token stream, optionally with an independent stored value of a field.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/PreAnalyzedField.ParseResult.html" title="class in org.apache.solr.schema">PreAnalyzedField.ParseResult</a></td> <td class="colLast"> <div class="block">This is a simple holder of a stored part and the collected states (tokens with attributes).</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/PrimitiveFieldType.html" title="class in org.apache.solr.schema">PrimitiveFieldType</a></td> <td class="colLast"> <div class="block">Abstract class defining shared behavior for primitive types Intended to be used as base class for non-analyzed fields like int, float, string, date etc, and set proper defaults for them</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/RandomSortField.html" title="class in org.apache.solr.schema">RandomSortField</a></td> <td class="colLast"> <div class="block">Utility Field used for random sorting.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/SchemaField.html" title="class in org.apache.solr.schema">SchemaField</a></td> <td class="colLast"> <div class="block">Encapsulates all information about a Field in a Solr Schema</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/ShortField.html" title="class in org.apache.solr.schema">ShortField</a></td> <td class="colLast">Deprecated <div class="block"><i>Use <a href="../../../../org/apache/solr/schema/TrieIntField.html" title="class in org.apache.solr.schema"><code>TrieIntField</code></a> instead.</i></div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/SimilarityFactory.html" title="class in org.apache.solr.schema">SimilarityFactory</a></td> <td class="colLast"> <div class="block">A factory interface for configuring a <a href="http://lucene.apache.org/core/4_10_4/core/org/apache/lucene/search/similarities/Similarity.html?is-external=true" title="class or interface in org.apache.lucene.search.similarities"><code>Similarity</code></a> in the Solr schema.xml.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/SimplePreAnalyzedParser.html" title="class in org.apache.solr.schema">SimplePreAnalyzedParser</a></td> <td class="colLast"> <div class="block">Simple plain text format parser for <a href="../../../../org/apache/solr/schema/PreAnalyzedField.html" title="class in org.apache.solr.schema"><code>PreAnalyzedField</code></a>.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/SortableDoubleField.html" title="class in org.apache.solr.schema">SortableDoubleField</a></td> <td class="colLast">Deprecated <div class="block"><i>this class will be removed in 5.0 - use <a href="../../../../org/apache/solr/schema/TrieDoubleField.html" title="class in org.apache.solr.schema"><code>TrieDoubleField</code></a> instead</i></div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/SortableFloatField.html" title="class in org.apache.solr.schema">SortableFloatField</a></td> <td class="colLast">Deprecated <div class="block"><i>this class will be removed in 5.0 - use <a href="../../../../org/apache/solr/schema/TrieFloatField.html" title="class in org.apache.solr.schema"><code>TrieFloatField</code></a> instead</i></div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/SortableIntField.html" title="class in org.apache.solr.schema">SortableIntField</a></td> <td class="colLast">Deprecated <div class="block"><i>this class will be removed in 5.0 - use <a href="../../../../org/apache/solr/schema/TrieIntField.html" title="class in org.apache.solr.schema"><code>TrieIntField</code></a> instead</i></div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/SortableLongField.html" title="class in org.apache.solr.schema">SortableLongField</a></td> <td class="colLast">Deprecated <div class="block"><i>this class will be removed in 5.0 - use <a href="../../../../org/apache/solr/schema/TrieLongField.html" title="class in org.apache.solr.schema"><code>TrieLongField</code></a> instead</i></div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/SpatialPointVectorFieldType.html" title="class in org.apache.solr.schema">SpatialPointVectorFieldType</a></td> <td class="colLast">&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/SpatialRecursivePrefixTreeFieldType.html" title="class in org.apache.solr.schema">SpatialRecursivePrefixTreeFieldType</a></td> <td class="colLast">&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/SpatialTermQueryPrefixTreeFieldType.html" title="class in org.apache.solr.schema">SpatialTermQueryPrefixTreeFieldType</a></td> <td class="colLast">&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/StrField.html" title="class in org.apache.solr.schema">StrField</a></td> <td class="colLast">&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/StrFieldSource.html" title="class in org.apache.solr.schema">StrFieldSource</a></td> <td class="colLast">&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/TextField.html" title="class in org.apache.solr.schema">TextField</a></td> <td class="colLast"> <div class="block"><code>TextField</code> is the basic type for configurable text analysis.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/TrieDateField.html" title="class in org.apache.solr.schema">TrieDateField</a></td> <td class="colLast"> <div class="block"> An extension of <a href="../../../../org/apache/solr/schema/DateField.html" title="class in org.apache.solr.schema"><code>DateField</code></a> that supports the same values and syntax, but indexes the value more efficiently using a numeric <a href="../../../../org/apache/solr/schema/TrieField.html" title="class in org.apache.solr.schema"><code>TrieField</code></a> under the covers.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/TrieDoubleField.html" title="class in org.apache.solr.schema">TrieDoubleField</a></td> <td class="colLast"> <div class="block">A numeric field that can contain double-precision 64-bit IEEE 754 floating point values.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/TrieField.html" title="class in org.apache.solr.schema">TrieField</a></td> <td class="colLast"> <div class="block">Provides field types to support for Lucene's <a href="../../../../org/apache/solr/schema/IntField.html" title="class in org.apache.solr.schema"><code>IntField</code></a>, <a href="../../../../org/apache/solr/schema/LongField.html" title="class in org.apache.solr.schema"><code>LongField</code></a>, <a href="../../../../org/apache/solr/schema/FloatField.html" title="class in org.apache.solr.schema"><code>FloatField</code></a> and <a href="../../../../org/apache/solr/schema/DoubleField.html" title="class in org.apache.solr.schema"><code>DoubleField</code></a>.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/TrieFloatField.html" title="class in org.apache.solr.schema">TrieFloatField</a></td> <td class="colLast"> <div class="block">A numeric field that can contain single-precision 32-bit IEEE 754 floating point values.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/TrieIntField.html" title="class in org.apache.solr.schema">TrieIntField</a></td> <td class="colLast"> <div class="block">A numeric field that can contain 32-bit signed two's complement integer values.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/TrieLongField.html" title="class in org.apache.solr.schema">TrieLongField</a></td> <td class="colLast"> <div class="block">A numeric field that can contain 64-bit signed two's complement integer values.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/UUIDField.html" title="class in org.apache.solr.schema">UUIDField</a></td> <td class="colLast"> <div class="block"> This FieldType accepts UUID string values, as well as the special value of "NEW" which triggers generation of a new random UUID.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/solr/schema/ZkIndexSchemaReader.html" title="class in org.apache.solr.schema">ZkIndexSchemaReader</a></td> <td class="colLast"> <div class="block">Keeps a ManagedIndexSchema up-to-date when changes are made to the serialized managed schema in ZooKeeper</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="../../../../org/apache/solr/schema/TrieField.TrieTypes.html" title="enum in org.apache.solr.schema">TrieField.TrieTypes</a></td> <td class="colLast">&nbsp;</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> </table> </li> </ul> <a name="package_description"> <!-- --> </a> <h2 title="Package org.apache.solr.schema Description">Package org.apache.solr.schema Description</h2> <div class="block"><p> <a href="../../../../org/apache/solr/schema/IndexSchema.html" title="class in org.apache.solr.schema"><code>IndexSchema</code></a> and <a href="../../../../org/apache/solr/schema/FieldType.html" title="class in org.apache.solr.schema"><code>FieldType</code></a> implementations for powering schema.xml </p></div> </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="../../../../overview-summary.html">Overview</a></li> <li class="navBarCell1Rev">Package</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="../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../../org/apache/solr/rest/schema/analysis/package-summary.html">Prev Package</a></li> <li><a href="../../../../org/apache/solr/search/package-summary.html">Next Package</a></li> </ul> <ul class="navList"> <li><a href="../../../../index.html?org/apache/solr/schema/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 ======= --> <p class="legalCopy"><small> <i>Copyright &copy; 2000-2015 Apache Software Foundation. All Rights Reserved.</i> <script src='../../../../prettify.js' type='text/javascript'></script> <script type='text/javascript'> (function(){ var oldonload = window.onload; if (typeof oldonload != 'function') { window.onload = prettyPrint; } else { window.onload = function() { oldonload(); prettyPrint(); } } })(); </script> </small></p> </body> </html>
work/berkeley-db/docs/java/com/sleepycat/db/class-use/EventHandlerAdapter.html
joglomedia/masedi.net
<!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_03) on Fri Jun 25 12:23:24 EDT 2010 --> <TITLE> Uses of Class com.sleepycat.db.EventHandlerAdapter (Oracle - Berkeley DB Java API) </TITLE> <META NAME="date" CONTENT="2010-06-25"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../style.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Uses of Class com.sleepycat.db.EventHandlerAdapter (Oracle - Berkeley DB Java API)"; } } </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="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../com/sleepycat/db/EventHandlerAdapter.html" title="class in com.sleepycat.db"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&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> <b>Berkeley DB</b><br><font size="-1"> version 5.0.26</font></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?com/sleepycat/db//class-useEventHandlerAdapter.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="EventHandlerAdapter.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>Uses of Class<br>com.sleepycat.db.EventHandlerAdapter</B></H2> </CENTER> No usage of com.sleepycat.db.EventHandlerAdapter <P> <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="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../com/sleepycat/db/EventHandlerAdapter.html" title="class in com.sleepycat.db"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&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> <b>Berkeley DB</b><br><font size="-1"> version 5.0.26</font></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?com/sleepycat/db//class-useEventHandlerAdapter.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="EventHandlerAdapter.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> <font size=1>Copyright (c) 1996, 2010 Oracle and/or its affiliates. All rights reserved.</font> </BODY> </HTML>