From fc55dc2e95bcea03fbc0d8e1d130c9e53f3f1dad Mon Sep 17 00:00:00 2001
From: Georg Brandl
Date: Sun, 17 Jan 2016 17:00:26 +0100
Subject: merge default into stable
---
tests/examplefiles/example.xhtml | 376 +++++++++++++++++++++++++++++++++++++++
1 file changed, 376 insertions(+)
create mode 100644 tests/examplefiles/example.xhtml
(limited to 'tests/examplefiles/example.xhtml')
diff --git a/tests/examplefiles/example.xhtml b/tests/examplefiles/example.xhtml
new file mode 100644
index 00000000..a08cf753
--- /dev/null
+++ b/tests/examplefiles/example.xhtml
@@ -0,0 +1,376 @@
+
+
+
+ Error
+
+
+
+ Error
+
+
+
+ Path: #{path}
+ #{CGI.escapeHTML(error.to_s)}
+
+
+
+ In file
'#{error.hot_file}' #{error.hot_file =~ /\.xhtml$/ ? '(line numbering is aproximate due to template transformation)' : nil}:
+
+
+
#{line}
+
+
#{line}
+
+
+
+
+
+
+
+
+
#{line}
+
+
#{line}
+
+
+
+
+
+
+
+
+
+
+
Parameters: #{request.params.reject{ |k,v| k == :__RELOADED__ }.inspect}
+
Cookies: #{request.cookies.inspect}
+
Headers:
#{request.headers.collect { |k, v| "#{k} => #{v}" }.join('
')}
+
+
+
+
+
Headers: #{request.response_headers.inspect}
+
Cookies: #{request.response_cookies.inspect}
+
+
+
+
+
Values: #{session.inspect}
+
+
+
+ Powered by Nitro version #{Nitro::Version}
+
+
+
+
+
+
+
+ Show editable
+ #{form_for @obj, :action => "#{base}/save", :cancel => "#{base}/list", :all => true}
+
+ Show all
+ #{form_for @obj, :action => "#{base}/save", :cancel => "#{base}/list"}
+
+
+#{form_for(@%name%)}
+
+
+ #{"%plural%".humanize}
+
+
+
+
+
+
+ Home > System > #{"%plural%".humanize}
+ New #{"%name%".humanize}
+
+
+
+
+
+
+
+
+
+
+ Show editable
+ #{form_for @obj, :action => "#{base}/save", :cancel => "#{base}/list", :all => true, :enctype => "multipart/form-data"}
+
+ Show all
+ #{form_for @obj, :action => "#{base}/save", :cancel => "#{base}/list", :enctype => "multipart/form-data"}
+
+
+
+
+
+
+
+
+
+ Search method is not implemented for this object
+
+
+
+
+
+
+
+ View %name%
+
+
+ #{@obj.to_yaml}
+
+
+Access denied
+
+
+ Home > System
+
+ Og managed classes
+
+
+
+ | Class |
+ Count |
+ Cleanup |
+ Properties |
+
+
+
+ | #{c.name} |
+ #{c.count} |
+ delete |
+ destroy |
+ #{c.properties.values.join(', ')} |
+
+
+
+
+ System configuration
+
+
+
+ | Name |
+ Value |
+ Type |
+ Description |
+
+
+
+ | #{s.owner}.#{s.name} |
+ #{s.value.inspect} |
+ #{s.type} |
+ #{s.options[:doc]} |
+
+
+
+
+
+
+
+
+ Test
+
+
+
+
+
+
+
+hello
+Hello #{username}
+
+how do you feel?
+
+Here is your Token: #{token}
+
+
+
+
Questions with Tags: #{@tags.join(" ")}
+
+ 0 ?>
+
+ Too many results for that Tag, please reduce the number by using one of the following Tags:
+ #{cloud_of(@qtags)}
+
+
+
+
+
+
+ #{excerpt}
+
+
#{q.answers.size.to_i} answers
+
+
+
+
+
+
+
+ 0 ?>
+
Tips with Tags: #{@tags.join(" ")}
+
+ Too many results for that Tag, please reduce the number by using one of the following Tags:
+ #{cloud_of(@ttags)}
+
+
+
+
+
+
+ #{excerpt}
+
+
+
+
+
+
+ 0 ?>
+
Tutorials with Tags: #{@tags.join(" ")}
+
+ Too many results for that Tag, please reduce the number by using one of the following Tags:
+ #{cloud_of(@tuttags)}
+
+
+
+
+
+
+ #{excerpt}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
--
cgit v1.2.1