mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
Various UI improvement (#4017)
This commit is contained in:
parent
f45d85f615
commit
7aa7e02e27
19 changed files with 66 additions and 101 deletions
|
@ -25,9 +25,10 @@ html.inner-editor {
|
||||||
|
|
||||||
/* ACE-PAD Container (i.e. where the text is displayed) */
|
/* ACE-PAD Container (i.e. where the text is displayed) */
|
||||||
#innerdocbody {
|
#innerdocbody {
|
||||||
padding: 10px;
|
padding: 15px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
|
line-height: 1.6;
|
||||||
|
|
||||||
/* Be careful editing following rules. Longs words should not overflow, ep_align justify should work,
|
/* Be careful editing following rules. Longs words should not overflow, ep_align justify should work,
|
||||||
Test on chrome, firefox and safari... Copy / Paste a word inside a sentence should not add line-breaks
|
Test on chrome, firefox and safari... Copy / Paste a word inside a sentence should not add line-breaks
|
||||||
|
@ -49,9 +50,9 @@ html.inner-editor {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
#innerdocbody span {
|
#innerdocbody.authorColors span {
|
||||||
line-height: 125%;
|
padding-top: 3px;
|
||||||
padding: 6px 0 !important;
|
padding-bottom: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
option {
|
option {
|
||||||
|
@ -62,8 +63,15 @@ option {
|
||||||
#innerdocbody h2,
|
#innerdocbody h2,
|
||||||
#innerdocbody h3,
|
#innerdocbody h3,
|
||||||
#innerdocbody h4 {
|
#innerdocbody h4 {
|
||||||
|
line-height: 1.2;
|
||||||
margin-bottom: .5em;
|
margin-bottom: .5em;
|
||||||
}
|
}
|
||||||
|
#innerdocbody h1 span,
|
||||||
|
#innerdocbody h2 span,
|
||||||
|
#innerdocbody h3 span,
|
||||||
|
#innerdocbody h4 span {
|
||||||
|
padding-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
/* --------------------- */
|
/* --------------------- */
|
||||||
/* -- BROWSER SUPPORT -- */
|
/* -- BROWSER SUPPORT -- */
|
||||||
|
@ -87,9 +95,12 @@ body.mozilla, body.safari {
|
||||||
}
|
}
|
||||||
#sidediv .line-number {
|
#sidediv .line-number {
|
||||||
font-size: 9px;
|
font-size: 9px;
|
||||||
padding: 0 10px;
|
padding: 0 14px 0 10px;
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
}
|
}
|
||||||
|
.plugin-ep_author_neat #sidedivinner.authorColors .line-number {
|
||||||
|
padding-right: 10px;
|
||||||
|
}
|
||||||
#sidedivinner {
|
#sidedivinner {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
opacity: .9;
|
opacity: .9;
|
||||||
|
|
|
@ -14,14 +14,14 @@
|
||||||
@import url("pad/form.css");
|
@import url("pad/form.css");
|
||||||
|
|
||||||
html {
|
html {
|
||||||
font-size: 14px;
|
font-size: 15px;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
color: #3e3e3e;
|
color: #3e3e3e;
|
||||||
}
|
}
|
||||||
|
|
||||||
html,
|
html,
|
||||||
#sidedivinner > div:before {
|
#sidedivinner > div:before {
|
||||||
font-family: Cantarell, Roboto, "Open Sans", "Helvetica Neue", Arial, sans-serif;
|
font-family: Roboto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.clear {
|
.clear {
|
||||||
|
|
|
@ -58,4 +58,22 @@
|
||||||
src: url("../../../static/font/Roboto-Bold.ttf") format("truetype");
|
src: url("../../../static/font/Roboto-Bold.ttf") format("truetype");
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Alegreya';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
src: local('Alegreya Medium'), local('Alegreya-Medium'),
|
||||||
|
url('../../../static/font/Aleygreya-Medium.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||||
|
url('../../../static/font/Aleygreya-Medium.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Alegreya';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
src: local('Alegreya ExtraBold'), local('Alegreya-ExtraBold'),
|
||||||
|
url('../../../static/font/Aleygreya-ExtraBold.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||||
|
url('../../../static/font/Aleygreya-ExtraBold.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||||
}
|
}
|
|
@ -23,7 +23,7 @@ select, .nice-select {
|
||||||
-ms-user-select: none;
|
-ms-user-select: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
width: 120px;
|
min-width: 100px;
|
||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
}
|
}
|
||||||
.popup .nice-select {
|
.popup .nice-select {
|
||||||
|
@ -32,11 +32,6 @@ select, .nice-select {
|
||||||
.nice-select:hover {
|
.nice-select:hover {
|
||||||
border-color: #dbdbdb;
|
border-color: #dbdbdb;
|
||||||
}
|
}
|
||||||
.nice-select .current {
|
|
||||||
width: 90px;
|
|
||||||
display: inline-block;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
.nice-select:after {
|
.nice-select:after {
|
||||||
border-bottom: 2px solid #999;
|
border-bottom: 2px solid #999;
|
||||||
border-right: 2px solid #999;
|
border-right: 2px solid #999;
|
||||||
|
|
|
@ -21,7 +21,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
/* RIGHT TOOLBAR (export, settings, back to pad) */
|
/* RIGHT TOOLBAR (export, settings, back to pad) */
|
||||||
|
.editbarright {
|
||||||
|
flex-shrink: 0; /* prevent the back to pad button to shrink */
|
||||||
|
margin-top: -10px;
|
||||||
|
}
|
||||||
.editbarright ul li a {
|
.editbarright ul li a {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border: none;
|
border: none;
|
||||||
|
|
BIN
src/static/font/Aleygreya-ExtraBold.woff
Normal file
BIN
src/static/font/Aleygreya-ExtraBold.woff
Normal file
Binary file not shown.
BIN
src/static/font/Aleygreya-ExtraBold.woff2
Normal file
BIN
src/static/font/Aleygreya-ExtraBold.woff2
Normal file
Binary file not shown.
BIN
src/static/font/Aleygreya-Medium.woff
Normal file
BIN
src/static/font/Aleygreya-Medium.woff
Normal file
Binary file not shown.
BIN
src/static/font/Aleygreya-Medium.woff2
Normal file
BIN
src/static/font/Aleygreya-Medium.woff2
Normal file
Binary file not shown.
|
@ -156,15 +156,6 @@ function Ace2Inner(){
|
||||||
|
|
||||||
var scheduler = parent; // hack for opera required
|
var scheduler = parent; // hack for opera required
|
||||||
|
|
||||||
var textFace = 'monospace';
|
|
||||||
var textSize = 12;
|
|
||||||
|
|
||||||
|
|
||||||
function textLineHeight()
|
|
||||||
{
|
|
||||||
return Math.round(textSize * 4 / 3);
|
|
||||||
}
|
|
||||||
|
|
||||||
var dynamicCSS = null;
|
var dynamicCSS = null;
|
||||||
var outerDynamicCSS = null;
|
var outerDynamicCSS = null;
|
||||||
var parentDynamicCSS = null;
|
var parentDynamicCSS = null;
|
||||||
|
@ -312,25 +303,6 @@ function Ace2Inner(){
|
||||||
return ".authorColors ." + oneClassName;
|
return ".authorColors ." + oneClassName;
|
||||||
}
|
}
|
||||||
|
|
||||||
function setUpTrackingCSS()
|
|
||||||
{
|
|
||||||
if (dynamicCSS)
|
|
||||||
{
|
|
||||||
var backgroundHeight = lineMetricsDiv.offsetHeight;
|
|
||||||
var lineHeight = textLineHeight();
|
|
||||||
var extraBodding = 0;
|
|
||||||
var extraTodding = 0;
|
|
||||||
if (backgroundHeight < lineHeight)
|
|
||||||
{
|
|
||||||
extraBodding = Math.ceil((lineHeight - backgroundHeight) / 2);
|
|
||||||
extraTodding = lineHeight - backgroundHeight - extraBodding;
|
|
||||||
}
|
|
||||||
var spanStyle = dynamicCSS.selectorStyle("#innerdocbody span");
|
|
||||||
spanStyle.paddingTop = extraTodding + "px";
|
|
||||||
spanStyle.paddingBottom = extraBodding + "px";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function fadeColor(colorCSS, fadeFrac)
|
function fadeColor(colorCSS, fadeFrac)
|
||||||
{
|
{
|
||||||
var color = colorutils.css2triple(colorCSS);
|
var color = colorutils.css2triple(colorCSS);
|
||||||
|
@ -623,26 +595,8 @@ function Ace2Inner(){
|
||||||
|
|
||||||
function setTextFace(face)
|
function setTextFace(face)
|
||||||
{
|
{
|
||||||
textFace = face;
|
root.style.fontFamily = face;
|
||||||
root.style.fontFamily = textFace;
|
lineMetricsDiv.style.fontFamily = face;
|
||||||
lineMetricsDiv.style.fontFamily = textFace;
|
|
||||||
scheduler.setTimeout(function()
|
|
||||||
{
|
|
||||||
setUpTrackingCSS();
|
|
||||||
}, 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
function setTextSize(size)
|
|
||||||
{
|
|
||||||
textSize = size;
|
|
||||||
root.style.fontSize = textSize + "px";
|
|
||||||
root.style.lineHeight = textLineHeight() + "px";
|
|
||||||
sideDiv.style.lineHeight = textLineHeight() + "px";
|
|
||||||
lineMetricsDiv.style.fontSize = textSize + "px";
|
|
||||||
scheduler.setTimeout(function()
|
|
||||||
{
|
|
||||||
setUpTrackingCSS();
|
|
||||||
}, 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function recreateDOM()
|
function recreateDOM()
|
||||||
|
@ -962,7 +916,6 @@ function Ace2Inner(){
|
||||||
},
|
},
|
||||||
styled: setStyled,
|
styled: setStyled,
|
||||||
textface: setTextFace,
|
textface: setTextFace,
|
||||||
textsize: setTextSize,
|
|
||||||
rtlistrue: function(value) {
|
rtlistrue: function(value) {
|
||||||
setClassPresence(root, "rtl", value)
|
setClassPresence(root, "rtl", value)
|
||||||
setClassPresence(root, "ltr", !value)
|
setClassPresence(root, "ltr", !value)
|
||||||
|
@ -984,7 +937,6 @@ function Ace2Inner(){
|
||||||
};
|
};
|
||||||
editorInfo.ace_setBaseAttributedText = function(atxt, apoolJsonObj)
|
editorInfo.ace_setBaseAttributedText = function(atxt, apoolJsonObj)
|
||||||
{
|
{
|
||||||
setUpTrackingCSS();
|
|
||||||
changesetTracker.setBaseAttributedText(atxt, apoolJsonObj);
|
changesetTracker.setBaseAttributedText(atxt, apoolJsonObj);
|
||||||
};
|
};
|
||||||
editorInfo.ace_applyChangesToBase = function(c, optAuthor, apoolJsonObj)
|
editorInfo.ace_applyChangesToBase = function(c, optAuthor, apoolJsonObj)
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
// Timeslider controller would probably be more appropriate.
|
// Timeslider controller would probably be more appropriate.
|
||||||
var _ = require('./underscore');
|
var _ = require('./underscore');
|
||||||
var padmodals = require('./pad_modals').padmodals;
|
var padmodals = require('./pad_modals').padmodals;
|
||||||
|
var colorutils = require('./colorutils').colorutils;
|
||||||
|
|
||||||
function loadBroadcastSliderJS(fireWhenAllScriptsAreLoaded)
|
function loadBroadcastSliderJS(fireWhenAllScriptsAreLoaded)
|
||||||
{
|
{
|
||||||
|
@ -151,10 +152,11 @@ function loadBroadcastSliderJS(fireWhenAllScriptsAreLoaded)
|
||||||
if (author.name)
|
if (author.name)
|
||||||
{
|
{
|
||||||
if (numNamed !== 0) authorsList.append(', ');
|
if (numNamed !== 0) authorsList.append(', ');
|
||||||
|
var textColor = colorutils.textColorFromBackgroundColor(authorColor, clientVars.skinName)
|
||||||
$('<span />')
|
$('<span />')
|
||||||
.text(author.name || "unnamed")
|
.text(author.name || "unnamed")
|
||||||
.css('background-color', authorColor)
|
.css('background-color', authorColor)
|
||||||
|
.css('color', textColor)
|
||||||
.addClass('author')
|
.addClass('author')
|
||||||
.appendTo(authorsList);
|
.appendTo(authorsList);
|
||||||
|
|
||||||
|
|
|
@ -50,21 +50,15 @@
|
||||||
|
|
||||||
--main-font-family: Quicksand, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
|
--main-font-family: Quicksand, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
|
||||||
|
|
||||||
--editor-horizontal-padding: 55px;
|
/* Those padding like an external padding. Basic padding of 15px is always applied */
|
||||||
--editor-vertical-padding: 40px;
|
--editor-horizontal-padding: 40px;
|
||||||
|
--editor-vertical-padding: 25px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width:1000px) {
|
@media (max-width:1000px) {
|
||||||
:root {
|
:root {
|
||||||
--editor-horizontal-padding: 15px;
|
--editor-horizontal-padding: 0px;
|
||||||
--editor-vertical-padding: 15px;
|
--editor-vertical-padding: 0px;
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width:600px) {
|
|
||||||
:root {
|
|
||||||
--editor-horizontal-padding: 15px;
|
|
||||||
--editor-vertical-padding: 15px;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,3 @@
|
||||||
html {
|
|
||||||
font-size: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
body {
|
||||||
color: #485365;
|
color: #485365;
|
||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
|
|
|
@ -33,8 +33,8 @@
|
||||||
/* Padding must be the same than editor, otherwise it creates problem */
|
/* Padding must be the same than editor, otherwise it creates problem */
|
||||||
padding-top: 40px; /* = #innerdocbody iframe vertical padding */
|
padding-top: 40px; /* = #innerdocbody iframe vertical padding */
|
||||||
padding-bottom: 40px;
|
padding-bottom: 40px;
|
||||||
padding-top: var(--editor-vertical-padding);
|
padding-top: calc(var(--editor-vertical-padding) + 15px);
|
||||||
padding-bottom: var(--editor-vertical-padding);
|
padding-bottom: calc(var(--editor-vertical-padding) + 15px);
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width:1000px) {
|
@media (max-width:1000px) {
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
#innerdocbody {
|
#innerdocbody {
|
||||||
font-size: 15px;
|
|
||||||
line-height: 25px;
|
|
||||||
padding: 0;
|
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: #485365;
|
color: #485365;
|
||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* =========================== */
|
/* =========================== */
|
||||||
/* === Super Light Toolbar === */
|
/* === Super Light Toolbar === */
|
||||||
/* =========================== */
|
/* =========================== */
|
||||||
.super-light-toolbar .toolbar, .super-light-toolbar .popup-content, #pad_title {
|
.super-light-toolbar .toolbar, .super-light-toolbar .popup-content, .super-light-toolbar #pad_title {
|
||||||
--text-color: var(--super-dark-color);
|
--text-color: var(--super-dark-color);
|
||||||
--text-soft-color: var(--dark-color);
|
--text-soft-color: var(--dark-color);
|
||||||
--border-color: #e4e6e9;
|
--border-color: #e4e6e9;
|
||||||
|
@ -11,7 +11,7 @@
|
||||||
/* ===================== */
|
/* ===================== */
|
||||||
/* === Light Toolbar === */
|
/* === Light Toolbar === */
|
||||||
/* ===================== */
|
/* ===================== */
|
||||||
.light-toolbar .toolbar, .light-toolbar .popup-content, #pad_title {
|
.light-toolbar .toolbar, .light-toolbar .popup-content, .light-toolbar #pad_title {
|
||||||
--text-color: var(--super-dark-color);
|
--text-color: var(--super-dark-color);
|
||||||
--text-soft-color: var(--dark-color);
|
--text-soft-color: var(--dark-color);
|
||||||
--border-color: var(--middle-color);
|
--border-color: var(--middle-color);
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
/* ========================== */
|
/* ========================== */
|
||||||
/* === Super Dark Toolbar === */
|
/* === Super Dark Toolbar === */
|
||||||
/* ========================== */
|
/* ========================== */
|
||||||
.super-dark-toolbar .toolbar, .super-dark-toolbar .popup-content, #pad_title {
|
.super-dark-toolbar .toolbar, .super-dark-toolbar .popup-content, .super-dark-toolbar #pad_title {
|
||||||
--text-color: var(--super-light-color);
|
--text-color: var(--super-light-color);
|
||||||
--text-soft-color: var(--light-color);
|
--text-soft-color: var(--light-color);
|
||||||
--border-color: var(--dark-color);
|
--border-color: var(--dark-color);
|
||||||
|
@ -35,7 +35,7 @@
|
||||||
/* ==================== */
|
/* ==================== */
|
||||||
/* === Dark Toolbar === */
|
/* === Dark Toolbar === */
|
||||||
/* ==================== */
|
/* ==================== */
|
||||||
.dark-toolbar .toolbar, .dark-toolbar .popup-content, #pad_title {
|
.dark-toolbar .toolbar, .dark-toolbar .popup-content, .dark-toolbar #pad_title {
|
||||||
--text-color: var(--super-light-color);
|
--text-color: var(--super-light-color);
|
||||||
--text-soft-color: var(--light-color);
|
--text-soft-color: var(--light-color);
|
||||||
--border-color: var(--super-dark-color);
|
--border-color: var(--super-dark-color);
|
||||||
|
@ -189,8 +189,8 @@
|
||||||
.light-editor.light-background,
|
.light-editor.light-background,
|
||||||
.super-dark-editor.super-dark-background,
|
.super-dark-editor.super-dark-background,
|
||||||
.dark-editor.dark-background {
|
.dark-editor.dark-background {
|
||||||
--editor-horizontal-padding: 35px;
|
--editor-horizontal-padding: 20px;
|
||||||
--editor-vertical-padding: 20px;
|
--editor-vertical-padding: 5px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -218,8 +218,8 @@
|
||||||
}
|
}
|
||||||
@media (min-width: 1001px) {
|
@media (min-width: 1001px) {
|
||||||
.full-width-editor {
|
.full-width-editor {
|
||||||
--editor-horizontal-padding: 35px !important;
|
--editor-horizontal-padding: 20px !important;
|
||||||
--editor-vertical-padding: 20px !important;
|
--editor-vertical-padding: 5px !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.full-width-editor ::-webkit-scrollbar-track,
|
.full-width-editor ::-webkit-scrollbar-track,
|
||||||
|
|
|
@ -5,6 +5,9 @@
|
||||||
#font-color {
|
#font-color {
|
||||||
display: list-item !important;
|
display: list-item !important;
|
||||||
}
|
}
|
||||||
|
.readonly #font-color {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
.color\:black,
|
.color\:black,
|
||||||
[data-color=black] {
|
[data-color=black] {
|
||||||
|
|
|
@ -146,10 +146,7 @@
|
||||||
<label for="viewfontmenu" data-l10n-id="pad.settings.fontType">Font type:</label>
|
<label for="viewfontmenu" data-l10n-id="pad.settings.fontType">Font type:</label>
|
||||||
<select id="viewfontmenu">
|
<select id="viewfontmenu">
|
||||||
<option value="" data-l10n-id="pad.settings.fontType.normal">Normal</option>
|
<option value="" data-l10n-id="pad.settings.fontType.normal">Normal</option>
|
||||||
<%= fonts = [
|
<%= fonts = ["Quicksand", "Roboto", "Alegreya", "PlayfairDisplay", "Montserrat", "OpenDyslexic", "RobotoMono"] %>
|
||||||
"Quicksand", "Roboto", "Montserrat", "OpenDyslexic", "monospace", "RobotoMono",
|
|
||||||
"Arial", "Georgia", "Times New Roman", "Verdana", "Courrier New",
|
|
||||||
"Open Sans", "Lato", "Helvetica" ] %>
|
|
||||||
<% for(var i=0; i < fonts.length; i++) { %>
|
<% for(var i=0; i < fonts.length; i++) { %>
|
||||||
<option value="<%=fonts[i]%>"><%=fonts[i]%></option>
|
<option value="<%=fonts[i]%>"><%=fonts[i]%></option>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
|
@ -229,10 +229,7 @@
|
||||||
<label for="viewfontmenu" data-l10n-id="pad.settings.fontType">Font type:</label>
|
<label for="viewfontmenu" data-l10n-id="pad.settings.fontType">Font type:</label>
|
||||||
<select id="viewfontmenu">
|
<select id="viewfontmenu">
|
||||||
<option value="" data-l10n-id="pad.settings.fontType.normal">Normal</option>
|
<option value="" data-l10n-id="pad.settings.fontType.normal">Normal</option>
|
||||||
<%= fonts = [
|
<%= fonts = ["Quicksand", "Roboto", "Alegreya", "PlayfairDisplay", "Montserrat", "OpenDyslexic", "RobotoMono"] %>
|
||||||
"Quicksand", "Roboto", "Montserrat", "OpenDyslexic", "monospace", "RobotoMono",
|
|
||||||
"Arial", "Georgia", "Times New Roman", "Verdana", "Courrier New",
|
|
||||||
"Open Sans", "Lato", "Helvetica" ] %>
|
|
||||||
<% for(var i=0; i < fonts.length; i++) { %>
|
<% for(var i=0; i < fonts.length; i++) { %>
|
||||||
<option value="<%=fonts[i]%>"><%=fonts[i]%></option>
|
<option value="<%=fonts[i]%>"><%=fonts[i]%></option>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
Loading…
Reference in a new issue