Add bootstrap theme in Manager (#670)

This commit is contained in:
Clément Oudot 2014-01-28 20:08:16 +00:00
parent ee3f02fe43
commit 6adfc6af64
3 changed files with 2 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@ -704,7 +704,7 @@ function changeSkinImage(skin) {
$('#skinText').val(skin);
// Set skin to custom if not a registered skin
// Custom field can the be edited
if ((skin!='pastel') && (skin!='dark') && (skin!='impact')){
if ((skin!='pastel') && (skin!='dark') && (skin!='impact') && (skin!='bootstrap')){
skin = 'custom';
$('#skinText').removeAttr('readonly');
} else {

View File

@ -57,6 +57,7 @@
<!-- Skin picker-->
<div id="skinImagePicker" title="<lang en="Choose a skin" fr="Choisir un thème" />">
<button><img src="<TMPL_VAR NAME="DIR">/images/portal-skins/bootstrap.png" alt="Bootstrap" title="bootstrap" width="200px" height="129px" /></button>
<button><img src="<TMPL_VAR NAME="DIR">/images/portal-skins/pastel.png" alt="Pastel" title="pastel" width="200px" height="129px" /></button>
<button><img src="<TMPL_VAR NAME="DIR">/images/portal-skins/impact.png" alt="Impact" title="impact" width="200px" height="129px" /></button>
<button><img src="<TMPL_VAR NAME="DIR">/images/portal-skins/dark.png" alt="Dark" title="dark" width="200px" height="129px" /></button>