Commit d4009e11 authored by Romain Courteaud's avatar Romain Courteaud

erp5_web_but: version 2018

parent 026451d5
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_Access_contents_information_Permission</string> </key>
<value>
<tuple>
<string>Anonymous</string>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Auditor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Add_portal_content_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Change_local_roles_Permission</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Modify_portal_content_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_View_Permission</string> </key>
<value>
<tuple>
<string>Anonymous</string>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Auditor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>6f5120e39128a2cd38560c2453308feb</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/json</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>world_cup_2018_data.json</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>filename</string> </key>
<value> <string>world_cup_data.json</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>world_cup_2018_data_json</string> </value>
</item>
<item>
<key> <string>language</string> </key>
<value> <string>en</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>File</string> </value>
</item>
<item>
<key> <string>short_title</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>World Cup 2018 Data JSON</string> </value>
</item>
<item>
<key> <string>version</string> </key>
<value> <string>001</string> </value>
</item>
<item>
<key> <string>workflow_history</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="PersistentMapping" module="Persistence.mapping"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
<key> <string>document_publication_workflow</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>edit_workflow</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>publish_alive</string> </value>
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>error_message</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>time</string> </key>
<value>
<object>
<klass>
<global name="DateTime" module="DateTime.DateTime"/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>1528117341.03</float>
<string>UTC</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key> <string>validation_state</string> </key>
<value> <string>published_alive</string> </value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>edit</string> </value>
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>error_message</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>967.65229.47339.45738</string> </value>
</item>
<item>
<key> <string>state</string> </key>
<value> <string>current</string> </value>
</item>
<item>
<key> <string>time</string> </key>
<value>
<object>
<klass>
<global name="DateTime" module="DateTime.DateTime"/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>1528117316.11</float>
<string>UTC</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
</ZopeData>
/**********************************************
* Colors
**********************************************/
/**********************************************
* Fonts (font-family)
**********************************************/
/**********************************************
* Shared
**********************************************/
/**********************************************
* http://meyerweb.com/eric/tools/css/reset/
* v2.0 | 20110126
* License: none (public domain)
**********************************************/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
display: block;
}
body {
line-height: 1;
}
ol,
ul {
list-style: none;
}
blockquote,
q {
quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/**********************************************
* Default
**********************************************/
html {
height: 100%;
width: 100%;
display: block;
background-color: white;
box-sizing: border-box;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
body {
height: 100%;
width: 100%;
display: block;
word-wrap: break-word;
}
body,
button,
input,
textarea,
select {
font-family: 'Open Sans', Helvetica, Arial, sans-serif;
font-size: 12pt;
padding: 0;
margin: 0;
font-weight: 400;
line-height: 1.5;
}
@media only screen and (min-width: 70em) {
body,
button,
input,
textarea,
select {
font-size: 12pt;
}
}
/**********************************************
* Style
**********************************************/
body > header {
text-align: center;
}
body > header > h1 {
font-size: 5em;
}
body > main > form {
max-width: 20em;
}
body > main > form > h2 {
text-align: center;
background: indianred;
}
body > main > form > ul > li {
text-align: center;
}
body > main > form > ul > li label {
width: 7em;
display: inline-block;
}
body > main > form > ul > li input[type="radio"] {
display: none;
}
body > main > form > ul > li input[type="radio"]:checked + label {
font-weight: bold;
}
body > main > form > ul > li input[type="integer"] {
width: 2em;
}
body > main > ul {
display: flex;
align-items: flex-start;
flex-wrap: wrap;
width: 20em;
}
@media only screen and (min-width: 70em) {
body > main > ul {
width: 70em;
}
}
body > main > ul > li {
width: 100%;
flex-shrink: 1;
vertical-align: top;
padding: 3pt;
}
@media only screen and (min-width: 70em) {
body > main > ul > li {
width: 10em;
}
body > main > ul > li:first-of-type {
margin-left: 30em;
}
}
body > main > ul > li > button {
background-image: none;
background: transparent;
cursor: pointer;
outline: none;
border: none;
width: 100%;
padding: 6pt;
border: 1px solid rgba(0, 0, 0, 0.3);
border-radius: 0.325em;
box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15);
}
body > main > ul > li > button h2 {
margin-bottom: 6pt;
text-align: center;
background: indianred;
}
body > main > ul > li > button ul {
text-align: left;
font-size: small;
}
body > main > table {
max-width: 40em;
border: 1px solid black;
margin-left: 1em;
padding: 0;
border-collapse: collapse;
border-spacing: 0;
}
body > main > table tr {
border: 1px solid black;
padding-top: 6pt;
padding-bottom: 6pt;
}
body > main > table th,
body > main > table td {
text-align: center;
padding-top: 6pt;
padding-bottom: 6pt;
}
body > main > table thead {
text-align: center;
background: indianred;
}
body > main > table thead th {
min-width: 10em;
text-transform: uppercase;
}
<!DOCTYPE html>
<html manifest="world_cup_2018.appcache">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="favicon.ico">
<title>BUT</title>
<meta name="description" content="${site_description}">
<meta name="keywords" content="${site_keywords}">
<link rel="stylesheet" href="world_cup_2018.css">
<script src="rsvp.js"></script>
<script src="renderjs.js"></script>
<script src="jiodev.js"></script>
<script src="handlebars.js"></script>
<script id="result_template" type="text/x-handlebars-template">
<table>
<caption>Result ({{match_count}} matches)</caption>
<thead>
<tr>
<th>Score</th>
<th>Name</th>
</tr>
</thead>
<tbody>
{{#each player_list}}<tr>
<td>{{score}}</td>
<td>{{name}}</td>
</tr>{{/each}}
</tbody>
</table>
</script>
<script id="day_list_template" type="text/x-handlebars-template">
<ul>{{#each day_list}}<li>
{{#if match_list}}
<button type="button" data-wc2018="renderCard" data-wc2018-param="{{day_query}}"><h2>{{day_string}}</h2>
<ul>
{{#each match_list}}
<li>{{title}}</li>
{{/each}}
</ul></button>
{{/if}}
</li>{{/each}}</ul>
<button type="button" data-wc2018="renderExport">Share!</button>
<button type="button" data-wc2018="renderImport">Import</button>
<button type="button" data-wc2018="renderResult">Result</button>
</script>
<script id="share_template" type="text/x-handlebars-template">
<p>Share this code: <b>{{code}}</b></p>
<button type="button" data-wc2018="renderCalendar">Done</button>
</script>
<script id="import_form_template" type="text/x-handlebars-template">
<form data-wc2018="submitImport">
<label for="password_list">Paste password list</label>
<textarea required name="password_text"
id="password_text">{{password_text}}</textarea>
<input type="submit" value="Import"></input>
</form> nutnut
<form data-wc2018="submitNewCode">
<label for="player">Player</label>
<input required name="player" id="player"></input>
<label for="code">Code</label>
<input required name="code" id="code"></input>
<input type="submit" value="Add"></input>
</form>
</script>
<script id="day_form_template" type="text/x-handlebars-template">
<form data-wc2018="submitBet">
<h2>{{day_string}}</h2>
<ul>
{{#each match_list}}<li>
<!--input type="radio" name="couscous" id="couscous_1" required />
<label for="couscous_1">Home</label-->
<label for="{{home_bet_reference}}">{{home_bet_title}}</label>
<input required type="integer" name="{{home_bet_reference}}"
id="{{home_bet_reference}}" value="{{home_bet}}"></input>
/
<input required type="integer" name="{{away_bet_reference}}"
id="{{away_bet_reference}}" value="{{away_bet}}"></input>
<label for="{{away_bet_reference}}">{{away_bet_title}}</label>
<!--input type="radio" name="couscous" id="couscous_2" required />
<label for="couscous_2">Away</label-->
</li>{{/each}}
</ul>
<input type="submit" value="Save"></input>
</form>
</script>
<script src="world_cup_2018_launcher.js"></script>
</head>
<body>
<header>
<h1>Fifa World Cup</h1>
<p>Russia 2018</p>
</header>
<main></main>
</body>
</html>
\ No newline at end of file
erp5_web_renderjs_ui
\ No newline at end of file
document_module/world_cup_2018*
image_module/world_cup_2018*
web_page_module/world_cup_2018*
web_site_module/world_cup_2018
\ No newline at end of file
document_module/world_cup_2018*
image_module/world_cup_2018*
web_page_module/world_cup_2018*
web_site_module/world_cup_2018
\ No newline at end of file
document_module/world_cup_2018*
image_module/world_cup_2018*
web_page_module/world_cup_2018*
web_site_module/world_cup_2018
web_site_module/world_cup_2018/**
\ No newline at end of file
erp5_web_but
\ No newline at end of file
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