summaryrefslogtreecommitdiff
path: root/samplefiles
diff options
context:
space:
mode:
authorLudovic Pouzenc <lpouzenc@gmail.com>2013-10-29 18:42:08 +0100
committerLudovic Pouzenc <lpouzenc@gmail.com>2013-10-29 18:42:08 +0100
commitc98515883097467896a3f46b755c8cb892fe8961 (patch)
treebe2e4f5450e9bc9cf692e8dfac7c9780eaa7019b /samplefiles
downloadeditablesite-c98515883097467896a3f46b755c8cb892fe8961.tar.gz
editablesite-c98515883097467896a3f46b755c8cb892fe8961.tar.bz2
editablesite-c98515883097467896a3f46b755c8cb892fe8961.zip
Import initial avec une arbrescence éclatée
Diffstat (limited to 'samplefiles')
-rw-r--r--samplefiles/content/en/start/div-content.html27
-rw-r--r--samplefiles/content/en/start/div-teaser.html3
-rw-r--r--samplefiles/content/en/start/props.ini5
-rw-r--r--samplefiles/content/fr/accueil/div-content.html27
-rw-r--r--samplefiles/content/fr/accueil/div-teaser.html3
-rw-r--r--samplefiles/content/fr/accueil/props.ini5
-rw-r--r--samplefiles/content/site_conf.ini3
-rw-r--r--samplefiles/templates/aloha/images/background.pngbin0 -> 251 bytes
-rw-r--r--samplefiles/templates/aloha/images/external-link-ltr-icon.pngbin0 -> 279 bytes
-rw-r--r--samplefiles/templates/aloha/layout-article.php15
-rw-r--r--samplefiles/templates/aloha/screen.css79
-rw-r--r--samplefiles/templates/default/layout-article.php12
-rw-r--r--samplefiles/templates/default/screen.css0
13 files changed, 179 insertions, 0 deletions
diff --git a/samplefiles/content/en/start/div-content.html b/samplefiles/content/en/start/div-content.html
new file mode 100644
index 0000000..2aea644
--- /dev/null
+++ b/samplefiles/content/en/start/div-content.html
@@ -0,0 +1,27 @@
+<h2>Etymology</h2>
+<p>The word <a href="http://en.wikipedia.org/wiki/Aloha-invalid" target="_blank">aloha</a> derives from the Proto-Polynesian root <i>*qalofa</i>. It has cognates in other Polynesian languages, such as Samoan alofa
+and Māori aroha, also meaning "love."</p>
+<table>
+<caption>with a caption.</caption>
+<tr><td>This</td><td>is</td></tr>
+<tr><td>a</td><td>table.</td></tr>
+</table>
+<p>A folk etymology claims that it derives from a compound of the <a href="http://en.wikipedia.org/wiki/Hawaii" target="_blank">Hawaiian</a> words alo meaning "presence", "front", "face", or "share"; and
+ha, meaning "breath of life" or "essence of life." Although alo does indeed mean "presence" etc., the word for breath is spelled with a macron
+or kahakō over the a (hā) whereas the word aloha does not have a long a.</p>
+<h2>Usage</h2>
+<p>Before contact with the West, the words used for greeting were welina and anoai. Today, "aloha kakahiaka" is the phrase for "good
+morning." "Aloha ʻauinalā" means "good afternoon" and "aloha ahiahi" means "good evening." "Aloha kākou" is a common form of "welcome to all."</p>
+<p>In modern Hawaiʻi, numerous businesses have aloha in their names, with more than 3 pages of listings in the Oʻahu phone book alone.</p>
+<h2>Trends</h2>
+<p>Recent trends are popularizing the term elsewhere in the United States. Popular entertainer, Broadway star and Hollywood actress Bette
+Midler, born in Honolulu, uses the greeting frequently in national appearances. The word was also used frequently in the hit television drama
+Hawaii Five-O. In the influential 1982 film comedy Fast Times at Ridgemont High, the eccentric teacher Mr. Hand makes use of the greeting. The
+Aloha Spirit is a major concept in Lilo and Stitch, a very popular Disney series of movies and TV shows, set in Hawaiʻi. The drama series Lost,
+shot in Hawaiʻi, has a thank you note at the end of the credits saying "We thank the people of Hawaiʻi and their Aloha Spirit". Aloha is a term
+also used in the Nickelodeon program Rocket Power.</p>
+<ul>
+ <li>Arguably the most famous historical Hawaiian song, "Aloha ʻOe" was written by the last queen of Hawaii, Liliʻuokalani.</li>
+ <li>The term inspired the name of the ALOHA Protocol introduced in the 1970s by the University of Hawaii.</li>
+ <li>In Hawaii someone can be said to have or show aloha in the way they treat others; whether family, friend, neighbor or stranger.</li>
+</ul>
diff --git a/samplefiles/content/en/start/div-teaser.html b/samplefiles/content/en/start/div-teaser.html
new file mode 100644
index 0000000..414f783
--- /dev/null
+++ b/samplefiles/content/en/start/div-teaser.html
@@ -0,0 +1,3 @@
+<p><b>Aloha</b> in the Hawaiian language means affection, love, peace, compassion and mercy. Since the middle of the 19th century, it also
+has come to be used as an English greeting to say <i>goodbye</i> and <i>hello</i>. Currently, it is mostly used in the sense of hello; however,
+it is used as the above.</p>
diff --git a/samplefiles/content/en/start/props.ini b/samplefiles/content/en/start/props.ini
new file mode 100644
index 0000000..63546c0
--- /dev/null
+++ b/samplefiles/content/en/start/props.ini
@@ -0,0 +1,5 @@
+page_template = default
+page_layout = article
+page_title = "Aloha, World!"
+page_description = "Hello world for the mini site creator tool"
+page_keywords = "Hello, world"
diff --git a/samplefiles/content/fr/accueil/div-content.html b/samplefiles/content/fr/accueil/div-content.html
new file mode 100644
index 0000000..2aea644
--- /dev/null
+++ b/samplefiles/content/fr/accueil/div-content.html
@@ -0,0 +1,27 @@
+<h2>Etymology</h2>
+<p>The word <a href="http://en.wikipedia.org/wiki/Aloha-invalid" target="_blank">aloha</a> derives from the Proto-Polynesian root <i>*qalofa</i>. It has cognates in other Polynesian languages, such as Samoan alofa
+and Māori aroha, also meaning "love."</p>
+<table>
+<caption>with a caption.</caption>
+<tr><td>This</td><td>is</td></tr>
+<tr><td>a</td><td>table.</td></tr>
+</table>
+<p>A folk etymology claims that it derives from a compound of the <a href="http://en.wikipedia.org/wiki/Hawaii" target="_blank">Hawaiian</a> words alo meaning "presence", "front", "face", or "share"; and
+ha, meaning "breath of life" or "essence of life." Although alo does indeed mean "presence" etc., the word for breath is spelled with a macron
+or kahakō over the a (hā) whereas the word aloha does not have a long a.</p>
+<h2>Usage</h2>
+<p>Before contact with the West, the words used for greeting were welina and anoai. Today, "aloha kakahiaka" is the phrase for "good
+morning." "Aloha ʻauinalā" means "good afternoon" and "aloha ahiahi" means "good evening." "Aloha kākou" is a common form of "welcome to all."</p>
+<p>In modern Hawaiʻi, numerous businesses have aloha in their names, with more than 3 pages of listings in the Oʻahu phone book alone.</p>
+<h2>Trends</h2>
+<p>Recent trends are popularizing the term elsewhere in the United States. Popular entertainer, Broadway star and Hollywood actress Bette
+Midler, born in Honolulu, uses the greeting frequently in national appearances. The word was also used frequently in the hit television drama
+Hawaii Five-O. In the influential 1982 film comedy Fast Times at Ridgemont High, the eccentric teacher Mr. Hand makes use of the greeting. The
+Aloha Spirit is a major concept in Lilo and Stitch, a very popular Disney series of movies and TV shows, set in Hawaiʻi. The drama series Lost,
+shot in Hawaiʻi, has a thank you note at the end of the credits saying "We thank the people of Hawaiʻi and their Aloha Spirit". Aloha is a term
+also used in the Nickelodeon program Rocket Power.</p>
+<ul>
+ <li>Arguably the most famous historical Hawaiian song, "Aloha ʻOe" was written by the last queen of Hawaii, Liliʻuokalani.</li>
+ <li>The term inspired the name of the ALOHA Protocol introduced in the 1970s by the University of Hawaii.</li>
+ <li>In Hawaii someone can be said to have or show aloha in the way they treat others; whether family, friend, neighbor or stranger.</li>
+</ul>
diff --git a/samplefiles/content/fr/accueil/div-teaser.html b/samplefiles/content/fr/accueil/div-teaser.html
new file mode 100644
index 0000000..414f783
--- /dev/null
+++ b/samplefiles/content/fr/accueil/div-teaser.html
@@ -0,0 +1,3 @@
+<p><b>Aloha</b> in the Hawaiian language means affection, love, peace, compassion and mercy. Since the middle of the 19th century, it also
+has come to be used as an English greeting to say <i>goodbye</i> and <i>hello</i>. Currently, it is mostly used in the sense of hello; however,
+it is used as the above.</p>
diff --git a/samplefiles/content/fr/accueil/props.ini b/samplefiles/content/fr/accueil/props.ini
new file mode 100644
index 0000000..c833c34
--- /dev/null
+++ b/samplefiles/content/fr/accueil/props.ini
@@ -0,0 +1,5 @@
+page_template = default
+page_layout = article
+page_title = "Démonstration Aloha"
+page_description = "Cette page reprends la démonstration de l'éditeur Aloha"
+page_keywords = "Hello, world, démo"
diff --git a/samplefiles/content/site_conf.ini b/samplefiles/content/site_conf.ini
new file mode 100644
index 0000000..69ad74a
--- /dev/null
+++ b/samplefiles/content/site_conf.ini
@@ -0,0 +1,3 @@
+site_admin_lang = "fr_FR"
+;site_admin_lang = "en_US"
+site_default_page = "fr/accueil"
diff --git a/samplefiles/templates/aloha/images/background.png b/samplefiles/templates/aloha/images/background.png
new file mode 100644
index 0000000..64ece57
--- /dev/null
+++ b/samplefiles/templates/aloha/images/background.png
Binary files differ
diff --git a/samplefiles/templates/aloha/images/external-link-ltr-icon.png b/samplefiles/templates/aloha/images/external-link-ltr-icon.png
new file mode 100644
index 0000000..4b710b0
--- /dev/null
+++ b/samplefiles/templates/aloha/images/external-link-ltr-icon.png
Binary files differ
diff --git a/samplefiles/templates/aloha/layout-article.php b/samplefiles/templates/aloha/layout-article.php
new file mode 100644
index 0000000..86a65a7
--- /dev/null
+++ b/samplefiles/templates/aloha/layout-article.php
@@ -0,0 +1,15 @@
+<div id="main">
+<!--<div id="tree-div"></div>-->
+<h1 id="title"><?=$page_props['page_title']?></h1>
+<div id="bodyContent">
+
+<div id="teaser" class="shorttext">
+<?php include("$page_path/div-teaser.html"); ?>
+</div>
+
+<div id="content" class="article">
+<?php include("$page_path/div-content.html"); ?>
+</div>
+
+</div>
+</div>
diff --git a/samplefiles/templates/aloha/screen.css b/samplefiles/templates/aloha/screen.css
new file mode 100644
index 0000000..cec5b0a
--- /dev/null
+++ b/samplefiles/templates/aloha/screen.css
@@ -0,0 +1,79 @@
+body {
+ font-family: sans-serif;
+}
+
+body {
+ background-image: url("images/background.png");
+}
+
+#bodyContent {
+ font-size:0.8em;
+}
+
+h1, h2, h3, h4, h5, h6 {
+ font-family: sans-serif;
+ color: #1c94c4;
+ border-bottom:1px solid #AAAAAA;
+ padding-bottom:0.17em;
+ padding-top:0.5em;
+}
+
+h1 { font-size: 188%; }
+h2 { font-size: 150%; }
+h3 { font-size: 132%; }
+h4 { font-size: 116%; }
+h5 { font-size: 100%; }
+h6 { font-size: 80%; }
+
+#main {
+ width: 50%;
+ position: absolute;
+ top: 10%;
+ left: 25%;
+ padding: 30px;
+ background-color: white;
+ border-radius: 10px;
+ color: #444444;
+ -moz-border-radius: 10px;
+ box-shadow: 5px 5px rgba(0,0,0,0.3);
+ -webkit-box-shadow: 5px 5px rgba(0,0,0,0.3);
+ -moz-box-shadow: 5px 5px rgba(0,0,0,0.3);
+}
+
+a.aloha {
+ background: url(images/external-link-ltr-icon.png) no-repeat 100% 50%;
+ padding: 0px 13px 0px 0px;
+}
+
+/* Abbreviation styling */
+abbr, acronym
+{
+ border-bottom: .1em dotted;
+ cursor: help;
+}
+
+/* A basic table styling */
+table
+{
+ padding: 0;
+ margin: 0;
+ border-collapse: collapse;
+ border: 1px solid #333;
+ color: #000;
+}
+
+table caption
+{
+ caption-side: bottom;
+ font-size: 0.8em;
+ font-style: italic;
+ text-align: right;
+ padding: 0.5em 0;
+}
+
+table th, table td
+{
+ border: 1px solid #666;
+ padding: 0.5em;
+ text-align: left;
+} \ No newline at end of file
diff --git a/samplefiles/templates/default/layout-article.php b/samplefiles/templates/default/layout-article.php
new file mode 100644
index 0000000..36e6e6c
--- /dev/null
+++ b/samplefiles/templates/default/layout-article.php
@@ -0,0 +1,12 @@
+<div id="main">
+ <h1 id="title"><?=$page_props['page_title']?></h1>
+ <div id="body">
+ <div id="teaser" class="shorttext">
+<?php include("$page_path/div-teaser.html"); ?>
+ </div>
+
+ <div id="content" class="article">
+<?php include("$page_path/div-content.html"); ?>
+ </div>
+ </div>
+</div>
diff --git a/samplefiles/templates/default/screen.css b/samplefiles/templates/default/screen.css
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/samplefiles/templates/default/screen.css