Carousel fix + fiixes

This commit is contained in:
Joey Kimsey
2024-12-02 18:04:44 -05:00
parent 113499254b
commit bf7b7ba1c9
7 changed files with 13 additions and 25 deletions

View File

@ -1,8 +1,8 @@
<?php
/**
* app/classes/admin_controller.php
* app/classes/api_controller.php
*
* This is the base admin controller. Every other admin controller should
* This is the base api controller. Every other api controller should
* extend this class.
*
* @version 3.0

View File

@ -1,12 +1,12 @@
<?php
/**
* classes/config.php
* app/classes/config.php
*
* This class handles all the hard-coded configurations.
*
* @version 3.0
* @author Joey Kimsey <Joey@thetempusproject.com>
* @link https://TheTempusProject.com/Core
* @link https://TheTempusProject.com
* @license https://opensource.org/licenses/MIT [MIT LICENSE]
*/
namespace TheTempusProject\Classes;

View File

@ -30,7 +30,7 @@ class Users extends ApiController {
$response = 'No user found.';
} else {
$responseType = 'data';
$response = $user;
$response = $user->ID;
}
Views::view( 'api.response', ['response' => json_encode( [ $responseType => $response ], true )]);
}

View File

@ -217,7 +217,7 @@ pre {
color: #000;
background-color: #FFF;
}
#carousel-example-generic {
#carousel-home {
margin-bottom: 30px;
}
.col-centered {

View File

@ -1,6 +1,6 @@
<?php
/**
* app/plugins/notification/models/notification.php
* app/plugins/notifications/models/notification.php
*
* This class is used for the manipulation of the notifications database table.
*

View File

@ -1,11 +1,11 @@
<div class="container">
<div class="row">
<div class="col-md-12">
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
<div id="carousel-home" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
<li data-target="#carousel-example-generic" data-slide-to="1"></li>
<li data-target="#carousel-example-generic" data-slide-to="2"></li>
<li data-target="#carousel-home" data-slide-to="0" class="active"></li>
<li data-target="#carousel-home" data-slide-to="1"></li>
<li data-target="#carousel-home" data-slide-to="2"></li>
</ol>
<div class="carousel-inner">
<div class="bg-primary slide-text-bg carousel-caption main-text">
@ -36,10 +36,10 @@
</div>
</div>
</div>
<a href="#carousel-example-generic" class="left carousel-control" data-slide="prev">
<a href="#carousel-home" class="left carousel-control" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left"></span>
</a>
<a href="#carousel-example-generic" class="right carousel-control" data-slide="next">
<a href="#carousel-home" class="right carousel-control" data-slide="next">
<span class="glyphicon glyphicon-chevron-right"></span>
</a>
</div>

View File

@ -45,18 +45,6 @@
</div>
</div>
</div>
<div class="panel-body">
<div class="row">
<div class="col-lg-12 ">
<ul class="nav nav-tabs">
<li class="active"><a href="#">Home</a></li>
<li><a href="#">Profile</a></li>
<li><a href="#">Messages</a></li>
</ul>
here
</div>
</div>
</div>
<div class="panel-footer">
<a href="{ROOT_URL}messages/create?prepopuser={USERNAME}" data-original-title="Broadcast Message" data-toggle="tooltip" type="button" class="btn btn-sm btn-primary"><i class="glyphicon glyphicon-envelope"></i></a>
{ADMIN}