[gen] Added 'freeze actions' to pod fields.
|
@ -102,9 +102,8 @@ td.search { padding-top: 8px }
|
|||
width: 350px; z-index : 100; background: white; padding: 8px;
|
||||
border: 1px solid grey }
|
||||
.dropdown { display:none; position: absolute; border: 1px solid #cccccc;
|
||||
background-color: white; padding-top: 4px }
|
||||
.dropdownMenu { cursor: pointer; padding-right: 4px }
|
||||
.dropdown a { padding: 0 0.5em }
|
||||
background-color: white; padding: 3px 4px 0 }
|
||||
.dropdownMenu { cursor: pointer; padding-right: 4px; font-size: 93% }
|
||||
.dropdown a:hover { text-decoration: underline }
|
||||
.list { margin-bottom: 3px }
|
||||
.list td, .list th { border: 1px solid grey;
|
||||
|
@ -156,5 +155,5 @@ td.search { padding-top: 8px }
|
|||
.homeTable th { padding-top: 5px; font-size: 105% }
|
||||
.first { margin-top: 0px }
|
||||
.error { margin: 5px }
|
||||
.podName { font-size: 90%; padding-left: 3px }
|
||||
.podName { font-size: 90% }
|
||||
.podTable { margin-left: 15px }
|
||||
|
|
|
@ -446,14 +446,14 @@ function triggerTransition(formId, transitionId, msg) {
|
|||
function onDeleteObject(objectUid) {
|
||||
f = document.getElementById('deleteForm');
|
||||
f.objectUid.value = objectUid;
|
||||
askConfirm('form', 'deleteForm', delete_confirm);
|
||||
askConfirm('form', 'deleteForm', action_confirm);
|
||||
}
|
||||
|
||||
function onDeleteEvent(objectUid, eventTime) {
|
||||
f = document.getElementById('deleteEventForm');
|
||||
f.objectUid.value = objectUid;
|
||||
f.eventTime.value = eventTime;
|
||||
askConfirm('form', 'deleteEventForm', delete_confirm);
|
||||
askConfirm('form', 'deleteEventForm', action_confirm);
|
||||
}
|
||||
|
||||
function onUnlinkObject(sourceUid, fieldName, targetUid) {
|
||||
|
@ -461,14 +461,14 @@ function onUnlinkObject(sourceUid, fieldName, targetUid) {
|
|||
f.sourceUid.value = sourceUid;
|
||||
f.fieldName.value = fieldName;
|
||||
f.targetUid.value = targetUid;
|
||||
askConfirm('form', 'unlinkForm', unlink_confirm);
|
||||
askConfirm('form', 'unlinkForm', action_confirm);
|
||||
}
|
||||
|
||||
function onUnlockPage(objectUid, pageName) {
|
||||
f = document.getElementById('unlockForm');
|
||||
f.objectUid.value = objectUid;
|
||||
f.pageName.value = pageName;
|
||||
askConfirm('form', 'unlockForm', unlock_confirm);
|
||||
askConfirm('form', 'unlockForm', action_confirm);
|
||||
}
|
||||
|
||||
function createCookie(name, value, days) {
|
||||
|
@ -521,17 +521,38 @@ function toggleCookie(cookieId) {
|
|||
}
|
||||
|
||||
// Function that allows to generate a document from a pod template.
|
||||
function generatePodDocument(uid, fieldName, template, podFormat, queryData,
|
||||
customParams) {
|
||||
var theForm = document.getElementById("podTemplateForm");
|
||||
theForm.objectUid.value = uid;
|
||||
theForm.fieldName.value = fieldName;
|
||||
theForm.template.value = template;
|
||||
theForm.podFormat.value = podFormat;
|
||||
theForm.queryData.value = queryData;
|
||||
if (customParams) { theForm.customParams.value = customParams; }
|
||||
else { theForm.customParams.value = ''; }
|
||||
theForm.submit();
|
||||
function generatePod(uid,fieldName,template,podFormat,queryData,customParams) {
|
||||
var f = document.getElementById('podForm');
|
||||
f.objectUid.value = uid;
|
||||
f.fieldName.value = fieldName;
|
||||
f.template.value = template;
|
||||
f.podFormat.value = podFormat;
|
||||
f.queryData.value = queryData;
|
||||
if (customParams) { f.customParams.value = customParams; }
|
||||
else { f.customParams.value = ''; }
|
||||
f.action.value = 'generate';
|
||||
f.submit();
|
||||
}
|
||||
|
||||
// Function that allows to (un-)freeze a document from a pod template.
|
||||
function freezePod(uid, fieldName, template, podFormat, action) {
|
||||
var f = document.getElementById('podForm');
|
||||
f.objectUid.value = uid;
|
||||
f.fieldName.value = fieldName;
|
||||
f.template.value = template;
|
||||
f.podFormat.value = podFormat;
|
||||
f.action.value = action;
|
||||
askConfirm('form', 'podForm', action_confirm);
|
||||
}
|
||||
|
||||
// Function that allows to upload a file for freezing it in a od field.
|
||||
function uploadPod(uid, fieldName, template, podFormat) {
|
||||
var f = document.getElementById('uploadForm');
|
||||
f.objectUid.value = uid;
|
||||
f.fieldName.value = fieldName;
|
||||
f.template.value = template;
|
||||
f.podFormat.value = podFormat;
|
||||
openPopup('uploadPopup');
|
||||
}
|
||||
|
||||
function protectAppyForm() {
|
||||
|
|
BIN
gen/ui/doc.png
Before Width: | Height: | Size: 832 B After Width: | Height: | Size: 475 B |
BIN
gen/ui/docFrozen.png
Normal file
After Width: | Height: | Size: 514 B |
BIN
gen/ui/freeze.png
Normal file
After Width: | Height: | Size: 350 B |
BIN
gen/ui/frozen.png
Normal file
After Width: | Height: | Size: 177 B |
BIN
gen/ui/ods.png
Before Width: | Height: | Size: 731 B After Width: | Height: | Size: 663 B |
BIN
gen/ui/odsFrozen.png
Normal file
After Width: | Height: | Size: 668 B |
BIN
gen/ui/odt.png
Before Width: | Height: | Size: 774 B After Width: | Height: | Size: 470 B |
BIN
gen/ui/odtFrozen.png
Normal file
After Width: | Height: | Size: 493 B |
BIN
gen/ui/pdf.png
Before Width: | Height: | Size: 400 B After Width: | Height: | Size: 432 B |
BIN
gen/ui/pdfFrozen.png
Normal file
After Width: | Height: | Size: 485 B |
BIN
gen/ui/rtf.png
Before Width: | Height: | Size: 225 B |
BIN
gen/ui/unfreeze.png
Normal file
After Width: | Height: | Size: 442 B |
BIN
gen/ui/upload.png
Normal file
After Width: | Height: | Size: 421 B |
BIN
gen/ui/xls.png
Before Width: | Height: | Size: 314 B After Width: | Height: | Size: 623 B |
BIN
gen/ui/xlsFrozen.png
Normal file
After Width: | Height: | Size: 621 B |