1 |
4894
|
thanos.pap
|
<%@ taglib prefix="s" uri="/struts-tags"%>
|
2 |
|
|
<%@ page contentType="text/html; charset=UTF-8"%>
|
3 |
7783
|
natalia.ma
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4 |
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5 |
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
6 |
|
|
|
7 |
|
|
|
8 |
4894
|
thanos.pap
|
<head>
|
9 |
5847
|
thanos.pap
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
10 |
7672
|
thanos.pap
|
<title>DRIVER Communities</title>
|
11 |
13398
|
katerina.i
|
<link href='<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/assets/<s:property value="#application['webInterfaceLayoutManager'].cssFileName" />' rel="stylesheet" type="text/css" />
|
12 |
|
|
<link href="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/assets/SimpleTabs.css" rel="stylesheet" type="text/css" />
|
13 |
|
|
<link rel="shortcut icon" href="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/favicon.ico" />
|
14 |
7672
|
thanos.pap
|
<!-- MB - ADD mootools here: new version -->
|
15 |
13398
|
katerina.i
|
<script type="text/javascript" src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/js/mootools-1.2.3-core.js"></script>
|
16 |
|
|
<script type="text/javascript" src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/js/mootools-1.2.3.1-more.js"></script>
|
17 |
7672
|
thanos.pap
|
<script type="text/javascript" language="javascript">
|
18 |
5847
|
thanos.pap
|
function checkCreate() {
|
19 |
|
|
var name = document.getElementById('createCommunityActionName');
|
20 |
|
|
var description = document.getElementById('createCommunityActionDescription');
|
21 |
|
|
if ((name.value == null) || (name.value == '')) {
|
22 |
|
|
alert('Please enter a name');
|
23 |
|
|
name.focus();
|
24 |
|
|
return false;
|
25 |
|
|
}
|
26 |
|
|
if ((description.value == null) || (description.value == '')) {
|
27 |
|
|
alert('Please enter a description');
|
28 |
|
|
description.focus();
|
29 |
|
|
return false;
|
30 |
|
|
}
|
31 |
|
|
return true;
|
32 |
|
|
}
|
33 |
|
|
|
34 |
|
|
function resetCreate() {
|
35 |
|
|
var name = document.getElementById('createCommunityActionName');
|
36 |
|
|
var description = document.getElementById('createCommunityActionDescription');
|
37 |
|
|
name.focus();
|
38 |
|
|
}
|
39 |
|
|
</script>
|
40 |
4894
|
thanos.pap
|
</head>
|
41 |
7783
|
natalia.ma
|
<body onLoad="resetCreate();">
|
42 |
5847
|
thanos.pap
|
<div id="center">
|
43 |
|
|
<div id="wrapper">
|
44 |
7399
|
katerina.i
|
<div class="wrapper_shadowleft">
|
45 |
|
|
<div class="wrapper_shadowright">
|
46 |
5847
|
thanos.pap
|
<div id="container">
|
47 |
|
|
<jsp:include page="/pages/banner.jsp" />
|
48 |
7672
|
thanos.pap
|
<jsp:include page="/pages/menu.jsp" />
|
49 |
7783
|
natalia.ma
|
<div id="leftcolumn">
|
50 |
7672
|
thanos.pap
|
<b class="curved_top">
|
51 |
|
|
<b class="curved_t1"></b>
|
52 |
|
|
<b class="curved_t2"></b>
|
53 |
|
|
<b class="curved_t3"></b>
|
54 |
|
|
<b class="curved_t4"></b>
|
55 |
|
|
</b>
|
56 |
7783
|
natalia.ma
|
<div class="curved_container clearfix">
|
57 |
|
|
<div class="featured_top leftcolumn_top">Communities</div>
|
58 |
|
|
<s:set name="action" value="%{'ViewCommunity.action'}"/>
|
59 |
|
|
<jsp:include page="/pages/community/allCommunitiesMenu.jsp" />
|
60 |
|
|
</div>
|
61 |
7672
|
thanos.pap
|
<b class="curved_bottom">
|
62 |
|
|
<b class="curved_b4"></b>
|
63 |
|
|
<b class="curved_b3"></b>
|
64 |
|
|
<b class="curved_b2"></b>
|
65 |
|
|
<b class="curved_b1"></b>
|
66 |
|
|
</b>
|
67 |
5847
|
thanos.pap
|
</div>
|
68 |
|
|
<div id="maincolumn2">
|
69 |
7783
|
natalia.ma
|
<div id="communityPage">
|
70 |
7672
|
thanos.pap
|
<b class="curved_top">
|
71 |
|
|
<b class="curved_t1"></b>
|
72 |
|
|
<b class="curved_t2"></b>
|
73 |
|
|
<b class="curved_t3"></b>
|
74 |
|
|
<b class="curved_t4"></b>
|
75 |
|
|
</b>
|
76 |
|
|
<div class="curved_container clearfix">
|
77 |
7783
|
natalia.ma
|
<div class="featured_top communityPage_top">
|
78 |
13398
|
katerina.i
|
<img src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/icons/communities.png" alt="DRIVER Communities" width="16" height="16" class="absmiddle" />
|
79 |
7672
|
thanos.pap
|
|
80 |
7812
|
natalia.ma
|
Create a community
|
81 |
7672
|
thanos.pap
|
</div>
|
82 |
|
|
<div id="popularDocuments" class="tab-wrapper clearfix">
|
83 |
|
|
<div class="mydriveritem col1">
|
84 |
7783
|
natalia.ma
|
<form id="createCommunityAction" onSubmit="return checkCreate();" onReset="resetCreate();" action="CreateCommunity2.action" method="POST">
|
85 |
|
|
<div class="communityField">
|
86 |
|
|
<span class="communityFieldNm">Name</span>
|
87 |
|
|
</div>
|
88 |
|
|
<div class="communityField">
|
89 |
7919
|
thanos.pap
|
<input type="text" name="name" value="" id="createCommunityActionName" maxlength="<s:property value="smallFieldLength" /> " size="<s:property value="smallFieldLength" />" />
|
90 |
|
|
(max <s:property value="smallFieldLength" /> chars)
|
91 |
7672
|
thanos.pap
|
</div>
|
92 |
7783
|
natalia.ma
|
<div class="communityField">
|
93 |
|
|
<span class="communityFieldNm">Description</span>
|
94 |
|
|
</div>
|
95 |
|
|
<div class="communityField">
|
96 |
7919
|
thanos.pap
|
<input type="text" name="description" id="createCommunityActionDescription" maxlength="<s:property value="mediumFieldLength" />" size="<s:property value="mediumFieldLength" />" />
|
97 |
|
|
(max <s:property value="mediumFieldLength" /> chars)
|
98 |
7672
|
thanos.pap
|
</div>
|
99 |
7783
|
natalia.ma
|
<div class="communityField"> </div>
|
100 |
|
|
<div class="communityField">
|
101 |
|
|
<input type="submit" id="createCommunityActionCreate" value="Create" />
|
102 |
|
|
<input type="reset" id="createCommunityActionReset" value="Reset" />
|
103 |
7672
|
thanos.pap
|
</div>
|
104 |
|
|
</form>
|
105 |
5847
|
thanos.pap
|
</div>
|
106 |
|
|
</div>
|
107 |
|
|
</div>
|
108 |
7672
|
thanos.pap
|
<b class="curved_bottom">
|
109 |
|
|
<b class="curved_b4"></b>
|
110 |
|
|
<b class="curved_b3"></b>
|
111 |
|
|
<b class="curved_b2"></b>
|
112 |
|
|
<b class="curved_b1"></b>
|
113 |
|
|
</b>
|
114 |
5847
|
thanos.pap
|
</div>
|
115 |
7783
|
natalia.ma
|
</div>
|
116 |
12995
|
katerina.i
|
<div id="footer">
|
117 |
|
|
<s:action name="FooterPage" executeResult="true"/>
|
118 |
|
|
</div>
|
119 |
5847
|
thanos.pap
|
</div>
|
120 |
|
|
</div>
|
121 |
|
|
</div>
|
122 |
|
|
</div>
|
123 |
|
|
</div>
|
124 |
4894
|
thanos.pap
|
</body>
|
125 |
12963
|
antonis.le
|
</html>
|