Commits

Chun-Ping Chang committed 2aedca0

modify content format

  • Participants
  • Parent commits f104405

Comments (0)

Files changed (2)

     jWhere = db.StringProperty()
     jWho = db.StringProperty()
     jWhat = db.StringProperty(multiline=True, required=True)
-    date = db.DateProperty(required=True, auto_now=True)
+    date = db.DateProperty(required=True, auto_now_add=True)

File templates/main.html

             $('#MyJoke').empty();
             var html="";
             $.each(d,function(i,item){
-                html+="\""+item['jWhat']+"\" by "+item['jWho'] + " at " + item['jWhere']+"<br />";
+              html+="<b>「"+item['jWhat']+"」</b>by "+item['jWho'] + " at " + item['jWhere']+"<br />";
             });
             $('#MyJoke').append(html);
     });
 		</tr>
         {% comment %}
 		<tr>
-			<td align="center" valign="middle" colspan=2>
+			<td align="left" valign="middle" colspan=2>
 			{% for show in jResult %}
 			{% if show.jWhat %}
 			    <p>
         <tr>
             <td>
                 <br />
-                <div id='MyJoke' align='center'>來點新梗吧!!</div>
+                <div id='MyJoke' align='left'>來點新梗吧!!</div>
             </td>
         </tr>
 	</table>