Commit e8b1ada3 authored by Antonio's avatar Antonio 🇪🇺

component ready

parent a0823af6
......@@ -34,31 +34,31 @@ foreach ( $atts['elements'] as $element ) {
<p>
<?php echo htmlspecialchars_decode( do_shortcode( $element['description'] ) ); ?>
</p>
<div class="sc-row">
<div class="sc-grey-box">
<div class="sc-box-label">
<div class="sc_row">
<div class="sc_grey-box">
<div class="sc_box-label">
<?php echo __( 'Event Meta', 'structured-content' ) ?>
</div>
<div class="sc-company">
<div class="sc-company-infos">
<div class="sc-input-group">
<div class="sc-input-label">
<div class="sc_company">
<div class="sc_company-infos">
<div class="sc_input-group">
<div class="sc_input-label">
<?php echo __( 'Name', 'structured-content' ) ?>
</div>
<div class="wp-block-structured-content-event__location">
<?php echo $element['event_location'] ?>
</div>
</div>
<div class="sc-input-group">
<div class="sc-input-label">
<div class="sc_input-group">
<div class="sc_input-label">
<?php echo __( 'Start Date', 'structured-content' ) ?>
</div>
<div class="wp-block-structured-content-event__sameAs">
<?php echo date( 'd.m.Y H:i', strtotime( $element['start_date'] ) ) ?>
</div>
</div>
<div class="sc-input-group">
<div class="sc-input-label">
<div class="sc_input-group">
<div class="sc_input-label">
<?php echo __( 'End Date', 'structured-content' ) ?>
</div>
<div class="wp-block-structured-content-event__sameAs">
......@@ -68,20 +68,20 @@ foreach ( $atts['elements'] as $element ) {
</div>
</div>
</div>
<div class="sc-grey-box">
<div class="sc-box-label">
<div class="sc_grey-box">
<div class="sc_box-label">
<?php echo __( 'EVENT Location', 'structured-content' ) ?>
</div>
<div class="sc-input-group">
<div class="sc-input-label">
<div class="sc_input-group">
<div class="sc_input-label">
<?php echo __( 'Street', 'structured-content' ) ?>
</div>
<div class="wp-block-structured-content-event__streetAddress">
<?php echo $element['street_address'] ?>
</div>
</div>
<div class="sc-row">
<div class="sc-input-group">
<div class="sc_row">
<div class="sc_input-group">
<div class="sc-input-label">
<?php echo __( 'Postal Code', 'structured-content' ) ?>
</div>
......
......@@ -23,23 +23,23 @@
<p>
<?php echo htmlspecialchars_decode( do_shortcode( $content ) ); ?>
</p>
<div class="sc-row">
<div class="sc-grey-box">
<div class="sc-box-label">
<div class="sc_row">
<div class="sc_grey-box">
<div class="sc_box-label">
<?php echo __( 'Company', 'structured-content' ) ?>
</div>
<div class="sc-company">
<div class="sc-company-infos">
<div class="sc-input-group">
<div class="sc-input-label">
<div class="sc_company">
<div class="sc_company-infos">
<div class="sc_input-group">
<div class="sc_input-label">
<?php echo __( 'Name', 'structured-content' ) ?>
</div>
<div class="wp-block-structured-content-job__companyName">
<?php echo $atts['company_name'] ?>
</div>
</div>
<div class="sc-input-group">
<div class="sc-input-label">
<div class="sc_input-group">
<div class="sc_input-label">
<?php echo __( 'Same as (Website / Social Media)', 'structured-content' ) ?>
</div>
<div class="wp-block-structured-content-job__sameAs">
......@@ -48,13 +48,13 @@
</div>
</div>
<?php if ( ! empty( $atts['logo_id'] ) ) : ?>
<div class="sc-company-logo">
<div class="sc-input-group">
<div class="sc-input-label">
<div class="sc_company-logo">
<div class="sc_input-group">
<div class="sc_input-label">
<?php echo __( 'Logo', 'structured-content' ) ?>
</div>
<div>
<figure class="sc-company-logo-wrapper">
<figure class="sc_company-logo-wrapper">
<a href="<?php echo $atts['logo_url']; ?>" title="<?php echo $atts['logo_alt']; ?>">
<img src="<?php echo $atts['thumbnail_url']; ?>" alt="<?php echo $atts['logo_alt']; ?>"/>
</a>
......@@ -68,29 +68,29 @@
<?php endif; ?>
</div>
</div>
<div class="sc-grey-box">
<div class="sc-box-label">
<div class="sc_grey-box">
<div class="sc_box-label">
<?php echo __( 'Job Location', 'structured-content' ) ?>
</div>
<div class="sc-input-group">
<div class="sc-input-label">
<div class="sc_input-group">
<div class="sc_input-label">
<?php echo __( 'Street', 'structured-content' ) ?>
</div>
<div class="wp-block-structured-content-job__streetAddress">
<?php echo $atts['street_address'] ?>
</div>
</div>
<div class="sc-row">
<div class="sc-input-group">
<div class="sc-input-label">
<div class="sc_row">
<div class="sc_input-group">
<div class="sc_input-label">
<?php echo __( 'Postal Code', 'structured-content' ) ?>
</div>
<div class="wp-block-structured-content-job__postalCode">
<?php echo $atts['postal_code'] ?>
</div>
</div>
<div class="sc-input-group">
<div class="sc-input-label">
<div class="sc_input-group">
<div class="sc_input-label">
<?php echo __( 'Locality', 'structured-content' ) ?>
</div>
<div class="wp-block-structured-content-job__addressLocality">
......@@ -98,17 +98,17 @@
</div>
</div>
</div>
<div class="sc-row">
<div class="sc-input-group">
<div class="sc-input-label">
<div class="sc_row">
<div class="sc_input-group">
<div class="sc_input-label">
<?php echo __( 'Country ISO Code', 'structured-content' ) ?>
</div>
<div class="wp-block-structured-content-job__addressCountry">
<?php echo $atts['address_country'] ?>
</div>
</div>
<div class="sc-input-group">
<div class="sc-input-label">
<div class="sc_input-group">
<div class="sc_input-label">
<?php echo __( 'Region ISO Code', 'structured-content' ) ?>
</div>
<div class="wp-block-structured-content-job__addressRegion">
......@@ -118,13 +118,13 @@
</div>
</div>
</div>
<div class="sc-row">
<div class="sc-grey-box">
<div class="sc-box-label">
<div class="sc_row">
<div class="sc_grey-box">
<div class="sc_box-label">
<?php echo __( 'Salary', 'structured-content' ) ?>
</div>
<div class="sc-input-group">
<div class="sc-input-label">
<div class="sc_input-group">
<div class="sc_input-label">
<?php echo __( 'Unit', 'structured-content' ); ?>
</div>
<div class="wp-block-structured-content-job__baseSalary">
......@@ -149,17 +149,17 @@
?>
</div>
</div>
<div class="sc-row">
<div class="sc-input-group">
<div class="sc-input-label">
<div class="sc_row">
<div class="sc_input-group">
<div class="sc_input-label">
<?php echo __( 'Currency ISO Code', 'structured-content' ) ?>
</div>
<div class="wp-block-structured-content-job__currency">
<?php echo $atts['currency_code'] ?>
</div>
</div>
<div class="sc-input-group">
<div class="sc-input-label">
<div class="sc_input-group">
<div class="sc_input-label">
<?php echo __( 'Value', 'structured-content' ) ?>
</div>
<div class="wp-block-structured-content-job__currency">
......@@ -168,12 +168,12 @@
</div>
</div>
</div>
<div class="sc-grey-box">
<div class="sc-box-label">
<div class="sc_grey-box">
<div class="sc_box-label">
<?php echo __( 'Job Meta', 'structured-content' ) ?>
</div>
<div class="sc-input-group">
<div class="sc-input-label">
<div class="sc_input-group">
<div class="sc_input-label">
<?php echo __( 'Employment Type', 'structured-content' ) ?>
</div>
<div class="wp-block-structured-content-job__employmentType">
......@@ -207,8 +207,8 @@
?>
</div>
</div>
<div class="sc-input-group">
<div class="sc-input-label">
<div class="sc_input-group">
<div class="sc_input-label">
<?php echo __( 'Valid Through', 'structured-content' ) ?>
</div>
<div class="wp-block-structured-content-job__validThrough">
......
......@@ -15,23 +15,23 @@
?>
<?php if ( ! isset( $atts['html'] ) || $atts['html'] === 'true' ) : ?>
<section class="<?php echo ( empty( $atts['css_class'] ) ) ? 'sc_fs_person sc_card' : $atts['css_class']; ?>">
<div class="sc-row">
<div class="sc-grey-box">
<div class="sc-box-label">
<div class="sc_row">
<div class="sc_grey-box">
<div class="sc_box-label">
<?php echo __( 'Personal', 'structured-content' ) ?>
</div>
<div class="sc-company">
<div class="sc-person-infos">
<div class="sc-input-group">
<div class="sc-input-label">
<div class="sc_company">
<div class="sc_person-infos">
<div class="sc_input-group">
<div class="sc_input-label">
<?php echo __( 'Name', 'structured-content' ) ?>
</div>
<div class="wp-block-structured-content-person__personName">
<?php echo $atts['person_name'] ?>
</div>
</div>
<div class="sc-input-group">
<div class="sc-input-label">
<div class="sc_input-group">
<div class="sc_input-label">
<?php echo __( 'Job Title', 'structured-content' ) ?>
</div>
<div class="wp-block-structured-content-person__jobTitle">
......@@ -40,13 +40,13 @@
</div>
</div>
<?php if ( ! empty( $atts['image_url'] ) ) : ?>
<div class="sc-person-image">
<div class="sc-input-group">
<div class="sc-input-label">
<div class="sc_person-image">
<div class="sc_input-group">
<div class="sc_input-label">
<?php echo __( 'Image', 'structured-content' ) ?>
</div>
<div>
<figure class="sc-person-image-wrapper">
<figure class="sc_person-image-wrapper">
<a href="<?php echo $atts['image_url']; ?>" title="<?php echo $atts['image_alt']; ?>">
<img src="<?php echo $atts['thumbnail_url']; ?>" alt="<?php echo $atts['image_alt']; ?>"/>
</a>
......@@ -60,28 +60,28 @@
<?php endif; ?>
</div>
</div>
<div class="sc-grey-box">
<div class="sc-box-label">
<div class="sc_grey-box">
<div class="sc_box-label">
<?php echo __( 'Contact', 'structured-content' ) ?>
</div>
<div class="sc-input-group">
<div class="sc-input-label">
<div class="sc_input-group">
<div class="sc_input-label">
<?php echo __( 'E-Mail', 'structured-content' ) ?>
</div>
<div class="wp-block-structured-content-person__email">
<a href="mailto:<?php echo $atts['email'] ?>"><?php echo $atts['email'] ?></a>
</div>
</div>
<div class="sc-input-group">
<div class="sc-input-label">
<div class="sc_input-group">
<div class="sc_input-label">
<?php echo __( 'URL', 'structured-content' ) ?>
</div>
<div class="wp-block-structured-content-person__url">
<a href="<?php echo $atts['url'] ?>"><?php echo $atts['url'] ?></a>
</div>
</div>
<div class="sc-input-group">
<div class="sc-input-label">
<div class="sc_input-group">
<div class="sc_input-label">
<?php echo __( 'Telephone', 'structured-content' ) ?>
</div>
<div class="wp-block-structured-content-person__telephone">
......@@ -90,30 +90,30 @@
</div>
</div>
</div>
<div class="sc-row">
<div class="sc-grey-box">
<div class="sc-box-label">
<div class="sc_row">
<div class="sc_grey-box">
<div class="sc_box-label">
<?php echo __( 'Address', 'structured-content' ) ?>
</div>
<div class="sc-input-group">
<div class="sc-input-label">
<div class="sc_input-group">
<div class="sc_input-label">
<?php echo __( 'Street', 'structured-content' ) ?>
</div>
<div class="wp-block-structured-content-person__streetAddress">
<?php echo $atts['street_address'] ?>
</div>
</div>
<div class="sc-row">
<div class="sc-input-group">
<div class="sc-input-label">
<div class="sc_row">
<div class="sc_input-group">
<div class="sc_input-label">
<?php echo __( 'Postal Code', 'structured-content' ) ?>
</div>
<div class="wp-block-structured-content-person__postalCode">
<?php echo $atts['postal_code'] ?>
</div>
</div>
<div class="sc-input-group">
<div class="sc-input-label">
<div class="sc_input-group">
<div class="sc_input-label">
<?php echo __( 'Locality', 'structured-content' ) ?>
</div>
<div class="wp-block-structured-content-person__addressLocality">
......@@ -121,17 +121,17 @@
</div>
</div>
</div>
<div class="sc-row">
<div class="sc-input-group">
<div class="sc-input-label">
<div class="sc_row">
<div class="sc_input-group">
<div class="sc_input-label">
<?php echo __( 'Country ISO Code', 'structured-content' ) ?>
</div>
<div class="wp-block-structured-content-person__addressCountry">
<?php echo $atts['address_country'] ?>
</div>
</div>
<div class="sc-input-group">
<div class="sc-input-label">
<div class="sc_input-group">
<div class="sc_input-label">
<?php echo __( 'Region ISO Code', 'structured-content' ) ?>
</div>
<div class="wp-block-structured-content-person__addressRegion">
......@@ -140,12 +140,12 @@
</div>
</div>
</div>
<div class="sc-grey-box">
<div class="sc-box-label">
<div class="sc_grey-box">
<div class="sc_box-label">
<?php echo __( 'Colleague', 'structured-content' ) ?>
</div>
<div class="sc-input-group">
<div class="sc-input-label">
<div class="sc_input-group">
<div class="sc_input-label">
<?php echo __( 'URL', 'structured-content' )?>
</div>
<div class="wp-block-structured-content-person__colleague_url">
......
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