Fix image size

This commit is contained in:
2019-02-24 23:54:46 +00:00
parent b5034e10af
commit f40a544920
4 changed files with 123 additions and 99 deletions
+16 -3
View File
@@ -1,6 +1,18 @@
<?php <?php
defined('BASEPATH') OR exit('No direct script access allowed'); defined('BASEPATH') OR exit('No direct script access allowed');
function __autoload($classname) {
if (strpos($classname, 'CL_') !== 0) {
$file = APPPATH . 'libraries/' . $classname . '.php';
if (file_exists($file) && is_file($file)) {
@include_once($file);
}
}
}
///home/sameye/mermsemr/adminwww/application/config
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Base Site URL | Base Site URL
@@ -23,8 +35,8 @@ defined('BASEPATH') OR exit('No direct script access allowed');
| a PHP script and you can easily do that on your own. | a PHP script and you can easily do that on your own.
| |
*/ */
$config['base_url'] = ''; //$config['base_url'] = '';
$config['base_url'] = 'https://'.$_SERVER['SERVER_NAME'].'/';
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Index File | Index File
@@ -35,7 +47,8 @@ $config['base_url'] = '';
| variable so that it is blank. | variable so that it is blank.
| |
*/ */
$config['index_page'] = 'index.php'; //$config['index_page'] = 'index.php';
$config['index_page'] = '';
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
@@ -79,8 +79,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="col-sm-6 col-xxl-9 col-lg-7 bg-gradient o-hidden order-1 order-sm-2"> <div class="col-sm-6 col-xxl-9 col-lg-7 o-hidden order-1 order-sm-2" style="background-color:red; background-image: url('assets/img/bg/login.jpg'); background-size: 100% 100%;">
<img class="img-fluid" src="assets/img/bg/login.jpg" alt="" style="background-size:cover;">
</div> </div>
</div> </div>
</div> </div>
+16 -4
View File
@@ -1,6 +1,18 @@
<?php <?php
defined('BASEPATH') OR exit('No direct script access allowed'); defined('BASEPATH') OR exit('No direct script access allowed');
function __autoload($classname) {
if (strpos($classname, 'CL_') !== 0) {
$file = APPPATH . 'libraries/' . $classname . '.php';
if (file_exists($file) && is_file($file)) {
@include_once($file);
}
}
}
///home/sameye/mermsemr/providerwww/application/config
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Base Site URL | Base Site URL
@@ -23,8 +35,8 @@ defined('BASEPATH') OR exit('No direct script access allowed');
| a PHP script and you can easily do that on your own. | a PHP script and you can easily do that on your own.
| |
*/ */
$config['base_url'] = ''; //$config['base_url'] = '';
$config['base_url'] = 'https://'.$_SERVER['SERVER_NAME'].'/';
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Index File | Index File
@@ -35,8 +47,8 @@ $config['base_url'] = '';
| variable so that it is blank. | variable so that it is blank.
| |
*/ */
$config['index_page'] = 'index.php'; //$config['index_page'] = 'index.php';
$config['index_page'] = '';
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| URI PROTOCOL | URI PROTOCOL
@@ -43,7 +43,7 @@
<div class="login p-50"> <div class="login p-50">
<h1 class="mb-2">Merms Providers</h1> <h1 class="mb-2">Merms Providers</h1>
<p>Welcome back, please login to your account.</p> <p>Welcome back, please login to your account.</p>
<form action="auth-login.html" class="mt-3 mt-sm-5"> <form action="/login" class="mt-3 mt-sm-5">
<div class="row"> <div class="row">
<div class="col-12"> <div class="col-12">
<div class="form-group"> <div class="form-group">
@@ -69,7 +69,7 @@
</div> </div>
</div> </div>
<div class="col-12 mt-3"> <div class="col-12 mt-3">
<a href="index.html" class="btn btn-primary text-uppercase">Sign In</a> <a href="/login" class="btn btn-primary text-uppercase">Sign In</a>
</div> </div>
<div class="col-12 mt-3"> <div class="col-12 mt-3">
<p>Don't have an account ?<a href="auth-register.html"> Sign Up</a></p> <p>Don't have an account ?<a href="auth-register.html"> Sign Up</a></p>
@@ -79,8 +79,8 @@
</div> </div>
</div> </div>
</div> </div>
<div class="col-sm-6 col-xxl-9 col-lg-7 bg-gradient o-hidden order-1 order-sm-2" style=background-color:red; "background-image: url("assets/img/bg/provider.jpg"); background-size: cover;"> <div class="col-sm-6 col-xxl-9 col-lg-7 o-hidden order-1 order-sm-2" style="background-color:red; background-image: url('assets/img/bg/provider.jpg'); background-size: 100% 100%;">
<img class="img-fluid" src="assets/img/bg/provider.jpg" alt="" style="background-size:contain;"> <!-- img class="img-fluid" src="assets/img/bg/provider.jpg" alt="" style="background-size:contain;" -->
</div> </div>
</div> </div>
</div> </div>