Initial commit

This commit is contained in:
zhugl
2015-07-30 13:01:42 +08:00
commit dfe9774fb1
122 changed files with 12088 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
table#workflow-history{
width:100%
}
table#workflow-history tbody th,table#workflow-history tbody td.col {
width: 16em;
}
.submitlink {
padding-left: 12px;
background: url(../img/icon-yes.gif) 0 .25em no-repeat;
}
a.submitlink:link, a.submitlink:visited {
color: #CC3434;
}
a.submitlink:hover {
color: #993333;
}
label.control{
width:4em;
}
p.next-node{
font-weight:bold;
}
ul.node-users{
list-style:none;
}
p.tooltip{
color:#999;
}
li.done-link{
padding-left: 12px;
background: url(../img/icon_yes.gif) 0 .2em no-repeat;
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 122 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 253 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 299 B

+22
View File
@@ -0,0 +1,22 @@
/**
author:zhugl
date:2015-05-15
*/
(function($) {
$(document).ready(function() {
/**
set operation type
*/
$("fieldset.workflow input[type='radio']").on('click',function(){
operation = $(this).val();
next = "approve/"+operation;
$("#workflow_approve").attr("href",next);
});
try{
$("div.inline-group table tbody tr.form-row").removeClass('has_original');
$("div.inline-group table tbody tr.form-row td:first-child").find('p').hide();
}catch(e){
}
});
})(django.jQuery);
+11
View File
@@ -0,0 +1,11 @@
/**
* Created by Administrator on 15-5-23.
*/
(function($) {
$(document).ready(function() {
/**
set operation type
*/
$("#woextravalue_set-group select").attr('readonly','true')
});
})(django.jQuery);