// Carrier Wizard with bootstrap WIP
This commit is contained in:
1 parent
f29c2d3fcb
commit
671d419c27
8 files changed
+336
-71
No files matched your search
@@ -6,7 +6,7 @@
|
|||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Designed and built with all the love in the world by @mdo and @fat.
|
* Designed and built with all the love in the world by @mdo and @fat.
|
||||||
*//* normalize.css v2.1.0 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:0.67em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace, serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}@media print{*{text-shadow:none !important;color:#000 !important;background:transparent !important;box-shadow:none !important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}.ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100% !important}@page{margin:2cm .5cm}p,h2,h3,#content .panel-heading,#content #header_notifs_icon_wrapper .notifs_panel .notifs_panel_header,#header_notifs_icon_wrapper .notifs_panel #content .notifs_panel_header{orphans:3;widows:3}h2,h3,#content .panel-heading,#content #header_notifs_icon_wrapper .notifs_panel .notifs_panel_header,#header_notifs_icon_wrapper .notifs_panel #content .notifs_panel_header{page-break-after:avoid}.navbar,#header_infos{display:none}.table td,.table th{background-color:#fff !important}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000 !important}.label{border:1px solid #000}.table{border-collapse:collapse !important}.table-bordered th,.table-bordered td{border:1px solid #ddd !important}}*,*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:62.5%;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:12px;line-height:1.42857;color:#555;background-color:#3a3a4a}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}button,input,select[multiple],textarea{background-image:none}a{color:#1d7878;text-decoration:none}a:hover,a:focus{color:#0e3a3a;text-decoration:underline}a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}img{vertical-align:middle}.img-responsive{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail,.thumbnail{padding:4px;line-height:1.42857;background-color:#3a3a4a;border:1px solid #ddd;border-radius:3px;-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{margin-top:17px;margin-bottom:17px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}p{margin:0 0 8.5px}.lead{margin-bottom:17px;font-size:13.8px;font-weight:200;line-height:1.4}@media (min-width: 768px){.lead{font-size:18px}}small{font-size:85%}cite{font-style:normal}.text-muted,.hook_panel .module_description,.hook_panel_header .hook_description{color:#999}.text-primary{color:#1d7878}.text-warning{color:#c09853}.text-danger{color:#b94a48}.text-success{color:#468847}.text-info{color:#3a87ad}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}h1,h2,h3,#content .panel-heading,#content #header_notifs_icon_wrapper .notifs_panel .notifs_panel_header,#header_notifs_icon_wrapper .notifs_panel #content .notifs_panel_header,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:"Ubuntu",sans-serif;font-weight:300;linLine truncated
|
*//* normalize.css v2.1.0 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:0.67em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace, serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}@media print{*{text-shadow:none !important;color:#000 !important;background:transparent !important;box-shadow:none !important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}.ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100% !important}@page{margin:2cm .5cm}p,h2,h3,#content .panel-heading,#content #header_notifs_icon_wrapper .notifs_panel .notifs_panel_header,#header_notifs_icon_wrapper .notifs_panel #content .notifs_panel_header{orphans:3;widows:3}h2,h3,#content .panel-heading,#content #header_notifs_icon_wrapper .notifs_panel .notifs_panel_header,#header_notifs_icon_wrapper .notifs_panel #content .notifs_panel_header{page-break-after:avoid}.navbar,#header_infos{display:none}.table td,.table th{background-color:#fff !important}.btn>.caret,#carrier_wizard.swMain .buttonNext>.caret,#carrier_wizard.swMain .buttonDisabled>.caret,#carrier_wizard.swMain .buttonPrevious>.caret,#carrier_wizard.swMain .buttonFinish>.caret,.dropup>.btn>.caret,#carrier_wizard.swMain .dropup>.buttonNext>.caret,#carrier_wizard.swMain .dropup>.buttonDisabled>.caret,#carrier_wizard.swMain .dropup>.buttonPrevious>.caret,#carrier_wizard.swMain .dropup>.buttonFinish>.caret{border-top-color:#000 !important}.label{border:1px solid #000}.table{border-collapse:collapse !important}.table-bordered th,.table-bordered td{border:1px solid #ddd !important}}*,*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:62.5%;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:12px;line-height:1.42857;color:#555;background-color:#3a3a4a}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}button,input,select[multiple],textarea{background-image:none}a{color:#1d7878;text-decoration:none}a:hover,a:focus{color:#0e3a3a;text-decoration:underline}a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}img{vertical-align:middle}.img-responsive{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail,.thumbnail{padding:4px;line-height:1.42857;background-color:#3a3a4a;border:1px solid #ddd;border-radius:3px;-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{margin-top:17px;margin-bottom:17px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}p{margin:0 0 8.5px}.lead{margin-bottom:17px;font-size:13.8px;font-weight:200;line-height:1.4}@media (min-width: 768px){.lead{font-size:18px}}small{font-size:85%}cite{font-style:normal}.text-muted,.hook_panel .module_description,.hook_panel_header .hook_description{color:#999}.text-primary{color:#1d7878}.text-warning{color:#c09853}.text-danger{color:#b94a48}.text-successLine truncated
|
||||||
* Font Awesome 3.2.1
|
* Font Awesome 3.2.1
|
||||||
* the iconic font designed for Bootstrap
|
* the iconic font designed for Bootstrap
|
||||||
* ------------------------------------------------------------------------------
|
* ------------------------------------------------------------------------------
|
||||||
@@ -30,4 +30,4 @@
|
|||||||
* Email: dave@fontawesome.io
|
* Email: dave@fontawesome.io
|
||||||
* Twitter: http://twitter.com/byscuits
|
* Twitter: http://twitter.com/byscuits
|
||||||
* Work: Lead Product Designer @ Kyruus - http://kyruus.com
|
* Work: Lead Product Designer @ Kyruus - http://kyruus.com
|
||||||
*/@font-face{font-family:'FontAwesome';src:url("../font/fontawesome-webfont.eot?v=3.2.1");src:url("../font/fontawesome-webfont.eot?#iefix&v=3.2.1") format("embedded-opentype"),url("../font/fontawesome-webfont.woff?v=3.2.1") format("woff"),url("../font/fontawesome-webfont.ttf?v=3.2.1") format("truetype"),url("../font/fontawesome-webfont.svg#fontawesomeregular?v=3.2.1") format("svg");font-weight:normal;font-style:normal}[class^="icon-"],[class*=" icon-"]{font-family:FontAwesome;font-weight:normal;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;*margin-right:.3em}[class^="icon-"]:before,[class*=" icon-"]:before{text-decoration:inherit;display:inline-block;speak:none}.icon-large:before{vertical-align:-10%;font-size:1.3333333333333333em}a [class^="icon-"],a [class*=" icon-"]{display:inline}[class^="icon-"].icon-fixed-width,[class*=" icon-"].icon-fixed-width{display:inline-block;width:1.1428571428571428em;text-align:right;padding-right:0.2857142857142857em}[class^="icon-"].icon-fixed-width.icon-large,[class*=" icon-"].icon-fixed-width.icon-large{width:1.4285714285714286em}.icons-ul{margin-left:2.142857142857143em;list-style-type:none}.icons-ul>li{position:relative}.icons-ul .icon-li{position:absolute;left:-2.142857142857143em;width:2.142857142857143em;text-align:center;line-height:inherit}[class^="icon-"].hide,[class*=" icon-"].hide{display:none}.icon-muted{color:#eeeeee}.icon-light{color:#ffffff}.icon-dark{color:#333333}.icon-border{border:solid 1px #eeeeee;padding:.2em .25em .15em;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.icon-2x{font-size:2em}.icon-2x.icon-border{border-width:2px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.icon-3x{font-size:3em}.icon-3x.icon-border{border-width:3px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.icon-4x{font-size:4em}.icon-4x.icon-border{border-width:4px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.icon-5x{font-size:5em}.icon-5x.icon-border{border-width:5px;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px}.pull-right,.panel-heading-action{float:right}.pull-left,.page-head h2.page-title{float:left}[class^="icon-"].pull-left,.page-head h2[class^="icon-"].page-title,[class*=" icon-"].pull-left,.page-head h2[class*=" icon-"].page-title{margin-right:.3em}[class^="icon-"].pull-right,[class^="icon-"].panel-heading-action,[class*=" icon-"].pull-right,[class*=" icon-"].panel-heading-action{margin-left:.3em}[class^="icon-"],[class*=" icon-"]{display:inline;width:auto;height:auto;line-height:normal;vertical-align:baseline;background-image:none;background-position:0% 0%;background-repeat:repeat;margin-top:0}.icon-white,.nav-pills>.active>a>[class^="icon-"],.nav-pills>.active>a>[class*=" icon-"],.nav-list>.active>a>[class^="icon-"],.nav-list>.active>a>[class*=" icon-"],.navbar-inverse .nav>.active>a>[class^="icon-"],#header_infos .nav>.active>a>[class^="icon-"],.navbar-inverse #header_notifs_icon_wrapper>.active>a>[class^="icon-"],#header_infos #header_notifs_icon_wrapper>.active>a>[class^="icon-"],.navbar-inverse #header_employee_box>.active>a>[class^="icon-"],#header_infos #header_employee_box>.active>a>[class^="icon-"],.navbar-inverse #header_quick>.active>a>[class^="icon-"],#header_infos #header_quick>.active>a>[class^="icon-"],.navbar-inverse .nav>.active>a>[class*=" icon-"],#header_infos .nav>.active>a>[class*=" icon-"],.navbar-inverse #header_notifs_icon_wrapper>.active>a>[class*=" icon-"],#header_infos #header_notifs_icon_wrapper>.active>a>[class*=" icon-"],.navbar-inverse #header_employee_box>.active>a>[class*=" icon-"],#header_infos #header_employee_box>.active>a>[class*=" icon-"],.navbar-inverse #header_quick>.active>a>[class*=" icon-"],#header_infos #header_quick>.active>a>[class*=" icon-"],.dropdown-menu>li>a:hover>[class^="icon-"],.dropdown-menu>li>a:hover>[class*=" icon-"],.dropdown-menu>.active>a>[class^="icon-"],.dropdown-menu>.active>a>[class*=" icon-"],.dropdown-submenu:hover>a>[class^="icon-"],.dropdown-submenu:hover>a>[class*=" icon-"]{background-image:none}.btn [class^="icon-"].icon-large,.nav [class^="icon-"].icon-large,#header_notifs_icon_wrapper [class^="icon-"].icon-large,#header_employee_box [class^="icon-"].icon-large,#header_quick [class^="icon-"].icon-large,.btn [class*=" icon-"].icon-large,.nav [class*=" icon-"].icon-large,#header_notifs_icon_wrapper [class*=" icon-"].icon-large,#header_employee_box [class*=" icon-"].icon-large,#header_quick [class*=" icon-"].icon-large{line-height:.9em}.btn [class^="icon-"].icon-spin,.btn #dashboard .loading [class^="icon-"].data_value:before,#dashboard .loading .btn [class^="icon-"].data_value:before,.nav [class^="icon-"].icon-spin,#header_notifs_icon_wrapper [class^="icon-"].icon-spin,#header_employee_box [class^="icon-"].icon-spin,#header_quick [class^="icon-"].icon-spin,.nav #dashboard .loading [class^="icon-"].data_value:before,#dashboard .loading .nav [class^="icon-"].data_value:Line truncated
|
*/@font-face{font-family:'FontAwesome';src:url("../font/fontawesome-webfont.eot?v=3.2.1");src:url("../font/fontawesome-webfont.eot?#iefix&v=3.2.1") format("embedded-opentype"),url("../font/fontawesome-webfont.woff?v=3.2.1") format("woff"),url("../font/fontawesome-webfont.ttf?v=3.2.1") format("truetype"),url("../font/fontawesome-webfont.svg#fontawesomeregular?v=3.2.1") format("svg");font-weight:normal;font-style:normal}[class^="icon-"],[class*=" icon-"]{font-family:FontAwesome;font-weight:normal;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;*margin-right:.3em}[class^="icon-"]:before,[class*=" icon-"]:before{text-decoration:inherit;display:inline-block;speak:none}.icon-large:before{vertical-align:-10%;font-size:1.3333333333333333em}a [class^="icon-"],a [class*=" icon-"]{display:inline}[class^="icon-"].icon-fixed-width,[class*=" icon-"].icon-fixed-width{display:inline-block;width:1.1428571428571428em;text-align:right;padding-right:0.2857142857142857em}[class^="icon-"].icon-fixed-width.icon-large,[class*=" icon-"].icon-fixed-width.icon-large{width:1.4285714285714286em}.icons-ul{margin-left:2.142857142857143em;list-style-type:none}.icons-ul>li{position:relative}.icons-ul .icon-li{position:absolute;left:-2.142857142857143em;width:2.142857142857143em;text-align:center;line-height:inherit}[class^="icon-"].hide,[class*=" icon-"].hide{display:none}.icon-muted{color:#eeeeee}.icon-light{color:#ffffff}.icon-dark{color:#333333}.icon-border{border:solid 1px #eeeeee;padding:.2em .25em .15em;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.icon-2x{font-size:2em}.icon-2x.icon-border{border-width:2px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.icon-3x{font-size:3em}.icon-3x.icon-border{border-width:3px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.icon-4x{font-size:4em}.icon-4x.icon-border{border-width:4px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.icon-5x{font-size:5em}.icon-5x.icon-border{border-width:5px;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px}.pull-right,.panel-heading-action{float:right}.pull-left,.page-head h2.page-title{float:left}[class^="icon-"].pull-left,.page-head h2[class^="icon-"].page-title,[class*=" icon-"].pull-left,.page-head h2[class*=" icon-"].page-title{margin-right:.3em}[class^="icon-"].pull-right,[class^="icon-"].panel-heading-action,[class*=" icon-"].pull-right,[class*=" icon-"].panel-heading-action{margin-left:.3em}[class^="icon-"],[class*=" icon-"]{display:inline;width:auto;height:auto;line-height:normal;vertical-align:baseline;background-image:none;background-position:0% 0%;background-repeat:repeat;margin-top:0}.icon-white,.nav-pills>.active>a>[class^="icon-"],.nav-pills>.active>a>[class*=" icon-"],.nav-list>.active>a>[class^="icon-"],.nav-list>.active>a>[class*=" icon-"],.navbar-inverse .nav>.active>a>[class^="icon-"],#header_infos .nav>.active>a>[class^="icon-"],.navbar-inverse #header_notifs_icon_wrapper>.active>a>[class^="icon-"],#header_infos #header_notifs_icon_wrapper>.active>a>[class^="icon-"],.navbar-inverse #header_employee_box>.active>a>[class^="icon-"],#header_infos #header_employee_box>.active>a>[class^="icon-"],.navbar-inverse #header_quick>.active>a>[class^="icon-"],#header_infos #header_quick>.active>a>[class^="icon-"],.navbar-inverse .nav>.active>a>[class*=" icon-"],#header_infos .nav>.active>a>[class*=" icon-"],.navbar-inverse #header_notifs_icon_wrapper>.active>a>[class*=" icon-"],#header_infos #header_notifs_icon_wrapper>.active>a>[class*=" icon-"],.navbar-inverse #header_employee_box>.active>a>[class*=" icon-"],#header_infos #header_employee_box>.active>a>[class*=" icon-"],.navbar-inverse #header_quick>.active>a>[class*=" icon-"],#header_infos #header_quick>.active>a>[class*=" icon-"],.dropdown-menu>li>a:hover>[class^="icon-"],.dropdown-menu>li>a:hover>[class*=" icon-"],.dropdown-menu>.active>a>[class^="icon-"],.dropdown-menu>.active>a>[class*=" icon-"],.dropdown-submenu:hover>a>[class^="icon-"],.dropdown-submenu:hover>a>[class*=" icon-"]{background-image:none}.btn [class^="icon-"].icon-large,#carrier_wizard.swMain .buttonNext [class^="icon-"].icon-large,#carrier_wizard.swMain .buttonDisabled [class^="icon-"].icon-large,#carrier_wizard.swMain .buttonPrevious [class^="icon-"].icon-large,#carrier_wizard.swMain .buttonFinish [class^="icon-"].icon-large,.nav [class^="icon-"].icon-large,#header_notifs_icon_wrapper [class^="icon-"].icon-large,#header_employee_box [class^="icon-"].icon-large,#header_quick [class^="icon-"].icon-large,.btn [class*=" icon-"].icon-large,#carrier_wizard.swMain .buttonNext [class*=" icon-"].icon-large,#carrier_wizard.swMain .buttonDisabled [class*=" icon-"].icon-large,#carrier_wizard.swMain .buttonPrevious [class*=" icon-"].icon-large,#carrier_wizard.swMain .buttonFinish [class*=" icon-"].icon-large,.nav [class*=" icon-"].icon-large,#header_notifs_icon_wrapper [class*=" icon-"].icon-large,#header_employee_box [cLine truncated
|
||||||
@@ -619,7 +619,7 @@ hr
|
|||||||
|
|
||||||
//filter table
|
//filter table
|
||||||
tr.filter
|
tr.filter
|
||||||
background-color: darken($bg-content-color,20%)
|
background-color: $bg-content-color
|
||||||
input[type="text"].filter, input[type="password"].filter, select.filter
|
input[type="text"].filter, input[type="password"].filter, select.filter
|
||||||
font-size: 12px
|
font-size: 12px
|
||||||
|
|
||||||
@@ -1224,3 +1224,283 @@ $treeBackgroundSelect: blue
|
|||||||
background-color: $treeBackgroundSelect
|
background-color: $treeBackgroundSelect
|
||||||
&:hover
|
&:hover
|
||||||
background-color: $treeBackgroundSelect
|
background-color: $treeBackgroundSelect
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#carrier_wizard.swMain
|
||||||
|
position: relative
|
||||||
|
display: block
|
||||||
|
.stepContainer
|
||||||
|
position: relative
|
||||||
|
display: block
|
||||||
|
overflow: hidden
|
||||||
|
clear: both
|
||||||
|
div.content
|
||||||
|
position: absolute
|
||||||
|
display: block
|
||||||
|
width: 100%
|
||||||
|
text-align: left
|
||||||
|
overflow: visible
|
||||||
|
z-index: 88
|
||||||
|
clear: both
|
||||||
|
.StepTitle
|
||||||
|
display: block
|
||||||
|
position: relative
|
||||||
|
margin: 0
|
||||||
|
padding: 5px
|
||||||
|
clear: both
|
||||||
|
text-align: left
|
||||||
|
z-index: 88
|
||||||
|
-webkit-border-radius: 5px
|
||||||
|
-moz-border-radius: 5px
|
||||||
|
ul.anchor
|
||||||
|
position: relative
|
||||||
|
display: block
|
||||||
|
float: left
|
||||||
|
list-style: none
|
||||||
|
padding: 0
|
||||||
|
margin: 0 0 10px 0
|
||||||
|
clear: both
|
||||||
|
width: 100%
|
||||||
|
&.nbr_steps_4
|
||||||
|
li
|
||||||
|
width: 25%
|
||||||
|
float: left
|
||||||
|
&.nbr_steps_5
|
||||||
|
li
|
||||||
|
width: 25%
|
||||||
|
float: left
|
||||||
|
li
|
||||||
|
position: relative
|
||||||
|
display: block
|
||||||
|
|
||||||
|
a
|
||||||
|
height: 32px
|
||||||
|
display: block
|
||||||
|
position: relative
|
||||||
|
margin: 0
|
||||||
|
margin-right: 16px
|
||||||
|
padding-right: 25px
|
||||||
|
text-decoration: none
|
||||||
|
outline-style: none
|
||||||
|
z-index: 99
|
||||||
|
//overflow: hidden
|
||||||
|
.stepNumber
|
||||||
|
position: relative
|
||||||
|
float: left
|
||||||
|
width: 24px
|
||||||
|
height: 32px
|
||||||
|
text-align: center
|
||||||
|
padding: 0 5px
|
||||||
|
padding-top: 0
|
||||||
|
font-size: 30px
|
||||||
|
line-height: 32px
|
||||||
|
color: #fffffe
|
||||||
|
text-shadow: none
|
||||||
|
font-weight: normal
|
||||||
|
font-style: normal
|
||||||
|
.stepDesc
|
||||||
|
position: relative
|
||||||
|
text-align: left
|
||||||
|
font-size: 15px
|
||||||
|
height: 32px
|
||||||
|
display: table-cell
|
||||||
|
vertical-align: middle
|
||||||
|
line-height: 13px
|
||||||
|
.chevron
|
||||||
|
border: 16px solid transparent
|
||||||
|
border-left: 14px solid white
|
||||||
|
border-right: 0
|
||||||
|
position: absolute
|
||||||
|
background-color: #ccc
|
||||||
|
right: -16px
|
||||||
|
top: 0
|
||||||
|
&:after
|
||||||
|
border: 16px solid transparent
|
||||||
|
border-left: 14px solid #ccc
|
||||||
|
border-right: 0
|
||||||
|
position: absolute
|
||||||
|
content: ""
|
||||||
|
right: 2px
|
||||||
|
top: -16px
|
||||||
|
&.selected a.selected
|
||||||
|
color: #F8F8F8
|
||||||
|
cursor: text
|
||||||
|
background-color: $main-color
|
||||||
|
.chevron:after
|
||||||
|
border-left: 14px solid $main-color
|
||||||
|
&.done a
|
||||||
|
color: #ccc
|
||||||
|
background-color: $main-color
|
||||||
|
.chevron
|
||||||
|
background-color: $main-color
|
||||||
|
.chevron:after
|
||||||
|
border-left: 14px solid $main-color
|
||||||
|
|
||||||
|
|
||||||
|
&.disabled a
|
||||||
|
cursor: text
|
||||||
|
background-color: #ccc
|
||||||
|
color: #878787
|
||||||
|
.chevron:after
|
||||||
|
border-left: 14px solid #ccc
|
||||||
|
|
||||||
|
&.done a.selected
|
||||||
|
position: relative
|
||||||
|
color: #FFF
|
||||||
|
background-color: $main-color
|
||||||
|
.chevron
|
||||||
|
background-color: $main-color
|
||||||
|
|
||||||
|
.loader
|
||||||
|
display: none
|
||||||
|
.buttonNext
|
||||||
|
@extend .btn
|
||||||
|
@extend .btn-default
|
||||||
|
.buttonDisabled
|
||||||
|
@extend .btn
|
||||||
|
@extend .btn-disabled
|
||||||
|
.buttonPrevious
|
||||||
|
@extend .btn
|
||||||
|
@extend .btn-default
|
||||||
|
.buttonFinish
|
||||||
|
@extend .btn
|
||||||
|
@extend .btn-primary
|
||||||
|
.msgBox
|
||||||
|
position: relative
|
||||||
|
display: none
|
||||||
|
float: left
|
||||||
|
margin: 4px 0 0 5px
|
||||||
|
padding: 5px
|
||||||
|
border: 1px solid #FFD700
|
||||||
|
background-color: #FFFFDD
|
||||||
|
color: #5A5655
|
||||||
|
+border-radius(5px)
|
||||||
|
z-index: 999
|
||||||
|
min-width: 200px
|
||||||
|
.msgBox .content
|
||||||
|
padding: 0px
|
||||||
|
float: left
|
||||||
|
|
||||||
|
.msgBox .close
|
||||||
|
border: 1px solid #CCC
|
||||||
|
border-radius: 3px
|
||||||
|
color: #CCC
|
||||||
|
display: block
|
||||||
|
float: right
|
||||||
|
margin: 0 0 0 5px
|
||||||
|
outline-style: none
|
||||||
|
padding: 0 2px 0 2px
|
||||||
|
position: relative
|
||||||
|
text-align: center
|
||||||
|
text-decoration: none
|
||||||
|
#carrier_logo_block
|
||||||
|
position: absolute
|
||||||
|
right: 10px
|
||||||
|
|
||||||
|
.wizard_error
|
||||||
|
@extend .alert
|
||||||
|
@extend .alert-danger
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.wizardUX
|
||||||
|
@extend .clearfix
|
||||||
|
border: 1px solid blue
|
||||||
|
background-color: white
|
||||||
|
ul
|
||||||
|
list-style: none outside none
|
||||||
|
padding: 0
|
||||||
|
margin: 0
|
||||||
|
li
|
||||||
|
float: left
|
||||||
|
margin: 0
|
||||||
|
padding: 0 20px 0 30px
|
||||||
|
height: 46px
|
||||||
|
line-height: 46px
|
||||||
|
position: relative
|
||||||
|
background: #ededed
|
||||||
|
color: blue
|
||||||
|
font-size: 16px
|
||||||
|
cursor: default
|
||||||
|
.chevron
|
||||||
|
border: 24px solid transparent
|
||||||
|
border-left: 14px solid blue
|
||||||
|
border-right: 0
|
||||||
|
display: block
|
||||||
|
position: absolute
|
||||||
|
right: -14px
|
||||||
|
top: 0
|
||||||
|
.chevron:before
|
||||||
|
border: 24px solid transparent
|
||||||
|
border-left: 14px solid #ededed
|
||||||
|
border-right: 0
|
||||||
|
content: ""
|
||||||
|
display: block
|
||||||
|
position: absolute
|
||||||
|
right: 1px
|
||||||
|
top: -24px
|
||||||
|
&.complete
|
||||||
|
background: #f3f4f5
|
||||||
|
color: blue
|
||||||
|
&:hover
|
||||||
|
background: #e7eff8
|
||||||
|
cursor: pointer
|
||||||
|
.chevron:before
|
||||||
|
border-left: 14px solid #e7eff8
|
||||||
|
.chevron:before
|
||||||
|
border-left: 14px solid #f3f4f5
|
||||||
|
&.active
|
||||||
|
background: #f1f6fc
|
||||||
|
color: blue
|
||||||
|
.chevron:before
|
||||||
|
border-left: 14px solid #f1f6fc
|
||||||
|
.badge
|
||||||
|
margin-right: 8px
|
||||||
|
li:nth-child(1)
|
||||||
|
border-radius: 4px 0 0 4px
|
||||||
|
padding-left: 20px
|
||||||
|
z-index: 10
|
||||||
|
li:nth-child(2)
|
||||||
|
z-index: 9
|
||||||
|
li:nth-child(3)
|
||||||
|
z-index: 8
|
||||||
|
li:nth-child(4)
|
||||||
|
z-index: 7
|
||||||
|
li:nth-child(5)
|
||||||
|
z-index: 6
|
||||||
|
li:nth-child(6)
|
||||||
|
z-index: 5
|
||||||
|
li:nth-child(7)
|
||||||
|
z-index: 4
|
||||||
|
li:nth-child(8)
|
||||||
|
z-index: 3
|
||||||
|
li:nth-child(9)
|
||||||
|
z-index: 2
|
||||||
|
li:nth-child(10)
|
||||||
|
z-index: 1
|
||||||
|
.actions
|
||||||
|
line-height: 44px
|
||||||
|
float: right
|
||||||
|
padding-right: 15px
|
||||||
|
vertical-align: middle
|
||||||
|
a
|
||||||
|
line-height: 45px
|
||||||
|
font-size: 12px
|
||||||
|
margin-right: 8px
|
||||||
|
.btn-prev
|
||||||
|
i
|
||||||
|
margin-right: 5px
|
||||||
|
.btn-next
|
||||||
|
i
|
||||||
|
margin-left: 5px
|
||||||
|
.step-content
|
||||||
|
.step-pane
|
||||||
|
display: none
|
||||||
|
.active
|
||||||
|
display: block
|
||||||
|
.btn-group
|
||||||
|
.active
|
||||||
|
display: inline-block
|
||||||
@@ -32,25 +32,21 @@
|
|||||||
{if $input.name == 'zones'}
|
{if $input.name == 'zones'}
|
||||||
<div class="ranges_not_follow warn" style="display:none">
|
<div class="ranges_not_follow warn" style="display:none">
|
||||||
<label>{l s="Ranges are not correctly ordered:"}</label>
|
<label>{l s="Ranges are not correctly ordered:"}</label>
|
||||||
<a href="#" class="button" style="text-decoration:none">{l s="Reordering"}</a>
|
<a href="#" class="btn btn-default" style="text-decoration:none">{l s="Reordering"}</a>
|
||||||
</div>
|
</div>
|
||||||
{include file='controllers/carrier_wizard/helpers/form/form_ranges.tpl'}
|
{include file='controllers/carrier_wizard/helpers/form/form_ranges.tpl'}
|
||||||
<!--
|
|
||||||
<div class="validate_range" style="display:none">
|
|
||||||
<a href="#" class="button" id="validate_range_button">{l s="Validate"}</a>
|
|
||||||
</div>
|
|
||||||
-->
|
|
||||||
<div class="new_range">
|
<div class="new_range">
|
||||||
<a href="#" onclick="add_new_range();return false;" class="button" id="add_new_range">{l s='Add new range'}</a>
|
<a href="#" onclick="add_new_range();return false;" class="btn btn-default" id="add_new_range">{l s='Add new range'}</a>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
{if $input.name == 'logo'}
|
{if $input.name == 'logo'}
|
||||||
<div class="margin-form">
|
<div class="row">
|
||||||
<input id="carrier_logo_input" type="file" onchange="uploadCarrierLogo();" name="carrier_logo_input" />
|
<input id="carrier_logo_input" type="file" onchange="uploadCarrierLogo();" name="carrier_logo_input" />
|
||||||
<input type="hidden" id="logo" name="logo" value="" />
|
<input type="hidden" id="logo" name="logo" value="" />
|
||||||
<p class="preference_description">
|
<p class="preference_description">
|
||||||
{l s='Format:'} JPG, GIF, PNG. {l s='Filesize:'} {$max_image_size|string_format:"%.2f"} {l s='MB max.'}
|
{l s='Format:'} JPG, GIF, PNG. {l s='Filesize:'} {$max_image_size|string_format:"%.2f"} {l s='MB max.'}<br />
|
||||||
<br />{l s='Current size:'} <span id="carrier_logo_size">{l s='undefined'}</span>.
|
{l s='Current size:'} <span id="carrier_logo_size">{l s='undefined'}</span>.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
+1
-1
@@ -53,7 +53,7 @@
|
|||||||
{if $smarty.foreach.ranges.first}
|
{if $smarty.foreach.ranges.first}
|
||||||
<td class="center"> </td>
|
<td class="center"> </td>
|
||||||
{else}
|
{else}
|
||||||
<td class="center"><button class="button">{l s='Delete'}</button</td>
|
<td class="center"><button class="btn btn-default">{l s='Delete'}</button</td>
|
||||||
{/if}
|
{/if}
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
+23
-19
@@ -42,24 +42,28 @@
|
|||||||
var invalid_range = '{l s='This range is not valid' js=1}';
|
var invalid_range = '{l s='This range is not valid' js=1}';
|
||||||
var range_is_overlapping = '{l s='Ranges are overlapping' js=1}';
|
var range_is_overlapping = '{l s='Ranges are overlapping' js=1}';
|
||||||
</script>
|
</script>
|
||||||
<div id="carrier_wizard" class="swMain">
|
|
||||||
<ul class="nbr_steps_{$wizard_steps.steps|count}">
|
<div class="row">
|
||||||
{foreach from=$wizard_steps.steps key=step_nbr item=step}
|
<div id="carrier_wizard" class="panel swMain">
|
||||||
<li>
|
<ul class="steps nbr_steps_{$wizard_steps.steps|count}">
|
||||||
<a href="#step-{$step_nbr + 1}">
|
{foreach from=$wizard_steps.steps key=step_nbr item=step}
|
||||||
<label class="stepNumber">{$step_nbr + 1}</label>
|
<li>
|
||||||
<span class="stepDesc">
|
<a href="#step-{$step_nbr + 1}">
|
||||||
{$step.title}<br />
|
<span class="stepNumber">{$step_nbr + 1}</span>
|
||||||
{if isset($step.desc)}<small>{$step.desc}</small>{/if}
|
<span class="stepDesc">
|
||||||
</span>
|
{$step.title}<br />
|
||||||
</a>
|
{if isset($step.desc)}<small>{$step.desc}</small>{/if}
|
||||||
</li>
|
</span>
|
||||||
{/foreach}
|
<span class="chevron"></span>
|
||||||
</ul>
|
</a>
|
||||||
{foreach from=$wizard_contents.contents key=step_nbr item=content}
|
</li>
|
||||||
<div id="step-{$step_nbr + 1}" class="step_container">
|
{/foreach}
|
||||||
{$content}
|
</ul>
|
||||||
</div>
|
{foreach from=$wizard_contents.contents key=step_nbr item=content}
|
||||||
{/foreach}
|
<div id="step-{$step_nbr + 1}" class="step_container">
|
||||||
|
{$content}
|
||||||
|
</div>
|
||||||
|
{/foreach}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{/block}
|
{/block}
|
||||||
@@ -24,9 +24,8 @@
|
|||||||
*}
|
*}
|
||||||
|
|
||||||
<div id="carrier_logo_block">
|
<div id="carrier_logo_block">
|
||||||
<img id="carrier_logo_img" src="{if $carrier_logo}{$carrier_logo}{else}../img/admin/carrier-default.jpg{/if}" />
|
<img id="carrier_logo_img" src="{if $carrier_logo}{$carrier_logo}{else}../img/admin/carrier-default.jpg{/if}" class="thumbnail" />
|
||||||
<br/>
|
<a id="carrier_logo_remove" class="btn btn-default" {if !$carrier_logo}style="display:none"{/if} href="javascript:removeCarrierLogo();"><i class="icon-trash"></i> {l s='Remove the logo'}</a>
|
||||||
<a id="carrier_logo_remove" {if !$carrier_logo}style="display:none"{/if} href="javascript:removeCarrierLogo();"><img src="../img/admin/disabled.gif" /> {l s='Remove the logo'}</a>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|||||||
@@ -36,35 +36,27 @@
|
|||||||
var summary_translation_price = '<strong>{l s='according to the price' js=1}</strong>';
|
var summary_translation_price = '<strong>{l s='according to the price' js=1}</strong>';
|
||||||
var summary_translation_weight = '<strong>{l s='according to the weight' js=1}</strong>';
|
var summary_translation_weight = '<strong>{l s='according to the weight' js=1}</strong>';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="defaultForm">
|
<div class="defaultForm">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
{l s='Carrier name:'} <strong id="summary_name"></strong>
|
{l s='Carrier name:'} <strong id="summary_name"></strong>
|
||||||
<div class="clear"> </div>
|
|
||||||
<div id="summary_meta_informations"></div>
|
<div id="summary_meta_informations"></div>
|
||||||
<div class="clear"> </div>
|
|
||||||
<div id="summary_shipping_cost"></div>
|
<div id="summary_shipping_cost"></div>
|
||||||
<div class="clear"> </div>
|
|
||||||
<div id="summary_range"></div>
|
<div id="summary_range"></div>
|
||||||
<div class="clear"> </div>
|
|
||||||
<div>
|
<div>
|
||||||
{l s='It will be displayed only for the following zones:'}
|
{l s='It will be displayed only for the following zones:'}
|
||||||
<ul id="summary_zones"></ul>
|
<ul id="summary_zones"></ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="clear"> </div>
|
|
||||||
<div>
|
<div>
|
||||||
{l s='It will be displayed only for the following groups:'}
|
{l s='It will be displayed only for the following groups:'}
|
||||||
<ul id="summary_groups"></ul>
|
<ul id="summary_groups"></ul>
|
||||||
</div>
|
</div>
|
||||||
{if $is_multishop}
|
{if $is_multishop}
|
||||||
<div class="clear"> </div>
|
|
||||||
<div>
|
<div>
|
||||||
{l s='It will be displayed only for the following shops:'}
|
{l s='It will be displayed only for the following shops:'}
|
||||||
<ul id="summary_shops"></ul>
|
<ul id="summary_shops"></ul>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
<div class="clear"> </div>
|
|
||||||
{$active_form}
|
{$active_form}
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</div>
|
</div>
|
||||||
<div class="clear"> </div>
|
|
||||||
|
|
||||||
@@ -30,6 +30,7 @@ class AdminCarrierWizardControllerCore extends AdminController
|
|||||||
|
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
|
$this->bootstrap = true;
|
||||||
$this->display = 'view';
|
$this->display = 'view';
|
||||||
$this->table = 'carrier';
|
$this->table = 'carrier';
|
||||||
$this->identifier = 'id_carrier';
|
$this->identifier = 'id_carrier';
|
||||||
@@ -161,10 +162,9 @@ class AdminCarrierWizardControllerCore extends AdminController
|
|||||||
'type' => 'text',
|
'type' => 'text',
|
||||||
'label' => $this->l('Carrier name:'),
|
'label' => $this->l('Carrier name:'),
|
||||||
'name' => 'name',
|
'name' => 'name',
|
||||||
'size' => 25,
|
|
||||||
'required' => true,
|
'required' => true,
|
||||||
'hint' => sprintf($this->l('Allowed characters: letters, spaces and %s'), '().-'),
|
'hint' => array(
|
||||||
'desc' => array(
|
sprintf($this->l('Allowed characters: letters, spaces and %s'), '().-'),
|
||||||
$this->l('Carrier name displayed during checkout'),
|
$this->l('Carrier name displayed during checkout'),
|
||||||
$this->l('For in-store pickup, enter 0 to replace the carrier name with your shop name.')
|
$this->l('For in-store pickup, enter 0 to replace the carrier name with your shop name.')
|
||||||
)
|
)
|
||||||
@@ -175,9 +175,8 @@ class AdminCarrierWizardControllerCore extends AdminController
|
|||||||
'name' => 'delay',
|
'name' => 'delay',
|
||||||
'lang' => true,
|
'lang' => true,
|
||||||
'required' => true,
|
'required' => true,
|
||||||
'size' => 41,
|
|
||||||
'maxlength' => 128,
|
'maxlength' => 128,
|
||||||
'desc' => $this->l('Estimated delivery time will be displayed during checkout.')
|
'hint' => $this->l('Estimated delivery time will be displayed during checkout.')
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'type' => 'text',
|
'type' => 'text',
|
||||||
@@ -185,7 +184,7 @@ class AdminCarrierWizardControllerCore extends AdminController
|
|||||||
'name' => 'grade',
|
'name' => 'grade',
|
||||||
'required' => false,
|
'required' => false,
|
||||||
'size' => 1,
|
'size' => 1,
|
||||||
'desc' => $this->l('Enter "0" for a longest shipping delay, or "9" for the shortest shipping delay.')
|
'hint' => $this->l('Enter "0" for a longest shipping delay, or "9" for the shortest shipping delay.')
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'type' => 'logo',
|
'type' => 'logo',
|
||||||
@@ -196,8 +195,7 @@ class AdminCarrierWizardControllerCore extends AdminController
|
|||||||
'type' => 'text',
|
'type' => 'text',
|
||||||
'label' => $this->l('Tracking URL:'),
|
'label' => $this->l('Tracking URL:'),
|
||||||
'name' => 'url',
|
'name' => 'url',
|
||||||
'size' => 40,
|
'hint' => $this->l('Delivery tracking URL: Type \'@\' where the tracking number should appear. It will then be automatically replaced by the tracking number.')
|
||||||
'desc' => $this->l('Delivery tracking URL: Type \'@\' where the tracking number should appear. It will then be automatically replaced by the tracking number.')
|
|
||||||
),
|
),
|
||||||
)),
|
)),
|
||||||
);
|
);
|
||||||
@@ -231,7 +229,7 @@ class AdminCarrierWizardControllerCore extends AdminController
|
|||||||
'id_form' => 'step_carrier_ranges',
|
'id_form' => 'step_carrier_ranges',
|
||||||
'input' => array(
|
'input' => array(
|
||||||
array(
|
array(
|
||||||
'type' => 'radio',
|
'type' => 'switch',
|
||||||
'label' => $this->l('Shipping and handling:'),
|
'label' => $this->l('Shipping and handling:'),
|
||||||
'name' => 'shipping_handling',
|
'name' => 'shipping_handling',
|
||||||
'required' => false,
|
'required' => false,
|
||||||
@@ -249,10 +247,10 @@ class AdminCarrierWizardControllerCore extends AdminController
|
|||||||
'label' => $this->l('Disabled')
|
'label' => $this->l('Disabled')
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
'desc' => $this->l('Include the shipping and handling costs in the carrier price.')
|
'hint' => $this->l('Include the shipping and handling costs in the carrier price.')
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'type' => 'radio',
|
'type' => 'switch',
|
||||||
'label' => $this->l('Apply shipping cost:'),
|
'label' => $this->l('Apply shipping cost:'),
|
||||||
'name' => 'is_free',
|
'name' => 'is_free',
|
||||||
'required' => false,
|
'required' => false,
|
||||||
@@ -269,10 +267,10 @@ class AdminCarrierWizardControllerCore extends AdminController
|
|||||||
'label' => '<img src="../img/admin/disabled.gif" alt="'.$this->l('No').'" title="'.$this->l('No').'" />'
|
'label' => '<img src="../img/admin/disabled.gif" alt="'.$this->l('No').'" title="'.$this->l('No').'" />'
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
'desc' => $this->l('Apply both regular shipping cost and product-specific shipping costs.')
|
'hint' => $this->l('Apply both regular shipping cost and product-specific shipping costs.')
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'type' => 'radio',
|
'type' => 'switch',
|
||||||
'label' => $this->l('Billing:'),
|
'label' => $this->l('Billing:'),
|
||||||
'name' => 'shipping_method',
|
'name' => 'shipping_method',
|
||||||
'required' => false,
|
'required' => false,
|
||||||
@@ -327,7 +325,7 @@ class AdminCarrierWizardControllerCore extends AdminController
|
|||||||
'id' => 'id',
|
'id' => 'id',
|
||||||
'name' => 'name'
|
'name' => 'name'
|
||||||
),
|
),
|
||||||
'desc' => $this->l('Out-of-range behavior occurs when no defined range matches the customer\'s cart (e.g. when the weight of the cart is greater than the highest weight limit defined by the weight ranges)')
|
'hint' => $this->l('Out-of-range behavior occurs when no defined range matches the customer\'s cart (e.g. when the weight of the cart is greater than the highest weight limit defined by the weight ranges)')
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -355,8 +353,7 @@ class AdminCarrierWizardControllerCore extends AdminController
|
|||||||
'label' => $this->l('Maximum package height ('.Configuration::get('PS_DIMENSION_UNIT').'):'),
|
'label' => $this->l('Maximum package height ('.Configuration::get('PS_DIMENSION_UNIT').'):'),
|
||||||
'name' => 'max_height',
|
'name' => 'max_height',
|
||||||
'required' => false,
|
'required' => false,
|
||||||
'size' => 10,
|
'hint' => $this->l('Maximum height managed by this carrier. Set the value to "0", or leave this field blank to ignore.').' '.$this->l('The value must be an integer
|
||||||
'desc' => $this->l('Maximum height managed by this carrier. Set the value to "0", or leave this field blank to ignore.').' '.$this->l('The value must be an integer
|
|
||||||
.')
|
.')
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
@@ -364,8 +361,7 @@ class AdminCarrierWizardControllerCore extends AdminController
|
|||||||
'label' => $this->l('Maximum package width ('.Configuration::get('PS_DIMENSION_UNIT').'):'),
|
'label' => $this->l('Maximum package width ('.Configuration::get('PS_DIMENSION_UNIT').'):'),
|
||||||
'name' => 'max_width',
|
'name' => 'max_width',
|
||||||
'required' => false,
|
'required' => false,
|
||||||
'size' => 10,
|
'hint' => $this->l('Maximum width managed by this carrier. Set the value to "0", or leave this field blank to ignore.').' '.$this->l('The value must be an integer
|
||||||
'desc' => $this->l('Maximum width managed by this carrier. Set the value to "0", or leave this field blank to ignore.').' '.$this->l('The value must be an integer
|
|
||||||
.')
|
.')
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
@@ -373,8 +369,7 @@ class AdminCarrierWizardControllerCore extends AdminController
|
|||||||
'label' => $this->l('Maximum package depth ('.Configuration::get('PS_DIMENSION_UNIT').'):'),
|
'label' => $this->l('Maximum package depth ('.Configuration::get('PS_DIMENSION_UNIT').'):'),
|
||||||
'name' => 'max_depth',
|
'name' => 'max_depth',
|
||||||
'required' => false,
|
'required' => false,
|
||||||
'size' => 10,
|
'hint' => $this->l('Maximum depth managed by this carrier. Set the value to "0", or leave this field blank to ignore.').' '.$this->l('The value must be an integer
|
||||||
'desc' => $this->l('Maximum depth managed by this carrier. Set the value to "0", or leave this field blank to ignore.').' '.$this->l('The value must be an integer
|
|
||||||
.')
|
.')
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
@@ -382,15 +377,14 @@ class AdminCarrierWizardControllerCore extends AdminController
|
|||||||
'label' => $this->l('Maximum package weight ('.Configuration::get('PS_WEIGHT_UNIT').'):'),
|
'label' => $this->l('Maximum package weight ('.Configuration::get('PS_WEIGHT_UNIT').'):'),
|
||||||
'name' => 'max_weight',
|
'name' => 'max_weight',
|
||||||
'required' => false,
|
'required' => false,
|
||||||
'size' => 10,
|
'hint' => $this->l('Maximum weight managed by this carrier. Set the value to "0", or leave this field blank to ignore.')
|
||||||
'desc' => $this->l('Maximum weight managed by this carrier. Set the value to "0", or leave this field blank to ignore.')
|
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'type' => 'group',
|
'type' => 'group',
|
||||||
'label' => $this->l('Group access:'),
|
'label' => $this->l('Group access:'),
|
||||||
'name' => 'groupBox',
|
'name' => 'groupBox',
|
||||||
'values' => Group::getGroups(Context::getContext()->language->id),
|
'values' => Group::getGroups(Context::getContext()->language->id),
|
||||||
'desc' => $this->l('Mark the groups that are allowed access to this carrier.')
|
'hint' => $this->l('Mark the groups that are allowed access to this carrier.')
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
));
|
));
|
||||||
@@ -419,7 +413,7 @@ class AdminCarrierWizardControllerCore extends AdminController
|
|||||||
'id_form' => 'step_carrier_summary',
|
'id_form' => 'step_carrier_summary',
|
||||||
'input' => array(
|
'input' => array(
|
||||||
array(
|
array(
|
||||||
'type' => 'radio',
|
'type' => 'switch',
|
||||||
'label' => $this->l('Status:'),
|
'label' => $this->l('Status:'),
|
||||||
'name' => 'active',
|
'name' => 'active',
|
||||||
'required' => false,
|
'required' => false,
|
||||||
@@ -437,7 +431,7 @@ class AdminCarrierWizardControllerCore extends AdminController
|
|||||||
'label' => $this->l('Disabled')
|
'label' => $this->l('Disabled')
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
'desc' => $this->l('Enable the carrier in the Front Office')
|
'hint' => $this->l('Enable the carrier in the Front Office')
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
));
|
));
|
||||||
|
|||||||
Reference in new issue
Block a user