File tree 2 files changed +33
-4
lines changed
lib/asciinema_web/controllers/stream_html
2 files changed +33
-4
lines changed Original file line number Diff line number Diff line change 11
11
12
12
.stream-list {
13
13
table {
14
+ margin-top : 3rem ;
14
15
table-layout : fixed ;
15
16
16
17
th , td {
Original file line number Diff line number Diff line change 10
10
</ div >
11
11
</ div >
12
12
13
+ < div :if = { @ streams . total_entries == 0 } >
14
+ < p >
15
+ Create your first stream by clicking on the "Create new stream" button or by starting a new streaming session in your terminal.
16
+ </ p >
17
+ </ div >
18
+
19
+ < div >
20
+ < p > To start a new streaming session and expose it via { @ conn . host } run:</ p >
21
+
22
+ < pre > < code > asciinema stream -r</ code > </ pre >
23
+
24
+ < p >
25
+ < small class = "text-muted " >
26
+ You need asciinema CLI version < a href = "https://github.com/asciinema/asciinema/releases/tag/v3.0.0-rc.3 " > 3.0 or later</ a > .
27
+ </ small >
28
+ </ p >
29
+
30
+ < p >
31
+ The above command will automatically create a new stream ID and start streaming your terminal.
32
+ </ p >
33
+
34
+ < div :if = { @ streams . total_entries > 0 } >
35
+ < p >
36
+ If you want to stream using an existing stream configuration then choose an ID from the table below and run:
37
+ </ p >
38
+
39
+ < pre > < code > asciinema stream -r < em > STREAM-ID</ em > </ code > </ pre >
40
+ </ div >
41
+ </ div >
42
+
13
43
< div :if = { @ streams . total_entries > 0 } class = "row stream-list " >
14
44
< div class = "col-md-12 " >
15
45
< table class = "table " >
83
113
</ table >
84
114
</ div >
85
115
86
- < div :if = { @ streams . total_pages > 1 } class = "row " >
87
- < div class = "col " >
88
- { pagination_links ( @ streams ) }
89
- </ div >
116
+ < div :if = { @ streams . total_pages > 1 } class = "col " >
117
+ { pagination_links ( @ streams ) }
90
118
</ div >
91
119
</ div >
92
120
</ div >
You can’t perform that action at this time.
0 commit comments