Skip to content

Commit

Permalink
placed a note for users to test realtime message propogation
Browse files Browse the repository at this point in the history
  • Loading branch information
Cerem Cem ASLAN committed Sep 1, 2017
1 parent 93a2883 commit c056421
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 10 deletions.
8 changes: 3 additions & 5 deletions webapps/showcase/example/hacknbreak.pug
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
p fanı açıp kapatan düğme birazdan buraya gelecek
h3 Toggle PLC output
ack-button(
on-buttonclick="toggleFan"
value="{{fanState}}"
class!="{{#if fanState}}red{{else}}green{{/if}}")
+iff('fanState')
| Fanı aç
| Run
+else
| Fanı kapat
| Stop
+endif

p fanın durumunu: {{#if fanState}}çalışır duruma{{else}}durur duruma{{/if}} getir
2 changes: 1 addition & 1 deletion webapps/showcase/index.pug
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ block title
block loading
b ScadaJS by #[a(href="https://aktos.io" newtab) aktos.io]
p
code v2.3
code v1.1
2 changes: 1 addition & 1 deletion webapps/showcase/scada-components/index.pug
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
h1.ui.horizontal.divider.header
i.dashboard.icon
| SCADA Components

include ./previews/progress/progress.pug
include ./previews/slider.pug
include ./previews/drawing-area.pug
Expand Down
14 changes: 12 additions & 2 deletions webapps/showcase/scada-components/previews/progress/progress.pug
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,20 @@ anchor progress
.ui.attached.segment
ui-progress.top.attached.orange(value="{{progress.one.curr}}" max="{{progress.one.max}}")
btn.basic.teal.label.icon(href=srcAddr newtab) #[i.code.icon] View on Github #[i.github.icon]


assign(input="{{true}}" output="{{hidemeprogrgess}}")
checkbox(checked="{{hidemeprogrgess}}") hide/show

.ui.message.orange
h3 Test Realtime Message Propogation
ol
li Open this page on multiple devices.
li Change slider input.
li See the changes are propogated in realtime.

.ui.message
h3 See Also
ul
li #[a(href="#/authorization-test") Authorization Test] page for authorization options.

+if('hidemeprogrgess')
r-table(class="ui very basic collapsing celled table")
Expand Down

0 comments on commit c056421

Please sign in to comment.