client/web: add licenses and policies links

Adds a footer to the device details page that mirrors license and
policy content on other Tailscale clients.

Updates #10261

Signed-off-by: Sonia Appasamy <sonia@tailscale.com>
pull/10488/head
Sonia Appasamy 12 months ago committed by Sonia Appasamy
parent cc6729a0bc
commit a54a4f757b

@ -162,16 +162,50 @@ export default function DeviceDetailsView({
</tbody> </tbody>
</table> </table>
</div> </div>
<Control.AdminContainer <footer className="text-gray-500 text-sm leading-tight text-center">
className="text-gray-500 text-sm leading-tight text-center" <Control.AdminContainer node={node}>
node={node} Want even more details? Visit{" "}
> <Control.AdminLink node={node} path={`/machines/${node.IPv4}`}>
Want even more details? Visit{" "} this devices page
<Control.AdminLink node={node} path={`/machines/${node.IPv4}`}> </Control.AdminLink>{" "}
this devices page in the admin console.
</Control.AdminLink>{" "} </Control.AdminContainer>
in the admin console. <p className="mt-12">
</Control.AdminContainer> <a
className="link"
href={node.LicensesURL}
target="_blank"
rel="noreferrer"
>
Acknowledgements
</a>{" "}
·{" "}
<a
className="link"
href="https://tailscale.com/privacy-policy/"
target="_blank"
rel="noreferrer"
>
Privacy Policy
</a>{" "}
·{" "}
<a
className="link"
href="https://tailscale.com/terms/"
target="_blank"
rel="noreferrer"
>
Terms of Service
</a>
</p>
<p className="my-2">
WireGuard is a registered trademark of Jason A. Donenfeld.
</p>
<p>
© {new Date().getFullYear()} Tailscale Inc. All rights reserved.
Tailscale is a registered trademark of Tailscale Inc.
</p>
</footer>
</div> </div>
</> </>
) )

Loading…
Cancel
Save