Skip to content

Commit

Permalink
N21-1681 missing school feature (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorCapCoder authored Feb 8, 2024
1 parent 4ec61c3 commit e24bdbc
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions static/scripts/schools.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ $(document).ready(function () {
});
});

$editModal.find('.enableLdapSyncDuringMigration').on('click', function(e) {
e.preventDefault();
});

const dictionary = {
'Vorname': 'firstName',
'Nachname': 'lastName',
Expand Down
5 changes: 5 additions & 0 deletions static/styles/schools/schools.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.checkbox-input-field-disabled {
opacity: 0.4;
accent-color: darkgrey;
cursor: not-allowed;
}
2 changes: 1 addition & 1 deletion views/schools/forms/add-school.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,10 @@
<div class="form-group">
<label>
<input
class="enableLdapSyncDuringMigration checkbox-input-field-disabled"
type="checkbox"
name="hasFeature_enableLdapSyncDuringMigration"
value="true"
disabled="disabled"
/>
Synchronisation für Klassen und Accounts während Login-System-Migration erlauben
</label>
Expand Down
1 change: 1 addition & 0 deletions views/schools/schools.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

{{#content "styles" mode="append"}}
<link rel="stylesheet" href="/styles/events/events.css"/>
<link rel="stylesheet" href="/styles/schools/schools.css"/>
{{/content}}

{{#content "scripts" mode="append"}}
Expand Down

0 comments on commit e24bdbc

Please sign in to comment.