Changeset 17914
- Timestamp:
- 08/20/08 09:10:33 (3 months ago)
- Files:
-
- trunk/core/build.xml (modified) (1 diff)
- trunk/core/db/oracle/create-scripts/versions/8.5.0/update_system_properties.sql (modified) (1 diff)
- trunk/core/lib/bliki-3.0.0.jar (deleted)
- trunk/core/lib/bliki-3.0.2.jar (added)
- trunk/core/src/net/project/hibernate/dao/IPnWikiPageDAO.java (modified) (1 diff)
- trunk/core/src/net/project/hibernate/dao/impl/PnWikiPageDAOImpl.java (modified) (1 diff)
- trunk/core/src/net/project/hibernate/service/IPnWikiPageService.java (modified) (1 diff)
- trunk/core/src/net/project/hibernate/service/IWikiProvider.java (modified) (2 diffs)
- trunk/core/src/net/project/hibernate/service/impl/PnWikiPageServiceImpl.java (modified) (1 diff)
- trunk/core/src/net/project/hibernate/service/impl/WikiProviderImpl.java (modified) (4 diffs)
- trunk/core/src/net/project/view/pages/wiki/EditWikiPage.java (modified) (4 diffs)
- trunk/core/src/net/project/view/pages/wiki/Upload.java (modified) (1 diff)
- trunk/core/src/net/project/view/pages/wiki/Welcome.java (modified) (5 diffs)
- trunk/core/src/net/project/view/pages/wiki/WikiHistory.java (modified) (3 diffs)
- trunk/core/src/net/project/wiki/ExtWikiModel.java (modified) (6 diffs)
- trunk/core/web/css/wiki.css (modified) (3 diffs)
- trunk/core/web/html/resource/management/components/WikiInfo.html (modified) (1 diff)
- trunk/core/web/html/resource/management/components/WikiMenu.html (modified) (1 diff)
- trunk/core/web/html/wiki/EditWikiPage.html (modified) (5 diffs)
- trunk/core/web/html/wiki/Upload.html (modified) (4 diffs)
- trunk/core/web/html/wiki/Welcome.html (modified) (4 diffs)
- trunk/core/web/html/wiki/WikiHistory.html (modified) (3 diffs)
- trunk/core/web/images/wiki/editpanel_bold.png (added)
- trunk/core/web/images/wiki/editpanel_br.png (added)
- trunk/core/web/images/wiki/editpanel_font.png (added)
- trunk/core/web/images/wiki/editpanel_italics.png (added)
- trunk/core/web/images/wiki/editpanel_line.png (added)
- trunk/core/web/images/wiki/editpanel_paragraph.png (added)
- trunk/core/web/images/wiki/editpanel_symbol.png (added)
- trunk/core/web/images/wiki/editpanel_web.png (added)
- trunk/core/web/images/wiki/h1corner-bottom.png (added)
- trunk/core/web/images/wiki/h1corner-top.png (added)
- trunk/test/acceptance/src/net/project/test/acceptance/wiki/BasicWikiFeaturesTest.java (modified) (2 diffs)
- trunk/test/acceptance/src/net/project/test/acceptance/wiki/WikiBase.java (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/core/build.xml
r17830 r17914 383 383 384 384 <pathelement location="${build.lib.dir}\roller-core.jar" /> 385 <pathelement location="${build.lib.dir}\bliki-3.0. 0.jar" />385 <pathelement location="${build.lib.dir}\bliki-3.0.2.jar" /> 386 386 <pathelement location="${build.lib.dir}\htmllexer.jar" /> 387 387 <pathelement location="${build.lib.dir}\htmlparser.jar" /> trunk/core/db/oracle/create-scripts/versions/8.5.0/update_system_properties.sql
r17893 r17914 184 184 p.property = 'all.global.toolbar.standard.remove.alt'; 185 185 186 update pn_property p set 187 p.property_value = 'Viewing Page' 188 where 189 p.context_id = 2000 and 190 p.language = 'en' and 191 p.property = 'prm.wiki.view.viewTitle'; 192 193 update pn_property p set 194 p.property_value = 'Editing Page' 195 where 196 p.context_id = 2000 and 197 p.language = 'en' and 198 p.property = 'prm.wiki.edit.editTitle'; 199 200 update pn_property p set 201 p.property_value = 'History For Wiki Page' 202 where 203 p.context_id = 2000 and 204 p.language = 'en' and 205 p.property = 'prm.wiki.history.historyTitle'; 206 207 insert into pn_property (CONTEXT_ID, LANGUAGE, PROPERTY_TYPE, PROPERTY, PROPERTY_VALUE, PROPERTY_VALUE_CLOB,RECORD_STATUS,IS_SYSTEM_PROPERTY,IS_TRANSLATABLE_PROPERTY) 208 values (2000,'en','text','prm.wiki.edit.describe.label','Edit summary (describe the changes you have made):','','A',0,1); 209 186 210 commit; 187 211 prompt 0 records loaded trunk/core/src/net/project/hibernate/dao/IPnWikiPageDAO.java
r17744 r17914 48 48 */ 49 49 public List<PnWikiPage> getAllImageDetailPagesForWiki(Integer ownerObjectId, String objectName, String recordStatus); 50 50 51 /** 52 * Method for getting specified number of wiki pages from specified wiki space ordered by date (in desc order). 53 * @param spaceId 54 * @param numberOfPages 55 * @return 56 */ 57 public List<PnWikiPage> getWikiPagesByDate(Integer spaceId, int numberOfPages, String namespace); 51 58 } trunk/core/src/net/project/hibernate/dao/impl/PnWikiPageDAOImpl.java
r17744 r17914 223 223 return resultList; 224 224 } 225 225 226 public List<PnWikiPage> getWikiPagesByDate(Integer spaceId, int numberOfPages, String namespace) { 227 List<PnWikiPage> resultList = new ArrayList<PnWikiPage>(); 228 StringBuffer sql = new StringBuffer(" from PnWikiPage wp where wp.ownerObjectId = :ownerObjectId "); 229 sql.append(" and wp.recordStatus = :recordStatus "); 230 if( namespace != null && !namespace.equals("") ) { 231 sql.append(" and wp.pageName LIKE :namespace"); 232 } 233 sql.append(" order by editDate desc "); 234 235 try { 236 Query query = getHibernateTemplate().getSessionFactory().getCurrentSession().createQuery(sql.toString()); 237 query.setInteger("ownerObjectId", spaceId); 238 query.setString("recordStatus", "A"); 239 if( namespace != null && !namespace.equals("") ) { 240 query.setString("namespace", namespace + ":%"); 241 } 242 243 Iterator result = query.list().iterator(); 244 int i = 0; 245 while( result.hasNext() && (i < numberOfPages) ){ 246 PnWikiPage wikiPage = (PnWikiPage) result.next(); 247 resultList.add(wikiPage); 248 i++; 249 } 250 } catch (Exception e) { 251 log.error("Error occured while retriving wiki pages by date for specified wiki!\n " + e.getMessage()); 252 } 253 return resultList; 254 } 226 255 } trunk/core/src/net/project/hibernate/service/IPnWikiPageService.java
r17744 r17914 89 89 */ 90 90 public List<PnWikiPage> getSubPages(PnWikiPage pnWikiPage); 91 92 /** 93 * Method for getting list of <b>Recent Changes</b> for one wiki space. 94 * @param spaceId wiki space we are searching in 95 * @param rangeNumber number of pages to return 96 * @param namespace the namespace of pages to return (eg Image...) 97 * @return list of recent changed pages 98 */ 99 public List<PnWikiPage> getRecentChangesForWiki(Integer spaceId, int rangeNumber, String namespace); 91 100 } trunk/core/src/net/project/hibernate/service/IWikiProvider.java
r17784 r17914 5 5 6 6 import java.util.List; 7 import java.util.TreeMap; 7 8 8 9 import javax.servlet.http.HttpSession; … … 45 46 46 47 public String wikiPagesIndex(); 48 49 public String recentChanges(int number, String namespace); 47 50 } trunk/core/src/net/project/hibernate/service/impl/PnWikiPageServiceImpl.java
r17872 r17914 136 136 return pnWikiPageDAO.getSubPages(pnWikiPage); 137 137 } 138 139 public List<PnWikiPage> getRecentChangesForWiki(Integer spaceId, int rangeNumber, String namespace) { 140 //get number of pages from specified wiki space declared by rangeNumber 141 return pnWikiPageDAO.getWikiPagesByDate(spaceId, rangeNumber, namespace); 142 } 138 143 } trunk/core/src/net/project/hibernate/service/impl/WikiProviderImpl.java
r17872 r17914 7 7 import java.net.URLEncoder; 8 8 import java.util.ArrayList; 9 import java.util.Calendar; 9 10 import java.util.Date; 10 11 import java.util.HashMap; … … 468 469 Iterator it3 = pagesForLetter.iterator(); 469 470 //loop through all pages with same first letter 471 indexStr.append("<div id=\"pagesWithFirstLetter\" style=\"padding-left:15px; padding-top:5px;\">"); 470 472 while( it3.hasNext() ) { 471 473 PnWikiPage currPg = (PnWikiPage) it3.next(); … … 483 485 indexStr.append(". . . . . . <b>Last Editor:</b> " + currPg.getEditedBy().getDisplayName() + ", <b>edited on:</b> " + SessionManager.getUser().getDateFormatter().formatDate(currPg.getEditDate(), "EEE, MMM dd, yyyy. hh:mm:ss") + "<br/>"); 484 486 } 485 487 indexStr.append("</div>"); 486 488 indexStr.append("</div><br/>"); 487 489 } … … 496 498 } 497 499 500 /** 501 * Method for creating page <b>Recent Changes</b> list for wiki space we are in. 502 */ 503 public String recentChanges(int range, String namespace) { 504 String resultString = null; 505 IPnWikiPageService wikiPageService = ServiceFactory.getInstance().getPnWikiPageService(); 506 String[] monthName = {"Jan", "Feb", "Mar", "Apr", "May", "June", "July", "Aug", "Sept", "Oct", "Nov", "Dec"}; 507 508 Map <String, List<PnWikiPage>> tMap = new HashMap<String, List<PnWikiPage>>(); 509 //get list of all wiki pages in current object space 510 List<PnWikiPage> pages = wikiPageService.getRecentChangesForWiki(Integer.valueOf(SessionManager.getUser().getCurrentSpace().getID()), range, namespace); 511 512 //filling in the map with wiki pages - indexed by date 513 Iterator it = pages.iterator(); 514 while ( it.hasNext() ) { 515 PnWikiPage currPage = (PnWikiPage) it.next(); 516 Calendar c = Calendar.getInstance(); 517 c.setTime(currPage.getEditDate()); 518 String date = c.get(Calendar.DAY_OF_MONTH) + "/" + monthName[c.get(Calendar.MONTH)] + "/" + c.get(Calendar.YEAR); 519 520 //if initial letter of current page is contained in map add 521 if ( tMap.containsKey(date) ) { 522 List<PnWikiPage> list = tMap.get(date); 523 list.add(currPage); 524 tMap.put(date, list); 525 } else { 526 //there is no key for this letter in the map 527 List<PnWikiPage> list = new ArrayList<PnWikiPage>(); 528 list.add(currPage); 529 tMap.put(date, list); 530 } 531 } 532 533 //read the map for presenting index 534 resultString = renderRecentChanges(tMap); 535 536 return resultString; 537 } 538 539 @SuppressWarnings("unchecked") 540 private String renderRecentChanges(Map pgIndMap) { 541 String result = null; 542 543 //read the map for presenting index 544 if(pgIndMap != null) { 545 StringBuffer indexStr = new StringBuffer("<div id=\"recentChanges\">"); 546 indexStr.append("<h3 id=\"recentChangesTitle\">Recent Changes <span style=\"position:absolute;right:70px;\">[<a href=\"javascript:hideRecentChanges();\" style=\"padding: 2px;\">Exit</a>]</span></h3><br/><br/>"); 547 indexStr.append("<div style=\"background: #EEEEEE none repeat scroll 0%; border: 1px solid #CCCCCC; float: left; margin-right: 15px; padding: 4px; text-align: left; width: 60%; \"> This is a list of recently changed wiki pages in this wiki space. </div><br/><br/>"); 548 indexStr.append("<strong><b>"); 549 indexStr.append("<a href=\"javascript:reset();\">All</a> "); 550 //Use an Iterator to traverse the mappings in the Map. 551 Iterator it1 = pgIndMap.entrySet().iterator(); 552 while ( it1.hasNext() ) { 553 Map.Entry entry = (Map.Entry) it1.next(); 554 indexStr.append("<a href=\"#" + entry.getKey() + "\">" + entry.getKey() + "</a> "); 555 } 556 indexStr.append("</b></strong><br/><br/><br/>"); 557 558 Iterator it2 = pgIndMap.entrySet().iterator(); 559 //loop through entire map 560 while( it2.hasNext() ) { 561 Map.Entry entry = (Map.Entry) it2.next(); 562 indexStr.append("<div id=\"" + entry.getKey() + "\">"); 563 indexStr.append("<strong><b>" + entry.getKey() + "</b></strong><br/>"); 564 List<PnWikiPage> pagesForLetter = (List<PnWikiPage>) entry.getValue(); 565 566 Iterator it3 = pagesForLetter.iterator(); 567 //loop through all pages with same first letter 568 indexStr.append("<div id=\"changesFromDate\" style=\"padding-left:15px; padding-top:5px;\">"); 569 while( it3.hasNext() ) { 570 PnWikiPage currPg = (PnWikiPage) it3.next(); 571 User user = SessionManager.getUser(); 572 String hrefLink = null; 573 try { 574 hrefLink = SessionManager.getJSPRootURL() + "/wiki/EditWikiPage/" + currPg.getPageName() 575 + "/" + currPg.getParentPageName() + "/"+ URLEncoder.encode(user.getCurrentSpace().getID(), SessionManager.getCharacterEncoding()) 576 + "/" + URLEncoder.encode(user.getID(), SessionManager.getCharacterEncoding()) + "?module=" + Module.PROJECT_SPACE; 577 } catch (UnsupportedEncodingException e) { 578 e.printStackTrace(); 579 } 580 581 indexStr.append("<a href=\"" + hrefLink + "\">" + currPg.getPageName() + "</a> "); 582 indexStr.append(". . . . . . <b>Last Editor:</b> " + currPg.getEditedBy().getDisplayName() + ", <b>edited on:</b> " + SessionManager.getUser().getDateFormatter().formatDate(currPg.getEditDate(), "EEE, MMM dd, yyyy. hh:mm:ss") + "<br/>"); 583 } 584 indexStr.append("</div>"); 585 indexStr.append("</div><br/>"); 586 } 587 588 indexStr.append("</div>"); 589 result = indexStr.toString(); 590 } else { 591 result = "<br/><strong>This wiki doesn't contain any pages!</strong><br/>"; 592 } 593 594 return result; 595 } 596 498 597 } trunk/core/src/net/project/view/pages/wiki/EditWikiPage.java
r17895 r17914 116 116 private RequestGlobals requestGlobals; 117 117 118 private String describeEditLabel; 119 120 private String desciption; 121 118 122 /** 119 123 * default constructor … … 125 129 setAction(""); 126 130 jspRootURL = SessionManager.getJSPRootURL(); 127 editTitle = PropertyProvider.get("prm.wiki.edit.editing.page"); 131 editTitle = PropertyProvider.get("prm.wiki.edit.editTitle"); 132 describeEditLabel = PropertyProvider.get("prm.wiki.edit.describe.label"); 128 133 pnWikiPageService = ServiceFactory.getInstance().getPnWikiPageService(); 129 134 personService = ServiceFactory.getInstance().getPnPersonService(); … … 262 267 pnWikiPage = new PnWikiPage(); 263 268 pnWikiPage.setContent(getContent()); 269 //added for edit description 270 271 // 264 272 pnWikiPage.setEditDate(currentDate); 265 273 pnWikiPage.setEditedBy(pnPerson); … … 644 652 this.moduleId = moduleId; 645 653 } 654 655 public String getDescribeEditLabel() { 656 return describeEditLabel; 657 } 658 659 public String getDesciption() { 660 return desciption; 661 } 662 663 public void setDesciption(String desciption) { 664 this.desciption = desciption; 665 } 646 666 } trunk/core/src/net/project/view/pages/wiki/Upload.java
r17872 r17914 134 134 } 135 135 136 public Object onSuccess() 137 { 136 public Object onSuccess() { 138 137 System.out.println("\n****\n...Uploading file uploadedFile: " + getUploadedFile().getFileName() + "\npageName: " + getPageName() + 139 138 "\ndescription: " + getDescription() + "\nuser: " + SessionManager.getUser().getDisplayName() + trunk/core/src/net/project/view/pages/wiki/Welcome.java
r17872 r17914 12 12 import net.project.base.Module; 13 13 import net.project.base.property.PropertyProvider; 14 import net.project.form.FormManager;15 14 import net.project.hibernate.model.PnPerson; 16 15 import net.project.hibernate.model.PnProjectSpace; … … 39 38 import org.apache.tapestry.annotations.InjectPage; 40 39 import org.apache.tapestry.annotations.Persist; 41 import org.apache.tapestry.beaneditor.Validate;42 40 import org.apache.tapestry.corelib.components.Form; 43 41 import org.apache.tapestry.services.RequestGlobals; … … 178 176 @Inject 179 177 private RequestGlobals requestGlobals; 178 179 private String wikiRecentChanges; 180 180 181 181 //added to process after selecting image to attach from selectObject. … … 240 240 setModuleId(Module.PROJECT_SPACE); 241 241 setWikiPgIndex(wikiProvider.wikiPagesIndex()); 242 setWikiRecentChanges(wikiProvider.recentChanges(10, null)); 242 243 } 243 244 … … 1097 1098 return viewTitle; 1098 1099 } 1100 1101 public String getWikiRecentChanges() { 1102 return wikiRecentChanges; 1103 } 1104 1105 public void setWikiRecentChanges(String wikiRecentChanges) { 1106 this.wikiRecentChanges = wikiRecentChanges; 1107 } 1099 1108 } trunk/core/src/net/project/view/pages/wiki/WikiHistory.java
r17872 r17914 11 11 12 12 import javax.servlet.http.HttpServletRequest; 13 import javax.servlet.http.HttpServletResponse;14 13 15 14 import net.project.base.Module; … … 26 25 import org.apache.commons.lang.StringEscapeUtils; 27 26 import org.apache.log4j.Logger; 28 import org.apache.tapestry.StreamResponse;29 27 import org.apache.tapestry.annotations.ApplicationState; 30 28 import org.apache.tapestry.annotations.Inject; … … 33 31 import org.apache.tapestry.services.RequestGlobals; 34 32 import org.apache.tapestry.util.TextStreamResponse; 35 import org.json.JSONArray;36 import org.json.JSONException;37 import org.json.JSONObject;38 33 39 34 /** trunk/core/src/net/project/wiki/ExtWikiModel.java
r17874 r17914 7 7 import java.util.Map; 8 8 import java.util.Set; 9 import java.util.TreeMap;10 9 11 10 import net.project.base.Module; … … 22 21 import org.htmlcleaner.Utils; 23 22 24 import info.bliki.wiki.addon.model.AddonConfiguration;25 23 import info.bliki.wiki.filter.Encoder; 26 24 import info.bliki.wiki.filter.WikipediaParser; … … 42 40 43 41 public ExtWikiModel(String imageBaseURL, String linkBaseURL) { 42 //super(AddonConfiguration.DEFAULT_CONFIGURATION, imageBaseURL, linkBaseURL); 44 43 super(imageBaseURL, linkBaseURL); 45 //super(imageBaseURL, linkBaseURL);46 44 } 47 45 … … 254 252 StringBuffer result = new StringBuffer("<br/>\n"); 255 253 256 result.append("<div id=\"linkList\" style=\"position:absolute; top:0; right:0; width:100%; background: #EEEEEE; display:none; padding-top: 5px; padding-left: 30px; padding-bottom: 5px; border: 1px solid #CCCCCC;\">\n"); 254 result.append("<div id=\"linkList\" style=\"position:absolute; top:0; width: 870px; background: #EEEEEE; display:none; padding-top: 5px; padding-left: 30px; padding-bottom: 5px; border: 1px solid #CCCCCC;\">\n"); 255 result.append("\n <b>[<a style=\"padding: 2px;\" href=\"javascript:hideLinkList();\">Exit</a>]</b> "); 257 256 if(!linksIt.hasNext()) { 258 257 result.append(" <b> This page has no wiki links! </b>"); … … 260 259 if ( linksIt.hasNext() ) { 261 260 //style=\"margin-left: auto;margin-right: auto; padding: 5px;background: rgb(249, 249, 249);\" 262 result.append("<b> This Page Links To: </b>\n");261 result.append("<b>This Page Links To:</b> \n"); 263 262 while( linksIt.hasNext() ) { 264 263 String currentLink = (String) linksIt.next(); … … 279 278 280 279 public ExtWikiModel(String imageBaseURL, String linkBaseURL, boolean isPreview) { 281 super(AddonConfiguration.DEFAULT_CONFIGURATION, imageBaseURL, linkBaseURL); 280 //super(AddonConfiguration.DEFAULT_CONFIGURATION, imageBaseURL, linkBaseURL); 281 super(imageBaseURL, linkBaseURL); 282 282 this.isPreview = isPreview; 283 283 } trunk/core/web/css/wiki.css
r17784 r17914 1 #w ikiContent1 #wContent 2 2 ul, ol { 3 3 margin: 0.1em 0 0 0; 4 4 padding: 0pt 1.65em; 5 5 } 6 #w ikiContent6 #wContent 7 7 ul{ 8 8 list-style-image: inherit; … … 10 10 list-style-type: disc; 11 11 } 12 #w ikiContent12 #wContent 13 13 ol{ 14 14 list-style-image: inherit; … … 133 133 font-size:1.6em; 134 134 } 135 136 //////////////////////////////////////////////////// new UI 137 138 /* CSS Document */ 139 140 body { 141 padding: 0; 142 margin: 0; 143 background: url(../images/back.jpg) repeat-x top; 144 } 145 146 * a:hover { 147 text-decoration: none; 148 } 149 150 #left { 151 float: left; 152 width: 196px; 153 } 154 155 /* PROJECTS Left Heading */ 156 #leftheading-projects { 157 background: url(../images/menu/leftheading_projects.png); 158 width: 160px; 159 height: 23px; 160 padding-left: 14px; 161 margin-top: 23px; 162 float: left; 163 font-family: Tahoma, Trebuchet; 164 font-size: 18px; 165 } 166 167 .left_column_top { 168 background: #eceef6 url(../images/leftcolumn_top.png) no-repeat top; 169 width: 174px; 170 margin-top: 23px; 171 padding-top: 10px; 172 173 } 174 .left_column_bottom { 175 background: url(../images/leftcolumn_bottom.png) no-repeat bottom; 176 width: 174px; 177 padding-bottom: 10px; 178 float: left; 179 } 180 div.actionbox-item { 181 font-family: Arial, Helvetica, sans-serif; 182 font-size: 13px; 183 padding-left: 14px; 184 background: #eceef6; 185 color: #3399ff; 186 font-weight: bold; 187 line-height: 22px; 188 } 189 div.actionbox-item span a, .group_heading span a { 190 text-decoration: none; 191 border-bottom: 1px dashed; 192 color: #3399ff; 193 } 194 div.actionbox-item span a.disabled, .group_heading span a.disabled { 195 text-decoration: none; 196 color: Silver; 197 border-bottom: 1px solid #E4E4E4; 198 cursor: help; 199 } 200 div.actionbox-item span a:hover, .group_heading span a:hover { 201 color: #3366CC; 202 } 203 204 .group_heading { 205 font-family: Arial, Helvetica, sans-serif; 206 font-size: 13px; 207 padding-left: 14px; 208 margin-top: 10px; 209 background: #eceef6; 210 font-weight: bold; 211 } 212 .group_heading span { 213 padding-left: 10px; 214 font-size: 11px; 215 line-height: 20px; 216 } 217 218 219 #search { 220 position: absolute; 221 right: 10px; 222 top: 32px; 223 } 224 #search input { 225 height: 20px; 226 font-family: Arial, Helvetica, sans-serif; 227 font-size: 11px; 228 background: url(../images/form_search.png) no-repeat; 229 border: 0px; 230 padding-left: 27px; 231 padding-top: 2px; 232 width: 248px; 233 } 234 235 .black {color: Black;} .gray {color: Gray;} 236 237 #content a:hover { 238 text-decoration: underline; 239 } 240 .arrow { 241 font-size: 8px; 242 } 243 244 #content-left { 245 padding-top: 6px; 246 width: 370px; 247 float: left; 248 } 249 250 .table { 251 margin-top: 7px; 252 line-height: 16px; 253 } 254 255 #content-right { 256 padding-top: 6px; 257 padding-left: 375px; 258 } 259 260 #content-rightborder { 261 border-left: 2px solid #dcdcdc; 262 padding-left: 10px; 263 height: 100%; 264 } 265 266 /* Wiki page */ 267 .project-title { 268 font-family: Tahoma; 269 font-size: 19px; 270 padding-left: 14px; 271 margin-top: 4px; 272 margin-bottom: 2px; 273 float: left; 274 width: 180px; 275 color: Navy; 276 } 277 .project-descrition { 278 font-family: Arial, Helvetica, sans-serif; 279 font-size: 13px; 280 padding-left: 14px; 281 margin-top: 2px; 282 margin-bottom: 4px; 283 float: left; 284 width: 180px; 285 } 286 .project-descrition a { 287 color: Navy; 288 } 289 290 #search-wiki { 291 font-family: Arial, Helvetica, sans-serif; 292 font-size: 13px; 293 padding-left: 14px; 294 margin-top: 0px; 295 margin-bottom: 4px; 296 float: left; 297 } 298 #wiki-page { 299 width: 100%; 300 height: auto; 301 } 302 #wiki-page h1 { 303 font-family: Arial, Helvetica, sans-serif; 304 font-size: 22px; 305 height: 30px; 306 background: #f3f3fa url(../images/wiki/h1corner-top.png) no-repeat top left; 307 padding-top: 20px; 308 padding-left: 12px; 309 vertical-align: bottom; 310 border-bottom: 2px solid Silver; 311 } 312 #wiki-page h2 { 313 font-family: Arial, Helvetica, sans-serif; 314 font-size: 18px; 315 margin-right: 15px; 316 margin-left: 12px; 317 padding-top: 5px; 318 border-bottom: 1px solid Silver; 319 font-weight: normal; 320 } 321 #wiki-page h3 { 322 font-family: Arial, Helvetica, sans-serif; 323 font-size: 16px; 324 font-weight: normal; 325 margin-right: 15px; 326 margin-left: 12px; 327 padding-top: 5px; 328 border-bottom: 1px solid Silver; 329 } 330 #wiki-page p { 331 font-family: Arial, Helvetica, sans-serif; 332 font-size: 14px; 333 margin-left: 12px; 334 margin-right: 15px; 335 margin-top: 0px; 336 line-height: 22px; 337 } 338 #wiki-page p a { 339 color: Navy; 340 text-decoration: none; 341 } 342 #wiki-page p a:hover, #wiki-page #contents-block * a:hover { 343 text-decoration: underline; 344 } 345 #wiki-page .ending { 346 font-family: Arial, Helvetica, sans-serif; 347 font-size: 13px; 348 height: 10px; 349 background: #f3f3fa url(../images/wiki/h1corner-bottom.png) no-repeat bottom left; 350 padding-top: 6px; 351 padding-bottom: 14px; 352 padding-left: 12px; 353 margin-bottom: 10px; 354 border-top: 2px solid Silver; 355 } 356 #wiki-page .ending a, #wiki-page .ending a:visited { 357 text-decoration: none; 358 border-bottom: 1px dashed; 359 color: #3399ff; 360 } 361 #wiki-page .ending a:hover { 362 color: #3366CC;} 363 364 #wiki-page #contents-block { 365 background: #f3f3fa; 366 margin-left: 60px; 367 padding-right: 12px; 368 padding-bottom: 2px; 369 padding-top: 5px; 370 width: 320px; 371 height: auto; 372 border: 1px solid Silver; 373 } 374 #wiki-page #contents-block h5 { 375 font-family: Arial, Helvetica, sans-serif; 376 font-size: 14px; 377 font-weight: bold; 378 text-align: center; 379 margin-top: 10px; 380 } 381 #wiki-page #contents-block h5 span { 382 font-size: 12px; 383 font-weight: normal; 384 line-height: 0px; 385 } 386 #wiki-page #contents-block ul { 387 list-style: decimal outside; 388 font-family: Arial, Helvetica, sans-serif; 389 font-size: 14px; 390 line-height: 19px; 391 color: Navy; 392 } 393 #wiki-page #contents-block * a { 394 color: Navy; 395 text-decoration: none; 396 } 397 398 /* Wiki Upload page */ 399 400 401 /* Wiki Edit page */ 402 #wiki-page #edit-panel { 403 height: 27px; 404 padding-left: 12px; 405 } 406 #wiki-page #edit-panel span { 407 padding-right: 1px; 408 } 409 #wiki-page .form { 410 padding-left: 12px; 411 } 412 #wiki-page .form textarea { 413 font-family: "Courier New", Courier, monospace; 414 font-size: 13px; 415 margin-bottom: 10px; 416 width: 95%; 417 } 418 #wiki-page .form input { 419 margin-bottom: 10px; 420 } 421 422 #wiki-page .form span { 423 font-family: Arial, Helvetica, sans-serif; 424 font-size: 13px; 425 padding-top: 5px; 426 font-weight: bold; 427 } 428 429 #viewingWiki { 430 overflow: auto; 431 width: 1050px; 432 height: 50px; 433 position: absolute; 434 left: 196px; 435 margin-top: 37px; 436 background: #f3f3fa url(../images/wiki/h1corner-top.png) no-repeat top left; 437 border-bottom: 2px solid Silver; 438 } trunk/core/web/html/resource/management/components/WikiInfo.html
r17872 r17914 1 <div id="viewingWiki" style="overflow: auto; width: 990px; height: 50px; position: absolute; left: 265px; top: 85px; background: RGB(249, 249, 249)">1 <div id="viewingWiki"> <!-- style="overflow: auto; width: 990px; height: 50px; position: absolute; left: 265px; top: 85px; background: RGB(249, 249, 249)" --> 2 2 <table width="100%" bgcolor="RGB(249, 249, 249)"> 3 3 <tr valign="top"> trunk/core/web/html/resource/management/components/WikiMenu.html
r17872 r17914 50 50 </script> 51 51 52 <div id="leftDiv" style="left: 5px; top: 85px; position: absolute; width: 20%; height: 79%; background: RGB(232, 232, 220);"> 53 <br /> 54 <table width="100%" height="100%"> 55 <tr height="100%"> 56 <td width="99%" valign="top"> 57 <table width="100%"> 58 <!-- Wiki Details --> 59 <tr valign="top"><td> 60 <div id="wikiDetails" style="height: 80px; width: 240px; overflow-Y: auto; overflow-X: hidden; background: #CCCCCC; margin: 4px;"> 61 <table width="100%"> 62 <tr valign="top"> 63 <td align="left" width="60%" style="font-size:16px;font-family:Arial;font-weight:normal; padding-left: 10px; padding-top: 10px;"> 64 <b>Wiki:</
