Skip to content

Commit

Permalink
dernièr retouch design
Browse files Browse the repository at this point in the history
  • Loading branch information
laminegaci committed Apr 6, 2019
1 parent d984f96 commit eb9f6d5
Show file tree
Hide file tree
Showing 15 changed files with 80 additions and 25 deletions.
13 changes: 11 additions & 2 deletions admins/add_admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
label {
float: left;
}
.open_ad{
border-right:3px solid #119ee7;
}
</style>

<?php
Expand All @@ -39,9 +42,15 @@


<div class="ui padded centered grid">
<h1>Ajouter admin </h1>


<div class="ui fifteen wide column " id="modifier_grid">
<div class="ui fifteen wide column row centered grid segment " id="modifier_grid">
<h2 class="ui left aligned header">
<i class=" icons">
<i class="user icon"></i>

</i>
Ajouter admin </h2>

<form method="POST" class="ui form centered grid" action="ajouter_admin.php">

Expand Down
3 changes: 3 additions & 0 deletions admins/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
height: 85vh;
overflow: scroll;
}
.open_ad{
border-right:3px solid #119ee7;
}
</style>

<div class="page">
Expand Down
3 changes: 3 additions & 0 deletions clients/ajouter_client.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
label {
float: left;
}
.open_cl{
border-right:3px solid #119ee7;
}
</style>

<?php
Expand Down
3 changes: 3 additions & 0 deletions clients/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
height: 85vh;
overflow: scroll;
}
.open_cl{
border-right:3px solid #119ee7;
}
</style>

<div class="page">
Expand Down
3 changes: 3 additions & 0 deletions conceptions/ajouter_conception.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
.ui.checkbox {
display: block;
}
.open_cons{
border-right:3px solid #119ee7;
}
</style>

<?php
Expand Down
5 changes: 4 additions & 1 deletion conceptions/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
height: 85vh;
overflow: scroll;
}
.open_cons{
border-right:3px solid #119ee7;
}
</style>
<div class="page">

Expand Down Expand Up @@ -132,7 +135,7 @@
<td><?php echo h($cons->prix_con);?></td>
<td><?php echo h($cons->versement_con);?></td>
<td><?php echo h($cons->date_deb_con);?></td>
<td><?php echo h($cons->delai_con) . ' rest' . '('. $delai . /*$date_fin*/'' .')';?></td>
<td><?php echo /*h($cons->delai_con) . ' rest' . '('. */$delai /*.$date_fin'' .')'*/;?></td>

<td>
<div class="ui bulleted list">
Expand Down
12 changes: 7 additions & 5 deletions dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ function get_percent($row_tot,$row_side)

return $percent;
}

$row_cl = Client::rows_tot();
$row_cl_part = Client::rows_part();
$row_cl_pro = Client::rows_pro();
Expand All @@ -39,6 +38,10 @@ function get_percent($row_tot,$row_side)
padding-left: 0 !important;
padding-right: 0 !important;
}

.open_dash{
border-right:3px solid #119ee7;
}
</style>


Expand Down Expand Up @@ -371,10 +374,9 @@ class="ui orange text"><?php echo $rows_envoie;?></span></h4>
<td><?php echo h($expiré->date_fin_heb) ;?></td>
<td><b></b><?php echo Hebergement::find_delai($expiré->date_fin_heb)?>
</td>
<form
action="hebergements/sup_hyb_exp.php?id=<?php echo $expiré->id_heb;?>"
method="POST">
<td> <button class="ui tiny red button" name="supprimer"><i
<form action="hebergements/sup_hyb_exp.php?id=<?php echo $expiré->id_heb;?>" method="POST">
<td> <button class="ui tiny red button" name="supprimer">
</form>

</tr>

Expand Down
4 changes: 4 additions & 0 deletions factures/ajouter_facture.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
select.ui.dropdown {
height: 100%;
}
.open_fact{
border-right:3px solid #119ee7;
}

</style>


Expand Down
4 changes: 4 additions & 0 deletions factures/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
.ui.search .prompt{
border-radius: 500rem !important;
}
.open_fact{
border-right:3px solid #119ee7;
}

</style>

<div class="page">
Expand Down
4 changes: 4 additions & 0 deletions hebergements/ajouter_hebergement.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
select.ui.dropdown {
height: 100%;
}
.open_heb{
border-right:3px solid #119ee7;
}

</style>


Expand Down
3 changes: 3 additions & 0 deletions hebergements/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
.ui.big.form select{
height: 100%;
}
.open_heb{
border-right:3px solid #119ee7;
}
</style>

<div class="page">
Expand Down
27 changes: 14 additions & 13 deletions includes/app_head.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
html, body{
height: 100%;
/* background-image: url('<?php echo url_for("images/prism.png"); ?>')*/
background-color: #ABABAB;
background-color: #e9ebee;
}
/* menu */

Expand All @@ -36,15 +36,15 @@
top: 0;
left: 0;
height: 100%;
width: 100px; /*default width*/
background-color: rgba(30,30,30) ;
width: 80px; /*default width*/
background-color: #363535 ;
transition: width 0.4s;
z-index: 1000;
overflow: hidden;
}
#leftbar-toggle{
color:white;
padding: 15px 40px 20px;
padding: 15px 27px 20px;
display: inline-block;
width: 50px;
}
Expand Down Expand Up @@ -78,15 +78,15 @@

.leftbar .ui.link.list .item .icon::before {
display: inline-block;
width: 100px;
width: 80px;
}
.ui .middle.aligned.link .list .content{

}
.page {
transform: translateX(0);
transition: margin-left 0.4s, transform 0.4s;
padding-left: 100px;
padding-left: 80px;
padding-top: 5%;

}
Expand All @@ -99,6 +99,7 @@

width: 100%;
}


/* #head{

Expand Down Expand Up @@ -138,7 +139,7 @@
<?php
if($_SESSION['admin_id'] == 1)
{ echo '
<a class="item bar" href="';?><?php echo url_for("admins/index.php"); ?><?php echo '">';?>
<a class="item open_ad bar" href="';?><?php echo url_for("admins/index.php"); ?><?php echo '">';?>
<?php echo '<i class="user large icon"></i>
<div class="content">Admins</div>
</a>
Expand All @@ -147,29 +148,29 @@
?>


<a class="item bar" href="<?php echo url_for('dashboard.php'); ?>">
<a class="item open_dash bar" href="<?php echo url_for('dashboard.php'); ?>">
<i class="home large icon"></i>
<div class="content">Accueil</div>
</a>
<a class="item" href="<?php echo url_for('clients/index.php'); ?>">
<a class="item open_cl" href="<?php echo url_for('clients/index.php'); ?>">
<i class="users large icon"></i>
<div class="content">Client</div>
</a>
<a class="item" href="<?php echo url_for('conceptions/index.php'); ?>">
<a class="item open_cons" href="<?php echo url_for('conceptions/index.php'); ?>">
<i class="file code large icon"></i>
<div class="content">Conception</div>
</a>
<a class="item" href="<?php echo url_for('hebergements/index.php'); ?>">
<a class="item open_heb" href="<?php echo url_for('hebergements/index.php'); ?>">
<i class="database large icon"></i>
<div class="content">Hébergement</div>
</a>

<a class="item" href="<?php echo url_for('factures/index.php'); ?>">
<a class="item open_fact" href="<?php echo url_for('factures/index.php'); ?>">
<i class="file alternate outline large icon"></i>
<div class="content">Factures</div>
</a>

<a class="item" href="<?php echo url_for('pack/index.php'); ?>">
<a class="item open_pack" href="<?php echo url_for('pack/index.php'); ?>">
<i class="large boxes icon"></i>
<div class="content">Pack</div>
</a>
Expand Down
4 changes: 2 additions & 2 deletions includes/menu_head.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
width:5em !important;
}
.ui.top.fixed{
padding-left: 100px;
padding-left: 80px;
}

</style>
Expand All @@ -18,7 +18,7 @@
<!-- begin row head-->
<div class="" >

<div class="ui top fixed fluid big menu">
<div class="ui top fixed fluid menu">
<div class="header item">
<a href="<?php echo url_for('dashboard.php'); ?>"> <img src="<?php echo url_for('images/logo.png');?>" alt=""></a>
</div>
Expand Down
13 changes: 11 additions & 2 deletions pack/ajouter_pack.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
label {
float: left;
}
.open_pack{
border-right:3px solid #119ee7;
}
</style>

<?php
Expand Down Expand Up @@ -63,9 +66,15 @@
<?php include('../includes/menu_head.php'); ?>

<div class="ui padded centered grid">
<h1>Ajouter pack </h1>


<div class="ui fifteen wide column " id="modifier_grid">
<div class="ui fifteen wide column row centered grid segment " id="modifier_grid">
<h2 class="ui left aligned header">
<i class=" icons">
<i class="boxes icon"></i>

</i>
Ajouter Pack </h2>

<form method="POST" class="ui form centered grid" id="modifier_form">

Expand Down
4 changes: 4 additions & 0 deletions pack/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
height: 85vh;
overflow: scroll;
}
.open_pack{
border-right:3px solid #119ee7;
}

</style>

<div class="page">
Expand Down

0 comments on commit eb9f6d5

Please sign in to comment.