themes/grey/config.tpl
changeset 78 08f8a72b1f7b
parent 72 b8730fcd64a9
--- a/themes/grey/config.tpl	Fri Jun 12 13:49:22 2009 -0400
+++ b/themes/grey/config.tpl	Fri Jun 12 13:50:13 2009 -0400
@@ -19,7 +19,7 @@
     <link rel="favorite icon" type="image/ico" href="/favicon.ico" />
     <script type="text/javascript" src="/scripts/config.js"></script>
   </head>
-  <body>
+  <body style="width: 80%; margin: 0 auto; min-width: 900px;">
   
     <div class="greylogo"></div>
     <a class="backlink" href="/index">&laquo; Return to playlist</a>
@@ -45,6 +45,14 @@
           </tr>
           {/if}
           
+          {if $message}
+          <tr>
+            <td class="row3" colspan="2">
+              <p class="success">{$message|nl2br}</p>
+            </td>
+          </tr>
+          {/if}
+          
           <!-- field - current config pass -->
           {if $needpass}
           <tr>
@@ -139,6 +147,33 @@
             </td>
           </tr>
           
+          <!-- section - diagnostics -->
+          
+          <tr>
+            <th colspan="2">
+              Diagnostics
+            </th>
+          </tr>
+          
+          <!-- clear artwork -->
+          <tr>
+            <td class="row2" style="text-align: center;">
+              <a href="/config/rebuild/artwork" class="backlink inline">Clear artwork cache</a>
+            </td>
+            <td class="row1">
+              Use this to rebuild Greyhound's sprites it generates of your album artwork.
+            </td>
+          </tr>
+          
+          <tr>
+            <td class="row2" style="text-align: center;">
+              <a href="/config/rebuild/playlist" class="backlink inline">Refresh playlist</a>
+            </td>
+            <td class="row1">
+              If you changed your playlist but the changes did not show up in Greyhound, use this to force Greyhound to re-read the playlist.
+            </td>
+          </tr>
+          
           <!-- section - auth config -->
           <tr>
             <th colspan="2">