mirror of
https://gitlab.unicamp.br/infimecc_drupal11_modules/ldap_groups_sync.git
synced 2026-03-10 02:17:41 -03:00
Adiciona submódulo ldap_courses_sync para sincronização de cursos via LDAP
Cria o módulo modules/ldap_courses_sync/ seguindo o mesmo padrão do ldap_research_groups_sync, com bundle `course`, campos field_course_* e field_user_courses, sincronização de membros via atributo LDAP, e aba "Courses Sync" no painel unificado. Também registra `courses` no módulo pai (routing, UnifiedAccessRulesForm e GlobalAccessRuleForm) para suporte a access rules unificadas. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
73
modules/ldap_courses_sync/css/role-mapping.css
Normal file
73
modules/ldap_courses_sync/css/role-mapping.css
Normal file
@@ -0,0 +1,73 @@
|
||||
/**
|
||||
* Role mapping table styles
|
||||
*/
|
||||
|
||||
/* Limita a largura da tabela e permite scroll horizontal se necessário */
|
||||
.role-mappings-table {
|
||||
max-width: 100%;
|
||||
table-layout: fixed;
|
||||
}
|
||||
|
||||
/* Define larguras fixas para cada coluna */
|
||||
.role-mappings-table th:nth-child(1),
|
||||
.role-mappings-table td:nth-child(1) {
|
||||
width: 20%;
|
||||
min-width: 150px;
|
||||
}
|
||||
|
||||
.role-mappings-table th:nth-child(2),
|
||||
.role-mappings-table td:nth-child(2) {
|
||||
width: 15%;
|
||||
min-width: 130px;
|
||||
}
|
||||
|
||||
.role-mappings-table th:nth-child(3),
|
||||
.role-mappings-table td:nth-child(3) {
|
||||
width: 25%;
|
||||
min-width: 180px;
|
||||
}
|
||||
|
||||
.role-mappings-table th:nth-child(4),
|
||||
.role-mappings-table td:nth-child(4) {
|
||||
width: 30%;
|
||||
min-width: 200px;
|
||||
}
|
||||
|
||||
.role-mappings-table th:nth-child(5),
|
||||
.role-mappings-table td:nth-child(5) {
|
||||
width: 10%;
|
||||
min-width: 80px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Estilo dos selects para limitar largura e truncar texto */
|
||||
.role-mapping-field-select {
|
||||
max-width: 100%;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* Estilo para options dentro dos selects - mostra texto completo no dropdown */
|
||||
.role-mapping-field-select option {
|
||||
white-space: normal;
|
||||
overflow: visible;
|
||||
text-overflow: clip;
|
||||
}
|
||||
|
||||
/* Estilo do textarea */
|
||||
.role-mapping-values-textarea {
|
||||
max-width: 100%;
|
||||
width: 100%;
|
||||
min-height: 50px;
|
||||
}
|
||||
|
||||
/* Responsividade: em telas menores, permite scroll horizontal */
|
||||
@media (max-width: 1200px) {
|
||||
.role-mappings-table {
|
||||
display: block;
|
||||
overflow-x: auto;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user