Browse Source

add blueprint

Kévin Tessier 5 years ago
parent
commit
c8ab9ad306
33 changed files with 437 additions and 46 deletions
  1. 1 1
      cache/compiled/blueprints/master-localhost.php
  2. 3 3
      cache/compiled/config/master-localhost.php
  3. 2 2
      cache/compiled/files/338acb93a34599d63ce5586d2cbc95b6.yaml.php
  4. 48 0
      cache/compiled/files/5ed7d41388774dd169b9041debf4a0ba.yaml.php
  5. 48 0
      cache/compiled/files/d59224acdc3d5065fdb7550248bea223.yaml.php
  6. 48 0
      cache/compiled/files/d5c3735f2b2310d67d4d800ff02f92bc.yaml.php
  7. 1 1
      cache/compiled/files/e9bc7150dcbf56b0927c0ec3e15f00f2.yaml.php
  8. 2 2
      cache/compiled/languages/master-localhost.php
  9. 0 0
      cache/problem-check-g-58d7bdf5
  10. 1 1
      logs/popularity/daily.json
  11. 1 1
      logs/popularity/monthly.json
  12. 1 1
      logs/popularity/totals.json
  13. 1 1
      logs/popularity/visitors.json
  14. 0 1
      user/pages/01._interviews/interviews.md
  15. 6 0
      user/pages/_links/links.md
  16. 9 0
      user/pages/_recits/_11-avril-2017/text.md
  17. 10 0
      user/pages/_recits/_30-janvier-2017/text.md
  18. 7 0
      user/pages/_recits/recit.md
  19. 4 0
      user/pages/_reseaux-sociaux/reseausociaux.md
  20. 6 0
      user/pages/_streetmap/streetmap.md
  21. 0 8
      user/pages/links/default.md
  22. 0 8
      user/pages/recits/default.md
  23. 0 8
      user/pages/reseauxsociaux/default.md
  24. 0 8
      user/pages/streetmap/default.md
  25. 38 0
      user/themes/r2c/blueprints/modular/interviews.yaml
  26. 38 0
      user/themes/r2c/blueprints/modular/links.yaml
  27. 38 0
      user/themes/r2c/blueprints/modular/recit.yaml
  28. 38 0
      user/themes/r2c/blueprints/modular/reseausociaux.yaml
  29. 38 0
      user/themes/r2c/blueprints/modular/streetmap.yaml
  30. 12 0
      user/themes/r2c/templates/modular/links.html.twig
  31. 12 0
      user/themes/r2c/templates/modular/recit.html.twig
  32. 12 0
      user/themes/r2c/templates/modular/reseausociaux.html.twig
  33. 12 0
      user/themes/r2c/templates/modular/streetmap.html.twig

+ 1 - 1
cache/compiled/blueprints/master-localhost.php

@@ -1,7 +1,7 @@
 <?php
 return [
     '@class' => 'Grav\\Common\\Config\\CompiledBlueprints',
-    'timestamp' => 1531320856,
+    'timestamp' => 1531324257,
     'checksum' => 'fad855d5a7e0ccacc06cc1694e3790df',
     'files' => [
         'system/blueprints/config' => [

+ 3 - 3
cache/compiled/config/master-localhost.php

@@ -1,8 +1,8 @@
 <?php
 return [
     '@class' => 'Grav\\Common\\Config\\CompiledConfig',
-    'timestamp' => 1531320856,
-    'checksum' => '31d508172d1d26ad70dff79f426151fa',
+    'timestamp' => 1531324257,
+    'checksum' => 'f7dd0da9baca1c71997fbdd08d4aba80',
     'files' => [
         'user/config' => [
             'media' => [
@@ -23,7 +23,7 @@ return [
             ],
             'system' => [
                 'file' => 'user/config/system.yaml',
-                'modified' => 1531320856
+                'modified' => 1531324256
             ]
         ],
         'system/config' => [

+ 2 - 2
cache/compiled/files/c0eae71af55302f284a81364b5e6193d.yaml.php → cache/compiled/files/338acb93a34599d63ce5586d2cbc95b6.yaml.php

@@ -1,8 +1,8 @@
 <?php
 return [
     '@class' => 'Grav\\Common\\File\\CompiledYamlFile',
-    'filename' => '/var/www/html/system/blueprints/pages/modular.yaml',
-    'modified' => 1529597236,
+    'filename' => '/var/www/html/user/themes/r2c/blueprints/modular/recit.yaml',
+    'modified' => 1531324642,
     'data' => [
         'title' => 'PLUGIN_ADMIN.MODULAR',
         'extends@' => 'default',

+ 48 - 0
cache/compiled/files/5ed7d41388774dd169b9041debf4a0ba.yaml.php

@@ -0,0 +1,48 @@
+<?php
+return [
+    '@class' => 'Grav\\Common\\File\\CompiledYamlFile',
+    'filename' => '/var/www/html/user/themes/r2c/blueprints/modular/links.yaml',
+    'modified' => 1531324728,
+    'data' => [
+        'title' => 'PLUGIN_ADMIN.MODULAR',
+        'extends@' => 'default',
+        'form' => [
+            'fields' => [
+                'tabs' => [
+                    'type' => 'tabs',
+                    'active' => 1,
+                    'fields' => [
+                        'content' => [
+                            'fields' => [
+                                'modular_title' => [
+                                    'type' => 'spacer',
+                                    'title' => 'PLUGIN_ADMIN.MODULAR_SETUP'
+                                ],
+                                'header.content.items' => [
+                                    'type' => 'text',
+                                    'label' => 'PLUGIN_ADMIN.ITEMS',
+                                    'default' => '@self.modular',
+                                    'size' => 'medium'
+                                ],
+                                'header.content.order.by' => [
+                                    'type' => 'text',
+                                    'label' => 'PLUGIN_ADMIN.ORDER_BY',
+                                    'placeholder' => 'date',
+                                    'help' => NULL,
+                                    'size' => 'small'
+                                ],
+                                'header.content.order.dir' => [
+                                    'type' => 'text',
+                                    'label' => 'PLUGIN_ADMIN.ORDER',
+                                    'help' => '"desc" or "asc" are valid values',
+                                    'placeholder' => 'desc',
+                                    'size' => 'small'
+                                ]
+                            ]
+                        ]
+                    ]
+                ]
+            ]
+        ]
+    ]
+];

+ 48 - 0
cache/compiled/files/d59224acdc3d5065fdb7550248bea223.yaml.php

@@ -0,0 +1,48 @@
+<?php
+return [
+    '@class' => 'Grav\\Common\\File\\CompiledYamlFile',
+    'filename' => '/var/www/html/user/themes/r2c/blueprints/modular/streetmap.yaml',
+    'modified' => 1531324747,
+    'data' => [
+        'title' => 'PLUGIN_ADMIN.MODULAR',
+        'extends@' => 'default',
+        'form' => [
+            'fields' => [
+                'tabs' => [
+                    'type' => 'tabs',
+                    'active' => 1,
+                    'fields' => [
+                        'content' => [
+                            'fields' => [
+                                'modular_title' => [
+                                    'type' => 'spacer',
+                                    'title' => 'PLUGIN_ADMIN.MODULAR_SETUP'
+                                ],
+                                'header.content.items' => [
+                                    'type' => 'text',
+                                    'label' => 'PLUGIN_ADMIN.ITEMS',
+                                    'default' => '@self.modular',
+                                    'size' => 'medium'
+                                ],
+                                'header.content.order.by' => [
+                                    'type' => 'text',
+                                    'label' => 'PLUGIN_ADMIN.ORDER_BY',
+                                    'placeholder' => 'date',
+                                    'help' => NULL,
+                                    'size' => 'small'
+                                ],
+                                'header.content.order.dir' => [
+                                    'type' => 'text',
+                                    'label' => 'PLUGIN_ADMIN.ORDER',
+                                    'help' => '"desc" or "asc" are valid values',
+                                    'placeholder' => 'desc',
+                                    'size' => 'small'
+                                ]
+                            ]
+                        ]
+                    ]
+                ]
+            ]
+        ]
+    ]
+];

+ 48 - 0
cache/compiled/files/d5c3735f2b2310d67d4d800ff02f92bc.yaml.php

@@ -0,0 +1,48 @@
+<?php
+return [
+    '@class' => 'Grav\\Common\\File\\CompiledYamlFile',
+    'filename' => '/var/www/html/user/themes/r2c/blueprints/modular/reseausociaux.yaml',
+    'modified' => 1531324735,
+    'data' => [
+        'title' => 'PLUGIN_ADMIN.MODULAR',
+        'extends@' => 'default',
+        'form' => [
+            'fields' => [
+                'tabs' => [
+                    'type' => 'tabs',
+                    'active' => 1,
+                    'fields' => [
+                        'content' => [
+                            'fields' => [
+                                'modular_title' => [
+                                    'type' => 'spacer',
+                                    'title' => 'PLUGIN_ADMIN.MODULAR_SETUP'
+                                ],
+                                'header.content.items' => [
+                                    'type' => 'text',
+                                    'label' => 'PLUGIN_ADMIN.ITEMS',
+                                    'default' => '@self.modular',
+                                    'size' => 'medium'
+                                ],
+                                'header.content.order.by' => [
+                                    'type' => 'text',
+                                    'label' => 'PLUGIN_ADMIN.ORDER_BY',
+                                    'placeholder' => 'date',
+                                    'help' => NULL,
+                                    'size' => 'small'
+                                ],
+                                'header.content.order.dir' => [
+                                    'type' => 'text',
+                                    'label' => 'PLUGIN_ADMIN.ORDER',
+                                    'help' => '"desc" or "asc" are valid values',
+                                    'placeholder' => 'desc',
+                                    'size' => 'small'
+                                ]
+                            ]
+                        ]
+                    ]
+                ]
+            ]
+        ]
+    ]
+];

+ 1 - 1
cache/compiled/files/e9bc7150dcbf56b0927c0ec3e15f00f2.yaml.php

@@ -2,7 +2,7 @@
 return [
     '@class' => 'Grav\\Common\\File\\CompiledYamlFile',
     'filename' => '/var/www/html/user/config/system.yaml',
-    'modified' => 1531320856,
+    'modified' => 1531324256,
     'data' => [
         'absolute_urls' => false,
         'param_sep' => ':',

+ 2 - 2
cache/compiled/languages/master-localhost.php

@@ -1,7 +1,7 @@
 <?php
 return [
     '@class' => 'Grav\\Common\\Config\\CompiledLanguages',
-    'timestamp' => 1531320858,
+    'timestamp' => 1531324258,
     'checksum' => '09c224178739f64346019fcb4930233a',
     'files' => [
         'system/languages' => [
@@ -22871,6 +22871,6 @@ Path: `%2$s`
             ]
         ],
         'checksum' => '09c224178739f64346019fcb4930233a',
-        'timestamp' => 1531320858
+        'timestamp' => 1531324258
     ]
 ];

+ 0 - 0
cache/problem-check-g-3b1c2540 → cache/problem-check-g-58d7bdf5


+ 1 - 1
logs/popularity/daily.json

@@ -1 +1 @@
-{"02-07-2018":140,"03-07-2018":176,"04-07-2018":10,"11-07-2018":127}
+{"02-07-2018":140,"03-07-2018":176,"04-07-2018":10,"11-07-2018":131}

+ 1 - 1
logs/popularity/monthly.json

@@ -1 +1 @@
-{"07-2018":453}
+{"07-2018":457}

+ 1 - 1
logs/popularity/totals.json

@@ -1 +1 @@
-{"\/":453}
+{"\/":457}

+ 1 - 1
logs/popularity/visitors.json

@@ -1 +1 @@
-{"79c47964f1cd8a7f86f7fb4e1c1ac6bdb2551b4b":1531323658,"4b84b15bff6ee5796152495a230e45e3d7e947d9":1530699635}
+{"79c47964f1cd8a7f86f7fb4e1c1ac6bdb2551b4b":1531324663,"4b84b15bff6ee5796152495a230e45e3d7e947d9":1530699635}

+ 0 - 1
user/pages/01._interviews/interviews.md

@@ -5,4 +5,3 @@ content:
     items: '@self.modular'
 ---
 
-xx

+ 6 - 0
user/pages/_links/links.md

@@ -0,0 +1,6 @@
+---
+title: links
+content:
+    items: '@self.modular'
+---
+

File diff suppressed because it is too large
+ 9 - 0
user/pages/_recits/_11-avril-2017/text.md


File diff suppressed because it is too large
+ 10 - 0
user/pages/_recits/_30-janvier-2017/text.md


+ 7 - 0
user/pages/_recits/recit.md

@@ -0,0 +1,7 @@
+---
+title: Récits
+body_classes: modular
+content:
+	items: '@self.modular'
+---
+

+ 4 - 0
user/pages/_reseaux-sociaux/reseausociaux.md

@@ -0,0 +1,4 @@
+---
+title: 'Réseaux sociaux'
+---
+

+ 6 - 0
user/pages/_streetmap/streetmap.md

@@ -0,0 +1,6 @@
+---
+title: Streetmap
+content:
+    items: '@self.modular'
+---
+

+ 0 - 8
user/pages/links/default.md

@@ -1,8 +0,0 @@
----
-title: ''
-media_order: ''
-body_classes: ''
-order_by: ''
-order_manual: ''
----
-

+ 0 - 8
user/pages/recits/default.md

@@ -1,8 +0,0 @@
----
-title: ''
-media_order: ''
-body_classes: ''
-order_by: ''
-order_manual: ''
----
-

+ 0 - 8
user/pages/reseauxsociaux/default.md

@@ -1,8 +0,0 @@
----
-title: ''
-media_order: ''
-body_classes: ''
-order_by: ''
-order_manual: ''
----
-

+ 0 - 8
user/pages/streetmap/default.md

@@ -1,8 +0,0 @@
----
-title: ''
-media_order: ''
-body_classes: ''
-order_by: ''
-order_manual: ''
----
-

+ 38 - 0
user/themes/r2c/blueprints/modular/interviews.yaml

@@ -0,0 +1,38 @@
+title: PLUGIN_ADMIN.MODULAR
+extends@: default
+
+form:
+  fields:
+    tabs:
+      type: tabs
+      active: 1
+
+      fields:
+        content:
+          fields:
+
+            modular_title:
+              type: spacer
+              title: PLUGIN_ADMIN.MODULAR_SETUP
+
+            header.content.items:
+              type: text
+              label: PLUGIN_ADMIN.ITEMS
+              default: '@self.modular'
+              size: medium
+
+            header.content.order.by:
+              type: text
+              label: PLUGIN_ADMIN.ORDER_BY
+              placeholder: date
+              help:
+              size: small
+
+            header.content.order.dir:
+              type: text
+              label: PLUGIN_ADMIN.ORDER
+              help: '"desc" or "asc" are valid values'
+              placeholder: desc
+              size: small
+
+

+ 38 - 0
user/themes/r2c/blueprints/modular/links.yaml

@@ -0,0 +1,38 @@
+title: PLUGIN_ADMIN.MODULAR
+extends@: default
+
+form:
+  fields:
+    tabs:
+      type: tabs
+      active: 1
+
+      fields:
+        content:
+          fields:
+
+            modular_title:
+              type: spacer
+              title: PLUGIN_ADMIN.MODULAR_SETUP
+
+            header.content.items:
+              type: text
+              label: PLUGIN_ADMIN.ITEMS
+              default: '@self.modular'
+              size: medium
+
+            header.content.order.by:
+              type: text
+              label: PLUGIN_ADMIN.ORDER_BY
+              placeholder: date
+              help:
+              size: small
+
+            header.content.order.dir:
+              type: text
+              label: PLUGIN_ADMIN.ORDER
+              help: '"desc" or "asc" are valid values'
+              placeholder: desc
+              size: small
+
+

+ 38 - 0
user/themes/r2c/blueprints/modular/recit.yaml

@@ -0,0 +1,38 @@
+title: PLUGIN_ADMIN.MODULAR
+extends@: default
+
+form:
+  fields:
+    tabs:
+      type: tabs
+      active: 1
+
+      fields:
+        content:
+          fields:
+
+            modular_title:
+              type: spacer
+              title: PLUGIN_ADMIN.MODULAR_SETUP
+
+            header.content.items:
+              type: text
+              label: PLUGIN_ADMIN.ITEMS
+              default: '@self.modular'
+              size: medium
+
+            header.content.order.by:
+              type: text
+              label: PLUGIN_ADMIN.ORDER_BY
+              placeholder: date
+              help:
+              size: small
+
+            header.content.order.dir:
+              type: text
+              label: PLUGIN_ADMIN.ORDER
+              help: '"desc" or "asc" are valid values'
+              placeholder: desc
+              size: small
+
+

+ 38 - 0
user/themes/r2c/blueprints/modular/reseausociaux.yaml

@@ -0,0 +1,38 @@
+title: PLUGIN_ADMIN.MODULAR
+extends@: default
+
+form:
+  fields:
+    tabs:
+      type: tabs
+      active: 1
+
+      fields:
+        content:
+          fields:
+
+            modular_title:
+              type: spacer
+              title: PLUGIN_ADMIN.MODULAR_SETUP
+
+            header.content.items:
+              type: text
+              label: PLUGIN_ADMIN.ITEMS
+              default: '@self.modular'
+              size: medium
+
+            header.content.order.by:
+              type: text
+              label: PLUGIN_ADMIN.ORDER_BY
+              placeholder: date
+              help:
+              size: small
+
+            header.content.order.dir:
+              type: text
+              label: PLUGIN_ADMIN.ORDER
+              help: '"desc" or "asc" are valid values'
+              placeholder: desc
+              size: small
+
+

+ 38 - 0
user/themes/r2c/blueprints/modular/streetmap.yaml

@@ -0,0 +1,38 @@
+title: PLUGIN_ADMIN.MODULAR
+extends@: default
+
+form:
+  fields:
+    tabs:
+      type: tabs
+      active: 1
+
+      fields:
+        content:
+          fields:
+
+            modular_title:
+              type: spacer
+              title: PLUGIN_ADMIN.MODULAR_SETUP
+
+            header.content.items:
+              type: text
+              label: PLUGIN_ADMIN.ITEMS
+              default: '@self.modular'
+              size: medium
+
+            header.content.order.by:
+              type: text
+              label: PLUGIN_ADMIN.ORDER_BY
+              placeholder: date
+              help:
+              size: small
+
+            header.content.order.dir:
+              type: text
+              label: PLUGIN_ADMIN.ORDER
+              help: '"desc" or "asc" are valid values'
+              placeholder: desc
+              size: small
+
+

+ 12 - 0
user/themes/r2c/templates/modular/links.html.twig

@@ -0,0 +1,12 @@
+{% set grid_size = theme_var('grid-size') %}
+{% set image = page.media.images|first %}
+{% macro pageLinkName(text) %}{{ text|lower|replace({' ':'_'}) }}{% endmacro %}
+
+{% block body %}
+    {% for module in page.collection %}
+      <div id="{{ _self.pageLinkName(module.folder)|replace({"0":"", "1":"", "2":"", "3":"", "4":"", "5":"", "6":"", "7":"", "8":"", "9":"", ".":"","_":"" }) }}">
+          {{ module.content }}
+      </div>
+    {% endfor %}
+  {% endblock %}
+ 

+ 12 - 0
user/themes/r2c/templates/modular/recit.html.twig

@@ -0,0 +1,12 @@
+{% set grid_size = theme_var('grid-size') %}
+{% set image = page.media.images|first %}
+{% macro pageLinkName(text) %}{{ text|lower|replace({' ':'_'}) }}{% endmacro %}
+
+{% block body %}
+    {% for module in page.collection %}
+      <div id="{{ _self.pageLinkName(module.folder)|replace({"0":"", "1":"", "2":"", "3":"", "4":"", "5":"", "6":"", "7":"", "8":"", "9":"", ".":"","_":"" }) }}">
+          {{ module.content }}
+      </div>
+    {% endfor %}
+  {% endblock %}
+ 

+ 12 - 0
user/themes/r2c/templates/modular/reseausociaux.html.twig

@@ -0,0 +1,12 @@
+{% set grid_size = theme_var('grid-size') %}
+{% set image = page.media.images|first %}
+{% macro pageLinkName(text) %}{{ text|lower|replace({' ':'_'}) }}{% endmacro %}
+
+{% block body %}
+    {% for module in page.collection %}
+      <div id="{{ _self.pageLinkName(module.folder)|replace({"0":"", "1":"", "2":"", "3":"", "4":"", "5":"", "6":"", "7":"", "8":"", "9":"", ".":"","_":"" }) }}">
+          {{ module.content }}
+      </div>
+    {% endfor %}
+  {% endblock %}
+ 

+ 12 - 0
user/themes/r2c/templates/modular/streetmap.html.twig

@@ -0,0 +1,12 @@
+{% set grid_size = theme_var('grid-size') %}
+{% set image = page.media.images|first %}
+{% macro pageLinkName(text) %}{{ text|lower|replace({' ':'_'}) }}{% endmacro %}
+
+{% block body %}
+    {% for module in page.collection %}
+      <div id="{{ _self.pageLinkName(module.folder)|replace({"0":"", "1":"", "2":"", "3":"", "4":"", "5":"", "6":"", "7":"", "8":"", "9":"", ".":"","_":"" }) }}">
+          {{ module.content }}
+      </div>
+    {% endfor %}
+  {% endblock %}
+ 

Some files were not shown because too many files changed in this diff