mirror of
https://github.com/driftywinds/driftywinds.github.io.git
synced 2025-12-19 11:03:32 +00:00
13 lines
464 B
JavaScript
13 lines
464 B
JavaScript
//
|
|
// AppPermissionItem.js
|
|
// altsource-viewer (https://github.com/therealFoxster/altsource-viewer)
|
|
//
|
|
// Copyright (c) 2023 Foxster.
|
|
// MIT License.
|
|
//
|
|
|
|
export const AppPermissionItem = (name, icon, details) => `
|
|
<a class="permission-item" onclick="alert('${details?.replace(/(['"])/g, "\\$1") ?? "altsource-viewer does not have detailed information about this entitlement."}');">
|
|
<p><i class="bi-${icon}"></i></p>
|
|
<p class="title">${name}</p>
|
|
</a>`; |