popup_send_resource.html

 1   <!DOCTYPE html>
 2   <html>
 3   	<head>
 4   		<base href="${base_url}" />
 5   		<title>#i18n{portal.site.popup_send_resource.title}</title>
 6   		<meta http-equiv="Content-Type" content="text/html"/>
 7   		<meta http-equiv="Content-Language" content="${user_context_language}"/>
 8   		<meta name="viewport" content="width=device-width, initial-scale=1.0">
 9   		<!-- Le styles -->
 10   		<link href="css/bootstrap.min.css" rel="stylesheet"/>
 11   		<link rel="stylesheet" href="css/page_template_styles.css" type="text/css" media="screen, projection"/>
 12   		<link href="css/bootstrap-responsive.min.css" rel="stylesheet"/>
 13   		<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
 14   		<!--[if lt IE 9]>
 15   		<script src="https://html5shim.googlecode.com/svn/trunk/html5.js"></script>
 16   		<![endif]-->
 17   		<!-- Le fav and touch icons -->
 18   		<link rel="shortcut icon" href="${base_url}favicon.ico">
 19   		<script src="js/jquery/jquery.min.js"></script>
 20   	</head>
 21   	<body>
 22   		<#include "page_header_home.html" />
 23   		<div class="container">
 24   			<div class="row">
 25   			   	<form class="form form-inline" action="jsp/site/SendResource.jsp" method="post">
 26   			   		<@fieldSet>
 27   			   			<legend>#i18n{portal.site.popup_send_resource.title}</legend>
 28   			   			<#if error?? && error != "">
 29   			   				<div class="col-xs-12 col-sm-11 col-md-11 alert alert-danger">
 30   			   					${error}
 31   			   					<button type="button" class="close" data-dismiss="alert">&times;</button>
 32   			   				</div>
 33   			   			</#if>
 34   			   			<#if success??>
 35   			   				<div class="col-xs-12 col-sm-11 col-md-11 alert alert-success">
 36   			   					#i18n{portal.site.popup_send_resource.labelSent}
 37   			   					<button type="button" class="close" data-dismiss="alert">&times;</button>
 38   			   				</div>
 39   			   			</#if>
 40   						<div class="col-xs-12 col-sm-4 col-md-4 well">
 41   							<div class="control-group">
 42   								<label class="control-label" for="senderName">#i18n{portal.site.popup_send_resource.senderName} *:</label>
 43   								<br />
 44   								<input type="text" name="senderName" id="senderName" value="${senderName!}" >
 45   							</div>
 46   							<div class="control-group">
 47   								<label class="control-label" for="senderFirstname">#i18n{portal.site.popup_send_resource.senderFirstname} *:</label>
 48   								<br />
 49   								<input type="text" name="senderFirstname" id="senderFirstname" value="${senderFirstname!}" >
 50   							</div>
 51   							<div class="control-group">
 52   								<label class="control-label" for="email">#i18n{portal.site.popup_send_resource.email} *:</label>
 53   								<br />
 54   								<input type="text" name="email" id="email" value="${email!}" >
 55   							</div>
 56   						</div>
 57   						<div class="col-xs-12 col-sm-7 col-md-7">
 58   							<div class="control-group">
 59   								<label class="control-label" for="content">#i18n{portal.site.popup_send_resource.content} *:</label>
 60   								<textarea class="span richtext" rows="20" name="content" id="content">${content!}</textarea>
 61   							</div>
 62   							<#if resource??>
 63   								<div>
 64   									<legend><#if resource_url?? && resource_url != ""><a href="${base_url}${resource_url}"></#if>${resource.extendableResourceName}<#if resource_url?? && resource_url != ""></a></#if></legend>
 65   									<#if resource.extendableResourceImageUrl?? && resource.extendableResourceImageUrl != "">
 66   										<#if resource_url?? && resource_url != "">
 67   											<a href="${base_url}${resource_url}">
 68   										</#if>
 69   										<img src="${resource.extendableResourceImageUrl}" alt="${resource.extendableResourceName}" title="${resource.extendableResourceName}" />
 70   										<#if resource_url?? && resource_url != "">
 71   											</a>
 72   										</#if>
 73   									</#if>
 74   									<p>${resource.extendableResourceDescription}</p>
 75   								</div>
 76   							</#if>
 77   						</div>
 78   						<div class="col-xs-12 col-sm-11 col-md-11">
 79   							<div class="form-actions">
 80   								<input type="hidden" name="extendableResourceType" value="${resource.extendableResourceType}" >
 81   								<input type="hidden" name="idExtendableResource" value="${resource.idExtendableResource}" >
 82   								<button class="btn btn-primary btn-small" name="send" value="send">
 83   									<i class="icon-envelope icon-white">&nbsp;</i>&nbsp;#i18n{portal.site.popup_send_resource.sendResource}
 84   								</button>
 85   								<a class="btn btn-small" href="javascript:window.close();">
 86   									<i class="icon-remove-circle">&nbsp;</i>&nbsp;#i18n{portal.site.popup_send_resource.close}
 87   								</a>
 88   							</div>
 89   						</div>
 90   					</@fieldSet>
 91   				</form>
 92   			</div>
 93   		</div>
 94   		<#include "/util/editor/editor.html" />
 95   		<@initEditor />
 96   		<#include "portal_footer.html" />
 97   		<script src="js/bootstrap.min.js"></script>
 98   	</body>
 99   </html>