From 37b29231e47a0c4458dc1c15d98588f16f07e1e2 Mon Sep 17 00:00:00 2001
From: Marius Cramer <m.cramer@pixcept.de>
Date: Thu, 06 Aug 2015 03:18:44 -0400
Subject: [PATCH] - don't set password via remoting if field is empty

---
 interface/web/dashboard/dashlets/templates/modules.htm |   18 ++++++++++++------
 1 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/interface/web/dashboard/dashlets/templates/modules.htm b/interface/web/dashboard/dashlets/templates/modules.htm
index 03fb8cb..d42bf2e 100644
--- a/interface/web/dashboard/dashlets/templates/modules.htm
+++ b/interface/web/dashboard/dashlets/templates/modules.htm
@@ -1,10 +1,16 @@
 	<h2>{tmpl_var name='available_modules_txt'}</h2>
-	<div style="width:350px;">
+	<div style='margin: 0 auto;'>
+	<ul class='modules clear'>
 	<tmpl_loop name='modules'>
-		<div class="dashboard-modules {tmpl_var name='modules_name'}">
-			<a href="#" onclick="capp('{tmpl_var name='modules_name'}')">
-			{tmpl_var name='modules_title'}
-			</a>
-		</div>
+		<li>
+			<div class='clear'>
+			  <div class='icon icon-{tmpl_var name='modules_name'}'></div>
+			  <div class='left'>
+				<div class='title'>{tmpl_var name='modules_title'}</div>
+			  </div>
+			</div>
+			<a href='#' class='btn btn-default button' data-capp='{tmpl_var name="modules_name"}'>Go to {tmpl_var name='modules_title'}</a>
+		</li>
 	</tmpl_loop>
+	</ul>
 	</div>
\ No newline at end of file

--
Gitblit v1.9.1