Commit 37e928ea authored by Ryan Graham's avatar Ryan Graham Committed by ryan

more look-and-feel applied to most of the rest of the setup tool

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@4824 b35dd754-fafc-0310-a699-88a17e54d16e
parent 5f7392a0
......@@ -100,18 +100,19 @@
}
%>
<html>
<head>
<title><fmt:message key="setup.admin.settings.account" /></title>
</head>
<head>
<title><fmt:message key="setup.admin.settings.account" /></title>
</head>
<body>
<p class="jive-setup-page-header">
<fmt:message key="setup.admin.settings.account" />
</p>
<p>
<fmt:message key="setup.admin.settings.info" />
</p>
<h1>
<fmt:message key="setup.admin.settings.account" />
</h1>
<p>
<fmt:message key="setup.admin.settings.info" />
</p>
<% if (errors.size() > 0) { %>
......@@ -129,6 +130,11 @@
<% } %>
<!-- BEGIN jive-contentBox -->
<div class="jive-contentBox">
<script language="JavaScript" type="text/javascript">
var clicked = false;
function checkClick() {
......@@ -199,7 +205,7 @@ function checkClick() {
%>
<tr valign="top">
<td class="jive-label">
<td class="jive-label" align="right">
<fmt:message key="setup.admin.settings.email" />
</td>
<td>
......@@ -218,7 +224,7 @@ function checkClick() {
</td>
</tr>
<tr valign="top">
<td class="jive-label">
<td class="jive-label" align="right">
<fmt:message key="setup.admin.settings.new_password" />
</td>
<td>
......@@ -237,7 +243,7 @@ function checkClick() {
</td>
</tr>
<tr valign="top">
<td class="jive-label">
<td class="jive-label" align="right">
<fmt:message key="setup.admin.settings.confirm_password" />
</td>
<td>
......@@ -252,16 +258,19 @@ function checkClick() {
</tr>
</table>
<br><br>
<hr size="0">
<div align="right">
<input type="submit" name="continue" value=" <fmt:message key="global.continue" /> ">
<input type="submit" name="doSkip" value="<fmt:message key="setup.admin.settings.skip_this_step" />">
</div>
<br>
<div align="right">
<input type="submit" name="doSkip" value="<fmt:message key="setup.admin.settings.skip_this_step" />" id="jive-setup-skip" border="0">
<input type="Submit" name="continue" value="<fmt:message key="global.continue" />" id="jive-setup-save" border="0">
</div>
</form>
</div>
<!-- END jive-contentBox -->
</form>
<script language="JavaScript" type="text/javascript">
<!--
......
......@@ -131,19 +131,19 @@
<html>
<head>
<title><fmt:message key="setup.datasource.settings.title" /></title>
<title><fmt:message key="setup.datasource.settings.title" /></title>
</head>
<body>
<p class="jive-setup-page-header">
<fmt:message key="setup.datasource.settings.title" />
</p>
<h1>
<fmt:message key="setup.datasource.settings.title" />
</h1>
<p>
<fmt:message key="setup.datasource.settings.info">
<fmt:param value="<%= LocaleUtils.getLocalizedString("short.title") %>" />
</fmt:message>
</p>
<p>
<fmt:message key="setup.datasource.settings.info">
<fmt:param value="<%= LocaleUtils.getLocalizedString("short.title") %>" />
</fmt:message>
</p>
<% if (errors.size() > 0) { %>
......@@ -153,7 +153,11 @@
<% } %>
<form action="setup-datasource-settings.jsp">
<!-- BEGIN jive-contentBox -->
<div class="jive-contentBox">
<form action="setup-datasource-settings.jsp">
<input type="hidden" name="next" value="true">
<table cellpadding="3" cellspacing="2" border="0">
......@@ -197,11 +201,15 @@
<br><br>
<hr size="0">
<div align="right"><input type="submit" value=" <fmt:message key="global.continue" /> "></div>
<div align="right">
<input type="Submit" name="continue" value="<fmt:message key="global.continue" />" id="jive-setup-save" border="0">
</div>
</form>
</div>
<!-- END jive-contentBox -->
</form>
</body>
</html>
\ No newline at end of file
......@@ -194,22 +194,22 @@
%>
<html>
<head>
<title><fmt:message key="setup.datasource.standard.title" /></title>
</head>
<head>
<title><fmt:message key="setup.datasource.standard.title" /></title>
</head>
<body>
<p class="jive-setup-page-header">
<fmt:message key="setup.datasource.standard.title" />
</p>
<h1>
<fmt:message key="setup.datasource.standard.title" />
</h1>
<p>
<fmt:message key="setup.datasource.standard.info" /> <fmt:message key="title" />.
</p>
<p>
<fmt:message key="setup.datasource.standard.info" /> <fmt:message key="title" />.
</p>
<p>
<b><fmt:message key="setup.datasource.standard.info2" /> </b><fmt:message key="setup.datasource.standard.info3" /><tt>[Wildfire_HOME]/resources/database</tt>.
</p>
<p>
<b><fmt:message key="setup.datasource.standard.info2" /> </b><fmt:message key="setup.datasource.standard.info3" /> <tt>[Wildfire_HOME]/resources/database</tt>.
</p>
<% if (errors.size() > 0) { %>
......@@ -227,6 +227,12 @@
<% } %>
<!-- BEGIN jive-contentBox -->
<div class="jive-contentBox">
<% // DB preset data
List<String[]> presets = new ArrayList<String []>();
presets.add(new String[]{"MySQL","com.mysql.jdbc.Driver","jdbc:mysql://[host-name]:3306/[database-name]"});
......@@ -256,13 +262,12 @@ function checkSubmit() {
}
</script>
<form action="setup-datasource-standard.jsp" method="post" name="dbform"
onsubmit="return checkSubmit();">
<form action="setup-datasource-standard.jsp" method="post" name="dbform" onsubmit="return checkSubmit();">
<table cellpadding="3" cellspacing="2" border="0">
<tr>
<td colspan="2">
<fmt:message key="setup.datasource.standard.label" />:
<td nowrap align="right"><fmt:message key="setup.datasource.standard.label" />:</td>
<td>
<select size="1" name="presets" onchange="populate(this.options[this.selectedIndex].value)">
<option value=""><fmt:message key="setup.datasource.standard.pick_database" />
<% for (int i=0; i<presets.size(); i++) {
......@@ -271,11 +276,10 @@ function checkSubmit() {
<option value="<%= i %>"> &#149; <%= data[0] %>
<% } %>
</select>
<br><br>
</td>
</tr>
<tr valign="top">
<td class="jive-label" nowrap>
<td nowrap align="right">
<fmt:message key="setup.datasource.standard.jdbc" />
</td>
<td>
......@@ -295,9 +299,8 @@ function checkSubmit() {
<% } %>
</td>
</tr>
<tr><td colspan="2">&nbsp;</td></tr>
<tr valign="top">
<td class="jive-label" nowrap>
<td nowrap align="right">
<fmt:message key="setup.datasource.standard.url" />
</td>
<td>
......@@ -319,7 +322,7 @@ function checkSubmit() {
</tr>
<tr><td colspan="2">&nbsp;</td></tr>
<tr valign="top">
<td class="jive-label" nowrap>
<td nowrap align="right">
<fmt:message key="setup.datasource.standard.username" />
</td>
<td>
......@@ -339,9 +342,8 @@ function checkSubmit() {
<% } %>
</td>
</tr>
<tr><td colspan="2">&nbsp;</td></tr>
<tr valign="top">
<td class="jive-label" nowrap>
<td nowrap align="right">
<fmt:message key="setup.datasource.standard.password" />
</td>
<td>
......@@ -363,7 +365,7 @@ function checkSubmit() {
</tr>
<tr><td colspan="2">&nbsp;</td></tr>
<tr valign="top">
<td class="jive-label" nowrap>
<td nowrap align="right">
<fmt:message key="setup.datasource.standard.connect" />
</td>
<td>
......@@ -394,9 +396,8 @@ function checkSubmit() {
<% } %>
</td>
</tr>
<tr><td colspan="2">&nbsp;</td></tr>
<tr valign="top">
<td class="jive-label" nowrap>
<td nowrap align="right">
<fmt:message key="setup.datasource.standard.timeout" />
</td>
<td>
......@@ -420,15 +421,15 @@ function checkSubmit() {
<br><br>
<hr size="0">
<div align="right"><span class="jive-description">
<fmt:message key="setup.datasource.standard.note" /></span>
<input type="Submit" name="continue" value="<fmt:message key="global.continue" />" id="jive-setup-save" border="0">
</div>
</form>
<div align="right">
<input type="submit" name="continue" value=" <fmt:message key="global.continue" /> ">
<br>
<fmt:message key="setup.datasource.standard.note" />
</div>
</div>
<!-- END jive-contentBox -->
</form>
</body>
</html>
\ No newline at end of file
......@@ -39,19 +39,20 @@
<html>
<head>
<title><fmt:message key="setup.finished.title" /></title>
<meta name="showSidebar" content="false"/>
</head>
<body>
<p class="jive-setup-page-header">
<fmt:message key="setup.finished.title" />
</p>
<p>
<fmt:message key="setup.finished.info">
<fmt:param value="<%= LocaleUtils.getLocalizedString("title") %>" />
</fmt:message>
</p>
<h1>
<fmt:message key="setup.finished.title" />
</h1>
<p>
<fmt:message key="setup.finished.info">
<fmt:param value="<%= LocaleUtils.getLocalizedString("title") %>" />
</fmt:message>
</p>
<%
// Figure out the URL that the user can use to login to the admin console.
......
......@@ -103,30 +103,28 @@
</head>
<body>
<style type="text/css">
LABEL { font-weight : normal; }
</style>
<p class="jive-setup-page-header">
<fmt:message key="setup.host.settings.title" />
</p>
<h1>
<fmt:message key="setup.host.settings.title" />
</h1>
<p>
<fmt:message key="setup.host.settings.info" />
</p>
<p>
<fmt:message key="setup.host.settings.info" />
</p>
<form action="setup-host-settings.jsp" name="f" method="post">
<!-- BEGIN jive-contentBox -->
<div class="jive-contentBox">
<form action="setup-host-settings.jsp" name="f" method="post">
<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tr valign="top">
<td width="1%" nowrap>
<td width="1%" nowrap align="right">
<fmt:message key="setup.host.settings.domain" />
<% if (errors.get("domain") != null) { %>
<span class="jive-error-text"><br>
<fmt:message key="setup.host.settings.invalid_domain" />
</span>
<% } %>
</td>
<td width="99%">
......@@ -140,14 +138,12 @@ LABEL { font-weight : normal; }
</tr>
<% if (XMPPServer.getInstance().isStandAlone()){ %>
<tr valign="top">
<td width="1%" nowrap>
<td width="1%" nowrap align="right">
<fmt:message key="setup.host.settings.port" />
<% if (errors.get("embeddedPort") != null) { %>
<span class="jive-error-text"><br>
<fmt:message key="setup.host.settings.invalid_port" />
</span>
<% } %>
</td>
<td width="99%">
......@@ -160,14 +156,12 @@ LABEL { font-weight : normal; }
</td>
</tr>
<tr valign="top">
<td width="1%" nowrap>
<td width="1%" nowrap align="right">
<fmt:message key="setup.host.settings.secure_port" />
<% if (errors.get("securePort") != null) { %>
<span class="jive-error-text"><br>
<fmt:message key="setup.host.settings.invalid_port" />
</span>
<% } %>
</td>
<td width="99%">
......@@ -184,17 +178,21 @@ LABEL { font-weight : normal; }
<br><br>
<hr size="0">
<div align="right">
<input type="submit" name="continue" value=" <fmt:message key="global.continue" /> ">
</div>
</form>
<div align="right">
<input type="Submit" name="continue" value="<fmt:message key="global.continue" />" id="jive-setup-save" border="0">
</div>
</form>
</div>
<!-- END jive-contentBox -->
<script language="JavaScript" type="text/javascript">
// give focus to domain field
document.f.domain.focus();
</script>
</body>
</html>
\ No newline at end of file
......@@ -31,23 +31,65 @@
%>
<html>
<head>
<title>Profile Settings</title>
</head>
<head>
<title>Profile Settings</title>
</head>
<body>
<p class="jive-setup-page-header">
<h1>
Profile Settings
</p>
</h1>
<p>
Blah blah.
</p>
<p>
Choose whether or not Wildfire integrates with an existing directory server for user profiles.
</p>
<!-- BEGIN jive-contentBox -->
<div class="jive-contentBox">
<form action="setup-profile-settings.jsp" name="profileform" method="post">
<table cellpadding="3" cellspacing="2" border="0">
<tr>
<td align="center" valign="top">
<input type="radio" name="mode" value="" id="rb01" checked>
</td>
<td>
<label for="rb01"><b>None (default)</b></label><br>
No directory server available.
</td>
</tr>
<tr>
<td align="center" valign="top">
<input type="radio" name="mode" value="" id="rb02" disabled>
</td>
<td>
<label for="rb02"><b>Integrate with a directory server</b></label><br>
Use an existing directory server (such as Active Directory, OpenLDAP, etc) for profile integration.
</td>
</tr>
<tr>
<td align="center" valign="top">
<input type="radio" name="mode" value="" id="rb03" disabled>
</td>
<td>
<label for="rb03"><b>Other</b></label><br>
If you have a custom profile integration system, selecting this will create the config file
<tt>\wildfire\foo.conf</tt>, though you will need to edit it manually after you complete the setup process.
</td>
</tr>
</table>
<br>
<div align="right">
<input type="Submit" name="continue" value="<fmt:message key="global.continue" />" id="jive-setup-save" border="0">
</div>
</form>
</div>
<!-- END jive-contentBox -->
<form action="setup-profile-settings.jsp" name="profileform" method="post">
</form>
</body>
</html>
......@@ -87,24 +87,24 @@ A:active {
padding-left : 20px;
}
.jive-setup-checklist-box {
border-width : 0px 1px 1px 0px;
border-color : #ccc;
border-width: 0px 1px 1px 0px;
border-color: #ccc;
border-style : solid;
padding-left : 1em;
padding-right : 1em;
}
.jive-error-text {
color : #f00;
}
color: #f00;
}
.jive-label {
padding-right : 10px;
padding-top : 6px;
padding-right: 10px;
padding-top: 6px;
}
.jive-description {
font-family : verdana;
font-size : 0.8em;
}
font-family: verdana;
font-size: 0.8em;
}
.jive-custom-datasource .jive-label {
font-size : 0.8em;
font-family : verdana;
}
\ No newline at end of file
font-size: 0.8em;
font-family: verdana;
}
\ No newline at end of file
......@@ -135,6 +135,10 @@ form {
margin: 0px;
padding: 0px 0px 14px 0px;
}
#jive-body tt {
font-size: 8pt;
font-weight: bold;
}
.jive-contentBox {
display: block;
margin: 5px 0px 20px 0px;
......@@ -165,7 +169,22 @@ form {
border: 1px solid #7c7c7c;
background: #d6892c url(../images/setup_btn_bg-orange.gif) repeat-x;
}
.jive-contentBox input#jive-setup-skip {
padding: 2px 5px 2px 5px;
margin: 0px 10px 0px 0px;
font-size: 11px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
color: #fff;
border: 1px solid #7c7c7c;
background: #8c8c8c url(../images/setup_btn_bg-grey.gif) repeat-x;
}
.jive-description {
font-size: 11px;
}
.jive-error-text {
color : #f00;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment