Skip to content
This repository was archived by the owner on Jan 8, 2019. It is now read-only.

Commit 2bbfe3d

Browse files
author
Lennart Koopmann
committed
improve UX of the outputs from the POV of somebody who uses them for the first time
1 parent 5fea67d commit 2bbfe3d

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

app/views/streams/outputs/index.scala.html

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,16 @@ <h1>
1515
<i class="icon icon-download-alt"></i>
1616
Outputs for Stream &raquo;@stream.getTitle&laquo;
1717
</h1>
18-
Graylog2 nodes can forward messages of this stream via outputs. Launch or terminate as many outputs as you want here.
19-
You can also reuse outputs for other streams. A global view of all configured outputs is <a href="@routes.OutputsController.index()">here</a>.
18+
Graylog2 nodes can forward messages of streams via outputs. Launch or terminate as many outputs as you want here.
19+
You can also reuse outputs that are already running for other streams.
20+
21+
A global view of all configured outputs is available <a href="@routes.OutputsController.index()">here</a>.
22+
23+
<br />
24+
<br />
25+
<i>Removing</i> an output removes it from this stream but is still in the list of available outputs
26+
and <i>terminating</i> will stop it for all streams and remove it from all configurations and lists
27+
completely.
2028
</div>
2129

2230
@if(isPermitted(OUTPUTS_CREATE)) {
@@ -60,7 +68,7 @@ <h2><i class="icon icon-cogs"></i> Configured outputs</h2>
6068
@views.html.system.outputs.partials.output_summary.render(output, stream)
6169
}
6270
} else {
63-
<div class="alert alert-info">There are no outputs for this stream. All messages will go to the default output only</div>
71+
<div class="alert alert-info">There are no outputs for this stream. All messages will go to the default output only.</div>
6472
}
6573
</div>
6674
}

app/views/system/outputs/partials/output_summary.scala.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@
1111
&nbsp;
1212
@if(stream != null && isPermitted(STREAM_OUTPUTS_DELETE)) {
1313
<form action="@routes.StreamOutputsController.remove(stream.getId, output.getId)" method="POST">
14-
<button class="btn btn-danger btn-mini"
14+
<button class="btn btn-warning btn-mini"
1515
type="submit"
16-
data-confirm="Really remove output from stream?">
17-
Remove
16+
data-confirm="Really remove output from stream?"
17+
>
18+
Remove from stream
1819
</button>
1920
</form>
2021
}

0 commit comments

Comments
 (0)