1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-07-29 15:49:37 +02:00
This commit is contained in:
François Darveau 2021-12-20 15:07:04 -05:00
commit 3609fe211b
14 changed files with 74 additions and 19 deletions

View file

@ -10,6 +10,10 @@
text-transform: uppercase;
}
.AppHeader:hover {
cursor: pointer;
}
.AppIcon {
width: 35px;
height: 35px;

View file

@ -92,7 +92,7 @@ export const AppCard = (props: Props): JSX.Element => {
{app.icon && iconEl}
<div className={classes.AppCardDetails}>
<h5>{app.name}</h5>
<span>{displayUrl}</span>
<span>{!app.description.length ? displayUrl : app.description}</span>
</div>
</a>
);

View file

@ -143,7 +143,7 @@ export const AppsForm = ({
<ModalForm modalHandler={modalHandler} formHandler={formSubmitHandler}>
{/* NAME */}
<InputGroup>
<label htmlFor="name">App Name</label>
<label htmlFor="name">App name</label>
<input
type="text"
name="name"
@ -189,12 +189,28 @@ export const AppsForm = ({
})}
</select>
</InputGroup>
{/* DESCRIPTION */}
<InputGroup>
<label htmlFor="description">App description</label>
<input
type="text"
name="description"
id="description"
placeholder="My self-hosted app"
value={formData.description}
onChange={(e) => inputChangeHandler(e)}
/>
<span>
Optional - If description is not set, app URL will be displayed
</span>
</InputGroup>
{/* ICON */}
{!useCustomIcon ? (
// mdi
<InputGroup>
<label htmlFor="icon">App Icon (optional)</label>
<label htmlFor="icon">App icon</label>
<input
type="text"
name="icon"