|
| 1 | +<!DOCTYPE html> |
| 2 | +<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> |
| 3 | +<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> |
| 4 | +<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> |
| 5 | +<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> |
| 6 | + <head> |
| 7 | + <meta charset="utf-8"> |
| 8 | + <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| 9 | + <title>Conditional Expression Parser</title> |
| 10 | + <meta name="description" content=""> |
| 11 | + <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 12 | + |
| 13 | + <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.1.1/css/bootstrap.min.css"> |
| 14 | + <style> |
| 15 | + body { |
| 16 | + padding-top: 50px; |
| 17 | + padding-bottom: 20px; |
| 18 | + } |
| 19 | + </style> |
| 20 | + <link rel="stylesheet" href="css/bootswatch-flatly-3.3.1.2.min.css"> |
| 21 | + <link rel="stylesheet" href="css/main.css"> |
| 22 | + <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-tour/0.10.1/css/bootstrap-tour.min.css"> |
| 23 | + |
| 24 | + <script src="js/vendor/modernizr-2.6.2.min.js"></script> |
| 25 | + </head> |
| 26 | + <body> |
| 27 | + <!-- Google Tag Manager --> |
| 28 | + <noscript> |
| 29 | + <iframe src="//www.googletagmanager.com/ns.html?id=GTM-WXV8ZH" height="0" width="0" style="display:none;visibility:hidden"></iframe> |
| 30 | + </noscript> |
| 31 | + <script>(function(w,d,s,l,i){ |
| 32 | + w[l]=w[l]||[]; |
| 33 | + w[l].push({ |
| 34 | + 'gtm.start':new Date().getTime(),event:'gtm.js' |
| 35 | + }); |
| 36 | + var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:''; |
| 37 | + j.async=true; |
| 38 | + j.src='//www.googletagmanager.com/gtm.js?id='+i+dl; |
| 39 | + f.parentNode.insertBefore(j,f); |
| 40 | + })(window,document,'script','dataLayer','GTM-WXV8ZH');</script> |
| 41 | + <!-- End Google Tag Manager --> |
| 42 | + |
| 43 | + <!--[if lt IE 7]> |
| 44 | + <p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p> |
| 45 | + <![endif]--> |
| 46 | + <nav class="navbar navbar-default navbar-fixed-top" role="navigation"> |
| 47 | + <div class="container"> |
| 48 | + <div class="navbar-header"> |
| 49 | + <span class="navbar-brand">Conditional Expression Parser</span> |
| 50 | + </div> |
| 51 | + <div class="navbar-right hidden-xs"> |
| 52 | + <button class="btn btn-info js-tutorial-start">View Tutorial</button> |
| 53 | + </div> |
| 54 | + </div> |
| 55 | + </nav> |
| 56 | + |
| 57 | + <!-- Main jumbotron for a primary marketing message or call to action --> |
| 58 | + <div class="jumbotron"> |
| 59 | + <div class="container"> |
| 60 | + <form class="form-horizontal js-input-form"> |
| 61 | + <label for="input">Expression to parse</label> |
| 62 | + <textarea class="form-control js-tutorial-input" id="input" placeholder="Enter your expression"></textarea> |
| 63 | + </form> |
| 64 | + </div> |
| 65 | + </div> |
| 66 | + |
| 67 | + <div class="container"> |
| 68 | + |
| 69 | + <div class="row"> |
| 70 | + |
| 71 | + <div class="alert alert-info js-intro-text"> |
| 72 | + <button type="button" class="close" data-dismiss="alert">×</button> |
| 73 | + Enter the conditional expression you want to parse in the box above<span class="hidden-xs">, or click "View Tutorial" for a walkthrough</span>. |
| 74 | + </div> |
| 75 | + |
| 76 | + <div class="alert alert-danger hidden js-alert-mixed-operators"> |
| 77 | + Unable to calculate mixed operators |
| 78 | + </div> |
| 79 | + |
| 80 | + <div class="panel panel-default hidden js-truth-table"> |
| 81 | + <div class="panel-heading">Truth Table</div> |
| 82 | + |
| 83 | + <div class="panel-body"> |
| 84 | + <p>This table shows all combinations in which the conditional expression will evaluate to TRUE. Blank cells indicate that the condition can be either TRUE or FALSE.</p> |
| 85 | + </div> |
| 86 | + |
| 87 | + <table class="table table-bordered table-condensed table-responsive table-bordered--dark"> |
| 88 | + <thead></thead> |
| 89 | + <tbody></tbody> |
| 90 | + </table> |
| 91 | + </div> |
| 92 | + |
| 93 | + </div> |
| 94 | + |
| 95 | + <hr> |
| 96 | + |
| 97 | + <footer class="clearfix"> |
| 98 | + <p class="pull-left">© <a href="http://www.wimpyprogrammer.com/">WimpyProgrammer.com</a> 2015</p> |
| 99 | + <p class="pull-right"><a href="https://github.com/wimpyprogrammer/conditional-expression-parser">Fork me on GitHub</a> or <a href="https://github.com/wimpyprogrammer/conditional-expression-parser/issues">report an issue</a></p> |
| 100 | + </footer> |
| 101 | + </div> <!-- /container --> |
| 102 | + |
| 103 | + <script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.15/require.min.js"></script> |
| 104 | + <script>window.define || document.write('<script src="js/vendor/require-2.1.15.min.js"><\/script>')</script> |
| 105 | + <script type="text/javascript"> |
| 106 | + require.config({ |
| 107 | + baseUrl: 'js/', |
| 108 | + paths: { |
| 109 | + 'jquery': [ |
| 110 | + 'https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min', |
| 111 | + 'vendor/jquery-2.1.3.min' |
| 112 | + ], |
| 113 | + 'lodash': [ |
| 114 | + 'https://cdnjs.cloudflare.com/ajax/libs/lodash.js/2.4.1/lodash.min', |
| 115 | + 'vendor/lodash-2.4.1.min' |
| 116 | + ], |
| 117 | + 'bootstrap': [ |
| 118 | + 'https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.1.1/js/bootstrap.min', |
| 119 | + 'vendor/bootstrap-3.1.1.min' |
| 120 | + ], |
| 121 | + 'tour': [ |
| 122 | + 'https://cdnjs.cloudflare.com/ajax/libs/bootstrap-tour/0.10.1/js/bootstrap-tour.min', |
| 123 | + 'vendor/bootstrap-tour-0.10.1.min' |
| 124 | + ] |
| 125 | + }, |
| 126 | + shim: { |
| 127 | + 'underscore': { |
| 128 | + exports: '_' |
| 129 | + }, |
| 130 | + 'jquery': { |
| 131 | + exports: '$' |
| 132 | + }, |
| 133 | + 'bootstrap': { |
| 134 | + deps: [ 'jquery' ] |
| 135 | + }, |
| 136 | + 'tour': { |
| 137 | + exports: 'Tour', |
| 138 | + deps: [ 'jquery', 'bootstrap' ] |
| 139 | + } |
| 140 | + } |
| 141 | + }); |
| 142 | + require(['main', 'plugins']); |
| 143 | + </script> |
| 144 | + </body> |
| 145 | +</html> |
0 commit comments