mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
turn links to buttons
This commit is contained in:
parent
9cfa5d6477
commit
422c24c92c
1 changed files with 6 additions and 2 deletions
|
|
@ -45,20 +45,24 @@ export class Home extends React.Component<RouteComponentProps<{}>, IFilterListsS
|
|||
Header: "View",
|
||||
accessor: "viewUrl",
|
||||
Cell: (d: any) => <a href={d.value}
|
||||
className="btn btn-primary btn-block"
|
||||
title={"View the raw list. Many are quite large, so be cautious if on metered bandwidth."}>
|
||||
View
|
||||
</a>,
|
||||
style: { textAlign: "center" }
|
||||
style: { textAlign: "center" },
|
||||
width: 100
|
||||
},
|
||||
{
|
||||
Header: "Subscribe",
|
||||
accessor: "viewUrl",
|
||||
Cell: (d: any) => <a href={`abp:subscribe?location=${encodeURIComponent(d.value)
|
||||
}&title=${encodeURIComponent(d.row.name)}`}
|
||||
className="btn btn-primary btn-block"
|
||||
title={"Subscribe to list with browser extension supporting \"abp:\" protcool (e.g. uBlock Origin, AdBlock Plus)."}>
|
||||
Subscribe
|
||||
</a>,
|
||||
style: { textAlign: "center" }
|
||||
style: { textAlign: "center" },
|
||||
width: 100
|
||||
}
|
||||
]}
|
||||
SubComponent={(row: any) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue