Skip to content

Commit 9e5dd51

Browse files
committed
style for collections view
1 parent 81148b4 commit 9e5dd51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sparqlunicorn_ontdoc/export/api/ogcapifeaturesexporter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def generateOGCAPIFeaturesPages(outpath,deploypath, featurecollectionspaths, pre
125125
"title": "this document as JSON"},
126126
{"href": outpath + "collections/index.html", "rel": "self", "type": "text/html",
127127
"title": "this document as HTML"}]}
128-
collectionshtml = "<html><head><meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" /><link rel=\"stylesheet\" href=\"../../style.css\"/><link rel=\"stylesheet\" href=\"https://cdn.datatables.net/2.2.1/css/dataTables.dataTables.css\" /><script src=\"https://code.jquery.com/jquery-3.7.1.js\"></script><script src=\"https://cdn.datatables.net/2.2.1/js/dataTables.js\"></script></head><body><header id=\"header\"><h1 id=\"title\">Collections of " + str(
128+
collectionshtml = "<html><head><meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" /><link rel=\"stylesheet\" href=\"../style.css\"/><link rel=\"stylesheet\" href=\"https://cdn.datatables.net/2.2.1/css/dataTables.dataTables.css\" /><script src=\"https://code.jquery.com/jquery-3.7.1.js\"></script><script src=\"https://cdn.datatables.net/2.2.1/js/dataTables.js\"></script></head><body><header id=\"header\"><h1 id=\"title\">Collections of " + str(
129129
deploypath) + "</h1></header>{{collectiontable}}<footer id=\"footer\"><a href=\"index.json\">This page as JSON</a></footer><script>$(document).ready( function () {$('#collectiontable').DataTable();} );</script></body></html>"
130130
collectiontable = "<table id=\"collectiontable\"><thead><th>Collection</th><th>#Features</th><th>Links</th></thead><tbody>"
131131
apijson["paths"]["/collections"] = {"get": {"tags": ["Collections"], "summary": "describes collections",

0 commit comments

Comments
 (0)