Permalink
Browse files

initial commit

  • Loading branch information...
ssire committed Jan 23, 2011
0 parents commit 396a46f9ca9b1602bbebe27636d2c1b07c167e5c
Showing with 45,341 additions and 0 deletions.
  1. +4 −0 .gitignore
  2. +331 −0 axel/axel.css
  3. +26 −0 axel/axel.js
  4. BIN axel/bundles/lens/white.png
  5. BIN axel/bundles/link/goto.png
  6. +54 −0 axel/bundles/menubar/input.html
  7. BIN axel/bundles/photo/icons/photo.png
  8. BIN axel/bundles/photo/icons/photobroken.png
  9. BIN axel/bundles/photo/icons/spiningwheel.gif
  10. +36 −0 axel/bundles/photo/photo.css
  11. +19 −0 axel/bundles/photo/photo.xhtml
  12. BIN axel/bundles/repeat/checked.png
  13. BIN axel/bundles/repeat/minus.png
  14. BIN axel/bundles/repeat/plus.png
  15. BIN axel/bundles/repeat/unchecked.png
  16. BIN axel/bundles/service_suggest/light_off.png
  17. BIN axel/bundles/service_suggest/light_on.png
  18. BIN axel/bundles/video/tv.png
  19. +89 −0 config/templates.distrib.js
  20. +99 −0 config/templates.js
  21. +331 −0 contribs/article/Article2docbook.xsl
  22. +378 −0 contribs/article/Article2latex.xsl
  23. +285 −0 contribs/cvmachine/CVMachine.css
  24. +762 −0 contribs/cvmachine/CVMachine.xhtml
  25. +104 −0 contribs/cvmachine/nofileapi.html
  26. +42 −0 contribs/cvmachine/readme.html
  27. BIN contribs/migration/img/arrow-maximize.png
  28. BIN contribs/migration/img/arrow-minimize.png
  29. +137 −0 contribs/migration/migration_tool.css
  30. +330 −0 contribs/migration/migration_tool.js
  31. +117 −0 contribs/migration/migration_tool.xhtml
  32. +39 −0 contribs/migration/minmax.js
  33. +218 −0 contribs/schematize/schematize.js
  34. +167 −0 contribs/schematize/schematize.xhtml
  35. +289 −0 contribs/src/schemas/schemalogger.js
  36. +205 −0 contribs/src/schemas/schemaserializer.js
  37. +337 −0 contribs/tiddly/readme.xml
  38. +268 −0 contribs/tiddly/tiddly.xsl
  39. +667 −0 contribs/xmlschemas/XTiger2Schema.xsl
  40. +66 −0 contribs/xmlschemas/XTigerCleanup.xsl
  41. +1,106 −0 data/article/final.xml
  42. BIN data/article/images/architecture.png
  43. BIN data/article/images/carte.png
  44. BIN data/article/images/cartenocarte.png
  45. BIN data/article/images/cartesans.png
  46. BIN data/article/images/davmenubar.png
  47. BIN data/article/images/editing.png
  48. BIN data/article/images/greetingswithbar.png
  49. BIN data/article/images/perfs.png
  50. BIN data/article/images/publis.png
  51. BIN data/article/images/selectcurrency.png
  52. BIN data/article/images/timetable.png
  53. BIN data/article/images/wiki.png
  54. +83 −0 data/carteResto1.xml
  55. +54 −0 data/carteResto2.xml
  56. +46 −0 data/cvHaddock.xml
  57. +87 −0 data/ficheCafeFlow.xml
  58. +59 −0 data/ficheProjetW.xml
  59. +49 −0 data/hCVHaddock.xml
  60. +30 −0 data/pageWeb.xhtml
  61. +139 −0 data/publications.xml
  62. +46 −0 data/thailand.xml
  63. +12 −0 data/youtube.xml
  64. +161 −0 demos/index.html
  65. +21 −0 demos/installation.txt
  66. +87 −0 demos/launch.js
  67. +78 −0 demos/launch.xhtml
  68. +11 −0 demos/redirect.html
  69. +5 −0 design/photo/credits.txt
  70. +60 −0 design/photo/preview.html
  71. BIN design/photo/sample.jpg
  72. +20 −0 design/photo/vertical-align.html
  73. +9 −0 design/repeat/credits.txt
  74. +41 −0 design/repeat/preview.html
  75. +36 −0 distrib/AUTHORS
  76. +90 −0 distrib/CHANGELOG.distrib.html
  77. +96 −0 distrib/CHANGELOG.html
  78. +146 −0 distrib/COPYING
  79. +93 −0 distrib/ISSUES.html
  80. +118 −0 distrib/ROADMAP.html
  81. +1 −0 distrib/copyright-header-js.txt
  82. +15 −0 distrib/library-header-js.txt
  83. +12 −0 distrib/license-header-js.txt
  84. +1 −0 distrib/release-nb.txt
  85. +90 −0 docs/AXEL-beta-userman.html
  86. +121 −0 docs/Spec.css
  87. +1,351 −0 docs/XTiger-XML-spec.html
  88. +34 −0 docs/docu.css
  89. +181 −0 docs/howto-filters.html
  90. +125 −0 docs/howto-link-plugin.html
  91. +454 −0 docs/howto-photo-plugin.html
  92. +355 −0 docs/howto-plugins.html
  93. +132 −0 docs/howto-richtext-plugin.html
  94. +202 −0 docs/howto-services.html
  95. +117 −0 docs/howto-video-plugin.html
  96. +413 −0 docs/integrators-guide.html
  97. +77 −0 docs/toc.html
  98. +193 −0 editor/editor.xhtml
  99. +172 −0 editor/editornoframe.xhtml
  100. +69 −0 editor/extras/editor.css
  101. +666 −0 editor/extras/editor.js
  102. +54 −0 editor/extras/input.html
  103. +60 −0 editor/extras/intro.xhtml
  104. +24 −0 examples/flow/mainFlow.xml
  105. +128 −0 examples/flow/open.xhtml
  106. +33 −0 examples/flow/separateFlow.xml
  107. +8 −0 examples/tutorial/sample.xml
  108. +40 −0 examples/tutorial/src/common.js
  109. +35 −0 examples/tutorial/src/part1.js
  110. +33 −0 examples/tutorial/src/part2.js
  111. +34 −0 examples/tutorial/src/tutorial.js
  112. +111 −0 examples/tutorial/tutorial.css
  113. +217 −0 examples/tutorial/tutorial.xhtml
  114. +163 −0 examples/tutorial/tutorial2.html
  115. +163 −0 examples/tutorial/tutorial3.html
  116. +108 −0 readme.html
  117. +51 −0 scripts/ant.distrib.properties
  118. +60 −0 scripts/ant.properties
  119. +194 −0 scripts/build.distrib.xml
  120. +506 −0 scripts/build.xml
  121. +261 −0 scripts/server/server.rb
  122. +630 −0 src/core/defaultbrowser.js
  123. +450 −0 src/core/dom.js
  124. +346 −0 src/core/domdatasource.js
  125. +280 −0 src/core/domlogger.js
  126. +121 −0 src/core/filterable.js
  127. +322 −0 src/core/forms.js
  128. +182 −0 src/core/iebrowser.js
  129. +158 −0 src/core/loader.js
  130. +363 −0 src/core/parser.js
  131. +531 −0 src/devices/autocomplete.js
  132. +619 −0 src/devices/lens.js
  133. +562 −0 src/devices/popup.js
  134. +529 −0 src/devices/text.js
  135. +204 −0 src/devices/upload.js
  136. +176 −0 src/editor/classical/choice.js
  137. +356 −0 src/editor/classical/generator.js
  138. +251 −0 src/editor/classical/htmlloader.js
  139. +184 −0 src/editor/classical/htmlserializer.js
  140. +126 −0 src/editor/classical/keyboard.js
  141. +790 −0 src/editor/classical/repeat.js
  142. +326 −0 src/editor/classical/string.js
  143. +109 −0 src/editor/classical/tabgroupmgr.js
  144. +219 −0 src/editor/classical/xmlloader.js
  145. +521 −0 src/editor/classical/xmlrobustloader.js
  146. +152 −0 src/editor/classical/xmlserializer.js
  147. +89 −0 src/filters/autocomplete.js
  148. +45 −0 src/filters/common.js
  149. +164 −0 src/filters/debug.js
  150. +57 −0 src/filters/documentid.js
  151. +177 −0 src/filters/image.js
  152. +154 −0 src/filters/layout.js
  153. +330 −0 src/filters/service.js
  154. +189 −0 src/filters/video.js
  155. +371 −0 src/filters/wiki.js
  156. +895 −0 src/plugins/link.js
  157. +641 −0 src/plugins/photo.js
  158. +1,462 −0 src/plugins/richtext.js
  159. +321 −0 src/plugins/select.js
  160. +702 −0 src/plugins/text.js
  161. +1,095 −0 src/plugins/video.js
  162. +86 −0 src/services/boundary.js
  163. +43 −0 src/services/capitalize.js
  164. +73 −0 src/services/common.js
  165. +121 −0 src/services/date.js
  166. +71 −0 src/services/debug.js
  167. +458 −0 src/services/service.js
  168. +737 −0 src/services/suggest.js
  169. +179 −0 src/services/translate.js
  170. +352 −0 src/util/davmenubar.js
  171. +62 −0 src/util/debug.js
  172. +294 −0 src/util/document.js
  173. +244 −0 src/util/editorbar.js
  174. +160 −0 src/util/ioutils.js
  175. +112 −0 src/util/menubar.js
  176. +167 −0 stylesheets/axel-core.css
  177. +162 −0 stylesheets/axel-style.css
  178. +154 −0 templates/Article.css
  179. +361 −0 templates/Article.xhtml
  180. +258 −0 templates/Article.xsl
  181. +55 −0 templates/Assistanat.xhtml
  182. +310 −0 templates/Carte-Resto.xhtml
  183. +299 −0 templates/Curriculum.xhtml
  184. +317 −0 templates/Editors.xhtml
  185. +186 −0 templates/Fiche-Cafe++.xhtml
  186. +192 −0 templates/Fiche-Cafe-Flow.xhtml
  187. +138 −0 templates/Fiche-Cafe.xhtml
  188. +153 −0 templates/Fiche-Projet.xhtml
  189. +38 −0 templates/Hello-world.xhtml
  190. +48 −0 templates/Meeting-Report.xhtml
  191. +121 −0 templates/PageWeb.xhtml
  192. +113 −0 templates/Photos.xhtml
  193. +250 −0 templates/Plugins.xhtml
  194. +19 −0 templates/Preview.css
  195. +102 −0 templates/Publications.xhtml
  196. +112 −0 templates/Requirements.xhtml
  197. +103 −0 templates/RichTextFragments.xhtml
  198. +170 −0 templates/Services.xhtml
  199. +94 −0 templates/Story.xhtml
  200. +101 −0 templates/StructPart.css
  201. +214 −0 templates/Study.css
  202. +214 −0 templates/Study.xhtml
  203. +62 −0 templates/Study.xsl
  204. +139 −0 templates/Suivi.xhtml
  205. +157 −0 templates/Taches.xhtml
  206. +35 −0 templates/Template.xhtml
  207. +145 −0 templates/Tickets.xhtml
  208. +181 −0 templates/Workpackage.xhtml
  209. +272 −0 templates/Workpackage.xsl
  210. +71 −0 templates/YouTube.xhtml
  211. +79 −0 test/auto/assert.js
  212. +20 −0 test/auto/configuration.distrib.js
  213. +24 −0 test/auto/configuration.js
  214. +141 −0 test/auto/diff.js
  215. +244 −0 test/auto/loadSave.js
  216. +191 −0 test/auto/loadSave.xhtml
  217. +14 −0 test/data/choice.xml
  218. +76 −0 test/data/core.xml
  219. +8 −0 test/data/filters.xml
  220. +7 −0 test/data/hello.xml
  221. +30 −0 test/data/link.xml
  222. +10 −0 test/data/repeat.xml
  223. +178 −0 test/data/richtext.xml
  224. +10 −0 test/data/video.xml
  225. +214 −0 test/gui/Core.xhtml
  226. +78 −0 test/gui/Link.xhtml
  227. +124 −0 test/gui/Photo.xhtml
  228. +156 −0 test/gui/RichText.xhtml
  229. +152 −0 test/gui/Video.xhtml
  230. +34 −0 test/gui/toc.html
  231. +108 −0 test/migration/Case-a-1.xhtml
  232. +36 −0 test/migration/Case-a-1.xml
  233. +112 −0 test/migration/Case-a-2.xhtml
  234. +46 −0 test/migration/Case-a-2.xml
  235. +112 −0 test/migration/Case-a-3.xhtml
  236. +85 −0 test/migration/Case-b-1.xhtml
  237. +50 −0 test/migration/Case-b-1.xml
  238. +93 −0 test/migration/Case-b-2.xhtml
  239. +136 −0 test/migration/Case-c-1.xhtml
  240. +53 −0 test/migration/Case-c-1.xml
  241. +136 −0 test/migration/Case-c-2.xhtml
  242. +232 −0 test/migration/Case-d-1.xhtml
  243. +91 −0 test/migration/Case-d-1.xml
  244. +236 −0 test/migration/Case-d-2.xhtml
  245. +112 −0 test/migration/Case-e-1.xhtml
  246. +33 −0 test/migration/Case-e-1.xml
  247. +114 −0 test/migration/Case-e-2a.xhtml
  248. +119 −0 test/migration/Case-e-2b.xhtml
  249. +119 −0 test/migration/Case-e-2c.xhtml
  250. +61 −0 test/migration/Case.css
  251. +143 −0 test/misc/contentEditable.html
  252. +77 −0 test/misc/document.xhtml
  253. +93 −0 test/misc/eventPassThrough.html
  254. +118 −0 test/misc/eventPassThroughTemplate.html
  255. +88 −0 test/misc/fontStyle.html
  256. +158 −0 test/misc/lensDisplay.html
  257. +51 −0 test/misc/logErrors.html
  258. +175 −0 test/misc/popup.html
  259. +313 −0 test/misc/positioning.html
  260. +191 −0 test/misc/relative.html
  261. +23 −0 test/misc/simpleTemplate.xhtml
  262. +354 −0 test/misc/structpart.html
  263. +109 −0 test/misc/textMetrics.html
  264. +71 −0 test/templates/Choice.xhtml
  265. +134 −0 test/templates/Core.xhtml
  266. +71 −0 test/templates/Empty.xhtml
  267. +35 −0 test/templates/Filters.xhtml
  268. +55 −0 test/templates/Link.xhtml
  269. +45 −0 test/templates/Repeat.xhtml
  270. +110 −0 test/templates/RichText.xhtml
  271. +21 −0 test/templates/Template.css
  272. +81 −0 test/templates/Video.xhtml
@@ -0,0 +1,4 @@
+*~
+*.diff
+*.patch
+.DS_Store
@@ -0,0 +1,331 @@
+/**************************/
+/* AXEL library CSS file */
+/**************************/
+/* * AXEL core sheet * */
+
+/* This file decribes the CSS styles used to make the library work properly.
+ It includes styles to make the right element appears, to set position of
+ floating elements and so on.
+
+ WARNING: Do not edit this file unless you *really* know what you're doing! */
+
+/*******************/
+/** Repeat editor **/
+
+/* CSS trick to make unset (repeated) part disappear */
+.axel-repeat-unset .xtt-hide-if-unselect,
+.axel-repeat-unset.xtt-hide-if-unselect {
+ display: none;
+}
+
+/************************************************************/
+/** Core styles (styles used by many parts of the library) **/
+
+/* Style for ediatble parts of the template */
+.axel-core-editable {
+ cursor: pointer;
+}
+
+/* Generic class for showing inline elements */
+span.axel-core-on {
+ display: inline;
+}
+
+/* Generic class for showing block elements */
+p.axel-core-on,
+div.axel-core-on {
+ display: block;
+}
+
+/* Generic class for hiding unused elements */
+.axel-core-off {
+ display: none;
+}
+
+/* Hiding of boundaries. */
+.axel-core-boundary {
+ display: none;
+}
+
+/*******************/
+/** Plugin "text" **/
+
+/* Common styles for placed or float text devices
+ (inherit works wory every browsers but IE7)*/
+textarea.axel-text-placed,
+input.axel-text-placed,
+textarea.axel-text-float,
+input.axel-text-float {
+ margin: inherit;
+ padding: inherit;
+ color: inherit;
+ font-style: inherit;
+ font-size: inherit;
+ font-weight: inherit;
+ font-family: inherit;
+ vertical-align: inherit;
+ line-height: inherit;
+ background-color: inherit;
+ overflow: hidden;
+}
+
+/* Style for flaoting text device */
+textarea.axel-text-float,
+input.axel-text-float {
+ position: absolute;
+ display: inline;
+}
+
+/* Style for text container */
+div.axel-text-container {
+ position: relative;
+ overflow: visible;
+}
+
+/* Style for having a hidden "shadow" buffer for text geometry computations */
+/* below is a trick from :
+ http://labnol.blogspot.com/2006/10/html-css-trick-for-displaying-code.html
+ to wrap long lines of text */
+.axel-text-shadowbuffer {
+ position: absolute;
+ top: -1000px;
+ left: -1000px;
+ visibility: hidden;
+ white-space: pre-wrap; /* css-3 */
+ white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
+ word-wrap: break-word; /* Internet Explorer 5.5+ */
+}
+
+/*********************/
+/* Popup menu device */
+
+.axel-popup-container {
+ position: absolute;
+ visibility: hidden;
+ margin: 0;
+ overflow-x: hidden;
+ overflow-y: auto;
+ z-index: 1000;
+}
+
+.axel-popup-container > ul {
+ margin: 0;
+ padding: 0;
+}
+
+.axel-popup-container li {
+ list-style-type: none;
+ margin:0;
+ padding: 0;
+}
+
+.axel-popup-sublist {
+ margin: 0;
+ padding: 0;
+ width: 100%;
+}
+
+.axel-popup-sublistheader {
+ margin:0;
+ vertical-align: top;
+}
+
+.axel-popup-sublistbody {
+ margin:0;
+ padding: 0;
+ vertical-align: top;
+}
+
+/****************************************/
+/* Layout manager (used by lens device) */
+
+.axel-layout-container {
+ position: relative;
+ overflow: visible;
+ display: inline;
+ width: 0;
+ height: 0;
+ margin: 0;
+ padding: 0;
+ vertical-align: top;
+}
+
+/**********************/
+/* Lens based devices */
+
+.axel-lens-container {
+ position: absolute;
+ z-index: 1000;
+ top: 0;
+ left: 0;
+ margin: 0;
+ min-width: 80px;
+}
+
+/*********************/
+/* Service extension */
+
+span.axel-service-handle {
+ display: none;
+}/* * AXEL style sheet * */
+
+/* This file decribes the visual styles used by the AXEL library to improve and decorate the transformed
+ template (the user interface). It includes (among others) color styles, borders and constomizable
+ margins.
+
+ Feel free to customize the styles below to match your visual requirements */
+
+/*******************/
+/** Repeat editor **/
+
+/* style for the left button (-) */
+.axel-repeat-left {
+ padding-left: 5px;
+ padding-right: 2px;
+}
+
+/* style for the right button (+) */
+.axel-repeat-right {
+ padding-left: 2px;
+ padding-right: 5px;
+}
+
+/* style for the unset (repeated 0 time) element inside a repeat.
+ Greys out unrepeated content */
+.axel-repeat-unset,
+.axel-repeat-unset * {
+ font-style: italic !important;
+ color: gray !important;
+}
+
+/* "Ungreys" the greyed content when its contently being edited */
+.axel-repeat-unset .axel-core-editing,
+.axel-repeat-unset .axel-core-editing * {
+ font-style: normal !important;
+ color: black !important;
+}
+
+/* Greys out images and objects that are not repeated */
+img.axel-repeat-unset,
+object.axel-repeat-unset {
+ opacity: 0.3;
+}
+
+/*****************/
+/** Core styles **/
+
+/* Style for ediatble parts of the template */
+.axel-core-editable {
+ border: thin dashed #bbffdd;
+}
+
+/* Style for error message within the template as a result of a problem in the transformation process */
+.axel-generator-error {
+ font-family: sans-serif;
+ color: red;
+}
+
+/*************************************************/
+/** Optionality management (shared between plugins
+ supporting the option="set|unset" attribute) **/
+
+/* Style for the checkbox for optional editors */
+.axel-option-checkbox {
+ vertical-align: middle;
+ margin-right: 5px;
+}
+
+/* Style for selected (set) optional elements */
+.axel-option-set {
+ font-style: inherit;
+ color: inherit;
+}
+
+/* Styles for greying out unset optional elements */
+.axel-option-unset {
+ font-style: italic;
+ color: gray !important;
+}
+img.axel-option-unset,
+object.axel-option-unset {
+ opacity: 0.3;
+}
+
+/* ******************* */
+/* Popup menu device */
+
+.axel-popup-container {
+ font-size: 13px;
+ border:1px solid black;
+ color: blue;
+ background: white;
+ padding: 2px;
+}
+
+.axel-popup-container > ul {
+ border: 1px solid lightGrey;
+}
+
+.axel-popup-container li {
+ border-bottom: 1px solid lightGrey;
+}
+
+.axel-popup-container li.axel-popup-selectable {
+ padding: 5px;
+}
+
+.axel-popup-container li.axel-popup-selectable:hover {
+ color: white;
+ background: blue;
+}
+
+.axel-popup-container li.selected {
+ background: orange !important;
+}
+
+.axel-popup-sublistheader {
+ padding: 5px;
+ border: 1px solid lightGrey;
+ color: grey;
+ font-variant: small-caps;
+ font-weight: bold;
+ width: 25%;
+}
+
+.axel-popup-sublistbody {
+ border: 1px solid lightGrey;
+ width: 75%;
+}
+/* ********************/
+/* Lens based devices */
+
+.axel-lens-containerstyle {
+ border: 1px solid black;
+ background-color: rgb(115, 166, 42);
+}
+
+/*****************/
+/* Plugin "link" */
+
+/* Style for the link model's handle */
+.axel-link-handle {
+ color: blue;
+ font-family: verdana, arial;
+ text-decoration: underline;
+ font-size: 100%;
+}
+
+/****************/
+/* Photo plugin */
+
+/* Style for the photo model's handle */
+.axel-photo-handle {
+ max-width: 100px;
+ max-height: 100px;
+}
+
+/*************************/
+/* Servie filter trigger */
+.axel-service-trigger {
+ margin: 0 5px;
+}

Large diffs are not rendered by default.

Oops, something went wrong.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,54 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+ <title>XML data input</title>
+ <style>
+ body {
+ padding: 0.5em 2em;
+ }
+ .center {
+ text-align: center;
+ }
+ #content {
+ position: absolute;
+ top: 4em;
+ left: 2em;
+ right: 2em;
+ bottom: 4em;
+ }
+ #input {
+ width: 100%;
+ height: 100%;
+ }
+ #footer {
+ position: absolute;
+ left: 2em;
+ right: 2em;
+ bottom: 0em;
+ }
+ </style>
+
+ <script type="text/javascript">
+ function loadInstanceData() {
+ var t = document.getElementById ('input');
+ var val = t.value;
+ if (! val.match(/^\s*$/)) {
+ if (window.opener) {
+ window.opener.handleInstanceData (val);
+ }
+ }
+ }
+ </script>
+</head>
+
+<body>
+ <p class="center">Paste some XML data and press load to upload it to the template</p>
+ <div id="content">
+ <textarea id="input" rows="40" cols="20"></textarea>
+ </div>
+ <div id="footer">
+ <p class="center"><input type='button' value="Load" onclick="loadInstanceData();"/></p>
+ </div>
+</body>
+</html>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.

0 comments on commit 396a46f

Please sign in to comment.