Changeset 26704

Show
Ignore:
Timestamp:
11.01.2013 18:56:38 (6 years ago)
Author:
davidb
Message:

Changed display of save button and add metadata controls to be more consistent with display of other controls.

Location:
main/trunk/greenstone3/web/interfaces/default/js
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/js/document_scripts.js

    r26408 r26704  
    11171117     
    11181118    var editBar = $("#editBarLeft"); 
    1119     var saveButton = $("<button>", {"id": "saveButton"}); 
     1119 
     1120    var saveButton = $("<button>", {"id": "saveButton", "class": "ui-state-default ui-corner-all"}); 
    11201121    saveButton.click(save); 
    11211122    saveButton.html("Save changes"); 
    11221123    editBar.append(saveButton); 
     1124     
    11231125     
    11241126    var visibleMetadataList = $("<select>", {"id": "metadataSetList"}); 
  • main/trunk/greenstone3/web/interfaces/default/js/documentmaker_scripts_util.js

    r26397 r26704  
    665665    }); 
    666666 
    667     var metaNameField = $("<input>", {"type": "text"}); 
     667     
     668    var metaNameField = $("<input>", {"type": "text","style":"margin: 5px; border: 1px solid #000;"}); 
    668669    table.after(metaNameField); 
    669670    table.metaNameField = metaNameField; 
    670671     
    671     var addRowButton = $("<button>"); 
     672    var addRowButton = $("<button>",{"class": "ui-state-default ui-corner-all", "style": "margin: 5px;"}); 
    672673    addRowButton.html(gs.text.dse.add_new_metadata); 
    673674    addRowButton.click(function()