updates for page management
This commit is contained in:
parent
5828c4c9e7
commit
7da7c3da87
3 changed files with 85 additions and 80 deletions
|
@ -3,6 +3,7 @@
|
||||||
var pageManagementUtils = {
|
var pageManagementUtils = {
|
||||||
dataGetterLabelToURI:null,//initialized by custom data
|
dataGetterLabelToURI:null,//initialized by custom data
|
||||||
processDataGetterUtils:processDataGetterUtils,//an external class that should exist before this one
|
processDataGetterUtils:processDataGetterUtils,//an external class that should exist before this one
|
||||||
|
dataGetterMap:null,
|
||||||
// on initial page setup
|
// on initial page setup
|
||||||
onLoad:function(){
|
onLoad:function(){
|
||||||
if (this.disableFormInUnsupportedBrowsers()) {
|
if (this.disableFormInUnsupportedBrowsers()) {
|
||||||
|
@ -20,7 +21,7 @@ var pageManagementUtils = {
|
||||||
//Go through each and initialize with their class
|
//Go through each and initialize with their class
|
||||||
|
|
||||||
if(pageManagementUtils.processDataGetterUtils != null) {
|
if(pageManagementUtils.processDataGetterUtils != null) {
|
||||||
var dataGetterProcessorMap = pageManagementUtils.processDataGetterUtils.dataGetterProcessorMap;
|
var dataGetterProcessorMap = pageManagementUtils.dataGetterProcessorMap = pageManagementUtils.processDataGetterUtils.dataGetterProcessorMap;
|
||||||
$.each(dataGetterProcessorMap, function(key, dataGetterProcessorObject) {
|
$.each(dataGetterProcessorMap, function(key, dataGetterProcessorObject) {
|
||||||
//passes class name from data getter label to uri to processor
|
//passes class name from data getter label to uri to processor
|
||||||
dataGetterProcessorObject.initProcessor(pageManagementUtils.dataGetterLabelToURI[key]);
|
dataGetterProcessorObject.initProcessor(pageManagementUtils.dataGetterLabelToURI[key]);
|
||||||
|
@ -51,7 +52,7 @@ var pageManagementUtils = {
|
||||||
},
|
},
|
||||||
initObjects:function(){
|
initObjects:function(){
|
||||||
this.counter = 0;
|
this.counter = 0;
|
||||||
this.contentTypeSelect = $("#typeSelect");
|
this.contentTypeSelect = $("select#typeSelect");
|
||||||
//list of options
|
//list of options
|
||||||
this.contentTypeSelectOptions = $('select#typeSelect option');
|
this.contentTypeSelectOptions = $('select#typeSelect option');
|
||||||
this.classGroupSection = $("section#browseClassGroup");
|
this.classGroupSection = $("section#browseClassGroup");
|
||||||
|
@ -65,8 +66,8 @@ var pageManagementUtils = {
|
||||||
// this.changeContentType = $('#changeContentType');
|
// this.changeContentType = $('#changeContentType');
|
||||||
this.selectContentType = $('#selectContentType');
|
this.selectContentType = $('#selectContentType');
|
||||||
// this.existingContentType = $('#existingContentType');
|
// this.existingContentType = $('#existingContentType');
|
||||||
this.selectClassGroupDropdown = $('#selectClassGroup');
|
this.selectClassGroupDropdown = $('select#selectClassGroup');
|
||||||
this.classesForClassGroup = $('#classesInSelectedGroup');
|
this.classesForClassGroup = $('section#classesInSelectedGroup');
|
||||||
this.selectedGroupForPage = $('#selectedContentTypeValue');
|
this.selectedGroupForPage = $('#selectedContentTypeValue');
|
||||||
this.allClassesSelectedCheckbox = $('#allSelected');
|
this.allClassesSelectedCheckbox = $('#allSelected');
|
||||||
this.displayInternalMessage = $('#internal-class label em');
|
this.displayInternalMessage = $('#internal-class label em');
|
||||||
|
@ -77,7 +78,7 @@ var pageManagementUtils = {
|
||||||
this.menuSection = $("section#menu");
|
this.menuSection = $("section#menu");
|
||||||
this.submitButton = $("input#submit");
|
this.submitButton = $("input#submit");
|
||||||
this.leftSideDiv = $("div#leftSide");
|
this.leftSideDiv = $("div#leftSide");
|
||||||
this.rightSideDiv = $("div#ri;ghtSide")
|
this.rightSideDiv = $("div#rightSide")
|
||||||
},
|
},
|
||||||
initDisplay: function(){
|
initDisplay: function(){
|
||||||
//right side components
|
//right side components
|
||||||
|
@ -127,17 +128,12 @@ var pageManagementUtils = {
|
||||||
this.moreContentButton.click( function() {
|
this.moreContentButton.click( function() {
|
||||||
var selectedType = pageManagementUtils.contentTypeSelect.val();
|
var selectedType = pageManagementUtils.contentTypeSelect.val();
|
||||||
var selectedTypeText = $("#typeSelect option:selected").text();
|
var selectedTypeText = $("#typeSelect option:selected").text();
|
||||||
//Not sure why selected group here? This won't always be true for more content
|
|
||||||
//var selectedGroup = $('select#selectClassGroup').val();
|
|
||||||
|
|
||||||
//Aren't these already hidden?
|
//Hide all sections
|
||||||
//Hide both sections
|
|
||||||
pageManagementUtils.classGroupSection.hide();
|
pageManagementUtils.classGroupSection.hide();
|
||||||
pageManagementUtils.fixedHTMLSection.hide();
|
pageManagementUtils.fixedHTMLSection.hide();
|
||||||
pageManagementUtils.sparqlQuerySection.hide();
|
pageManagementUtils.sparqlQuerySection.hide();
|
||||||
|
//Reset main content type drop-down
|
||||||
//Reset class group
|
|
||||||
pageManagementUtils.resetClassGroupSection();
|
|
||||||
pageManagementUtils.contentTypeSelectOptions.eq(0).attr('selected', 'selected');
|
pageManagementUtils.contentTypeSelectOptions.eq(0).attr('selected', 'selected');
|
||||||
pageManagementUtils.moreContentButton.hide();
|
pageManagementUtils.moreContentButton.hide();
|
||||||
if ( pageManagementUtils.leftSideDiv.css("height") != undefined ) {
|
if ( pageManagementUtils.leftSideDiv.css("height") != undefined ) {
|
||||||
|
@ -148,8 +144,11 @@ var pageManagementUtils = {
|
||||||
}
|
}
|
||||||
pageManagementUtils.headerBar.hide();
|
pageManagementUtils.headerBar.hide();
|
||||||
pageManagementUtils.headerBar.text("");
|
pageManagementUtils.headerBar.text("");
|
||||||
//pageManagementUtils.cloneContentArea(selectedType,selectedGroup);
|
|
||||||
pageManagementUtils.cloneContentArea(selectedType, selectedTypeText);
|
pageManagementUtils.cloneContentArea(selectedType, selectedTypeText);
|
||||||
|
//Reset class group section AFTER cloning not before
|
||||||
|
pageManagementUtils.resetClassGroupSection();
|
||||||
|
//Clear all inputs values
|
||||||
|
pageManagementUtils.clearSourceTemplateValues();
|
||||||
pageManagementUtils.contentTypeSelect.focus();
|
pageManagementUtils.contentTypeSelect.focus();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -157,66 +156,49 @@ var pageManagementUtils = {
|
||||||
this.selectClassGroupDropdown.change(function() {
|
this.selectClassGroupDropdown.change(function() {
|
||||||
pageManagementUtils.chooseClassGroup();
|
pageManagementUtils.chooseClassGroup();
|
||||||
});
|
});
|
||||||
/*
|
|
||||||
$("select#selectClassGroup").change( function() {
|
|
||||||
if ( $("select#selectClassGroup").val() == "" ) {
|
|
||||||
$("section#classesInSelectedGroup").addClass('hidden');
|
|
||||||
$("div#leftSide").css("height","");
|
|
||||||
$("input#moreContent").hide();
|
|
||||||
|
|
||||||
}
|
this.contentTypeSelect.change( function() {
|
||||||
else {
|
|
||||||
$("section#classesInSelectedGroup").removeClass('hidden');
|
|
||||||
$("input#moreContent").show();
|
|
||||||
if ( $("div#leftSide").height() < $("div#rightSide").height() ) {
|
|
||||||
$("div#leftSide").css("height",$("div#rightSide").height() + "px");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});*/
|
|
||||||
//TODO: These will all change
|
|
||||||
$("select#typeSelect").change( function() {
|
|
||||||
_this = pageManagementUtils;
|
_this = pageManagementUtils;
|
||||||
$('input#variable').val("");
|
pageManagementUtils.clearSourceTemplateValues();
|
||||||
$('textarea#textArea').val("");
|
|
||||||
if ( _this.contentTypeSelect.val() == "browseClassGroup" ) {
|
if ( _this.contentTypeSelect.val() == "browseClassGroup" ) {
|
||||||
pageManagementUtils.classGroupSection.show();
|
pageManagementUtils.classGroupSection.show();
|
||||||
pageManagementUtils.fixedHTMLSection.hide();
|
pageManagementUtils.fixedHTMLSection.hide();
|
||||||
pageManagementUtils.sparqlQuerySection.hide();
|
pageManagementUtils.sparqlQuerySection.hide();
|
||||||
$("input#moreContent").hide();
|
pageManagementUtils.moreContentButton.hide();
|
||||||
$("section#headerBar").text("Browse Class Group - ");
|
pageManagementUtils.headerBar.text("Browse Class Group - ");
|
||||||
$("section#headerBar").show();
|
pageManagementUtils.headerBar.show();
|
||||||
}
|
}
|
||||||
if ( _this.contentTypeSelect.val() == "fixedHtml" || _this.contentTypeSelect.val() == "sparqlQuery" ) {
|
if ( _this.contentTypeSelect.val() == "fixedHtml" || _this.contentTypeSelect.val() == "sparqlQuery" ) {
|
||||||
pageManagementUtils.classGroupSection.hide();
|
pageManagementUtils.classGroupSection.hide();
|
||||||
|
//if fixed html show that, otherwise show sparq
|
||||||
if ( _this.contentTypeSelect.val() == "fixedHtml" ) {
|
if ( _this.contentTypeSelect.val() == "fixedHtml" ) {
|
||||||
$('span#taSpan').text("Enter fixed HTML here");
|
pageManagementUtils.headerBar.text("Fixed HTML - ");
|
||||||
$("section#headerBar").text("Fixed HTML - ");
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
$('span#taSpan').text("Enter SPARQL query here");
|
|
||||||
$("section#headerBar").text("SPARQL Query Results - ");
|
|
||||||
}
|
|
||||||
//if fixhed html show that, otherwise show sparq
|
|
||||||
if(_this.contentTypeSelect.val() == "fixedHtml") {
|
|
||||||
pageManagementUtils.fixedHTMLSection.show();
|
pageManagementUtils.fixedHTMLSection.show();
|
||||||
pageManagementUtils.sparqlQuerySection.hide();
|
pageManagementUtils.sparqlQuerySection.hide();
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
|
pageManagementUtils.headerBar.text("SPARQL Query Results - ");
|
||||||
pageManagementUtils.sparqlQuerySection.show();
|
pageManagementUtils.sparqlQuerySection.show();
|
||||||
pageManagementUtils.fixedHTMLSection.hide();
|
pageManagementUtils.fixedHTMLSection.hide();
|
||||||
}
|
}
|
||||||
$("section#headerBar").show();
|
|
||||||
$('select#selectClassGroup option').eq(0).attr('selected', 'selected');
|
pageManagementUtils.headerBar.show();
|
||||||
$("section#classesInSelectedGroup").addClass('hidden');
|
//$('select#selectClassGroup option').eq(0).attr('selected', 'selected');
|
||||||
$("input#moreContent").show();
|
pageManagementUtils.classesForClassGroup.addClass('hidden');
|
||||||
|
pageManagementUtils.moreContentButton.show();
|
||||||
}
|
}
|
||||||
if ( _this.contentTypeSelect.val() == "" ) {
|
if ( _this.contentTypeSelect.val() == "" ) {
|
||||||
$("section#classGroup").hide();
|
pageManagementUtils.classGroupSection.hide();
|
||||||
$("section#nonClassGroup").hide();
|
pageManagementUtils.fixedHTMLSection.hide();
|
||||||
$("input#moreContent").hide();
|
pageManagementUtils.sparqlQuerySection.hide();
|
||||||
$('select#selectClassGroup option').eq(0).attr('selected', 'selected');
|
|
||||||
$("section#classesInSelectedGroup").addClass('hidden');
|
pageManagementUtils.moreContentButton.hide();
|
||||||
$("section#headerBar").hide();
|
|
||||||
$("section#headerBar").text("");
|
//$('select#selectClassGroup option').eq(0).attr('selected', 'selected');
|
||||||
|
|
||||||
|
pageManagementUtils.classesForClassGroup.addClass('hidden');
|
||||||
|
pageManagementUtils.headerBar.hide();
|
||||||
|
pageManagementUtils.headerBar.text("");
|
||||||
}
|
}
|
||||||
pageManagementUtils.adjustSaveButtonHeight();
|
pageManagementUtils.adjustSaveButtonHeight();
|
||||||
});
|
});
|
||||||
|
@ -230,13 +212,14 @@ var pageManagementUtils = {
|
||||||
});*/
|
});*/
|
||||||
|
|
||||||
//Submission: validate as well as create appropriate hidden json inputs
|
//Submission: validate as well as create appropriate hidden json inputs
|
||||||
$("form").submit(function () {
|
$("form").submit(function (event) {
|
||||||
var validationError = pageManagementUtils.validateMenuItemForm();
|
var validationError = pageManagementUtils.validateMenuItemForm();
|
||||||
if (validationError == "") {
|
if (validationError == "") {
|
||||||
//Create the appropriate json objects
|
//Create the appropriate json objects
|
||||||
pageManagementUtils.createPageContentForSubmission();
|
pageManagementUtils.createPageContentForSubmission();
|
||||||
//return true;
|
//return true;
|
||||||
//For testing, not submitting anything
|
//For testing, not submitting anything
|
||||||
|
event.preventDefault();
|
||||||
return false;
|
return false;
|
||||||
} else{
|
} else{
|
||||||
|
|
||||||
|
@ -248,6 +231,24 @@ var pageManagementUtils = {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
},
|
||||||
|
//Clear values in content areas that are cloned to create the page content type specific sections
|
||||||
|
//i.e. reset sparql query/class group areas
|
||||||
|
//TODO: Check if reset is more what we need here?
|
||||||
|
clearSourceTemplateValues:function() {
|
||||||
|
//inputs, textareas
|
||||||
|
pageManagementUtils.clearInputs(pageManagementUtils.fixedHTMLSection);
|
||||||
|
pageManagementUtils.clearInputs(pageManagementUtils.sparqlQuerySection);
|
||||||
|
pageManagementUtils.clearInputs(pageManagementUtils.classGroupSection);
|
||||||
|
|
||||||
|
},
|
||||||
|
clearInputs:function($el) {
|
||||||
|
//jquery selector :input selects all input text area select and button elements
|
||||||
|
$el.find("input").val("");
|
||||||
|
$el.find("textarea").val("");
|
||||||
|
//resetting class group section as well so selection is reset if type changes
|
||||||
|
$el.find("select option:eq(0)").attr("selected", "selected");
|
||||||
|
|
||||||
},
|
},
|
||||||
//Clone content area
|
//Clone content area
|
||||||
cloneContentArea: function(contentType, contentTypeLabel) {
|
cloneContentArea: function(contentType, contentTypeLabel) {
|
||||||
|
@ -268,7 +269,7 @@ var pageManagementUtils = {
|
||||||
|
|
||||||
pageManagementUtils.createClonedContentContainer($newContentObj, counter, contentTypeLabel, varOrClass);
|
pageManagementUtils.createClonedContentContainer($newContentObj, counter, contentTypeLabel, varOrClass);
|
||||||
//previously increased by 10, just increasing by 1 here
|
//previously increased by 10, just increasing by 1 here
|
||||||
counter++;
|
pageManagementUtils.counter++;
|
||||||
},
|
},
|
||||||
createClonedContentContainer:function($newContentObj, counter, contentTypeLabel, varOrClass) {
|
createClonedContentContainer:function($newContentObj, counter, contentTypeLabel, varOrClass) {
|
||||||
//Create the container for the new content
|
//Create the container for the new content
|
||||||
|
@ -321,8 +322,11 @@ var pageManagementUtils = {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
resetClassGroupSection:function() {
|
resetClassGroupSection:function() {
|
||||||
$('select#selectClassGroup option').eq(0).attr('selected', 'selected');
|
//doing this in clear inputs instead which will be triggered
|
||||||
$("section#classesInSelectedGroup").addClass('hidden');
|
//every time content type is changed AS well as on more content button after
|
||||||
|
//original content is cloned and stored
|
||||||
|
//$('select#selectClassGroup option').eq(0).attr('selected', 'selected');
|
||||||
|
pageManagementUtils.classesForClassGroup.addClass('hidden');
|
||||||
},
|
},
|
||||||
//Adjust save button height
|
//Adjust save button height
|
||||||
adjustSaveButtonHeight:function() {
|
adjustSaveButtonHeight:function() {
|
||||||
|
@ -372,14 +376,14 @@ var pageManagementUtils = {
|
||||||
|
|
||||||
//From NEW code
|
//From NEW code
|
||||||
if (pageManagementUtils.selectClassGroupDropdown.val() == "" ) {
|
if (pageManagementUtils.selectClassGroupDropdown.val() == "" ) {
|
||||||
$("section#classesInSelectedGroup").addClass('hidden');
|
pageManagementUtils.classesForClassGroup.addClass('hidden');
|
||||||
$("div#leftSide").css("height","");
|
$("div#leftSide").css("height","");
|
||||||
$("input#moreContent").hide();
|
pageManagementUtils.moreContentButton.hide();
|
||||||
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$("section#classesInSelectedGroup").removeClass('hidden');
|
pageManagementUtils.classesForClassGroup.removeClass('hidden');
|
||||||
$("input#moreContent").show();
|
pageManagementUtils.moreContentButton.show();
|
||||||
if ( $("div#leftSide").height() < $("div#rightSide").height() ) {
|
if ( $("div#leftSide").height() < $("div#rightSide").height() ) {
|
||||||
$("div#leftSide").css("height",$("div#rightSide").height() + "px");
|
$("div#leftSide").css("height",$("div#rightSide").height() + "px");
|
||||||
}
|
}
|
||||||
|
@ -475,10 +479,11 @@ var pageManagementUtils = {
|
||||||
//return the json object required
|
//return the json object required
|
||||||
if(pageManagementUtils.processDataGetterUtils != null) {
|
if(pageManagementUtils.processDataGetterUtils != null) {
|
||||||
var dataGetterType = pageManagementUtils.processDataGetterUtils.selectDataGetterType(pageContentSection);
|
var dataGetterType = pageManagementUtils.processDataGetterUtils.selectDataGetterType(pageContentSection);
|
||||||
if(dataGetterProcessorMap != null) {
|
if(pageManagementUtils.dataGetterProcessorMap != null) {
|
||||||
var dataGetterProcessor = dataGetterProcessorMap[dataGetterType];
|
var dataGetterProcessor = pageManagementUtils.dataGetterProcessorMap[dataGetterType];
|
||||||
dataGetterProcessor.processPageContentSection(pageContentSection);
|
//the content type specific processor will create the json object to be returned
|
||||||
return dataGetterProcessor;
|
var jsonObject = dataGetterProcessor.processPageContentSection(pageContentSection);
|
||||||
|
return jsonObject;
|
||||||
} else {
|
} else {
|
||||||
//ERROR handling
|
//ERROR handling
|
||||||
alert("An error has occurred and the map of processors for this content is missing. Please contact the administrator");
|
alert("An error has occurred and the map of processors for this content is missing. Please contact the administrator");
|
||||||
|
@ -497,7 +502,7 @@ var pageManagementUtils = {
|
||||||
//Save content type
|
//Save content type
|
||||||
$newContentObj.attr("contentType", contentType);
|
$newContentObj.attr("contentType", contentType);
|
||||||
//Set id for object
|
//Set id for object
|
||||||
$newContentObj.attr("id", "contentType" + counter);
|
$newContentObj.attr("id", contentType + counter);
|
||||||
$newContentObj.show();
|
$newContentObj.show();
|
||||||
pageManagementUtils.renameIdsInClone($newContentObj, counter);
|
pageManagementUtils.renameIdsInClone($newContentObj, counter);
|
||||||
// pageManagementUtils.cloneTextAreaValues(originalObjectPath, $newContentObj);
|
// pageManagementUtils.cloneTextAreaValues(originalObjectPath, $newContentObj);
|
||||||
|
@ -516,9 +521,9 @@ var pageManagementUtils = {
|
||||||
//given an object and a counter, rename all the ids
|
//given an object and a counter, rename all the ids
|
||||||
renameIdsInClone:function($newContentObj, counter) {
|
renameIdsInClone:function($newContentObj, counter) {
|
||||||
$newContentObj.find("[id]").each(function(index, el) {
|
$newContentObj.find("[id]").each(function(index, el) {
|
||||||
var originalId = $(this).attr["id"];
|
var originalId = $(this).attr("id");
|
||||||
var newId = originalId + counter;
|
var newId = originalId + counter;
|
||||||
$(this).attr(newId);
|
$(this).attr("id", newId);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
//This will need to be overridden or extended, what have you.. in VIVO
|
//This will need to be overridden or extended, what have you.. in VIVO
|
||||||
var processDataGetterUtils = {
|
var processDataGetterUtils = {
|
||||||
dataGetterProcessorMap:{"browseClassGroup": processClassGroupDataGetterContent,
|
dataGetterProcessorMap:{"browseClassGroup": processClassGroupDataGetterContent,
|
||||||
"sparqlDataGetter": processSparqlDataGetterContent,
|
"sparqlQuery": processSparqlDataGetterContent,
|
||||||
"fixedHTML":processFixedHTMLDataGetterContent,
|
"fixedHtml":processFixedHTMLDataGetterContent,
|
||||||
"individualsForClasses":processIndividualsForClassesDataGetterContent},
|
"individualsForClasses":processIndividualsForClassesDataGetterContent},
|
||||||
selectDataGetterType:function(pageContentSection) {
|
selectDataGetterType:function(pageContentSection) {
|
||||||
var contentType = pageContentSection.attr("contentType");
|
var contentType = pageContentSection.attr("contentType");
|
||||||
|
|
|
@ -102,7 +102,7 @@
|
||||||
<section id="fixedHtml" style="background-color:#f9f9f9;padding-left:6px;padding-top:2px;border-width:1px;border-style:solid;border-color:#ccc;">
|
<section id="fixedHtml" style="background-color:#f9f9f9;padding-left:6px;padding-top:2px;border-width:1px;border-style:solid;border-color:#ccc;">
|
||||||
<label id="fixedHTMLVariableLabel" for="fixedHTMLVariable">Variable Name<span class="requiredHint"> *</span></label>
|
<label id="fixedHTMLVariableLabel" for="fixedHTMLVariable">Variable Name<span class="requiredHint"> *</span></label>
|
||||||
<input type="text" name="saveToVar" size="20" value="" id="fixedHTMLSaveToVar" role="input" />
|
<input type="text" name="saveToVar" size="20" value="" id="fixedHTMLSaveToVar" role="input" />
|
||||||
<label id="fixedHTMLValueLabel" for="fixedHTMLValue">HTML<span id="fixedHTMLValueSpan"></span><span class="requiredHint"> *</span></label>
|
<label id="fixedHTMLValueLabel" for="fixedHTMLValue">Enter fixed HTML here<span id="fixedHTMLValueSpan"></span><span class="requiredHint"> *</span></label>
|
||||||
<textarea id="fixedHTMLValue" name="htmlValue" cols="70" rows="15" style="margin-bottom:7px"></textarea>
|
<textarea id="fixedHTMLValue" name="htmlValue" cols="70" rows="15" style="margin-bottom:7px"></textarea>
|
||||||
</section>
|
</section>
|
||||||
<section id="sparqlQuery" style="background-color:#f9f9f9;padding-left:6px;padding-top:2px;border-width:1px;border-style:solid;border-color:#ccc;">
|
<section id="sparqlQuery" style="background-color:#f9f9f9;padding-left:6px;padding-top:2px;border-width:1px;border-style:solid;border-color:#ccc;">
|
||||||
|
@ -110,7 +110,7 @@
|
||||||
<input type="text" name="saveToVar" size="20" value="" id="saveToVar" role="input" />
|
<input type="text" name="saveToVar" size="20" value="" id="saveToVar" role="input" />
|
||||||
<label id="queryModelLabel" for="queryModel">Query Model</label>
|
<label id="queryModelLabel" for="queryModel">Query Model</label>
|
||||||
<input type="text" name="queryModel" size="20" value="" id="queryModel" role="input" />
|
<input type="text" name="queryModel" size="20" value="" id="queryModel" role="input" />
|
||||||
<label id="queryLabel" for="queryLabel"><span id="querySpan">Query</span><span class="requiredHint"> *</span></label>
|
<label id="queryLabel" for="queryLabel"><span id="querySpan">Enter SPARQL query here</span><span class="requiredHint"> *</span></label>
|
||||||
<textarea id="query" name="query" cols="70" rows="15" style="margin-bottom:7px"></textarea>
|
<textarea id="query" name="query" cols="70" rows="15" style="margin-bottom:7px"></textarea>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue