فهرست منبع

Formatting cleanup

Jeremy Stretch 1 سال پیش
والد
کامیت
1efd80954e
3فایلهای تغییر یافته به همراه5 افزوده شده و 5 حذف شده
  1. 3 3
      netbox/templates/account/password.html
  2. 1 1
      netbox/templates/account/profile.html
  3. 1 1
      netbox/templates/account/token_list.html

+ 3 - 3
netbox/templates/account/password.html

@@ -5,10 +5,10 @@
 {% block title %}{% trans "Change Password" %}{% endblock %}
 
 {% block content %}
-  <form action="." method="post" class="form form-horizontal col-md-8 offset-md-2">
+  <form action="." method="post" class="object-edit">
     {% csrf_token %}
-    <div class="field-group">
-      <h5 class="text-center">{% trans "Password" %}</h5>
+    <div class="field-group mb-5">
+      <h5 class="col-9 offset-3">{% trans "Password" %}</h5>
       {% render_field form.old_password %}
       {% render_field form.new_password1 %}
       {% render_field form.new_password2 %}

+ 1 - 1
netbox/templates/account/profile.html

@@ -66,7 +66,7 @@
       <div class="col-md-12">
         <div class="card">
           <h5 class="card-header text-center">{% trans "Recent Activity" %}</h5>
-          <div class="card-body table-responsive">
+          <div class="table-responsive">
             {% render_table changelog_table 'inc/table.html' %}
           </div>
         </div>

+ 1 - 1
netbox/templates/account/token_list.html

@@ -16,7 +16,7 @@
   <div class="row mb-3">
     <div class="col col-md-12">
       <div class="card">
-        <div class="card-body table-responsive">
+        <div class="table-responsive">
           {% render_table table 'inc/table.html' %}
           {% include 'inc/paginator.html' with paginator=table.paginator page=table.page %}
         </div>