Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
alcalyn committed Aug 25, 2017
2 parents 5d8db05 + b1290f5 commit 6435a2e
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 148 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "eole/sandstone",
"license": "MIT",
"type": "library",
"description": "Extends Silex to easily mount a RestApi working together with a Websocket server through a Push server.",
"description": "Silex RestApi with Websockets.",
"homepage": "https://eole-io.github.io/sandstone/",
"keywords": ["php", "symfony", "silex", "websocket", "push", "reactphp"],
"authors": [
Expand All @@ -17,7 +17,7 @@
"ext-zmq": "*",
"psr/log": "~1.0",
"react/zmq": "0.2.*|0.3.*",
"cboden/ratchet": "~0.3",
"cboden/ratchet": "0.3.*",
"league/oauth2-server": "4.1.x",
"symfony/event-dispatcher": "~3.0",
"symfony/security": "~2.8|~3.0",
Expand Down
1 change: 1 addition & 0 deletions doc/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
_site
.sass-cache
.jekyll-metadata
Gemfile.lock
144 changes: 0 additions & 144 deletions doc/Gemfile.lock

This file was deleted.

2 changes: 1 addition & 1 deletion doc/_layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="jumbotron">
<div class="container">
<h1>Sandstone</h1>
<p>Extends Silex PHP to easily mount a Websocket server working together with a RestApi.</p>
<p>Silex RestApi with Websockets.</p>
<a href="{{ site.baseurl }}/examples/full.html" class="btn btn-lg btn-primary">Get started</a>
</div>
</div>
Expand Down
20 changes: 19 additions & 1 deletion src/Push/Debug/DataCollector/views/push-messages.html.twig
Original file line number Diff line number Diff line change
@@ -1,7 +1,25 @@
{% extends '@WebProfiler/Profiler/layout.html.twig' %}

{% block toolbar %}
yo
{% set icon %}
<span class="sf-toolbar-value">
{{ collector.data.messages_count }}
Push
</span>
{% endset %}
{% set text %}
{% spaceless %}
<div class="sf-toolbar-info-piece">
<b>Push messages</b>
<span class="sf-toolbar-status">{{ collector.data.messages_count }}</span>
</div>
<div class="sf-toolbar-info-piece">
<b>Total size</b>
<span class="sf-toolbar-status">{{ collector.data.messages_size }} bytes</span>
</div>
{% endspaceless %}
{% endset %}
{% include '@WebProfiler/Profiler/toolbar_item.html.twig' with { 'link': profiler_url } %}
{% endblock %}

{% block menu %}
Expand Down

0 comments on commit 6435a2e

Please sign in to comment.