From 02cba36de10a449ff9f62ce48f1655408129264a Mon Sep 17 00:00:00 2001
From: Yoshinori Okuji <yo@nexedi.com>
Date: Thu, 19 Aug 2004 17:14:45 +0000
Subject: [PATCH] Initial import.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1396 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../erp5_core/create_relation_dialog.form     | 50 ++++++++++
 .../ERP5/skins/erp5_html_style/index_html.pt  | 92 +++++++++++++++++++
 2 files changed, 142 insertions(+)
 create mode 100755 product/ERP5/skins/erp5_core/create_relation_dialog.form
 create mode 100755 product/ERP5/skins/erp5_html_style/index_html.pt

diff --git a/product/ERP5/skins/erp5_core/create_relation_dialog.form b/product/ERP5/skins/erp5_core/create_relation_dialog.form
new file mode 100755
index 0000000000..2af0f06dbe
--- /dev/null
+++ b/product/ERP5/skins/erp5_core/create_relation_dialog.form
@@ -0,0 +1,50 @@
+<?xml version="1.0"?>
+
+<form>
+  <title>Create New Document(s)</title>
+  <row_length>4</row_length>
+  <name>create_relation_dialog</name>
+  <pt>form_create_relation_dialog</pt>
+  <action>base_create_relation</action>
+  <update_action></update_action>
+  <method>POST</method>
+  <enctype>multipart/form-data</enctype>
+  <encoding>UTF-8</encoding>
+  <stored_encoding>ISO-8859-1</stored_encoding>
+  <unicode_mode>false</unicode_mode>
+  <groups>
+    <group>
+      <title>Default</title>
+      <fields>
+
+      <field><id>relation_values</id> <type>LinesField</type>
+        <values>
+          <alternate_name></alternate_name>
+          <css_class></css_class>
+          <default type="list">[]</default>
+          <description></description>
+          <external_validator></external_validator>
+          <extra></extra>
+          <height type="int">5</height>
+          <hidden type="int">0</hidden>
+          <max_length></max_length>
+          <max_linelength></max_linelength>
+          <max_lines></max_lines>
+          <required type="int">1</required>
+          <title>relation_values</title>
+          <width type="int">40</width>
+        </values>
+        <tales>
+        </tales>
+        <messages>
+          <message name="external_validator_failed">The input failed the external validator.</message>
+          <message name="required_not_found">Input is required but no input given.</message>
+          <message name="too_many_lines">You entered too many lines.</message>
+          <message name="line_too_long">A line was too long.</message>
+          <message name="too_long">You entered too many characters.</message>
+        </messages>
+      </field>
+      </fields>
+    </group>
+  </groups>
+</form>
diff --git a/product/ERP5/skins/erp5_html_style/index_html.pt b/product/ERP5/skins/erp5_html_style/index_html.pt
new file mode 100755
index 0000000000..0d3b9b88e4
--- /dev/null
+++ b/product/ERP5/skins/erp5_html_style/index_html.pt
@@ -0,0 +1,92 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "DTD/xhtml1-strict.dtd">
+<?xml-stylesheet  href="erp5.css" rel="stylesheet" type="text/css"?>
+
+<span tal:replace="nothing">
+<!--
+Copyright (c) 2004 Nexedi SARL and Contributors. All Rights Reserved.
+                   Yoshinori Okuji     <yo@nexedi.com>
+
+This program is Free Software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License
+as published by the Free Software Foundation; either version 2
+of the License, or (at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+-->
+</span>
+
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
+      xml:lang="en"
+      xmlns:tal="http://xml.zope.org/namespaces/tal"
+      xmlns:i18n="http://xml.zope.org/namespaces/i18n"
+      xmlns:metal="http://xml.zope.org/namespaces/metal"
+      metal:use-macro="here/main_template/macros/master">
+ <head>
+  <meta name="description" content="Generated by index_html" />
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+  <title tal:content="template/title_or_id" i18n:translate="" i18n:domain="ui">The title</title>
+  <link href="erp5.css" rel="stylesheet" type="text/css" />
+ </head>
+
+<body style="position: relative">
+
+<div metal:fill-slot="header"
+     tal:define="global has_local python: 'local_pt' in here.objectIds();
+                 global util_macros here/index_html_utils/macros;
+                " >
+
+  <div tal:condition="not: has_local">
+
+     <div metal:use-macro="util_macros/index_header" />
+
+  </div>
+
+  <div tal:condition="has_local">
+
+    <div metal:use-macro="here/local_pt/macros/header | default">
+      'local_pt' header goes here.
+    </div>
+
+  </div>
+
+</div><!-- header slot -->
+
+<div metal:fill-slot="main">
+
+  <div id="content_well"
+       style="float: left; top: 0; width: 80%;">
+
+    <div tal:condition="not: has_local">
+
+      <br />
+
+      <div metal:use-macro="util_macros/index_content" />
+
+      <div metal:use-macro="util_macros/index_links" />
+
+      <div metal:use-macro="util_macros/index_folders" />
+
+    </div>
+
+    <div tal:condition="has_local">
+
+      <div metal:use-macro="here/local_pt/macros/body | default">
+        'local_pt' body goes here.
+      </div>
+
+    </div>
+
+  </div>
+
+</div>
+
+</body>
+</html>
-- 
2.30.9