dsnet/report_rendering/README.md
2020-06-01 21:51:47 +01:00

20 lines
944 B
Markdown

This directory contains scripts and templates that can be used to render
`/var/lib/dsnetreport.json`. They are useful for integrating a peer overview
into an existing website or web application.
Most are contributions from other users. If you have a useful addition, please
do a PR.
* `dsnetreport.php`: A php file to render a report.
* `dsnetreport.html`: A hugo shortcode for rendering a report. See https://github.com/naggie/dsnet/issues/4#issuecomment-632928158 for background. Courtesy of [@Write](https://github.com/Write)
Most look something like this:
## Hugo shortcode template
![dsnet report table](https://raw.githubusercontent.com/naggie/dsnet/master/etc/report.png)
# PHP template
![dsnet report table](https://user-images.githubusercontent.com/541722/82712747-0cf42180-9c89-11ea-92fa-0974a34c5c79.jpg)
![dsnet report table](https://user-images.githubusercontent.com/541722/82712745-0a91c780-9c89-11ea-91a8-828e0be38951.jpg)