aboutsummaryrefslogtreecommitdiffstats
path: root/dbdocs/relationships.js
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-07-21 05:36:02 +0000
committerterminaldweller <thabogre@gmail.com>2022-07-21 05:36:02 +0000
commit85db7c5287ae58efc108263f7a40bdbd02de1a82 (patch)
tree8292d90db8999dabc2e3872ea75547cb7fcf0c2d /dbdocs/relationships.js
parentchanged the max doc size to 40K characters.255 was not enough... (diff)
downloadmdrtl-85db7c5287ae58efc108263f7a40bdbd02de1a82.tar.gz
mdrtl-85db7c5287ae58efc108263f7a40bdbd02de1a82.zip
added docs for the db using schemaspy
Diffstat (limited to 'dbdocs/relationships.js')
-rw-r--r--dbdocs/relationships.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/dbdocs/relationships.js b/dbdocs/relationships.js
new file mode 100644
index 0000000..3c93eab
--- /dev/null
+++ b/dbdocs/relationships.js
@@ -0,0 +1,13 @@
+$(function() {
+ var pgurl = window.location.href.substr(window.location.href.lastIndexOf("/")+1);
+ $("#navbar-collapse ul li a").each(function(){
+ if($(this).attr("href") == pgurl || $(this).attr("href") == '' )
+ $(this).parent().addClass("active");
+ })
+});
+
+$(function() {
+ var $imgs = $('img.diagram, object.diagram');
+ $imgs.css("cursor", "move")
+ $imgs.draggable();
+});