Changeset 2032
- Timestamp:
- 01/23/09 17:02:49
- Files:
-
- trunk/deployment/webadmin/webapp/resources/default/default/default.css (modified) (2 diffs)
- trunk/deployment/webadmin/webapp/resources/default/default/default.xsl (modified) (19 diffs)
- trunk/deployment/webadmin/webapp/resources/resources/calsuitesIcon.gif (added)
- trunk/deployment/webadmin/webapp/resources/resources/categoryIcon.gif (added)
- trunk/deployment/webadmin/webapp/resources/resources/changeGroup.gif (added)
- trunk/deployment/webadmin/webapp/resources/resources/clockIcon-sm.gif (added)
- trunk/deployment/webadmin/webapp/resources/resources/groupIcon.gif (modified) (previous)
- trunk/deployment/webadmin/webapp/resources/resources/prefsIcon.gif (added)
- trunk/deployment/webadmin/webapp/resources/resources/std-icalUpload-icon-small.gif (added)
- trunk/deployment/webadmin/webapp/resources/resources/uploadIcon.gif (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/webadmin/webapp/resources/default/default/default.css
r2015 r2032 933 933 } 934 934 li.folder { 935 list-style-image: url( ../../resources/catIcon.gif);935 list-style-image: url("../../resources/catIcon.gif"); 936 936 } 937 937 li.calendar { 938 list-style-image: url(../../resources/calIcon-sm.gif); 938 list-style-image: url("../../resources/calIcon-sm.gif"); 939 } 940 li.categories { 941 list-style-image: url("../../resources/categoryIcon.gif"); 942 } 943 li.calsuites { 944 list-style-image: url("../../resources/calsuitesIcon.gif"); 945 } 946 li.upload { 947 list-style-image: url("../../resources/uploadIcon.gif"); 948 } 949 li.prefs { 950 list-style-image: url("../../resources/prefsIcon.gif"); 951 } 952 li.timezones { 953 list-style-image: url("../../resources/clockIcon-sm.gif"); 954 } 955 li.groups { 956 list-style-image: url("../../resources/groupIcon.gif"); 957 } 958 li.user { 959 list-style-image: url("../../resources/userIcon.gif"); 960 } 961 li.changeGroup { 962 list-style-image: url("../../resources/changeGroup.gif"); 939 963 } 940 964 .calendarTree li.trash { 941 list-style-image: url( ../../resources/trashIcon.gif);965 list-style-image: url("../../resources/trashIcon.gif"); 942 966 } 943 967 .calendarTree li.inbox { 944 list-style-image: url( ../../resources/inboxIcon.gif);968 list-style-image: url("../../resources/inboxIcon.gif"); 945 969 } 946 970 .calendarTree li.outbox { 947 list-style-image: url( ../../resources/outboxIcon.gif);971 list-style-image: url("../../resources/outboxIcon.gif"); 948 972 } 949 973 .calendarTree li.deleted { 950 list-style-image: url( ../../resources/calIconDeleted-sm.gif);974 list-style-image: url("../../resources/calIconDeleted-sm.gif"); 951 975 } 952 976 .calendarTree li.selected { 953 list-style-image: url( ../../resources/glassFill-icon-view.gif);977 list-style-image: url("../../resources/glassFill-icon-view.gif"); 954 978 font-weight: bold; 955 979 } 956 980 .calendarTree li.alias { 957 list-style-image: url( ../../resources/calIconAlias-sm.gif);981 list-style-image: url("../../resources/calIconAlias-sm.gif"); 958 982 font-style: italic; 959 983 margin-left: 0; … … 961 985 } 962 986 .calendarTree li.aliasFolder { 963 list-style-image: url( ../../resources/catIconAlias.gif);987 list-style-image: url("../../resources/catIconAlias.gif"); 964 988 font-style: italic; 965 989 margin-left: 0; trunk/deployment/webadmin/webapp/resources/default/default/default.xsl
r2031 r2032 637 637 </a> 638 638 </td> 639 <!-- 640 Category management is becomeing a super-user and calsuite admin feature; 641 Categories underly much of the new single calendar and filtering model. 639 642 <td> 640 643 <a id="addCategoryLink" href="{$category-initAdd}"> … … 642 645 <br/>Add Category 643 646 </a> 644 </td> 647 </td> --> 645 648 </tr> 646 649 <tr> … … 663 666 </a> 664 667 </td> 668 <!-- 669 Category management is becomeing a super-user and calsuite admin feature; 670 Categories underly much of the new single calendar and filtering model. 665 671 <td> 666 672 <a href="{$category-initUpdate}"> … … 668 674 <br/>Manage Categories 669 675 </a> 670 </td> 676 </td> --> 671 677 </tr> 672 678 </table> 673 679 674 <!--675 <h2 class="menuTitle">Main Menu</h2>676 <table id="mainMenuTable">677 <tr>678 <th>Events</th>679 <td>680 <a id="addEventLink" href="{$event-initAddEvent}">681 Add682 </a>683 </td>684 <td>685 <a href="{$event-initUpdateEvent}">686 Edit / Delete687 </a>688 </td>689 <!- -690 Disable direct selection by ID; we'll need to find another way691 of quickly getting to events: search and grid views should be implemented. - - >692 <!- -693 <td>694 Event ID:695 <xsl:copy-of select="/bedework/formElements/*"/>696 </td>- - >697 </tr>698 <tr>699 <th>Contacts</th>700 <td>701 <a id="addContactLink" href="{$contact-initAdd}">702 Add703 </a>704 </td>705 <td>706 <a href="{$contact-initUpdate}">707 Edit / Delete708 </a>709 </td>710 </tr>711 <tr>712 <th>Locations</th>713 <td>714 <a id="addLocationLink" href="{$location-initAdd}">715 Add716 </a>717 </td>718 <td>719 <a href="{$location-initUpdate}">720 Edit / Delete721 </a>722 </td>723 </tr>724 <tr>725 <th>Categories</th>726 <td>727 <a id="addCategoryLink" href="{$category-initAdd}">728 Add729 </a>730 </td>731 <td>732 <a href="{$category-initUpdate}">733 Edit / Delete734 </a>735 </td>736 </tr>737 </table>738 -->739 680 <div id="mainMenuEventSearch"> 740 681 <h4 class="menuTitle">Event search:</h4> … … 813 754 </xsl:if--> 814 755 <xsl:if test="/bedework/userInfo/adminGroupMaintOk='true'"> 815 <li >756 <li class="groups"> 816 757 <a href="{$admingroup-initUpdate}"> 817 758 Manage admin groups … … 819 760 </li> 820 761 </xsl:if> 821 <li >762 <li class="changeGroup"> 822 763 <a href="{$admingroup-switch}"> 823 764 Change group... … … 825 766 </li> 826 767 <xsl:if test="/bedework/userInfo/userMaintOK='true'"> 827 <li >768 <li class="user"> 828 769 <form action="{$prefs-fetchForUpdate}" method="post"> 829 770 Edit user preferences (enter userid):<br/> … … 842 783 <h2>Manage System</h2> 843 784 <ul class="adminMenu strong"> 844 <li >785 <li class="calendar"> 845 786 <a href="{$calendar-fetch}"> 846 787 Manage calendars 847 788 </a> 848 789 </li> 849 <li> 790 <li class="categories"> 791 <a href="{$category-initUpdate}"> 792 Manage categories 793 </a> 794 </li> 795 <li class="calsuites"> 850 796 <a href="{$calsuite-fetch}"> 851 797 Manage calendar suites 852 798 </a> 853 799 </li> 854 <li >800 <li class="upload"> 855 801 <a href="{$event-initUpload}"> 856 Upload i CALfile802 Upload ical file 857 803 </a> 858 804 </li> 859 805 </ul> 860 806 <ul class="adminMenu"> 861 <li> 862 <a href="{$filter-showAddForm}"> 863 Manage CalDAV filters 864 </a> 865 </li> 866 </ul> 867 <ul class="adminMenu"> 868 <li> 807 <li class="prefs"> 869 808 <a href="{$system-fetch}"> 870 809 Manage system preferences 871 810 </a> 872 811 </li> 873 <li >812 <li class="timezones"> 874 813 <a href="{$timezones-initUpload}"> 875 814 Manage system timezones … … 892 831 </li> 893 832 </ul> 833 </li> 834 </ul> 835 <ul class="adminMenu"> 836 <li> 837 <a href="{$filter-showAddForm}"> 838 Manage CalDAV filters 839 </a> 894 840 </li> 895 841 </ul> … … 1083 1029 </td> 1084 1030 </tr> 1031 <!-- Disabling calendar selection is temporary - but we must determine if we're using 1032 a single calendar model (e.g. excluding submissions calendar, etc). The following value should *not* be 1033 hard coded, but we'll do this for the moment. --> 1034 <input type="hidden" name="newCalPath" value="/public/cals/MainCal"/> 1035 <!-- 1085 1036 <xsl:if test="not(starts-with(form/calendar/path,$submissionsRootUnencoded))"> 1086 1037 <tr> … … 1093 1044 <td> 1094 1045 <xsl:if test="form/calendar/preferred/select/option"> 1095 <!-- Display the preferred calendars by default if they exist -->1046 - - Display the preferred calendars by default if they exist - - 1096 1047 <select name="bwPreferredCalendars" id="bwPreferredCalendars" onchange="this.form.newCalPath.value = this.value"> 1097 1048 <option value=""> … … 1115 1066 </select> 1116 1067 </xsl:if> 1117 <!-- hide the listing of all calendars if preferred calendars exist, otherwise show them -->1068 - - hide the listing of all calendars if preferred calendars exist, otherwise show them - - 1118 1069 <select name="bwAllCalendars" id="bwAllCalendars" onchange="this.form.newCalPath.value = this.value;"> 1119 1070 <xsl:if test="form/calendar/preferred/select/option"> … … 1140 1091 </select> 1141 1092 <xsl:text> </xsl:text> 1142 <!-- allow for toggling between the preferred and all calendars listings if preferred1143 calendars exist - ->1093 - - allow for toggling between the preferred and all calendars listings if preferred 1094 calendars exist - - 1144 1095 <xsl:if test="form/calendar/preferred/select/option"> 1145 1096 <input type="radio" name="toggleCalendarLists" value="preferred" checked="checked" onclick="changeClass('bwPreferredCalendars','shown');changeClass('bwAllCalendars','invisible');this.form.newCalPath.value = this.form.bwPreferredCalendars.value;"/> … … 1154 1105 </td> 1155 1106 </tr> 1156 </xsl:if> 1107 </xsl:if> --> 1157 1108 1158 1109 <tr> … … 2255 2206 </tr> 2256 2207 2208 <!-- Display in --> 2209 <!-- These are the subscriptions (aliases) where the events should show up. 2210 By selecting one or more of these, appropriate categories will be set on the event --> 2211 <tr> 2212 <td class="fieldName"> 2213 Display in: 2214 </td> 2215 <td> 2216 <xsl:for-each select="true"> 2217 <input type="checkbox" name="alias" value=""/>Test<br/> 2218 </xsl:for-each> 2219 </td> 2220 </tr> 2257 2221 2258 2222 <!-- Category --> 2223 <!-- 2224 categories will no longer be directly set by the user; they are set 2225 by the back-end based on the subscriptions in the calendar suite. 2226 A user, therefore, tells the system where they want the event to 2227 show up, and the categories are set for them. --> 2228 <!-- 2259 2229 <tr> 2260 2230 <td class="fieldName"> … … 2270 2240 <td> 2271 2241 <xsl:for-each select="form/categories/preferred/category[position() <= ceiling($catCount div 2)]"> 2272 < !-- <xsl:sort select="keyword" order="ascending"/> -->2242 <xsl:sort select="keyword" order="ascending"/> 2273 2243 <input type="checkbox" name="categoryKey"> 2274 2244 <xsl:attribute name="value"><xsl:value-of select="keyword"/></xsl:attribute> … … 2282 2252 <td> 2283 2253 <xsl:for-each select="form/categories/preferred/category[position() > ceiling($catCount div 2)]"> 2284 < !-- <xsl:sort select="keyword" order="ascending"/> -->2254 <xsl:sort select="keyword" order="ascending"/> 2285 2255 <input type="checkbox" name="categoryKey"> 2286 2256 <xsl:attribute name="value"><xsl:value-of select="keyword"/></xsl:attribute> … … 2334 2304 </table> 2335 2305 </td> 2336 </tr> 2306 </tr> --> 2337 2307 <!-- note --> 2308 <!-- let's shut this off for now - needs rewriting if we keep it at all 2338 2309 <tr> 2339 2310 <td colspan="2" style="padding-top: 1em;"> … … 2353 2324 </span> 2354 2325 </td> 2355 </tr> 2326 </tr> --> 2356 2327 2357 2328 <xsl:if test="form/contact/name">
