Added an Alert text style; Updated rich text editor to reorganize buttons and add text alignment options.
This commit is contained in:
28
views/basic.html
Normal file
28
views/basic.html
Normal file
@@ -0,0 +1,28 @@
|
||||
{% extends "layout.html" %}
|
||||
|
||||
{% block main %}
|
||||
<div class="container" style="margin-top: 3rem">
|
||||
{{ apos.area(data.page, "body", {
|
||||
widgets: {
|
||||
'apostrophe-images': {size: 'original'},
|
||||
'apostrophe-rich-text': {
|
||||
toolbar: ['Styles', 'Bold', 'Italic', 'Strike', 'Subscript', 'Superscript', 'Split', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', '-', 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', '-', 'Link', 'Unlink', 'Anchor', 'Table'],
|
||||
styles: [
|
||||
{name: 'Paragraph', element: 'p', attributes: {class: "p"} },
|
||||
{name: 'Topic Paragraph', element: 'p', attributes: {class: "indent"} },
|
||||
{name: 'Heading 2', element: 'h2', attributes: {class: "h2"} },
|
||||
{name: 'Heading 3', element: 'h3', attributes: {class: "h3"} },
|
||||
{name: 'Heading 4', element: 'h4', attributes: {class: "h4"} },
|
||||
{name: 'Date', element: 'div', attributes: {class: "date"} },
|
||||
{name: 'Highlighted', element: 'div', attributes: {class: "highlighted"} },
|
||||
{name: 'Alert', element: 'div', attributes: {class: "alert"} }
|
||||
]
|
||||
},
|
||||
'apostrophe-files': {},
|
||||
'two-column': {},
|
||||
'two-column-1-2': {},
|
||||
'two-column-2-1': {},
|
||||
'centered-half-width-column': {}
|
||||
} } ) }}
|
||||
</div>
|
||||
{% endblock %}
|
||||
@@ -15,7 +15,7 @@
|
||||
{% block extraHead %}
|
||||
{# This block outputs its contents in the HTML document's <head>. It is a good place to put extra <script> <link> and <meta> tags. #}
|
||||
<link href="https://fonts.googleapis.com/css2?family=Arima+Madurai&family=Roboto&family=Dancing+Script&family=Open+Sans:ital@0;1&display=swap" rel="stylesheet">
|
||||
{# <script type="text/javascript" language="JavaScript" src="js/jquery-3.5.1.min.js"></script> #}
|
||||
{# <script type="text/javascript" language="JavaScript" src="js/jquery-3.5.1.min.js"></script> #}
|
||||
{% endblock %}
|
||||
|
||||
{% block beforeMain %}
|
||||
@@ -51,22 +51,24 @@
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
<h2>District</h2>
|
||||
<a href="/">About</a>
|
||||
<a href="/">Welcome</a>
|
||||
<a href="/avusd/calendar">Calendar</a>
|
||||
<a href="/avusd/staff">Staff</a>
|
||||
<a href="/avusd/forms">Forms</a>
|
||||
<a href="/avusd/reports">Reports</a>
|
||||
<a href="/avusd/title-ix">Title IX</a>
|
||||
<a href="/avusd/positions">Open Positions</a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<h2>School Board</h2>
|
||||
<a href="/avusd/school-board-about">About</a>
|
||||
<a href="/avusd/school-board-members">Members</a>
|
||||
<a href="/avusd/school-board-policies">Board Policies</a>
|
||||
<a href="/avusd/school-board-schedule">Meeting Schedule</a>
|
||||
<a href="/avusd/school-board-agendas">Meeting Agendas & Records</a>
|
||||
<a href="/avusd/school-board">General Information</a>
|
||||
<a href="/avusd/school-board/policies">Board Policies</a>
|
||||
<!-- <a href="/avusd/school-board/agendas">Meeting Agendas & Records</a>-->
|
||||
<a href="https://go.boarddocs.com/ca/avusd/Board.nsf/goto?open&id=Public#" target="_blank">Board Docs <sup>(external)</sup></a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<h2>Policies & Committees</h2>
|
||||
<h2>Administration</h2>
|
||||
<a href="/avusd/administrative/agreements">Contracts, Agreements, and Salary Schedules</a>
|
||||
<a href="/avusd/administrative/food-service">Food Service</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -82,30 +84,27 @@
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
<h2>School</h2>
|
||||
<a href="/avhs">Home</a>
|
||||
<a href="/avhs/about">About</a>
|
||||
<a href="/avhs/calendar">School Calendar</a>
|
||||
<a href="/avhs/sarc">SARC</a>
|
||||
<a href="/avhs/water">Water Report</a>
|
||||
<a href="/avhs">Welcome</a>
|
||||
<a href="/avhs/contact">Contact Us</a>
|
||||
<!-- <a href="/avhs/calendar">School Calendar</a>-->
|
||||
<a href="/avhs/reports">Reports & Forms</a>
|
||||
<h2>Staff</h2>
|
||||
<a href="/avhs/staff/support-staff">Support Staff</a>
|
||||
<a href="/avhs/staff/teachers">Teachers</a>
|
||||
<a href="/avhs/staff/office-staff">Office Staff</a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<h2>Academics</h2>
|
||||
<a href="/avhs/academic-schedule">Academic Schedule</a>
|
||||
<a href="/avhs/classes">Classes</a>
|
||||
<a href="/avhs/after-school">After School Program</a>
|
||||
<a href="/avhs/faculty">Faculty</a>
|
||||
<h2>Extracurricular Activities</h2>
|
||||
<a href="/avhs/ffa">FFA</a>
|
||||
<a href="/avhs/slt">Service Learning Team</a>
|
||||
<a href="/avhs/council">Student Council</a>
|
||||
<!-- <a href="/avhs/council">Student Council</a>-->
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<h2>Athletics</h2>
|
||||
<a href="/avhs/athletic-calendar">Athletic Calendar</a>
|
||||
<h2>Parents & Students</h2>
|
||||
<a href="/avhs/policies">Handbook & Policies</a>
|
||||
<a href="/avhs/forms">Forms</a>
|
||||
<a href="/avhs/buses">Buses</a>
|
||||
<a href="/avhs/reports">Reports & Forms</a>
|
||||
<a href="/avhs/grades">Grades</a>
|
||||
<a href="/avhs/library">Library</a>
|
||||
</div>
|
||||
@@ -124,45 +123,36 @@
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
<h2>School</h2>
|
||||
<a href="/aves">Home</a>
|
||||
<a href="/aves">Welcome</a>
|
||||
<a href="/aves/contact-information">Contact Information</a>
|
||||
<a href="/aves/mission">Mission</a>
|
||||
<a href="/aves/sarc">SARC</a>
|
||||
<h2>News & Info</h2>
|
||||
<a href="/aves/lice">Lice</a>
|
||||
<a href="/aves/safe-school-plan">Safe School Plan</a>
|
||||
<a href="/aves/common-core">Common Core Standards</a>
|
||||
<h2>Kindergarten</h2>
|
||||
<a href="/aves/kindergarten/regulations">Regulations</a>
|
||||
<a href="/aves/kindergarten/enrollment">Enrollment</a>
|
||||
<a href="/aves/kindergarten/information">Information</a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<h2>Staff</h2>
|
||||
<a href="/aves/staff/support-staff">Support Staff</a>
|
||||
<!-- <a href="/aves/staff/support-staff">Support Staff</a>-->
|
||||
<a href="/aves/staff/teachers">Teachers</a>
|
||||
<a href="/aves/staff/office-staff">Office Staff</a>
|
||||
<h2>PTAV</h2>
|
||||
<a href="/aves/ptav">About</a>
|
||||
<h2>School Programs</h2>
|
||||
<a href="/aves/programs/ssc">School Site Council (SSC)</a>
|
||||
<a href="/aves/programs/elac">English Language Arts Curriculum (ELAC)</a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<h2>Family Resources</h2>
|
||||
<a href="/aves/grades">Grades</a>
|
||||
<a href="/aves/pip">PIP</a>
|
||||
<a href="/aves/asp">ASP</a>
|
||||
<a href="/aves/grades">Student Grades</a>
|
||||
<a href="/aves/pip">Primary Intervention Program (PIP)</a>
|
||||
<a href="/aves/asp">After School Program (ASP)</a>
|
||||
<a href="/aves/schedule">Bell Schedules</a>
|
||||
<a href="/aves/immunizations">Immunizations</a>
|
||||
<a href="/aves/attendance">Attendance</a>
|
||||
<a href="/aves/menus">Menus</a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<h2>PTAV</h2>
|
||||
<a href="/aves/ptav">About</a>
|
||||
<a href="/aves/ptav/logo">Logo Wear</a>
|
||||
<a href="/aves/ptav/meetings">Meetings</a>
|
||||
<h2>School Site Council (SSC)</h2>
|
||||
<a href="/aves/ssc">About</a>
|
||||
<a href="/aves/ssc/agenda">Agenda</a>
|
||||
<a href="/aves/ssc/minutes">Minutes</a>
|
||||
<h2>English Language Arts Curriculum (ELAC)</h2>
|
||||
<a href="/aves/elac">About</a>
|
||||
<a href="/aves/elac/agenda">Agenda</a>
|
||||
<a href="/aves/elac/minutes">Minutes</a>
|
||||
<!-- <a href="/aves/menus">Menus</a>-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
24
views/standardArea.html
Normal file
24
views/standardArea.html
Normal file
@@ -0,0 +1,24 @@
|
||||
{% macro getStandardArea() %}
|
||||
{{ apos.area(data.page, "body", {
|
||||
widgets: {
|
||||
'apostrophe-images': {size: 'original'},
|
||||
'apostrophe-rich-text': {
|
||||
toolbar: ['Styles', 'Bold', 'Italic', 'Strike', 'Subscript', 'Superscript', 'Split', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', '-', 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', '-', 'Link', 'Unlink', 'Anchor', 'Table'],
|
||||
styles: [
|
||||
{name: 'Paragraph', element: 'p', attributes: {class: "p"} },
|
||||
{name: 'Topic Paragraph', element: 'p', attributes: {class: "indent"} },
|
||||
{name: 'Heading 2', element: 'h2', attributes: {class: "h2"} },
|
||||
{name: 'Heading 3', element: 'h3', attributes: {class: "h3"} },
|
||||
{name: 'Heading 4', element: 'h4', attributes: {class: "h4"} },
|
||||
{name: 'Heading 5', element: 'h5', attributes: {class: "h5"} },
|
||||
{name: 'Date', element: 'div', attributes: {class: "date"} },
|
||||
{name: 'Highlighted', element: 'div', attributes: {class: "highlighted"} },
|
||||
{name: 'Alert', element: 'div', attributes: {class: "alert"} }
|
||||
]
|
||||
},
|
||||
'apostrophe-files': {},
|
||||
'two-column': {},
|
||||
'two-column-1-2': {},
|
||||
'two-column-2-1': {}
|
||||
} } ) }}
|
||||
{% endmacro %}
|
||||
Reference in New Issue
Block a user