trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r849362 - in /websites/staging/trafficserver/trunk: cgi-bin/ content/ content/tools/via.html
Date Mon, 04 Feb 2013 17:01:40 GMT
Author: buildbot
Date: Mon Feb  4 17:01:40 2013
New Revision: 849362

Log:
Staging update by buildbot for trafficserver

Modified:
    websites/staging/trafficserver/trunk/cgi-bin/   (props changed)
    websites/staging/trafficserver/trunk/content/   (props changed)
    websites/staging/trafficserver/trunk/content/tools/via.html

Propchange: websites/staging/trafficserver/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Feb  4 17:01:40 2013
@@ -1 +1 @@
-1441740
+1442178

Propchange: websites/staging/trafficserver/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Feb  4 17:01:40 2013
@@ -1 +1 @@
-1441740
+1442178

Modified: websites/staging/trafficserver/trunk/content/tools/via.html
==============================================================================
--- websites/staging/trafficserver/trunk/content/tools/via.html (original)
+++ websites/staging/trafficserver/trunk/content/tools/via.html Mon Feb  4 17:01:40 2013
@@ -1,7 +1,18 @@
-<html>
-<title>VIA decoder</title>
-<body>
-<script type="text/javascript">
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+  <head>
+    <meta charset="utf-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <!-- The 1140px Grid - http://cssgrid.net/ -->
+    <link rel="stylesheet" type="text/css" href="/styles/1140.css" media="screen" />
+    <link rel="stylesheet" type="text/css" href="/styles/styles.css" media="screen" />
+    <!--css3-mediaqueries-js - http://code.google.com/p/css3-mediaqueries-js/ - Enables
media queries in some unsupported browsers-->
+    <script type="text/javascript" src="/js/css3-mediaqueries.js"></script>
+    <link href="http://fonts.googleapis.com/css?family=Droid+Serif:regular,italic,bold"
rel="stylesheet">
+    <title>Via Decoder - Apache Traffic Server</title>
+    <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements.  See the NOTICE file distributed with this work for additional information
regarding copyright ownership.  The ASF licenses this file to you under the Apache License,
Version 2.0 (the &quot;License&quot;); you may not use this file except in compliance
with the License.  You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0
. Unless required by applicable law or agreed to in writing, software distributed under the
License is distributed on an &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS
OF ANY KIND, either express or implied.  See the License for the specific language governing
permissions and limitations under the License. -->
+  <script type="text/javascript">
 var codes = {}
 codes[1] = {}
 codes[1]['title'] = "client-info Request headers received from client. Value is one of:"
@@ -85,8 +96,11 @@ codes[12][' '] = "no server connection"
 codes[12]['S'] = "connection opened successfully"
 codes[12]['F'] = "connection open failed"
 
-function showVia(form) {
-    var text = form.via.value;
+function showVia(form, value) {
+    var text = value? value : form.via.value;
+    if (value) {
+        document.getElementById("via").value = value;
+    }
     var via = document.getElementById("via")
     var output = "";
     var txtonly = text.match(/([a-zA-Z: ]+)/);
@@ -121,16 +135,85 @@ function showVia(form) {
     via.innerHTML = output;
     return false;
 }
-</script>
 
-<form onsubmit="return showVia(this);">
-<h2>Via header parser</h2>
-Enter your Via header into the box below to parse it:<br/>
-<input type="text" name="via" size="20"/><input type="button" onclick="showVia(this.form)"
value="Parse header"/>
-</form>
+function checkQuery() {
+    var qs = window.location.search.substr(1);
+    if (qs && qs.length > 5) {
+        showVia(false, qs);
+    }
+}
+</script>
+</head>
+  <body class="container" onLoad="checkQuery();">
+    <!-- Header -->
+    <div class="row" id="header">
+      <div class="fourcol">
+        <a href="/"><img class="logo" alt="Apache Traffic Server" src="/images/trans_logo_tm_380x69.png"
/></a>
+      </div>
+      <div class="fourcol">
+        <a href="http://www.apache.org/"><img alt="The Apache Software Foundation"
src="http://www.apache.org/images/feather-small.png" /></a>
+      </div>
+      <div class="fourcol right last" id="searchbox">
+        <form action="docs/search.html" id="cse-search-box" name="cse-search-box">
+          <input type="hidden" name="cx" value="014552695451971253177:hliljs75koi" /><input
type=
+          "hidden" name="cof" value="FORID:10" /><input type="hidden" name="ie" value=
+          "UTF-8" /><input type="text" name="q" size="22" style="font-size: 80%"/><input
type="submit" name="sa" value=
+          "Search Documentation" style="font-size: 80%"/>
+        </form>
+      </div>
+    </div>
+  </div>
+
+  <div class="row nav">
+    <div class="eightcol">
+      <a href="http://trafficserver.apache.org/">Home</a>
+      <a href="downloads">Downloads</a>
+      <a href="docs">Documentation</a>
+      <a href="https://cwiki.apache.org/confluence/display/TS/Apache+Traffic+Server">Wiki</a>
+      <a href="https://issues.apache.org/jira/browse/TS">Issues</a>
+      <a href="/users.html">Customers</a>
+      <a href="/acknowledgements.html">Acknowledgements</a>
+      <a href="/assistance.html">Assistance</a>
+    </div>
+    <div class="fourcol last right">
+      <a href="http://apache.org/security/">Security</a>
+      <a href="http://www.apache.org/foundation/sponsorship.html">Donate</a>
+      <a href="http://www.apache.org/foundation/thanks.html">Thanks</a>
+    </div>
+  </div>
+
+  <div class="row content">
+    <div class="twelvecol">      
+        <form onsubmit="return showVia(this);">
+        <h2>Via header parser</h2>
+        Enter your Via header into the box below to parse it:<br/>
+        <input type="text" name="via" id="via" size="20"/><input type="button" onclick="showVia(this.form)"
value="Parse header"/>
+        </form>
+
+        <div id="via">
+        </div>
+    </div>
+  </div>
+
+
+  <div id="footer" class="row">
+    <div class="tencol">
+
+      Copyright  &copy; 2012
+      <a href="http://www.apache.org/">The Apache Software Foundation</a>.
+      Licensed under
+      the <a href="http://www.apache.org/licenses/">Apache License</a>,
+      Version 2.0. Apache Traffic Server, Apache,
+      the Apache Traffic Server logo, and the Apache feather logo are
+      trademarks of The Apache Software Foundation.
+    </div>
+    <div class="twocol right last">
+      <span id="apache_logo">
+        <a href="http://www.apache.org/"><img alt="The Apache Software Foundation"
src="http://www.apache.org/images/feather-small.png" /></a>
+      </span>
+    </div>
+  </div>
 
-<div id="via">
-</div>
 </body>
-
 </html>
+



Mime
View raw message