]> git.r.bdr.sh - rbdr/crowdantine/blobdiff - index.html
Add moderation support (filter non-errors)
[rbdr/crowdantine] / index.html
index d839fe2213d9c474f599098df2cd80b21664cea0..c8f19c285dc0ee2378d9d7f192f4276acf7f8d13 100644 (file)
@@ -22,7 +22,7 @@
 
         var request = new XMLHttpRequest();
         request.addEventListener('load', renderEvents);
-        request.open('GET', 'https://api.rollbar.com/api/1/items/?access_token=' + kReadToken + '&environment=production&status=active');
+        request.open('GET', 'https://api.rollbar.com/api/1/items/?access_token=' + kReadToken + '&environment=production&status=active&level=error');
         request.send();
       };
 
   <body>
     <h1>Help me decide what to do during quarantine</h1>
     <p>Vote on the recommendations, or <a href="#add">add one</a>.</p>
-    <ul id="proposals"></ul>
+    <ol id="proposals"></ol>
     <h1 id="add">Add a recommendation</h1>
     <form>
       <p>
         <label for="proposal">You should...</label>
-        <input name="proposal">
+        <input name="proposal" id="proposal">
       </p>
       <input type="submit" value="Do it.">
     </form>