[DE] added caption for some buttons
This commit is contained in:
parent
357bcc9061
commit
63da5b2483
|
@ -468,12 +468,14 @@ define([
|
|||
this.btnPrev = new Common.UI.Button({
|
||||
cls: 'btn-toolbar',
|
||||
iconCls: 'img-commonctrl review-prev',
|
||||
caption: this.txtPrev,
|
||||
value: 1
|
||||
});
|
||||
|
||||
this.btnNext = new Common.UI.Button({
|
||||
cls: 'btn-toolbar',
|
||||
iconCls: 'img-commonctrl review-next',
|
||||
caption: this.txtNext,
|
||||
value: 2
|
||||
});
|
||||
|
||||
|
@ -517,6 +519,8 @@ define([
|
|||
cls: 'btn-toolbar',
|
||||
iconCls: 'img-commonctrl review-close'
|
||||
// hint: this.txtClose,
|
||||
iconCls: 'img-commonctrl review-close',
|
||||
caption: this.txtTurnon
|
||||
});
|
||||
|
||||
var me = this;
|
||||
|
|
|
@ -121,31 +121,69 @@
|
|||
<section class="panel" data-tab="ins">
|
||||
<div class="group">
|
||||
<div class="elset">
|
||||
<span class="btn-slot split" id="slot-btn-pagebreak"></span>
|
||||
<span class="btn-slot split" id="slot-btn-insimage"></span>
|
||||
<span class="btn-slot split" id="slot-btn-inschart"></span>
|
||||
<span class="btn-slot split" id="slot-btn-instext"></span>
|
||||
<span class="btn-slot split" id="slot-btn-insequation"></span>
|
||||
<span class="btn-slot split" id="slot-btn-dropcap"></span>
|
||||
<span class="btn-slot text" id="slot-btn-pagebreak"></span>
|
||||
</div>
|
||||
<div class="elset">
|
||||
<span class="btn-slot text" id="slot-btn-editheader"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="separator long"></div>
|
||||
<div class="group">
|
||||
<div class="elset">
|
||||
<span class="btn-slot text" id="slot-btn-insimage"></span>
|
||||
</div>
|
||||
<div class="elset">
|
||||
<span class="btn-slot text" id="slot-btn-instable"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="group">
|
||||
<div class="elset">
|
||||
<span class="btn-slot text" id="slot-btn-inschart"></span>
|
||||
</div>
|
||||
<div class="elset">
|
||||
<span class="btn-slot text" id="slot-btn-inshyperlink"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="group">
|
||||
<div class="elset">
|
||||
<span class="btn-slot text" id="slot-btn-instext"></span>
|
||||
</div>
|
||||
<div class="elset">
|
||||
<span class="btn-slot text" id="slot-btn-insshape"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="separator long"></div>
|
||||
<div class="group">
|
||||
<div class="elset">
|
||||
<span class="btn-slot text" id="slot-btn-dropcap"></span>
|
||||
</div>
|
||||
<div class="elset">
|
||||
<span class="btn-slot text" id="slot-btn-insequation"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="group">
|
||||
<div class="elset">
|
||||
<span class="btn-slot text" id="slot-btn-notes"></span>
|
||||
</div>
|
||||
<div class="elset">
|
||||
<span class="btn-slot split" id="slot-btn-editheader"></span>
|
||||
<span class="btn-slot split" id="slot-btn-instable"></span>
|
||||
<span class="btn-slot split" id="slot-btn-inshyperlink"></span>
|
||||
<span class="btn-slot split" id="slot-btn-insshape"></span>
|
||||
<span class="btn-slot split" id="slot-btn-notes"></span>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="panel" data-tab="layout">
|
||||
<div class="group">
|
||||
<div class="elset">
|
||||
<span class="btn-slot split" id="slot-btn-pageorient"></span>
|
||||
<span class="btn-slot split" id="slot-btn-pagemargins"></span>
|
||||
<span class="btn-slot text" id="slot-btn-pageorient"></span>
|
||||
</div>
|
||||
<div class="elset">
|
||||
<span class="btn-slot split" id="slot-btn-pagesize"></span>
|
||||
<span class="btn-slot split" id="slot-btn-columns"></span>
|
||||
<span class="btn-slot text" id="slot-btn-pagesize"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="group">
|
||||
<div class="elset">
|
||||
<span class="btn-slot text" id="slot-btn-pagemargins"></span>
|
||||
</div>
|
||||
<div class="elset">
|
||||
<span class="btn-slot text" id="slot-btn-columns"></span>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
@ -581,6 +581,7 @@ define([
|
|||
id: 'id-toolbar-btn-inserttable',
|
||||
cls: 'btn-toolbar',
|
||||
iconCls: 'btn-inserttable',
|
||||
caption: me.capBtnInsTable,
|
||||
menu: new Common.UI.Menu({
|
||||
items: [
|
||||
{template: _.template('<div id="id-toolbar-menu-tablepicker" class="dimension-picker" style="margin: 5px 10px;"></div>')},
|
||||
|
@ -594,6 +595,7 @@ define([
|
|||
id: 'id-toolbar-btn-insertimage',
|
||||
cls: 'btn-toolbar',
|
||||
iconCls: 'btn-insertimage',
|
||||
caption: me.capBtnInsImage,
|
||||
menu: new Common.UI.Menu({
|
||||
items: [
|
||||
{caption: this.mniImageFromFile, value: 'file'},
|
||||
|
@ -606,6 +608,7 @@ define([
|
|||
this.btnInsertChart = new Common.UI.Button({
|
||||
id: 'id-toolbar-btn-insertchart',
|
||||
cls: 'btn-toolbar',
|
||||
caption: me.capBtnInsChart,
|
||||
iconCls: 'btn-insertchart',
|
||||
menu: new Common.UI.Menu({
|
||||
style: 'width: 435px;',
|
||||
|
@ -620,6 +623,7 @@ define([
|
|||
id: 'id-toolbar-btn-inserttext',
|
||||
cls: 'btn-toolbar',
|
||||
iconCls: 'btn-text',
|
||||
caption: me.capBtnInsTextbox,
|
||||
enableToggle: true,
|
||||
split: true,
|
||||
menu: new Common.UI.Menu({
|
||||
|
@ -646,6 +650,7 @@ define([
|
|||
cls: 'btn-toolbar',
|
||||
iconCls: 'btn-pagebreak',
|
||||
split: true,
|
||||
caption: me.capBtnInsPagebreak,
|
||||
menu: true
|
||||
});
|
||||
this.paragraphControls.push(this.btnInsertPageBreak);
|
||||
|
@ -653,6 +658,7 @@ define([
|
|||
this.btnInsertHyperlink = new Common.UI.Button({
|
||||
id: 'id-toolbar-btn-inserthyperlink',
|
||||
cls: 'btn-toolbar',
|
||||
caption: me.capBtnInsLink,
|
||||
iconCls: 'btn-inserthyperlink'
|
||||
});
|
||||
this.paragraphControls.push(this.btnInsertHyperlink);
|
||||
|
@ -661,6 +667,7 @@ define([
|
|||
id: 'id-toolbar-btn-editheader',
|
||||
cls: 'btn-toolbar',
|
||||
iconCls: 'btn-editheader',
|
||||
caption: me.capBtnInsHeader,
|
||||
menu: true
|
||||
});
|
||||
this.mnuPageNumberPosPicker = {
|
||||
|
@ -683,6 +690,7 @@ define([
|
|||
id: 'id-toolbar-btn-insertshape',
|
||||
cls: 'btn-toolbar',
|
||||
iconCls: 'btn-insertshape',
|
||||
caption: me.capBtnInsShape,
|
||||
enableToggle: true,
|
||||
menu: new Common.UI.Menu({cls: 'menu-shapes'})
|
||||
});
|
||||
|
@ -692,6 +700,7 @@ define([
|
|||
id: 'id-toolbar-btn-insertequation',
|
||||
cls: 'btn-toolbar',
|
||||
iconCls: 'btn-insertequation',
|
||||
caption: me.capBtnInsEquation,
|
||||
split: true,
|
||||
menu: new Common.UI.Menu({cls: 'menu-shapes'})
|
||||
});
|
||||
|
@ -701,6 +710,7 @@ define([
|
|||
id: 'id-toolbar-btn-dropcap',
|
||||
cls: 'btn-toolbar',
|
||||
iconCls: 'btn-dropcap',
|
||||
caption: me.capBtnInsDropcap,
|
||||
menu: new Common.UI.Menu({
|
||||
cls: 'ppm-toolbar',
|
||||
items: [
|
||||
|
@ -737,6 +747,7 @@ define([
|
|||
id: 'id-toolbar-btn-columns',
|
||||
cls: 'btn-toolbar',
|
||||
iconCls: 'btn-columns',
|
||||
caption: me.capBtnColumns,
|
||||
menu: new Common.UI.Menu({
|
||||
cls: 'ppm-toolbar',
|
||||
items: [
|
||||
|
@ -784,6 +795,7 @@ define([
|
|||
id: 'id-toolbar-btn-pageorient',
|
||||
cls: 'btn-toolbar',
|
||||
iconCls: 'btn-pageorient',
|
||||
caption: me.capBtnPageOrient,
|
||||
menu: new Common.UI.Menu({
|
||||
cls: 'ppm-toolbar',
|
||||
items: [
|
||||
|
@ -819,6 +831,7 @@ define([
|
|||
id: 'id-toolbar-btn-pagemargins',
|
||||
cls: 'btn-toolbar',
|
||||
iconCls: 'btn-pagemargins',
|
||||
caption: me.capBtnMargins,
|
||||
menu: new Common.UI.Menu({
|
||||
items: [
|
||||
{
|
||||
|
@ -877,6 +890,7 @@ define([
|
|||
id: 'id-toolbar-btn-pagesize',
|
||||
cls: 'btn-toolbar',
|
||||
iconCls: 'btn-pagesize',
|
||||
caption: me.capBtnPageSize,
|
||||
menu: new Common.UI.Menu({
|
||||
items: [
|
||||
{
|
||||
|
@ -1048,6 +1062,7 @@ define([
|
|||
id: 'id-toolbar-btn-notes',
|
||||
cls: 'btn-toolbar',
|
||||
iconCls: 'btn-notes',
|
||||
caption: 'Footnotes',
|
||||
split: true,
|
||||
menu: true
|
||||
});
|
||||
|
|
|
@ -180,11 +180,14 @@
|
|||
"Common.Views.ReviewChanges.txtAcceptAll": "Accept All Changes",
|
||||
"Common.Views.ReviewChanges.txtAcceptCurrent": "Accept Current Change",
|
||||
"Common.Views.ReviewChanges.txtClose": "Close",
|
||||
"Common.Views.ReviewChanges.txtNext": "To Next Change",
|
||||
"Common.Views.ReviewChanges.txtPrev": "To Previous Change",
|
||||
"Common.Views.ReviewChanges.hintNext": "To Next Change",
|
||||
"Common.Views.ReviewChanges.hintPrev": "To Previous Change",
|
||||
"Common.Views.ReviewChanges.txtReject": "Reject",
|
||||
"Common.Views.ReviewChanges.txtRejectAll": "Reject All Changes",
|
||||
"Common.Views.ReviewChanges.txtRejectCurrent": "Reject Current Change",
|
||||
"Common.Views.ReviewChanges.txtPrev": "Previous",
|
||||
"Common.Views.ReviewChanges.txtNext": "Next",
|
||||
"Common.Views.ReviewChanges.txtTurnon": "Turn On",
|
||||
"DE.Controllers.LeftMenu.leavePageText": "All unsaved changes in this document will be lost.<br> Click \"Cancel\" then \"Save\" to save them. Click \"OK\" to discard all the unsaved changes.",
|
||||
"DE.Controllers.LeftMenu.newDocumentTitle": "Unnamed document",
|
||||
"DE.Controllers.LeftMenu.notcriticalErrorTitle": "Warning",
|
||||
|
@ -1580,6 +1583,21 @@
|
|||
"DE.Views.Toolbar.tipSynchronize": "The document has been changed by another user. Please click to save your changes and reload the updates.",
|
||||
"DE.Views.Toolbar.tipUndo": "Undo",
|
||||
"DE.Views.Toolbar.tipViewSettings": "View Settings",
|
||||
"DE.Views.Toolbar.capBtnInsPagebreak": "Page Break",
|
||||
"DE.Views.Toolbar.capBtnInsImage": "Picture",
|
||||
"DE.Views.Toolbar.capBtnInsTable": "Table",
|
||||
"DE.Views.Toolbar.capBtnInsChart": "Chart",
|
||||
"DE.Views.Toolbar.capBtnInsLink": "Hyperlink",
|
||||
"DE.Views.Toolbar.capBtnInsShape": "Shape",
|
||||
"DE.Views.Toolbar.capBtnInsTextbox": "Text",
|
||||
"DE.Views.Toolbar.capBtnInsDropcap": "Drop Cap",
|
||||
"DE.Views.Toolbar.capBtnInsFootnote": "Footnotes",
|
||||
"DE.Views.Toolbar.capBtnInsEquation": "Equation",
|
||||
"DE.Views.Toolbar.capBtnInsHeader": "Headers/Footers",
|
||||
"DE.Views.Toolbar.capBtnColumns": "Columns",
|
||||
"DE.Views.Toolbar.capBtnPageOrient": "Orientation",
|
||||
"DE.Views.Toolbar.capBtnMargins": "Margins",
|
||||
"DE.Views.Toolbar.capBtnPageSize": "Size",
|
||||
"DE.Views.Toolbar.txtScheme1": "Office",
|
||||
"DE.Views.Toolbar.txtScheme10": "Median",
|
||||
"DE.Views.Toolbar.txtScheme11": "Metro",
|
||||
|
|
|
@ -203,6 +203,10 @@
|
|||
width: 28px;
|
||||
}
|
||||
|
||||
&.text {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
&.border {
|
||||
border: 1px solid @gray;
|
||||
.border-radius(1px);
|
||||
|
|
Loading…
Reference in a new issue