frame around card elements, load css properly
authorpaul <paul@plutz.net>
Fri, 27 Sep 2013 16:39:46 +0000 (16:39 +0000)
committerpaul <paul@plutz.net>
Fri, 27 Sep 2013 16:39:46 +0000 (16:39 +0000)
svn path=/trunk/; revision=8

templates/attendees.css.sh
templates/attendees.html.sh
templates/frame.html.sh

index e69de29..a5d9035 100644 (file)
@@ -0,0 +1,17 @@
+cat <<EOF
+
+#filter {}
+#newcard {}
+
+#cardlist {}
+
+.cardlist .card {
+  margin: 2px;
+  border-width: 1px;
+  border-style: solid;
+  padding: .5em 1em;
+}
+
+EOF
+
+# vi:set filetype=css:
index 87d46fb..92b169c 100644 (file)
@@ -33,7 +33,7 @@ cat <<EOF
     vcf_parse "$card" |sed -r '
       s:^key=(.+)$:  <span class="label">\1</span>:g
       s:^value=(.*)$:<span class="value">\1</span>:g
-      s:^tag=(.*)$:  <span class="tag"  >\1</span>:g
+      s:^tag=(.*)$:  <span class="tag"  >\1</span><br />:g
     '
     echo '</div>'
   done)
index 4ad59c3..c155611 100755 (executable)
@@ -8,7 +8,7 @@ cat <<EOF
     <!--
 
 
-    $($PAGE css)
+    $($PAGE css)
     -->
     </style>
   </head>