mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 12:21:36 +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)
29 lines
1.1 KiB
Handlebars
29 lines
1.1 KiB
Handlebars
<section class="gh-canvas">
|
|
<GhCanvasHeader class="gh-canvas-header">
|
|
<div class="flex flex-column">
|
|
<h2 class="gh-canvas-title" data-test-screen-title>
|
|
Testing Websockets
|
|
</h2>
|
|
</div>
|
|
</GhCanvasHeader>
|
|
{{#if (feature 'websockets')}}
|
|
<section class="view-container settings-debug">
|
|
<p class="gh-box gh-box-tip">{{svg-jar "idea"}}This is a testing ground for new or experimental features. They
|
|
may change, break or inexplicably disappear at any time.</p>
|
|
<div class="gh-main-section">
|
|
<h4 class="gh-main-section-header small bn">Secrets</h4>
|
|
<div class="gh-expandable">
|
|
<div class="gh-expandable-block">
|
|
<Websockets />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
{{else}}
|
|
<section class="view-container settings-debug">
|
|
<p class="gh-box gh-box-alert">{{svg-jar "warning-stroke"}}This is a testing ground for new or experimental features. You need developer experiments
|
|
enabled to see the content here.
|
|
</p>
|
|
</section>
|
|
{{/if}}
|
|
</section> |