Changeset 3057


Ignore:
Timestamp:
Jan 11, 2007, 3:00:55 PM (17 years ago)
Author:
Martin Svensson
Message:

References #146 Added a tag/menu to symbolize menu names in helptexts.
Some more styles for use with help texts also created.

Location:
trunk/www
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/admin/clients/help/edit_help.jsp

    r3046 r3057  
    200200      tooltip="Insert an unordered list"
    201201    />     
     202    <m:menuitem
     203      title="List item"
     204      onclick="encloseSelection('&lt;li&gt;', '&lt;/li&gt;')"
     205      tooltip="Insert a listitem."
     206    />     
    202207    </m:menu>
    203208    <%
     
    215220      title="Row"
    216221      onclick="encloseSelection('&lt;tr&gt;', '&lt;/tr&gt;')"
    217       tooltip="Insert a row in a table"
     222      tooltip="Insert a tablerow."
    218223    />
    219224    <m:menuitem
    220225      title="Cell"
    221226      onclick="encloseSelection('&lt;td&gt;', '&lt;/td&gt;')"
    222       tooltip="Insert a cell in a table row"
     227      tooltip="Insert a datacell."
    223228    />
    224229    </m:menu>
     
    239244      title="Required"
    240245      onclick="encloseSelection('&lt;req&gt;', '&lt/req&gt;')"
    241       tooltip="Mark text as required user input"
     246      tooltip="Mark text as required user input."
     247    />
     248    <m:menuitem
     249      title="Button text"
     250      onclick="encloseSelection('&lt;btn&gt;', '&lt/btn&gt;')"
     251      tooltip="Mark text to symbol a button."
     252    />
     253    <m:menuitem
     254      title="Menu text"
     255      onclick="encloseSelection('&lt;mnu&gt;', '&lt/mnu&gt;')"
     256      tooltip="Mark text to symbol a menu."
    242257    />
    243258    </m:menu>   
  • trunk/www/common/zoom.jsp

    r3046 r3057  
    134134    tooltip="Insert an unordered list"
    135135  />     
     136  <m:menuitem
     137    title="List item"
     138    onclick="encloseSelection('&lt;li&gt;', '&lt;/li&gt;')"
     139    tooltip="Insert a listitem."
     140  />     
    136141  </m:menu>
    137142  <%
     
    149154    title="Row"
    150155    onclick="encloseSelection('&lt;tr&gt;', '&lt;/tr&gt;')"
    151     tooltip="Insert a row in a table"
     156    tooltip="Insert a tablerow."
    152157  />
    153158  <m:menuitem
    154159    title="Cell"
    155160    onclick="encloseSelection('&lt;td&gt;', '&lt;/td&gt;')"
    156     tooltip="Insert a cell in a table row"
     161    tooltip="Insert a datacell."
    157162  />
    158163  </m:menu>
     
    173178    title="Required"
    174179    onclick="encloseSelection('&lt;req&gt;', '&lt/req&gt;')"
    175     tooltip="Mark text as required user input"
     180    tooltip="Mark text as required user input."
     181  />
     182  <m:menuitem
     183    title="Button text"
     184    onclick="encloseSelection('&lt;btn&gt;', '&lt/btn&gt;')"
     185    tooltip="Mark text to symbol a button."
     186  />
     187  <m:menuitem
     188    title="Menu text"
     189    onclick="encloseSelection('&lt;mnu&gt;', '&lt/mnu&gt;')"
     190    tooltip="Mark text to symbol a menu."
    176191  />
    177192  </m:menu>   
    178193  <m:menu
    179       id="link"
    180       style="display: none;"
    181     >
    182     <m:menuitem
    183       title="Insert helptext"
    184       onclick="encloseSelection('{@include ', '}')"
    185       tooltip="Insert another helptext in this text."
    186     />   
    187     <m:menuitem
    188       title="External link"
    189       onclick="encloseSelection('{@link ', '}')"
    190       tooltip="Insert an external link."
    191     />
    192     <%
    193     String insertBookmarkLink = "encloseSelection('&lt;a href=&quot;#&quot&gt;', '&lt/a&gt;')";
    194     %>
    195     <m:menuitem
    196       title="Internal link"
    197       onclick="<%=insertBookmarkLink%>"
    198       tooltip="Insert a link to a part in this text."
    199     />
    200     <%
    201     String insertBookmark = "encloseSelection('&lt;a&nbsp;name=&quot;&quot;&gt;', '&lt;/a&gt;')";
    202     %>
    203     <m:menuitem
    204       title="Bookmark"
    205       onclick="<%=insertBookmark%>"
    206       tooltip="Insert a bookmark"
    207     />
    208     </m:menu>
     194    id="link"
     195    style="display: none;"
     196  >
     197  <m:menuitem
     198    title="Insert helptext"
     199    onclick="encloseSelection('{@include ', '}')"
     200    tooltip="Insert another helptext in this text."
     201  />   
     202  <m:menuitem
     203    title="External link"
     204    onclick="encloseSelection('{@link ', '}')"
     205    tooltip="Insert an external link."
     206  />
     207  <%
     208  String insertBookmarkLink = "encloseSelection('&lt;a href=&quot;#&quot&gt;', '&lt/a&gt;')";
     209  %>
     210  <m:menuitem
     211    title="Internal link"
     212    onclick="<%=insertBookmarkLink%>"
     213    tooltip="Insert a link to a part in this text."
     214  />
     215  <%
     216  String insertBookmark = "encloseSelection('&lt;a&nbsp;name=&quot;&quot;&gt;', '&lt;/a&gt;')";
     217  %>
     218  <m:menuitem
     219    title="Bookmark"
     220    onclick="<%=insertBookmark%>"
     221    tooltip="Insert a bookmark"
     222  />
     223  </m:menu>
    209224  <form name="zoom" onsubmit="return false;">
    210225    <table align="center">
  • trunk/www/include/styles/help.css

    r3046 r3057  
    7070/*Menu*/
    7171mnu {
    72   background: grey;
     72  background: #EEEEEE;
    7373  font-style: italic;
    7474}
     
    8181  border-bottom: thin solid #000000;
    8282  width:100%;
    83   padding-bottom:0px
     83  padding-bottom:0px;
    8484}
     85
     86li{
     87  padding-bottom:10px;
     88}
     89
     90/*Columnheader*/
     91th{
     92  background: #E0E0E0;
     93}
Note: See TracChangeset for help on using the changeset viewer.