Added an Alert text style; Updated rich text editor to reorganize buttons and add text alignment options.
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -17,3 +17,5 @@ node_modules
|
||||
# Don't include the .idea folder which is used by the Webstorm IDE
|
||||
.idea/workspace.xml
|
||||
.idea/
|
||||
# Don't include the bundle we produce for deployment
|
||||
avusd_bundle.zip
|
||||
|
||||
5
app.js
5
app.js
@@ -15,6 +15,7 @@ let apos = require('apostrophe')({
|
||||
'two-column-widgets': {extend: 'apostrophe-widgets'},
|
||||
'two-column-1-2-widgets': {},
|
||||
'two-column-2-1-widgets': {},
|
||||
'centered-half-width-column-widgets': {},
|
||||
'theme': {},
|
||||
|
||||
|
||||
@@ -66,6 +67,10 @@ let apos = require('apostrophe')({
|
||||
|
||||
// Was having some issues with the menus hovering over the text the user was editing. Is less functional but better looking.
|
||||
//'apostrophe-tiptap-rich-text-widgets': {}
|
||||
|
||||
// Adds redirects.
|
||||
// Can add the `statusCode: 301` for permanent redirects.
|
||||
'apostrophe-redirects': { }
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
module.exports = {
|
||||
jQuery: 3,
|
||||
stylesheets: [
|
||||
{name: 'common'},
|
||||
{name: 'pre'},
|
||||
{name: 'bootstrap'},
|
||||
{name: 'main'},
|
||||
|
||||
23
lib/modules/apostrophe-assets/public/css/common.css
Normal file
23
lib/modules/apostrophe-assets/public/css/common.css
Normal file
@@ -0,0 +1,23 @@
|
||||
.clearfix {
|
||||
zoom: 1;
|
||||
}
|
||||
.clearfix:before {
|
||||
content: "";
|
||||
display: block;
|
||||
}
|
||||
.clearfix:after {
|
||||
content: "";
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.noselect {
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=common.css.map */
|
||||
1
lib/modules/apostrophe-assets/public/css/common.css.map
Normal file
1
lib/modules/apostrophe-assets/public/css/common.css.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"sourceRoot":"","sources":["common.sass"],"names":[],"mappings":"AAAA;EACC;;AACA;EACC;EACA;;AAED;EACC;EACA;EACA;;;AACF;EACC;EACA;EACA;EACA;EACA;EACA","file":"common.css"}
|
||||
17
lib/modules/apostrophe-assets/public/css/common.sass
Normal file
17
lib/modules/apostrophe-assets/public/css/common.sass
Normal file
@@ -0,0 +1,17 @@
|
||||
.clearfix
|
||||
zoom: 1
|
||||
&:before
|
||||
content: ''
|
||||
display: block
|
||||
|
||||
&:after
|
||||
content: ''
|
||||
display: table
|
||||
clear: both
|
||||
.noselect
|
||||
-webkit-touch-callout: none /* iOS Safari */
|
||||
-webkit-user-select: none /* Safari */
|
||||
-khtml-user-select: none /* Konqueror HTML */
|
||||
-moz-user-select: none /* Old versions of Firefox */
|
||||
-ms-user-select: none /* Internet Explorer/Edge */
|
||||
user-select: none /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
|
||||
@@ -1,3 +1,25 @@
|
||||
.clearfix {
|
||||
zoom: 1;
|
||||
}
|
||||
.clearfix:before {
|
||||
content: "";
|
||||
display: block;
|
||||
}
|
||||
.clearfix:after {
|
||||
content: "";
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.noselect {
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Merriweather";
|
||||
src: url("/modules/theme/fonts/Merriweather-Regular.ttf") format("truetype");
|
||||
@@ -23,6 +45,60 @@ p.indent {
|
||||
text-indent: 1rem;
|
||||
}
|
||||
|
||||
.apos-rich-text td, .apos-rich-text th {
|
||||
text-indent: 0;
|
||||
margin: 0.3rem 0 0.7rem 0;
|
||||
padding: 0.25rem 0;
|
||||
font-family: "Merriweather", "serif";
|
||||
font-size: 1.1rem;
|
||||
line-height: 1.4rem;
|
||||
}
|
||||
.apos-rich-text td p, .apos-rich-text th p {
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
.apos-rich-text td + td, .apos-rich-text th + th {
|
||||
padding-left: 1rem;
|
||||
}
|
||||
.apos-rich-text th {
|
||||
font-family: "MerriweatherSans", "sans-serif";
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
h2.h2, h3.h3, h4.h4 {
|
||||
font-family: "MerriweatherSans", "sans-serif";
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
h2.h2 + p, h3.h3 + p, h4.h4 + p {
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
|
||||
p + h2.h2, p + h3.h3, p + h4.h4, ul + h2.h2, ul + h3.h3, ul + h4.h4, ol + h2.h2, ol + h3.h3, ol + h4.h4, table + h2.h2, table + h3.h3, table + h4.h4 {
|
||||
margin-top: 1.7rem;
|
||||
}
|
||||
|
||||
h2.h2 {
|
||||
font-size: 2.2rem;
|
||||
line-height: 2.8rem;
|
||||
font-family: "MerriweatherSans", "sans-serif";
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
h3.h3 {
|
||||
font-size: 1.5rem;
|
||||
line-height: 2rem;
|
||||
font-family: "MerriweatherSans", "sans-serif";
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
h4.h4 {
|
||||
font-size: 1.2rem;
|
||||
line-height: 1.5rem;
|
||||
font-family: "MerriweatherSans", "sans-serif";
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
div[data-apos-widget=apostrophe-files] a, .apos-rich-text a {
|
||||
margin: 0.3rem 0 0.7rem 0 !important;
|
||||
font-family: "MerriweatherSans", "sans-serif";
|
||||
@@ -40,6 +116,17 @@ div[data-apos-widget=apostrophe-files] a:active, .apos-rich-text a:active {
|
||||
color: #7a29ec;
|
||||
}
|
||||
|
||||
div[data-apos-widget=apostrophe-files] {
|
||||
margin: 1rem 0 1.5rem 0.5rem;
|
||||
padding: 0.5rem 0.5rem 0 0.5rem;
|
||||
border: 1px solid #5b5b5b;
|
||||
}
|
||||
div[data-apos-widget=apostrophe-files] a {
|
||||
display: block;
|
||||
padding: 0;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.apos-rich-text a {
|
||||
font-size: 1.2rem;
|
||||
line-height: 1.5rem;
|
||||
@@ -52,6 +139,12 @@ h5 {
|
||||
margin-bottom: 0.3rem;
|
||||
}
|
||||
|
||||
.navbar sup {
|
||||
font-weight: 700;
|
||||
font-size: 0.7rem;
|
||||
bottom: 0.25rem;
|
||||
}
|
||||
|
||||
.apos-slideshow h4 {
|
||||
display: none;
|
||||
}
|
||||
@@ -88,15 +181,27 @@ h5 {
|
||||
}
|
||||
|
||||
.highlighted {
|
||||
background: rgba(170, 122, 82, 0.3);
|
||||
margin: 1rem 6rem;
|
||||
padding: 1rem 1rem;
|
||||
font-size: 1.8rem;
|
||||
background: rgba(215, 187, 161, 0.3);
|
||||
margin: 0 0 0 0;
|
||||
padding: 0.2rem 0 0.2rem 1rem;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 700;
|
||||
color: #006400;
|
||||
}
|
||||
.highlighted a {
|
||||
font-size: 1rem;
|
||||
line-height: 1.2rem;
|
||||
text-shadow: 0 0 0.6rem rgba(158, 243, 113, 0.3);
|
||||
}
|
||||
|
||||
.date {
|
||||
background: black;
|
||||
color: white;
|
||||
text-align: right;
|
||||
padding: 1rem 1.5rem;
|
||||
margin-bottom: 1rem;
|
||||
margin-top: 2rem;
|
||||
font-weight: 700;
|
||||
-webkit-box-shadow: 0 0 20px 10px rgba(255, 255, 255, 0.61);
|
||||
-moz-box-shadow: 0 0 20px 10px rgba(255, 255, 255, 0.61);
|
||||
box-shadow: 0 0 20px 10px rgba(255, 255, 255, 0.61);
|
||||
color: Green;
|
||||
}
|
||||
|
||||
.apos-login-logo {
|
||||
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"sourceRoot":"","sources":["main.sass"],"names":[],"mappings":"AAAA;EACC;EACA;;AACD;EACC;EACA;;AACD;EACC;EACA;;AAED;EACC;EAGA;EACA;EACA;EACA;EACA;;;AACD;EACC;;;AAIA;EACC;EACA;EACA;EACA;EACA;EACA;EACA;;AACD;EACC;EACA;;AACD;EACC;;;AAGD;EACC;EACA;;;AAEF;EACC;EACA;EACA;EACA;;;AAED;EACC;;;AAED;EACC;EACA;;;AAED;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AACD;EACC;EACA;EACA;EACA;;;AAED;EACC;;;AAED;EACC;;;AAGD;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAQD;EACC;;;AACD;EACC;EACA;;;AACD;EACC,kBAPU;;;AASV;EACC;;AACD;EACC;;AACD;EACC;;AACD;EACC;;AACD;EACC,kBAnBQ;;AAoBT;EACC;;;AACF;EACC,kBAvBS;;;AAwBV;EACC;IACC;IACA;IACA;;;AAKF;EACC;IACC;;;AAEF;EACC;IACC;;;AAEF;EACC;IACC;;;AAEF;EACC;IACC","file":"main.css"}
|
||||
{"version":3,"sourceRoot":"","sources":["common.sass","main.sass"],"names":[],"mappings":"AAAA;EACC;;AACA;EACC;EACA;;AAED;EACC;EACA;EACA;;;AACF;EACC;EACA;EACA;EACA;EACA;EACA;;;ACdD;EACC;EACA;;AACD;EACC;EACA;;AACD;EACC;EACA;;AAED;EACC;EAGA;EACA;EACA;EACA;EACA;;;AACD;EACC;;;AAGA;EACC;EACA;EACA;EACA;EACA;EACA;;AACA;EACC;EACA;;AACF;EACC;;AACD;EACC;EACA;;;AAEF;EACC;EACA;;;AAED;EACC;;;AAED;EACC;;;AACD;EACC;EACA;EACA;EACA;;;AACD;EACC;EACA;EACA;EACA;;;AACD;EACC;EACA;EACA;EACA;;;AAIA;EACC;EACA;EACA;EACA;EACA;EACA;EACA;;AACD;EACC;EACA;;AACD;EACC;;;AACF;EACC;EACA;EACA;;AACA;EACC;EACA;EACA;;;AAGD;EACC;EACA;;;AAEF;EACC;EACA;EACA;EACA;;;AAED;EACC;EACA;EACA;;;AAED;EACC;;;AAED;EACC;EACA;;;AAED;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AACD;EACC;EACA;EACA;EACA;;;AAED;EACC;;;AAED;EACC;;;AAGD;EACC;EACA;EACA;EACA;EACA;EACA;;AACA;EACC;EACA;EACA;;;AAEF;EACC;EACA;EACA;EACA;EACA;EACA;EACA;;;AAOD;EACC;;;AACD;EACC;EACA;;;AACD;EACC,kBAPU;;;AASV;EACC;;AACD;EACC;;AACD;EACC;;AACD;EACC;;AACD;EACC,kBAnBQ;;AAoBT;EACC;;;AACF;EACC,kBAvBS;;;AAwBV;EACC;IACC;IACA;IACA;;;AAKF;EACC;IACC;;;AAEF;EACC;IACC;;;AAEF;EACC;IACC;;;AAEF;EACC;IACC","file":"main.css"}
|
||||
@@ -1,3 +1,5 @@
|
||||
@use './common'
|
||||
|
||||
@font-face
|
||||
font-family: 'Merriweather'
|
||||
src: url('/modules/theme/fonts/Merriweather-Regular.ttf') format("truetype")
|
||||
@@ -20,6 +22,48 @@ p
|
||||
p.indent
|
||||
text-indent: 1rem
|
||||
|
||||
.apos-rich-text
|
||||
td, th
|
||||
text-indent: 0
|
||||
margin: 0.3rem 0 0.7rem 0
|
||||
padding: 0.25rem 0
|
||||
font-family: "Merriweather", "serif"
|
||||
font-size: 1.1rem
|
||||
line-height: 1.4rem
|
||||
p
|
||||
margin: 0 !important
|
||||
padding: 0 !important
|
||||
td + td, th + th // All table data elements following another table data element should have a bit of space between element contents.
|
||||
padding-left: 1rem
|
||||
th
|
||||
font-family: "MerriweatherSans", "sans-serif"
|
||||
font-weight: 700
|
||||
|
||||
h2.h2, h3.h3, h4.h4
|
||||
font-family: "MerriweatherSans", "sans-serif"
|
||||
margin-bottom: 1rem
|
||||
// Remove the margin-top from the paragraphs that follow a heading. Make !important because we have to override the styles set by CKEditor.
|
||||
h2.h2 + p, h3.h3 + p, h4.h4 + p
|
||||
margin-top: 0 !important
|
||||
// Add more margin-top to headings when following content (p, unordered / ordered lists)
|
||||
p + h2.h2, p + h3.h3, p + h4.h4, ul + h2.h2, ul + h3.h3, ul + h4.h4, ol + h2.h2, ol + h3.h3, ol + h4.h4, table + h2.h2, table + h3.h3, table + h4.h4
|
||||
margin-top: 1.7rem
|
||||
h2.h2
|
||||
font-size: 2.2rem
|
||||
line-height: 2.8rem
|
||||
font-family: "MerriweatherSans", "sans-serif"
|
||||
font-weight: 700
|
||||
h3.h3
|
||||
font-size: 1.5rem
|
||||
line-height: 2rem
|
||||
font-family: "MerriweatherSans", "sans-serif"
|
||||
font-weight: 700
|
||||
h4.h4
|
||||
font-size: 1.2rem
|
||||
line-height: 1.5rem
|
||||
font-family: "MerriweatherSans", "sans-serif"
|
||||
font-weight: 900
|
||||
|
||||
//Links using Apostrophe Files or Rich Text Widgets
|
||||
div[data-apos-widget='apostrophe-files'], .apos-rich-text
|
||||
a
|
||||
@@ -35,6 +79,14 @@ div[data-apos-widget='apostrophe-files'], .apos-rich-text
|
||||
text-shadow: 0 0 0.6rem rgb(123, 238, 238)
|
||||
a:active
|
||||
color: #7a29ec
|
||||
div[data-apos-widget='apostrophe-files']
|
||||
margin: 1rem 0 1.5rem 0.5rem
|
||||
padding: 0.5rem 0.5rem 0 0.5rem
|
||||
border: 1px solid #5b5b5b
|
||||
a
|
||||
display: block
|
||||
padding: 0
|
||||
font-size: 1.2rem
|
||||
//Links embedded in a rich text widget.
|
||||
.apos-rich-text
|
||||
a
|
||||
@@ -47,6 +99,11 @@ h5
|
||||
margin-top: 0.8rem
|
||||
margin-bottom: 0.3rem
|
||||
|
||||
.navbar sup
|
||||
font-weight: 700
|
||||
font-size: 0.7rem
|
||||
bottom: 0.25rem
|
||||
|
||||
.apos-slideshow h4
|
||||
display: none
|
||||
|
||||
@@ -77,16 +134,25 @@ h5
|
||||
|
||||
//.apos-rich-text > div //This was a work around to the rich text widget 'class' property not working in the style.
|
||||
.highlighted
|
||||
background: rgba(170, 122, 82, 0.3)
|
||||
margin: 1rem 6rem
|
||||
padding: 1rem 1rem
|
||||
font-size: 1.8rem
|
||||
background: rgba(215, 187, 161, 0.3)
|
||||
margin: 0 0 0 0
|
||||
padding: 0.2rem 0 0.2rem 1rem
|
||||
font-size: 1.1rem
|
||||
font-weight: 700
|
||||
-webkit-box-shadow: 0 0 20px 10px rgba(255, 255, 255, 0.61)
|
||||
-moz-box-shadow: 0 0 20px 10px rgba(255, 255, 255, 0.61)
|
||||
box-shadow: 0 0 20px 10px rgba(255, 255, 255, 0.61)
|
||||
color: Green
|
||||
color: #006400
|
||||
a
|
||||
font-size: 1rem
|
||||
line-height: 1.2rem
|
||||
text-shadow: 0 0 0.6rem rgba(158, 243, 113, 0.3)
|
||||
|
||||
.date
|
||||
background: black
|
||||
color: white
|
||||
text-align: right
|
||||
padding: 1rem 1.5rem
|
||||
margin-bottom: 1rem
|
||||
margin-top: 2rem
|
||||
font-weight: 700
|
||||
|
||||
//
|
||||
// Redefine some of the Apostrophe administrative UI.
|
||||
|
||||
@@ -1,64 +1,3 @@
|
||||
html, body, div, span, applet, object, iframe,
|
||||
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
||||
a, abbr, acronym, address, big, cite, code,
|
||||
del, dfn, em, img, ins, kbd, q, s, samp,
|
||||
small, strike, strong, sub, sup, tt, var,
|
||||
b, u, i, center,
|
||||
dl, dt, dd, ol, ul, li,
|
||||
fieldset, form, label, legend,
|
||||
table, caption, tbody, tfoot, thead, tr, th, td,
|
||||
article, aside, canvas, details, embed,
|
||||
figure, figcaption, footer, header, hgroup,
|
||||
menu, nav, output, ruby, section, summary,
|
||||
time, mark, audio, video {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
/* HTML5 display-role reset for older browsers */
|
||||
article, aside, details, figcaption, figure,
|
||||
footer, header, hgroup, menu, nav, section {
|
||||
display: block;
|
||||
}
|
||||
|
||||
body {
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
ol, ul {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
blockquote, q {
|
||||
quotes: none;
|
||||
}
|
||||
|
||||
blockquote:before, blockquote:after, q:before, q:after {
|
||||
content: none;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
i {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
b {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
* {
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.clearfix {
|
||||
zoom: 1;
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"sourceRoot":"","sources":["pre.sass","menu.sass"],"names":[],"mappings":"AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAaC;EACA;EACA;EAGA;;;AAED;AACA;AAAA;EAEC;;;AAED;EACC;;;AAED;EACC;;;AAED;EACC;;;AAED;EACC;;;AAED;EACC;EACA;;;AAED;EACC;;;AAED;EACC;;;AAED;EACC;EACA;EACA;EACA;;;AAED;EACC;;AACA;EACC;EACA;;AAED;EACC;EACA;EACA;;;AACF;EACC;EACA;EACA;EACA;EACA;EACA;;;ACpED;EACC;EACA;EACA;EACA;EACA;EACA;;AACA;EACC;EACA;EACA;EACA;;AACA;EACC;;AACD;EACC;EACA;;AACD;EACC;;AAGD;EACC;EACA;EACA;;AACD;EAEC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACC;EACA;;AACD;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACC;EACA;EAEA;EACA;EACA;EACA;EACA;EAEA;EACA;;AACF;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACC;EACA;EACA;EACA;EAEA;EACA;;AACD;EACC;EACA;EACA;EACA;EACA;;AACD;EACC;;AACD;EAEC;EACA;EACA;EACA;EACA;EACA;;AACD;EACC;EACA;;;AAiBH;EACC;IACC;;EAEC;IACC;;EACD;IACC;;EACD;IACC","file":"menu.css"}
|
||||
{"version":3,"sourceRoot":"","sources":["common.sass","menu.sass"],"names":[],"mappings":"AAAA;EACC;;AACA;EACC;EACA;;AAED;EACC;EACA;EACA;;;AACF;EACC;EACA;EACA;EACA;EACA;EACA;;;ACdD;EACC;EACA;EACA;EACA;EACA;EACA;;AACA;EACC;EACA;EACA;EACA;;AACA;EACC;;AACD;EACC;EACA;;AACD;EACC;;AAGD;EACC;EACA;EACA;;AACD;EAEC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACC;EACA;;AACD;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACC;EACA;EAEA;EACA;EACA;EACA;EACA;EAEA;EACA;;AACF;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACC;EACA;EACA;EACA;EAEA;EACA;;AACD;EACC;EACA;EACA;EACA;EACA;;AACD;EACC;;AACD;EAEC;EACA;EACA;EACA;EACA;EACA;;AACD;EACC;EACA;;;AAiBH;EACC;IACC;;EAEC;IACC;;EACD;IACC;;EACD;IACC","file":"menu.css"}
|
||||
@@ -1,4 +1,4 @@
|
||||
@use './pre'
|
||||
@use './common'
|
||||
|
||||
.navbar
|
||||
overflow: visible
|
||||
|
||||
@@ -59,26 +59,4 @@ b {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.clearfix {
|
||||
zoom: 1;
|
||||
}
|
||||
.clearfix:before {
|
||||
content: "";
|
||||
display: block;
|
||||
}
|
||||
.clearfix:after {
|
||||
content: "";
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.noselect {
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=pre.css.map */
|
||||
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"sourceRoot":"","sources":["pre.sass"],"names":[],"mappings":"AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAaC;EACA;EACA;EAGA;;;AAED;AACA;AAAA;EAEC;;;AAED;EACC;;;AAED;EACC;;;AAED;EACC;;;AAED;EACC;;;AAED;EACC;EACA;;;AAED;EACC;;;AAED;EACC;;;AAED;EACC;EACA;EACA;EACA;;;AAED;EACC;;AACA;EACC;EACA;;AAED;EACC;EACA;EACA;;;AACF;EACC;EACA;EACA;EACA;EACA;EACA","file":"pre.css"}
|
||||
{"version":3,"sourceRoot":"","sources":["pre.sass"],"names":[],"mappings":"AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAaC;EACA;EACA;EAGA;;;AAED;AACA;AAAA;EAEC;;;AAED;EACC;;;AAED;EACC;;;AAED;EACC;;;AAED;EACC;;;AAED;EACC;EACA;;;AAED;EACC;;;AAED;EACC;;;AAED;EACC;EACA;EACA;EACA","file":"pre.css"}
|
||||
@@ -51,21 +51,3 @@ b
|
||||
-webkit-box-sizing: border-box
|
||||
box-sizing: border-box
|
||||
margin: 0
|
||||
|
||||
.clearfix
|
||||
zoom: 1
|
||||
&:before
|
||||
content: ''
|
||||
display: block
|
||||
|
||||
&:after
|
||||
content: ''
|
||||
display: table
|
||||
clear: both
|
||||
.noselect
|
||||
-webkit-touch-callout: none /* iOS Safari */
|
||||
-webkit-user-select: none /* Safari */
|
||||
-khtml-user-select: none /* Konqueror HTML */
|
||||
-moz-user-select: none /* Old versions of Firefox */
|
||||
-ms-user-select: none /* Internet Explorer/Edge */
|
||||
user-select: none /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,24 +0,0 @@
|
||||
{% 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', 'Link', 'Unlink', 'Indent', 'Outdent', 'Anchor', 'Table', 'BulletedList', 'Blockquote', 'Strike', 'Subscript', 'Superscript', 'Split'],
|
||||
styles: [
|
||||
{name: 'Paragraph', element: 'p'},
|
||||
{name: 'highlighted', element: 'p', attributes: [{'class': 'highlighted'}]},
|
||||
{name: 'Heading 2', element: 'h2'},
|
||||
{name: 'Heading 3', element: 'h3'},
|
||||
{name: 'Heading 4', element: 'h4'},
|
||||
{name: 'Heading 5', element: 'h5'}
|
||||
]
|
||||
},
|
||||
'apostrophe-files': {},
|
||||
'two-column': {}
|
||||
}
|
||||
}) }}
|
||||
</div>
|
||||
{% endblock %}
|
||||
@@ -1,27 +1,3 @@
|
||||
{% extends "layout.html" %}
|
||||
{% extends "basic.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', 'Link', 'Unlink', 'Indent', 'Outdent', 'Anchor', 'Table', 'BulletedList', 'Blockquote', 'Strike', 'Subscript', 'Superscript', 'Split'],
|
||||
styles: [
|
||||
{name: 'Paragraph', element: 'p'},
|
||||
{name: 'Topic Paragraph', element: 'p', attributes: {class: "indent"} },
|
||||
{name: 'Heading 2', element: 'h2'},
|
||||
{name: 'Heading 3', element: 'h3'},
|
||||
{name: 'Heading 4', element: 'h4'},
|
||||
{name: 'Heading 5', element: 'h5'},
|
||||
{name: 'highlighted', element: 'div', attributes: {class: "highlighted"} }
|
||||
]
|
||||
},
|
||||
'apostrophe-files': {},
|
||||
'two-column': {},
|
||||
'two-column-1-2': {},
|
||||
'two-column-2-1': {}
|
||||
}
|
||||
}) }}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
widgets: {
|
||||
'apostrophe-images': {size: 'one-half'},
|
||||
'apostrophe-rich-text': {
|
||||
toolbar: ['Styles', 'Bold', 'Italic', 'Link', 'Unlink', 'Anchor', 'Table', 'BulletedList', 'Blockquote', 'Strike', 'Subscript', 'Superscript', 'Split'],
|
||||
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'},
|
||||
{name: 'highlighted', element: 'p', attributes: [{'class': 'highlighted'}]},
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
module.exports = {
|
||||
projection: {
|
||||
title: 1,
|
||||
_url: 1,
|
||||
attachment: 1
|
||||
},
|
||||
//sanitizeHtml: {
|
||||
// allowedTags: [],
|
||||
// allowedAttributes: {},
|
||||
@@ -13,7 +18,7 @@ module.exports = {
|
||||
allowedClasses: {
|
||||
'p': ['highlighted', 'indent', 'bulletLevel2','apos-indent1', 'apos-indent2'],
|
||||
'ul': ['bulletLevel2','apos-indent1', 'apos-indent2'],
|
||||
'div': ['highlighted', "bulletLevel2",'apos-indent1', 'apos-indent2'],
|
||||
'div': ['highlighted', "bulletLevel2",'apos-indent1', 'apos-indent2', 'date'],
|
||||
'*': ['highlighted', 'bulletLevel2', 'test', '*','apos-indent1', 'apos-indent2']
|
||||
},
|
||||
allowedAttributes: {
|
||||
|
||||
11
lib/modules/centered-half-width-column-widgets/index.js
Normal file
11
lib/modules/centered-half-width-column-widgets/index.js
Normal file
@@ -0,0 +1,11 @@
|
||||
module.exports = {
|
||||
extend: 'apostrophe-widgets',
|
||||
label: 'Centered 50% Width',
|
||||
addFields: [
|
||||
{
|
||||
name: "content",
|
||||
type: "area",
|
||||
label: "Content Area"
|
||||
}
|
||||
]
|
||||
};
|
||||
@@ -0,0 +1,27 @@
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-3"></div>
|
||||
<div class="col-lg-6">
|
||||
{{ apos.area(data.widget, "content", {
|
||||
widgets: {
|
||||
'apostrophe-images': {size: 'full'},
|
||||
'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': {}
|
||||
}
|
||||
}) }}
|
||||
</div>
|
||||
<div class="col-lg-3"></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -5,15 +5,16 @@
|
||||
widgets: {
|
||||
'apostrophe-images': {size: 'one-half'},
|
||||
'apostrophe-rich-text': {
|
||||
toolbar: ['Styles', 'Bold', 'Italic', 'Link', 'Unlink', 'Anchor', 'Table', 'BulletedList', 'Blockquote', 'Strike', 'Subscript', 'Superscript', 'Split'],
|
||||
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'},
|
||||
{name: 'Paragraph', element: 'p', attributes: {class: "p"} },
|
||||
{name: 'Topic Paragraph', element: 'p', attributes: {class: "indent"} },
|
||||
{name: 'Heading 2', element: 'h2'},
|
||||
{name: 'Heading 3', element: 'h3'},
|
||||
{name: 'Heading 4', element: 'h4'},
|
||||
{name: 'Heading 5', element: 'h5'},
|
||||
{name: 'highlighted', element: 'div', attributes: {class: "highlighted"} }
|
||||
{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': {}
|
||||
@@ -23,15 +24,18 @@
|
||||
<div class="col-lg-8">
|
||||
{{ apos.area(data.widget, "areaRight", {
|
||||
widgets: {
|
||||
'apostrophe-images': {size: 'full'},
|
||||
'apostrophe-images': {size: 'original'},
|
||||
'apostrophe-rich-text': {
|
||||
toolbar: ['Styles', 'Bold', 'Italic', 'Link', 'Unlink', 'Anchor', 'Table', 'BulletedList', 'Blockquote', 'Strike', 'Subscript', 'Superscript', 'Split'],
|
||||
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'},
|
||||
{name: 'Heading 2', element: 'h2'},
|
||||
{name: 'Heading 3', element: 'h3'},
|
||||
{name: 'Heading 4', element: 'h4'},
|
||||
{name: 'Heading 5', element: 'h5'}
|
||||
{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': {}
|
||||
|
||||
@@ -3,17 +3,18 @@
|
||||
<div class="col-lg-8">
|
||||
{{ apos.area(data.widget, "areaLeft", {
|
||||
widgets: {
|
||||
'apostrophe-images': {size: 'one-half'},
|
||||
'apostrophe-images': {size: 'original'},
|
||||
'apostrophe-rich-text': {
|
||||
toolbar: ['Styles', 'Bold', 'Italic', 'Link', 'Unlink', 'Anchor', 'Table', 'BulletedList', 'Blockquote', 'Strike', 'Subscript', 'Superscript', 'Split'],
|
||||
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'},
|
||||
{name: 'Paragraph', element: 'p', attributes: {class: "p"} },
|
||||
{name: 'Topic Paragraph', element: 'p', attributes: {class: "indent"} },
|
||||
{name: 'Heading 2', element: 'h2'},
|
||||
{name: 'Heading 3', element: 'h3'},
|
||||
{name: 'Heading 4', element: 'h4'},
|
||||
{name: 'Heading 5', element: 'h5'},
|
||||
{name: 'highlighted', element: 'div', attributes: {class: "highlighted"} }
|
||||
{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': {}
|
||||
@@ -23,17 +24,18 @@
|
||||
<div class="col-lg-4">
|
||||
{{ apos.area(data.widget, "areaRight", {
|
||||
widgets: {
|
||||
'apostrophe-images': {size: 'full'},
|
||||
'apostrophe-images': {size: 'one-half'},
|
||||
'apostrophe-rich-text': {
|
||||
toolbar: ['Styles', 'Bold', 'Italic', 'Link', 'Unlink', 'Anchor', 'Table', 'BulletedList', 'Blockquote', 'Strike', 'Subscript', 'Superscript', 'Split'],
|
||||
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'},
|
||||
{name: 'Paragraph', element: 'p', attributes: {class: "p"} },
|
||||
{name: 'Topic Paragraph', element: 'p', attributes: {class: "indent"} },
|
||||
{name: 'Heading 2', element: 'h2'},
|
||||
{name: 'Heading 3', element: 'h3'},
|
||||
{name: 'Heading 4', element: 'h4'},
|
||||
{name: 'Heading 5', element: 'h5'},
|
||||
{name: 'highlighted', element: 'div', attributes: {class: "highlighted"} }
|
||||
{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': {}
|
||||
|
||||
@@ -3,17 +3,18 @@
|
||||
<div class="col-lg-6">
|
||||
{{ apos.area(data.widget, "areaLeft", {
|
||||
widgets: {
|
||||
'apostrophe-images': {size: 'one-half'},
|
||||
'apostrophe-images': {size: 'full'},
|
||||
'apostrophe-rich-text': {
|
||||
toolbar: ['Styles', 'Bold', 'Italic', 'Link', 'Unlink', 'Anchor', 'Table', 'BulletedList', 'Blockquote', 'Strike', 'Subscript', 'Superscript', 'Split'],
|
||||
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'},
|
||||
{name: 'Paragraph', element: 'p', attributes: {class: "p"} },
|
||||
{name: 'Topic Paragraph', element: 'p', attributes: {class: "indent"} },
|
||||
{name: 'Heading 2', element: 'h2'},
|
||||
{name: 'Heading 3', element: 'h3'},
|
||||
{name: 'Heading 4', element: 'h4'},
|
||||
{name: 'Heading 5', element: 'h5'},
|
||||
{name: 'highlighted', element: 'div', attributes: {class: "highlighted"} }
|
||||
{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': {}
|
||||
@@ -23,17 +24,18 @@
|
||||
<div class="col-lg-6">
|
||||
{{ apos.area(data.widget, "areaRight", {
|
||||
widgets: {
|
||||
'apostrophe-images': {size: 'one-half'},
|
||||
'apostrophe-images': {size: 'full'},
|
||||
'apostrophe-rich-text': {
|
||||
toolbar: ['Styles', 'Bold', 'Italic', 'Link', 'Unlink', 'Anchor', 'Table', 'BulletedList', 'Blockquote', 'Strike', 'Subscript', 'Superscript', 'Split'],
|
||||
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'},
|
||||
{name: 'Paragraph', element: 'p', attributes: {class: "p"} },
|
||||
{name: 'Topic Paragraph', element: 'p', attributes: {class: "indent"} },
|
||||
{name: 'Heading 2', element: 'h2'},
|
||||
{name: 'Heading 3', element: 'h3'},
|
||||
{name: 'Heading 4', element: 'h4'},
|
||||
{name: 'Heading 5', element: 'h5'},
|
||||
{name: 'highlighted', element: 'div', attributes: {class: "highlighted"} }
|
||||
{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': {}
|
||||
|
||||
8
package-lock.json
generated
8
package-lock.json
generated
@@ -1100,6 +1100,14 @@
|
||||
"stoppable": "^1.1.0"
|
||||
}
|
||||
},
|
||||
"apostrophe-redirects": {
|
||||
"version": "2.3.0",
|
||||
"resolved": "https://registry.npmjs.org/apostrophe-redirects/-/apostrophe-redirects-2.3.0.tgz",
|
||||
"integrity": "sha512-IQ5Kp8pKapcdLX33Sbv8DPlC4odGDsH2/27/F8kDBgpsi1klpVDvd0vZeJfSrVoV7L1bWVvv2gGfmNsnBmvRkQ==",
|
||||
"requires": {
|
||||
"lodash": "^4.17.10"
|
||||
}
|
||||
},
|
||||
"apostrophe-rich-text-permalinks": {
|
||||
"version": "2.0.5",
|
||||
"resolved": "https://registry.npmjs.org/apostrophe-rich-text-permalinks/-/apostrophe-rich-text-permalinks-2.0.5.tgz",
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"scripts": {
|
||||
"start": "node app.js",
|
||||
"monitor": "monitor",
|
||||
"build": "bestzip avusd_bundle.zip lib app.js package.json public/images locales views"
|
||||
"build": "bestzip avusd_bundle.zip lib app.js package.json locales views"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -17,6 +17,7 @@
|
||||
"dependencies": {
|
||||
"apostrophe": "^2.111.4",
|
||||
"apostrophe-monitor": "^2.1.0",
|
||||
"apostrophe-redirects": "^2.3.0",
|
||||
"apostrophe-rich-text-permalinks": "^2.0.5",
|
||||
"apostrophe-tiptap-rich-text-widgets": "^0.3.8",
|
||||
"prosemirror-tables": "^0.9.1"
|
||||
|
||||
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 %}
|
||||
@@ -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