mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2024-11-14 17:35:35 +01:00
Compare commits
5 Commits
22fc17c265
...
53ee59a975
Author | SHA1 | Date | |
---|---|---|---|
|
53ee59a975 | ||
|
1b5a5da953 | ||
|
7f45201f05 | ||
|
f34d9bbdbd | ||
|
c7ff3f42f6 |
|
@ -48,7 +48,6 @@ function CopyInput({ value, ...props }) {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Input type="text" value={value} ref={inputTextRef} {...props}>
|
<Input type="text" value={value} ref={inputTextRef} {...props}>
|
||||||
<div className="input-group-append">
|
|
||||||
<button
|
<button
|
||||||
className="btn btn-outline-secondary"
|
className="btn btn-outline-secondary"
|
||||||
type="button"
|
type="button"
|
||||||
|
@ -56,7 +55,6 @@ function CopyInput({ value, ...props }) {
|
||||||
>
|
>
|
||||||
<span>{isCopied ? _("Copied!") : _("Copy")}</span>
|
<span>{isCopied ? _("Copied!") : _("Copy")}</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
|
||||||
</Input>
|
</Input>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,6 +27,13 @@ export const ForisURLs = {
|
||||||
storage: `${REFORIS_URL_PREFIX}/storage`,
|
storage: `${REFORIS_URL_PREFIX}/storage`,
|
||||||
sentinelAgreement: `${REFORIS_URL_PREFIX}/sentinel/agreement`,
|
sentinelAgreement: `${REFORIS_URL_PREFIX}/sentinel/agreement`,
|
||||||
|
|
||||||
|
// URLs without prefix for Overview page
|
||||||
|
openvpnClientSettings: "/openvpn/client-settings",
|
||||||
|
packageManagementPackages: "/package-management/packages",
|
||||||
|
packageManagementUpdateSettings: "/package-management/update-settings",
|
||||||
|
sentinelLicenseAgreement: "/sentinel/agreement",
|
||||||
|
librespeedSpeedTest: "/librespeed/speed-test",
|
||||||
|
|
||||||
// Notifications links are used with <Link/> inside Router, thus url subdir is not required.
|
// Notifications links are used with <Link/> inside Router, thus url subdir is not required.
|
||||||
overview: "/overview",
|
overview: "/overview",
|
||||||
notifications: "/overview#notifications",
|
notifications: "/overview#notifications",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user