Mercurial > laserkard
view buy_temp.clj @ 75:874a6a2c28cf laserkard
session with nick. redisigned faq page
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Tue, 29 Jun 2010 15:36:30 -0400 |
parents | 24d5d4221b42 |
children | 781127893010 |
line wrap: on
line source
1 (ns laserkard.buy-temp3 (:use (compojure.http request servlet session routes)4 (compojure.server jetty)5 (compojure control)6 (clojure.contrib prxml str-utils duck-streams)7 (laserkard common)8 ))11 (defn buy-gen []14 (str15 (header)16 (re-gsub17 #">" ">\n"18 (pxml19 [:html {:xmlns "http://www.w3.org/1999/xhtml"}21 [:head22 [:meta {:http-equiv "Content-Type" :content "text/html" :charset "UTF-8"}]23 [:link {:rel "stylesheet" :href "main.css" :type "text/css" :media "screen"}]24 [:link {:rel "stylesheet" :href "old_sexy.css" :type "text/css" :media "screen"}]25 [:link {:rel "stylesheet" :href "faq.css" :type "text/css" :media "screen"}]26 ]27 [:body28 [:raw! (slurp "/home/r/Desktop/web/laserkard/top_menu.include")]29 [:div {:class "whole"}30 [:div {:id "pokedex"}31 [:p "We are currently sold out of LaserKards due to high demand."]32 [:p "We will be back up soon so please check back later!"]33 ]]]]34 ))))