Add cancel buton to add reading page and remove tailwindcss@3.2.4.js

This commit is contained in:
Peter Stockings
2024-12-25 01:02:49 +11:00
parent 6b9ca59109
commit 23e3fe50a5
3 changed files with 56 additions and 67 deletions

View File

@@ -45,11 +45,21 @@
{% endfor %}
</div>
<!-- Submit Button -->
<div>
{{ form.submit(class="w-full bg-gradient-to-r from-blue-500 to-blue-700 text-white py-3 rounded-lg
font-semibold hover:from-blue-600 hover:to-blue-800 shadow-lg") }}
<!-- Buttons -->
<div class="flex justify-between items-center space-x-6">
<!-- Cancel Button -->
<a href="{{ url_for('main.dashboard') }}" class="w-full bg-gray-100 text-gray-700 py-3 rounded-lg font-semibold
hover:bg-gray-200 hover:text-gray-900 shadow-md text-center transition">
Cancel
</a>
<!-- Save Button -->
<button type="submit" class="w-full bg-blue-600 text-white py-3 rounded-lg font-semibold
hover:bg-blue-700 shadow-lg text-center transition">
Save
</button>
</div>
</form>
</div>
{% endblock %}