Spade

Mini Shell

Directory:~$ /home/lmsyaran/public_html/joomla4/
Upload File

[Home] [System Details] [Kill Me]
Current File:~$ /home/lmsyaran/public_html/joomla4/particles.tar

sample.html.twig000064400000002123151163677210007673 0ustar00{% extends
'@nucleus/partials/particle.html.twig' %}

{% block particle %}
	<div class="sample-content">
		<div class="g-grid">
			<div class="g-block">
				<div class="g-content">
					{% if particle.image %}<img src="{{ url(particle.image)
}}" class="logo-large" alt="{{ particle.headline|e
}}" />{% endif %}
					{% if particle.headline %}<h1>{{ particle.headline|raw
}}</h1>{% endif %}
					{% if particle.description %}<div
class="sample-description">{{ particle.description|raw
}}</div>{% endif %}
					{% if particle.linktext %}<p><a href="{{ particle.link|e
}}" class="button">{{ particle.linktext|e
}}</a></p>{% endif %}
				</div>
			</div>
		</div>
		<div class="g-grid">
			{% for sample in particle.samples %}
				<div {% if sample.id %}id="{{ sample.id|e }}"{% endif %}
					 class="g-block {{ sample.class }} {{ sample.variations
}}">
					<div class="g-content">
						<i class="{{ sample.icon }} sample-icons"></i>
						<h4>{{ sample.title|raw }}</h4>
						{{ sample.subtitle|raw }}
						{{ sample.description|raw }}
					</div>
				</div>
			{% endfor %}
		</div>
	</div>
{% endblock %}sample.yaml000064400000003752151163677210006731 0ustar00name:
Sample Content
description: Displays Sample Content
type: particle
icon: fa-pencil-square-o

configuration:
  caching:
    type: static

form:
  fields:
    enabled:
      type: input.checkbox
      label: Enabled
      description: Globally enable the particle.
      default: true

    image:
      type: input.imagepicker
      label: Image
      description: Select the main image.
      overridable: false

    headline:
      type: input.text
      label: Headline
      description: Customize the headline text.
      placeholder: Enter headline
      overridable: false

    description:
      type: textarea.textarea
      label: Description
      description: Customize the description.
      placeholder: Enter short description
      overridable: false

    link:
      type: input.text
      label: Link
      description: Specify the link address.
      overridable: false

    linktext:
      type: input.text
      label: Link Text
      description: Customize the link text.
      overridable: false

    samples:
      type: collection.list
      array: true
      label: Sample Items
      description: Create each item to appear in the content row.
      value: title
      ajax: true
      overridable: false

      fields:
        .icon:
          type: input.icon
          label: Icon

        .title:
          type: input.text
          label: Title

        .subtitle:
          type: input.text
          label: Sub Title

        .description:
          type: textarea.textarea
          label: Description

        .id:
          type: input.text
          label: CSS ID
          description: 'Enter the ID for the block without the hash
(#) (ie. <code>your-id</code>. You can then reference the
element via CSS as <code>#your-id</code>'
          default:

        .class:
          type: input.selectize
          label: CSS Classes
          description: Enter CSS class names.
          default:

        .variations:
          type: input.block-variations
          label: Variations