Changeset - d5c834766ce9
[Not reviewed]
default
2 1 2
Drew Perttula - 9 years ago 2016-05-30 22:03:23
drewp@bigasterisk.com
rdfdb xhtml -> html
Ignore-this: a82386c15ae7789b56b56ac4e8208d28
3 files changed with 11 insertions and 19 deletions:
0 comments (0 inline, 0 general)
bin/rdfdb
Show inline comments
 
@@ -399,10 +399,10 @@ class Live(cyclone.websocket.WebSocketHa
 
        self.sendMessage(message)
 

	
 
class NoExts(cyclone.web.StaticFileHandler):
 
    # .xhtml pages can be get() without .xhtml on them
 
    # .html pages can be get() without .html on them
 
    def get(self, path, *args, **kw):
 
        if path and '.' not in path:
 
            path = path + ".xhtml"
 
            path = path + ".html"
 
        cyclone.web.StaticFileHandler.get(self, path, *args, **kw)
 

	
 
if __name__ == "__main__":
 
@@ -430,7 +430,7 @@ if __name__ == "__main__":
 

	
 
        (r'/(.*)', NoExts,
 
         {"path" : "light9/rdfdb/web",
 
          "default_filename" : "index.xhtml"}),
 
          "default_filename" : "index.html"}),
 

	
 
        ], debug=True, db=db))
 
    log.info("serving on %s" % networking.rdfdb.port)
light9/rdfdb/web/graphView.html
Show inline comments
 
file renamed from light9/rdfdb/web/graphView.xhtml to light9/rdfdb/web/graphView.html
 
<?xml version="1.0" encoding="utf-8"?>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
 
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
 
<html xmlns="http://www.w3.org/1999/xhtml">
 
<!DOCTYPE html>
 
<html>
 
  <head>
 
    <title>graphview</title>
 
    <link rel="stylesheet" type="text/css" href="/style.css"/>
 
    <link rel="stylesheet" type="text/css" href="/style.css">
 

	
 
  </head>
 
  <body>
 
@@ -20,7 +18,7 @@
 
      <div id="out"></div>
 
    </fieldset>
 

	
 
    <p>URI substring: <input type="text" id="uriSubstring"/></p>
 
    <p>URI substring: <input type="text" id="uriSubstring"></p>
 

	
 
    <table>
 
      <thead>
 
@@ -36,11 +34,9 @@
 
    <script type="text/javascript" src="/websocket.js"></script>
 
    <script type="text/javascript" src="syncedgraph.js"></script>
 
    <script type="text/javascript">
 
      // <![CDATA[
 
      $(function(){
 

	
 
      });
 
      // ]]>
 
    </script>
 
  </body>
 
</html>
light9/rdfdb/web/index.html
Show inline comments
 
file renamed from light9/rdfdb/web/index.xhtml to light9/rdfdb/web/index.html
 
<?xml version="1.0" encoding="utf8"?>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
 
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
 
<html xmlns="http://www.w3.org/1999/xhtml">
 
<!DOCTYPE html>
 
<html>
 
  <head>
 
    <title>rdfdb</title>
 
    <link rel="stylesheet" type="text/css" href="/style.css"/>
 
    <link rel="stylesheet" type="text/css" href="/style.css">
 
  </head>
 
  <body>
 
    <h1>rdfdb</h1>
 
@@ -15,7 +13,7 @@
 
      <div id="patches"></div>
 
    </section>
 

	
 
    <p>Clients: <span id="clients"/></p>
 
    <p>Clients: <span id="clients"></span></p>
 

	
 
    <fieldset>
 
      <legend>Messages</legend>
 
@@ -25,7 +23,6 @@
 
    <script type="text/javascript" src="/lib/jquery/dist/jquery.min.js"></script>
 
    <script type="text/javascript" src="/websocket.js"></script>
 
    <script type="text/javascript">
 
      // <![CDATA[
 
      $(function(){
 

	
 
          function collapseCuries(s) {
 
@@ -54,7 +51,6 @@
 
          }
 
          reconnectingWebSocket("live", onMessage);
 
      });
 
      // ]]>
 
    </script>
 

	
 
  </body>
0 comments (0 inline, 0 general)