Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Ángel Chica Moral
/
tbw2122_4
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
27fcf0cf
authored
Jul 11, 2022
by
Ángel Chica Moral
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Arreglos visuales
parent
1645cd5b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
20 deletions
app/Controllers/Pages.php
app/Views/pages/equipos.php
app/Views/pages/jornadas.php
app/Controllers/Pages.php
View file @
27fcf0cf
...
...
@@ -15,6 +15,9 @@ class Pages extends Controller{
$data
[
'title'
]
=
ucfirst
(
$page
);
$data
=
[
'title'
=>
'InfoFutbol'
];
echo
view
(
'templates/header_admin'
,
$data
);
echo
view
(
'pages/'
.
$page
,
$data
);
...
...
app/Views/pages/equipos.php
View file @
27fcf0cf
<div
class=
"target"
>
<div
class=
"text-center"
>
<
<<<<<<
HEAD
=
======
<
a
class=
"btn btn-primary btn-lg btn-block"
href=
"
<?=
base_url
(
"pages/view/Datos_Equipos"
)
?>
"
role=
"button"
>
Consultar más información
</a>
</div></br>
</div>
<div
class=
"target"
>
<div
class=
"text-center"
>
>>>>>>> 80ae6b95d4d511ded5749af1cdc5730acd9b099a
<input
type=
"search"
id=
"busqueda_equipos"
name=
"equipos"
placeholder=
"Introduce el nombre del equipo"
>
</div></br>
</div>
<?php
foreach
(
$equipos
as
$equipo
)
{
?>
<
<<<<<<
HEAD
<div
class=
"row equipo"
style=
"margin-left: 1.5rem; margin-right: 1.5rem"
>
<div
class=
"col-md-4"
>
<div
class=
"card "
>
<img
class=
"card-img-top"
src=
"
<?=
base_url
(
"img/."
.
$equipo
[
0
]
->
Imagen
)
?>
"
weight=
"60"
height=
"auto"
>
=======
<div
class=
"col-md-3"
>
<div
class=
"card equipo"
>
<img
class=
"card-img-top"
src=
"
<?=
base_url
(
"img/."
.
$equipo
->
Imagen
)
?>
"
weight=
"60"
height=
"auto"
>
>>>>>>> 80ae6b95d4d511ded5749af1cdc5730acd9b099a
<div
class=
"card-body"
>
<h4
class=
"text-md-center"
>
<?php
echo
$equipo
[
0
]
->
Nombre
?>
</h4>
</div>
...
...
@@ -54,11 +39,7 @@
$
(
"#busqueda_equipos"
).
keyup
(
function
()
{
var
value
=
$
(
this
).
val
().
toLowerCase
();
$
(
".equipo"
).
filter
(
function
()
{
<<<<<<<
HEAD
$
(
this
).
toggle
(
$
(
this
).
children
()[
0
].
children
[
0
].
children
[
1
].
children
[
0
].
textContent
.
toLowerCase
().
includes
(
value
.
toLowerCase
()))
=======
$
(
this
).
toggle
(
$
(
this
).
children
()[
1
].
children
[
0
].
textContent
.
toLowerCase
().
includes
(
value
.
toLowerCase
()))
>>>>>>>
80
ae6b95d4d511ded5749af1cdc5730acd9b099a
});
});
...
...
app/Views/pages/jornadas.php
View file @
27fcf0cf
...
...
@@ -18,7 +18,7 @@
<input
type=
"number"
min=
"1"
max=
"9"
required
class=
"form-control"
name=
"jornada"
id=
"jornada"
placeholder=
"Indica la jornada que desea consultar"
>
</div>
</br>
<div
class=
"btn-group"
role=
"group"
aria-label=
""
>
<div
class=
"btn-group
: text-center
"
role=
"group"
aria-label=
""
>
<button
type=
"submit"
name=
"Jornada"
value=
"Jornada"
class=
"btn btn-success"
>
Consultar
</button>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment