Add add to login page and editor page.

This commit is contained in:
Paulo Gustavo Veiga 2012-11-17 15:43:06 -03:00
parent ed37b20dfc
commit b89b08b7b3
3 changed files with 36 additions and 8 deletions

View File

@ -97,4 +97,4 @@ google.analytics.account=UA-XXXX
##################################################################################
# Google Ads enable
##################################################################################
google.ads.enabled=false
google.ads.enabled=true

View File

@ -41,7 +41,8 @@
<div class="control-group" style="text-align: right">
<label>
<button class="btn btn-primary" tabindex="4" data-loading-text="<spring:message code="SIGN_ING"/>"><spring:message code="SIGN_IN"/></button>
<button class="btn btn-primary" tabindex="4" data-loading-text="<spring:message code="SIGN_ING"/>">
<spring:message code="SIGN_IN"/></button>
<input type="checkbox" id="rememberme" name="_spring_security_remember_me"
tabindex="3"/> <spring:message code="REMEMBER_ME"/>
</label>
@ -85,3 +86,19 @@
</div>
</div>
</c:if>
<c:if test="${requestScope['google.ads.enabled']}">
<div class="row" style="text-align: center">
<script type="text/javascript"><!--
google_ad_client = "ca-pub-7564778578019285";
/* WiseMapping Login */
google_ad_slot = "2192653431";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
</c:if>

View File

@ -109,12 +109,23 @@
<div id="mindplot" onselectstart="return false;"></div>
<script type="text/javascript" src="js/editor.js"></script>
<%--<div style="position: absolute;height: 200px; right: 20px;top:100px;width: 200px;padding: 10px; border-style: dotted; background-color: #dfcf3c">--%>
<%--<p>--%>
<%--This mindmap is being edited by pepep. Your will be able to see the content but not to modify it.--%>
<%--</p>--%>
<%--</div>--%>
<c:if test="${requestScope['google.ads.enabled']}">
<div style="position: absolute;;width:468px;height: 60px;background: #fdf5e6;z-index: 100;right: 10px; bottom: 10px">
<script type="text/javascript"><!--
google_ad_client = "ca-pub-7564778578019285";
/* Wisemapping Editor Banner */
google_ad_slot = "6147489273";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<div>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
</c:if>
</div>
</body>
</html>