From: <bra...@us...> - 2007-08-24 22:37:50
|
Revision: 1941 http://archive-access.svn.sourceforge.net/archive-access/?rev=1941&view=rev Author: bradtofel Date: 2007-08-24 15:37:53 -0700 (Fri, 24 Aug 2007) Log Message: ----------- TWEAK: removed reference to timeline.css, and removed missing style classes from generated HTML. Modified Paths: -------------- trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/replay/Timeline.jsp Modified: trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/replay/Timeline.jsp =================================================================== --- trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/replay/Timeline.jsp 2007-08-24 22:36:58 UTC (rev 1940) +++ trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/replay/Timeline.jsp 2007-08-24 22:37:53 UTC (rev 1941) @@ -118,7 +118,6 @@ String lastDate = lastP.getTitle(); String titleString = ""; %> -<link rel="stylesheet" href="<%= contextRoot %>/css/timeline.css" type="text/css"> <script type="text/javascript"> function changeResolution() { document.timeline.submit(); @@ -167,11 +166,11 @@ <table cellspacing="0" border="0" cellpadding="0" width="100%"> <tr> <td> - <span class="smallboldfont"><%= fmt.format("TimelineView.viewingVersion",resultIndex,resultCount) %> </span> + <span><%= fmt.format("TimelineView.viewingVersion",resultIndex,resultCount) %> </span> </td> </tr> <tr> - <td nowrap><span class="title"> <%= fmt.format("TimelineView.viewingVersionDate",exactDate) %> </span> </td> + <td nowrap><span> <%= fmt.format("TimelineView.viewingVersionDate",exactDate) %> </span> </td> </tr> </table> </td> @@ -182,9 +181,9 @@ <td> <table cellspacing="0" border="0" cellpadding="0" width="100%"> <tr> - <td width="48%" nowrap><span class="smallfont"><%= firstDate %></span></td> + <td width="48%" nowrap><span><%= firstDate %></span></td> <td align="center" valign="bottom" nowrap><img wmSpecial="1" src="<%= contextRoot %>/images/mark.jpg"></td> - <td width="48%" nowrap align="right"><span class="smallfont"><%= lastDate %></span></td> + <td width="48%" nowrap align="right"><span><%= lastDate %></span></td> </tr> </table> </td> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bra...@us...> - 2007-08-29 00:17:10
|
Revision: 1963 http://archive-access.svn.sourceforge.net/archive-access/?rev=1963&view=rev Author: bradtofel Date: 2007-08-28 17:17:10 -0700 (Tue, 28 Aug 2007) Log Message: ----------- TWEAK: type safety Modified Paths: -------------- trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/replay/Timeline.jsp Modified: trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/replay/Timeline.jsp =================================================================== --- trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/replay/Timeline.jsp 2007-08-29 00:15:54 UTC (rev 1962) +++ trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/replay/Timeline.jsp 2007-08-29 00:17:10 UTC (rev 1963) @@ -46,9 +46,9 @@ int resultCount = results.getResultsReturned(); int resultIndex = 1; -Iterator it = results.resultsIterator(); +Iterator<SearchResult> it = results.resultsIterator(); while(it.hasNext()) { - SearchResult res = (SearchResult) it.next(); + SearchResult res = it.next(); String resDateStr = res.get(WaybackConstants.RESULT_CAPTURE_DATE); int compared = resDateStr.compareTo(exactDateStr.substring(0,resDateStr.length())); if(compared < 0) { @@ -88,7 +88,7 @@ } String autoOptString = fmt.format("TimelineView.timeRange.auto",optimal); -ArrayList partitions; +ArrayList<ResultsPartition> partitions; if(resolution.equals(WaybackConstants.REQUEST_RESOLUTION_HOURS)) { hoursOptSelected = "selected"; partitions = ResultsTimelinePartitionsFactory.getHour(results.getResults(), This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bra...@us...> - 2007-10-02 03:29:37
|
Revision: 2029 http://archive-access.svn.sourceforge.net/archive-access/?rev=2029&view=rev Author: bradtofel Date: 2007-10-01 20:29:41 -0700 (Mon, 01 Oct 2007) Log Message: ----------- BUGFIX: was missing a contextroot for one of the timeline images. Modified Paths: -------------- trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/replay/Timeline.jsp Modified: trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/replay/Timeline.jsp =================================================================== --- trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/replay/Timeline.jsp 2007-10-02 03:28:19 UTC (rev 2028) +++ trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/replay/Timeline.jsp 2007-10-02 03:29:41 UTC (rev 2029) @@ -312,7 +312,7 @@ </form> </td> <td> - <img wmSpecial="1" alt='' height='1' src='images/1px.gif' width='5'> + <img wmSpecial="1" alt='' height='1' src='<%= contextRoot %>/images/1px.gif' width='5'> </td> </tr> </table> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bra...@us...> - 2008-01-30 01:52:30
|
Revision: 2149 http://archive-access.svn.sourceforge.net/archive-access/?rev=2149&view=rev Author: bradtofel Date: 2008-01-29 17:52:36 -0800 (Tue, 29 Jan 2008) Log Message: ----------- FEATURE: added two-month partition interval, removed broken meta and resolution elements (till cookie resolution tracking is fixed). Adjusted formatting slightly to account for removed elements, but it still isn't pretty. Modified Paths: -------------- trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/replay/Timeline.jsp Modified: trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/replay/Timeline.jsp =================================================================== --- trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/replay/Timeline.jsp 2008-01-30 01:49:58 UTC (rev 2148) +++ trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/replay/Timeline.jsp 2008-01-30 01:52:36 UTC (rev 2149) @@ -81,6 +81,8 @@ optimal = fmt.format("TimelineView.timeRange.days"); } else if(minResolution.equals(WaybackConstants.REQUEST_RESOLUTION_MONTHS)) { optimal = fmt.format("TimelineView.timeRange.months"); +} else if(minResolution.equals(WaybackConstants.REQUEST_RESOLUTION_TWO_MONTHS)) { + optimal = fmt.format("TimelineView.timeRange.twomonths"); } else if(minResolution.equals(WaybackConstants.REQUEST_RESOLUTION_YEARS)) { optimal = fmt.format("TimelineView.timeRange.years"); } else { @@ -101,6 +103,10 @@ monthsOptSelected = "selected"; partitions = ResultsTimelinePartitionsFactory.getMonth(results.getResults(), wbRequest); +} else if(resolution.equals(WaybackConstants.REQUEST_RESOLUTION_TWO_MONTHS)) { + monthsOptSelected = "selected"; + partitions = ResultsTimelinePartitionsFactory.getTwoMonth(results.getResults(), + wbRequest); } else if(resolution.equals(WaybackConstants.REQUEST_RESOLUTION_YEARS)) { yearsOptSelected = "selected"; partitions = ResultsTimelinePartitionsFactory.getYear(results.getResults(), @@ -149,15 +155,9 @@ </script> -<!-- -overflow:hidden; border-width:1; border-style:outset; width:100%; height:80px; right:0; top:0; background-color:#dddddd; - --> + <div id="wm-ipp" style="position:relative;z-index:99999;border:1px solid;color:black;background-color:lightYellow;font-size:10px;font-family:sans-serif;padding:5px" > -<!-- -<div onclick="handleDragClick()" id="wm-dragger" style="height:25px; width:100%; border-width:1; border-style:outset; background-color:#cccccc; text-align:right;"> -< -</div> - --> + <table cellspacing="0" border="0" cellpadding="0" width="100%"> <tr> <td width="1" nowrap></td> @@ -174,7 +174,7 @@ </tr> </table> </td> - <td width="400"> + <td width="400" align="center"> <table> <tr> <td width="50%"></td> @@ -281,8 +281,10 @@ </tr> </table> </td> - <td align="right"> + <td align="right" width="400"> <!-- Resolution --> + <!-- + need to get cookie data passing set up before this can be re-enabled: <form wmSpecial="1" name="timeline" method="GET" target="_top" action="<%= contextRoot + "/frameset" %>"> <input type="hidden" name="url" value="<%= searchUrl %>"> <input type="hidden" name="exactdate" value="<%= exactDateStr %>"> @@ -306,7 +308,9 @@ fmt.format("TimelineView.metaDataCheck") %><input type="checkbox" name="metamode" value="yes" <%= metaChecked - %> onClick="changeMeta()"> <a href="help.php" target="_top"><%= + %> onClick="changeMeta()">  + --> + <a wmSpecial="1" href="<%= contextRoot %>/help.jsp" target="_top"><%= fmt.format("UIGlobal.helpLink") %></a> </form> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |