mirror of
https://github.com/rstudio/shiny.git
synced 2026-02-07 05:04:58 -05:00
- Separate generic server code from app logic - Refactor folder layout to put examples in separate folders - Separate shared client assets from app-specific stuff - Introduce friendly functions for interacting with framework from app logic
27 lines
649 B
HTML
27 lines
649 B
HTML
<html>
|
|
<head>
|
|
<script src="shared/jquery-1.7.2.js" type="text/javascript"></script>
|
|
<script src="shared/shiny.js" type="text/javascript"></script>
|
|
<link rel="stylesheet" type="text/css" href="shared/shiny.css"/>
|
|
</head>
|
|
<body>
|
|
<h1>Example 2: Hash Calculation</h1>
|
|
|
|
<p>
|
|
<label>Input:</label><br />
|
|
<input name="input1" value="Hello World!"/>
|
|
<input type="checkbox" name="addnewline" checked="checked"/> Append newline
|
|
</p>
|
|
|
|
<p>
|
|
<label>MD5:</label><br />
|
|
<pre id="md5_hash" class="live-text"></pre>
|
|
</p>
|
|
|
|
<p>
|
|
<label>SHA-1:</label><br />
|
|
<pre id="sha1_hash" class="live-text"></pre>
|
|
</p>
|
|
</body>
|
|
</html>
|