-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from gerMdz/25-wizard-block
Primer commit 25-wizard-block
- Loading branch information
Showing
26 changed files
with
131 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<button class="btn btn-sm btn-primary btn-round btn--pill"> | ||
<button class="btn btn-sm btn-secondary btn-round btn--pill"> | ||
<i class="fas fa-step-backward"></i> | ||
{{ button_label | default('Volver al listado') }} | ||
<small>{{ button_label | default('Volver al listado') }}</small> | ||
</button> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{{ form_start(form) }} | ||
{{ form_widget(form) }} | ||
<button class="btn">{{ button_label|default('Save') }}</button> | ||
<button class="btn">{{ button_label|default('Guardar') }}</button> | ||
{{ form_end(form) }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{{ form_start(form) }} | ||
{{ form_widget(form) }} | ||
<button class="btn">{{ button_label|default('Save') }}</button> | ||
<button class="btn">{{ button_label|default('Guardar') }}</button> | ||
{{ form_end(form) }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{{ form_start(form) }} | ||
{{ form_widget(form) }} | ||
<button class="btn">{{ button_label|default('Save') }}</button> | ||
<button class="btn">{{ button_label|default('Guardar') }}</button> | ||
{{ form_end(form) }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{{ form_start(form) }} | ||
{{ form_widget(form) }} | ||
<button class="btn">{{ button_label|default('Save') }}</button> | ||
<button class="btn">{{ button_label|default('Guardar') }}</button> | ||
{{ form_end(form) }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{{ form_start(form) }} | ||
{{ form_widget(form) }} | ||
<button class="btn">{{ button_label|default('Save') }}</button> | ||
<button class="btn">{{ button_label|default('Guardar') }}</button> | ||
{{ form_end(form) }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{{ form_start(form) }} | ||
{{ form_widget(form) }} | ||
<button class="btn">{{ button_label|default('Save') }}</button> | ||
<button class="btn">{{ button_label|default('Guardar') }}</button> | ||
{{ form_end(form) }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{{ form_start(form) }} | ||
{{ form_widget(form) }} | ||
<button class="btn">{{ button_label|default('Save') }}</button> | ||
<button class="btn">{{ button_label|default('Guardar') }}</button> | ||
{{ form_end(form) }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{{ form_start(form) }} | ||
{{ form_widget(form) }} | ||
<button class="btn">{{ button_label|default('Save') }}</button> | ||
<button class="btn">{{ button_label|default('Guardar') }}</button> | ||
{{ form_end(form) }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{{ form_start(form) }} | ||
{{ form_widget(form) }} | ||
<button class="btn">{{ button_label|default('Save') }}</button> | ||
<button class="btn">{{ button_label|default('Guardar') }}</button> | ||
{{ form_end(form) }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{{ form_start(form) }} | ||
{{ form_widget(form) }} | ||
<button class="btn">{{ button_label|default('Save') }}</button> | ||
<button class="btn">{{ button_label|default('Guardar') }}</button> | ||
{{ form_end(form) }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{{ form_start(form) }} | ||
{{ form_widget(form) }} | ||
<button class="btn">{{ button_label|default('Save') }}</button> | ||
<button class="btn">{{ button_label|default('Guardar') }}</button> | ||
{{ form_end(form) }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{{ form_start(form) }} | ||
{{ form_widget(form) }} | ||
<button class="btn">{{ button_label|default('Save') }}</button> | ||
<button class="btn">{{ button_label|default('Guardar') }}</button> | ||
{{ form_end(form) }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{{ form_start(form) }} | ||
{{ form_widget(form) }} | ||
<button class="btn btn-primary">{{ button_label|default('Save') }}</button> | ||
<button class="btn btn-primary">{{ button_label|default('Guardar') }}</button> | ||
{{ form_end(form) }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{{ form_start(form) }} | ||
{{ form_widget(form) }} | ||
<button class="btn">{{ button_label|default('Save') }}</button> | ||
<button class="btn">{{ button_label|default('Guardar') }}</button> | ||
{{ form_end(form) }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{{ form_start(form) }} | ||
{{ form_widget(form) }} | ||
<button class="btn">{{ button_label|default('Save') }}</button> | ||
<button class="btn">{{ button_label|default('Guardar') }}</button> | ||
{{ form_end(form) }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{{ form_start(form) }} | ||
{{ form_widget(form) }} | ||
<button class="btn">{{ button_label|default('Save') }}</button> | ||
<button class="btn">{{ button_label|default('Guardar') }}</button> | ||
{{ form_end(form) }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{{ form_start(form) }} | ||
{{ form_widget(form) }} | ||
<button class="btn">{{ button_label|default('Save') }}</button> | ||
<button class="btn">{{ button_label|default('Guardar') }}</button> | ||
{{ form_end(form) }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{{ form_start(form) }} | ||
{{ form_widget(form) }} | ||
<button class="btn">{{ button_label|default('Save') }}</button> | ||
<button class="btn">{{ button_label|default('Guardar') }}</button> | ||
{{ form_end(form) }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{{ form_start(form) }} | ||
{{ form_widget(form) }} | ||
<button class="btn">{{ button_label|default('Save') }}</button> | ||
<button class="btn btn-primary mx-auto">{{ button_label|default('Guardar') }}</button> | ||
{{ form_end(form) }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,61 @@ | ||
{% extends 'base.html.twig' %} | ||
{% extends 'base_admin_board.html.twig' %} | ||
|
||
{% block title %}TypeBlock index{% endblock %} | ||
|
||
{% block body %} | ||
<h1>TypeBlock index</h1> | ||
{% block content %} | ||
<div class="col-md-12"> | ||
<div class="card"> | ||
<div class="card-header card-header-primary"> | ||
<h4 class="card-title ">TypeBLock (Bloques Principales de AlamedaCMS)</h4> | ||
<p class="card-category"> Listado </p> | ||
</div> | ||
<div class="card-body"> | ||
<div class="table-responsive"> | ||
<a href="{{ path('type_block_new') }}"> | ||
{{ include('bases/_crear_nuevo.html.twig') }} | ||
</a> | ||
|
||
<table class="table"> | ||
<thead> | ||
<tr> | ||
<th>Id</th> | ||
<th>Name</th> | ||
<th>Description</th> | ||
<th>Identifier</th> | ||
<th>IsActive</th> | ||
<th>actions</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{% for type_block in type_blocks %} | ||
<tr> | ||
<td>{{ type_block.id }}</td> | ||
<td>{{ type_block.name }}</td> | ||
<td>{{ type_block.description }}</td> | ||
<td>{{ type_block.identifier }}</td> | ||
<td>{{ type_block.isActive ? 'Yes' : 'No' }}</td> | ||
<td> | ||
<a href="{{ path('type_block_show', {'id': type_block.id}) }}">show</a> | ||
<a href="{{ path('type_block_edit', {'id': type_block.id}) }}">edit</a> | ||
</td> | ||
</tr> | ||
{% else %} | ||
<tr> | ||
<td colspan="6">no records found</td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
<table class="table"> | ||
<thead class=" text-primary"> | ||
<tr> | ||
<th>Id</th> | ||
<th>Nombre</th> | ||
<th>Descripción</th> | ||
<th>Identificador</th> | ||
<th class="text-center">Está Activo?</th> | ||
<th><i class="fa fa-cogs"></i></th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{% for type_block in type_blocks %} | ||
<tr> | ||
<td>{{ type_block.id }}</td> | ||
<td>{{ type_block.name }}</td> | ||
<td>{{ type_block.description }}</td> | ||
<td>{{ type_block.identifier }}</td> | ||
<td class="text-center text-primary">{{ type_block.isActive ? '<i class="fas fa-check-square"> </i>': '<i class="far fa-square"></i>' }}</td> | ||
<td> | ||
<a href="{{ path('type_block_show', {'id': type_block.id}) }}"> | ||
{% include 'bases/_ver.html.twig' %} | ||
</a> | ||
<a href="{{ path('type_block_edit', {'id': type_block.id}) }}"> | ||
{% include 'bases/_editar.html.twig' %} | ||
</a> | ||
</td> | ||
</tr> | ||
{% else %} | ||
<tr> | ||
<td colspan="6">No se encontraron Bloques</td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
|
||
<a href="{{ path('type_block_new') }}">Create new</a> | ||
<a href="{{ path('type_block_new') }}"> | ||
{% include 'bases/_crear_nuevo.html.twig' %} | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,27 @@ | ||
{% extends 'base.html.twig' %} | ||
{% extends 'base_admin_board.html.twig' %} | ||
|
||
{% block title %}New TypeBlock{% endblock %} | ||
{% block stylesheets %} | ||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> | ||
<link href="{{ asset('bt5-softui-dash/css/soft-ui-dashboard.min.css') }}" rel="stylesheet"> | ||
<link rel="stylesheet" href="{{ asset('fonts/awesome/web-fonts-with-css/css/all.min.css') }}"> | ||
{% endblock %} | ||
|
||
{% block body %} | ||
<h1>Create new TypeBlock</h1> | ||
{% block title %}Nuevo TypeBlock{% endblock %} | ||
|
||
{{ include('type_block/_form.html.twig') }} | ||
{% block content %} | ||
<div class="col-md-12"> | ||
<div class="card"> | ||
<div class="card-header card-header-primary py-1"> | ||
<h4 class="card-title ">TypeBLock (Bloques Principales de AlamedaCMS)</h4> | ||
<p class="card-category"> Nuevo TypeBLock </p> | ||
</div> | ||
<div class="card-body"> | ||
|
||
<a href="{{ path('type_block_index') }}">back to list</a> | ||
{{ include('type_block/_form.html.twig') }} | ||
<a href="{{ path('type_block_index') }}" class="inline-block"> | ||
{% include 'bases/_volver.html.twig' %} | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{{ form_start(form) }} | ||
{{ form_widget(form) }} | ||
<button class="btn">{{ button_label|default('Save') }}</button> | ||
<button class="btn">{{ button_label|default('Guardar') }}</button> | ||
{{ form_end(form) }} |