File: front-notebook.lisp

package info (click to toggle)
pgcharts 1.0%2B2017-09-16-1
  • links: PTS, VCS
  • area: non-free
  • in suites: bullseye, buster, sid
  • size: 25,228 kB
  • sloc: lisp: 1,779; java: 1,601; xml: 330; jsp: 162; makefile: 123; php: 70; sql: 64; sh: 39
file content (14 lines) | stat: -rw-r--r-- 480 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
(in-package #:pgcharts)

;;;
;;; Frontend for editing a notebook, thanks to Hallo
;;;
(defun front-new-notebook ()
  "Return the basic HTML for a new notebook"
  (serve-page
   (with-html-output-to-string (s)
     (htm
      (:div :class "col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main"
            (:div :class "editable" :contenteditable "true"
                  (:h1 "Your new SQL Notebook title")
                  (:p "Edit your text here, whatever you want")))))))