mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 01:42:29 +03:00
034a230365
refs https://github.com/TryGhost/Team/issues/2561 - added simple socket-io implementation to Ghost server - added alpha flag for websockets - added route in admin to test websockets using a simple counter stored in server local memory (refreshes on reboot)
8 lines
447 B
Handlebars
8 lines
447 B
Handlebars
<div class="gh-expandable-header">
|
|
<div>
|
|
<h4 class="gh-expandable-title">Counter</h4>
|
|
<p class="gh-expandable-description">Current counter value: <strong>{{this.counter}}</strong></p>
|
|
<p class="gh-expandable-description">This counter will reset when Ghost reboots.</p>
|
|
</div>
|
|
<button type="button" class="gh-btn" {{on "click" this.handleClick}} data-test-button="delete-all"><span>Add One</span></button>
|
|
</div> |