]> git.ipfire.org Git - ipfire.org.git/commitdiff
CSS: Replace any custom-* form classes
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 29 Nov 2021 11:24:21 +0000 (11:24 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 29 Nov 2021 11:24:21 +0000 (11:24 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/donate/donate.html
src/templates/wiki/edit.html
src/templates/wiki/files/detail.html
src/templates/wiki/files/index.html

index ca7ca4031ea4f934a261f0b359a0b46f378066b9..c1dcc415b189e43e10e7acfeabfe32274e9fba7b 100644 (file)
 
                                                                <input type="hidden" name="frequency" value="{{ frequency }}">
 
-                                                               <div class="custom-control custom-radio custom-control-inline">
-                                                                       <input class="custom-control-input" type="radio" name="frequency-selector" id="frequency-one-time"
+                                                               <div class="form-check form-check-inline">
+                                                                       <input class="form-check-input" type="radio" name="frequency-selector" id="frequency-one-time"
                                                                                value="one-time" {% if frequency == "one-time" %}checked{% end %}>
-                                                                       <label class="custom-control-label" for="frequency-one-time">{{ _("One Time") }}</label>
+                                                                       <label class="form-check-label" for="frequency-one-time">{{ _("One Time") }}</label>
                                                                </div>
 
-                                                               <div class="custom-control custom-radio custom-control-inline">
-                                                                       <input class="custom-control-input" type="radio" name="frequency-selector" id="frequency-monthly"
+                                                               <div class="form-check form-check-inline">
+                                                                       <input class="form-check-input" type="radio" name="frequency-selector" id="frequency-monthly"
                                                                                value="monthly" {% if frequency == "monthly" %}checked{% end %}>
-                                                                       <label class="custom-control-label" for="frequency-monthly">{{ _("Monthly") }}</label>
+                                                                       <label class="form-check-label" for="frequency-monthly">{{ _("Monthly") }}</label>
                                                                </div>
                                                        </div>
                                                </div>
                                                                <div class="col d-flex flex-column">
                                                                        <div class="form-row">
                                                                                <div class="col">
-                                                                                       <div class="custom-control custom-radio custom-control-inline mb-3">
-                                                                                               <input class="custom-control-input" type="radio" name="title" id="mr" value="Mr." checked>
-                                                                                               <label class="custom-control-label" for="mr">{{ _("Mr.") }}</label>
+                                                                                       <div class="form-check form-check-inline mb-3">
+                                                                                               <input class="form-check-input" type="radio" name="title" id="mr" value="Mr." checked>
+                                                                                               <label class="form-check-label" for="mr">{{ _("Mr.") }}</label>
                                                                                        </div>
-                                                                                       <div class="custom-control custom-radio custom-control-inline mb-3">
-                                                                                               <input class="custom-control-input" type="radio" name="title" id="mrs" value="Mrs.">
-                                                                                               <label class="custom-control-label" for="mrs">{{ _("Mrs.") }}</label>
+                                                                                       <div class="form-check form-check-inline mb-3">
+                                                                                               <input class="form-check-input" type="radio" name="title" id="mrs" value="Mrs.">
+                                                                                               <label class="form-check-label" for="mrs">{{ _("Mrs.") }}</label>
                                                                                        </div>
                                                                                </div>
                                                                        </div>
index c4ffa564b818dced6db67f7ddbf7577896f2ebab..c8fe2ad7a0c68d8f9811c6d4c990e16ec4bd0d48 100644 (file)
@@ -78,9 +78,9 @@
 
                                {% if page and not page.is_watched_by(current_user) %}
                                        <div class="form-group form-check">
-                                               <div class="custom-control custom-checkbox">
-                                                       <input type="checkbox" class="custom-control-input" name="watch" id="watch" checked>
-                                                       <label class="custom-control-label" for="watch">{{ _("Watch this page") }}</label>
+                                               <div class="form-check">
+                                                       <input class="form-check-input" type="checkbox" name="watch" id="watch" checked>
+                                                       <label class="form-check-label" for="watch">{{ _("Watch this page") }}</label>
                                                </div>
 
                                                <small class="form-text text-muted">
index 45b165ee7e7a35e3c3f351aa3b68f500e07355ad..a1c55f707daff387c091ae09ddb27a3822a43875 100644 (file)
                                <input type="hidden" name="path" value="{{ file.path }}">
                                <input type="hidden" name="filename" value="{{ file.filename }}">
 
-                               <div class="form-group">
-                                       <div class="custom-file">
-                                               <input type="file" class="custom-file-input" name="file" required>
-                                               <label class="custom-file-label" for="customFile">{{ _("Choose a file to upload") }}</label>
-                                       </div>
+                               <div class="mb-3">
+                                       <input class="form-control" type="file" name="file" required>
+                                       <label class="form-label" for="customFile">{{ _("Choose a file to upload") }}</label>
 
                                        <small class="form-text text-muted">
                                                {{ _("Uploading a new file to replaces this one to fix any errata in the current version") }}
index 6c259f2ac5e20318085f656a456bd6ceda0ce11c..5565c365d61ed4a67e2557763f9e9506910aa94c 100644 (file)
 
                                <input type="hidden" name="path" value="{{ path }}">
 
-                               <div class="form-group">
-                                       <div class="custom-file">
-                                               <input type="file" class="custom-file-input" name="file" required>
-                                               <label class="custom-file-label" for="customFile">{{ _("Choose a file to upload") }}</label>
-                                       </div>
+                               <div class="mb-3">
+                                       <input class="form-control" type="file" name="file" required>
+                                       <label class="form-label" for="customFile">{{ _("Choose a file to upload") }}</label>
                                </div>
 
                                <input class="btn btn-primary btn-block" type="submit" value="{{ _("Upload") }}">