Skip to content

Commit

Permalink
added style fix for ancient code textarea gui
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr. Frank Hoffmann authored and Dr. Frank Hoffmann committed Jun 19, 2018
1 parent 83b5301 commit 1880abd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/zmi/styles/resources/zmi_base.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function addItem( elm, url1 ) {
"Ordered":{ "title":"Folder (Ordered)", "class":"far fa-folder zmi-icon-folder-ordered" },
"Folder":{ "title":"Folder", "class":"far fa-folder" },
"Script":{ "title":"Script (Python)", "class":"fa fa-terminal" },
"External Method":{ "title":"External Python Method", "class":"fa fa-external-link-square" },
"External Method":{ "title":"External Python Method", "class":"fa fa-external-link-square-alt" },
"DTML Document":{ "title":"DTML Document", "class":"far fa-file-alt" },
"DTML Method":{ "title":"DTML Document", "class":"far fa-file-alt" },
"Page Template":{ "title":"Page Template", "class":"far fa-file-code" },
Expand Down Expand Up @@ -138,6 +138,7 @@ function addItem( elm, url1 ) {
// ADD BOOTSTRAP CLASSES
$('input[type="text"],input[type="file"],textarea').addClass('form-control zmi-patch');
$('input[type="submit"]').addClass('btn btn-primary zmi-patch');
$('textarea[name*=":text"]').addClass('zmi-code');
$('table').addClass('table zmi-patch');
}
}
Expand All @@ -148,6 +149,7 @@ function addItem( elm, url1 ) {
// ADD BOOTSTRAP CLASSES
$('.modal-body input[type="text"],input[type="file"],textarea').addClass('form-control zmi-patch');
$('.modal-body input[type="submit"]').addClass('btn btn-primary zmi-patch');
$('.modal-body textarea[name*=":text"]').addClass('zmi-code');
$('.modal-body table').addClass('table zmi-patch');
}
}
Expand Down

0 comments on commit 1880abd

Please sign in to comment.