Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use jquery; use a common set of node actions
- Loading branch information
Showing
12 changed files
with
72 additions
and
73 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
21 changes: 21 additions & 0 deletions
21
fcrepo-http-api/src/main/resources/views/common-node-actions.vsl
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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
|
||
<form id="action_create"> | ||
<h3>Create New Node</h3> | ||
<label> | ||
Type | ||
<select id="new_mixin"> | ||
<option value="">folder</option> | ||
<option value="fedora:object">object</option> | ||
<option value="fedora:datastream">datastream</option> | ||
</select> | ||
</label> | ||
<label> | ||
Identifier | ||
<input type="text" id="new_id" placeholder="identifier"/> | ||
</label> | ||
<button type="submit" class="btn btn-primary">Add</button> | ||
</form> | ||
<hr /> | ||
<form id="action_delete" action="javascript:deleteItem()"> | ||
<button type="submit" class="btn btn-danger">Delete</button> | ||
</form> |
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 | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,10 @@ | ||
body { padding-top: 40px; } | ||
|
||
.mode_root #action_delete { | ||
display: none; | ||
} | ||
|
||
|
||
.nt_file #action_create, .nt_resource #action_create { | ||
display: none; | ||
} |
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
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
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