Commit 854bda32 authored by Marianne's avatar Marianne

mini poster

parent 3d09744d
RESOURCES
PIECE
+ Type
+ Material
+ Width
+ Height
PRINT
+ Type
+ Height
+ Width
TOOL
+ Languages
PARTICIPANTS
\ No newline at end of file
{
"output": {
"dir": "assets/css",
"structure": "flat"
},
"compile": {
"line-comments": false,
"line-numbers": false,
"style": "nested"
}
}
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
* {
box-sizing: border-box; }
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;
text-decoration: none;
box-sizing: border-box;
font-style: normal;
font-weight: normal; }
/* 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; }
a {
color: inherit;
cursor: pointer; }
select {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
border: 0; }
select::-ms-expand {
display: none; }
html {
font-size: 16px; }
body > #pad {
position: fixed;
top: 1rem;
right: 1rem;
width: 15rem;
border: solid 1px;
background-color: white; }
body > #pad > iframe {
width: 100%;
height: 30rem; }
body > #buttons {
position: fixed;
display: flex;
flex-wrap: wrap;
bottom: 1rem;
right: 0; }
body > #buttons > li {
width: 5rem;
margin: 0 1rem 0 0;
padding: 0.5rem;
background-color: white;
text-align: center;
border: solid 1px; }
@import 'reset';
html{
font-size: 16px;
}
body{
>#pad{
position: fixed;
top: 1rem;
right:1rem;
width: 15rem;
border: solid 1px;
background-color: white;
>iframe{
width: 100%;
height: 30rem;
}
}
>#buttons{
position: fixed;
display: flex;
flex-wrap: wrap;
bottom: 1rem;
right: 0;
>li{
width: 5rem;
margin: 0 1rem 0 0;
padding: 0.5rem;
background-color: white;
text-align: center;
border: solid 1px;
}
>#refresh{
}
}
}
\ No newline at end of file
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
* {
box-sizing: border-box; }
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;
text-decoration: none;
box-sizing: border-box;
font-style: normal;
font-weight: normal; }
/* 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; }
a {
color: inherit;
cursor: pointer; }
select {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
border: 0; }
select::-ms-expand {
display: none; }
function ajax(receiver){
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange=function() {
if (this.readyState == 4 && this.status == 200) {
receiver.innerHTML = this.responseText;
}
};
xhttp.open("GET", "load.php");
xhttp.send();
}
function refresh(){
var receiver = document.getElementById("style");
var button = document.getElementById("refresh");
button.addEventListener("click", function(){
ajax(receiver);
});
}
refresh();
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<title>Poster</title>
<link rel="stylesheet" type="text/css" href="assets/css/main.css">
<style type="text/css" id="style">
<?= file_get_contents("http://127.0.0.1:9001/p/live-css/export/txt") ?>
</style>
</head>
<body>
<section class="poster">
Hey I'm the poster!
</section>
<section id="pad">
<iframe name="embed_readwrite" src="http://127.0.0.1:9001/p/live-css?showControls=true&showChat=true&showLineNumbers=true&useMonospaceFont=false"></iframe>
</section>
<ul id="buttons">
<li id="refresh">Refresh</li>
<li id="print">Print</li>
<li id="save">Save</li>
</ul>
<script type="text/javascript" src="assets/js/main.js"></script>
</body>
</html>
\ No newline at end of file
<?= file_get_contents("http://127.0.0.1:9001/p/live-css/export/txt") ?>
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/Users/planomarianne/Documents/Bureau/taff/2019/01-fig/tools-for-fig/site/user/plugins/admin/blueprints/config/media.yaml',
'modified' => 1549965213,
'data' => [
'title' => 'PLUGIN_ADMIN.MEDIA',
'form' => [
'validation' => 'loose',
'fields' => [
'types' => [
'name' => 'medias',
'type' => 'list',
'label' => 'PLUGIN_ADMIN.MEDIA_TYPES',
'style' => 'vertical',
'key' => 'extension',
'controls' => 'both',
'collapsed' => true,
'fields' => [
'.extension' => [
'type' => 'key',
'label' => 'PLUGIN_ADMIN.FILE_EXTENSION'
],
'.type' => [
'type' => 'text',
'label' => 'PLUGIN_ADMIN.TYPE'
],
'.thumb' => [
'type' => 'text',
'label' => 'PLUGIN_ADMIN.THUMB'
],
'.mime' => [
'type' => 'text',
'label' => 'PLUGIN_ADMIN.MIME_TYPE',
'validate' => [
'type' => 'lower'
]
],
'.image' => [
'type' => 'textarea',
'yaml' => true,
'label' => 'PLUGIN_ADMIN.IMAGE_OPTIONS',
'validate' => [
'type' => 'yaml'
]
]
]
]
]
]
]
];
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/Users/planomarianne/Documents/Bureau/taff/2019/01-fig/tools-for-fig/site/user/accounts/marianne.yaml',
'modified' => 1549965590,
'data' => [
'email' => '[email protected]',
'access' => [
'admin' => [
'login' => true,
'super' => true
],
'site' => [
'login' => true
]
],
'fullname' => 'Marianne',
'title' => NULL,
'state' => 'enabled',
'hashed_password' => '$2y$10$CMGfvf.rjxqqYt3OrDpLheaPh2EqgrKfJdJSndTnWwCU0Mvwc.Qw.'
]
];
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/Users/planomarianne/Documents/Bureau/taff/2019/01-fig/tools-for-fig/site/user/plugins/admin/blueprints/admin/pages/move.yaml',
'modified' => 1549965213,
'data' => [
'form' => [
'validation' => 'loose',
'fields' => [
'route' => [
'type' => 'parents',
'label' => 'PLUGIN_ADMIN.PARENT',
'classes' => 'fancy'
]
]
]
]
];
<?php
/* login.html.twig */
class __TwigTemplate_cdea07e9388f7bdd7e2d8f1666599cd90b73c281e367e59294d066bca38382fe extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
$context["user"] = $this->getAttribute(($context["grav"] ?? null), "user", []);
// line 2
echo "
";
// line 3
if (($this->getAttribute(($context["user"] ?? null), "username", []) && $this->getAttribute(($context["user"] ?? null), "authenticated", []))) {
// line 4
echo " ";
if (( !$this->getAttribute(($context["user"] ?? null), "authorized", []) && $this->getAttribute(($context["user"] ?? null), "twofa_enabled", []))) {
// line 5
echo " ";
$this->loadTemplate("partials/login-twofa.html.twig", "login.html.twig", 5)->display($context);
// line 6
echo " ";
} else {
// line 7
echo " ";
$this->loadTemplate("partials/login-logout.html.twig", "login.html.twig", 7)->display($context);
// line 8
echo " ";
}
} else {
// line 10
echo " ";
$this->loadTemplate("partials/login-form.html.twig", "login.html.twig", 10)->display($context);
}
}
public function getTemplateName()
{
return "login.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 42 => 10, 38 => 8, 35 => 7, 32 => 6, 29 => 5, 26 => 4, 24 => 3, 21 => 2, 19 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Twig_Source("{% set user = grav.user %}
{% if user.username and user.authenticated %}
{% if not user.authorized and user.twofa_enabled %}
{% include 'partials/login-twofa.html.twig' %}
{% else %}
{% include 'partials/login-logout.html.twig' %}
{% endif %}
{% else %}
{% include 'partials/login-form.html.twig' %}
{% endif %}", "login.html.twig", "/Users/planomarianne/Documents/Bureau/taff/2019/01-fig/tools-for-fig/site/user/plugins/admin/themes/grav/templates/login.html.twig");
}
}
<?php
/* forms/fields/xss/xss.html.twig */
class __TwigTemplate_ac0f5228731f325f26007e092cd78558b225aa836aa4de4c4c3dfbfbe02ac0a6 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
$context["xss_header"] = $this->env->getExtension('Grav\Common\Twig\TwigExtension')->arrayFilter($this->getAttribute(($context["data"] ?? null), "value", [0 => "header"], "method"));
// line 2
$context["xss_content"] = $this->getAttribute(($context["data"] ?? null), "value", [0 => "content"], "method");
// line 3
$context["xss_status"] = $this->env->getExtension('Grav\Common\Twig\TwigExtension')->xssFunc(["header" => ($context["xss_header"] ?? null), "content" => ($context["xss_content"] ?? null)]);
// line 4
if ( !twig_test_empty(($context["xss_status"] ?? null))) {
// line 5
echo " <div class=\"notice alert\">";
echo $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.XSS_ISSUE", [0 => ($context["xss_status"] ?? null)]);
echo "</div>
";
}
}
public function getTemplateName()
{
return "forms/fields/xss/xss.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 27 => 5, 25 => 4, 23 => 3, 21 => 2, 19 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Twig_Source("{% set xss_header = data.value('header')|array %}
{% set xss_content = data.value('content') %}
{% set xss_status = xss({header: xss_header, content: xss_content}) %}
{% if xss_status is not empty %}
<div class=\"notice alert\">{{ \"PLUGIN_ADMIN.XSS_ISSUE\"|tu([xss_status])|raw }}</div>
{% endif %}
", "forms/fields/xss/xss.html.twig", "/Users/planomarianne/Documents/Bureau/taff/2019/01-fig/tools-for-fig/site/user/plugins/admin/themes/grav/templates/forms/fields/xss/xss.html.twig");
}
}
<?php
/* forms/fields/selectize/selectize.html.twig */
class __TwigTemplate_149b63fe1be32bf42de4533c95c59c5631a33f994e1be5e5ccae79124bc977e6 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate("forms/field.html.twig", "forms/fields/selectize/selectize.html.twig", 1);
$this->blocks = [
'global_attributes' => [$this, 'block_global_attributes'],
'input_attributes' => [$this, 'block_input_attributes'],
];
}
protected function doGetParent(array $context)
{
return "forms/field.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_global_attributes($context, array $blocks = [])
{
// line 4
echo " data-grav-selectize=\"";
echo twig_escape_filter($this->env, twig_jsonencode_filter((($this->getAttribute(($context["field"] ?? null), "selectize", [], "any", true, true)) ? (twig_array_merge($this->getAttribute(($context["field"] ?? null), "selectize", []), ["create" => true])) : (["create" => true]))), "html_attr");
echo "\"
";
// line 5
$this->displayParentBlock("global_attributes", $context, $blocks);
echo "
";
}
// line 8
public function block_input_attributes($context, array $blocks = [])
{
// line 9
echo " type=\"text\"
";
// line 10
$this->displayParentBlock("input_attributes", $context, $blocks);
echo "
";
}
public function getTemplateName()
{
return "forms/fields/selectize/selectize.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 49 => 10, 46 => 9, 43 => 8, 37 => 5, 32 => 4, 29 => 3, 11 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);