mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
Stop leaking instances via links. Closes https://github.com/owncast/owncast/issues/822
This commit is contained in:
parent
6046f91e48
commit
aefe884daf
@ -73,8 +73,13 @@ function NewActionModal(props: Props) {
|
|||||||
okButtonProps={okButtonProps}
|
okButtonProps={okButtonProps}
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
Add the URL for the external action you want to present. <strong>Only HTTPS urls are supported.</strong>
|
Add the URL for the external action you want to present.{' '}
|
||||||
<p><a href="https://owncast.online/docs">Read more about external actions.</a></p>
|
<strong>Only HTTPS urls are supported.</strong>
|
||||||
|
<p>
|
||||||
|
<a href="https://owncast.online/docs" target="_blank" rel="noopener noreferrer">
|
||||||
|
Read more about external actions.
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<Input
|
<Input
|
||||||
value={actionUrl}
|
value={actionUrl}
|
||||||
@ -91,7 +96,6 @@ function NewActionModal(props: Props) {
|
|||||||
onChange={input => setActionTitle(input.currentTarget.value)}
|
onChange={input => setActionTitle(input.currentTarget.value)}
|
||||||
/>
|
/>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<Input
|
<Input
|
||||||
value={actionDescription}
|
value={actionDescription}
|
||||||
@ -99,7 +103,6 @@ function NewActionModal(props: Props) {
|
|||||||
onChange={input => setActionDescription(input.currentTarget.value)}
|
onChange={input => setActionDescription(input.currentTarget.value)}
|
||||||
/>
|
/>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<Input
|
<Input
|
||||||
value={actionIcon}
|
value={actionIcon}
|
||||||
@ -107,7 +110,6 @@ function NewActionModal(props: Props) {
|
|||||||
onChange={input => setActionIcon(input.currentTarget.value)}
|
onChange={input => setActionIcon(input.currentTarget.value)}
|
||||||
/>
|
/>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<Input
|
<Input
|
||||||
type="color"
|
type="color"
|
||||||
@ -116,7 +118,6 @@ function NewActionModal(props: Props) {
|
|||||||
/>
|
/>
|
||||||
Optional background color of the action button.
|
Optional background color of the action button.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<Checkbox
|
<Checkbox
|
||||||
checked={openExternally}
|
checked={openExternally}
|
||||||
defaultChecked={openExternally}
|
defaultChecked={openExternally}
|
||||||
@ -279,7 +280,8 @@ export default function Actions() {
|
|||||||
<Paragraph>Description goes here.</Paragraph>
|
<Paragraph>Description goes here.</Paragraph>
|
||||||
<Paragraph>
|
<Paragraph>
|
||||||
Read more about how to use actions, with examples, at{' '}
|
Read more about how to use actions, with examples, at{' '}
|
||||||
<a href="https://owncast.online/thirdparty/?source=admin">our documentation</a>.
|
<a href="https://owncast.online/thirdparty/?source=admin" target="_blank"
|
||||||
|
rel="noopener noreferrer">our documentation</a>.
|
||||||
</Paragraph>
|
</Paragraph>
|
||||||
|
|
||||||
<Table rowKey="id" columns={columns} dataSource={actions} pagination={false} />
|
<Table rowKey="id" columns={columns} dataSource={actions} pagination={false} />
|
||||||
|
@ -130,8 +130,14 @@ export default function ViewersOverTime() {
|
|||||||
<p>
|
<p>
|
||||||
<Typography.Text type="secondary">
|
<Typography.Text type="secondary">
|
||||||
Visit the{' '}
|
Visit the{' '}
|
||||||
<a href="https://owncast.online/docs/viewers/?source=admin">documentation</a> to
|
<a
|
||||||
configure additional details about your viewers.
|
href="https://owncast.online/docs/viewers/?source=admin"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
>
|
||||||
|
documentation
|
||||||
|
</a>{' '}
|
||||||
|
to configure additional details about your viewers.
|
||||||
</Typography.Text>{' '}
|
</Typography.Text>{' '}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user