Skip to content

Commit

Permalink
Correções e melhorias
Browse files Browse the repository at this point in the history
  • Loading branch information
opedrosoares committed May 14, 2023
1 parent 13d68cd commit d210ed5
Show file tree
Hide file tree
Showing 36 changed files with 2,522 additions and 484 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,5 @@ dist/icons/petrvs/petrvs.png
dist/manifest_antaq_v2.json
dist/manifest_seipro_v2.json
dist/manifest_v2.json
dist/manifest_antt.json
dist/manifest_antt_v2.json
60 changes: 60 additions & 0 deletions dist/css/sei-pro.css
Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,21 @@ div.selectProgressoBar {
background: #4285F4 !important;
border: 1px solid #365ea0 !important;
}
div.progressPrescricao {
height: 8px !important;
border: none !important;
margin: 10px 0;
width: 95%;
background: #ccc;
}
.progressPrescricao .ui-progressbar-value {
background: #9ece4e !important;
border: 1px solid #78a135 !important;
}
.progressPrescricao.urgente .ui-progressbar-value {
background: #e46e65 !important;
border: 1px solid #b44c44 !important;
}
div.atividadesProgressoBar {
height: 4px !important;
border: none !important;
Expand Down Expand Up @@ -1817,6 +1832,9 @@ table.moreInfoBox td:first-child,
padding-right: 10px;
color: #747474;
}
#processosKanban .kanban-description span.sub[data-type="especificacao"] {
font-size: 11pt;
}
.kanban-container .kanban-board .proc_tags .kanban-title-board::before {
content: "\f02b";
}
Expand Down Expand Up @@ -2484,6 +2502,9 @@ a.newLink.filterTableProcessos.newLink_active i {
#atividadesPro.minView .modulesActions:has(.iconLabel) {
margin-top: 20px;
}
#atividadesPro.minView .panelInfoHome:not(.panelInfoHomeAtividade) {
margin-top: 50px;
}
#divInfraAreaTelaD {
position: relative;
}
Expand Down Expand Up @@ -3741,4 +3762,43 @@ input[type="currency"]{
}
.cke_dialog_ui_labeled_content:has(select.cke_dialog_ui_input_select) {
min-height: 30px;
}
i.fas.fa-spinner.fa-spin.fa-pulse {
height: 13px;
padding: 0 !important;
}
.tabelaControle a[href*="acao=procedimento_trabalhar"] {
white-space: nowrap;
}
.dialogBoxDiv .ui-accordion .ui-accordion-header {
text-indent: 20px;
}
h3.ui-accordion-header span.counter {
width: 18px;
border-radius: 50%;
text-indent: initial;
height: 18px;
background-color: #e4e9e9;
float: right;
color: #666;
font-size: 80%;
text-align: center;
}
div[id*="boxConfiguracoes"] .tag-input {
height: 22px !important;
}
#configEntidade_acoes_dados_externos td,
#configEntidade_acoes_dados_externos tr {
height: auto;
margin: 0 !important;
padding: 0 !important;
}
.tableOptionConfig .editCellSelect.inEdit .chosen-container {
width: calc(100% - 30px) !important;
}
#cache_demandas_time_chosen {
width: 40% !important;
}
.fa-spinner:before {
content: "\f110" !important;
}
42 changes: 42 additions & 0 deletions dist/css/sei-slim.css
Original file line number Diff line number Diff line change
Expand Up @@ -1694,6 +1694,7 @@ a[href*="andamento_marcador_gerenciar"][data-color],
.seiSlim a.botaoSEI[onclick*="saveAtividade("],
.seiSlim a.botaoSEI[onclick*="selectAtividadeBox("],
.seiSlim a.botaoSEI[onclick*="addControlePrazo("],
.seiSlim a.botaoSEI[onclick*="getProcessoNaoLido("],
.seiSlim a.botaoSEI[onclick*="dialogChangeTypeProc("],
.seiSlim a.botaoSEI[onclick*="initUploadFilesInProcess("],
.seiSlim a.botaoSEI[onclick*="checkDadosAcompEspecial("],
Expand All @@ -1702,6 +1703,7 @@ a[href*="andamento_marcador_gerenciar"][data-color],
.seiSlim a.botaoSEI[onclick*="getDosimetria("],
.seiSlim a.botaoSEI[onclick*="dialogRelatoriosSFIS("],
.seiSlim a.botaoSEI[onclick*="getDocumentosActions("],
.seiSlim a.botaoSEI[onclick*="getCtrPrescricao("],
.seiSlim a[id*="anchorImg"][data-img],
.seiSlim span.infraImgPro[data-img],
.seiSlim a[href*="javascript:alert('Assinado por:"],
Expand Down Expand Up @@ -1754,6 +1756,8 @@ a[href*="andamento_marcador_gerenciar"][data-color],
.seiSlim a.botaoSEI[onclick*="selectAtividadeBox("] img:hover,
.seiSlim a.botaoSEI[onclick*="addControlePrazo("] img,
.seiSlim a.botaoSEI[onclick*="addControlePrazo("] img:hover,
.seiSlim a.botaoSEI[onclick*="getProcessoNaoLido("] img,
.seiSlim a.botaoSEI[onclick*="getProcessoNaoLido("] img:hover,
.seiSlim a.botaoSEI[onclick*="dialogChangeTypeProc("] img,
.seiSlim a.botaoSEI[onclick*="dialogChangeTypeProc("] img:hover,
.seiSlim a.botaoSEI[onclick*="initUploadFilesInProcess("] img,
Expand All @@ -1770,6 +1774,8 @@ a[href*="andamento_marcador_gerenciar"][data-color],
.seiSlim a.botaoSEI[onclick*="dialogRelatoriosSFIS("] img:hover,
.seiSlim a.botaoSEI[onclick*="getDocumentosActions("] img,
.seiSlim a.botaoSEI[onclick*="getDocumentosActions("] img:hover,
.seiSlim a.botaoSEI[onclick*="getCtrPrescricao("] img,
.seiSlim a.botaoSEI[onclick*="getCtrPrescricao("] img:hover,
.seiSlim a.botaoSEI[href*="?acao=procedimento_atribuicao_cadastrar"] img,
.seiSlim a.botaoSEI[href*="?acao=procedimento_atribuicao_cadastrar"] img:hover,
.seiSlim a.botaoSEI[onclick*="?acao=procedimento_atribuicao_cadastrar"] img,
Expand Down Expand Up @@ -1987,6 +1993,7 @@ span.tagUserColorPro[data-color] img:hover,
.seiSlim a.botaoSEI[onclick*="saveAtividade("]:before,
.seiSlim a.botaoSEI[onclick*="selectAtividadeBox("]:before,
.seiSlim a.botaoSEI[onclick*="addControlePrazo("]:before,
.seiSlim a.botaoSEI[onclick*="getProcessoNaoLido("]:before,
.seiSlim a.botaoSEI[onclick*="dialogChangeTypeProc("]:before,
.seiSlim a.botaoSEI[onclick*="initUploadFilesInProcess("]:before,
.seiSlim a.botaoSEI[onclick*="checkDadosAcompEspecial("]:before,
Expand All @@ -1995,6 +2002,7 @@ span.tagUserColorPro[data-color] img:hover,
.seiSlim a.botaoSEI[onclick*="getDosimetria("]:before,
.seiSlim a.botaoSEI[onclick*="dialogRelatoriosSFIS("]:before,
.seiSlim a.botaoSEI[onclick*="getDocumentosActions("]:before,
.seiSlim a.botaoSEI[onclick*="getCtrPrescricao("]:before,
.seiSlim a.botaoSEI[href*="?acao=procedimento_credencial_gerenciar"]:before,
.seiSlim a.botaoSEI[href*="?acao=credencial_assinatura_gerenciar"]:before,
.seiSlim a.botaoSEI[href*="?acao=procedimento_atualizar_andamento"]:before,
Expand Down Expand Up @@ -2437,6 +2445,11 @@ a[href*="andamento_marcador_gerenciar"][data-color]:before {
content: "\f085";
color: #7562d8;
}
.seiSlim a.botaoSEI[onclick*="getCtrPrescricao("]:after,
.seiSlim a.botaoSEI[onclick*="getCtrPrescricao("]:before {
content: "\f252";
color: #7562d8;
}
.seiSlim a.botaoSEI[onclick*="getDocCertidao("]:after,
.seiSlim a.botaoSEI[onclick*="getDocCertidao("]:before {
content: "\f5bf";
Expand Down Expand Up @@ -2497,6 +2510,11 @@ a[href*="andamento_marcador_gerenciar"][data-color]:before {
content: "\f017";
color: #4285f4;
}
.seiSlim a.botaoSEI[onclick*="getProcessoNaoLido("]:after,
.seiSlim a.botaoSEI[onclick*="getProcessoNaoLido("]:before {
content: "\f070";
color: #4285f4;
}
.seiSlim a.botaoSEI[onclick*="initUploadFilesInProcess("]:after,
.seiSlim a.botaoSEI[onclick*="initUploadFilesInProcess("]:before {
content: "\f574";
Expand Down Expand Up @@ -3138,6 +3156,9 @@ td .linhaNumerada:after {
.seiSlim.seiSlim_parent.seiSlim_view span.cke_button_icon.cke_button__boxsigilo_icon,
.seiSlim.seiSlim_parent.seiSlim_view span.cke_button_icon.cke_button__ctr_review_icon,
.seiSlim.seiSlim_parent.seiSlim_view span.cke_button_icon.cke_button__review_icon,
.seiSlim.seiSlim_parent.seiSlim_view span.cke_button_icon.cke_button__ditado_icon,
.seiSlim.seiSlim_parent.seiSlim_view span.cke_button_icon.cke_button__ctr_ditado_icon,
.seiSlim.seiSlim_parent.seiSlim_view span.cke_button_icon.cke_button__newstyle_icon,
.seiSlim.seiSlim_parent.seiSlim_view span.cke_button_icon.cke_button__natjus_icon,
.seiSlim.seiSlim_parent.seiSlim_view span.cke_button_icon.cke_button__tablestyles_icon,
.seiSlim.seiSlim_parent.seiSlim_view span.cke_button_icon.cke_button__quicktable_icon,
Expand Down Expand Up @@ -3418,6 +3439,21 @@ td .linhaNumerada:after {
content: "\f4ff";
color: #4285f4;
}
.seiSlim.seiSlim_parent.seiSlim_view span.cke_button_icon.cke_button__ditado_icon:before {
content: "\f3c9";
color: #ea48cc;
}
.seiSlim.seiSlim_parent.seiSlim_view .cke_button_on span.cke_button_icon.cke_button__ditado_icon:before {
animation: pulser 2s infinite;
}
.seiSlim.seiSlim_parent.seiSlim_view span.cke_button_icon.cke_button__ctr_ditado_icon:before {
content: "\f085";
color: #ea48cc;
}
.seiSlim.seiSlim_parent.seiSlim_view span.cke_button_icon.cke_button__newstyle_icon:before {
content: "\f53f";
color: #ea48cc;
}
.seiSlim.seiSlim_parent.seiSlim_view span.cke_button_icon.cke_button__natjus_icon:before {
content: "\f46b";
color: #34caef;
Expand Down Expand Up @@ -3860,4 +3896,10 @@ strong.title-reviewtip {
}
#uploadListPro .dz-preview.dz-file-preview {
margin: 10px;
}
.editorTextDisclaimer p {
font-size: 120%;
line-height: 30px;
width: 800px;
white-space: break-spaces;
}
36 changes: 36 additions & 0 deletions dist/css/tableselection.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
.cke_table-faked-selection-editor *::selection, table[data-cke-table-faked-selection-table] *::selection {
background: transparent;
}

.cke_table-faked-selection {
background: darkgray !important;
color: black;
}
.cke_table-faked-selection a {
color: black;
}
.cke_editable:focus .cke_table-faked-selection {
/* We have to use !important here, as td might specify it's own background, thus table selection
would not be visible. */
background: #0076cb !important;
color: white;
}
.cke_editable:focus .cke_table-faked-selection a {
color: white;
}
.cke_table-faked-selection::-moz-selection, .cke_table-faked-selection ::-moz-selection {
background: transparent;
}
.cke_table-faked-selection::selection, .cke_table-faked-selection ::selection {
background: transparent;
}

/* Change the cursor when selecting cells (#706).
*
* This solution does not work in IE, Edge and Safari due to upstream isues:
* https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/3419602/
* https://bugs.webkit.org/show_bug.cgi?id=53341
*/
table[data-cke-table-faked-selection-table] {
cursor: cell;
}
32 changes: 30 additions & 2 deletions dist/html/options.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<button class="save button-flat button-light" style="float:right" style="width: 100px"><i class="fas fa-save"></i> Salvar</button>
<div id="alertaBoxPro" style="display: none;"></div>
</div>
<h1><img src="../icons/icon-32.png" style="vertical-align: middle;margin-right: 10px;"> <span class="title"><span class="name-space"></span> | Configura&ccedil;&otilde;es</span></h1>
<h1><img class="icon-space" src="../icons/icon-32.png" style="vertical-align: middle;margin-right: 10px;"> <span class="title"><span class="name-space"></span> | Configura&ccedil;&otilde;es</span></h1>
</div>
<div class="panel options-panel options-profile" id="options-tabs">
<ul>
Expand Down Expand Up @@ -207,7 +207,7 @@ <h2>Base de Dados</h2>
</div>
</td>
</tr>
<tr class="lab">
<tr>
<td>
<p>
<i class="iconPopup fa fa-robot azulColor"></i><span class="info">Ferramentas de Intelig&ecirc;ncia Artificial</span>
Expand Down Expand Up @@ -308,6 +308,34 @@ <h2>Base de Dados</h2>
</table>
</td>
</tr>
<tr>
<td>
<p>
<i class="iconPopup fa fa-eye-slash azulColor"></i><span class="info">Permitir marcar processos como &quot;N&atilde;o Visualizado&quot;</span>
<a class="manual" href="/pages/NAOLIDO.html" target="_blank" style="float: right;"><i class="iconPopup fa fa-info-circle" style="color: #C0C0C0 !important;"></i></a>
</p>
</td>
<td>
<div class="onoffswitch">
<input type="checkbox" data-name="marcar_naolido" name="onoffswitch" class="onoffswitch-checkbox" id="itemConfigGeral_marcar_naolido" tabindex="0" checked>
<label class="onoffswitch-label" for="itemConfigGeral_marcar_naolido"></label>
</div>
</td>
</tr>
<tr>
<td>
<p>
<i class="iconPopup fa fa-microphone-alt azulColor"></i><span class="info">Ditado no editor de documentos</span>
<a class="manual" href="/pages/DITADO.html" target="_blank" style="float: right;"><i class="iconPopup fa fa-info-circle" style="color: #C0C0C0 !important;"></i></a>
</p>
</td>
<td>
<div class="onoffswitch">
<input type="checkbox" data-name="ditado" name="onoffswitch" class="onoffswitch-checkbox" id="itemConfigGeral_ditado" tabindex="0" checked>
<label class="onoffswitch-label" for="itemConfigGeral_ditado"></label>
</div>
</td>
</tr>
<tr>
<td>
<p>
Expand Down
3 changes: 3 additions & 0 deletions dist/html/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -389,9 +389,11 @@ function getManifestExtension() {
function setNamePage() {
var manifest = getManifestExtension();
var NAMESPACE_SPRO = manifest.short_name;
var ICONSPACE_SPRO = manifest.icons['32'];
var URLPages_SPRO = manifest.homepage_url;
// var title = 'Configura\u00E7\u00F5es Gerais | '+NAMESPACE_SPRO;
$('.title .name-space').text(NAMESPACE_SPRO);
$('.icon-space').attr('src','../'+ICONSPACE_SPRO);
$('a.manual').each(function(){
$(this).attr('href', URLPages_SPRO+$(this).attr('href'));
});
Expand All @@ -402,6 +404,7 @@ function setNamePage() {
} else if (NAMESPACE_SPRO == 'ANTT Pro') {
$('body').addClass('ANTAQ_Pro');
}
console.log(manifest);
}
$('#options-functions').find('input[type="text"]').on("keyup", function () {
if ($(this).val() != '') {
Expand Down
Binary file added dist/icons/antt/icon-128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/icons/antt/icon-16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/icons/antt/icon-256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/icons/antt/icon-32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/icons/antt/icon-48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added dist/icons/editor/speech.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/icons/editor/webspeech-enable.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/icons/editor/webspeech-settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/icons/editor/webspeech.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/icons/lab/icon-32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dist/js/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ function loadDataBaseProStorage(items) {
}
}
function loadFontIcons(elementTo, target = $('html')) {
var iconBoxSlim = (localStorage.getItem('seiSlim')) ? true : false;
var iconBoxSlim = (localStorage.getItem('seiSlim') || localStorage.getItem('seiSlim_editor')) ? true : false;
var pathExtension = pathExtensionSEIPro();
if (target.find('link[data-style="seipro-fonticon"]').length == 0 && target.find('style[data-style="seipro-fonticon"]').length == 0) {
$("<link/>", {
Expand Down
4 changes: 3 additions & 1 deletion dist/js/init_all.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
var isNewSEI = $('#divInfraSidebarMenu ul#infraMenu').length ? true : false;

if ($('#frmEditor').length == 0) {
$.getScript(getUrlExtension("js/sei-functions-pro.js"));
}
Expand Down Expand Up @@ -103,7 +105,7 @@ function _P() { // get Session Name Space
}
function loadStyleDesign() {
var body = document.body;
if (localStorage.getItem('seiSlim')) {
if (localStorage.getItem('seiSlim') && !isNewSEI) {
body.classList.add("seiSlim");
body.classList.add("seiSlim_parent");
if (document.getElementById("divInfraAreaTelaE") === null) body.classList.add("seiSlim_view");
Expand Down
44 changes: 44 additions & 0 deletions dist/js/lib/_chosen.jquery.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/js/lib/chosen.jquery.min.js
100755 → 100644

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions dist/js/lib/jquery-visible.min.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

/**
* Copyright 2012, Digital Fusion
* Licensed under the MIT license.
* http://teamdf.com/jquery-plugins/license/
*
* @author Sam Sehnert
* @desc A small plugin that checks whether elements are within
* the user visible viewport of a web browser.
* can accounts for vertical position, horizontal, or both
* https://github.com/customd/jquery-visible
*/
!function(t){var i=t(window);t.fn.visible=function(t,e,o){if(!(this.length<1)){var r=this.length>1?this.eq(0):this,n=r.get(0),f=i.width(),h=i.height(),o=o?o:"both",l=e===!0?n.offsetWidth*n.offsetHeight:!0;if("function"==typeof n.getBoundingClientRect){var g=n.getBoundingClientRect(),u=g.top>=0&&g.top<h,s=g.bottom>0&&g.bottom<=h,c=g.left>=0&&g.left<f,a=g.right>0&&g.right<=f,v=t?u||s:u&&s,b=t?c||a:c&&a;if("both"===o)return l&&v&&b;if("vertical"===o)return l&&v;if("horizontal"===o)return l&&b}else{var d=i.scrollTop(),p=d+h,w=i.scrollLeft(),m=w+f,y=r.offset(),z=y.top,B=z+r.height(),C=y.left,R=C+r.width(),j=t===!0?B:z,q=t===!0?z:B,H=t===!0?R:C,L=t===!0?C:R;if("both"===o)return!!l&&p>=q&&j>=d&&m>=L&&H>=w;if("vertical"===o)return!!l&&p>=q&&j>=d;if("horizontal"===o)return!!l&&m>=L&&H>=w}}}}(jQuery);
Loading

0 comments on commit d210ed5

Please sign in to comment.