Browse Source

Removed unused imports. #114

Rafał Pitoń 12 years ago
parent
commit
97dfeff3b6

+ 1 - 2
templates/admin/processing.html

@@ -1,11 +1,10 @@
 {% extends "admin/layout_compact.html" %}
-{% import "_forms.html" as form_theme with context %}
 {% from "admin/macros.html" import page_title, draw_message_icon %}
 
 {% block title %}{{ page_title(title=target_name,parent=task_name) }}{% endblock %}
 
 {% block header %}<strong>{{ target_name }}</strong>{% endblock %}
-      
+
 {% block content %}
           <form class="form-vertical" action="{{ url(admin_index) }}" method="post">
           	<div class="form-container">

+ 0 - 1
templates/admin/stats/graph.html

@@ -1,5 +1,4 @@
 {% extends "admin/stats/form.html" %}
-{% import "_forms.html" as form_theme with context %}
 {% from "admin/macros.html" import page_title %}
 {% from "admin/stats/plot.html" import draw_plot_tooltips, draw_plot with context %}
 

+ 10 - 11
templates/cranefly/profiles/details.html

@@ -1,5 +1,4 @@
 {% extends "cranefly/profiles/profile.html" %}
-{% import "_forms.html" as form_theme with context %}
 {% import "cranefly/macros.html" as macros with context %}
 
 {% block title %}{{ macros.page_title(lang_member_details(), profile.username) }}{% endblock %}
@@ -8,7 +7,7 @@
 <div class="user-details">
   <div class="row">
     <div class="span6">
-    	
+
       <table class="table table-striped">
         <thead>
           <tr>
@@ -50,7 +49,7 @@
           </tr>
         </tbody>
       </table>
-    	
+
       <table class="table table-striped">
         <thead>
           <tr>
@@ -86,10 +85,10 @@
           </tr>
         </tbody>
       </table>
-      
+
     </div>
     <div class="span6">
-    	
+
       <table class="table table-striped">
         <thead>
           <tr>
@@ -138,7 +137,7 @@
           </tr>
         </tbody>
       </table>
-    	
+
       <table class="table table-striped">
         <thead>
           <tr>
@@ -166,10 +165,10 @@
           </tr>
         </tbody>
       </table>
-      
+
     </div>
   </div>
-      
+
   {% if acl.users.can_see_users_trails() %}
   <hr>
   <div class="row">
@@ -202,10 +201,10 @@
           </tr>
         </tbody>
       </table>
-      
+
     </div>
     <div class="span6">
-        
+
       <table class="table table-striped">
         <thead>
           <tr>
@@ -233,7 +232,7 @@
           </tr>
         </tbody>
       </table>
-      
+
     </div>
   </div>
 </div>

+ 0 - 1
templates/cranefly/profiles/followers.html

@@ -1,5 +1,4 @@
 {% extends "cranefly/profiles/profile.html" %}
-{% import "_forms.html" as form_theme with context %}
 {% import "cranefly/macros.html" as macros with context %}
 
 {% block title %}{{ macros.page_title(_('Followers'), profile.username) }}{% endblock %}

+ 0 - 1
templates/cranefly/profiles/follows.html

@@ -1,5 +1,4 @@
 {% extends "cranefly/profiles/profile.html" %}
-{% import "_forms.html" as form_theme with context %}
 {% import "cranefly/macros.html" as macros with context %}
 
 {% block title %}{{ macros.page_title(_('Follows'), profile.username) }}{% endblock %}

+ 0 - 1
templates/cranefly/profiles/posts.html

@@ -1,5 +1,4 @@
 {% extends "cranefly/profiles/profile.html" %}
-{% import "_forms.html" as form_theme with context %}
 {% import "cranefly/macros.html" as macros with context %}
 
 {% block title %}{{ macros.page_title(_('Posts'), profile.username) }}{% endblock %}

+ 0 - 1
templates/cranefly/profiles/threads.html

@@ -1,5 +1,4 @@
 {% extends "cranefly/profiles/profile.html" %}
-{% import "_forms.html" as form_theme with context %}
 {% import "cranefly/macros.html" as macros with context %}
 
 {% block title %}{{ macros.page_title(_('Threads'), profile.username) }}{% endblock %}

+ 2 - 3
templates/cranefly/usercp/avatar_crop.html

@@ -1,5 +1,4 @@
 {% extends "cranefly/usercp/layout.html" %}
-{% import "_forms.html" as form_theme with context %}
 {% import "cranefly/macros.html" as macros with context %}
 
 {% block title %}{{ macros.page_title(title=_('Crop Avatar')) }}{% endblock %}
@@ -33,7 +32,7 @@
     <div class="avatar-crop-target"><img src="{{ MEDIA_URL }}{{ source }}" id="target" alt="{% trans %}Uploaded Image{% endtrans %}"></div>
 
   </form>
-  
+
 </div>
 {% endblock %}
 
@@ -72,7 +71,7 @@
           {
             var rx = {{ avatar_size }} / c.w;
             var ry = {{ avatar_size }} / c.h;
-            
+
             $(crop_w).val(c.w);
             $(crop_x).val(c.x);
             $(crop_y).val(c.y);