Author: tyrell Date: Fri Jan 25 02:53:31 2008 New Revision: 12891 Log:
Fixing MASHUP-588 Modified: trunk/mashup/java/modules/www/scraper.jsp Modified: trunk/mashup/java/modules/www/scraper.jsp ============================================================================== --- trunk/mashup/java/modules/www/scraper.jsp (original) +++ trunk/mashup/java/modules/www/scraper.jsp Fri Jan 25 02:53:31 2008 @@ -1,4 +1,3 @@ - <%-- * Copyright 2006,2007 WSO2, Inc. http://www.wso2.org * @@ -48,148 +47,149 @@ %> <html> <head> - <title><%= bundle.getString("main.title")%> - Scraping Assistant</title> - <link href="css/styles.css" rel="stylesheet" type="text/css"/> - <link rel="stylesheet" type="text/css" href="js/yui/grids/grids.css"> - <link rel="stylesheet" type="text/css" href="js/yui/menu/assets/menu.css"> - - <style type="text/css"> - .url-section { - background-color: #ffffff; - text-align: center; - height: 20%; - color: #333333; - font-family: "Lucida Grande", "Lucida Sans Unicode", sans-serif; - font-size: 0.9em; - font-size-adjust: none; - font-style: normal; - font-variant: normal; - font-weight: normal; - line-height: 150%; - cursor: default; - direction: ltr; - } - - .scraper-config-section { - background-color: #ffffff; - text-align: center; - height: 60%; - border-color: darkgray; - color: #333333; - font-family: "Lucida Grande", "Lucida Sans Unicode", sans-serif; - font-size: 0.9em; - font-size-adjust: none; - font-style: normal; - font-variant: normal; - font-weight: normal; - line-height: 150%; - cursor: default; - direction: ltr; - } - - .header-section { - background-image: url( images/mashup_header_left.gif ); - background-position: center top; - background-repeat: repeat-x; - height: 87px; - color: #333333; - font-family: Verdana, Arial, Sans-Serif, Helvetica, 'Lucida Grande'; - font-size: 12px; - line-height: 140%; - } - - .border-highlight { - border: ".03em solid red"; - } - - .border-reset { - border: ".03em solid red"; - } - - .footer-section { - text-align: center; - margin-top: 10px; - color: #333333; - font-family: Verdana, Arial, Sans-Serif, Helvetica, 'Lucida Grande'; - font-size: 0.8em; - line-height: 140%; - } - - .scraper-config-section1 { background-color: #ffffff; - text-align: center; - height: 60%; - border-color: darkgray; - color: #333333; - font-family: "Lucida Grande", "Lucida Sans Unicode", sans-serif; - font-size: 0.9em; - font-size-adjust: none; - font-style: normal; - font-variant: normal; - font-weight: normal; - line-height: 150%; - cursor: default; - direction: ltr; -} - </style> - - - <!-- YUI Dependencies--> - <script type="text/javascript" src="js/yui/yahoo-dom-event/yahoo-dom-event.js"></script> - <script type="text/javascript" src="js/yui/container/container_core.js"></script> - <script type="text/javascript" src="js/yui/menu/menu.js"></script> - - <!-- XML Parser --> - <script type="text/javascript" src="js/xml-for-script/tinyxmlsax.js"></script> - <script type="text/javascript" src="js/xml-for-script/tinyxmlw3cdom.js"></script> - - <!--WSO2 Dependencies--> - <script type="text/javascript" src="../wsasadmin/global_params.js"></script> - <script type="text/javascript" src="../wsasadmin/js/main.js"></script> - <script type="text/javascript" src="js/wso2/WSRequest.js"></script> - <script type="text/javascript" src="js/mashup-main.js"></script> - <script type="text/javascript" src="js/services.js"></script> - <script type="text/javascript" src="js/mashup.js"></script> - <script type="text/javascript" src="js/mashup-utils.js"></script> - <script type="text/javascript" src="js/scraper.js"></script> +<title><%= bundle.getString("main.title")%> - Scraping Assistant</title> +<link href="css/styles.css" rel="stylesheet" type="text/css"/> +<link rel="stylesheet" type="text/css" href="js/yui/grids/grids.css"> +<link rel="stylesheet" type="text/css" href="js/yui/menu/assets/menu.css"> + +<style type="text/css"> + .url-section { + background-color: #ffffff; + text-align: center; + height: 20%; + color: #333333; + font-family: "Lucida Grande", "Lucida Sans Unicode", sans-serif; + font-size: 0.9em; + font-size-adjust: none; + font-style: normal; + font-variant: normal; + font-weight: normal; + line-height: 150%; + cursor: default; + direction: ltr; + } + + .scraper-config-section { + background-color: #ffffff; + text-align: center; + height: 60%; + border-color: darkgray; + color: #333333; + font-family: "Lucida Grande", "Lucida Sans Unicode", sans-serif; + font-size: 0.9em; + font-size-adjust: none; + font-style: normal; + font-variant: normal; + font-weight: normal; + line-height: 150%; + cursor: default; + direction: ltr; + } + + .header-section { + background-image: url( images/mashup_header_left.gif ); + background-position: center top; + background-repeat: repeat-x; + height: 87px; + color: #333333; + font-family: Verdana, Arial, Sans-Serif, Helvetica, 'Lucida Grande'; + font-size: 12px; + line-height: 140%; + } + + .border-highlight { + border: ".03em solid red"; + } + + .border-reset { + border: ".03em solid red"; + } + + .footer-section { + text-align: center; + margin-top: 10px; + color: #333333; + font-family: Verdana, Arial, Sans-Serif, Helvetica, 'Lucida Grande'; + font-size: 0.8em; + line-height: 140%; + } + + .scraper-config-section1 { + background-color: #ffffff; + text-align: center; + height: 60%; + border-color: darkgray; + color: #333333; + font-family: "Lucida Grande", "Lucida Sans Unicode", sans-serif; + font-size: 0.9em; + font-size-adjust: none; + font-style: normal; + font-variant: normal; + font-weight: normal; + line-height: 150%; + cursor: default; + direction: ltr; + } +</style> + + +<!-- YUI Dependencies--> +<script type="text/javascript" src="js/yui/yahoo-dom-event/yahoo-dom-event.js"></script> +<script type="text/javascript" src="js/yui/container/container_core.js"></script> +<script type="text/javascript" src="js/yui/menu/menu.js"></script> + +<!-- XML Parser --> +<script type="text/javascript" src="js/xml-for-script/tinyxmlsax.js"></script> +<script type="text/javascript" src="js/xml-for-script/tinyxmlw3cdom.js"></script> + +<!--WSO2 Dependencies--> +<script type="text/javascript" src="../wsasadmin/global_params.js"></script> +<script type="text/javascript" src="../wsasadmin/js/main.js"></script> +<script type="text/javascript" src="js/wso2/WSRequest.js"></script> +<script type="text/javascript" src="js/mashup-main.js"></script> +<script type="text/javascript" src="js/services.js"></script> +<script type="text/javascript" src="js/mashup.js"></script> +<script type="text/javascript" src="js/mashup-utils.js"></script> +<script type="text/javascript" src="js/scraper.js"></script> </head> <body onLoad="wso2.mashup.Scraper.init();"> <div id="page"> -<%@ include file="header.jsp" %> -<%@ include file="searchbox.jsp" %> - <div id="content"> - - - <!-- Menu Bar --> - <div id="menu-bar"></div> - <!-- Scraper Config Geneartion Section --> - <div id="config-section" class="scraper-config-section"><span class="scraper-config-section1"> - <textarea id="scraper-config" - style="height:300px; width:100%;"> </textarea> - </span> </div> - - </div> - - - - -<!-- the div for the message box. This name is not supposed to be used for any other div in the admin application--> - -<div id="alertMessageBox" style="display:none;position:absolute;z-index: 600;"> - <!--the message area--> - <p id="alertMessageBoxMessageArea"></p> - <!-- the button area--> - <p id="alertButton" align="right"> - <input id="alertBoxButton" type="button" - value=" OK " - onclick="javascript:document.getElementById('alertMessageBox').style.display='none';return false;"/> - </p> + <%@ include file="header.jsp" %> + <%@ include file="searchbox.jsp" %> + <div id="content"> + + + <!-- Menu Bar --> + <div id="menu-bar"></div> + <!-- Scraper Config Geneartion Section --> + <div id="config-section" class="scraper-config-section"><span + class="scraper-config-section1"> + <textarea id="scraper-config" style="height:100%; width:100%;"> </textarea> + </span></div> + <hr> + <!-- XPath expression gathering section--> + <div id="page-container"></div> + </div> + + + <!-- the div for the message box. This name is not supposed to be used for any other div in the admin application--> + + <div id="alertMessageBox" style="display:none;position:absolute;z-index: 600;"> + <!--the message area--> + <p id="alertMessageBoxMessageArea"></p> + <!-- the button area--> + <p id="alertButton" align="right"> + <input id="alertBoxButton" type="button" + value=" OK " + onclick="javascript:document.getElementById('alertMessageBox').style.display='none';return false;"/> + </p> + </div> + <%@ include file="footer.jsp" %> + <!-- end of the message box div --> </div> -<%@ include file="footer.jsp" %> -<!-- end of the message box div --> -</div> </body> </html> _______________________________________________ Mashup-dev mailing list [email protected] http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev
