react-templates/playground/fiddle.rt

44 lines
2.6 KiB
Plaintext
Raw Normal View History

2014-12-30 09:42:31 +01:00
<!--suppress CheckEmptyScriptTag -->
<rt-require dependency="./playground" as="playground"/>
<div class="fiddle">
2014-12-04 10:15:19 +01:00
<div id="header">
<div id="header-title">
2014-12-08 13:48:12 +01:00
<a href="index.html" class="title-link">
2014-12-25 11:13:07 +01:00
<img class="nav-logo" src="https://wix.github.io/react-templates/img/logo-rt.svg" width="56" height="24" />
2014-12-08 13:48:12 +01:00
</a>
2014-12-30 09:42:31 +01:00
RT Playground
2014-12-04 10:15:19 +01:00
</div>
<div id="buttons-bar">
2014-12-08 13:48:12 +01:00
<button type="button" class="btn btn-default" onClick="(evt)=>evt.preventDefault();this.save()">
<span class="glyphicon glyphicon-star button-icon" aria-hidden="true"></span>Save fiddle
</button>
<button type="button" class="btn btn-default" onClick="(evt)=>evt.preventDefault();this.clear()">
<span class="glyphicon glyphicon-trash button-icon" aria-hidden="true"></span>Clear
</button>
<div class="dropdown toolbar-dropdown">
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-expanded="true">
Load Sample
<span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
<li role="presentation"><a role="menuitem" tabindex="-1" href="#" onClick="(evt)=>evt.preventDefault();this.loadSample('rt-if')">rt-if</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="#" onClick="(evt)=>evt.preventDefault();this.loadSample('rt-repeat')">rt-repeat</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="#" onClick="(evt)=>evt.preventDefault();this.loadSample('rt-props')">rt-props</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="#" onClick="(evt)=>evt.preventDefault();this.loadSample('todo')">Todo</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="#" onClick="(evt)=>evt.preventDefault();this.loadSample('weather')">Weather</a></li>
</ul>
</div>
2014-12-04 10:15:19 +01:00
</div>
2014-12-30 09:42:31 +01:00
<ul class="nav-site">
2014-12-30 10:05:27 +01:00
<li><a href="index.html">HOME</a></li>
2014-12-30 16:33:28 +01:00
<li><a href="https://github.com/wix/react-templates#template-directives-and-syntax">docs</a></li>
<li><a href="https://github.com/wix/react-templates#installation">download</a></li>
2014-12-30 09:42:31 +01:00
<li><a href="https://github.com/wix/react-templates">github</a>
</ul>
2014-12-04 10:15:19 +01:00
</div>
2014-12-08 11:45:32 +01:00
<div class="playground-container">
<playground ref="playground" direction="vertical" fiddle="{true}" />
</div>
</div>