Improve output: distinguish between failed assertions (failures) and unexpected exceptions (errors), and print a filtered stack trace for any exception.
24
webapp/web/src/widget/templates/DemoEngine.html
Normal file
|
@ -0,0 +1,24 @@
|
|||
<div dojoAttachPoint="domNode">
|
||||
<div dojoAttachPoint="navigationNode">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td width="1%" valign="top" class="navigationCell"><h1>Categories</h1><div dojoAttachPoint="menuNavigationNode"></div></td>
|
||||
<td width="99%" valign="top">
|
||||
<div dojoAttachPoint="demoNavigationNode">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div dojoAttachPoint="demoContainerNode">
|
||||
|
||||
<div dojoAttachPoint="demoPaneNode">
|
||||
</div>
|
||||
|
||||
<div dojoAttachPoint="demoHeaderNode">
|
||||
<span dojoAttachPoint="collapsedMenuNode" dojoAttachEvent="onclick: expandDemoNavigation"></span>
|
||||
<div dojoAttachPoint="aboutNode">About this Demo</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
59
webapp/web/src/widget/templates/HtmlButtonTemplate.css
Normal file
|
@ -0,0 +1,59 @@
|
|||
/* ---- button --- */
|
||||
.dojoButton {
|
||||
padding: 0 0 0 0;
|
||||
font-size: 8pt;
|
||||
white-space: nowrap;
|
||||
cursor: pointer;
|
||||
font-family: Myriad, Tahoma, Verdana, sans-serif;
|
||||
}
|
||||
|
||||
.dojoButton .dojoButtonContents {
|
||||
padding: 2px 2px 2px 2px;
|
||||
text-align: center; /* if icon and label are split across two lines, center icon */
|
||||
color: white;
|
||||
}
|
||||
|
||||
.dojoButtonLeftPart .dojoButtonContents {
|
||||
padding-right: 8px;
|
||||
}
|
||||
|
||||
.dojoButtonDisabled {
|
||||
cursor: url("images/no.gif"), default;
|
||||
}
|
||||
|
||||
|
||||
.dojoButtonContents img {
|
||||
vertical-align: middle; /* if icon and label are on same line, center them */
|
||||
}
|
||||
|
||||
/* -------- colors ------------ */
|
||||
|
||||
.dojoButtonHover .dojoButtonContents {
|
||||
}
|
||||
|
||||
.dojoButtonDepressed .dojoButtonContents {
|
||||
color: #293a4b;
|
||||
}
|
||||
|
||||
.dojoButtonDisabled .dojoButtonContents {
|
||||
color: #eeeeee;
|
||||
}
|
||||
|
||||
|
||||
/* ---------- drop down button specific ---------- */
|
||||
|
||||
/* border between label and arrow (for drop down buttons */
|
||||
.dojoButton .border {
|
||||
width: 1px;
|
||||
background: gray;
|
||||
}
|
||||
|
||||
/* button arrow */
|
||||
.dojoButton .downArrow {
|
||||
padding-left: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.dojoButton.disabled .downArrow {
|
||||
cursor : default;
|
||||
}
|
6
webapp/web/src/widget/templates/HtmlButtonTemplate.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
<div class="dojoButton" style="position:relative;" dojoAttachEvent="onMouseOver; onMouseOut; onMouseDown; onMouseUp; onClick:buttonClick;">
|
||||
<div class="dojoButtonContents" align=center dojoAttachPoint="containerNode" style="position:absolute;z-index:2;"></div>
|
||||
<img dojoAttachPoint="leftImage" style="position:absolute;left:0px;">
|
||||
<img dojoAttachPoint="centerImage" style="position:absolute;z-index:1;">
|
||||
<img dojoAttachPoint="rightImage" style="position:absolute;top:0px;right:0px;">
|
||||
</div>
|
6
webapp/web/src/widget/templates/HtmlCheckBox.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
<span>
|
||||
<input type="checkbox" name="${this.name}" checked="${this.checked}" tabIndex="${this.tabIndex}" style="display: none"
|
||||
dojoAttachPoint="inputNode">
|
||||
<img src='${this.imgSrc}' class='dojoHtmlCheckbox'
|
||||
dojoAttachPoint="imgNode" dojoAttachEvent="onMouseUp;onMouseOver;onMouseOut">
|
||||
</span>
|
12
webapp/web/src/widget/templates/HtmlCiviCrmDatePicker.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
<table cellpadding="0" cellspacing="0" border="0" width="400">
|
||||
<tr>
|
||||
<td id="dateHolderTd" width="200">
|
||||
</td>
|
||||
<td id="timeHolderTd" width="200">
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="display: none;" id="formItemsTr">
|
||||
<td id="formItemsTd"> </td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
</table>
|
40
webapp/web/src/widget/templates/HtmlComboBox.css
Normal file
|
@ -0,0 +1,40 @@
|
|||
input.dojoComboBoxInput {
|
||||
/* font-size: 0.8em; */
|
||||
border: 0px;
|
||||
|
||||
}
|
||||
|
||||
.dojoComboBoxOptions {
|
||||
font-family: Verdana, Helvetica, Garamond, sans-serif;
|
||||
/* font-size: 0.7em; */
|
||||
background-color: white;
|
||||
border: 1px solid #afafaf;
|
||||
position: absolute;
|
||||
z-index: 1000;
|
||||
overflow: auto;
|
||||
-moz-opacity: 0;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
table.dojoComboBox {
|
||||
border: 1px solid #afafaf;
|
||||
}
|
||||
|
||||
.dojoComboBoxItem {
|
||||
padding-left: 2px;
|
||||
padding-top: 2px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.dojoComboBoxItemEven {
|
||||
background-color: #f4f4f4;
|
||||
}
|
||||
|
||||
.dojoComboBoxItemOdd {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.dojoComboBoxItemHighlight {
|
||||
background-color: #63709A;
|
||||
color: white;
|
||||
}
|
34
webapp/web/src/widget/templates/HtmlComboBox.html
Normal file
|
@ -0,0 +1,34 @@
|
|||
<div style="position: relative; z-index: 100;">
|
||||
<input type="hidden" name="" value=""
|
||||
dojoAttachPoint="comboBoxValue">
|
||||
<input type="hidden" name="" value=""
|
||||
dojoAttachPoint="comboBoxSelectionValue">
|
||||
<table class="dojoComboBox"
|
||||
cellpadding="0"
|
||||
cellmargin="0"
|
||||
border="0"
|
||||
dojoAttachPoint="cbTableNode">
|
||||
<tr valign="top">
|
||||
<td width=100%>
|
||||
<input type="text" autocomplete="off" class="dojoComboBoxInput"
|
||||
dojoAttachEvent="keyDown: onKeyDown; keyUp: onKeyUp; keyPress: onKeyPress;"
|
||||
dojoAttachPoint="textInputNode"
|
||||
style="width: 100%;">
|
||||
</td>
|
||||
<td>
|
||||
<img border="0"
|
||||
hspace="0"
|
||||
vspace="0"
|
||||
dojoAttachPoint="downArrowNode"
|
||||
dojoAttachEvent="onMouseUp: handleArrowClick;"
|
||||
src="${dojoRoot}src/widget/templates/images/combo_box_arrow.png">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div dojoAttachPoint="optionsListWrapper" style="position:relative;" tabindex="-1">
|
||||
<div class="dojoComboBoxOptions" dojoAttachPoint="optionsListNode"
|
||||
dojoAttachEvent="onClick: selectOption; onMouseOver: _onMouseOver; onMouseOut: _onMouseOut;"
|
||||
style="display:none;" tabindex="-1">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
18
webapp/web/src/widget/templates/HtmlComboButtonTemplate.html
Normal file
|
@ -0,0 +1,18 @@
|
|||
<div class="dojoButton" style="position:relative;top:0px;left:0px; text-align:none;">
|
||||
|
||||
<div dojoAttachPoint="leftPart" class="dojoButtonLeftPart" style="position:absolute;left:0px;top:0px;"
|
||||
dojoAttachEvent="onMouseOver:leftOver; onMouseOut:leftOut; onMouseUp:leftUp; onClick:leftClick;">
|
||||
<div class="dojoButtonContents" dojoAttachPoint="containerNode" style="position:absolute;top:0px;right:0px;z-index:2;"></div>
|
||||
<img dojoAttachPoint="leftImage" style="position:absolute;left:0px;top:0px;">
|
||||
<img dojoAttachPoint="centerImage" style="position:absolute;right:0px;top:0px;z-index:1;">
|
||||
</div>
|
||||
|
||||
<div dojoAttachPoint="rightPart" class="dojoButtonRightPart" style="position:absolute;top:0px;right:0px;"
|
||||
dojoAttachEvent="onMouseOver:rightOver; onMouseOut:rightOut; onMouseUp:rightUp; onClick:rightClick;">
|
||||
<img dojoAttachPoint="arrowBackgroundImage" style="position:absolute;top:0px;left:0px;z-index:1;">
|
||||
<img src="${dojoRoot}src/widget/templates/images/whiteDownArrow.gif"
|
||||
style="z-index:2;position:absolute;left:3px;top:50%;">
|
||||
<img dojoAttachPoint="rightImage" style="position:absolute;top:0px;right:0px;">
|
||||
</div>
|
||||
|
||||
</div>
|
|
@ -0,0 +1,3 @@
|
|||
<ul class="dojoContextMenu"
|
||||
dojoAttachPoint="containerNode">
|
||||
</ul>
|
143
webapp/web/src/widget/templates/HtmlDatePicker.css
Normal file
|
@ -0,0 +1,143 @@
|
|||
.calendarContainer {
|
||||
/* border:1px solid #566f8f;*/
|
||||
}
|
||||
|
||||
.calendarBodyContainer {
|
||||
width:160px;
|
||||
background: #7591bc url("images/dpBg.gif") top left repeat-x;
|
||||
}
|
||||
|
||||
.calendarBodyContainer thead tr td {
|
||||
color:#293a4b;
|
||||
font:bold 0.75em Helvetica, Arial, Verdana, sans-serif;
|
||||
text-align:center;
|
||||
padding:0.25em;
|
||||
background: url("images/dpHorizLine.gif") bottom left repeat-x;
|
||||
}
|
||||
|
||||
.calendarBodyContainer tbody tr td {
|
||||
color:#fff;
|
||||
font:bold 0.7em Helvetica, Arial, Verdana, sans-serif;
|
||||
text-align:center;
|
||||
padding:0.4em;
|
||||
background: url("images/dpVertLine.gif") top right repeat-y;
|
||||
cursor:pointer;
|
||||
cursor:hand;
|
||||
}
|
||||
|
||||
|
||||
.monthWrapper {
|
||||
padding-bottom:2px;
|
||||
background: url("images/dpHorizLine.gif") bottom left repeat-x;
|
||||
}
|
||||
|
||||
.monthContainer {
|
||||
width:100%;
|
||||
}
|
||||
|
||||
.monthLabelContainer {
|
||||
text-align:center;
|
||||
font:bold 0.75em Helvetica, Arial, Verdana, sans-serif;
|
||||
background: url("images/dpMonthBg.png") repeat-x top left !important;
|
||||
color:#293a4b;
|
||||
padding:0.25em;
|
||||
}
|
||||
|
||||
.monthCurve {
|
||||
width:12px;
|
||||
}
|
||||
|
||||
.monthCurveTL {
|
||||
background: url("images/dpCurveTL.png") no-repeat top left !important;
|
||||
}
|
||||
|
||||
.monthCurveTR {
|
||||
background: url("images/dpCurveTR.png") no-repeat top left !important;
|
||||
}
|
||||
|
||||
|
||||
.yearWrapper {
|
||||
background: url("images/dpHorizLineFoot.gif") top left repeat-x;
|
||||
padding-top:2px;
|
||||
}
|
||||
|
||||
.yearContainer {
|
||||
width:100%;
|
||||
}
|
||||
|
||||
.yearContainer td {
|
||||
background:url("images/dpYearBg.png") top left repeat-x;
|
||||
}
|
||||
|
||||
.yearContainer .yearLabel {
|
||||
margin:0;
|
||||
padding:0.45em 0 0.45em 0;
|
||||
color:#fff;
|
||||
font:bold 0.75em Helvetica, Arial, Verdana, sans-serif;
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
.curveBL {
|
||||
background: url("images/dpCurveBL.png") bottom left no-repeat !important;
|
||||
width:9px !important;
|
||||
padding:0;
|
||||
margin:0;
|
||||
}
|
||||
|
||||
.curveBR {
|
||||
background: url("images/dpCurveBR.png") bottom left no-repeat !important;
|
||||
width:9px !important;
|
||||
padding:0;
|
||||
margin:0;
|
||||
}
|
||||
|
||||
|
||||
.previousMonth {
|
||||
background-color:#6782a8 !important;
|
||||
}
|
||||
|
||||
.currentMonth {
|
||||
}
|
||||
|
||||
.nextMonth {
|
||||
background-color:#6782a8 !important;
|
||||
}
|
||||
|
||||
.currentDate {
|
||||
text-decoration:underline;
|
||||
font-style:italic;
|
||||
}
|
||||
|
||||
.selectedItem {
|
||||
background-color:#fff !important;
|
||||
color:#6782a8 !important;
|
||||
}
|
||||
|
||||
.yearLabel .selectedYear {
|
||||
padding:0.2em;
|
||||
background-color:#9ec3fb !important;
|
||||
}
|
||||
|
||||
.nextYear, .previousYear {
|
||||
cursor:pointer;cursor:hand;
|
||||
margin:0 0.55em;
|
||||
}
|
||||
|
||||
.incrementControl {
|
||||
cursor:pointer;cursor:hand;
|
||||
width:1em;
|
||||
}
|
||||
|
||||
.increase {
|
||||
float:right;
|
||||
}
|
||||
|
||||
.decrease {
|
||||
float:left;
|
||||
}
|
||||
|
||||
.lastColumn {
|
||||
background-image:none !important;
|
||||
}
|
||||
|
||||
|
141
webapp/web/src/widget/templates/HtmlDatePicker.html
Normal file
|
@ -0,0 +1,141 @@
|
|||
<div class="datePickerContainer" dojoAttachPoint="datePickerContainerNode">
|
||||
<table cellspacing="0" cellpadding="0" class="calendarContainer">
|
||||
<thead>
|
||||
<tr>
|
||||
<td class="monthWrapper" valign="top">
|
||||
<table class="monthContainer" cellspacing="0" cellpadding="0" border="0">
|
||||
<tr>
|
||||
<td class="monthCurve monthCurveTL" valign="top"></td>
|
||||
<td class="monthLabelContainer" valign="top">
|
||||
<span dojoAttachPoint="increaseWeekNode"
|
||||
dojoAttachEvent="onClick: onIncrementWeek;"
|
||||
class="incrementControl increase">
|
||||
<img src="${dojoRoot}src/widget/templates/images/incrementMonth.png"
|
||||
alt="↓" style="width:7px;height:5px;" />
|
||||
</span>
|
||||
<span
|
||||
dojoAttachPoint="increaseMonthNode"
|
||||
dojoAttachEvent="onClick: onIncrementMonth;" class="incrementControl increase">
|
||||
<img src="${dojoRoot}src/widget/templates/images/incrementMonth.png"
|
||||
alt="↓" dojoAttachPoint="incrementMonthImageNode">
|
||||
</span>
|
||||
<span
|
||||
dojoAttachPoint="decreaseWeekNode"
|
||||
dojoAttachEvent="onClick: onIncrementWeek;"
|
||||
class="incrementControl decrease">
|
||||
<img src="${dojoRoot}src/widget/templates/images/decrementMonth.png" alt="↑" style="width:7px;height:5px;" />
|
||||
</span>
|
||||
<span
|
||||
dojoAttachPoint="decreaseMonthNode"
|
||||
dojoAttachEvent="onClick: onIncrementMonth;" class="incrementControl decrease">
|
||||
<img src="${dojoRoot}src/widget/templates/images/decrementMonth.png"
|
||||
alt="↑" dojoAttachPoint="decrementMonthImageNode">
|
||||
</span>
|
||||
<span dojoAttachPoint="monthLabelNode" class="month">July</span>
|
||||
</td>
|
||||
<td class="monthCurve monthCurveTR" valign="top"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<table class="calendarBodyContainer" cellspacing="0" cellpadding="0" border="0">
|
||||
<thead>
|
||||
<tr>
|
||||
<td>S</td>
|
||||
<td>M</td>
|
||||
<td>T</td>
|
||||
<td>W</td>
|
||||
<td>T</td>
|
||||
<td>F</td>
|
||||
<td>S</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody dojoAttachPoint="calendarDatesContainerNode"
|
||||
dojoAttachEvent="onClick: onSetDate;">
|
||||
<tr dojoAttachPoint="calendarRow0">
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr dojoAttachPoint="calendarRow1">
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr dojoAttachPoint="calendarRow2">
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr dojoAttachPoint="calendarRow3">
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr dojoAttachPoint="calendarRow4">
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr dojoAttachPoint="calendarRow5">
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="3" class="yearWrapper">
|
||||
<table cellspacing="0" cellpadding="0" border="0" class="yearContainer">
|
||||
<tr>
|
||||
<td class="curveBL" valign="top"></td>
|
||||
<td valign="top">
|
||||
<h3 class="yearLabel">
|
||||
<span dojoAttachPoint="previousYearLabelNode"
|
||||
dojoAttachEvent="onClick: onIncrementYear;" class="previousYear"></span>
|
||||
<span class="selectedYear" dojoAttachPoint="currentYearLabelNode"></span>
|
||||
<span dojoAttachPoint="nextYearLabelNode"
|
||||
dojoAttachEvent="onClick: onIncrementYear;" class="nextYear"></span>
|
||||
</h3>
|
||||
</td>
|
||||
<td class="curveBR" valign="top"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
|
||||
</div>
|
13
webapp/web/src/widget/templates/HtmlDialog.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
<div id="${this.widgetId}" class="dojoDialog" dojoAttachPoint="wrapper">
|
||||
|
||||
<span dojoAttachPoint="tabStart"
|
||||
dojoOnFocus="trapTabs"
|
||||
dojoOnBlur="clearTrap" tabindex="0"></span>
|
||||
|
||||
<div dojoAttachPoint="containerNode" style=" position: relative; z-index: 2;"></div>
|
||||
|
||||
<span dojoAttachPoint="tabEnd"
|
||||
dojoOnFocus="trapTabs"
|
||||
dojoOnBlur="clearTrap" tabindex="0"></span>
|
||||
|
||||
</div>
|
19
webapp/web/src/widget/templates/HtmlDocPane.css
Normal file
|
@ -0,0 +1,19 @@
|
|||
.dojoDocSrc {
|
||||
white-space: pre;
|
||||
font-family: Courier, "Courier New", monospace;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
.dojoDocReturn {
|
||||
color: #369;
|
||||
}
|
||||
.dojoDocFunction {
|
||||
color: #98543F;
|
||||
font-weight: bold;
|
||||
}
|
||||
.dojoDocParamType {
|
||||
font-style: italic;
|
||||
color: #D17575;
|
||||
}
|
||||
.dojoDocParamName {
|
||||
color: #D14040;
|
||||
}
|
23
webapp/web/src/widget/templates/HtmlDocPane.html
Normal file
|
@ -0,0 +1,23 @@
|
|||
<div>
|
||||
<div dojoAttachPoint="containerNode"></div>
|
||||
<div dojoAttachPoint="select">
|
||||
<h1>Detail: <span dojoAttachPoint="fn">dojo.select</span></h1>
|
||||
<div dojoAttachPoint="description">Description</div>
|
||||
<div class="dojoDocParams" dojoAttachPoint="parameters">
|
||||
<h2>Parameters</h2>
|
||||
<div dojoAttachPoint="pRow"><span dojoAttachPoint="pOpt"><em>optional</em> </span><span><span dojoAttachPoint="pType">type</span> </span><a href="#" dojoAttachPoint="pLink">variable</a><span> - <span dojoAttachPoint="pDesc"></span></span></div>
|
||||
</div>
|
||||
<div class="dojoDocVars" dojoAttachPoint="variables">
|
||||
<h2>Variables</h2>
|
||||
<div dojoAttachPoint="vRow"><a href="#" dojoAttachPoint="vLink">variable</a><span> - <span dojoAttachPoint="vDesc"></span></span></div>
|
||||
</div>
|
||||
<div>
|
||||
<h2>Source Code</h2>
|
||||
<div class="dojoDocSrc"><span class="dojoDocReturn" dojoAttachPoint="sType">returnType</span> <span class="dojoDocFunction" dojoAttachPoint="sName">foo</span>(<span dojoAttachPoint="sParams"><span class="dojoDocParamType" dojoAttachPoint="sPType">type </span><span class="dojoDocParamName" dojoAttachPoint="sPName">paramName</span></span>){<span dojoAttachPoint="source">...</span>}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div dojoAttachPoint="result">
|
||||
<h1>Search Results: <span dojoAttachPoint="count">0</span> matches</h1>
|
||||
<div dojoAttachPoint="row"><a href="#" dojoAttachPoint="fnLink">dojo.fnLink</a><span> - <span dojoAttachPoint="summary">summary</span></span></div>
|
||||
</div>
|
||||
</div>
|
|
@ -0,0 +1,9 @@
|
|||
<button dojoAttachPoint="button" class="dojoButton dojoButtonNoHover" dojoAttachEvent="onMouseOver: ; onMouseOut: ; onClick: ;">
|
||||
<table dojoAttachPoint="table" style="margin:0 0 0 0;"><tr>
|
||||
<td class="label" dojoAttachPoint="labelCell"></td>
|
||||
<td class="border" dojoAttachPoint="borderCell"></td>
|
||||
<td class="downArrow" dojoAttachPoint="arrowCell">
|
||||
<img dojoAttachPoint="arrow">
|
||||
</td>
|
||||
</tr></table>
|
||||
</button>
|
138
webapp/web/src/widget/templates/HtmlEditorToolbar.css
Normal file
|
@ -0,0 +1,138 @@
|
|||
.StyleDropdownContainer {
|
||||
position: absolute;
|
||||
z-index: 1000;
|
||||
overflow: auto;
|
||||
cursor: default;
|
||||
width: 250px;
|
||||
height: 250px;
|
||||
background-color: white;
|
||||
border: 1px solid black;
|
||||
}
|
||||
|
||||
.ColorDropdownContainer {
|
||||
position: absolute;
|
||||
z-index: 1000;
|
||||
overflow: auto;
|
||||
cursor: default;
|
||||
width: 250px;
|
||||
height: 150px;
|
||||
background-color: white;
|
||||
border: 1px solid black;
|
||||
}
|
||||
|
||||
.EditorToolbarDomNode {
|
||||
background-image: url(buttons/bg-fade.png);
|
||||
background-repeat: repeat-x;
|
||||
background-position: 0px -50px;
|
||||
}
|
||||
|
||||
.EditorToolbarSmallBg {
|
||||
background-image: url(images/toolbar-bg.gif);
|
||||
background-repeat: repeat-x;
|
||||
background-position: 0px 0px;
|
||||
}
|
||||
|
||||
/*
|
||||
body {
|
||||
background:url(images/blank.gif) fixed;
|
||||
}*/
|
||||
|
||||
.IEFixedToolbar {
|
||||
position:absolute;
|
||||
/* top:0; */
|
||||
top: expression(eval((document.documentElement||document.body).scrollTop));
|
||||
}
|
||||
|
||||
div.bigIcon {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
/* background-color: white; */
|
||||
/* border: 1px solid #a6a7a3; */
|
||||
font-family: Verdana, Trebuchet, Tahoma, Arial;
|
||||
}
|
||||
|
||||
.iconContainer {
|
||||
font-family: Verdana, Trebuchet, Tahoma, Arial;
|
||||
font-size: 13px;
|
||||
float: left;
|
||||
height: 18px;
|
||||
display: block;
|
||||
/* background-color: white; */
|
||||
/* border: 1px solid white; */
|
||||
/* border: 1px solid #a6a7a3; */
|
||||
padding-right: 3px;
|
||||
cursor: pointer;
|
||||
border: 1px solid transparent;
|
||||
_border: none;
|
||||
}
|
||||
|
||||
span.icon {
|
||||
display: block;
|
||||
text-align: center;
|
||||
min-width: 18px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
/* background-color: #a6a7a3; */
|
||||
background-repeat: no-repeat;
|
||||
background-image: url(buttons/aggregate.gif);
|
||||
}
|
||||
|
||||
|
||||
span.icon[class~=icon] {
|
||||
}
|
||||
|
||||
.headingContainer {
|
||||
width: 150px;
|
||||
height: 30px;
|
||||
margin: 0px;
|
||||
/* padding-left: 5px; */
|
||||
overflow: hidden;
|
||||
line-height: 25px;
|
||||
border-bottom: 1px solid black;
|
||||
border-top: 1px solid white;
|
||||
}
|
||||
|
||||
.EditorToolbarDomNode select {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.sep { width: 5px; min-width: 5px; max-width: 5px; background-position: 0px 0px}
|
||||
.backcolor { background-position: -18px 0px}
|
||||
.bold { background-position: -36px 0px}
|
||||
.cancel { background-position: -54px 0px}
|
||||
.copy { background-position: -72px 0px}
|
||||
.createlink { background-position: -90px 0px}
|
||||
.cut { background-position: -108px 0px}
|
||||
.delete { background-position: -126px 0px}
|
||||
.forecolor { background-position: -144px 0px}
|
||||
.hilitecolor { background-position: -162px 0px}
|
||||
.indent { background-position: -180px 0px}
|
||||
.inserthorizontalrule { background-position: -198px 0px}
|
||||
.insertimage { background-position: -216px 0px}
|
||||
.insertorderedlist { background-position: -234px 0px}
|
||||
.inserttable { background-position: -252px 0px}
|
||||
.insertunorderedlist { background-position: -270px 0px}
|
||||
.italic { background-position: -288px 0px}
|
||||
.justifycenter { background-position: -306px 0px}
|
||||
.justifyfull { background-position: -324px 0px}
|
||||
.justifyleft { background-position: -342px 0px}
|
||||
.justifyright { background-position: -360px 0px}
|
||||
.left_to_right { background-position: -378px 0px}
|
||||
.list_bullet_indent { background-position: -396px 0px}
|
||||
.list_bullet_outdent { background-position: -414px 0px}
|
||||
.list_num_indent { background-position: -432px 0px}
|
||||
.list_num_outdent { background-position: -450px 0px}
|
||||
.outdent { background-position: -468px 0px}
|
||||
.paste { background-position: -486px 0px}
|
||||
.redo { background-position: -504px 0px}
|
||||
.removeformat { background-position: -522px 0px}
|
||||
.right_to_left { background-position: -540px 0px}
|
||||
.save { background-position: -558px 0px}
|
||||
.space { background-position: -576px 0px}
|
||||
.strikethrough { background-position: -594px 0px}
|
||||
.subscript { background-position: -612px 0px}
|
||||
.superscript { background-position: -630px 0px}
|
||||
.underline { background-position: -648px 0px}
|
||||
.undo { background-position: -666px 0px}
|
||||
.wikiword { background-position: -684px 0px}
|
||||
|
152
webapp/web/src/widget/templates/HtmlEditorToolbar.html
Normal file
|
@ -0,0 +1,152 @@
|
|||
<div dojoAttachPoint="domNode" class="EditorToolbarDomNode" unselectable="on">
|
||||
<table cellpadding="3" cellspacing="0" border="0">
|
||||
<!--
|
||||
our toolbar should look something like:
|
||||
|
||||
+=======+=======+=======+=============================================+
|
||||
| w w | style | copy | bo | it | un | le | ce | ri |
|
||||
| w w w | style |=======|==============|==============|
|
||||
| w w | style | paste | undo | redo | change style |
|
||||
+=======+=======+=======+=============================================+
|
||||
-->
|
||||
<tbody>
|
||||
<tr valign="top">
|
||||
<td rowspan="2">
|
||||
<div class="bigIcon" dojoAttachPoint="wikiWordButton"
|
||||
dojoOnClick="wikiWordClick; buttonClick;">
|
||||
<span style="font-size: 30px; margin-left: 5px;">
|
||||
W
|
||||
</span>
|
||||
</div>
|
||||
</td>
|
||||
<td rowspan="2">
|
||||
<div class="bigIcon" dojoAttachPoint="styleDropdownButton"
|
||||
dojoOnClick="styleDropdownClick; buttonClick;">
|
||||
<span unselectable="on"
|
||||
style="font-size: 30px; margin-left: 5px;">
|
||||
S
|
||||
</span>
|
||||
</div>
|
||||
<div class="StyleDropdownContainer" style="display: none;"
|
||||
dojoAttachPoint="styleDropdownContainer">
|
||||
<table cellpadding="0" cellspacing="0" border="0"
|
||||
height="100%" width="100%">
|
||||
<tr valign="top">
|
||||
<td rowspan="2">
|
||||
<div style="height: 245px; overflow: auto;">
|
||||
<div class="headingContainer"
|
||||
unselectable="on"
|
||||
dojoOnClick="normalTextClick">normal</div>
|
||||
<h1 class="headingContainer"
|
||||
unselectable="on"
|
||||
dojoOnClick="h1TextClick">Heading 1</h1>
|
||||
<h2 class="headingContainer"
|
||||
unselectable="on"
|
||||
dojoOnClick="h2TextClick">Heading 2</h2>
|
||||
<h3 class="headingContainer"
|
||||
unselectable="on"
|
||||
dojoOnClick="h3TextClick">Heading 3</h3>
|
||||
<h4 class="headingContainer"
|
||||
unselectable="on"
|
||||
dojoOnClick="h4TextClick">Heading 4</h4>
|
||||
<div class="headingContainer"
|
||||
unselectable="on"
|
||||
dojoOnClick="blahTextClick">blah</div>
|
||||
<div class="headingContainer"
|
||||
unselectable="on"
|
||||
dojoOnClick="blahTextClick">blah</div>
|
||||
<div class="headingContainer"
|
||||
unselectable="on"
|
||||
dojoOnClick="blahTextClick">blah</div>
|
||||
<div class="headingContainer">blah</div>
|
||||
<div class="headingContainer">blah</div>
|
||||
<div class="headingContainer">blah</div>
|
||||
<div class="headingContainer">blah</div>
|
||||
</div>
|
||||
</td>
|
||||
<!--
|
||||
<td>
|
||||
<span class="iconContainer" dojoOnClick="buttonClick;">
|
||||
<span class="icon justifyleft"
|
||||
style="float: left;"> </span>
|
||||
</span>
|
||||
<span class="iconContainer" dojoOnClick="buttonClick;">
|
||||
<span class="icon justifycenter"
|
||||
style="float: left;"> </span>
|
||||
</span>
|
||||
<span class="iconContainer" dojoOnClick="buttonClick;">
|
||||
<span class="icon justifyright"
|
||||
style="float: left;"> </span>
|
||||
</span>
|
||||
<span class="iconContainer" dojoOnClick="buttonClick;">
|
||||
<span class="icon justifyfull"
|
||||
style="float: left;"> </span>
|
||||
</span>
|
||||
</td>
|
||||
-->
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
thud
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<!-- copy -->
|
||||
<span class="iconContainer" dojoAttachPoint="copyButton"
|
||||
unselectable="on"
|
||||
dojoOnClick="copyClick; buttonClick;">
|
||||
<span class="icon copy"
|
||||
unselectable="on"
|
||||
style="float: left;"> </span> copy
|
||||
</span>
|
||||
<!-- "droppable" options -->
|
||||
<span class="iconContainer" dojoAttachPoint="boldButton"
|
||||
unselectable="on"
|
||||
dojoOnClick="boldClick; buttonClick;">
|
||||
<span class="icon bold" unselectable="on"> </span>
|
||||
</span>
|
||||
<span class="iconContainer" dojoAttachPoint="italicButton"
|
||||
dojoOnClick="italicClick; buttonClick;">
|
||||
<span class="icon italic" unselectable="on"> </span>
|
||||
</span>
|
||||
<span class="iconContainer" dojoAttachPoint="underlineButton"
|
||||
dojoOnClick="underlineClick; buttonClick;">
|
||||
<span class="icon underline" unselectable="on"> </span>
|
||||
</span>
|
||||
<span class="iconContainer" dojoAttachPoint="leftButton"
|
||||
dojoOnClick="leftClick; buttonClick;">
|
||||
<span class="icon justifyleft" unselectable="on"> </span>
|
||||
</span>
|
||||
<span class="iconContainer" dojoAttachPoint="fullButton"
|
||||
dojoOnClick="fullClick; buttonClick;">
|
||||
<span class="icon justifyfull" unselectable="on"> </span>
|
||||
</span>
|
||||
<span class="iconContainer" dojoAttachPoint="rightButton"
|
||||
dojoOnClick="rightClick; buttonClick;">
|
||||
<span class="icon justifyright" unselectable="on"> </span>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<!-- paste -->
|
||||
<span class="iconContainer" dojoAttachPoint="pasteButton"
|
||||
dojoOnClick="pasteClick; buttonClick;" unselectable="on">
|
||||
<span class="icon paste" style="float: left;" unselectable="on"> </span> paste
|
||||
</span>
|
||||
<!-- "droppable" options -->
|
||||
<span class="iconContainer" dojoAttachPoint="undoButton"
|
||||
dojoOnClick="undoClick; buttonClick;" unselectable="on">
|
||||
<span class="icon undo" style="float: left;" unselectable="on"> </span> undo
|
||||
</span>
|
||||
<span class="iconContainer" dojoAttachPoint="redoButton"
|
||||
dojoOnClick="redoClick; buttonClick;" unselectable="on">
|
||||
<span class="icon redo" style="float: left;" unselectable="on"> </span> redo
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
266
webapp/web/src/widget/templates/HtmlEditorToolbarOneline.html
Normal file
|
@ -0,0 +1,266 @@
|
|||
<div class="EditorToolbarDomNode EditorToolbarSmallBg"
|
||||
unselectable="on" dojoOnMouseDown="preventSelect">
|
||||
<table cellpadding="1" cellspacing="0" border="0">
|
||||
<!--
|
||||
toobar options, in order:
|
||||
|
||||
* wikiword
|
||||
* paste
|
||||
* copy
|
||||
* undo
|
||||
* redo
|
||||
* link
|
||||
* insert image
|
||||
* insert <hr>
|
||||
* font-select
|
||||
* bold
|
||||
* italic
|
||||
* underline
|
||||
* strikethrough
|
||||
* numlist
|
||||
* dotlist
|
||||
* indent
|
||||
* outdent
|
||||
* text color
|
||||
* bg color
|
||||
|
||||
-->
|
||||
<tbody>
|
||||
<tr valign="top" align="left" dojoAttachPoint="oneLineTr">
|
||||
<td>
|
||||
<!-- htmltoggle -->
|
||||
<span class="iconContainer" dojoAttachPoint="htmltoggleButton"
|
||||
dojoOnClick="htmltoggleClick; buttonClick;" style="display: none;">
|
||||
<span title="Toggle Rich Text and HTML Markup Editing Modes" class="icon"
|
||||
style="background-image: none; width: 30px;"
|
||||
unselectable="on"><h></span>
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<!-- wikiword -->
|
||||
<span class="iconContainer" dojoAttachPoint="wikiwordButton"
|
||||
dojoOnClick="wikiwordClick; buttonClick;" style="display: none;">
|
||||
<span title="Toggle Wiki Word" class="icon wikiword"
|
||||
unselectable="on"> </span>
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<!-- paste -->
|
||||
<span class="iconContainer" dojoAttachPoint="copyButton"
|
||||
unselectable="on" dojoOnClick="copyClick; buttonClick;">
|
||||
<span title="Copy (Ctrl-C)" class="icon copy" unselectable="on"> </span>
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<!-- copy -->
|
||||
<span class="iconContainer" dojoAttachPoint="pasteButton"
|
||||
dojoOnClick="pasteClick; buttonClick;" unselectable="on">
|
||||
<span title="Paste (Ctrl-V)" class="icon paste" unselectable="on"> </span>
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<!-- undo -->
|
||||
<span class="iconContainer" dojoAttachPoint="undoButton"
|
||||
dojoOnClick="undoClick; buttonClick;" unselectable="on">
|
||||
<!-- FIXME: should we have the text "undo" here? -->
|
||||
<span title="Undo (Ctrl-Z)" class="icon undo" unselectable="on"> </span>
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<!-- redo -->
|
||||
<span class="iconContainer" dojoAttachPoint="redoButton"
|
||||
dojoOnClick="redoClick; buttonClick;" unselectable="on">
|
||||
<span title="Redo (Ctrl-R)" class="icon redo" unselectable="on"> </span>
|
||||
</span>
|
||||
</td>
|
||||
<td isSpacer="true">
|
||||
<!-- spacer -->
|
||||
<span class="iconContainer">
|
||||
<span class="icon sep" unselectable="on"
|
||||
style="width: 5px; min-width: 5px;"></span>
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<!-- link -->
|
||||
<span class="iconContainer" dojoAttachPoint="linkButton"
|
||||
unselectable="on" dojoOnClick="linkClick; buttonClick;">
|
||||
<span title="Create Link" class="icon createlink" unselectable="on"> </span>
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<!-- insertimage -->
|
||||
<span class="iconContainer"
|
||||
style="display: none;"
|
||||
dojoAttachPoint="insertimageButton"
|
||||
unselectable="on" dojoOnClick="insertimageClick; buttonClick;">
|
||||
<span title="Insert Image" class="icon insertimage" unselectable="on"> </span>
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<!-- inserthorizontalrule -->
|
||||
<span class="iconContainer" dojoAttachPoint="inserthorizontalruleButton"
|
||||
unselectable="on" dojoOnClick="inserthorizontalruleClick; buttonClick;">
|
||||
<span title="Insert Horizontal Rule" class="icon inserthorizontalrule " unselectable="on"> </span>
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<!-- bold -->
|
||||
<span class="iconContainer" dojoAttachPoint="boldButton"
|
||||
unselectable="on" dojoOnClick="boldClick; buttonClick;">
|
||||
<span title="Toggle Bold (Ctrl-B)" class="icon bold" unselectable="on"> </span>
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<!-- italic -->
|
||||
<span class="iconContainer" dojoAttachPoint="italicButton"
|
||||
dojoOnClick="italicClick; buttonClick;">
|
||||
<span title="Toggle Italic (Ctrl-I)" class="icon italic" unselectable="on"> </span>
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<!-- underline -->
|
||||
<span class="iconContainer" dojoAttachPoint="underlineButton"
|
||||
dojoOnClick="underlineClick; buttonClick;">
|
||||
<span title="Toggle Underline (Ctrl-U)" class="icon underline" unselectable="on"> </span>
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<!-- strikethrough -->
|
||||
<span class="iconContainer" dojoAttachPoint="strikethroughButton"
|
||||
dojoOnClick="strikethroughClick; buttonClick;">
|
||||
<span title="Toggle Strike-Through"
|
||||
class="icon strikethrough" unselectable="on"> </span>
|
||||
</span>
|
||||
</td>
|
||||
<td isSpacer="true">
|
||||
<!-- spacer -->
|
||||
<span class="iconContainer">
|
||||
<span class="icon sep" unselectable="on"
|
||||
style="width: 5px; min-width: 5px;"></span>
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<!-- insertunorderedlist -->
|
||||
<span class="iconContainer" dojoAttachPoint="insertunorderedlistButton"
|
||||
unselectable="on"
|
||||
dojoOnClick="insertunorderedlistClick; buttonClick;">
|
||||
<span title="Insert Bullet List"
|
||||
class="icon insertunorderedlist" unselectable="on"> </span>
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<!-- insertorderedlist -->
|
||||
<span class="iconContainer" dojoAttachPoint="insertorderedlistButton"
|
||||
unselectable="on" dojoOnClick="insertorderedlistClick; buttonClick;">
|
||||
<span title="Insert Numbered List"
|
||||
class="icon insertorderedlist" unselectable="on"> </span>
|
||||
</span>
|
||||
</td>
|
||||
<td isSpacer="true">
|
||||
<!-- spacer -->
|
||||
<span class="iconContainer">
|
||||
<span class="icon sep" unselectable="on"
|
||||
style="width: 5px; min-width: 5px;"></span>
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<!-- indent -->
|
||||
<span class="iconContainer" dojoAttachPoint="indentButton"
|
||||
unselectable="on" dojoOnClick="indentClick; buttonClick;">
|
||||
<span title="Indent Selection" class="icon indent"
|
||||
unselectable="on"> </span>
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<!-- outdent -->
|
||||
<span class="iconContainer" dojoAttachPoint="outdentButton"
|
||||
unselectable="on" dojoOnClick="outdentClick; buttonClick;">
|
||||
<span title="Outdent Selection" class="icon outdent"
|
||||
unselectable="on"> </span>
|
||||
</span>
|
||||
</td>
|
||||
<td isSpacer="true">
|
||||
<!-- spacer -->
|
||||
<span class="iconContainer">
|
||||
<span class="icon sep" unselectable="on"
|
||||
style="width: 5px; min-width: 5px;"></span>
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<!-- forecolor -->
|
||||
<span class="iconContainer" dojoAttachPoint="forecolorButton"
|
||||
unselectable="on" dojoOnClick="forecolorClick; buttonClick;">
|
||||
<span title="Change Text Color" class="icon forecolor"
|
||||
unselectable="on"> </span>
|
||||
</span>
|
||||
<div class="ColorDropdownContainer"
|
||||
style="display: none; margin-top: 22px;"
|
||||
dojoAttachPoint="forecolorDropDown">
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<!-- hilitecolor -->
|
||||
<span class="iconContainer" dojoAttachPoint="hilitecolorButton"
|
||||
unselectable="on" dojoOnClick="hilitecolorClick; buttonClick;">
|
||||
<span title="Change Background Color" class="icon hilitecolor"
|
||||
unselectable="on"> </span>
|
||||
</span>
|
||||
<div class="ColorDropdownContainer"
|
||||
style="display: none; margin-top: 22px;"
|
||||
dojoAttachPoint="hilitecolorDropDown">
|
||||
</div>
|
||||
</td>
|
||||
<td isSpacer="true">
|
||||
<!-- spacer -->
|
||||
<span class="iconContainer">
|
||||
<span class="icon sep" unselectable="on"
|
||||
style="width: 5px; min-width: 5px;"></span>
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<!-- justify left -->
|
||||
<span class="iconContainer" dojoAttachPoint="justifyleftButton"
|
||||
dojoOnClick="justifyleftClick; buttonClick;">
|
||||
<span title="Justify Left" class="icon justifyleft" unselectable="on"> </span>
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<!-- justify center -->
|
||||
<span class="iconContainer" dojoAttachPoint="justifycenterButton"
|
||||
dojoOnClick="justifycenterClick; buttonClick;">
|
||||
<span title="Center" class="icon justifycenter" unselectable="on"> </span>
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<!-- justify right -->
|
||||
<span class="iconContainer" dojoAttachPoint="justifyrightButton"
|
||||
dojoOnClick="justifyrightClick; buttonClick;">
|
||||
<span title="Justify Right" class="icon justifyright" unselectable="on"> </span>
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<!-- justify full -->
|
||||
<span class="iconContainer" dojoAttachPoint="justifyfullButton"
|
||||
dojoOnClick="justifyfullClick; buttonClick;">
|
||||
<span title="Justify Both" class="icon justifyfull" unselectable="on"> </span>
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<!-- font select -->
|
||||
<select dojoOnChange="formatSelectClick; buttonClick;"
|
||||
dojoAttachPoint="formatSelectBox" unselectable="on">
|
||||
<!-- FIXME: using "p" here inserts a paragraph in most cases! -->
|
||||
<option value="">-- format --</option>
|
||||
<option value="p">Normal</option>
|
||||
<option value="pre">Fixed Font</option>
|
||||
<option value="h1">Main Heading</option>
|
||||
<option value="h2">Section Heading</option>
|
||||
<option value="h3">Sub-Heading</option>
|
||||
<!-- <option value="blockquote">Block Quote</option> -->
|
||||
</select>
|
||||
</td>
|
||||
<td width="*"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
27
webapp/web/src/widget/templates/HtmlFisheyeList.css
Normal file
|
@ -0,0 +1,27 @@
|
|||
.dojoHtmlFisheyeListItemLabel {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
background-color: #eee;
|
||||
border: 2px solid #666;
|
||||
padding: 2px;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.dojoHtmlFisheyeListItemLabel.selected {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.dojoHtmlFisheyeListItemImage {
|
||||
border: 0px;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.dojoHtmlFisheyeListItem {
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.dojoHtmlFisheyeListBar {
|
||||
position: relative;
|
||||
}
|
118
webapp/web/src/widget/templates/HtmlFloatingPane.css
Normal file
|
@ -0,0 +1,118 @@
|
|||
|
||||
/********** Outer Window ***************/
|
||||
|
||||
.dojoFloatingPane {
|
||||
/* essential css */
|
||||
position: absolute;
|
||||
overflow: visible; /* so drop shadow is displayed */
|
||||
z-index: 10;
|
||||
|
||||
/* styling css */
|
||||
border: 1px solid;
|
||||
border-color: ThreeDHighlight ThreeDShadow ThreeDShadow ThreeDHighlight;
|
||||
background-color: ThreeDFace;
|
||||
}
|
||||
|
||||
|
||||
/********** Title Bar ****************/
|
||||
|
||||
.dojoFloatingPaneTitleBar {
|
||||
vertical-align: top;
|
||||
margin: 2px 2px 2px 2px;
|
||||
z-index: 10;
|
||||
background-color: #7596c6;
|
||||
cursor: default;
|
||||
overflow: hidden;
|
||||
border-color: ThreeDHighlight ThreeDShadow ThreeDShadow ThreeDHighlight;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.dojoFloatingPaneTitleText {
|
||||
float: left;
|
||||
padding: 2px 4px 2px 2px;
|
||||
white-space: nowrap;
|
||||
color: CaptionText;
|
||||
font: small-caption;
|
||||
}
|
||||
|
||||
.dojoTitleBarIcon {
|
||||
float: left;
|
||||
height: 22px;
|
||||
width: 22px;
|
||||
vertical-align: middle;
|
||||
margin-right: 5px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.dojoFloatingPaneActions{
|
||||
float: right;
|
||||
position: absolute;
|
||||
right: 2px;
|
||||
top: 2px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
|
||||
.dojoFloatingPaneActionItem {
|
||||
vertical-align: middle;
|
||||
margin-right: 1px;
|
||||
height: 22px;
|
||||
width: 22px;
|
||||
}
|
||||
|
||||
|
||||
.dojoFloatingPaneTitleBarIcon {
|
||||
/* essential css */
|
||||
float: left;
|
||||
|
||||
/* styling css */
|
||||
margin-left: 2px;
|
||||
margin-right: 4px;
|
||||
height: 22px;
|
||||
}
|
||||
|
||||
/* minimize/maximize icons are specified by CSS only */
|
||||
.dojoFloatingPaneMinimizeIcon,
|
||||
.dojoFloatingPaneMaximizeIcon,
|
||||
.dojoFloatingPaneRestoreIcon,
|
||||
.dojoFloatingPaneCloseIcon {
|
||||
vertical-align: middle;
|
||||
height: 22px;
|
||||
width: 22px;
|
||||
float: right;
|
||||
}
|
||||
.dojoFloatingPaneMinimizeIcon {
|
||||
background-image: url(images/floatingPaneMinimize.gif);
|
||||
}
|
||||
.dojoFloatingPaneMaximizeIcon {
|
||||
background-image: url(images/floatingPaneMaximize.gif);
|
||||
}
|
||||
.dojoFloatingPaneRestoreIcon {
|
||||
background-image: url(images/floatingPaneRestore.gif);
|
||||
}
|
||||
.dojoFloatingPaneCloseIcon {
|
||||
background-image: url(images/floatingPaneClose.gif);
|
||||
}
|
||||
|
||||
/* bar at bottom of window that holds resize handle */
|
||||
.dojoFloatingPaneResizebar {
|
||||
z-index: 10;
|
||||
height: 13px;
|
||||
background-color: ThreeDFace;
|
||||
}
|
||||
|
||||
/************* Client Area ***************/
|
||||
|
||||
.dojoFloatingPaneClient {
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
border: 1px solid;
|
||||
border-color: ThreeDShadow ThreeDHighlight ThreeDHighlight ThreeDShadow;
|
||||
margin: 2px;
|
||||
background-color: ThreeDFace;
|
||||
padding: 8px;
|
||||
font-family: Verdana, Helvetica, Garamond, sans-serif;
|
||||
font-size: 12px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
18
webapp/web/src/widget/templates/HtmlFloatingPane.html
Normal file
|
@ -0,0 +1,18 @@
|
|||
<div id="${this.widgetId}" class="dojoFloatingPane">
|
||||
<div dojoAttachPoint="titleBar" class="dojoFloatingPaneTitleBar" dojoAttachEvent="onMouseDown" style="display:none">
|
||||
<img dojoAttachPoint="titleBarIcon" class="dojoFloatingPaneTitleBarIcon">
|
||||
<div dojoAttachPoint="closeAction" dojoAttachEvent="onClick:closeWindow"
|
||||
class="dojoFloatingPaneCloseIcon"></div>
|
||||
<div dojoAttachPoint="restoreAction" dojoAttachEvent="onClick:restoreWindow"
|
||||
class="dojoFloatingPaneRestoreIcon"></div>
|
||||
<div dojoAttachPoint="maximizeAction" dojoAttachEvent="onClick:maximizeWindow"
|
||||
class="dojoFloatingPaneMaximizeIcon"></div>
|
||||
<div dojoAttachPoint="minimizeAction" dojoAttachEvent="onClick:minimizeWindow"
|
||||
class="dojoFloatingPaneMinimizeIcon"></div>
|
||||
<div dojoAttachPoint="titleBarText" class="dojoFloatingPaneTitleText">${this.title}</div>
|
||||
</div>
|
||||
|
||||
<div id="${this.widgetId}_container" dojoAttachPoint="containerNode" class="dojoFloatingPaneClient"></div>
|
||||
|
||||
<div dojoAttachPoint="resizeBar" class="dojoFloatingPaneResizebar" style="display:none"></div>
|
||||
</div>
|
24
webapp/web/src/widget/templates/HtmlInlineEditBox.css
Normal file
|
@ -0,0 +1,24 @@
|
|||
.editLabel {
|
||||
font-size : small;
|
||||
padding : 0 5px;
|
||||
display : none;
|
||||
}
|
||||
|
||||
.editableRegion {
|
||||
background-color : #ffc !important;
|
||||
cursor : pointer;
|
||||
_cursor : hand;
|
||||
}
|
||||
|
||||
.editableRegion .editLabel {
|
||||
display : inline;
|
||||
}
|
||||
|
||||
.editableTextareaRegion .editLabel {
|
||||
display : block;
|
||||
}
|
||||
|
||||
.inlineEditBox {
|
||||
/*background-color : #ffc;*/
|
||||
display : inline;
|
||||
}
|
6
webapp/web/src/widget/templates/HtmlInlineEditBox.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
<form class="inlineEditBox" style="display: none" dojoAttachPoint="form" dojoAttachEvent="onSubmit:saveEdit; onReset:cancelEdit; onKeyUp: checkForValueChange;">
|
||||
<input type="text" dojoAttachPoint="text" style="display: none;" />
|
||||
<textarea dojoAttachPoint="textarea" style="display: none;"></textarea>
|
||||
<input type="submit" value="Save" dojoAttachPoint="submitButton" />
|
||||
<input type="reset" value="Cancel" dojoAttachPoint="cancelButton" />
|
||||
</form>
|
202
webapp/web/src/widget/templates/HtmlMenu2.css
Normal file
|
@ -0,0 +1,202 @@
|
|||
|
||||
.dojoPopupMenu2 {
|
||||
position: absolute;
|
||||
border: 1px solid;
|
||||
border-color: ThreeDLightShadow ThreeDDarkShadow ThreeDDarkShadow ThreeDLightShadow;
|
||||
}
|
||||
|
||||
.dojoPopupMenu2Client {
|
||||
border: 1px solid;
|
||||
border-color: ThreeDHighlight ThreeDShadow ThreeDShadow ThreeDHighlight;
|
||||
background-color: ThreeDFace;
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
.dojoMenuItem2 {
|
||||
position: relative;
|
||||
white-space: nowrap;
|
||||
font: menu;
|
||||
color: WindowText;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.dojoMenuItem2 span {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.dojoMenuItem2Hover {
|
||||
background-color: Highlight;
|
||||
color: HighlightText;
|
||||
}
|
||||
|
||||
.dojoMenuItem2Icon {
|
||||
position: absolute;
|
||||
background-position: center center;
|
||||
background-repeat: no-repeat;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.dojoMenuItem2Label {
|
||||
position: absolute;
|
||||
vertical-align: middle;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.dojoMenuItem2Label span {
|
||||
position: relative;
|
||||
vertical-align: middle;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.dojoMenuItem2Label span span {
|
||||
position: absolute;
|
||||
color: ThreeDHighlight;
|
||||
display: none;
|
||||
left: 1px;
|
||||
top: 1px;
|
||||
z-index: -2;
|
||||
}
|
||||
|
||||
.dojoMenuItem2Accel {
|
||||
position: absolute;
|
||||
vertical-align: middle;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.dojoMenuItem2Accel span {
|
||||
position: relative;
|
||||
vertical-align: middle;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.dojoMenuItem2Accel span span {
|
||||
position: absolute;
|
||||
color: ThreeDHighlight;
|
||||
display: none;
|
||||
left: 1px;
|
||||
top: 1px;
|
||||
z-index: -2;
|
||||
}
|
||||
|
||||
.dojoMenuItem2Disabled .dojoMenuItem2Label span,
|
||||
.dojoMenuItem2Disabled .dojoMenuItem2Accel span {
|
||||
color: ThreeDShadow;
|
||||
}
|
||||
|
||||
.dojoMenuItem2Disabled .dojoMenuItem2Label span span,
|
||||
.dojoMenuItem2Disabled .dojoMenuItem2Accel span span {
|
||||
color: ThreeDHighlight;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.dojoMenuItem2Hover .dojoMenuItem2Label span span,
|
||||
.dojoMenuItem2Hover .dojoMenuItem2Accel span span {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.dojoMenuItem2Submenu {
|
||||
position: absolute;
|
||||
background-position: center center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.dojoMenuItem2Target {
|
||||
position: absolute;
|
||||
z-index: 10;
|
||||
font-size: 1px;
|
||||
background-image: url('images/transparent.gif');
|
||||
}
|
||||
|
||||
.dojoMenuSeparator2 {
|
||||
font-size: 1px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.dojoMenuSeparator2Top {
|
||||
height: 50%;
|
||||
border-bottom: 1px solid ThreeDShadow;
|
||||
margin: 0px 2px;
|
||||
font-size: 1px;
|
||||
}
|
||||
|
||||
.dojoMenuSeparator2Bottom {
|
||||
height: 50%;
|
||||
border-top: 1px solid ThreeDHighlight;
|
||||
margin: 0px 2px;
|
||||
font-size: 1px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.dojoMenuBar2 {
|
||||
/*position: relative;*/
|
||||
background-color: ThreeDFace;
|
||||
border-bottom: 1px solid ThreeDHighlight;
|
||||
}
|
||||
|
||||
.dojoMenuBar2Client {
|
||||
padding: 1px;
|
||||
border-top: 1px solid ThreeDHighlight;
|
||||
border-bottom: 1px solid ThreeDShadow;
|
||||
}
|
||||
|
||||
.dojoMenuBarItem2 {
|
||||
position: absolute;
|
||||
white-space: nowrap;
|
||||
font: menu;
|
||||
color: WindowText;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.dojoMenuBarItem2 span {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.dojoMenuBarItem2Target {
|
||||
position: absolute;
|
||||
z-index: 10;
|
||||
font-size: 1px;
|
||||
background-image: url('images/transparent.gif');
|
||||
}
|
||||
|
||||
.dojoMenuBarItem2Label {
|
||||
position: absolute;
|
||||
vertical-align: middle;
|
||||
z-index: 1;
|
||||
padding: 3px 8px;
|
||||
}
|
||||
|
||||
.dojoMenuBarItem2Label span {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.dojoMenuBarItem2Label span span {
|
||||
position: absolute;
|
||||
color: ThreeDHighlight;
|
||||
display: none;
|
||||
left: 1px;
|
||||
top: 1px;
|
||||
z-index: -2;
|
||||
}
|
||||
|
||||
.dojoMenuBarItem2Hover {
|
||||
background-color: Highlight;
|
||||
color: HighlightText;
|
||||
}
|
||||
|
||||
.dojoMenuBarItem2Disabled .dojoMenuBarItem2Label span,
|
||||
.dojoMenuBarItem2Disabled .dojoMenuBarItem2Accel span {
|
||||
color: ThreeDShadow;
|
||||
}
|
||||
|
||||
.dojoMenuBarItem2Disabled .dojoMenuBarItem2Label span span,
|
||||
.dojoMenuBarItem2Disabled .dojoMenuBarItem2Accel span span {
|
||||
color: ThreeDHighlight;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.dojoMenuBarItem2Hover .dojoMenuBarItem2Label span span,
|
||||
.dojoMenuBarItem2Hover .dojoMenuBarItem2Accel span span {
|
||||
display: none;
|
||||
}
|
|
@ -0,0 +1,2 @@
|
|||
<div dojoAttachPoint="labelNode" dojoAttachEvent="onClick">
|
||||
</div>
|
91
webapp/web/src/widget/templates/HtmlMonthlyCalendar.css
Normal file
|
@ -0,0 +1,91 @@
|
|||
.datePickerContainer {
|
||||
margin:0.5em 2em 0.5em 0;
|
||||
/*width:10em;*/
|
||||
float:left;
|
||||
}
|
||||
|
||||
.previousMonth {
|
||||
background-color:#bbbbbb;
|
||||
}
|
||||
|
||||
.currentMonth {
|
||||
background-color:#8f8f8f;
|
||||
}
|
||||
|
||||
.nextMonth {
|
||||
background-color:#eeeeee;
|
||||
}
|
||||
|
||||
.currentDate {
|
||||
text-decoration:underline;
|
||||
font-style:italic;
|
||||
}
|
||||
|
||||
.selectedItem {
|
||||
background-color:#3a3a3a;
|
||||
color:#ffffff;
|
||||
}
|
||||
|
||||
.calendarContainer {
|
||||
border-collapse:collapse;
|
||||
border-spacing:0;
|
||||
border-bottom:1px solid #e6e6e6;
|
||||
overflow: hidden;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.calendarContainer thead{
|
||||
border-bottom:1px solid #e6e6e6;
|
||||
}
|
||||
|
||||
.calendarContainer tbody * td {
|
||||
height: 100px;
|
||||
border: 1px solid gray;
|
||||
}
|
||||
|
||||
.calendarContainer td {
|
||||
width: 100px;
|
||||
padding: 2px;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.monthLabel {
|
||||
font-size:0.9em;
|
||||
font-weight:400;
|
||||
margin:0;
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
.monthLabel .month {
|
||||
padding:0 0.4em 0 0.4em;
|
||||
}
|
||||
|
||||
.yearLabel {
|
||||
font-size:0.9em;
|
||||
font-weight:400;
|
||||
margin:0.25em 0 0 0;
|
||||
text-align:right;
|
||||
color:#a3a3a3;
|
||||
}
|
||||
|
||||
.yearLabel .selectedYear {
|
||||
color:#000;
|
||||
padding:0 0.2em;
|
||||
}
|
||||
|
||||
.nextYear, .previousYear {
|
||||
cursor:pointer;cursor:hand;
|
||||
}
|
||||
|
||||
.incrementControl {
|
||||
cursor:pointer;cursor:hand;
|
||||
width:1em;
|
||||
}
|
||||
|
||||
.dojoMonthlyCalendarEvent {
|
||||
font-size:0.7em;
|
||||
overflow: hidden;
|
||||
font-color: grey;
|
||||
white-space: nowrap;
|
||||
text-align: left;
|
||||
}
|
110
webapp/web/src/widget/templates/HtmlMonthlyCalendar.html
Normal file
|
@ -0,0 +1,110 @@
|
|||
<div class="datePickerContainer" dojoAttachPoint="datePickerContainerNode">
|
||||
<h3 class="monthLabel">
|
||||
<!--
|
||||
<span
|
||||
dojoAttachPoint="decreaseWeekNode"
|
||||
dojoAttachEvent="onClick: onIncrementWeek;"
|
||||
class="incrementControl">
|
||||
<img src="${dojoRoot}src/widget/templates/decrementWeek.gif" alt="↑" />
|
||||
</span>
|
||||
-->
|
||||
<span
|
||||
dojoAttachPoint="decreaseMonthNode"
|
||||
dojoAttachEvent="onClick: onIncrementMonth;" class="incrementControl">
|
||||
<img src="${dojoRoot}src/widget/templates/decrementMonth.gif"
|
||||
alt="↑" dojoAttachPoint="decrementMonthImageNode">
|
||||
</span>
|
||||
<span dojoAttachPoint="monthLabelNode" class="month">July</span>
|
||||
<span
|
||||
dojoAttachPoint="increaseMonthNode"
|
||||
dojoAttachEvent="onClick: onIncrementMonth;" class="incrementControl">
|
||||
<img src="${dojoRoot}src/widget/templates/incrementMonth.gif"
|
||||
alt="↓" dojoAttachPoint="incrementMonthImageNode">
|
||||
</span>
|
||||
<!--
|
||||
<span dojoAttachPoint="increaseWeekNode"
|
||||
dojoAttachEvent="onClick: onIncrementWeek;"
|
||||
class="incrementControl">
|
||||
<img src="${dojoRoot}src/widget/templates/incrementWeek.gif"
|
||||
alt="↓" />
|
||||
</span>
|
||||
-->
|
||||
</h3>
|
||||
<table class="calendarContainer">
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Sunday</td>
|
||||
<td>Monday</td>
|
||||
<td>Tuesday</td>
|
||||
<td>Wednesday</td>
|
||||
<td>Thursday</td>
|
||||
<td>Friday</td>
|
||||
<td>Saturday</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody dojoAttachPoint="calendarDatesContainerNode"
|
||||
dojoAttachEvent="onClick: onSetDate;">
|
||||
<tr dojoAttachPoint="calendarRow0">
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr dojoAttachPoint="calendarRow1">
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr dojoAttachPoint="calendarRow2">
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr dojoAttachPoint="calendarRow3">
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr dojoAttachPoint="calendarRow4">
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr dojoAttachPoint="calendarRow5">
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3 class="yearLabel">
|
||||
<span dojoAttachPoint="previousYearLabelNode"
|
||||
dojoAttachEvent="onClick: onIncrementYear;" class="previousYear"></span>
|
||||
<span class="selectedYear" dojoAttachPoint="currentYearLabelNode"></span>
|
||||
<span dojoAttachPoint="nextYearLabelNode"
|
||||
dojoAttachEvent="onClick: onIncrementYear;" class="nextYear"></span>
|
||||
</h3>
|
||||
</div>
|
15
webapp/web/src/widget/templates/HtmlResizableTextarea.css
Normal file
|
@ -0,0 +1,15 @@
|
|||
div.statusBar {
|
||||
background-color: ThreeDFace;
|
||||
height: 28px;
|
||||
padding: 1px;
|
||||
overflow: hidden;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
div.statusPanel {
|
||||
background-color: ThreeDFace;
|
||||
border: 1px solid;
|
||||
border-color: ThreeDShadow ThreeDHighlight ThreeDHighlight ThreeDShadow;
|
||||
margin: 1px;
|
||||
padding: 2px 6px;
|
||||
}
|
14
webapp/web/src/widget/templates/HtmlResizableTextarea.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
<div>
|
||||
<div style="border: 2px solid black; width: 90%; height: 200px;"
|
||||
dojoAttachPoint="rootLayoutNode">
|
||||
<div dojoAttachPoint="textAreaContainerNode"
|
||||
style="border: 0px; margin: 0px; overflow: hidden;">
|
||||
</div>
|
||||
<div dojoAttachPoint="statusBarContainerNode" class="statusBar">
|
||||
<div dojoAttachPoint="statusLabelNode"
|
||||
class="statusPanel"
|
||||
style="padding-right: 0px; z-index: 1;">drag to resize</div>
|
||||
<div dojoAttachPoint="resizeHandleNode"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
12
webapp/web/src/widget/templates/HtmlResizeHandle.css
Normal file
|
@ -0,0 +1,12 @@
|
|||
.dojoHtmlResizeHandle {
|
||||
float: right;
|
||||
position: absolute;
|
||||
right: 2px;
|
||||
bottom: 2px;
|
||||
width: 13px;
|
||||
height: 13px;
|
||||
z-index: 20;
|
||||
cursor: nw-resize;
|
||||
background-image: url(grabCorner.gif);
|
||||
line-height: 0px;
|
||||
}
|
59
webapp/web/src/widget/templates/HtmlShow.css
Normal file
|
@ -0,0 +1,59 @@
|
|||
@media screen {
|
||||
html, body {
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
width: 100%;
|
||||
}
|
||||
body {
|
||||
display: none;
|
||||
}
|
||||
h1 {
|
||||
font-size: 50px;
|
||||
}
|
||||
p, li {
|
||||
font-size: 30px;
|
||||
}
|
||||
.dojoShowNav {
|
||||
background: #369;
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
height: 5px;
|
||||
bottom: 0px;
|
||||
left: 0px;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
.dojoShowNav input {
|
||||
margin: 0px;
|
||||
}
|
||||
.dojoShowHider {
|
||||
height: 5px;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
}
|
||||
.dojoShowPrint {
|
||||
position: absolute;
|
||||
left: 5px;
|
||||
top: 0px;
|
||||
}
|
||||
}
|
||||
@media print {
|
||||
.dojoShow {
|
||||
display: none !important;
|
||||
}
|
||||
.dojoShowPrint {
|
||||
display: block !important;
|
||||
}
|
||||
.dojoShowPrintSlide {
|
||||
border: 1px solid #aaa;
|
||||
padding: 10px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
.dojoShowPrintSlide, ul {
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
h1 {
|
||||
margin-top: 0;
|
||||
page-break-after: avoid;
|
||||
}
|
||||
}
|
11
webapp/web/src/widget/templates/HtmlShow.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
<div class="dojoShow">
|
||||
<div dojoAttachPoint="contentNode"></div>
|
||||
<div class="dojoShowNav" dojoAttachPoint="nav">
|
||||
<div class="dojoShowHider" dojoAttachPoint="hider"></div>
|
||||
<span dojoAttachEvent="onClick:previousSlide"><</span>
|
||||
<select dojoAttachEvent="onClick:gotoSlideByEvent" dojoAttachPoint="select">
|
||||
<option dojoAttachPoint="option">Title</option>
|
||||
</select>
|
||||
<span dojoAttachEvent="onClick:nextSlide">></span>
|
||||
</div>
|
||||
</div>
|
12
webapp/web/src/widget/templates/HtmlShowSlide.css
Normal file
|
@ -0,0 +1,12 @@
|
|||
.dojoShowSlideTitle {
|
||||
height: 100px;
|
||||
background: #369;
|
||||
}
|
||||
.dojoShowSlideTitle h1 {
|
||||
margin-top: 0;
|
||||
line-height: 100px;
|
||||
margin-left: 30px;
|
||||
}
|
||||
.dojoShowSlideBody {
|
||||
margin: 15px;
|
||||
}
|
6
webapp/web/src/widget/templates/HtmlShowSlide.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
<div class="dojoShowSlide">
|
||||
<div class="dojoShowSlideTitle">
|
||||
<h1 dojoAttachPoint="htmlTitle">Title</h1>
|
||||
</div>
|
||||
<div class="dojoShowSlideBody" dojoAttachPoint="containerNode"></div>
|
||||
</div>
|
100
webapp/web/src/widget/templates/HtmlSimpleDropdownButtons.css
Normal file
|
@ -0,0 +1,100 @@
|
|||
ul.dojoSimpleDropdownButtons {
|
||||
margin : 0;
|
||||
padding : 5px 0;
|
||||
}
|
||||
|
||||
ul.dojoSimpleDropdownButtons li {
|
||||
display : inline;
|
||||
margin-right : 5px;
|
||||
padding : 2px 0;
|
||||
}
|
||||
|
||||
ul.dojoSimpleDropdownButtons li a {
|
||||
padding : 2px 9px;
|
||||
border : 2px outset #ccc;
|
||||
border-right-width : 1px;
|
||||
background : #f4f4f4;
|
||||
color : #333;
|
||||
text-decoration : none;
|
||||
}
|
||||
|
||||
ul.dojoSimpleDropdownButtons li ul {
|
||||
display : none;
|
||||
}
|
||||
|
||||
ul.dojoSimpleDropdownButtons li a.disabled {
|
||||
color : #999;
|
||||
cursor : default;
|
||||
}
|
||||
|
||||
ul.dojoSimpleDropdownButtons li .downArrow {
|
||||
display : inline;
|
||||
padding : 2px 4px;
|
||||
border : 2px outset #ccc;
|
||||
border-left : 0;
|
||||
background : #f4f4f4 url(images/dropdownButtonsArrow.gif) no-repeat 4px 9px;
|
||||
text-decoration : none;
|
||||
color : black;
|
||||
cursor : pointer;
|
||||
_cursor : hand;
|
||||
}
|
||||
|
||||
ul.dojoSimpleDropdownButtons li .downArrow.disabled {
|
||||
background-image : url(images/dropdownButtonsArrow-disabled.gif);
|
||||
cursor : default;
|
||||
}
|
||||
|
||||
ul.dojoSimpleDropdownButtons li a:hover,
|
||||
ul.dojoSimpleDropdownButtons li span.downArrow:hover {
|
||||
color : black;
|
||||
background-color : #ddd;
|
||||
}
|
||||
|
||||
ul.dojoSimpleDropdownButtons li .downArrow.pressed, ul.dojoSimpleDropdownButtons li .downArrow:focus {
|
||||
border-style : inset;
|
||||
background-position : 5px 10px;
|
||||
padding : 2px 4px;
|
||||
}
|
||||
|
||||
ul.dojoSimpleDropdownButtons li a.disabled:hover,
|
||||
ul.dojoSimpleDropdownButtons li span.downArrow.disabled:hover {
|
||||
color : #999;
|
||||
background-color : #f4f4f4;
|
||||
}
|
||||
|
||||
ul.dojoSimpleDropdownButtons li a:focus {
|
||||
padding : 3px 8px 1px 10px;
|
||||
color : #333;
|
||||
border-style : inset;
|
||||
}
|
||||
|
||||
/* Menu
|
||||
******************** */
|
||||
ul.dojoSimpleDropdownButtonsMenu {
|
||||
position : absolute;
|
||||
margin : 0;
|
||||
_margin : -2px;
|
||||
padding : 0;
|
||||
display : none;
|
||||
border : 1px solid #aaa;
|
||||
background : #f4f4f4;
|
||||
list-style : none;
|
||||
z-index : 99;
|
||||
}
|
||||
|
||||
ul.dojoSimpleDropdownButtonsMenu li {
|
||||
_display : inline;
|
||||
}
|
||||
|
||||
ul.dojoSimpleDropdownButtonsMenu a {
|
||||
display : block;
|
||||
padding : 2px 5px;
|
||||
color : #333;
|
||||
text-decoration : none;
|
||||
}
|
||||
|
||||
ul.dojoSimpleDropdownButtonsMenu a:hover {
|
||||
background : #ddd;
|
||||
color : black;
|
||||
}
|
||||
|
9
webapp/web/src/widget/templates/HtmlSlideShow.css
Normal file
|
@ -0,0 +1,9 @@
|
|||
.slideShowImg {
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
top: 0px;
|
||||
border: 2px solid #4d4d4d;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
15
webapp/web/src/widget/templates/HtmlSlideShow.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
<div style="position: relative; padding: 3px;">
|
||||
<div dojoAttachPoint="controlsContainer">
|
||||
<input type="button" value="pause"
|
||||
dojoAttachPoint="startStopButton"
|
||||
dojoAttachEvent="onClick: togglePaused;">
|
||||
</div>
|
||||
<div style="position: relative; width: 800px; height: 600px;"
|
||||
dojoAttachPoint="imagesContainer"
|
||||
dojoAttachEvent="onClick: togglePaused;">
|
||||
<img dojoAttachPoint="img1" class="slideShowImg"
|
||||
style="z-index: 1;" />
|
||||
<img dojoAttachPoint="img2" class="slideShowImg"
|
||||
style="z-index: 0;" />
|
||||
</div>
|
||||
</div>
|
47
webapp/web/src/widget/templates/HtmlSlider.css
Normal file
|
@ -0,0 +1,47 @@
|
|||
.sliderMain {
|
||||
position: relative;
|
||||
/*top: 80px; left: 0px;*/
|
||||
padding: 0px;
|
||||
border: 1px solid black;
|
||||
width: 300px; height: 300px;
|
||||
}
|
||||
|
||||
.sliderHandle {
|
||||
color: #FF0000;
|
||||
position: relative;
|
||||
background-image: url(images/slider-button.png);
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
}
|
||||
|
||||
.sliderMainHorizontal {
|
||||
position: relative;
|
||||
/*top: 80px; left: 0px;*/
|
||||
padding: 0px;
|
||||
width: 300px; height: 35px;
|
||||
background: url(images/slider-bg.gif) no-repeat 0px 4px;
|
||||
}
|
||||
|
||||
.sliderHandleHorizontal {
|
||||
color: #FF0000;
|
||||
position: relative;
|
||||
background-image: url(images/slider-button-horz.png);
|
||||
width: 25px;
|
||||
height: 35px;
|
||||
}
|
||||
|
||||
.sliderMainVertical {
|
||||
position: relative;
|
||||
/*top: 80px; left: 0px;*/
|
||||
padding: 0px;
|
||||
width: 35px; height: 300px;
|
||||
background: url(images/slider-bg-vert.gif) no-repeat 4px 0px;
|
||||
}
|
||||
|
||||
.sliderHandleVertical {
|
||||
color: #FF0000;
|
||||
position: relative;
|
||||
background-image: url(images/slider-button-vert.png);
|
||||
width: 35px;
|
||||
height: 25px;
|
||||
}
|
3
webapp/web/src/widget/templates/HtmlSlider.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
<div class="sliderMain">
|
||||
<div class="sliderHandle" dojoAttachPoint="sliderHandle"></div>
|
||||
</div>
|
|
@ -0,0 +1,3 @@
|
|||
<div class="sliderMainHorizontal">
|
||||
<div class="sliderHandleHorizontal" dojoAttachPoint="sliderHandle"></div>
|
||||
</div>
|
3
webapp/web/src/widget/templates/HtmlSliderVertical.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
<div class="sliderMainVertical">
|
||||
<div class="sliderHandleVertical" dojoAttachPoint="sliderHandle"></div>
|
||||
</div>
|
39
webapp/web/src/widget/templates/HtmlSpinner.css
Normal file
|
@ -0,0 +1,39 @@
|
|||
input.dojoSpinnerInput {
|
||||
/* font-size: 0.8em; */
|
||||
border: 0px;
|
||||
}
|
||||
|
||||
.dojoSpinnerOptions {
|
||||
font-family: Verdana, Helvetica, Garamond, sans-serif;
|
||||
/* font-size: 0.7em; */
|
||||
background-color: white;
|
||||
border: 1px solid #afafaf;
|
||||
position: absolute;
|
||||
z-index: 1000;
|
||||
overflow: auto;
|
||||
-moz-opacity: 0;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
table.dojoSpinner {
|
||||
border: 1px solid #afafaf;
|
||||
}
|
||||
|
||||
.dojoSpinnerItem {
|
||||
padding-left: 2px;
|
||||
padding-top: 2px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.dojoSpinnerItemEven {
|
||||
background-color: #f4f4f4;
|
||||
}
|
||||
|
||||
.dojoSpinnerItemOdd {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.dojoSpinnerItemHighlight {
|
||||
background-color: #63709A;
|
||||
color: white;
|
||||
}
|
28
webapp/web/src/widget/templates/HtmlSpinner.html
Normal file
|
@ -0,0 +1,28 @@
|
|||
<span style="display:none;">
|
||||
<span style="position:relative;" dojoAttachPoint="relNode">
|
||||
<span style="position:absolute; left:0; top:0;" dojoAttachPoint="absNode">
|
||||
<span style="position:relative;" dojoAttachPoint="innerRelNode">
|
||||
<img border="0"
|
||||
hspace="0"
|
||||
vspace="0"
|
||||
style="position:absolute; left:0;top:0; border-right:1px solid black;border-bottom:1px solid black;"
|
||||
dojoAttachPoint="upArrowNode"
|
||||
src="${dojoRoot}src/widget/templates/images/spinnerIncrement.gif">
|
||||
<img border="0"
|
||||
hspace="0"
|
||||
vspace="0"
|
||||
style="vertical-align:bottom;border-right:1px solid black;border-bottom:1px solid black;"
|
||||
dojoAttachPoint="downArrowNode"
|
||||
src="${dojoRoot}src/widget/templates/images/spinnerDecrement.gif">
|
||||
</span>
|
||||
</span>
|
||||
<span style="position:relative;" dojoAttachPoint="spacerRelNode">
|
||||
<img border="0"
|
||||
hspace="0"
|
||||
vspace="0"
|
||||
style="visibility:hidden;"
|
||||
dojoAttachPoint="spacerNode"
|
||||
src="${dojoRoot}src/widget/templates/images/spinnerIncrement.gif">
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
39
webapp/web/src/widget/templates/HtmlSplitContainer.css
Normal file
|
@ -0,0 +1,39 @@
|
|||
.dojoSplitContainer{
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.dojoSplitPane{
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.dojoSplitContainerSizerH,
|
||||
.dojoSplitContainerSizerV {
|
||||
font-size: 1px;
|
||||
cursor: move;
|
||||
cursor: w-resize;
|
||||
background-color: ThreeDFace;
|
||||
border: 1px solid;
|
||||
border-color: ThreeDHighlight ThreeDShadow ThreeDShadow ThreeDHighlight;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.dojoSplitContainerSizerV {
|
||||
cursor: n-resize;
|
||||
}
|
||||
|
||||
.dojoSplitContainerVirtualSizerH,
|
||||
.dojoSplitContainerVirtualSizerV {
|
||||
font-size: 1px;
|
||||
cursor: move;
|
||||
cursor: w-resize;
|
||||
background-color: ThreeDShadow;
|
||||
-moz-opacity: 0.5;
|
||||
opacity: 0.5;
|
||||
filter: Alpha(Opacity=50);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.dojoSplitContainerVirtualSizerV {
|
||||
cursor: n-resize;
|
||||
}
|
173
webapp/web/src/widget/templates/HtmlTabContainer.css
Normal file
|
@ -0,0 +1,173 @@
|
|||
.dojoTabContainer {
|
||||
position : relative;
|
||||
}
|
||||
|
||||
.dojoTabPaneWrapper {
|
||||
position : relative;
|
||||
border : 1px solid #6290d2;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.dojoTabLabels-top {
|
||||
position : absolute;
|
||||
top : 0px;
|
||||
left : 0px;
|
||||
overflow : visible;
|
||||
margin-bottom : -1px;
|
||||
width : 100%;
|
||||
z-index: 2; /* so the bottom of the tab label will cover up the border of dojoTabPaneWrapper */
|
||||
}
|
||||
.dojoTabLabels-top-noLayout {
|
||||
overflow : visible;
|
||||
margin-bottom : -1px;
|
||||
width : 100%;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.dojoTabPaneTab {
|
||||
position : relative;
|
||||
float : left;
|
||||
padding-left : 9px;
|
||||
border-bottom : 1px solid #6290d2;
|
||||
background : url(images/tab_left.gif) no-repeat left top;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.dojoTabPaneTab span {
|
||||
display : block;
|
||||
padding : 4px 15px 4px 6px;
|
||||
background : url(images/tab_top_right.gif) no-repeat right top;
|
||||
color : #333;
|
||||
font-size : 90%;
|
||||
}
|
||||
|
||||
.dojoTabPanePaneClose {
|
||||
position : absolute;
|
||||
bottom : 0px;
|
||||
right : 6px;
|
||||
height : 12px;
|
||||
width : 12px;
|
||||
background : url(images/tab_close.gif) no-repeat right top;
|
||||
}
|
||||
|
||||
.dojoTabPanePaneCloseHover {
|
||||
background-image : url(images/tab_close_h.gif);
|
||||
}
|
||||
|
||||
.dojoTabPaneTabClose {
|
||||
display : inline;
|
||||
height : 12px;
|
||||
width : 12px;
|
||||
padding : 0 12px 0 0;
|
||||
margin : 0 -10px 0 10px;
|
||||
background : url(images/tab_close.gif) no-repeat right top;
|
||||
cursor : default;
|
||||
}
|
||||
|
||||
.dojoTabPaneTabCloseHover {
|
||||
background-image : url(images/tab_close_h.gif);
|
||||
}
|
||||
|
||||
.dojoTabPaneTab.current {
|
||||
padding-bottom : 1px;
|
||||
border-bottom : 0;
|
||||
background-position : 0 -150px;
|
||||
}
|
||||
|
||||
.dojoTabPaneTab.current span {
|
||||
padding-bottom : 5px;
|
||||
margin-bottom : -1px;
|
||||
background-position : 100% -150px;
|
||||
}
|
||||
|
||||
/* bottom tabs */
|
||||
|
||||
.dojoTabLabels-bottom {
|
||||
position : absolute;
|
||||
bottom : 0px;
|
||||
left : 0px;
|
||||
overflow : visible;
|
||||
margin-top : -1px;
|
||||
width : 100%;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.dojoTabLabels-bottom .dojoTabPaneTab {
|
||||
border-top : 1px solid #6290d2;
|
||||
border-bottom : 0;
|
||||
background : url(images/tab_bot_left.gif) no-repeat left bottom;
|
||||
}
|
||||
|
||||
.dojoTabLabels-bottom .dojoTabPaneTab span {
|
||||
background : url(images/tab_bot_right.gif) no-repeat right bottom;
|
||||
}
|
||||
|
||||
.dojoTabLabels-bottom .dojoTabPaneTab.current {
|
||||
padding-top : 1px;
|
||||
border-top : 0;
|
||||
background : url(images/tab_bot_left_curr.gif) no-repeat left bottom;
|
||||
}
|
||||
|
||||
.dojoTabLabels-bottom .dojoTabPaneTab.current span {
|
||||
padding-top : 5px;
|
||||
margin-top : -1px;
|
||||
background : url(images/tab_bot_right_curr.gif) no-repeat right bottom;
|
||||
}
|
||||
|
||||
/* right-h tabs */
|
||||
|
||||
.dojoTabLabels-right-h {
|
||||
position : absolute;
|
||||
top : 0px;
|
||||
right : 0px;
|
||||
overflow : visible;
|
||||
margin-left : -1px;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.dojoTabLabels-right-h .dojoTabPaneTab {
|
||||
padding-left : 0;
|
||||
border-left : 1px solid #6290d2;
|
||||
border-bottom : 0;
|
||||
background : url(images/tab_bot_right.gif) no-repeat right bottom;
|
||||
float : none;
|
||||
}
|
||||
|
||||
.dojoTabLabels-right-h .dojoTabPaneTab span {
|
||||
padding : 4px 15px 4px 15px;
|
||||
}
|
||||
|
||||
.dojoTabLabels-right-h .dojoTabPaneTab.current {
|
||||
border-left : 0;
|
||||
border-bottom : 1px solid #6290d2;
|
||||
}
|
||||
|
||||
/* left-h tabs */
|
||||
|
||||
.dojoTabLabels-left-h {
|
||||
position : absolute;
|
||||
top : 0px;
|
||||
left : 0px;
|
||||
overflow : visible;
|
||||
margin-right : -1px;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.dojoTabLabels-left-h .dojoTabPaneTab {
|
||||
border-right : 1px solid #6290d2;
|
||||
border-bottom : 0;
|
||||
float : none;
|
||||
background : url(images/tab_top_left.gif) no-repeat left top;
|
||||
}
|
||||
|
||||
.dojoTabLabels-left-h .dojoTabPaneTab.current {
|
||||
border-right : 0;
|
||||
border-bottom : 1px solid #6290d2;
|
||||
padding-bottom : 0;
|
||||
background : url(images/tab_top_left.gif) no-repeat 0 -150px;
|
||||
}
|
||||
|
||||
.dojoTabLabels-left-h .dojoTabPaneTab span {
|
||||
background : 0;
|
||||
border-bottom : 1px solid #6290d2;
|
||||
}
|
4
webapp/web/src/widget/templates/HtmlTabContainer.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
<div id="${this.widgetId}" class="dojoTabContainer" waiRole="tabpanel">
|
||||
<div dojoAttachPoint="dojoTabLabels"></div>
|
||||
<div class="dojoTabPaneWrapper" dojoAttachPoint="containerNode" ></div>
|
||||
</div>
|
29
webapp/web/src/widget/templates/HtmlTaskBar.css
Normal file
|
@ -0,0 +1,29 @@
|
|||
.dojoTaskBarItem {
|
||||
display: inline-block;
|
||||
background-color: ThreeDFace;
|
||||
border: outset 2px;
|
||||
margin-right: 5px;
|
||||
cursor: pointer;
|
||||
height: 35px;
|
||||
width: 100px;
|
||||
font-size: 10pt;
|
||||
white-space: nowrap;
|
||||
text-align: center;
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.dojoTaskBarItem img {
|
||||
vertical-align: middle;
|
||||
margin-right: 5px;
|
||||
margin-left: 5px;
|
||||
height: 32px;
|
||||
width: 32px;
|
||||
}
|
||||
|
||||
.dojoTaskBarItem a {
|
||||
color: black;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
<div class="dojoTaskBarItem" dojoAttachEvent="onClick">
|
||||
</div>
|
37
webapp/web/src/widget/templates/HtmlTimePicker.css
Normal file
|
@ -0,0 +1,37 @@
|
|||
.timePickerContainer {
|
||||
margin:1.75em 0 0.5em 0;
|
||||
width:10em;
|
||||
float:left;
|
||||
}
|
||||
|
||||
.timeContainer {
|
||||
border-collapse:collapse;
|
||||
border-spacing:0;
|
||||
}
|
||||
|
||||
.timeContainer thead td{
|
||||
border-bottom:1px solid #e6e6e6;
|
||||
padding:0 0.4em 0.2em 0.4em;
|
||||
}
|
||||
|
||||
.timeContainer td {
|
||||
font-size:0.9em;
|
||||
padding:0 0.25em 0 0.25em;
|
||||
text-align:left;
|
||||
cursor:pointer;cursor:hand;
|
||||
}
|
||||
|
||||
.timeContainer td.minutesHeading {
|
||||
border-left:1px solid #e6e6e6;
|
||||
border-right:1px solid #e6e6e6;
|
||||
}
|
||||
|
||||
.timeContainer .minutes {
|
||||
border-left:1px solid #e6e6e6;
|
||||
border-right:1px solid #e6e6e6;
|
||||
}
|
||||
|
||||
.selectedItem {
|
||||
background-color:#3a3a3a;
|
||||
color:#ffffff;
|
||||
}
|
99
webapp/web/src/widget/templates/HtmlTimePicker.html
Normal file
|
@ -0,0 +1,99 @@
|
|||
<div class="timePickerContainer" dojoAttachPoint="timePickerContainerNode">
|
||||
<table class="timeContainer" cellspacing="0" >
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Hour</td>
|
||||
<td class="minutesHeading">Minute</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<table>
|
||||
<tbody dojoAttachPoint="hourContainerNode"
|
||||
dojoAttachEvent="onClick: onSetSelectedHour;">
|
||||
<tr>
|
||||
<td>12</td>
|
||||
<td>6</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>1</td>
|
||||
<td>7</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>2</td>
|
||||
<td>8</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>3</td>
|
||||
<td>9</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>4</td>
|
||||
<td>10</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>5</td>
|
||||
<td>11</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
<td valign="top" class="minutes">
|
||||
<table>
|
||||
<tbody dojoAttachPoint="minuteContainerNode"
|
||||
dojoAttachEvent="onClick: onSetSelectedMinute;">
|
||||
<tr>
|
||||
<td>00</td>
|
||||
<td>30</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>05</td>
|
||||
<td>35</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>10</td>
|
||||
<td>40</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>15</td>
|
||||
<td>45</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>20</td>
|
||||
<td>50</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>25</td>
|
||||
<td>55</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
<td valign="top">
|
||||
<table>
|
||||
<tbody dojoAttachPoint="amPmContainerNode"
|
||||
dojoAttachEvent="onClick: onSetSelectedAmPm;">
|
||||
<tr>
|
||||
<td>AM</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>PM</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<div dojoAttachPoint="anyTimeContainerNode"
|
||||
dojoAttachEvent="onClick: onSetSelectedAnyTime;"
|
||||
class="anyTimeContainer">any</div>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
54
webapp/web/src/widget/templates/HtmlToolbar.css
Normal file
|
@ -0,0 +1,54 @@
|
|||
.toolbarContainer {
|
||||
border-bottom : 0;
|
||||
background-color : #def;
|
||||
color : ButtonText;
|
||||
font : Menu;
|
||||
background-image: url(images/toolbar-bg.gif);
|
||||
}
|
||||
|
||||
.toolbar {
|
||||
padding : 2px 4px;
|
||||
min-height : 26px;
|
||||
_height : 26px;
|
||||
}
|
||||
|
||||
.toolbarItem {
|
||||
float : left;
|
||||
padding : 1px 2px;
|
||||
margin : 0 2px 1px 0;
|
||||
cursor : pointer;
|
||||
}
|
||||
|
||||
.toolbarItem.selected, .toolbarItem.down {
|
||||
margin : 1px 1px 0 1px;
|
||||
padding : 0px 1px;
|
||||
border : 1px solid #bbf;
|
||||
background-color : #fafaff;
|
||||
}
|
||||
|
||||
.toolbarButton img {
|
||||
vertical-align : bottom;
|
||||
}
|
||||
|
||||
.toolbarButton span {
|
||||
line-height : 16px;
|
||||
vertical-align : middle;
|
||||
}
|
||||
|
||||
.toolbarButton.hover {
|
||||
padding : 0px 1px;
|
||||
border : 1px solid #99c;
|
||||
}
|
||||
|
||||
.toolbarItem.disabled {
|
||||
opacity : 0.3;
|
||||
filter : alpha(opacity=30);
|
||||
cursor : default;
|
||||
}
|
||||
|
||||
.toolbarSeparator {
|
||||
cursor : default;
|
||||
}
|
||||
|
||||
.toolbarFlexibleSpace {
|
||||
}
|
9
webapp/web/src/widget/templates/HtmlTooltipTemplate.css
Normal file
|
@ -0,0 +1,9 @@
|
|||
.dojoTooltip {
|
||||
border: solid black 1px;
|
||||
background: beige;
|
||||
color: black;
|
||||
position: absolute;
|
||||
font-size: small;
|
||||
padding: 2px 2px 2px 2px;
|
||||
z-index: 10;
|
||||
}
|
2
webapp/web/src/widget/templates/HtmlTooltipTemplate.html
Normal file
|
@ -0,0 +1,2 @@
|
|||
<div class='dojoTooltip' style="display:none" dojoAttachPoint="containerNode">
|
||||
</div>
|
60
webapp/web/src/widget/templates/Menu.css
Normal file
|
@ -0,0 +1,60 @@
|
|||
.dojoMenu {
|
||||
border:1px solid #000000;
|
||||
list-style-type:none;
|
||||
margin:0;
|
||||
padding:0;
|
||||
padding-bottom: 1px;
|
||||
background-color:#f4f4f4;
|
||||
font-size: 8pt;
|
||||
}
|
||||
|
||||
.dojoMenuSeparator {
|
||||
list-style-type:none;
|
||||
margin:0;
|
||||
padding:1px 0;
|
||||
border-bottom:1px solid #000000;
|
||||
line-height:1px;
|
||||
height:1px;
|
||||
}
|
||||
|
||||
li:hover.dojoMenuSeparator {
|
||||
background-color:#e5e5e5;
|
||||
cursor:default;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
.dojoContextMenu {
|
||||
position: absolute;
|
||||
display: none;
|
||||
border: 2px solid;
|
||||
border-color: ThreeDHighlight ThreeDShadow ThreeDShadow ThreeDHighlight;
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 1px;
|
||||
background-color: ThreeDFace;
|
||||
font-size: 8pt;
|
||||
}
|
||||
|
||||
.dojoMenuItem {
|
||||
white-space: nowrap;
|
||||
padding: 2px;
|
||||
font: menu;
|
||||
color: WindowText;
|
||||
}
|
||||
|
||||
.dojoMenuItem a {
|
||||
text-decoration: none;
|
||||
color: WindowText;
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
.dojoMenuItemHover {
|
||||
padding: 2px;
|
||||
background-color: blue;
|
||||
cursor: pointer;
|
||||
_cursor: hand;
|
||||
background-color: Highlight;
|
||||
color: HighlightText;
|
||||
}
|
35
webapp/web/src/widget/templates/PopUpButton.css
Normal file
|
@ -0,0 +1,35 @@
|
|||
.PopUpButton {
|
||||
padding : 2px 6px 2px 9px;
|
||||
border : 1px outset #ccc;
|
||||
background : #f4f4f4;
|
||||
color : #333;
|
||||
text-decoration : none;
|
||||
}
|
||||
|
||||
.PopUpButton .downArrow {
|
||||
margin-left: 0.5em;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.downArrow.disabled {
|
||||
background-image : url(images/dropdownButtonsArrow-disabled.gif);
|
||||
cursor : default;
|
||||
}
|
||||
|
||||
ul.dropdownButtons li a:hover,
|
||||
ul.dropdownButtons li span.downArrow:hover {
|
||||
color : black;
|
||||
background-color : #ddd;
|
||||
}
|
||||
|
||||
ul.dropdownButtons li .downArrow.pressed, ul.dropdownButtons li .downArrow:focus {
|
||||
border-style : inset;
|
||||
background-position : 5px 10px;
|
||||
padding : 2px 4px;
|
||||
}
|
||||
|
||||
ul.dropdownButtons li a.disabled:hover,
|
||||
ul.dropdownButtons li span.downArrow.disabled:hover {
|
||||
color : #999;
|
||||
background-color : #f4f4f4;
|
||||
}
|
4
webapp/web/src/widget/templates/TitlePane.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
<div dojoAttachPoint="domNode">
|
||||
<div dojoAttachPoint="labelNode" dojoAttachEvent="onclick: onLabelClick"></div>
|
||||
<div dojoAttachPoint="containerNode"></div>
|
||||
</div>
|
29
webapp/web/src/widget/templates/Tree.css
Normal file
|
@ -0,0 +1,29 @@
|
|||
.dojoTree {
|
||||
font: caption;
|
||||
font-size: 11px;
|
||||
font-weight: normal;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.dojoTreeNodeLabel {
|
||||
padding: 1px 2px;
|
||||
color: WindowText;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.dojoTreeNodeLabel:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.dojoTreeNodeLabelSelected {
|
||||
background-color: Highlight;
|
||||
color: HighlightText;
|
||||
}
|
||||
|
||||
.dojoTree div {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.dojoTree img {
|
||||
vertical-align: middle;
|
||||
}
|
72
webapp/web/src/widget/templates/Wizard.css
Normal file
|
@ -0,0 +1,72 @@
|
|||
.WizardContainer {
|
||||
background: #EEEEEE;
|
||||
border: #798EC5 1px solid;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.WizardTitle {
|
||||
color: #003366;
|
||||
padding: 8px 5px 15px 2px;
|
||||
font-weight: bold;
|
||||
font-size: x-small;
|
||||
font-style: normal;
|
||||
font-family: Verdana, Arial, Helvetica;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.WizardText {
|
||||
color: #000033;
|
||||
font-weight: normal;
|
||||
font-size: xx-small;
|
||||
font-family: Verdana, Arial, Helvetica;
|
||||
padding: 2 50; text-align: justify;
|
||||
}
|
||||
|
||||
.WizardLightText {
|
||||
color: #666666;
|
||||
font-weight: normal;
|
||||
font-size: xx-small;
|
||||
font-family: verdana, arial, helvetica;
|
||||
padding: 2px 50px;
|
||||
text-align: justify;
|
||||
}
|
||||
|
||||
.WizardButtonHolder {
|
||||
text-align: right;
|
||||
padding: 10px 5px;
|
||||
}
|
||||
|
||||
.WizardButton {
|
||||
color: #ffffff;
|
||||
background: #798EC5;
|
||||
font-size: xx-small;
|
||||
font-family: verdana, arial, helvetica, sans-serif;
|
||||
border-right: #000000 1px solid;
|
||||
border-bottom: #000000 1px solid;
|
||||
border-left: #666666 1px solid;
|
||||
border-top: #666666 1px solid;
|
||||
padding-right: 4px;
|
||||
padding-left: 4px;
|
||||
text-decoration: none; height: 18px;
|
||||
}
|
||||
|
||||
.WizardButton:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.WizardButtonDisabled {
|
||||
color: #eeeeee;
|
||||
background-color: #999999;
|
||||
font-size: xx-small;
|
||||
FONT-FAMILY: verdana, arial, helvetica, sans-serif;
|
||||
border-right: #000000 1px solid;
|
||||
border-bottom: #000000 1px solid;
|
||||
border-left: #798EC5 1px solid;
|
||||
border-top: #798EC5 1px solid;
|
||||
padding-right: 4px;
|
||||
padding-left: 4px;
|
||||
text-decoration: none;
|
||||
height: 18px;
|
||||
}
|
||||
|
||||
|
11
webapp/web/src/widget/templates/Wizard.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
<div class="WizardContainer" dojoAttachPoint="wizardNode">
|
||||
<div class="WizardText" dojoAttachPoint="wizardPanelContainerNode">
|
||||
</div>
|
||||
<div class="WizardButtonHolder" dojoAttachPoint="wizardControlContainerNode">
|
||||
<input class="WizardButton" type="button" dojoAttachPoint="previousButton"/>
|
||||
<input class="WizardButton" type="button" dojoAttachPoint="nextButton"/>
|
||||
<input class="WizardButton" type="button" dojoAttachPoint="cancelButton"/>
|
||||
<input class="WizardButton" type="button" dojoAttachPoint="doneButton" style="display:none"/>
|
||||
</div>
|
||||
</div>
|
||||
|
BIN
webapp/web/src/widget/templates/buttons/-.gif
Normal file
After Width: | Height: | Size: 58 B |
BIN
webapp/web/src/widget/templates/buttons/aggregate.gif
Normal file
After Width: | Height: | Size: 4.3 KiB |
BIN
webapp/web/src/widget/templates/buttons/backcolor.gif
Normal file
After Width: | Height: | Size: 585 B |
BIN
webapp/web/src/widget/templates/buttons/bg-fade.png
Normal file
After Width: | Height: | Size: 177 B |
BIN
webapp/web/src/widget/templates/buttons/bold.gif
Normal file
After Width: | Height: | Size: 346 B |
BIN
webapp/web/src/widget/templates/buttons/cancel.gif
Normal file
After Width: | Height: | Size: 375 B |
BIN
webapp/web/src/widget/templates/buttons/copy.gif
Normal file
After Width: | Height: | Size: 210 B |
BIN
webapp/web/src/widget/templates/buttons/createlink.gif
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
webapp/web/src/widget/templates/buttons/cut.gif
Normal file
After Width: | Height: | Size: 112 B |
BIN
webapp/web/src/widget/templates/buttons/delete.gif
Normal file
After Width: | Height: | Size: 81 B |
BIN
webapp/web/src/widget/templates/buttons/forecolor.gif
Normal file
After Width: | Height: | Size: 574 B |
BIN
webapp/web/src/widget/templates/buttons/hilitecolor.gif
Normal file
After Width: | Height: | Size: 585 B |
BIN
webapp/web/src/widget/templates/buttons/indent.gif
Normal file
After Width: | Height: | Size: 83 B |
BIN
webapp/web/src/widget/templates/buttons/inserthorizontalrule.gif
Normal file
After Width: | Height: | Size: 117 B |
BIN
webapp/web/src/widget/templates/buttons/insertimage.gif
Normal file
After Width: | Height: | Size: 595 B |
BIN
webapp/web/src/widget/templates/buttons/insertorderedlist.gif
Normal file
After Width: | Height: | Size: 85 B |
BIN
webapp/web/src/widget/templates/buttons/inserttable.gif
Normal file
After Width: | Height: | Size: 233 B |
BIN
webapp/web/src/widget/templates/buttons/insertunorderedlist.gif
Normal file
After Width: | Height: | Size: 98 B |
BIN
webapp/web/src/widget/templates/buttons/italic.gif
Normal file
After Width: | Height: | Size: 309 B |
BIN
webapp/web/src/widget/templates/buttons/justifycenter.gif
Normal file
After Width: | Height: | Size: 132 B |
BIN
webapp/web/src/widget/templates/buttons/justifyfull.gif
Normal file
After Width: | Height: | Size: 294 B |
BIN
webapp/web/src/widget/templates/buttons/justifyleft.gif
Normal file
After Width: | Height: | Size: 194 B |
BIN
webapp/web/src/widget/templates/buttons/justifyright.gif
Normal file
After Width: | Height: | Size: 190 B |
BIN
webapp/web/src/widget/templates/buttons/left_to_right.gif
Normal file
After Width: | Height: | Size: 138 B |
BIN
webapp/web/src/widget/templates/buttons/list_bullet_indent.gif
Normal file
After Width: | Height: | Size: 98 B |
BIN
webapp/web/src/widget/templates/buttons/list_bullet_outdent.gif
Normal file
After Width: | Height: | Size: 99 B |
BIN
webapp/web/src/widget/templates/buttons/list_num_indent.gif
Normal file
After Width: | Height: | Size: 85 B |
BIN
webapp/web/src/widget/templates/buttons/list_num_outdent.gif
Normal file
After Width: | Height: | Size: 85 B |
BIN
webapp/web/src/widget/templates/buttons/outdent.gif
Normal file
After Width: | Height: | Size: 84 B |
BIN
webapp/web/src/widget/templates/buttons/paste.gif
Normal file
After Width: | Height: | Size: 241 B |
BIN
webapp/web/src/widget/templates/buttons/redo.gif
Normal file
After Width: | Height: | Size: 543 B |
BIN
webapp/web/src/widget/templates/buttons/removeformat.gif
Normal file
After Width: | Height: | Size: 101 B |
BIN
webapp/web/src/widget/templates/buttons/right_to_left.gif
Normal file
After Width: | Height: | Size: 142 B |
BIN
webapp/web/src/widget/templates/buttons/save.gif
Normal file
After Width: | Height: | Size: 243 B |
BIN
webapp/web/src/widget/templates/buttons/space.gif
Normal file
After Width: | Height: | Size: 43 B |
BIN
webapp/web/src/widget/templates/buttons/strikethrough.gif
Normal file
After Width: | Height: | Size: 329 B |
BIN
webapp/web/src/widget/templates/buttons/subscript.gif
Normal file
After Width: | Height: | Size: 76 B |
BIN
webapp/web/src/widget/templates/buttons/superscript.gif
Normal file
After Width: | Height: | Size: 77 B |
BIN
webapp/web/src/widget/templates/buttons/underline.gif
Normal file
After Width: | Height: | Size: 344 B |
BIN
webapp/web/src/widget/templates/buttons/undo.gif
Normal file
After Width: | Height: | Size: 541 B |
BIN
webapp/web/src/widget/templates/buttons/wikiword.gif
Normal file
After Width: | Height: | Size: 386 B |