forked from collectionspace/ui
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CSPACE-4611: Initial pass at concept authority ui
- Loading branch information
Ray Lee
committed
Mar 21, 2012
1 parent
722ae99
commit 004bd05
Showing
4 changed files
with
255 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,87 @@ | |||
{ | |||
"pageBuilder": { | |||
"options": { | |||
"pageType": "concept", | |||
"selectors": { | |||
"recordEditor": ".csc-concept-template" | |||
}, | |||
"components": { | |||
"recordEditor": { | |||
"type": "cspace.recordEditor", | |||
"options": { | |||
"applier": "{pageBuilder}.applier", | |||
"uispec": "{pageBuilder}.options.uispec.recordEditor", | |||
"model": "{pageBuilder}.model", | |||
"fieldsToIgnore": ["csid", "fields.csid", "fields.shortIdentifier"], | |||
"selectors": { | |||
"hierarchy": ".csc-concept-hierarchy", | |||
"identificationNumber": ".csc-concept-displayName" | |||
}, | |||
"selectorsToIgnore": ["recordTraverser", "requiredFields", "identificationNumber", "header", "togglable", "hierarchy"], | |||
"components": { | |||
"hierarchy": { | |||
"type": "cspace.hierarchy", | |||
"options": { | |||
"uispec": "{pageBuilder}.options.uispec.hierarchy" | |||
}, | |||
"createOnEvent": "afterRender" | |||
} | |||
} | |||
} | |||
}, | |||
"titleBar": { | |||
"type": "cspace.titleBar", | |||
"options": { | |||
"fields": [ | |||
"fields.displayName" | |||
] | |||
} | |||
}, | |||
"header": { | |||
"type": "cspace.header", | |||
"options": { | |||
"schema": "{pageBuilder}.schema", | |||
"permissions": "{pageBuilder}.permissions" | |||
} | |||
}, | |||
"tabs": { | |||
"type": "cspace.tabs" | |||
}, | |||
"sidebar": { | |||
"type": "cspace.sidebar" | |||
} | |||
} | |||
} | |||
}, | |||
"pageBuilderIO": { | |||
"options": { | |||
"recordType": "concept", | |||
"schema": [ | |||
"recordlist", | |||
"recordtypes", | |||
"namespaces", | |||
"concept" | |||
], | |||
"pageSpec": { | |||
"recordEditor": { | |||
"href": "pages/ConceptTemplate.html", | |||
"templateSelector": ".csc-concept-template", | |||
"targetSelector": ".csc-record-edit-container" | |||
} | |||
}, | |||
"components": { | |||
"dataContext": { | |||
"options": { | |||
"baseUrl": { | |||
"expander": { | |||
"type": "fluid.deferredInvokeCall", | |||
"func": "cspace.util.urlBuilder", | |||
"args": "%tenant/%tname/vocabularies" | |||
} | |||
} | |||
} | |||
} | |||
} | |||
} | |||
} | |||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,47 @@ | |||
<div class="csc-concept-template csc-listEditor-details"> | |||
<div class="csc-concept"> | |||
<div id="secondary-nav"> | |||
<div id="secondary-nav-menu-sub"> | |||
<span class="csc-recordTraverser"></span> | |||
<div class="button-row"> | |||
<a style="display:none;" class="csc-goto gotoButton"></a> | |||
<input type="button" class="csc-createFromExisting createFromExistingButton" /> | |||
<input type="button" class="csc-cancel cancelButton" /> | |||
<input type="button" class="csc-delete deleteButton" /> | |||
<input type="button" class="csc-save saveButton" /> | |||
</div> | |||
<div class="time-stamp"> </div> | |||
</div> | |||
</div> | |||
|
|||
<div class="csc-templateEditor"></div> | |||
|
|||
<div class="fl-container-flex fl-fix information-group info-column"> | |||
<div class="csc-recordEditor-header fl-container-flex header toggle">Concept Authority</div> | |||
<div class="csc-recordEditor-togglable fl-container-flex fl-fix content main"> | |||
<div class="info-column"> | |||
<div class="info-column2-50 fl-force-left" > | |||
<div class="info-pair"> | |||
<div class="header"><span class="label required csc-concept-displayName-label"></span><span class="required">*</span></div> | |||
<div class="content clearfix"><input type="text" class="csc-concept-displayName" /></div> | |||
</div> | |||
</div> | |||
</div> | |||
</div> | |||
</div> | |||
|
|||
<div class="csc-concept-hierarchy"></div> | |||
|
|||
<div id="secondary-nav-footer"> | |||
<div id="secondary-nav-menu-sub"> | |||
<div class="button-row"> | |||
<a style="display:none;" class="csc-goto gotoButton"></a> | |||
<input type="button" class="csc-createFromExisting createFromExistingButton" /> | |||
<input type="button" class="csc-cancel cancelButton" /> | |||
<input type="button" class="csc-delete deleteButton" /> | |||
<input type="button" class="csc-save saveButton" /> | |||
</div> | |||
</div> | |||
</div> | |||
</div> | |||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters