Remove unneeded sexml code

This commit is contained in:
Tom Willemse 2013-07-28 22:27:58 +02:00
parent 5b51cf7133
commit 0b13436d1a
3 changed files with 2 additions and 29 deletions

View file

@ -64,11 +64,3 @@
(defparameter *static-directory* (defparameter *static-directory*
(merge-pathnames #P"static/" scrumli-config:*base-directory*)) (merge-pathnames #P"static/" scrumli-config:*base-directory*))
(eval-when (:compile-toplevel :load-toplevel :execute)
(sexml:with-compiletime-active-layers
(sexml:standard-sexml sexml:xml-doctype)
(sexml:support-dtd
(merge-pathnames "html5.dtd" (asdf:system-source-directory "sexml"))
:<)))
(<:augment-with-doctype "html" "" :auto-emit-p t)

View file

@ -23,8 +23,8 @@
:description "Scrum with Lisp" :description "Scrum with Lisp"
:author "Tom Willemse" :author "Tom Willemse"
:license "AGPLv3" :license "AGPLv3"
:depends-on (:restas :sexml :postmodern :cl-json :drakma :depends-on (:restas :postmodern :cl-json :drakma :closure-template
:closure-template :md5) :md5)
:defsystem-depends-on (:closure-template) :defsystem-depends-on (:closure-template)
:components ((:closure-template "templates/scrumli") :components ((:closure-template "templates/scrumli")
(:file "defmodule") (:file "defmodule")

View file

@ -49,25 +49,6 @@
(defun page-title (title) (defun page-title (title)
(concatenate 'string title " | scrumli")) (concatenate 'string title " | scrumli"))
(defun css (&rest sheets)
(apply 'concatenate 'string
(mapcar (lambda (s)
(<:link :href s :rel "stylesheet" :type "text/css"))
sheets)))
(defun js (&rest scripts)
(apply 'concatenate 'string
(mapcar (lambda (s)
(<:script :type "text/javascript" :src s))
scripts)))
(defmacro navbar (&body body)
`(<:div :class "navbar navbar-static-top navbar-inverse"
(<:div :class "navbar-inner"
(<:div :class "container"
(<:a :class "brand" "scrumli")
,@body))))
(defun md5-hash (str) (defun md5-hash (str)
(string-downcase (format nil "~{~2,'0x~}" (string-downcase (format nil "~{~2,'0x~}"
(coerce (md5:md5sum-string str) 'list)))) (coerce (md5:md5sum-string str) 'list))))