8e84488f43fdf61e862cf63a2a78f810343e42d5 — Drew DeVault a month ago 04f07fd 0.5.2
Updates per core.sr.ht centered design
2 files changed, 13 insertions(+), 14 deletions(-)

M config.example.ini
M pastesrht/templates/paste-base.html
M config.example.ini => config.example.ini +1 -1
@@ 50,7 50,7 @@ # from other sites in your network.
  #
  # Use the srht-webhook-keygen command to generate a key.
- privkey=
+ private-key=
  
  [paste.sr.ht]
  # 

M pastesrht/templates/paste-base.html => pastesrht/templates/paste-base.html +12 -13
@@ 6,9 6,9 @@ {% endmacro %}
  {% extends "layout-full.html" %}
  {% block body %}
- <div class="container-fluid">
-   <div class="row">
-     <div class="col-md-12 header-tabbed">
+ <div class="header-tabbed">
+   <div class="container-fluid">
+     <ul class="nav nav-tabs">
        <h2>
          {{ paste.user.canonical_name -}}/
          {%- if len(paste.files) == 1 -%}


@@ 17,16 17,15 @@ {{paste.sha[:7]}}
          {%- endif %}
        </h2>
-       <ul class="nav nav-tabs">
-         <li class="nav-item">
-           {{ link(".paste_GET", "view paste") }}
-         </li>
-         {%- if current_user.id == paste.user_id -%}
-         <li class="nav-item">
-           {{ link(".paste_manage", "manage") }}
-         </li>
-         {%- endif %}
-     </div>
+       <li class="nav-item">
+         {{ link(".paste_GET", "view paste") }}
+       </li>
+       {%- if current_user.id == paste.user_id -%}
+       <li class="nav-item">
+         {{ link(".paste_manage", "manage") }}
+       </li>
+       {%- endif %}
+     </ul>
    </div>
  </div>
  {% block paste_body %}