askrobots / dbbasic-examples
Public
Example DBBasic apps (an API, a blog and a microblog) and a template for new DBBasic modules.
danq9
Add official module template for creating DBBasic packages
17cf88a
1 year, 1 month ago
History
base.html · 1.0 KB · 22 lines
| 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>{% block title %}Blog{% endblock %}</title> |
| 5 | <style> |
| 6 | body { font-family: Arial, sans-serif; max-width: 800px; margin: 40px auto; padding: 20px; } |
| 7 | h1 { color: #333; } |
| 8 | .post { border-bottom: 1px solid #ddd; padding: 20px 0; } |
| 9 | .post h2 { margin: 0; } |
| 10 | .post h2 a { color: #0066cc; text-decoration: none; } |
| 11 | .post .meta { color: #666; font-size: 0.9em; margin-top: 5px; } |
| 12 | .button { display: inline-block; padding: 10px 20px; background: #0066cc; color: white; text-decoration: none; border-radius: 5px; margin: 20px 0; } |
| 13 | .content { line-height: 1.6; margin: 20px 0; white-space: pre-wrap; } |
| 14 | input, textarea { width: 100%; padding: 10px; margin: 10px 0; border: 1px solid #ddd; border-radius: 3px; } |
| 15 | button { padding: 10px 20px; background: #0066cc; color: white; border: none; border-radius: 5px; cursor: pointer; } |
| 16 | a { color: #0066cc; text-decoration: none; } |
| 17 | </style> |
| 18 | </head> |
| 19 | <body> |
| 20 | {% block content %}{% endblock %} |
| 21 | </body> |
| 22 | </html> |