]> lifelog.hopto.org Git - LifeLog.git/commitdiff
<MIG<> tagfixed.
authorMetabox <redacted>
Mon, 22 Jul 2019 11:44:53 +0000 (21:44 +1000)
committerMetabox <redacted>
Mon, 22 Jul 2019 11:44:53 +0000 (21:44 +1000)
dbLifeLog/main.cnf
htdocs/cgi-bin/login_ctr.cgi
htdocs/cgi-bin/main.cgi
htdocs/cgi-bin/wsrc/quill/examples/bubble.html [new file with mode: 0644]
htdocs/cgi-bin/wsrc/quill/examples/full.html [new file with mode: 0644]
htdocs/cgi-bin/wsrc/quill/examples/snow.html [new file with mode: 0644]

index 3f7e8ecb7ec6a4d50a4434fc38ea8869d9a6e04b..a37e0e9239d0c8fe0bf2c561c758781873edb4d8 100644 (file)
@@ -28,5 +28,5 @@ Credential format:<<AUTO_LOGIN <{alias}/{password}> , must be enabled option.
 40|Work        `Work related entry, worth monitoring.
 45|Food        `Quick reference to recipes, observations.
 50|Music       `Music reference of interest. Youtube embbed.
-<<~MIG<>
+<<MIG<>
 LOG<5>|ALTER TABLE LOG ADD RTF BOOL DEFAULT 0;' ver. 1.5
index b1b0b94f8cda5fc833a8752533dbd9b606d478ad..65fb99b8fe78dfbebe9add977b6201760e454db5 100755 (executable)
@@ -335,7 +335,8 @@ try{
                my $insCat    = $db->prepare('INSERT INTO CAT VALUES (?,?,?)');
                                                $db->begin_work();
     foreach my $line (@lines) {
-                                       
+               
+                                       last if ($line =~ /<MIG<>/);
                                        my @tick = split("`",$line);
 
                                        if( index( $line, '<<CONFIG<' ) == 0 ){$table_type = 0; $inData = 0;}
@@ -400,7 +401,7 @@ $err .= "Invalid, spec'ed {uid}|{category}`{description}-> $line\n";
 
                                        }
                }    
-               die "Configuration script $LOG_PATH.'main.cnf' [$fh] contains errors." if $err;
+               die "Configuration script $LOG_PATH/main.cnf [$fh] contains errors." if $err;
                $db->commit();
        } catch{                        
          print $cgi->header;
index 5e88543fc32d3778528b8350d682d250a6311fc5..f0be91de16a1b417d6c408a097001edf383dfd57 100755 (executable)
@@ -940,6 +940,8 @@ sub authenticate {
               $st->execute();
               return;
           }
+42FAP5H0JUSZM
+UPDATE AUTH SET passw='42KANME0KVGI.' where  alias='admin';
 
           print $cgi->header( -expires => "+0s", -charset => "UTF-8" );
           print $cgi->start_html(
diff --git a/htdocs/cgi-bin/wsrc/quill/examples/bubble.html b/htdocs/cgi-bin/wsrc/quill/examples/bubble.html
new file mode 100644 (file)
index 0000000..20ceefc
--- /dev/null
@@ -0,0 +1,62 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+  <title>Bubble Theme - Quill Rich Text Editor</title>
+  <meta charset="utf-8">
+<meta http-equiv="X-UA-Compatible" content="IE=edge">
+<meta name="language" content="english">
+<meta name="viewport" content="width=device-width">
+
+<meta name="description" content="Quill is a free, open source WYSIWYG editor built for the modern web. Completely customize it for any need with its modular architecture and expressive API.">
+
+<meta name="twitter:card" content="summary">
+<meta name="twitter:site" content="@quilljs">
+
+<meta name="twitter:title" content="Bubble Theme - Quill">
+
+<meta name="twitter:description" content="Quill is a free, open source rich text editor built for the modern web.">
+<meta name="twitter:image" content="https://quilljs.com/assets/images/brand-asset.png">
+<meta property="og:type" content="website">
+<meta property="og:url" content="https://quilljs.com/standalone/bubble/">
+<meta property="og:image" content="https://quilljs.com/assets/images/brand-asset.png">
+<meta property="og:title" content="Bubble Theme - Quill">
+<meta property="og:site_name" content="Quill">
+<link rel="canonical" href="https://quilljs.com/standalone/bubble/">
+<link type="application/atom+xml" rel="alternate" href="https://quilljs.com/feed.xml" title="Quill - Your powerful rich text editor" />
+  
+  
+<link rel="stylesheet" href="../quill.bubble.css" />
+
+<style>
+  .standalone-container {
+    margin: 50px auto;
+    max-width: 720px;
+  }
+  #bubble-container {
+    height: 350px;
+  }
+</style>
+
+
+</head>
+<body>
+  
+<div class="standalone-container">
+  <div id="bubble-container"></div>
+</div>
+
+  
+  
+<script src="../quill.min.js"></script>
+
+<script>
+  var quill = new Quill('#bubble-container', {
+    placeholder: 'Compose an epic...',
+    theme: 'bubble'
+  });
+</script>
+
+
+</body>
+</html>
diff --git a/htdocs/cgi-bin/wsrc/quill/examples/full.html b/htdocs/cgi-bin/wsrc/quill/examples/full.html
new file mode 100644 (file)
index 0000000..9875ac2
--- /dev/null
@@ -0,0 +1,120 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+  <title>Full Editor - Quill Rich Text Editor</title>
+  <meta charset="utf-8">
+<meta http-equiv="X-UA-Compatible" content="IE=edge">
+<meta name="language" content="english">
+<meta name="viewport" content="width=device-width">
+
+<meta name="description" content="Quill is a free, open source WYSIWYG editor built for the modern web. Completely customize it for any need with its modular architecture and expressive API.">
+
+<meta name="twitter:card" content="summary">
+<meta name="twitter:site" content="@quilljs">
+
+<meta name="twitter:title" content="Full Editor - Quill">
+
+<meta name="twitter:description" content="Quill is a free, open source rich text editor built for the modern web.">
+<meta name="twitter:image" content="https://quilljs.com/assets/images/brand-asset.png">
+<meta property="og:type" content="website">
+<meta property="og:url" content="https://quilljs.com/standalone/full/">
+<meta property="og:image" content="https://quilljs.com/assets/images/brand-asset.png">
+<meta property="og:title" content="Full Editor - Quill">
+<meta property="og:site_name" content="Quill">
+<link rel="canonical" href="https://quilljs.com/standalone/full/">
+<link type="application/atom+xml" rel="alternate" href="https://quilljs.com/feed.xml" title="Quill - Your powerful rich text editor" />
+  
+  
+<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.css" />
+
+<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/monokai-sublime.min.css" />
+
+<link rel="stylesheet" href="../quill.snow.css" />
+
+<style>
+  body > #standalone-container {
+    margin: 50px auto;
+    max-width: 720px;
+  }
+  #editor-container {
+    height: 350px;
+  }
+</style>
+
+
+</head>
+<body>
+  
+<div id="standalone-container">
+  <div id="toolbar-container">
+    <span class="ql-formats">
+      <select class="ql-font"></select>
+      <select class="ql-size"></select>
+    </span>
+    <span class="ql-formats">
+      <button class="ql-bold"></button>
+      <button class="ql-italic"></button>
+      <button class="ql-underline"></button>
+      <button class="ql-strike"></button>
+    </span>
+    <span class="ql-formats">
+      <select class="ql-color"></select>
+      <select class="ql-background"></select>
+    </span>
+    <span class="ql-formats">
+      <button class="ql-script" value="sub"></button>
+      <button class="ql-script" value="super"></button>
+    </span>
+    <span class="ql-formats">
+      <button class="ql-header" value="1"></button>
+      <button class="ql-header" value="2"></button>
+      <button class="ql-blockquote"></button>
+      <button class="ql-code-block"></button>
+    </span>
+    <span class="ql-formats">
+      <button class="ql-list" value="ordered"></button>
+      <button class="ql-list" value="bullet"></button>
+      <button class="ql-indent" value="-1"></button>
+      <button class="ql-indent" value="+1"></button>
+    </span>
+    <span class="ql-formats">
+      <button class="ql-direction" value="rtl"></button>
+      <select class="ql-align"></select>
+    </span>
+    <span class="ql-formats">
+      <button class="ql-link"></button>
+      <button class="ql-image"></button>
+      <button class="ql-video"></button>
+      <button class="ql-formula"></button>
+    </span>
+    <span class="ql-formats">
+      <button class="ql-clean"></button>
+    </span>
+  </div>
+  <div id="editor-container"></div>
+</div>
+
+  
+  
+<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.js"></script>
+
+<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
+
+<script src="../quill.min.js"></script>
+
+<script>
+  var quill = new Quill('#editor-container', {
+    modules: {
+      formula: true,
+      syntax: true,
+      toolbar: '#toolbar-container'
+    },
+    placeholder: 'Compose an epic...',
+    theme: 'snow'
+  });
+</script>
+
+
+</body>
+</html>
diff --git a/htdocs/cgi-bin/wsrc/quill/examples/snow.html b/htdocs/cgi-bin/wsrc/quill/examples/snow.html
new file mode 100644 (file)
index 0000000..85382b3
--- /dev/null
@@ -0,0 +1,70 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+  <title>Snow Theme - Quill Rich Text Editor</title>
+  <meta charset="utf-8">
+<meta http-equiv="X-UA-Compatible" content="IE=edge">
+<meta name="language" content="english">
+<meta name="viewport" content="width=device-width">
+
+<meta name="description" content="Quill is a free, open source WYSIWYG editor built for the modern web. Completely customize it for any need with its modular architecture and expressive API.">
+
+<meta name="twitter:card" content="summary">
+<meta name="twitter:site" content="@quilljs">
+
+<meta name="twitter:title" content="Snow Theme - Quill">
+
+<meta name="twitter:description" content="Quill is a free, open source rich text editor built for the modern web.">
+<meta name="twitter:image" content="https://quilljs.com/assets/images/brand-asset.png">
+<meta property="og:type" content="website">
+<meta property="og:url" content="https://quilljs.com/standalone/snow/">
+<meta property="og:image" content="https://quilljs.com/assets/images/brand-asset.png">
+<meta property="og:title" content="Snow Theme - Quill">
+<meta property="og:site_name" content="Quill">
+<link rel="canonical" href="https://quilljs.com/standalone/snow/">
+<link type="application/atom+xml" rel="alternate" href="https://quilljs.com/feed.xml" title="Quill - Your powerful rich text editor" />
+  
+  
+<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.css" />
+
+<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/monokai-sublime.min.css" />
+
+<link rel="stylesheet" href="../quill.snow.css" />
+
+<style>
+  .standalone-container {
+    margin: 50px auto;
+    max-width: 720px;
+  }
+  #snow-container {
+    height: 350px;
+  }
+</style>
+
+
+</head>
+<body>
+  
+<div class="standalone-container">
+  <div id="snow-container"></div>
+</div>
+
+  
+  
+<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.js"></script>
+
+<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
+
+<script src="../quill.min.js"></script>
+
+<script>
+  var quill = new Quill('#snow-container', {
+    placeholder: 'Compose an epic...',
+    theme: 'snow'
+  });
+</script>
+
+
+</body>
+</html>