Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IBX-1689: Change all ez- classes/IDs and eZ variables in frontend part #11

Merged
merged 2 commits into from
Dec 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
items: composer_items,
} only %}

<section class="ez-fieldgroup">
<h2 class="ez-fieldgroup__name">{{ 'packages'|trans|desc('Packages') }}</h2>
<div class="ez-fieldgroup__content">
<section class="ibexa-fieldgroup">
<h2 class="ibexa-fieldgroup__name">{{ 'packages'|trans|desc('Packages') }}</h2>
<div class="ibexa-fieldgroup__content">
{% set body_rows = [] %}
{% for package in info.packages %}
{% set col_name %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@

<!-- Tab name: {{ 'tab.name.hardware'|trans|desc('Hardware') }} -->

<section class="ez-fieldgroup">
<h2 class="ez-fieldgroup__name">{{ 'hardware'|trans|desc('Hardware') }}</h2>
<div class="ez-fieldgroup__content">
<table class="table ez-table--list ez-table--to-left">
<section class="ibexa-fieldgroup">
<h2 class="ibexa-fieldgroup__name">{{ 'hardware'|trans|desc('Hardware') }}</h2>
<div class="ibexa-fieldgroup__content">
<table class="table ibexa-table--list ibexa-table--to-left">
<tbody>
<tr class="ez-table__row">
<td class="ez-table__cell">{{ 'cpu'|trans|desc('CPU') }}</td>
<td class="ez-table__cell">
<tr class="ibexa-table__row">
<td class="ibexa-table__cell">{{ 'cpu'|trans|desc('CPU') }}</td>
<td class="ibexa-table__cell">
{{ info.cpuType }}
{% if info.cpuSpeed %}
({{ info.cpuCount }}x{{ info.cpuSpeed }}&nbsp;{{ 'mhz'|trans|desc('mhz') }})
{% endif %}
</td>
</tr>
<tr class="ez-table__row">
<td class="ez-table__cell">{{ 'memory'|trans|desc('Memory') }}</td>
<td class="ez-table__cell">{{ info.memorySize|ibexa_file_size( 1 ) }}</td>
<tr class="ibexa-table__row">
<td class="ibexa-table__cell">{{ 'memory'|trans|desc('Memory') }}</td>
<td class="ibexa-table__cell">{{ info.memorySize|ibexa_file_size( 1 ) }}</td>
</tr>
</tbody>
</table>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{% trans_default_domain 'systeminfo' %}

{% block body_class %}ez-info-view ez-has-full-width-footer{% endblock %}
{% block body_class %}ibexa-info-view ibexa-has-full-width-footer{% endblock %}

{% block breadcrumbs %}
<div class="container">
Expand All @@ -26,5 +26,5 @@
{% endblock %}

{% block javascripts %}
{{ encore_entry_script_tags('ezplatform-admin-ui-tabs-js', null, 'ibexa') }}
{{ encore_entry_script_tags('ibexa-admin-ui-tabs-js', null, 'ibexa') }}
{% endblock %}
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{% trans_default_domain "systeminfo" %}

<section class="ez-fieldgroup">
<h2 class="ez-fieldgroup__name">{{ 'invalid.system_unable_to_fetch'|trans|desc('System was unable to fetch corresponding data') }}</h2>
<div class="ez-fieldgroup__content">
<table class="table ez-table--list">
<section class="ibexa-fieldgroup">
<h2 class="ibexa-fieldgroup__name">{{ 'invalid.system_unable_to_fetch'|trans|desc('System was unable to fetch corresponding data') }}</h2>
<div class="ibexa-fieldgroup__content">
<table class="table ibexa-table--list">
<tbody>
<tr class="ez-table__row">
<td class="ez-table__cell">
<tr class="ibexa-table__row">
<td class="ibexa-table__cell">
{{ info.errorMessage }}
</td>
</tr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,45 +2,45 @@

<!-- Tab name: {{ 'tab.name.ibexa'|trans|desc('My Ibexa') }} -->

<section class="ez-fieldgroup">
<h2 class="ez-fieldgroup__name">{{ 'ibexa.product'|trans|desc('Product') }}</h2>
<div class="ez-fieldgroup__content">
<table class="table ez-table ez-table--list ez-table--to-left">
<section class="ibexa-fieldgroup">
<h2 class="ibexa-fieldgroup__name">{{ 'ibexa.product'|trans|desc('Product') }}</h2>
<div class="ibexa-fieldgroup__content">
<table class="table ibexa-table ibexa-table--list ibexa-table--to-left">
<tbody>
<tr class="ez-table__row">
<td class="ez-table__cell">{{ 'ibexa.name'|trans|desc('Name') }}</td>
<td class="ez-table__cell">{{ info.name }}</td>
<tr class="ibexa-table__row">
<td class="ibexa-table__cell">{{ 'ibexa.name'|trans|desc('Name') }}</td>
<td class="ibexa-table__cell">{{ info.name }}</td>
</tr>
<tr class="ez-table__row">
<td class="ez-table__cell">{{ 'ibexa.version'|trans|desc('Version') }}</td>
<td class="ez-table__cell">{{ info.release }}</td>
<tr class="ibexa-table__row">
<td class="ibexa-table__cell">{{ 'ibexa.version'|trans|desc('Version') }}</td>
<td class="ibexa-table__cell">{{ info.release }}</td>
</tr>
<tr class="ez-table__row">
<td class="ez-table__cell">{{ 'ibexa.is_trial'|trans|desc('Is Trial') }}</td>
<td class="ez-table__cell">
<tr class="ibexa-table__row">
<td class="ibexa-table__cell">{{ 'ibexa.is_trial'|trans|desc('Is Trial') }}</td>
<td class="ibexa-table__cell">
<svg class="ibexa-icon ibexa-icon--small">
<use xlink:href="{{ ibexa_icon_path(info.isTrial ? 'checkmark' : 'discard') }}"></use>
</svg>
</td>
</tr>
<tr class="ez-table__row">
<td class="ez-table__cell">{{ 'ibexa.stability'|trans|desc('Stability') }}</td>
<td class="ez-table__cell">{{ info.stability }}</td>
<tr class="ibexa-table__row">
<td class="ibexa-table__cell">{{ 'ibexa.stability'|trans|desc('Stability') }}</td>
<td class="ibexa-table__cell">{{ info.stability }}</td>
</tr>
{% if info.isEnterprise %}
<tr class="ez-table__row">
<td class="ez-table__cell">{{ 'ibexa.eom'|trans|desc('End of Maintenance') }}*</td>
<td class="ez-table__cell">
<tr class="ibexa-table__row">
<td class="ibexa-table__cell">{{ 'ibexa.eom'|trans|desc('End of Maintenance') }}*</td>
<td class="ibexa-table__cell">
{{ info.endOfMaintenanceDate is empty ? '' : info.endOfMaintenanceDate|date('F Y') }}
</td>
</tr>
<tr class="ez-table__row">
<td class="ez-table__cell">{{ 'ibexa.eol'|trans|desc('End of Life') }}*</td>
<td class="ez-table__cell">
<tr class="ibexa-table__row">
<td class="ibexa-table__cell">{{ 'ibexa.eol'|trans|desc('End of Life') }}*</td>
<td class="ibexa-table__cell">
{{ info.endOfLifeDate is empty ? '' : info.endOfLifeDate|date('F Y') }}
</td>
</tr>
<tr class="ez-table__row">
<tr class="ibexa-table__row">
<td colspan="2">
<hr/>
* {{ 'ibexa.read_more'|trans|desc('You can read more about Service Life for Ibexa DXP with a business license at') }}
Expand Down
20 changes: 10 additions & 10 deletions src/bundle/Resources/views/themes/admin/system_info/php.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@

<!-- Tab name: {{ 'tab.name.php'|trans|desc('PHP') }} -->

<section class="ez-fieldgroup">
<h2 class="ez-fieldgroup__name">{{ 'php'|trans|desc('PHP') }}</h2>
<div class="ez-fieldgroup__content">
<table class="table ez-table--list ez-table--to-left">
<section class="ibexa-fieldgroup">
<h2 class="ibexa-fieldgroup__name">{{ 'php'|trans|desc('PHP') }}</h2>
<div class="ibexa-fieldgroup__content">
<table class="table ibexa-table--list ibexa-table--to-left">
<tbody>
<tr class="ez-table__row">
<td class="ez-table__cell">{{ 'php'|trans|desc('PHP') }}</td>
<td class="ez-table__cell">
<tr class="ibexa-table__row">
<td class="ibexa-table__cell">{{ 'php'|trans|desc('PHP') }}</td>
<td class="ibexa-table__cell">
{{ info.version }}
(<a href="{{ path( 'ezplatform.systeminfo.php' ) }}"
target="_blank">{{ 'php.info'|trans|desc('PHP Info') }}</a>)
</td>
</tr>
<tr class="ez-table__row">
<td class="ez-table__cell">{{ 'php.accelerator'|trans|desc('Accelerator') }}</td>
<td class="ez-table__cell">
<tr class="ibexa-table__row">
<td class="ibexa-table__cell">{{ 'php.accelerator'|trans|desc('Accelerator') }}</td>
<td class="ibexa-table__cell">
{% if not info.acceleratorEnabled %}
<strong>{{ 'disabled'|trans|desc('Disabled') }}</strong>
{% endif %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,57 +2,57 @@

<!-- Tab name: {{ 'tab.name.repository'|trans|desc('Repository') }} -->

<section class="ez-fieldgroup">
<h2 class="ez-fieldgroup__name">{{ 'repository'|trans|desc('Repository') }}</h2>
<div class="ez-fieldgroup__content">
<table class="table ez-table--list">
<section class="ibexa-fieldgroup">
<h2 class="ibexa-fieldgroup__name">{{ 'repository'|trans|desc('Repository') }}</h2>
<div class="ibexa-fieldgroup__content">
<table class="table ibexa-table--list">
<tbody>
<tr class="ez-table__row">
<td class="ez-table__cell">
<tr class="ibexa-table__row">
<td class="ibexa-table__cell">
{{ 'repository.published_content_objects_count'|trans|desc('Published content objects count') }}
</td>
<td class="ez-table__cell">{{ info.repositoryMetrics.publishedCount }}</td>
<td class="ibexa-table__cell">{{ info.repositoryMetrics.publishedCount }}</td>
</tr>
<tr class="ez-table__row">
<td class="ez-table__cell">{{ 'repository.users_count'|trans|desc('Users count') }}</td>
<td class="ez-table__cell">{{ info.repositoryMetrics.usersCount }}</td>
<tr class="ibexa-table__row">
<td class="ibexa-table__cell">{{ 'repository.users_count'|trans|desc('Users count') }}</td>
<td class="ibexa-table__cell">{{ info.repositoryMetrics.usersCount }}</td>
</tr>
<tr class="ez-table__row">
<td class="ez-table__cell">{{ 'repository.drafts_count'|trans|desc('Drafts count') }}</td>
<td class="ez-table__cell">{{ info.repositoryMetrics.draftsCount }}</td>
<tr class="ibexa-table__row">
<td class="ibexa-table__cell">{{ 'repository.drafts_count'|trans|desc('Drafts count') }}</td>
<td class="ibexa-table__cell">{{ info.repositoryMetrics.draftsCount }}</td>
</tr>
<tr class="ez-table__row">
<td class="ez-table__cell">{{ 'repository.versions_count'|trans|desc('Versions count') }}</td>
<td class="ez-table__cell">{{ info.repositoryMetrics.versionsCount }}</td>
<tr class="ibexa-table__row">
<td class="ibexa-table__cell">{{ 'repository.versions_count'|trans|desc('Versions count') }}</td>
<td class="ibexa-table__cell">{{ info.repositoryMetrics.versionsCount }}</td>
</tr>
<tr class="ez-table__row">
<td class="ez-table__cell">{{ 'repository.content_types_count'|trans|desc('Content Types count') }}</td>
<td class="ez-table__cell">{{ info.repositoryMetrics.contentTypesCount }}</td>
<tr class="ibexa-table__row">
<td class="ibexa-table__cell">{{ 'repository.content_types_count'|trans|desc('Content Types count') }}</td>
<td class="ibexa-table__cell">{{ info.repositoryMetrics.contentTypesCount }}</td>
</tr>
</tbody>
</table>
</div>
</section>
<section class="ez-fieldgroup">
<h2 class="ez-fieldgroup__name">{{ 'database'|trans|desc('Database') }}</h2>
<div class="ez-fieldgroup__content">
<table class="table ez-table--list">
<section class="ibexa-fieldgroup">
<h2 class="ibexa-fieldgroup__name">{{ 'database'|trans|desc('Database') }}</h2>
<div class="ibexa-fieldgroup__content">
<table class="table ibexa-table--list">
<tbody>
<tr class="ez-table__row">
<td class="ez-table__cell">{{ 'repository.type'|trans|desc('Type') }}</td>
<td class="ez-table__cell">{{ info.type }}</td>
<tr class="ibexa-table__row">
<td class="ibexa-table__cell">{{ 'repository.type'|trans|desc('Type') }}</td>
<td class="ibexa-table__cell">{{ info.type }}</td>
</tr>
<tr class="ez-table__row">
<td class="ez-table__cell">{{ 'repository.name'|trans|desc('Name') }}</td>
<td class="ez-table__cell">{{ info.name }}</td>
<tr class="ibexa-table__row">
<td class="ibexa-table__cell">{{ 'repository.name'|trans|desc('Name') }}</td>
<td class="ibexa-table__cell">{{ info.name }}</td>
</tr>
<tr class="ez-table__row">
<td class="ez-table__cell">{{ 'repository.host'|trans|desc('Host') }}</td>
<td class="ez-table__cell">{{ info.host }}</td>
<tr class="ibexa-table__row">
<td class="ibexa-table__cell">{{ 'repository.host'|trans|desc('Host') }}</td>
<td class="ibexa-table__cell">{{ info.host }}</td>
</tr>
<tr class="ez-table__row">
<td class="ez-table__cell">{{ 'repository.username'|trans|desc('Username') }}</td>
<td class="ez-table__cell">{{ info.username }}</td>
<tr class="ibexa-table__row">
<td class="ibexa-table__cell">{{ 'repository.username'|trans|desc('Username') }}</td>
<td class="ibexa-table__cell">{{ info.username }}</td>
</tr>
</tbody>
</table>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,28 @@

<!-- Tab name: {{ 'tab.name.services'|trans|desc('Services') }} -->

<section class="ez-fieldgroup">
<h2 class="ez-fieldgroup__name">{{ 'services'|trans|desc('Services') }}</h2>
<div class="ez-fieldgroup__content">
<table class="table ez-table--list">
<section class="ibexa-fieldgroup">
<h2 class="ibexa-fieldgroup__name">{{ 'services'|trans|desc('Services') }}</h2>
<div class="ibexa-fieldgroup__content">
<table class="table ibexa-table--list">
<tbody>
<tr class="ez-table__row">
<td class="ez-table__cell">
<tr class="ibexa-table__row">
<td class="ibexa-table__cell">
{{ 'services.search_engine'|trans|desc('Search engine') }}
</td>
<td class="ez-table__cell">{{ info.searchEngine }}</td>
<td class="ibexa-table__cell">{{ info.searchEngine }}</td>
</tr>
<tr class="ez-table__row">
<td class="ez-table__cell">
<tr class="ibexa-table__row">
<td class="ibexa-table__cell">
{{ 'services.http_cache_proxy'|trans|desc('HTTP cache proxy') }}
</td>
<td class="ez-table__cell">{{ info.httpCacheProxy }}</td>
<td class="ibexa-table__cell">{{ info.httpCacheProxy }}</td>
</tr>
<tr class="ez-table__row">
<td class="ez-table__cell">
<tr class="ibexa-table__row">
<td class="ibexa-table__cell">
{{ 'services.persistence_cache_adapter'|trans|desc('Persistence cache adapter') }}
</td>
<td class="ez-table__cell">{{ info.persistenceCacheAdapter }}</td>
<td class="ibexa-table__cell">{{ info.persistenceCacheAdapter }}</td>
</tr>
</tbody>
</table>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
items: kernel_items,
} only %}

<section class="ez-fieldgroup">
<h2 class="ez-fieldgroup__name">{{ 'bundles'|trans|desc('Bundles') }}</h2>
<div class="ez-fieldgroup__content">
<section class="ibexa-fieldgroup">
<h2 class="ibexa-fieldgroup__name">{{ 'bundles'|trans|desc('Bundles') }}</h2>
<div class="ibexa-fieldgroup__content">
{% set body_rows = [] %}
{% for bundle, namespace in info.bundles %}
{% set body_rows = body_rows|merge([{ cols: [
Expand Down