feat: add doctor and specialty management modules with full CRUD support and database seeding

This commit is contained in:
2026-07-18 22:29:28 +07:00
parent a85fc6e73f
commit fdbbb7c965
196 changed files with 3955 additions and 3 deletions
+11
View File
@@ -0,0 +1,11 @@
with open('src/main/resources/templates/doctor.html', 'r', encoding='utf-8') as f:
text = f.read()
import re
# Find the start of the dropdown buttons container
match = re.search(r'--Theo chuyên khoa--.*?</div>', text, re.DOTALL)
if match:
start_idx = text.rfind('<button', 0, match.start())
end_idx = text.find('</button>', match.end()) + 9
print(text[start_idx:end_idx + 1000]) # Print the button and following content