stc

a simple time card webapp
git clone _git@git.brennen.work:stc.git
Log | Files | Refs | README

commit 5f8936420f0a374fa2e3c2f6e88257e4b33cbb51
parent 1196103e66282b2dd4447e184bcd6fd24c4a2467
Author: Youth Employment Program Production <youthemployment22@gmail.com>
Date:   Tue, 16 Apr 2024 15:58:57 -0600

meetings template changes

Diffstat:
Mapp/meetings/templates/meeting.html | 6+++---
Mapp/meetings/templates/meetings.html | 8++++----
Mapp/meetings/templates/upload.html | 2+-
3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/app/meetings/templates/meeting.html b/app/meetings/templates/meeting.html @@ -4,8 +4,8 @@ {% block content %} {% if meeting %} - <section class="meeting"> - <a href="{{ url_for('meetings.meetings') }}">back to meetings</a> + <section class="hours-grid"> {# class="meeting">#} + <a href="{{ url_for('meetings.meetings') }}" class="action-button">back to meetings</a> <h2 style="color:red;align:left">{{ meeting.timestamp.date() }}</h2><h3 style="align:right">{{ meeting.timestamp.time().isoformat(timespec='minutes') }}</h3> <a href="{{ meeting.location }}">@ {{ meeting.location }}</a> <div><p>{{ meeting.meeting_description }}</p></div> @@ -17,7 +17,7 @@ </div> {% endfor %} {% endif %} - <a href="{{ url_for('meetings.update',meeting_id=meeting['meeting_id']) }}">modify</a> + <a class="action-button" href="{{ url_for('meetings.update',meeting_id=meeting['meeting_id']) }}">modify</a> </section> {% endif %} {% endblock %} diff --git a/app/meetings/templates/meetings.html b/app/meetings/templates/meetings.html @@ -15,7 +15,7 @@ <section class="ongoing"> <h2 style="color:red">Ongoing</h2> {% for ongoing in ongoingMeetings %} - <a href="{{ url_for('meetings.meeting',meeting_id=ongoing['meeting_id']) }}"><div class="button-box">{{ ongoing.timestamp.date().isoformat() }} <a style="color:red" href="{{ ongoing['location'] }}" target="_blank"><div class="button">Join</div></a></div> + <a href="{{ url_for('meetings.meeting',meeting_id=ongoing['meeting_id']) }}"><div class="action-button">{{ ongoing.timestamp.date().isoformat() }} <a style="color:red" href="{{ ongoing['location'] }}" target="_blank"><div class="action-button">Join</div></a></div> <p>{{ ongoing['meeting_description'] }} </p> <p>{{ ongoing['expected_end'].time().isoformat(timespec='minutes') }}</p> </a> @@ -40,10 +40,10 @@ <a href="{{ url_for('meetings.meeting',meeting_id=meeting['meeting_id']) }}"><div>{{ meeting.timestamp.date().isoformat() }} @ {{ meeting.timestamp.time().isoformat(timespec='minutes') }}</div>{% if allOldMeetings %}<div>{{meeting['meeting_description']}}</div>{% endif %}</a> </div> {%- endfor %} - {% if not allOldMeetings %}<a href="{{ url_for('meetings.past') }}">View older meetings</a>{% endif %} - {% if allOldMeetings %}<a href="{{ url_for('meetings.meetings') }}">Back to meetings</a>{% endif %} + {% if not allOldMeetings %}<a href="{{ url_for('meetings.past') }}"class="action-button">View older meetings</a>{% endif %} + {% if allOldMeetings %}<a href="{{ url_for('meetings.meetings') }}"class="action-button">Back to meetings</a>{% endif %} </section> {% endif %} - <a href="{{ url_for('meetings.new') }}">Schedule Meeting</a> + <a href="{{ url_for('meetings.new') }}" class="action-button">Schedule Meeting</a> </section> {% endblock %} diff --git a/app/meetings/templates/upload.html b/app/meetings/templates/upload.html @@ -11,7 +11,7 @@ {% endif %} {% endwith %} <a href="{{ url_for('meetings.meeting',meeting_id=meeting['meeting_id']) }}">back to meeting</a> - <section class="meeting"> + <section class="hours-grid">{#class="meeting">#} <h2>{{ upload.date() }} {{ upload.time().isoformat(timespec='minutes') }}</h2> <p>Upload document to {{ meeting['timestamp'].date() }} Meeting for {{ meeting['meeting_description'] }}</p> <form action="" method="POST" novalidate enctype="multipart/form-data">