Skip to content

Commit

Permalink
Allow for multiline MOTD
Browse files Browse the repository at this point in the history
git-svn-id: https://radegast.googlecode.com/svn/misc/update_site@1138 f7a694da-4d33-11de-9ad6-1127a62b9fcd
  • Loading branch information
latifer committed Sep 6, 2011
1 parent 7ddde14 commit e2e9746
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion radupdater.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from django.core import serializers

class Settings(db.Model):
value = db.StringProperty(required = True)
value = db.StringProperty(required = True, multiline=True)

class Serializable:
def get_dict(self):
Expand Down
2 changes: 1 addition & 1 deletion static/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ li:hover {
background: #222;
}

input {
input, textarea {
border: 1px solid #666;
background: #444;
font-weight: bold;
Expand Down
2 changes: 1 addition & 1 deletion templates/adm_main.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h1>Radegast Update Application</h1>
</tr>
<tr>
<td>MOTD</td>
<td><input type="text" name="new_motd" value="{{ motd }}" size="60"/></td>
<td><textarea cols="60" rows="4" name="new_motd">{{ motd }}</textarea></td>
</tr>
<tr>
<td>Display MOTD</td>
Expand Down

0 comments on commit e2e9746

Please sign in to comment.