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 <?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. * extend this class.
* *
* @version 3.0 * @version 3.0

View File

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

View File

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

View File

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

View File

@ -1,6 +1,6 @@
<?php <?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. * This class is used for the manipulation of the notifications database table.
* *

View File

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

View File

@ -44,18 +44,6 @@
</table> </table>
</div> </div>
</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>
<div class="panel-footer"> <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> <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>