Merge branch 'bootstrap' of https://github.com/PrestaShop/PrestaShop into bootstrap
This commit is contained in:
@@ -514,17 +514,18 @@ blockquote {
|
|||||||
color: #999999; }
|
color: #999999; }
|
||||||
blockquote small:before {
|
blockquote small:before {
|
||||||
content: '\2014 \00A0'; }
|
content: '\2014 \00A0'; }
|
||||||
blockquote.pull-right {
|
blockquote.pull-right, blockquote.panel-heading-action {
|
||||||
padding-right: 15px;
|
padding-right: 15px;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
border-right: 5px solid #eeeeee;
|
border-right: 5px solid #eeeeee;
|
||||||
border-left: 0; }
|
border-left: 0; }
|
||||||
blockquote.pull-right p,
|
blockquote.pull-right p, blockquote.panel-heading-action p,
|
||||||
blockquote.pull-right small {
|
blockquote.pull-right small,
|
||||||
|
blockquote.panel-heading-action small {
|
||||||
text-align: right; }
|
text-align: right; }
|
||||||
blockquote.pull-right small:before {
|
blockquote.pull-right small:before, blockquote.panel-heading-action small:before {
|
||||||
content: ''; }
|
content: ''; }
|
||||||
blockquote.pull-right small:after {
|
blockquote.pull-right small:after, blockquote.panel-heading-action small:after {
|
||||||
content: '\00A0 \2014'; }
|
content: '\00A0 \2014'; }
|
||||||
|
|
||||||
q:before,
|
q:before,
|
||||||
@@ -2526,7 +2527,7 @@ input[type="button"].btn-block {
|
|||||||
-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
||||||
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
||||||
background-clip: padding-box; }
|
background-clip: padding-box; }
|
||||||
.dropdown-menu.pull-right {
|
.dropdown-menu.pull-right, .dropdown-menu.panel-heading-action {
|
||||||
right: 0;
|
right: 0;
|
||||||
left: auto; }
|
left: auto; }
|
||||||
.dropdown-menu .divider {
|
.dropdown-menu .divider {
|
||||||
@@ -2584,7 +2585,7 @@ input[type="button"].btn-block {
|
|||||||
top: 0;
|
top: 0;
|
||||||
z-index: 990; }
|
z-index: 990; }
|
||||||
|
|
||||||
.pull-right > .dropdown-menu {
|
.pull-right > .dropdown-menu, .panel-heading-action > .dropdown-menu {
|
||||||
right: 0;
|
right: 0;
|
||||||
left: auto; }
|
left: auto; }
|
||||||
|
|
||||||
@@ -3193,11 +3194,15 @@ input[type="button"].btn-block {
|
|||||||
border-bottom-right-radius: 0;
|
border-bottom-right-radius: 0;
|
||||||
border-bottom-left-radius: 0; }
|
border-bottom-left-radius: 0; }
|
||||||
|
|
||||||
.navbar-nav.pull-right > li > .dropdown-menu, .pull-right#header_notifs_icon_wrapper > li > .dropdown-menu, .pull-right#header_employee_box > li > .dropdown-menu, .pull-right#header_quick > li > .dropdown-menu,
|
.navbar-nav.pull-right > li > .dropdown-menu, .pull-right#header_notifs_icon_wrapper > li > .dropdown-menu, #header_notifs_icon_wrapper.panel-heading-action > li > .dropdown-menu, .pull-right#header_employee_box > li > .dropdown-menu, #header_employee_box.panel-heading-action > li > .dropdown-menu, .pull-right#header_quick > li > .dropdown-menu, #header_quick.panel-heading-action > li > .dropdown-menu, .navbar-nav.panel-heading-action > li > .dropdown-menu,
|
||||||
.navbar-nav > li > .dropdown-menu.pull-right,
|
.navbar-nav > li > .dropdown-menu.pull-right,
|
||||||
#header_notifs_icon_wrapper > li > .dropdown-menu.pull-right,
|
#header_notifs_icon_wrapper > li > .dropdown-menu.pull-right,
|
||||||
#header_employee_box > li > .dropdown-menu.pull-right,
|
#header_employee_box > li > .dropdown-menu.pull-right,
|
||||||
#header_quick > li > .dropdown-menu.pull-right {
|
#header_quick > li > .dropdown-menu.pull-right,
|
||||||
|
.navbar-nav > li > .dropdown-menu.panel-heading-action,
|
||||||
|
#header_notifs_icon_wrapper > li > .dropdown-menu.panel-heading-action,
|
||||||
|
#header_employee_box > li > .dropdown-menu.panel-heading-action,
|
||||||
|
#header_quick > li > .dropdown-menu.panel-heading-action {
|
||||||
left: auto;
|
left: auto;
|
||||||
right: 0; }
|
right: 0; }
|
||||||
|
|
||||||
@@ -3774,7 +3779,7 @@ a.thumbnail:focus {
|
|||||||
|
|
||||||
.media > .pull-left, .page-head .media > h2.page-title {
|
.media > .pull-left, .page-head .media > h2.page-title {
|
||||||
margin-right: 10px; }
|
margin-right: 10px; }
|
||||||
.media > .pull-right {
|
.media > .pull-right, .media > .panel-heading-action {
|
||||||
margin-left: 10px; }
|
margin-left: 10px; }
|
||||||
|
|
||||||
.media-list {
|
.media-list {
|
||||||
@@ -4473,7 +4478,7 @@ body.modal-open {
|
|||||||
.clearfix:after {
|
.clearfix:after {
|
||||||
clear: both; }
|
clear: both; }
|
||||||
|
|
||||||
.pull-right {
|
.pull-right, .panel-heading-action {
|
||||||
float: right !important; }
|
float: right !important; }
|
||||||
|
|
||||||
.pull-left, .page-head h2.page-title {
|
.pull-left, .page-head h2.page-title {
|
||||||
@@ -5089,7 +5094,7 @@ a [class*=" icon-"] {
|
|||||||
-moz-border-radius: 7px;
|
-moz-border-radius: 7px;
|
||||||
border-radius: 7px; }
|
border-radius: 7px; }
|
||||||
|
|
||||||
.pull-right {
|
.pull-right, .panel-heading-action {
|
||||||
float: right; }
|
float: right; }
|
||||||
|
|
||||||
.pull-left, .page-head h2.page-title {
|
.pull-left, .page-head h2.page-title {
|
||||||
@@ -5100,8 +5105,9 @@ a [class*=" icon-"] {
|
|||||||
.page-head h2[class*=" icon-"].page-title {
|
.page-head h2[class*=" icon-"].page-title {
|
||||||
margin-right: .3em; }
|
margin-right: .3em; }
|
||||||
|
|
||||||
[class^="icon-"].pull-right,
|
[class^="icon-"].pull-right, [class^="icon-"].panel-heading-action,
|
||||||
[class*=" icon-"].pull-right {
|
[class*=" icon-"].pull-right,
|
||||||
|
[class*=" icon-"].panel-heading-action {
|
||||||
margin-left: .3em; }
|
margin-left: .3em; }
|
||||||
|
|
||||||
/* BOOTSTRAP SPECIFIC CLASSES
|
/* BOOTSTRAP SPECIFIC CLASSES
|
||||||
@@ -5189,7 +5195,9 @@ a [class*=" icon-"] {
|
|||||||
.btn .page-head h2[class*=" icon-"].icon-2x.page-title,
|
.btn .page-head h2[class*=" icon-"].icon-2x.page-title,
|
||||||
.page-head .btn h2[class*=" icon-"].icon-2x.page-title,
|
.page-head .btn h2[class*=" icon-"].icon-2x.page-title,
|
||||||
.btn [class^="icon-"].pull-right.icon-2x,
|
.btn [class^="icon-"].pull-right.icon-2x,
|
||||||
.btn [class*=" icon-"].pull-right.icon-2x {
|
.btn [class^="icon-"].icon-2x.panel-heading-action,
|
||||||
|
.btn [class*=" icon-"].pull-right.icon-2x,
|
||||||
|
.btn [class*=" icon-"].icon-2x.panel-heading-action {
|
||||||
margin-top: .18em; }
|
margin-top: .18em; }
|
||||||
|
|
||||||
.btn [class^="icon-"].icon-spin.icon-large,
|
.btn [class^="icon-"].icon-spin.icon-large,
|
||||||
@@ -5201,7 +5209,9 @@ a [class*=" icon-"] {
|
|||||||
.btn.btn-small .page-head h2[class*=" icon-"].icon-2x.page-title,
|
.btn.btn-small .page-head h2[class*=" icon-"].icon-2x.page-title,
|
||||||
.page-head .btn.btn-small h2[class*=" icon-"].icon-2x.page-title,
|
.page-head .btn.btn-small h2[class*=" icon-"].icon-2x.page-title,
|
||||||
.btn.btn-small [class^="icon-"].pull-right.icon-2x,
|
.btn.btn-small [class^="icon-"].pull-right.icon-2x,
|
||||||
.btn.btn-small [class*=" icon-"].pull-right.icon-2x {
|
.btn.btn-small [class^="icon-"].icon-2x.panel-heading-action,
|
||||||
|
.btn.btn-small [class*=" icon-"].pull-right.icon-2x,
|
||||||
|
.btn.btn-small [class*=" icon-"].icon-2x.panel-heading-action {
|
||||||
margin-top: .25em; }
|
margin-top: .25em; }
|
||||||
|
|
||||||
.btn.btn-large [class^="icon-"],
|
.btn.btn-large [class^="icon-"],
|
||||||
@@ -5213,7 +5223,9 @@ a [class*=" icon-"] {
|
|||||||
.btn.btn-large .page-head h2[class*=" icon-"].icon-2x.page-title,
|
.btn.btn-large .page-head h2[class*=" icon-"].icon-2x.page-title,
|
||||||
.page-head .btn.btn-large h2[class*=" icon-"].icon-2x.page-title,
|
.page-head .btn.btn-large h2[class*=" icon-"].icon-2x.page-title,
|
||||||
.btn.btn-large [class^="icon-"].pull-right.icon-2x,
|
.btn.btn-large [class^="icon-"].pull-right.icon-2x,
|
||||||
.btn.btn-large [class*=" icon-"].pull-right.icon-2x {
|
.btn.btn-large [class^="icon-"].icon-2x.panel-heading-action,
|
||||||
|
.btn.btn-large [class*=" icon-"].pull-right.icon-2x,
|
||||||
|
.btn.btn-large [class*=" icon-"].icon-2x.panel-heading-action {
|
||||||
margin-top: .05em; }
|
margin-top: .05em; }
|
||||||
|
|
||||||
.btn.btn-large [class^="icon-"].pull-left.icon-2x, .btn.btn-large .page-head h2[class^="icon-"].icon-2x.page-title, .page-head .btn.btn-large h2[class^="icon-"].icon-2x.page-title,
|
.btn.btn-large [class^="icon-"].pull-left.icon-2x, .btn.btn-large .page-head h2[class^="icon-"].icon-2x.page-title, .page-head .btn.btn-large h2[class^="icon-"].icon-2x.page-title,
|
||||||
@@ -5222,8 +5234,9 @@ a [class*=" icon-"] {
|
|||||||
.page-head .btn.btn-large h2[class*=" icon-"].icon-2x.page-title {
|
.page-head .btn.btn-large h2[class*=" icon-"].icon-2x.page-title {
|
||||||
margin-right: .2em; }
|
margin-right: .2em; }
|
||||||
|
|
||||||
.btn.btn-large [class^="icon-"].pull-right.icon-2x,
|
.btn.btn-large [class^="icon-"].pull-right.icon-2x, .btn.btn-large [class^="icon-"].icon-2x.panel-heading-action,
|
||||||
.btn.btn-large [class*=" icon-"].pull-right.icon-2x {
|
.btn.btn-large [class*=" icon-"].pull-right.icon-2x,
|
||||||
|
.btn.btn-large [class*=" icon-"].icon-2x.panel-heading-action {
|
||||||
margin-left: .2em; }
|
margin-left: .2em; }
|
||||||
|
|
||||||
/* Fixes alignment in nav lists */
|
/* Fixes alignment in nav lists */
|
||||||
@@ -7423,3 +7436,20 @@ tr.filter {
|
|||||||
padding: 0 10px; }
|
padding: 0 10px; }
|
||||||
.module_col_actions .btn-group {
|
.module_col_actions .btn-group {
|
||||||
text-align: left; }
|
text-align: left; }
|
||||||
|
|
||||||
|
.panel-heading-action {
|
||||||
|
margin-right: -5px; }
|
||||||
|
.panel-heading-action a.list-tooolbar-btn {
|
||||||
|
float: left;
|
||||||
|
height: 30px;
|
||||||
|
width: 30px;
|
||||||
|
color: #1d7878;
|
||||||
|
border-left: solid 1px white; }
|
||||||
|
.panel-heading-action a.list-tooolbar-btn:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
color: white;
|
||||||
|
background-color: #1d7878; }
|
||||||
|
.panel-heading-action a.list-tooolbar-btn i {
|
||||||
|
text-align: center;
|
||||||
|
font-size: 1.2em;
|
||||||
|
line-height: 30px; }
|
||||||
|
|||||||
@@ -928,3 +928,28 @@ fieldset > .row
|
|||||||
text-align: left
|
text-align: left
|
||||||
|
|
||||||
|
|
||||||
|
.panel-heading-action
|
||||||
|
@extend .pull-right
|
||||||
|
margin-right: -5px
|
||||||
|
a.list-tooolbar-btn
|
||||||
|
float: left
|
||||||
|
height: 30px
|
||||||
|
width: 30px
|
||||||
|
color: $brand-primary
|
||||||
|
border-left: solid 1px white
|
||||||
|
&:hover
|
||||||
|
text-decoration: none
|
||||||
|
color: white
|
||||||
|
background-color: $brand-primary
|
||||||
|
i
|
||||||
|
text-align: center
|
||||||
|
font-size: 1.2em
|
||||||
|
line-height: 30px
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,34 @@
|
|||||||
|
<?php
|
||||||
|
/*
|
||||||
|
* 2007-2013 PrestaShop
|
||||||
|
*
|
||||||
|
* NOTICE OF LICENSE
|
||||||
|
*
|
||||||
|
* This source file is subject to the Open Software License (OSL 3.0)
|
||||||
|
* that is bundled with this package in the file LICENSE.txt.
|
||||||
|
* It is also available through the world-wide-web at this URL:
|
||||||
|
* http://opensource.org/licenses/osl-3.0.php
|
||||||
|
* If you did not receive a copy of the license and are unable to
|
||||||
|
* obtain it through the world-wide-web, please send an email
|
||||||
|
* to license@prestashop.com so we can send you a copy immediately.
|
||||||
|
*
|
||||||
|
* DISCLAIMER
|
||||||
|
*
|
||||||
|
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||||
|
* versions in the future. If you wish to customize PrestaShop for your
|
||||||
|
* needs please refer to http://www.prestashop.com for more information.
|
||||||
|
*
|
||||||
|
* @author PrestaShop SA <contact@prestashop.com>
|
||||||
|
* @copyright 2007-2013 PrestaShop SA
|
||||||
|
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||||
|
* International Registered Trademark & Property of PrestaShop SA
|
||||||
|
*/
|
||||||
|
|
||||||
|
class AdminDashboardControllerCore extends AdminController
|
||||||
|
{
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
$this->display = 'view';
|
||||||
|
parent::__construct();
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -98,5 +98,6 @@
|
|||||||
<access id="access_1_99" id_profile="SuperAdmin" id_tab="Stock_cover" view="1" add="1" edit="1" delete="1"/>
|
<access id="access_1_99" id_profile="SuperAdmin" id_tab="Stock_cover" view="1" add="1" edit="1" delete="1"/>
|
||||||
<access id="access_1_100" id_profile="SuperAdmin" id_tab="Supply_orders" view="1" add="1" edit="1" delete="1"/>
|
<access id="access_1_100" id_profile="SuperAdmin" id_tab="Supply_orders" view="1" add="1" edit="1" delete="1"/>
|
||||||
<access id="access_1_101" id_profile="SuperAdmin" id_tab="Configuration" view="1" add="1" edit="1" delete="1"/>
|
<access id="access_1_101" id_profile="SuperAdmin" id_tab="Configuration" view="1" add="1" edit="1" delete="1"/>
|
||||||
|
<access id="access_1_102" id_profile="SuperAdmin" id_tab="Dashboard" view="1" add="1" edit="1" delete="1"/>
|
||||||
</entities>
|
</entities>
|
||||||
</entity_access>
|
</entity_access>
|
||||||
|
|||||||
@@ -9,6 +9,9 @@
|
|||||||
<tab id="Home" id_parent="-1" active="1">
|
<tab id="Home" id_parent="-1" active="1">
|
||||||
<class_name>AdminHome</class_name>
|
<class_name>AdminHome</class_name>
|
||||||
</tab>
|
</tab>
|
||||||
|
<tab id="Dashboard" id_parent="-1" active="1">
|
||||||
|
<class_name>AdminDashboard</class_name>
|
||||||
|
</tab>
|
||||||
<tab id="CMS_Pages" id_parent="-1" active="1">
|
<tab id="CMS_Pages" id_parent="-1" active="1">
|
||||||
<class_name>AdminCms</class_name>
|
<class_name>AdminCms</class_name>
|
||||||
</tab>
|
</tab>
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<entity_tab>
|
<entity_tab>
|
||||||
<tab id="Addresses" name="Adresses"/>
|
<tab id="Addresses" name="Adresses"/>
|
||||||
|
<tab id="Dashboard" name="Dasboard"/>
|
||||||
<tab id="Administration" name="Administration"/>
|
<tab id="Administration" name="Administration"/>
|
||||||
<tab id="Advanced_Parameters" name="Paramètres avancés"/>
|
<tab id="Advanced_Parameters" name="Paramètres avancés"/>
|
||||||
<tab id="Attachments" name="Documents joints"/>
|
<tab id="Attachments" name="Documents joints"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user