Commit 8b4a5640 authored by Romain Courteaud's avatar Romain Courteaud

Drop erp5_bespin bt5.

This editor has been deprecated and is not supported anymore.
parent 10a0ef83
<registered_skin_selection>
<skin_folder_selection>
<skin_folder>erp5_bespin</skin_folder>
<skin_selection>View</skin_selection>
</skin_folder_selection>
</registered_skin_selection>
\ No newline at end of file
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_local_properties</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>erp5_bespin</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
.bespin-completion-panel {
font-family: Helvetica, Arial, sans-serif;
position: absolute;
cursor: default;
line-height: normal;
-moz-user-select: none;
-webkit-user-select: none;
}
.bespin-completion-pointer {
position: absolute;
z-index: 2;
height: 21px;
width: 21px;
}
.bespin-completion-pointer-up {
top: 1px;
border-top: solid #555 1px;
border-left: solid #555 1px;
background-image: -moz-linear-gradient(top left, #333333, #333333 50%, transparent 50%, transparent);
background-image: -webkit-gradient(linear, left top, right bottom, from(#333333), color-stop(0.5, #333333), color-stop(0.5, transparent), to(transparent));
-moz-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
}
.bespin-completion-pointer-down {
bottom: 1px;
border-top: solid #000 1px;
border-left: solid #000 1px;
background-image: -moz-linear-gradient(top left, #000, #000 50%, transparent 50%, transparent);
background-image: -webkit-gradient(linear, left top, right bottom, from(#000), color-stop(0.5, #000), color-stop(0.5, transparent), to(transparent));
-moz-transform: rotate(225deg);
-webkit-transform: rotate(225deg);
}
.bespin-completion-bubble-outer {
position: relative;
z-index: 1;
margin: 11px 0px 11px 0px;
border-top: solid #555 1px;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
}
.bespin-completion-bubble-inner {
position: relative;
z-index: 3;
padding: 6px;
background: -moz-linear-gradient(top, #333333, #000000);
background: -webkit-gradient(linear, center top, center bottom, from(#333333), to(#000000));
color: #ffffff;
font-size: 10.5pt;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
-moz-box-shadow: 0px 6px 16px 2px rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 0px 6px 16px 2px rgba(0, 0, 0, 0.5);
}
.bespin-completion-panel ul {
list-style: none;
margin: 0px;
padding: 0px;
}
.bespin-completion-panel li {
text-indent: 0px;
margin: 0px;
padding: 6px 16px;
}
.bespin-completion-highlight {
position: absolute;
z-index: -1;
background-image: -moz-linear-gradient(top, #3e59be, #312d80);
background-image: -webkit-gradient(linear, center top, center bottom, from(#3e59be), to(#312d80));
border: solid rgba(37, 34, 91, 1.0) 1px;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
}
.bespin-completion-kind {
display: block;
float: left;
top: 0px;
left: 0px;
width: 8px;
height: 8px;
padding: 2px;
margin: 0px 5px 0px 0px;
font-size: 6.5pt;
font-weight: bold;
text-transform: uppercase;
text-align: center;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
}
.bespin-completion-kind-m {
background-color: maroon;
}
.bespin-completion-kind-f {
background-color: green;
}
.bespin-completion-top-row {
position: relative;
}
.bespin-completion-second-row {
margin: 6px 0px 0px 17px;
display: none;
}
.bespin-completion-ident {
font-weight: bold;
}
.bespin-completion-container {
color: #a0a0a0;
}
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="DTMLMethod" module="OFS.DTMLMethod"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__name__</string> </key>
<value> <string>BespinEmbedded.css</string> </value>
</item>
<item>
<key> <string>_vars</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>globals</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="DTMLMethod" module="OFS.DTMLMethod"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__name__</string> </key>
<value> <string>BespinEmbedded.js</string> </value>
</item>
<item>
<key> <string>_vars</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>globals</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="DTMLMethod" module="OFS.DTMLMethod"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__name__</string> </key>
<value> <string>BespinMain.js</string> </value>
</item>
<item>
<key> <string>_vars</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>globals</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="DTMLMethod" module="OFS.DTMLMethod"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__name__</string> </key>
<value> <string>BespinWorker.js</string> </value>
</item>
<item>
<key> <string>_vars</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>globals</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/html</string> </value>
</item>
<item>
<key> <string>expand</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>bespin_support</string> </value>
</item>
<item>
<key> <string>output_encoding</string> </key>
<value> <string>utf-8</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <unicode></unicode> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<tal:block tal:define='cleaninput python: inputvalue;
name python: inputname;
site_root python: here.getWebSiteValue() or here.getPortalObject();
portal_url python: site_root.absolute_url();
cols python: field.get_value("width");
rows python: field.get_value("height");
extra python: "%s" % field.get_value("extra")
'>
<script type="text/javascript" tal:attributes="src string:${portal_url}/BespinEmbedded.js" />
<script type="text/javascript" tal:attributes="src string:${portal_url}/BespinPython.js" />
<textarea class="bespin"
tal:attributes="cols cols;
rows rows;
name name;
data-bespinoptions extra"
tal:content="cleaninput">
</textarea>
</tal:block>
\ No newline at end of file
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>resources</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>completion</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>screen_theme</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>images</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Image" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_Cacheable__manager_id</string> </key>
<value> <string>http_cache</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>bespin-s.png</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>image/png</string> </value>
</item>
<item>
<key> <string>height</string> </key>
<value> <int>70</int> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>width</string> </key>
<value> <int>73</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Image" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_Cacheable__manager_id</string> </key>
<value> <string>http_cache</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>check-selected.png</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>image/png</string> </value>
</item>
<item>
<key> <string>height</string> </key>
<value> <int>24</int> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>width</string> </key>
<value> <int>24</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Image" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_Cacheable__manager_id</string> </key>
<value> <string>http_cache</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>lines.png</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>image/png</string> </value>
</item>
<item>
<key> <string>height</string> </key>
<value> <int>200</int> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>width</string> </key>
<value> <int>300</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Image" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_Cacheable__manager_id</string> </key>
<value> <string>http_cache</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>scroll-down.png</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>image/png</string> </value>
</item>
<item>
<key> <string>height</string> </key>
<value> <int>11</int> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>width</string> </key>
<value> <int>11</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Image" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_Cacheable__manager_id</string> </key>
<value> <string>http_cache</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>scroll-left.png</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>image/png</string> </value>
</item>
<item>
<key> <string>height</string> </key>
<value> <int>11</int> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>width</string> </key>
<value> <int>11</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Image" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_Cacheable__manager_id</string> </key>
<value> <string>http_cache</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>scroll-right.png</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>image/png</string> </value>
</item>
<item>
<key> <string>height</string> </key>
<value> <int>11</int> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>width</string> </key>
<value> <int>11</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Image" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_Cacheable__manager_id</string> </key>
<value> <string>http_cache</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>scroll-up.png</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>image/png</string> </value>
</item>
<item>
<key> <string>height</string> </key>
<value> <int>11</int> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>width</string> </key>
<value> <int>11</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Bespin.
*
* The Initial Developer of the Original Code is
* Mozilla.
* Portions created by the Initial Developer are Copyright (C) 2009
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Bespin Team (bespin@mozilla.com)
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
.bespin {
.container {
font-family: @container_font;
font-size: @container_font_size;
color: @container_color;
background: @container_bg;
line-height: @container_line_height;
display: -moz-box;
-moz-box-orient: vertical;
display: -webkit-box;
-webkit-box-orient: vertical;
width: 100%;
height: 100%;
margin: 0;
}
.container .north {
-moz-box-ordinal-group: 1;
-webkit-box-ordinal-group: 1;
}
.container .center-container {
display: -moz-box;
-moz-box-orient: horizontal;
-moz-box-ordinal-group: 2;
-moz-box-flex: 1;
display: -webkit-box;
-webkit-box-orient: horizontal;
-webkit-box-ordinal-group: 2;
-webkit-box-flex: 1;
}
.container .south {
-moz-box-ordinal-group: 3;
-webkit-box-ordinal-group: 3;
}
.container .center-container .west {
-moz-box-ordinal-group: 1;
-webkit-box-ordinal-group: 1;
}
.container .center-container .center {
-moz-box-flex: 1;
-moz-box-ordinal-group: 2;
-webkit-box-flex: 1;
-webkit-box-ordinal-group: 2;
}
.container .center-container .east {
-moz-box-ordinal-group: 3;
-webkit-box-ordinal-group: 3;
}
input, textarea {
display: block;
border: 0px;
width: 200px;
padding: 4px;
color: @control_color;
background: @control_bg;
border: @control_border;
font-size: 8pt;
-moz-border-radius: @control_border_radius;
-webkit-border-radius: @control_border_radius;
box-shadow:
rgba(255,255,255,0.3) 0px 0px 2px,
inset rgba(0,0,0,0.3) 0px 0px 4px;
-moz-box-shadow:
rgba(255,255,255,0.3) 0px 0px 2px,
inset rgba(0,0,0,0.3) 0px 0px 4px;
-webkit-box-shadow:
rgba(255,255,255,0.3) 0px 0px 2px,
inset rgba(0,0,0,0.3) 0px 0px 4px;
}
input:focus, textarea:focus {
color: @control_active_color;
border: @control_active_border;
background: @control_active_bg;
outline: none;
box-shadow: opacity(@control_active_inset_color, 0.6) 0px 0px 2px,
inset opacity(@control_active_inset_color, 0.3) 0px 0px 6px;
-moz-box-shadow: opacity(@control_active_inset_color, 0.6) 0px 0px 2px,
inset opacity(@control_active_inset_color, 0.3) 0px 0px 6px;
-webkit-box-shadow: opacity(@control_active_inset_color, 0.6) 0px 0px 2px,
inset opacity(@control_active_inset_color, 0.3) 0px 0px 6px;
}
input[type=submit], input[type=button] {
font-family: @button_font;
font-size: @button_font_size;
text-shadow: 1px 1px rgba(0, 0, 0, 0.4);
padding: 8px 12px;
margin-left: 8px;
color: @button_color;
background: transparent -moz-linear-gradient(top, @button_bg, @button_bg2);
background: transparent -webkit-gradient(linear, 50% 0%, 50% 100%, from(@button_bg), to(@button_bg2));
border: 1px solid @button_border;
-moz-border-radius: @control_border_radius;
-webkit-border-radius: @control_border_radius;
-moz-box-shadow:
inset rgba(255, 255, 255, 0.2) 0 1px 0px,
inset rgba(0, 0, 0, 0.2) 0 -1px 0px,
rgba(0, 0, 0, 0.1) 0px 1px 2px;
-webkit-box-shadow:
inset rgba(255, 255, 255, 0.2) 0 1px 0px,
inset rgba(0, 0, 0, 0.2) 0 -1px 0px,
rgba(0, 0, 0, 0.1) 0px 1px 2px;
box-shadow:
inset rgba(255, 255, 255, 0.2) 0 1px 0px,
inset rgba(0, 0, 0, 0.2) 0 -1px 0px,
rgba(0, 0, 0, 0.1) 0px 1px 2px;
}
.pane {
font-size: @pane_font_size;
font-family: @pane_font;
border-top: 1px solid rgba(255,255,255,0.1);
border-left: 1px solid rgba(0, 0, 0, 0.1);
border-right: 1px solid rgba(0, 0, 0, 0.1);
border-bottom: 2px solid rgba(0, 0, 0, 0.1);
background-color: @pane_bg;
overflow: visible;
padding: 15px;
color: @pane_color;
line-height: @pane_line_height;
margin-bottom: 6px;
margin-top: 6px;
text-shadow: @pane_text_shadow;
-moz-border-radius: @pane_border_radius;
-webkit-border-radius: @pane_border_radius;
-moz-box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px;
-webkit-box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px;
a {
color: @pane_a_color;
}
h1 {
font-family: @pane_h1_font;
font-size: @pane_h1_font_size;
color: @pane_h1_color;
letter-spacing: -1.25px;
line-height: 1.0;
margin-top: 0px;
margin-left: 10px;
margin-bottom: 25px;
margin-top: 10px;
text-shadow: @pane_text_shadow;
}
p {
margin-left: 10px;
}
}
.form {
font-family: @form_font;
font-size: @form_font_size;
line-height: @form_line_height;
color: @form_color;
text-shadow: @form_text_shadow;
fieldset, p {
color: @form_color;
margin-bottom: 6px;
margin-top: 6px;
text-shadow: form_text_shadow;
}
}
/*
* The state classes are a little bit complex, because of the doubble class bug in IE6
* The state class looks like this:
*
* .ui-radio-state[-checked][-disabled][-hover] or .ui-checkbox-state[-checked][-disabled][-hover]
*
* Examples:
*
* .ui-radio-state-checked (simply checked)
* .ui-radio-state-checked-hover (checked and hovered/focused)
* .ui-radio-state-hover (unchecked and hovered/focused)
*
* If you don´t have to deal with the doubble class bug of IE6 you can also use the simple ui-checkbox-checked, ui-checkbox-disabled, ui-checkbox-hover state-classnames (or: ui-radio-checked...)
* and the ui-radio/ui-checkbox role-classnames.
*
*/
span.ui-checkbox,
span.ui-radio {
display: block;
float: left;
width: 24px;
height: 24px;
background: url(images/radio-unselected.png) no-repeat;
}
span.ui-checkbox {
background: url(images/check-unselected.png) no-repeat;
}
span.ui-helper-hidden {
display: none;
}
span.ui-checkbox-state-checked,
span.ui-checkbox-state-checked-hover {
background: url(images/check-selected.png) no-repeat;
}
span.ui-radio-state-checked,
span.ui-radio-state-checked-hover {
background: url(images/radio-selected.png) no-repeat;
}
.ui-helper-hidden-accessible {
position: absolute;
left: -999em;
}
}
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="DTMLDocument" module="OFS.DTMLDocument"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__name__</string> </key>
<value> <string>theme.less</string> </value>
</item>
<item>
<key> <string>_vars</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>globals</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
2010-08-15 rafael
* The initial version.
\ No newline at end of file
Still Experimental
\ No newline at end of file
Copyright (c) 2010 Nexedi SA
\ No newline at end of file
erp5_view_style
\ No newline at end of file
Files for integration of Bespin Text Editor (http://mozillalabs.com/bespin) with ERP5
\ No newline at end of file
GPL
\ No newline at end of file
rafael
\ No newline at end of file
erp5_bespin | View
\ No newline at end of file
erp5_bespin
\ No newline at end of file
erp5_bespin
\ No newline at end of file
1.0
\ No newline at end of file
......@@ -71,7 +71,6 @@ class EditorWidget(Widget.TextAreaWidget):
size=1,
items=[('Standard Text Area', 'text_area'),
('FCK Editor', 'fck_editor'),
('Bespin Editor', 'bespin'),
('Xinha Editor', 'xinha'),
('SVG Editor', 'svg_editor'),
('Spreadsheet Editor', 'spreadsheet_editor'),
......@@ -84,19 +83,7 @@ class EditorWidget(Widget.TextAreaWidget):
"""
here = REQUEST['here']
text_editor = field.get_value('text_editor')
if text_editor == 'bespin':
# XXX The usage of bespin editor depends of erp5_bespin bt5
# installed and still experimental. If erp5_bespin is not installed, it
# render standard an standard editor field.
bespin_support = getattr(here, 'bespin_support',None)
if bespin_support is not None:
return bespin_support.pt_render(
extra_context= {
'field' : field,
'inputvalue' : value,
'inputname' : key
})
elif text_editor == "xinha":
if text_editor == "xinha":
xinha_support = getattr(here, 'xinha_support', None)
if xinha_support is not None:
return xinha_support.pt_render(
......
......@@ -56,7 +56,7 @@ class TestNamingConvention(ERP5TypeTestCase):
'erp5_public_accounting_budget', 'erp5_publication', 'erp5_run_my_doc',
'erp5_short_message', 'erp5_simplified_invoicing', 'erp5_trade_knowledge_pad',
'erp5_trade_ui_test', 'erp5_ace_editor',
'erp5_authentication_policy', 'erp5_bearer_token', 'erp5_bespin',
'erp5_authentication_policy', 'erp5_bearer_token'
'erp5_certificate_authority', 'erp5_code_mirror', 'erp5_computer_immobilisation',
'erp5_credential_oauth2', 'erp5_data_protection', 'erp5_data_set',
'erp5_development_wizard', 'erp5_dhtml_style', 'erp5_direct_debit_payment',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment