[pve-devel] [PATCH 1/2] switch default extjs 5 theme to neptune
Emmanuel Kasper
e.kasper at proxmox.com
Wed Apr 29 11:57:29 CEST 2015
---
PVE/ExtJSIndex5.pm | 2 +-
www/ext5/Makefile | 7 +++----
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/PVE/ExtJSIndex5.pm b/PVE/ExtJSIndex5.pm
index 45931aa..1fd6dbc 100644
--- a/PVE/ExtJSIndex5.pm
+++ b/PVE/ExtJSIndex5.pm
@@ -13,7 +13,7 @@ sub get_index {
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Proxmox Virtual Environment</title>
- <link rel="stylesheet" type="text/css" href="/pve2/ext5/packages/ext-theme-classic/build/resources/ext-theme-classic-all.css" />
+ <link rel="stylesheet" type="text/css" href="/pve2/ext5/packages/ext-theme-neptune/build/resources/ext-theme-neptune-all.css" />
<link rel="stylesheet" type="text/css" href="/pve2/css/ext-pve.css" />
_EOD
diff --git a/www/ext5/Makefile b/www/ext5/Makefile
index 559db73..ebd30da 100644
--- a/www/ext5/Makefile
+++ b/www/ext5/Makefile
@@ -8,11 +8,10 @@ EXTDATA= \
extjs/build/ext-all-debug.js \
extjs/build/bootstrap.js
-# pve 3.* theme
-EXT_CLASSIC_THEME= \
+EXT_THEME= \
extjs/packages/ext-theme-base \
extjs/packages/ext-theme-neutral \
- extjs/packages/ext-theme-classic \
+ extjs/packages/ext-theme-neptune \
${EXTDATA}: ${EXTJSSRC}
rm -rf ${EXTJSDIR} extjs
@@ -28,7 +27,7 @@ install: ${EXTDATA}
install -m 0644 ${EXTDATA} ${WWWEXT5DIR}
install -d ${WWWEXT5DIR}/packages
cp -a extjs/build/packages/ext-locale ${WWWEXT5DIR}/packages
- cp -a ${EXT_CLASSIC_THEME} ${WWWEXT5DIR}/packages
+ cp -a ${EXT_THEME} ${WWWEXT5DIR}/packages
chown -R www-data:www-data ${WWWEXT5DIR}
.PHONY: distclean
--
2.1.4
More information about the pve-devel
mailing list