OLD | NEW |
(Empty) | |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is govered by a BSD-style |
| 3 # license that can be found in the LICENSE file or at |
| 4 # https://developers.google.com/open-source/licenses/bsd |
| 5 |
| 6 """A class to display the an error page for excessive activity. |
| 7 |
| 8 This page is shown when the user performs a given type of action |
| 9 too many times in a 24-hour period or exceeds a lifetime limit. |
| 10 """ |
| 11 |
| 12 from framework import servlet |
| 13 |
| 14 |
| 15 class ExcessiveActivity(servlet.Servlet): |
| 16 """ExcessiveActivity page shows an error message.""" |
| 17 |
| 18 _PAGE_TEMPLATE = 'framework/excessive-activity-page.ezt' |
| 19 |
| 20 def GatherPageData(self, _mr): |
| 21 """Build up a dictionary of data values to use when rendering the page.""" |
| 22 return {} |
OLD | NEW |