Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions app_page.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>$APP_NAME - _("PORTABLE LINUX APPS")</title>
<title>$APP_TITLE - _("PORTABLE LINUX APPS")</title>
<meta name="description" content="$APP_DESC">
<meta property="og:type" content="website">
<meta property="og:title" content="$APP_NAME - _("PORTABLE LINUX APPS")">
Expand All @@ -20,7 +20,6 @@
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="/assets/css/style.css">
<link rel="stylesheet" href="/assets/css/app.css">
<link rel="preconnect" href="/app/$APP_NAME.json">
<link rel="preconnect" href="/assets/css/style.css">
<link rel="preconnect" href="/assets/css/app.css">
<link rel="preconnect" href="/assets/js/app_page.js">
Expand Down Expand Up @@ -56,8 +55,19 @@
</a>
</div>

<div id="app-name" style="display: none;">$APP_NAME</div>
<div id="app-root"><h1>$APP_NAME</h1></div>
<div id="app-root">
<div class="app-detail-header">
<img src="../../icons/$APP_NAME.webp" alt="icon for $APP_DISPLAY_NAME" onerror="this.src='../../no-icon.webp'">
<div class="app-title"><h1>$APP_DISPLAY_NAME</h1><div class="app-meta">$APP_META</div>
</div>
$APP_INSTALL_BTN
</div>
<div class="app-body-content">$APP_DESC_FULL</div>
$APP_GALLERY
$APP_BUTTONS
$APP_SITES
$APP_SOURCES
</div>

<a href="#" id="back-to-top" title="Back to top">&uarr;</a>

Expand Down
19 changes: 8 additions & 11 deletions assets/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,14 @@
align-items: center;
}

/* Square on the right so the button meets the "?" link inside .install-group,
which supplies the matching right-hand radius. On a metapackage page there
is no "?" link: install_button() emits the anchor on its own, as a direct
child of .app-detail-header, so it has to round all four corners itself. */
.app-detail-header > .install-btn {
border-radius: var(--radius);
}

.install-btn:hover {
background: var(--color-accent-hover);
text-decoration: none;
Expand Down Expand Up @@ -575,14 +583,3 @@
margin: 0;
display: block;
}

.error-box {
text-align: center;
padding: 4rem 1.5rem;
color: var(--color-text-muted);
}

.error-box h2 {
color: var(--color-text);
margin-bottom: 0.5rem;
}
Loading
Loading