- {Language.nameLabel}
- {Language.usedByLabel}
- {Language.buildTimeLabel}
- {Language.lastUpdatedLabel}
- {Language.createdByLabel}
+ {Language.nameLabel}
+ {Language.usedByLabel}
+ {Language.buildTimeLabel}
+ {Language.lastUpdatedLabel}
@@ -158,91 +222,9 @@ export const TemplatesPageView: FC<
- {templates?.map((template) => {
- const templatePageLink = `/templates/${template.name}`
- const hasIcon = template.icon && template.icon !== ""
-
- return (
- {
- if (event.key === "Enter") {
- navigate(templatePageLink)
- }
- }}
- className={styles.clickableTableRow}
- >
-
- 0
- ? template.display_name
- : template.name
- }
- subtitle={template.description}
- highlightTitle
- avatar={
- hasIcon && (
-
-

-
- )
- }
- />
-
-
-
-
- {Language.developerCount(
- template.active_user_count,
- )}
-
-
-
-
-
- {formatTemplateBuildTime(
- template.build_time_stats.start.P50,
- )}
-
-
-
-
-
- {createDayString(template.updated_at)}
-
-
-
-
-
- {template.created_by_name}
-
-
-
-
-
-
-
-
-
- )
- })}
+ {templates?.map((template) => (
+
+ ))}
@@ -255,27 +237,6 @@ export const TemplatesPageView: FC<
}
const useStyles = makeStyles((theme) => ({
- clickableTableRow: {
- "&:hover td": {
- backgroundColor: theme.palette.action.hover,
- },
-
- "&:focus": {
- outline: `1px solid ${theme.palette.secondary.dark}`,
- },
-
- "& .MuiTableCell-root:last-child": {
- paddingRight: theme.spacing(2),
- },
- },
- arrowRight: {
- color: theme.palette.text.secondary,
- width: 20,
- height: 20,
- },
- arrowCell: {
- display: "flex",
- },
templateIconWrapper: {
// Same size then the avatar component
width: 36,
@@ -286,4 +247,23 @@ const useStyles = makeStyles((theme) => ({
width: "100%",
},
},
+ actionCell: {
+ whiteSpace: "nowrap",
+ },
+ secondary: {
+ color: theme.palette.text.secondary,
+ },
+ tableRow: {
+ "&:hover $actionButton": {
+ color: theme.palette.text.primary,
+ borderColor: colors.gray[11],
+ "&:hover": {
+ borderColor: theme.palette.text.primary,
+ },
+ },
+ },
+ actionButton: {
+ color: theme.palette.text.secondary,
+ transition: "none",
+ },
}))
pFad - Phonifier reborn
Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy