diff --git a/main/static/main/algoview.css b/main/static/main/algoview.css index 708c216..7ebeb3e 100644 --- a/main/static/main/algoview.css +++ b/main/static/main/algoview.css @@ -189,8 +189,7 @@ pre{ padding: 10px; word-wrap: break-word; border-radius:0; - margin-bottom: 0; - margin-right: -15px; + margin-bottom: 0; } .userbox a { color: #fff; diff --git a/main/templates/main/algo/view.html b/main/templates/main/algo/view.html index 08c2cc7..a488b03 100644 --- a/main/templates/main/algo/view.html +++ b/main/templates/main/algo/view.html @@ -1,162 +1,140 @@ -{% extends "main/layout.html" %} - -{% block titletag %} -{{ algo.name }} - algoBook -{% endblock %} - -{% block description %} - -{% endblock %} - -{% block authors %} - -{% endblock %} - - -{% block content %} {% include "main/navbar.html" %} +{% extends "main/layout.html" %} {% block titletag %} {{ algo.name }} - algoBook {% endblock %} {% block description %} + {% endblock %} {% block authors %} + {% endblock %} {% block content %} {% include "main/navbar.html" %}
-

{{ algo.name }}

-

- {{ algo.description }} -

-

- in {{ lang }} -

- {% load votes_filter %} - {% load codes_filter %} - {% for code in codes %} -
-
- +

{{ algo.name }}

+

+ {{ algo.description }} +

+

+ in {{ lang }} +

+ {% load votes_filter %} {% load codes_filter %} {% for code in codes %} +
+
+ - -

{{ code|count }}

- - + +

{{ code|count }}

+ +
- - -
-
-
+            
+      
+      
+    
+
+
 				{{ code.code }}
 			
+
+
+
+
+ {% showDelete code as c%} {% if c %} +
+ +
+ {% endif %}
-
-
- {% showDelete code as c%} - {% if c %} -
- -
- {% endif %} -
- + +
- {% endfor %} -
-
-
- {% csrf_token %} - - - - -
-
-
+  
+ {% endfor %} +
+
+
+ {% csrf_token %} + + + + +
+
+
 					(( data ))
 				
-
-
+
- -
-
-
-
+
+ +
+
+
- +
+
{% endblock %} {% block headextended %} {% load static %} - {% endblock %} - - - - - -{% block footerextended %} + {% endblock %} {% block footerextended %} -{% endblock %} +{% endblock %} \ No newline at end of file