# HG changeset patch # User drewp@bigasterisk.com # Date 1381691006 25200 # Node ID 2200d6530a5dee84793d43b575f32f2b8263e635 # Parent 88e7dd76755058b1c6ae310aef1b6b4c8bb2bf87 testing rdfs:comment display on enironment's graph viewer Ignore-this: d25c57b80a1dc4180b348d64f1546cd6 diff -r 88e7dd767550 -r 2200d6530a5d service/environment/environment.py --- a/service/environment/environment.py Sun Oct 13 00:25:03 2013 -0700 +++ b/service/environment/environment.py Sun Oct 13 12:03:26 2013 -0700 @@ -41,6 +41,8 @@ self.set_header('Content-type', 'application/x-trig') self.write(g.asTrig()) + +from rdfdoc import Doc class Application(cyclone.web.Application): def __init__(self): @@ -48,6 +50,7 @@ (r"/()", cyclone.web.StaticFileHandler, {"path": ".", "default_filename": "index.html"}), (r'/graph', GraphHandler), + (r'/doc', Doc), # to be shared ] cyclone.web.Application.__init__(self, handlers) diff -r 88e7dd767550 -r 2200d6530a5d service/environment/index.html --- a/service/environment/index.html Sun Oct 13 00:25:03 2013 -0700 +++ b/service/environment/index.html Sun Oct 13 12:03:26 2013 -0700 @@ -15,12 +15,13 @@ .literalType { vertical-align: super; font-size: 80%; } .literal { display: inline-block; border: 1px solid gray; background: white; } .resource { display: inline-block; background: lightblue; border-radius: 6px; padding: 1px 6px; margin: 2px; } - + .comment { color: green; }