mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-06-01 10:06:17 +00:00
Updated overview page cards to be links to other sections when suitable
This commit is contained in:
@@ -3,6 +3,8 @@
|
|||||||
.overview__card.overview__card {
|
.overview__card.overview__card {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-top: 3px solid var(--brand-color);
|
border-top: 3px solid var(--brand-color);
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.overview__card-title {
|
.overview__card-title {
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ export const Overview = (
|
|||||||
</Card>
|
</Card>
|
||||||
</div>
|
</div>
|
||||||
<div className="col-md-6 col-xl-3">
|
<div className="col-md-6 col-xl-3">
|
||||||
<Card className="overview__card mb-2" body>
|
<Card className="overview__card mb-2" body tag={Link} to={`/server/${serverId}/orphan-visits`}>
|
||||||
<CardTitle tag="h5" className="overview__card-title">Orphan visits</CardTitle>
|
<CardTitle tag="h5" className="overview__card-title">Orphan visits</CardTitle>
|
||||||
<CardText tag="h2">
|
<CardText tag="h2">
|
||||||
<ForServerVersion minVersion="2.6.0">
|
<ForServerVersion minVersion="2.6.0">
|
||||||
@@ -78,7 +78,7 @@ export const Overview = (
|
|||||||
</Card>
|
</Card>
|
||||||
</div>
|
</div>
|
||||||
<div className="col-md-6 col-xl-3">
|
<div className="col-md-6 col-xl-3">
|
||||||
<Card className="overview__card mb-2" body>
|
<Card className="overview__card mb-2" body tag={Link} to={`/server/${serverId}/list-short-urls/1`}>
|
||||||
<CardTitle tag="h5" className="overview__card-title">Short URLs</CardTitle>
|
<CardTitle tag="h5" className="overview__card-title">Short URLs</CardTitle>
|
||||||
<CardText tag="h2">
|
<CardText tag="h2">
|
||||||
{loading ? 'Loading...' : prettify(shortUrls?.pagination.totalItems ?? 0)}
|
{loading ? 'Loading...' : prettify(shortUrls?.pagination.totalItems ?? 0)}
|
||||||
@@ -86,7 +86,7 @@ export const Overview = (
|
|||||||
</Card>
|
</Card>
|
||||||
</div>
|
</div>
|
||||||
<div className="col-md-6 col-xl-3">
|
<div className="col-md-6 col-xl-3">
|
||||||
<Card className="overview__card mb-2" body>
|
<Card className="overview__card mb-2" body tag={Link} to={`/server/${serverId}/manage-tags`}>
|
||||||
<CardTitle tag="h5" className="overview__card-title">Tags</CardTitle>
|
<CardTitle tag="h5" className="overview__card-title">Tags</CardTitle>
|
||||||
<CardText tag="h2">{loadingTags ? 'Loading...' : prettify(tagsList.tags.length)}</CardText>
|
<CardText tag="h2">{loadingTags ? 'Loading...' : prettify(tagsList.tags.length)}</CardText>
|
||||||
</Card>
|
</Card>
|
||||||
|
|||||||
Reference in New Issue
Block a user