You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@steve.apache.org by ad...@apache.org on 2015/03/23 03:54:42 UTC
svn commit: r1668512 - in /steve/steve-web: src/asf/steve/admin/templates/
src/asf/steve/api/templates/ src/asf/steve/templates/ tests/ tests/data/
Author: adc
Date: Mon Mar 23 02:54:42 2015
New Revision: 1668512
URL: http://svn.apache.org/r1668512
Log:
ASF header
Modified:
steve/steve-web/src/asf/steve/admin/templates/admin_index.html
steve/steve-web/src/asf/steve/admin/templates/create_election.html
steve/steve-web/src/asf/steve/api/templates/api_forbidden.html
steve/steve-web/src/asf/steve/templates/error.html
steve/steve-web/src/asf/steve/templates/forbidden.html
steve/steve-web/src/asf/steve/templates/index.html
steve/steve-web/src/asf/steve/templates/layout.html
steve/steve-web/src/asf/steve/templates/not_found.html
steve/steve-web/tests/data/steve-flask.properties
steve/steve-web/tests/test_steve.py
Modified: steve/steve-web/src/asf/steve/admin/templates/admin_index.html
URL: http://svn.apache.org/viewvc/steve/steve-web/src/asf/steve/admin/templates/admin_index.html?rev=1668512&r1=1668511&r2=1668512&view=diff
==============================================================================
--- steve/steve-web/src/asf/steve/admin/templates/admin_index.html (original)
+++ steve/steve-web/src/asf/steve/admin/templates/admin_index.html Mon Mar 23 02:54:42 2015
@@ -1,4 +1,22 @@
-{% extends "layout.html" %}
+{#
+# 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
+# "License"); 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
+# "AS IS" 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.
+#}
+{%- extends "layout.html" %}
{% block onload %}onload="getJSON('/steve/admin/list', null, showElections);"{% endblock %}
Modified: steve/steve-web/src/asf/steve/admin/templates/create_election.html
URL: http://svn.apache.org/viewvc/steve/steve-web/src/asf/steve/admin/templates/create_election.html?rev=1668512&r1=1668511&r2=1668512&view=diff
==============================================================================
--- steve/steve-web/src/asf/steve/admin/templates/create_election.html (original)
+++ steve/steve-web/src/asf/steve/admin/templates/create_election.html Mon Mar 23 02:54:42 2015
@@ -1,4 +1,22 @@
-{% extends "layout.html" %}
+{#
+# 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
+# "License"); 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
+# "AS IS" 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.
+#}
+{%- extends "layout.html" %}
{% block title %}Create a new election{% endblock %}
Modified: steve/steve-web/src/asf/steve/api/templates/api_forbidden.html
URL: http://svn.apache.org/viewvc/steve/steve-web/src/asf/steve/api/templates/api_forbidden.html?rev=1668512&r1=1668511&r2=1668512&view=diff
==============================================================================
--- steve/steve-web/src/asf/steve/api/templates/api_forbidden.html (original)
+++ steve/steve-web/src/asf/steve/api/templates/api_forbidden.html Mon Mar 23 02:54:42 2015
@@ -1,4 +1,22 @@
-{% extends "layout.html" %}
+{#
+# 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
+# "License"); 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
+# "AS IS" 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.
+#}
+{%- extends "layout.html" %}
{% block content %}
Modified: steve/steve-web/src/asf/steve/templates/error.html
URL: http://svn.apache.org/viewvc/steve/steve-web/src/asf/steve/templates/error.html?rev=1668512&r1=1668511&r2=1668512&view=diff
==============================================================================
--- steve/steve-web/src/asf/steve/templates/error.html (original)
+++ steve/steve-web/src/asf/steve/templates/error.html Mon Mar 23 02:54:42 2015
@@ -1,4 +1,22 @@
-{% extends 'layout.html' %}
+{#
+# 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
+# "License"); 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
+# "AS IS" 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.
+#}
+{%- extends 'layout.html' %}
{% block content %}
{{ super() }}
Modified: steve/steve-web/src/asf/steve/templates/forbidden.html
URL: http://svn.apache.org/viewvc/steve/steve-web/src/asf/steve/templates/forbidden.html?rev=1668512&r1=1668511&r2=1668512&view=diff
==============================================================================
--- steve/steve-web/src/asf/steve/templates/forbidden.html (original)
+++ steve/steve-web/src/asf/steve/templates/forbidden.html Mon Mar 23 02:54:42 2015
@@ -1,4 +1,22 @@
-{% extends "layout.html" %}
+{#
+# 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
+# "License"); 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
+# "AS IS" 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.
+#}
+{%- extends "layout.html" %}
{% block content %}
Modified: steve/steve-web/src/asf/steve/templates/index.html
URL: http://svn.apache.org/viewvc/steve/steve-web/src/asf/steve/templates/index.html?rev=1668512&r1=1668511&r2=1668512&view=diff
==============================================================================
--- steve/steve-web/src/asf/steve/templates/index.html (original)
+++ steve/steve-web/src/asf/steve/templates/index.html Mon Mar 23 02:54:42 2015
@@ -1,4 +1,22 @@
-{% extends "layout.html" %}
+{#
+# 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
+# "License"); 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
+# "AS IS" 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.
+#}
+{%- extends "layout.html" %}
{% block onload %}onload="getJSON('/steve/admin/list', null, showElections);"{% endblock %}
Modified: steve/steve-web/src/asf/steve/templates/layout.html
URL: http://svn.apache.org/viewvc/steve/steve-web/src/asf/steve/templates/layout.html?rev=1668512&r1=1668511&r2=1668512&view=diff
==============================================================================
--- steve/steve-web/src/asf/steve/templates/layout.html (original)
+++ steve/steve-web/src/asf/steve/templates/layout.html Mon Mar 23 02:54:42 2015
@@ -1,4 +1,21 @@
-<!DOCTYPE html>
+{#
+# 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
+# "License"); 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
+# "AS IS" 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.
+#}<!DOCTYPE html>
<html lang="en">
<head>
{% block head %}
Modified: steve/steve-web/src/asf/steve/templates/not_found.html
URL: http://svn.apache.org/viewvc/steve/steve-web/src/asf/steve/templates/not_found.html?rev=1668512&r1=1668511&r2=1668512&view=diff
==============================================================================
--- steve/steve-web/src/asf/steve/templates/not_found.html (original)
+++ steve/steve-web/src/asf/steve/templates/not_found.html Mon Mar 23 02:54:42 2015
@@ -1,4 +1,22 @@
-{% extends 'layout.html' %}
+{#
+# 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
+# "License"); 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
+# "AS IS" 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.
+#}
+{%- extends 'layout.html' %}
{% block content %}
{{ super() }}
Modified: steve/steve-web/tests/data/steve-flask.properties
URL: http://svn.apache.org/viewvc/steve/steve-web/tests/data/steve-flask.properties?rev=1668512&r1=1668511&r2=1668512&view=diff
==============================================================================
--- steve/steve-web/tests/data/steve-flask.properties (original)
+++ steve/steve-web/tests/data/steve-flask.properties Mon Mar 23 02:54:42 2015
@@ -1,3 +1,21 @@
+#
+# 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
+# "License"); 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
+# "AS IS" 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.
+#
DEBUG=True
SECRET_KEY='\xd0\xe8\x13\x08\xfd\xa3\x97*\x161FY\x9d\xdd\xbb\xff\xacWF\xd4}\t\x03\xf2'
SESSION_COOKIE_NAME='_ps'
Modified: steve/steve-web/tests/test_steve.py
URL: http://svn.apache.org/viewvc/steve/steve-web/tests/test_steve.py?rev=1668512&r1=1668511&r2=1668512&view=diff
==============================================================================
--- steve/steve-web/tests/test_steve.py (original)
+++ steve/steve-web/tests/test_steve.py Mon Mar 23 02:54:42 2015
@@ -1,3 +1,22 @@
+#
+# 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
+# "License"); 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
+# "AS IS" 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.
+#
+
def test_steve():
pass
\ No newline at end of file