status-report-general-info.html.twig 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. {#
  2. /**
  3. * @file
  4. * Theme override for status report general info.
  5. *
  6. * Available variables:
  7. * - drupal: The status of Drupal installation:
  8. * - value: The current status of Drupal installation.
  9. * - description: The description for current status of Drupal installation.
  10. * - cron: The status of cron:
  11. * - value: The current status of cron.
  12. * - description: The description for current status of cron.
  13. * - cron.run_cron: An array to render a button for running cron.
  14. * - database_system: The status of database system:
  15. * - value: The current status of database sytem.
  16. * - description: The description for current status of cron.
  17. * - database_system_version: The info about current database version:
  18. * - value: The current version of database.
  19. * - description: The description for current version of database.
  20. * - php: The current version of PHP:
  21. * - value: The status of currently installed PHP version.
  22. * - description: The description for current installed PHP version.
  23. * - php_memory_limit: The info about current PHP memory limit:
  24. * - value: The status of currently set PHP memory limit.
  25. * - description: The description for currently set PHP memory limit.
  26. * - webserver: The info about currently installed web server:
  27. * - value: The status of currently installed web server.
  28. * - description: The description for the status of currently installed web
  29. * server.
  30. */
  31. #}
  32. <div class="system-status-general-info">
  33. <h2 class="system-status-general-info__header">{{ 'General System Information'|t }}</h2>
  34. <div class="system-status-general-info__items">
  35. <div class="system-status-general-info__item">
  36. <span class="system-status-general-info__item-icon system-status-general-info__item-icon--d8"></span>
  37. <div class="system-status-general-info__item-details">
  38. <h3 class="system-status-general-info__item-title">{{ 'Drupal Version'|t }}</h3>
  39. {{ drupal.value }}
  40. {% if drupal.description %}
  41. <div class="description">{{ drupal.description }}</div>
  42. {% endif %}
  43. </div>
  44. </div>
  45. <div class="system-status-general-info__item">
  46. <span class="system-status-general-info__item-icon system-status-general-info__item-icon--clock"></span>
  47. <div class="system-status-general-info__item-details">
  48. <h3 class="system-status-general-info__item-title">{{ 'Last Cron Run'|t }}</h3>
  49. {{ cron.value }}
  50. {% if cron.run_cron %}
  51. <div class="system-status-general-info__run-cron">{{ cron.run_cron }}</div>
  52. {% endif %}
  53. {% if cron.description %}
  54. <div class="system-status-general-info__description">{{ cron.description }}</div>
  55. {% endif %}
  56. </div>
  57. </div>
  58. <div class="system-status-general-info__item">
  59. <span class="system-status-general-info__item-icon system-status-general-info__item-icon--server"></span>
  60. <div class="system-status-general-info__item-details">
  61. <h3 class="system-status-general-info__item-title">{{ 'Web Server'|t }}</h3>
  62. {{ webserver.value }}
  63. {% if webserver.description %}
  64. <div class="description">{{ webserver.description }}</div>
  65. {% endif %}
  66. </div>
  67. </div>
  68. <div class="system-status-general-info__item">
  69. <span class="system-status-general-info__item-icon system-status-general-info__item-icon--php"></span>
  70. <div class="system-status-general-info__item-details">
  71. <h3 class="system-status-general-info__item-title">{{ 'PHP'|t }}</h3>
  72. <h4 class="system-status-general-info__sub-item-title">{{ 'Version'|t }}</h4>{{ php.value }}
  73. {% if php.description %}
  74. <div class="description">{{ php.description }}</div>
  75. {% endif %}
  76. <h4 class="system-status-general-info__sub-item-title">{{ 'Memory limit'|t }}</h4>{{ php_memory_limit.value }}
  77. {% if php_memory_limit.description %}
  78. <div class="description">{{ php_memory_limit.description }}</div>
  79. {% endif %}
  80. </div>
  81. </div>
  82. <div class="system-status-general-info__item">
  83. <span class="system-status-general-info__item-icon system-status-general-info__item-icon--database"></span>
  84. <div class="system-status-general-info__item-details">
  85. <h3 class="system-status-general-info__item-title">{{ 'Database'|t }}</h3>
  86. <h4 class="system-status-general-info__sub-item-title">{{ 'Version'|t }}</h4>{{ database_system_version.value }}
  87. {% if database_system_version.description %}
  88. <div class="description">{{ database_system_version.description }}</div>
  89. {% endif %}
  90. <h4 class="system-status-general-info__sub-item-title">{{ 'System'|t }}</h4>{{ database_system.value }}
  91. {% if database_system.description %}
  92. <div class="description">{{ database_system.description }}</div>
  93. {% endif %}
  94. </div>
  95. </div>
  96. </div>
  97. </div>