summaryrefslogtreecommitdiffstats
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/Blue.klo91
-rw-r--r--layouts/Default.klo93
-rw-r--r--layouts/Default.template35
-rw-r--r--layouts/Makefile.am3
-rw-r--r--layouts/Two_Column.template34
5 files changed, 256 insertions, 0 deletions
diff --git a/layouts/Blue.klo b/layouts/Blue.klo
new file mode 100644
index 0000000..d2b89a6
--- /dev/null
+++ b/layouts/Blue.klo
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE krecipes-layout>
+<krecipes-layout version="0.4" >
+ <authors>
+ <background-color>#e1f3ff</background-color>
+ <text-color>#000000</text-color>
+ <font>Nimbus Sans l,12,-1,5,50,0,0,0,0,0</font>
+ <visible>true</visible>
+ <alignment>2049</alignment>
+ <border width="1" style="none" color="#000000" />
+ </authors>
+ <background>
+ <background-color>#e1f3ff</background-color>
+ </background>
+ <categories>
+ <background-color>#e1f3ff</background-color>
+ <text-color>#000000</text-color>
+ <font>Nimbus Sans l,12,-1,5,50,0,0,0,0,0</font>
+ <visible>true</visible>
+ <alignment>2049</alignment>
+ <border width="1" style="none" color="#000000" />
+ </categories>
+ <header>
+ <background-color>#eeda9c</background-color>
+ <text-color>#000000</text-color>
+ <font>Nimbus Sans l,12,-1,5,50,0,0,0,0,0</font>
+ <visible>true</visible>
+ <alignment>2050</alignment>
+ <border width="1" style="none" color="#000000" />
+ </header>
+ <ingredients>
+ <background-color>#174667</background-color>
+ <text-color>#c3c3c3</text-color>
+ <font>Nimbus Sans l,12,-1,5,50,0,0,0,0,0</font>
+ <visible>true</visible>
+ <alignment>2049</alignment>
+ <border width="2" style="ridge" color="#203fc7" />
+ </ingredients>
+ <instructions>
+ <background-color>#e1f3ff</background-color>
+ <text-color>#000000</text-color>
+ <font>Nimbus Sans l,12,-1,5,50,0,0,0,0,0</font>
+ <visible>true</visible>
+ <alignment>2049</alignment>
+ <border width="1" style="none" color="#000000" />
+ </instructions>
+ <photo>
+ <visible>true</visible>
+ <border width="2" style="ridge" color="#279ac7" />
+ </photo>
+ <prep_time>
+ <background-color>#e1f3ff</background-color>
+ <text-color>#000000</text-color>
+ <font>Nimbus Sans L,12,-1,5,50,0,0,0,0,0</font>
+ <visible>true</visible>
+ <alignment>2624</alignment>
+ <border width="1" style="none" color="#000000" />
+ </prep_time>
+ <properties>
+ <background-color>#d9e6ee</background-color>
+ <text-color>#000000</text-color>
+ <font>Nimbus Sans L,12,-1,5,50,1,0,0,0,0</font>
+ <visible>true</visible>
+ <alignment>2049</alignment>
+ <border width="1" style="none" color="#000000" />
+ </properties>
+ <ratings>
+ <background-color>#e1f3ff</background-color>
+ <text-color>#000000</text-color>
+ <font>Nimbus Sans l,12,-1,5,50,0,0,0,0,0</font>
+ <visible>true</visible>
+ <alignment>2049</alignment>
+ <border width="1" style="none" color="#000000" />
+ </ratings>
+ <title>
+ <background-color>#e1f3ff</background-color>
+ <text-color>#174667</text-color>
+ <font>Times,26,-1,5,75,0,0,0,0,0</font>
+ <visible>true</visible>
+ <alignment>2052</alignment>
+ <border width="1" style="none" color="#000000" />
+ </title>
+ <yield>
+ <background-color>#e1f3ff</background-color>
+ <text-color>#000000</text-color>
+ <font>Nimbus Sans l,12,-1,5,50,0,0,0,0,0</font>
+ <visible>true</visible>
+ <alignment>2049</alignment>
+ <border width="1" style="none" color="#000000" />
+ </yield>
+</krecipes-layout>
diff --git a/layouts/Default.klo b/layouts/Default.klo
new file mode 100644
index 0000000..d672182
--- /dev/null
+++ b/layouts/Default.klo
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE krecipes-layout>
+<krecipes-layout version="0.4" >
+ <authors>
+ <background-color>#ffffff</background-color>
+ <text-color>#000000</text-color>
+ <font>Nimbus Sans l,12,-1,5,50,0,0,0,0,0</font>
+ <visible>true</visible>
+ <alignment>2049</alignment>
+ <border width="1" style="none" color="#000000" />
+ </authors>
+ <background>
+ <background-color>#ffffff</background-color>
+ </background>
+ <categories>
+ <background-color>#ffffff</background-color>
+ <text-color>#000000</text-color>
+ <font>Nimbus Sans l,12,-1,5,50,0,0,0,0,0</font>
+ <visible>true</visible>
+ <alignment>2049</alignment>
+ <border width="1" style="none" color="#000000" />
+ </categories>
+ <header>
+ <background-color>#eeda9c</background-color>
+ <text-color>#000000</text-color>
+ <font>Nimbus Sans l,12,-1,5,50,0,0,0,0,0</font>
+ <visible>true</visible>
+ <alignment>2050</alignment>
+ <border width="1" style="none" color="#000000" />
+ </header>
+ <ingredients>
+ <background-color>#776d4e</background-color>
+ <text-color>#000000</text-color>
+ <font>Nimbus Sans l,12,-1,5,50,0,0,0,0,0</font>
+ <visible>true</visible>
+ <alignment>2049</alignment>
+ <border width="1" style="none" color="#000000" />
+ <columns>1</columns>
+ </ingredients>
+ <instructions>
+ <background-color>#ffffff</background-color>
+ <text-color>#000000</text-color>
+ <font>Nimbus Sans l,12,-1,5,50,0,0,0,0,0</font>
+ <visible>true</visible>
+ <alignment>2049</alignment>
+ <border width="1" style="none" color="#000000" />
+ </instructions>
+ <photo>
+ <visible>true</visible>
+ <border width="1" style="none" color="#000000" />
+ </photo>
+ <prep_time>
+ <background-color>#ffffff</background-color>
+ <text-color>#000000</text-color>
+ <font>Nimbus Sans L,12,-1,5,50,0,0,0,0,0</font>
+ <visible>true</visible>
+ <alignment>2624</alignment>
+ <border width="1" style="none" color="#000000" />
+ </prep_time>
+ <properties>
+ <background-color>#eeda9c</background-color>
+ <text-color>#000000</text-color>
+ <font>Nimbus Sans L,12,-1,5,50,1,0,0,0,0</font>
+ <visible>true</visible>
+ <alignment>2049</alignment>
+ <border width="1" style="none" color="#000000" />
+ <columns>3</columns>
+ </properties>
+ <ratings>
+ <background-color>#ffffff</background-color>
+ <text-color>#000000</text-color>
+ <font>Nimbus Sans l,12,-1,5,50,0,0,0,0,0</font>
+ <visible>true</visible>
+ <alignment>2049</alignment>
+ <border width="1" style="none" color="#000000" />
+ </ratings>
+ <title>
+ <background-color>#ffffff</background-color>
+ <text-color>#000000</text-color>
+ <font>New Century Schoolbook,32,-1,5,75,0,0,0,0,0</font>
+ <visible>true</visible>
+ <alignment>2052</alignment>
+ <border width="1" style="none" color="#000000" />
+ </title>
+ <yield>
+ <background-color>#ffffff</background-color>
+ <text-color>#000000</text-color>
+ <font>Nimbus Sans l,12,-1,5,50,0,0,0,0,0</font>
+ <visible>true</visible>
+ <alignment>2049</alignment>
+ <border width="1" style="none" color="#000000" />
+ </yield>
+</krecipes-layout>
diff --git a/layouts/Default.template b/layouts/Default.template
new file mode 100644
index 0000000..f3db8c3
--- /dev/null
+++ b/layouts/Default.template
@@ -0,0 +1,35 @@
+<table width="100%">
+ <tr><td class="title" colspan="3" width="100%">**TITLE**</td></tr>
+ <tr><td colspan="3">&nbsp;</td></tr>
+ <tr>
+ <td width="20%">
+ <img src="**PHOTO**" class="photo" />
+ </td>
+
+ <td width="3%">&nbsp;</td>
+
+ <td>
+ <p class="overall_rating">**OVERALL_RATING**</p>
+ <p class="categories">**CATEGORIES**</p>
+ <p class="authors">**AUTHORS**</p>
+ <p class="yield">**YIELD**</p>
+ <p class="prep_time">**PREP_TIME**</p>
+ </td>
+ </tr>
+ <tr><td colspan="3">&nbsp;</td></tr>
+
+ <tr><td class="ratings" colspan="3">**RATINGS**</td></tr>
+
+ <tr><td colspan="3">&nbsp;</td></tr>
+
+ <tr><td valign="top" class="ingredients" colspan="3">**INGREDIENTS**</td></tr>
+
+ <tr><td colspan="3">&nbsp;</td></tr>
+
+ <tr><td valign="top" class="instructions" colspan="3">**INSTRUCTIONS**</td></tr>
+
+ <tr><td colspan="3">&nbsp;</td></tr>
+
+ <tr><td valign="top" class="properties" colspan="3">**PROPERTIES**</td></tr>
+</table>
+<hr size="3" />
diff --git a/layouts/Makefile.am b/layouts/Makefile.am
new file mode 100644
index 0000000..b6ee3e7
--- /dev/null
+++ b/layouts/Makefile.am
@@ -0,0 +1,3 @@
+basedir = $(kde_datadir)/krecipes/layouts
+base_DATA = Default.klo Blue.klo \
+ Default.template Two_Column.template
diff --git a/layouts/Two_Column.template b/layouts/Two_Column.template
new file mode 100644
index 0000000..55ab657
--- /dev/null
+++ b/layouts/Two_Column.template
@@ -0,0 +1,34 @@
+<table width="100%">
+ <tr><td class="title" colspan="3" width="100%">**TITLE**</td></tr>
+ <tr><td colspan="3">&nbsp;</td></tr>
+ <tr>
+ <td width="20%">
+ <img src="**PHOTO**" class="photo" />
+ </td>
+
+ <td width="3%">&nbsp;</td>
+
+ <td>
+ <p class="overall_ratings">**OVERALL_RATING**</p>
+ <p class="categories">**CATEGORIES**</p>
+ <p class="authors">**AUTHORS**</p>
+ <p class="yield">**YIELD**</p>
+ <p class="prep_time">**PREP_TIME**</p>
+ </td>
+ </tr>
+ <tr><td colspan="3">&nbsp;</td></tr>
+
+ <tr>
+ <td valign="top">
+ <div class="ingredients">**INGREDIENTS**</div>
+ <div class="properties">**PROPERTIES**</div>
+ </td>
+ <td width="3%">&nbsp;</td>
+ <td valign="top">
+ <div class="instructions">**INSTRUCTIONS**</div>
+ <br />
+ <div class="ratings">**RATINGS**</div>
+ </td>
+ </tr>
+</table>
+<hr size="3" />