425 lines
22 KiB
Plaintext
425 lines
22 KiB
Plaintext
<!-- Root view -->
|
|
<div id="edit-text-root">
|
|
<div class="list-block">
|
|
<ul>
|
|
<li><a id="font-fonts" class="item-link">
|
|
<div class="item-content">
|
|
<div class="item-inner">
|
|
<div class="item-title"><%= scope.textFonts %></div>
|
|
<div class="item-after" style="color: #000;"><span></span><span style="margin-left: 5px;"></span></div>
|
|
</div>
|
|
</div></a></li>
|
|
<li><div class="item-content buttons">
|
|
<div class="item-inner">
|
|
<div class="row">
|
|
<a id="font-bold" class="button"><b><%= scope.textCharacterBold %></b></a>
|
|
<a id="font-italic" class="button"><i><%= scope.textCharacterItalic %></i></a>
|
|
<a id="font-underline" class="button" style="text-decoration: underline;"><%= scope.textCharacterUnderline %></a>
|
|
<a id="font-strikethrough" class="button" style="text-decoration: line-through"><%= scope.textCharacterStrikethrough %></a>
|
|
</div>
|
|
</div>
|
|
</div></li>
|
|
<li>
|
|
<a id="font-color" class="item-link">
|
|
<div class="item-content">
|
|
<% if (!android) { %><div class="item-media"><i class="icon icon-text-color"><span class="color-preview"></span></i></div><% } %>
|
|
<div class="item-inner">
|
|
<div class="item-title"><%= scope.textFontColor %></div>
|
|
<% if (android) { %><div class="item-after"><div class="color-preview"></div></div><% } %>
|
|
</div>
|
|
</div>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a id="font-additional" class="item-link">
|
|
<div class="item-content">
|
|
<% if (!android) { %><div class="item-media"><i class="icon icon-text-additional"></i></div><% } %>
|
|
<div class="item-inner">
|
|
<div class="item-title"><%= scope.textAdditionalFormat %></div>
|
|
</div>
|
|
</div>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="list-block edit-paragraph">
|
|
<ul>
|
|
<li><div id="paragraph-align" class="item-content buttons">
|
|
<div class="item-inner">
|
|
<div class="row">
|
|
<a id="font-left" class="button no-ripple"><i class="icon icon-text-align-left"></i></a>
|
|
<a id="font-center" class="button no-ripple"><i class="icon icon-text-align-center"></i></a>
|
|
<a id="font-right" class="button no-ripple"><i class="icon icon-text-align-right"></i></a>
|
|
<a id="font-just" class="button no-ripple"><i class="icon icon-text-align-jast"></i></a>
|
|
</div>
|
|
</div>
|
|
</div></li>
|
|
<li><div id="paragraph-valign" class="item-content buttons">
|
|
<div class="item-inner">
|
|
<div class="row">
|
|
<a id="font-top" class="button no-ripple"><i class="icon icon-text-valign-top"></i></a>
|
|
<a id="font-middle" class="button no-ripple"><i class="icon icon-text-valign-middle"></i></a>
|
|
<a id="font-bottom" class="button no-ripple"><i class="icon icon-text-valign-bottom"></i></a>
|
|
</div>
|
|
</div>
|
|
</div></li>
|
|
<li><div class="item-content buttons">
|
|
<div class="item-inner">
|
|
<div class="row">
|
|
<a id="font-moveleft" class="button no-ripple"><i class="icon icon-de-indent"></i></a>
|
|
<a id="font-moveright" class="button no-ripple"><i class="icon icon-in-indent"></i></a>
|
|
</div>
|
|
</div>
|
|
</div></li>
|
|
<li><a id="font-bullets" class="item-link">
|
|
<div class="item-content">
|
|
<% if (!android) { %><div class="item-media"><i class="icon icon-bullets"></i></div><% } %>
|
|
<div class="item-inner">
|
|
<div class="item-title"><%= scope.textBullets %></div>
|
|
</div>
|
|
</div></a></li>
|
|
<li><a id="font-numbers" class="item-link">
|
|
<div class="item-content">
|
|
<% if (!android) { %><div class="item-media"><i class="icon icon-numbers"></i></div><% } %>
|
|
<div class="item-inner">
|
|
<div class="item-title"><%= scope.textNumbers %></div>
|
|
</div>
|
|
</div></a></li>
|
|
<li><a id="font-line-spacing" class="item-link">
|
|
<div class="item-content">
|
|
<% if (!android) { %><div class="item-media"><i class="icon icon-linespacing"></i></div><% } %>
|
|
<div class="item-inner">
|
|
<div class="item-title"><%= scope.textLineSpacing %></div>
|
|
</div>
|
|
</div></a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="content-block-title edit-paragraph"><%= scope.textFromText %></div>
|
|
<div class="list-block edit-paragraph">
|
|
<ul>
|
|
<li id="paragraph-distance-before">
|
|
<div class="item-content">
|
|
<div class="item-inner">
|
|
<div class="item-title"><%= scope.textBefore %></div>
|
|
<div class="item-after splitter">
|
|
<% if (!android) { %><label><%= scope.textAuto %></label><% } %>
|
|
<p class="buttons-row">
|
|
<span class="button decrement no-ripple"><% if (android) { %><i class="icon icon-expand-down"></i><% } else { %>-<% } %></span>
|
|
<% if (android) { %><label><%= scope.textAuto %></label><% } %>
|
|
<span class="button increment no-ripple"><% if (android) { %><i class="icon icon-expand-up"></i><% } else { %>+<% } %></span>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
<li id="paragraph-distance-after">
|
|
<div class="item-content">
|
|
<div class="item-inner">
|
|
<div class="item-title"><%= scope.textAfter %></div>
|
|
<div class="item-after splitter">
|
|
<% if (!android) { %><label><%= scope.textAuto %></label><% } %>
|
|
<p class="buttons-row">
|
|
<span class="button decrement no-ripple"><% if (android) { %><i class="icon icon-expand-down"></i><% } else { %>-<% } %></span>
|
|
<% if (android) { %><label><%= scope.textAuto %></label><% } %>
|
|
<span class="button increment no-ripple"><% if (android) { %><i class="icon icon-expand-up"></i><% } else { %>+<% } %></span>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Fonts view -->
|
|
<div id="edit-text-fonts">
|
|
<div class="navbar">
|
|
<div class="navbar-inner">
|
|
<div class="left sliding"><a href="#" class="back link"><i class="icon icon-back"></i><% if (!android) { %><span><%= scope.textBack %></span><% } %></a></div>
|
|
<div class="center sliding"><%= scope.textFonts %></div>
|
|
<div class="right"><% if (phone) { %><a href="#" class="link icon-only close-picker"><i class="icon icon-expand-down"></i></a><% } %></div>
|
|
</div>
|
|
</div>
|
|
<div class="page" data-page="edit-text-font-page">
|
|
<div class="page-content">
|
|
<div class="list-block">
|
|
<ul>
|
|
<li id="font-size">
|
|
<div class="item-content">
|
|
<div class="item-inner">
|
|
<div class="item-title"><%= scope.textSize %></div>
|
|
<div class="item-after splitter">
|
|
<% if (!android) { %><label></label><% } %>
|
|
<p class="buttons-row">
|
|
<span class="button decrement no-ripple"><% if (android) { %><i class="icon icon-expand-down"></i><% } else { %>-<% } %></span>
|
|
<% if (android) { %><label></label><% } %>
|
|
<span class="button increment no-ripple"><% if (android) { %><i class="icon icon-expand-up"></i><% } else { %>+<% } %></span>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="content-block-title"><%= scope.textFonts %></div>
|
|
<div id="font-list" class="list-block virtual-list">
|
|
<!-- Fonts List -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Font color view -->
|
|
<div id="edit-text-color">
|
|
<div class="navbar">
|
|
<div class="navbar-inner">
|
|
<div class="left sliding"><a href="#" class="back link"> <i class="icon icon-back"></i><% if (!android) { %><span><%= scope.textBack %></span><% } %></a></a></div>
|
|
<div class="center sliding"><%= scope.textFontColors %></div>
|
|
<div class="right"><% if (phone) { %><a href="#" class="link icon-only close-picker"><i class="icon icon-expand-down"></i></a><% } %></div>
|
|
</div>
|
|
</div>
|
|
<div class="page" data-page="edit-text-font-color">
|
|
<div class="page-content">
|
|
<div class="list-block" style="<% if (!android) { %>margin-bottom: -36px;<% } %>">
|
|
<ul>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Additional view -->
|
|
<div id="edit-text-additional">
|
|
<div class="navbar">
|
|
<div class="navbar-inner">
|
|
<div class="left sliding"><a href="#" class="back link"> <i class="icon icon-back"></i><% if (!android) { %><span><%= scope.textBack %></span><% } %></a></a></div>
|
|
<div class="center sliding"><%= scope.textAdditional %></div>
|
|
<div class="right"><% if (phone) { %><a href="#" class="link icon-only close-picker"><i class="icon icon-expand-down"></i></a><% } %></div>
|
|
</div>
|
|
</div>
|
|
<div class="page" id="page-text-additional" data-page="edit-text-additional">
|
|
<div class="page-content">
|
|
<div class="list-block" id="text-additional">
|
|
<ul>
|
|
<li>
|
|
<label class="label-radio item-content">
|
|
<input type="radio" name="text-strikethrough" value="strikethrough">
|
|
<% if (android) { %><div class="item-media"><i class="icon icon-form-radio"></i></div><% } %>
|
|
<div class="item-inner">
|
|
<div class="item-title"><%= scope.textStrikethrough %></div>
|
|
</div>
|
|
</label>
|
|
</li>
|
|
<li>
|
|
<label class="label-radio item-content">
|
|
<input type="radio" name="text-strikethrough" value="double-strikethrough">
|
|
<% if (android) { %><div class="item-media"><i class="icon icon-form-radio"></i></div><% } %>
|
|
<div class="item-inner">
|
|
<div class="item-title"><%= scope.textDblStrikethrough %></div>
|
|
</div>
|
|
</label>
|
|
</li>
|
|
<li>
|
|
<label class="label-radio item-content">
|
|
<input type="radio" name="text-script" value="superscript">
|
|
<% if (android) { %><div class="item-media"><i class="icon icon-form-radio"></i></div><% } %>
|
|
<div class="item-inner">
|
|
<div class="item-title"><%= scope.textDblSuperscript %></div>
|
|
</div>
|
|
</label>
|
|
</li>
|
|
<li>
|
|
<label class="label-radio item-content">
|
|
<input type="radio" name="text-script" value="subscript">
|
|
<% if (android) { %><div class="item-media"><i class="icon icon-form-radio"></i></div><% } %>
|
|
<div class="item-inner">
|
|
<div class="item-title"><%= scope.textSubscript %></div>
|
|
</div>
|
|
</label>
|
|
</li>
|
|
<li>
|
|
<label class="label-radio item-content">
|
|
<input type="radio" name="text-caps" value="small">
|
|
<% if (android) { %><div class="item-media"><i class="icon icon-form-radio"></i></div><% } %>
|
|
<div class="item-inner">
|
|
<div class="item-title"><%= scope.textSmallCaps %></div>
|
|
</div>
|
|
</label>
|
|
</li>
|
|
<li>
|
|
<label class="label-radio item-content">
|
|
<input type="radio" name="text-caps" value="all">
|
|
<% if (android) { %><div class="item-media"><i class="icon icon-form-radio"></i></div><% } %>
|
|
<div class="item-inner">
|
|
<div class="item-title"><%= scope.textAllCaps %></div>
|
|
</div>
|
|
</label>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="list-block">
|
|
<ul>
|
|
<li id="letter-spacing">
|
|
<div class="item-content">
|
|
<div class="item-inner">
|
|
<div class="item-title"><%= scope.textLetterSpacing %></div>
|
|
<div class="item-after splitter">
|
|
<% if (!android) { %><label></label><% } %>
|
|
<p class="buttons-row">
|
|
<span class="button decrement no-ripple"><% if (android) { %><i class="icon icon-expand-down"></i><% } else { %>-<% } %></span>
|
|
<% if (android) { %><label></label><% } %>
|
|
<span class="button increment no-ripple"><% if (android) { %><i class="icon icon-expand-up"></i><% } else { %>+<% } %></span>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="edit-text-linespacing">
|
|
<div class="navbar">
|
|
<div class="navbar-inner">
|
|
<div class="left sliding"><a href="#" class="back link"> <i class="icon icon-back"></i><% if (!android) { %><span><%= scope.textBack %></span><% } %></a></a></div>
|
|
<div class="center sliding"><%= scope.textLineSpacing %></div>
|
|
<div class="right"><% if (phone) { %><a href="#" class="link icon-only close-picker"><i class="icon icon-expand-down"></i></a><% } %></div>
|
|
</div>
|
|
</div>
|
|
<div class="page" id="page-text-linespacing" data-page="edit-text-additional">
|
|
<div class="page-content">
|
|
<div class="list-block">
|
|
<ul>
|
|
<li>
|
|
<label class="label-radio item-content">
|
|
<input type="radio" name="line-spacing" value="1">
|
|
<% if (android) { %><div class="item-media"><i class="icon icon-form-radio"></i></div><% } %>
|
|
<div class="item-inner">
|
|
<div class="item-title">1.0</div>
|
|
</div>
|
|
</label>
|
|
</li>
|
|
<li>
|
|
<label class="label-radio item-content">
|
|
<input type="radio" name="line-spacing" value="1.15">
|
|
<% if (android) { %><div class="item-media"><i class="icon icon-form-radio"></i></div><% } %>
|
|
<div class="item-inner">
|
|
<div class="item-title">1.15</div>
|
|
</div>
|
|
</label>
|
|
</li>
|
|
<li>
|
|
<label class="label-radio item-content">
|
|
<input type="radio" name="line-spacing" value="1.5">
|
|
<% if (android) { %><div class="item-media"><i class="icon icon-form-radio"></i></div><% } %>
|
|
<div class="item-inner">
|
|
<div class="item-title">1.5</div>
|
|
</div>
|
|
</label>
|
|
</li>
|
|
<li>
|
|
<label class="label-radio item-content">
|
|
<input type="radio" name="line-spacing" value="2">
|
|
<% if (android) { %><div class="item-media"><i class="icon icon-form-radio"></i></div><% } %>
|
|
<div class="item-inner">
|
|
<div class="item-title">2.0</div>
|
|
</div>
|
|
</label>
|
|
</li>
|
|
<li>
|
|
<label class="label-radio item-content">
|
|
<input type="radio" name="line-spacing" value="2.5">
|
|
<% if (android) { %><div class="item-media"><i class="icon icon-form-radio"></i></div><% } %>
|
|
<div class="item-inner">
|
|
<div class="item-title">2.5</div>
|
|
</div>
|
|
</label>
|
|
</li>
|
|
<li>
|
|
<label class="label-radio item-content">
|
|
<input type="radio" name="line-spacing" value="3">
|
|
<% if (android) { %><div class="item-media"><i class="icon icon-form-radio"></i></div><% } %>
|
|
<div class="item-inner">
|
|
<div class="item-title">3.0</div>
|
|
</div>
|
|
</label>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Bullets view -->
|
|
<div id="edit-text-bullets">
|
|
<div class="navbar">
|
|
<div class="navbar-inner">
|
|
<div class="left sliding"><a href="#" class="back link"> <i class="icon icon-back"></i><% if (!android) { %><span><%= scope.textBack %></span><% } %></a></a></div>
|
|
<div class="center sliding"><%= scope.textBullets %></div>
|
|
<div class="right"><% if (phone) { %><a href="#" class="link icon-only close-picker"><i class="icon icon-expand-down"></i></a><% } %></div>
|
|
</div>
|
|
</div>
|
|
<div class="page" id="page-text-bullets">
|
|
<div class="page-content dataview bullets">
|
|
<% _.each(bullets, function(row) { %>
|
|
<ul class="row">
|
|
<% _.each(row, function(bullet) { %>
|
|
<li data-type="<%= bullet.type %>">
|
|
<% if (bullet.thumb.length < 1) { %>
|
|
<div class="thumb" style="position: relative;"><label><%= scope.textNone %></label></div>
|
|
<% } else { %>
|
|
<div class="thumb" style="background-image:url('../mobile/resources/img/bullets/<%= bullet.thumb %>')"></div>
|
|
<% } %>
|
|
</li>
|
|
<% }); %>
|
|
</ul>
|
|
<% }); %>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Numbers view -->
|
|
<div id="edit-text-numbers">
|
|
<div class="navbar">
|
|
<div class="navbar-inner">
|
|
<div class="left sliding"><a href="#" class="back link"> <i class="icon icon-back"></i><% if (!android) { %><span><%= scope.textBack %></span><% } %></a></a></div>
|
|
<div class="center sliding"><%= scope.textNumbers %></div>
|
|
<div class="right"><% if (phone) { %><a href="#" class="link icon-only close-picker"><i class="icon icon-expand-down"></i></a><% } %></div>
|
|
</div>
|
|
</div>
|
|
<div class="page" id="page-text-numbers">
|
|
<div class="page-content dataview numbers">
|
|
<% _.each(numbers, function(row) { %>
|
|
<ul class="row">
|
|
<% _.each(row, function(number) { %>
|
|
<li data-type="<%= number.type %>">
|
|
<% if (number.thumb.length < 1) { %>
|
|
<div class="thumb" style="position: relative;"><label><%= scope.textNone %></label></div>
|
|
<% } else { %>
|
|
<div class="thumb" style="background-image:url('../mobile/resources/img/numbers/<%= number.thumb %>')"></div>
|
|
<% } %>
|
|
</li>
|
|
<% }); %>
|
|
</ul>
|
|
<% }); %>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Custom color view -->
|
|
<div id="edit-text-custom-color-view">
|
|
<div class="navbar">
|
|
<div class="navbar-inner" data-page="edit-text-custom-color">
|
|
<div class="left sliding"><a href="#" class="back link"><i class="icon icon-back"></i><% if (!android) { %><span><%= scope.textBack %></span><% } %></a></div>
|
|
<div class="center sliding"><%= scope.textCustomColor %></div>
|
|
<div class="right"><% if (phone) { %><a href="#" class="link icon-only close-picker"><i class="icon icon-expand-down"></i></a><% } %></div>
|
|
</div>
|
|
</div>
|
|
<div class="page" data-page="edit-text-custom-color">
|
|
<div class="page-content">
|
|
<!--Color HSB palette-->
|
|
</div>
|
|
</div>
|
|
</div> |