[Mapbender-commits] r8459 - trunk/mapbender/http/plugins
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Aug 17 03:26:58 PDT 2012
Author: armin11
Date: 2012-08-17 03:26:58 -0700 (Fri, 17 Aug 2012)
New Revision: 8459
Modified:
trunk/mapbender/http/plugins/mb_downloadFeedClient.php
Log:
Some graphical adoptions to the INSPIRE ATOM feed client
Modified: trunk/mapbender/http/plugins/mb_downloadFeedClient.php
===================================================================
--- trunk/mapbender/http/plugins/mb_downloadFeedClient.php 2012-08-17 07:30:33 UTC (rev 8458)
+++ trunk/mapbender/http/plugins/mb_downloadFeedClient.php 2012-08-17 10:26:58 UTC (rev 8459)
@@ -29,21 +29,53 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="../extensions/OpenLayers-2.9.1/theme/default/style.css" type="text/css">
<style type="text/css">
- input, select, textarea {
+ select, textarea {
font: 0.9em Verdana, Arial, sans-serif;
}
- #leftcol {
- position: absolute;
- top: 0;
- left: 1em;
- padding: 0;
- width: 517px;
- }
+ textarea {
+ position: absolute;
+ right: 0;
+ width: 300px;
+ height: 40px;
+ }
+ #client {
+ width: 650px;
+ height: 870px;
+ }
+ #input_feed_url {
+ }
+ #dataset_select {
+ }
+ #dataset_info {
+ position: relative;
+ }
+ #representation_select {
+ }
+ #representation_info {
+ position: relative;
+ }
+ #dataset_info {
+ width: 1000px;
+ height: 300px;
+ }
#mapframe_dataset_list {
- width: 325px;
- height: 225px;
+ position: absolut;
+ top: 0;
+ left: 0;
+ width: 350px;
+ height: 250px;
border: 1px solid #ccc;
}
+ #dataset_information{
+ position: absolute;
+ left: 400;
+ top: 0;
+ width: 500px;
+ height: 270px;
+ }
+ #mapframe {
+
+ }
#mapframe_file_list {
width: 325px;
height: 225px;
@@ -65,17 +97,6 @@
width: 100%;
height: 10em;
}
- #info {
- position: relative;
- padding: 2em 0;
- margin-left: 540px;
- }
- #output {
- font-size: 0.8em;
- width: 100%;
- height: 512px;
- border: 0;
- }
p {
margin: 0;
padding: 0.75em 0 0.75em 0;
@@ -88,51 +109,56 @@
<script src="../javascripts/mb_downloadFeedClient.js"></script>
</head>
<body onload="init()">
-<fieldset>
- <legend><?php echo _mb("INSPIRE Download Service ATOM Feed Client - Prototype");?><img class="help-dialog" title="<?php echo _mb("Help");?>" help="{text:'<?php echo _mb("Client to download INSPIRE data on an easy way.");?>'}" src="../img/questionmark.png" alt="" /></legend>
+
+<fieldset id="client">
+ <legend><?php echo _mb("INSPIRE Download Service ATOM Feed Client - Prototype");?><!--<img class="help-dialog" title="<?php echo _mb("Help");?>" help="{text:'<?php echo _mb("Client to download INSPIRE data on an easy way.");?>'}" src="../img/questionmark.png" alt="" />--></legend>
+ <div id="input_feed_url">
<p>
<form id="service_feed_form">
<label for="download_feed_url"><?php echo _mb("ATOM Feed url");?></label>
<input name="download_feed_url" id="download_feed_url" class="required" <?php if (isset($url)) {echo " value=\"".$url."\"";} else { echo " value=\"\"";}?>/><input type="button" title="Get Feed" id="download_feed_button" value="Get Feed Content"/>
</form>
</p>
- <fieldset>
- <legend><?php echo _mb("Select dataset");?><img class="help-dialog" title="<?php echo _mb("Help");?>" help="{text:'<?php echo _mb("Select single dataset either in list or on map");?>'}" src="../img/questionmark.png" alt="" /></legend>
+ </div>
+ <div id="dataset_select">
+ <div id="dataset_list"></div>
+ </div>
+ <div id="dataset_info">
+ <!--<fieldset>
+ <legend><?php echo _mb("Select dataset");?><img class="help-dialog" title="<?php echo _mb("Help");?>" help="{text:'<?php echo _mb("Select single dataset either in list or on map");?>'}" src="../img/questionmark.png" alt="" /></legend>-->
<div id="mapframe_dataset_list"></div>
- <div id="dataset_list"></div>
- <!--<label for="dataset_list"><?php echo _mb("List of datasets");?>:</label>
- <select name="dataset_list" id="dataset_list" onChange="var choosenoption=this.options[this.selectedIndex];display_dataset(choosenoption.value);">
- <option value="0">...</option>
- </select>-->
- </fieldset>
-
-<fieldset>
- <legend><?php echo _mb("Dataset Feed entries");?><img class="help-dialog" title="<?php echo _mb("Help");?>" help="{text:'<?php echo _mb("The fieldset shows the content of the INSPIRE Download Service service-feed document. It contains one or more links to different datasets.");?>'}" src="../img/questionmark.png" alt="" /></legend>
+ <div id="dataset_information">
+ <!--<fieldset>
+ <legend><?php echo _mb("Dataset Feed entries");?><img class="help-dialog" title="<?php echo _mb("Help");?>" help="{text:'<?php echo _mb("The fieldset shows the content of the INSPIRE Download Service service-feed document. It contains one or more links to different datasets.");?>'}" src="../img/questionmark.png" alt="" /></legend>-->
+ <p>
+ <label for="dataset_title"><?php echo _mb("Dataset title");?>:</label>
+ <textarea readonly="readonly" name="dataset_title" id="dataset_title"></textarea>
+ </p>
+ <p>
+ <label for="dataset_abstract"><?php echo _mb("Dataset abstract");?>:</label>
+ <textarea type="text" readonly="readonly" name="dataset_abstract" id="dataset_abstract" width="250px" height="20px"></textarea>
+ </p>
+ <p>
+ <!--<label for="resource_identifier"><?php echo _mb("Resource identifier");?>:</label>-->
+ <div id="dataset_identifier"><?php echo _mb("Resource identifier");?>:<br></div>
+ </p>
+ <p>
+ <label for="dataset_rights"><?php echo _mb("Rights");?>:</label>
+ <textarea readonly="readonly" name="dataset_rights" id="dataset_rights"></textarea>
+ </p>
+ <!--</fieldset>-->
+ </div>
+ <!--</fieldset>-->
+ </div>
+ <div id="representation_select">
<p>
- <label for="dataset_title"><?php echo _mb("Dataset title");?>:</label>
- <input readonly="readonly" name="dataset_title" id="dataset_title"/>
- </p>
- <p>
- <label for="dataset_abstract"><?php echo _mb("Dataset abstract");?>:</label>
- <input type="text" readonly="readonly" name="dataset_abstract" id="dataset_abstract" width="250px" height="20px"/>
- </p>
- <p>
- <!--<label for="resource_identifier"><?php echo _mb("Resource identifier");?>:</label>-->
- <div id="dataset_identifier"><?php echo _mb("Resource identifier");?>:</div>
- </p>
- <p>
- <label for="dataset_rights"><?php echo _mb("Rights");?>:</label>
- <input readonly="readonly" name="dataset_rights" id="dataset_rights"/>
- </p>
- <p>
<label for="representations"><?php echo _mb("Available representations");?>:</label>
<div id="dataset_representation_list"></div>
-
</p>
-</fieldset>
-<fieldset>
- <legend><?php echo _mb("Files");?><img class="help-dialog" title="<?php echo _mb("Help");?>" help="{text:'<?php echo _mb("Files which can be downloaded");?>'}" src="../img/questionmark.png" alt="" /></legend>
-
+ </div>
+ <div id="representation_info">
+ <!--<fieldset>
+ <legend><?php echo _mb("Files");?><img class="help-dialog" title="<?php echo _mb("Help");?>" help="{text:'<?php echo _mb("Files which can be downloaded");?>'}" src="../img/questionmark.png" alt="" /></legend>-->
<input id="multi_select" type="checkbox" disabled><?php echo _mb("Select multiple tiles");?></input><br>
<label for="mapframe_file_list"><?php echo _mb("Position of files (if available)");?>:</label>
<!--<input type="list" id="file_list"/>-->
@@ -141,6 +167,9 @@
<div id="section_list"></div>
<!--<select id="section_file_list" multiple='multiple'>-->
<!--<input type="button" title="Download selected files" value="Download selection"/>-->
+ <!--</fieldset> -->
+ </div>
</fieldset>
+
</body>
</html>
More information about the Mapbender_commits
mailing list