Created tags list page

This commit is contained in:
Alejandro Celaya
2018-08-16 18:59:00 +02:00
parent 03113583f0
commit 49290b56ee
12 changed files with 150 additions and 8 deletions

View File

@@ -53,7 +53,7 @@ export class CreateShortUrl extends React.Component {
};
return (
<div className="short-urls-container">
<div className="shlink-container">
<form onSubmit={save}>
<div className="form-group">
<input

View File

@@ -115,8 +115,9 @@ export class ShortUrlsVisits extends React.Component {
<Moment format="YYYY-MM-DD HH:mm">{shortUrl.dateCreated}</Moment>
</UncontrolledTooltip>
</span>;
return (
<div className="short-urls-container">
<div className="shlink-container">
<header>
<Card className="bg-light">
<CardBody>

View File

@@ -11,7 +11,7 @@ export function ShortUrls(props) {
const urlsListKey = `${params.serverId}_${params.page}`;
return (
<div className="short-urls-container">
<div className="shlink-container">
<div className="form-group"><SearchBar /></div>
<ShortUrlsList {...props} shortUrlsList={props.shortUrlsList.data || []} key={urlsListKey} />
<Paginator paginator={props.shortUrlsList.pagination} serverId={props.match.params.serverId} />