Skip to content

Commit 75b52a4

Browse files
committed
put nice image and default container body at index
1 parent 52233a2 commit 75b52a4

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

cweb/elcurrencyfiles/css/currencyweb.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,15 @@
3737
}
3838
.dataTables_length{
3939
display: none;
40+
}
41+
.contain-index{
42+
height: 100vh !important;
43+
background-image: url('../media/currency-coins-and-bank-image.jpg');
44+
background-size: cover;
45+
background-repeat: no-repeat;
46+
}
47+
@media screen and (min-width:800px) {
48+
.contain-login{
49+
height: 100vh !important;
50+
}
4051
}
258 KB
Loading

cweb/elcurrencyweb/views/indexview.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
2-
2+
echo div_open('class="contain-index d-flex"');
33
$userurl = $this->input->get_post('userurl');
44
?>
55

66
<!-- PROMOTION CURRENCYMANAGER BLOCK-->
7-
<div class="contain-image">
7+
<div class="contain-image mx-auto my-auto py-3 px-3">
88
<div class="card-deck d-flex justify-content-around flex-wrap">
99
<div class="card m-4" style="width: 300px;">
1010
<!-- <img class="card-img-top" src="..." alt="Card image cap"> -->
@@ -57,6 +57,7 @@
5757
</div>
5858
</div>
5959
<?php
60+
echo div_close();
6061
echo '<footer class="footer pb-4 position-fixed bottom-0" >';
6162
echo '<small class="d-flex align-items-center text-decoration-none d-sm-inline mx-1"><p style="display: flex; justify-content: center;">';
6263
echo '</p class="ms-1 d-none d-sm-inline">';

0 commit comments

Comments
 (0)