- Database schema: tablets, users, loans (junction table) - CLI app: minimal_app.py - Web apps: app.py (Flask), simple_app.py (http.server) - Features: loan management, search, user loans view, project notes - Git structure: CONTRIBUTING.md, .gitignore Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
30 lines
No EOL
926 B
HTML
30 lines
No EOL
926 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
<h2>Add New Tablet</h2>
|
|
<form method="POST" action="/add_tablet">
|
|
<div class="form-group">
|
|
<label for="brand">Brand:</label>
|
|
<input type="text" id="brand" name="brand" required>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="model">Model:</label>
|
|
<input type="text" id="model" name="model" required>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="serial_number">Serial Number:</label>
|
|
<input type="text" id="serial_number" name="serial_number" required>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="notes">Notes:</label>
|
|
<textarea id="notes" name="notes"></textarea>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<button type="submit" class="btn">Add Tablet</button>
|
|
</div>
|
|
</form>
|
|
{% endblock %} |