mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2024-12-26 00:21:36 +01:00
Compare commits
1 Commits
53ee59a975
...
22fc17c265
Author | SHA1 | Date | |
---|---|---|---|
|
22fc17c265 |
|
@ -48,13 +48,15 @@ function CopyInput({ value, ...props }) {
|
|||
|
||||
return (
|
||||
<Input type="text" value={value} ref={inputTextRef} {...props}>
|
||||
<button
|
||||
className="btn btn-outline-secondary"
|
||||
type="button"
|
||||
onClick={handleCopyClick}
|
||||
>
|
||||
<span>{isCopied ? _("Copied!") : _("Copy")}</span>
|
||||
</button>
|
||||
<div className="input-group-append">
|
||||
<button
|
||||
className="btn btn-outline-secondary"
|
||||
type="button"
|
||||
onClick={handleCopyClick}
|
||||
>
|
||||
<span>{isCopied ? _("Copied!") : _("Copy")}</span>
|
||||
</button>
|
||||
</div>
|
||||
</Input>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -27,13 +27,6 @@ export const ForisURLs = {
|
|||
storage: `${REFORIS_URL_PREFIX}/storage`,
|
||||
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.
|
||||
overview: "/overview",
|
||||
notifications: "/overview#notifications",
|
||||
|
|
Loading…
Reference in New Issue
Block a user