From b6ca062670b342344df08b53fb216db619ef42bc Mon Sep 17 00:00:00 2001 From: Nicolas Braud-Santoni Date: Sun, 7 Aug 2016 16:39:42 +0200 Subject: Import legacy manman source Copied from www.ffgraz.net --- app/views/export/all.rxml | 31 ++++++++++++++++++ app/views/layouts/ip.rhtml | 13 ++++++++ app/views/layouts/location.rhtml | 13 ++++++++ app/views/layouts/nettype.rhtml | 13 ++++++++ app/views/layouts/node.rhtml | 13 ++++++++ app/views/layouts/person.rhtml | 13 ++++++++ app/views/layouts/wlparm.rhtml | 13 ++++++++ app/views/location/_form.rhtml | 34 ++++++++++++++++++++ app/views/location/_plist.rhtml | 19 +++++++++++ app/views/location/_pshow.rhtml | 29 +++++++++++++++++ app/views/location/edit.rhtml | 40 +++++++++++++++++++++++ app/views/location/list.rhtml | 4 +++ app/views/location/new.rhtml | 25 +++++++++++++++ app/views/location/show.rhtml | 21 +++++++++++++ app/views/net/_plist.rhtml | 16 ++++++++++ app/views/node/_plist.rhtml | 17 ++++++++++ app/views/node/_pshow.rhtml | 54 ++++++++++++++++++++++++++++++++ app/views/node/edit.rhtml | 34 ++++++++++++++++++++ app/views/node/edit.rhtml.bak | 25 +++++++++++++++ app/views/node/list.rhtml | 2 ++ app/views/node/new.rhtml | 44 ++++++++++++++++++++++++++ app/views/password_mailer/password.rhtml | 14 +++++++++ app/views/person/_form.rhtml | 25 +++++++++++++++ app/views/person/_nav.rhtml | 11 +++++++ app/views/person/_pshow.rhtml | 20 ++++++++++++ app/views/person/change_pass.rhtml | 22 +++++++++++++ app/views/person/edit.rhtml | 26 +++++++++++++++ app/views/person/list.rhtml | 20 ++++++++++++ app/views/person/login.rhtml | 19 +++++++++++ app/views/person/new.rhtml | 8 +++++ app/views/person/register.rhtml | 35 +++++++++++++++++++++ app/views/person/revoke_pass.rhtml | 15 +++++++++ app/views/person/show.rhtml | 8 +++++ 33 files changed, 696 insertions(+) create mode 100644 app/views/export/all.rxml create mode 100644 app/views/layouts/ip.rhtml create mode 100644 app/views/layouts/location.rhtml create mode 100644 app/views/layouts/nettype.rhtml create mode 100644 app/views/layouts/node.rhtml create mode 100644 app/views/layouts/person.rhtml create mode 100644 app/views/layouts/wlparm.rhtml create mode 100644 app/views/location/_form.rhtml create mode 100644 app/views/location/_plist.rhtml create mode 100644 app/views/location/_pshow.rhtml create mode 100644 app/views/location/edit.rhtml create mode 100644 app/views/location/list.rhtml create mode 100644 app/views/location/new.rhtml create mode 100644 app/views/location/show.rhtml create mode 100644 app/views/net/_plist.rhtml create mode 100644 app/views/node/_plist.rhtml create mode 100644 app/views/node/_pshow.rhtml create mode 100644 app/views/node/edit.rhtml create mode 100644 app/views/node/edit.rhtml.bak create mode 100644 app/views/node/list.rhtml create mode 100644 app/views/node/new.rhtml create mode 100644 app/views/password_mailer/password.rhtml create mode 100644 app/views/person/_form.rhtml create mode 100644 app/views/person/_nav.rhtml create mode 100644 app/views/person/_pshow.rhtml create mode 100644 app/views/person/change_pass.rhtml create mode 100644 app/views/person/edit.rhtml create mode 100644 app/views/person/list.rhtml create mode 100644 app/views/person/login.rhtml create mode 100644 app/views/person/new.rhtml create mode 100644 app/views/person/register.rhtml create mode 100644 app/views/person/revoke_pass.rhtml create mode 100644 app/views/person/show.rhtml (limited to 'app/views') diff --git a/app/views/export/all.rxml b/app/views/export/all.rxml new file mode 100644 index 0000000..d1aa10e --- /dev/null +++ b/app/views/export/all.rxml @@ -0,0 +1,31 @@ +xml.instruct! :xml, :version=>"1.0" + +xml.network{ + for location in @locations + xml.location do + xml.name(location.name) + xml.street(location.street) + xml.streetnr(location.streetnr) + xml.comment(location.comment) + xml.gallery(location.gallery_link) + xml.lat(location.lat) + xml.lon(location.lon) + + for node in location.node + xml.node do + xml.name(node.name) + xml.comment(node.comment) + + for ip in node.ip + xml.ip do + xml.name(ip.name) + xml.address(ip.ip) + xml.dns("#{ip.name}.#{node.name}.#{location.name}") + end + end + + end + end + end + end +} diff --git a/app/views/layouts/ip.rhtml b/app/views/layouts/ip.rhtml new file mode 100644 index 0000000..ad4cb1b --- /dev/null +++ b/app/views/layouts/ip.rhtml @@ -0,0 +1,13 @@ + + + Ip: <%= controller.action_name %> + <%= stylesheet_link_tag 'scaffold' %> + + + +

<%= flash[:notice] %>

+ +<%= @content_for_layout %> + + + diff --git a/app/views/layouts/location.rhtml b/app/views/layouts/location.rhtml new file mode 100644 index 0000000..a3fb66d --- /dev/null +++ b/app/views/layouts/location.rhtml @@ -0,0 +1,13 @@ + + + Location: <%= controller.action_name %> + <%= stylesheet_link_tag 'scaffold' %> + + + +

<%= flash[:notice] %>

+ +<%= yield %> + + + diff --git a/app/views/layouts/nettype.rhtml b/app/views/layouts/nettype.rhtml new file mode 100644 index 0000000..46e2cf5 --- /dev/null +++ b/app/views/layouts/nettype.rhtml @@ -0,0 +1,13 @@ + + + Nettype: <%= controller.action_name %> + <%= stylesheet_link_tag 'scaffold' %> + + + +

<%= flash[:notice] %>

+ +<%= @content_for_layout %> + + + diff --git a/app/views/layouts/node.rhtml b/app/views/layouts/node.rhtml new file mode 100644 index 0000000..1a9af20 --- /dev/null +++ b/app/views/layouts/node.rhtml @@ -0,0 +1,13 @@ + + + Node: <%= controller.action_name %> + <%= stylesheet_link_tag 'scaffold' %> + + + +

<%= flash[:notice] %>

+ +<%= @content_for_layout %> + + + diff --git a/app/views/layouts/person.rhtml b/app/views/layouts/person.rhtml new file mode 100644 index 0000000..0e7102e --- /dev/null +++ b/app/views/layouts/person.rhtml @@ -0,0 +1,13 @@ + + + Person: <%= controller.action_name %> + <%= stylesheet_link_tag 'scaffold' %> + + + +

<%= flash[:notice] %>

+ +<%= yield %> + + + diff --git a/app/views/layouts/wlparm.rhtml b/app/views/layouts/wlparm.rhtml new file mode 100644 index 0000000..9dfd37a --- /dev/null +++ b/app/views/layouts/wlparm.rhtml @@ -0,0 +1,13 @@ + + + Wlparm: <%= controller.action_name %> + <%= stylesheet_link_tag 'scaffold' %> + + + +

<%= flash[:notice] %>

+ +<%= @content_for_layout %> + + + diff --git a/app/views/location/_form.rhtml b/app/views/location/_form.rhtml new file mode 100644 index 0000000..c391f62 --- /dev/null +++ b/app/views/location/_form.rhtml @@ -0,0 +1,34 @@ +<%= error_messages_for 'location' %> + + +


+<%= text_field 'location', 'pixel_x' %>

+ +


+<%= text_field 'location', 'pixel_y' %>

+ +


+<%= text_field 'location', 'gps_lon' %>

+ +


+<%= text_field 'location', 'gps_lat' %>

+ +


+<%= text_field 'location', 'name' %>

+ +


+<%= text_field 'location', 'street' %>

+ +


+<%= text_field 'location', 'number' %>

+ +


+<%= text_field 'location', 'creator_ip' %>

+ +


+<%= datetime_select 'location', 'time' %>

+ +


+<%= text_field 'location', 'comment' %>

+ + diff --git a/app/views/location/_plist.rhtml b/app/views/location/_plist.rhtml new file mode 100644 index 0000000..be4d644 --- /dev/null +++ b/app/views/location/_plist.rhtml @@ -0,0 +1,19 @@ + + + + + + +<% @locations.each do |location| %> + + + + + + + + + +<% end %> +
NameStrasseHausnr.Kommentar
<%= location.name %><%= location.street %><%= location.streetnr %><%= location.comment %><%= link_to 'Show', :action => 'show', :controller => 'location', :id => location %><%= link_to 'Edit', :action => 'edit', :controller => 'location', :id => location %><%= link_to 'Destroy', { :action => 'destroy', :controller => 'location', :id => location }, :confirm => 'Are you sure?', :post => true %>
+ diff --git a/app/views/location/_pshow.rhtml b/app/views/location/_pshow.rhtml new file mode 100644 index 0000000..b1b042a --- /dev/null +++ b/app/views/location/_pshow.rhtml @@ -0,0 +1,29 @@ + +<% if @location != nil %> + + + + + + + + + + + + + + + + + + + +
Name:<%= @location.name %>
Strasse:<%= @location.street %>
Hausnr.:<%= @location.streetnr %>
Kommentar:<%= @location.comment %>
changed:<%= @location.time %>
Links: + <%= link_to('Smokeping','http://stats.ffgraz.net/smokeping/index.cgi?target=Funkfeuer.' + @location.name) %>
+ <% if @location.gallery_link != nil %> + <%= link_to 'Gallery', @location.gallery_link %>
+ <% end %> + <%= link_to 'google maps', @googlemap %>
+

<%= link_to 'Edit', { :action => 'edit', :id => @location.id } %> +<% end %> diff --git a/app/views/location/edit.rhtml b/app/views/location/edit.rhtml new file mode 100644 index 0000000..20796b7 --- /dev/null +++ b/app/views/location/edit.rhtml @@ -0,0 +1,40 @@ +<%= render :partial => "person/nav" %> + +

Location

+<%= form_tag :action => 'update', :id => @location %> + + + + + + + + + + + + + + + + + + + +
Name<%= text_field 'location', 'name' %>
Strasse<%= text_field 'location', 'street' %>
Hausnummer<%= text_field 'location', 'streetnr' %>
Kommentar<%= text_field 'location', 'comment' %>
Administrator + +
Gallery<%= text_field 'location', 'gallery_link' %>
+ <%= submit_tag 'Edit' %> +<%= end_form_tag %> + +<%= link_to 'Show', :action => 'show', :id => @location %> | +<%= link_to 'Back', :action => 'list' %> + diff --git a/app/views/location/list.rhtml b/app/views/location/list.rhtml new file mode 100644 index 0000000..1307dfa --- /dev/null +++ b/app/views/location/list.rhtml @@ -0,0 +1,4 @@ +<%= render :partial => "person/nav" %> +

Locations

+<%= render :partial => "plist", :object => @locations %> + diff --git a/app/views/location/new.rhtml b/app/views/location/new.rhtml new file mode 100644 index 0000000..60b5d2a --- /dev/null +++ b/app/views/location/new.rhtml @@ -0,0 +1,25 @@ +<%= render :partial => "person/nav" %> + +

New Location

+ +<%= start_form_tag :action => 'create', :id => @location %> + + + + + + + + + + + + <%= hidden_field 'location', 'pixel_x' %> + <%= hidden_field 'location', 'pixel_y' %> + +
Name<%= text_field 'location', 'name' %>*
Strasse<%= text_field 'location', 'street' %>
Hausnr.<%= text_field 'location', 'streetnr' %>
Kommentar<%= text_area 'location', 'comment' %>
+ <%= submit_tag 'Create' %> +<%= end_form_tag %> + +

Bitte Felder mit * eintragen

+

Unter Name bitte nur Kleinbuchstaben und Ziffern ohne Leerzeichen eintragen

diff --git a/app/views/location/show.rhtml b/app/views/location/show.rhtml new file mode 100644 index 0000000..2666ff0 --- /dev/null +++ b/app/views/location/show.rhtml @@ -0,0 +1,21 @@ +<%= render :partial => "person/nav" %> + +

Location

+<%= render :partial => "location/pshow", :object => { @location, @mappe } %> + +
+

Nodes

+<%= render :partial => "node/pshow", :object => @nodes %> +<%= link_to 'New Node', :controller => 'node', :action => 'new', :location => @location.id %> + +
+

IP Netze

+<%= render :partial => "net/plist", :object => @nets %> + +
+

Administrator

+<% if @person != nil %> + <%= render :partial => "person/pshow", :object => @person %> +<% end %> +
+edit location in DBMS diff --git a/app/views/net/_plist.rhtml b/app/views/net/_plist.rhtml new file mode 100644 index 0000000..11bb8f4 --- /dev/null +++ b/app/views/net/_plist.rhtml @@ -0,0 +1,16 @@ + + + + + + + + <% @nets.each do |net| %> + + + + + + <% end %> +
Netz IPNetmaskKommentar
<%= net.netip %><%= net.netmask %><%= net.comment %>
+

diff --git a/app/views/node/_plist.rhtml b/app/views/node/_plist.rhtml new file mode 100644 index 0000000..c329d4c --- /dev/null +++ b/app/views/node/_plist.rhtml @@ -0,0 +1,17 @@ + + + + + +<% @nodes.each do |node| %> + + + + + + + + +<% end %> +
NameLocationKommentar
<%= node.name %><%= node.location.name %><%= node.comment %><%= link_to 'Show', :action => 'show', :controller => 'node', :id => node %><%= link_to 'Edit', :action => 'edit', :controller => 'node', :id => node %><%= link_to 'Destroy', { :action => 'destroy', :controller => 'node', :id => node }, :confirm => 'Are you sure?', :post => true %>
+ diff --git a/app/views/node/_pshow.rhtml b/app/views/node/_pshow.rhtml new file mode 100644 index 0000000..df7b132 --- /dev/null +++ b/app/views/node/_pshow.rhtml @@ -0,0 +1,54 @@ + +<% @nodes.each do |node| %> + + + + + + + + + + + <% if node.person %> + + + <% end %> + + + + + + + <% node.ip.each do |ip| %> + + + + <% if ip.nets != nil %> + <% if ip.nets.netmask != '255.255.255.255' %> + + <% else %> + + <% end %> + <% else %> + + <% end %> + + + <% end %> + + + + <% if node.smokeping %> + + <% else %> + + <% end %> + +
Name<%= node.name %>
Kommentar<%= node.comment %>
Administrator<%= node.person.email %>
InterfacesNameIPNetmaskLink
<%= ip.name %><%= link_to ip.ip, "http://#{ip.ip}" %><%= ip.nets.netmask %><%= '255.255.0.0' %><%= ip.net_id %><%= link_to "intern", "http://#{ip.name}.#{node.name}.#{node.location.name}.graz.funkfeuer.at" %> | <%= link_to "extern", "http://#{ip.name}.#{node.name}.#{node.location.name}.ext.graz.funkfeuer.at" %>
Smokepingenableddisabled
+

+ <%= link_to 'Edit', { :controller =>'node', :action => 'edit' , :id => node.id } %> | + <%= link_to 'Destroy', { :controller => 'node', :action => 'destroy', :id => node.id } %> +

+

+<% end %> diff --git a/app/views/node/edit.rhtml b/app/views/node/edit.rhtml new file mode 100644 index 0000000..3686853 --- /dev/null +++ b/app/views/node/edit.rhtml @@ -0,0 +1,34 @@ +<%= render :partial => "person/nav" %> + +

Node

+<%= start_form_tag :action => 'update', :id => @node %> + + + + + + + + + + + + + + + +
Name<%= text_field 'node', 'name' %>
Kommentar<%= text_area('node', 'comment', :cols => 40, :rows => 5) %>
Administrator + +
Smokeping<%= check_box "node", "smokeping" %>
+ <%= submit_tag 'Edit' %> +<%= end_form_tag %> +
+<%= link_to 'Back', { :controller => 'location', :action => 'show', :id => @node.location.id } %> diff --git a/app/views/node/edit.rhtml.bak b/app/views/node/edit.rhtml.bak new file mode 100644 index 0000000..c14bd94 --- /dev/null +++ b/app/views/node/edit.rhtml.bak @@ -0,0 +1,25 @@ +

Node

+<%= start_form_tag :action => 'update', :id => @node %> + + + + + + + + + + +
Name<%= text_field 'node', 'name' %>
Kommentar<%= text_field 'location', 'comment' %>
Administrator + +
+ <%= submit_tag 'Edit' %> +<%= end_form_tag %> diff --git a/app/views/node/list.rhtml b/app/views/node/list.rhtml new file mode 100644 index 0000000..a6f4ed4 --- /dev/null +++ b/app/views/node/list.rhtml @@ -0,0 +1,2 @@ +

Nodes

+<%= render :partial => "plist", :object => @nodes %> diff --git a/app/views/node/new.rhtml b/app/views/node/new.rhtml new file mode 100644 index 0000000..a1585fc --- /dev/null +++ b/app/views/node/new.rhtml @@ -0,0 +1,44 @@ +<%= render :partial => "person/nav" %> + +

Neuer Router

+ +<%= start_form_tag :action => 'do_new' %> + + + + + + + + + + + + + + + + + + + +
Location: + <%= @node.location.name %> +
Name:<%= text_field 'node', 'name' %>
Kommentar:<%= text_area 'node', 'comment', 'rows' => 4 %>
Administrator + +
Smokeping<%= check_box "node", "smokeping" %>
+ <%= hidden_field 'node', 'location_id' %> + <%= submit_tag "Create" %> +<%= end_form_tag %> + + +

Hinweise

+

Als Name bitte z.B 'omni' oder einen anden anderen, die Abstrahlcharakteristik bezeichenden Namen.

diff --git a/app/views/password_mailer/password.rhtml b/app/views/password_mailer/password.rhtml new file mode 100644 index 0000000..44a43c4 --- /dev/null +++ b/app/views/password_mailer/password.rhtml @@ -0,0 +1,14 @@ +Neues Passwort: +--------------- + +Person: <%= @person.firstname + ' ' + @person.lastname %> +Email: <%= @person.email %> +neues Passwort: <%= @password %> + +mfg +Funkfeuer Graz Admin + +-- +admin@graz.funkfeuer.at +http://graz.funkfeuer.at + diff --git a/app/views/person/_form.rhtml b/app/views/person/_form.rhtml new file mode 100644 index 0000000..a640109 --- /dev/null +++ b/app/views/person/_form.rhtml @@ -0,0 +1,25 @@ +<%= error_messages_for 'person' %> + + +


+<%= text_field 'person', 'name' %>

+ +


+<%= text_field 'person', 'nick' %>

+ +


+<%= text_field 'person', 'firstname' %>

+ +


+<%= text_field 'person', 'lastname' %>

+ +


+<%= text_field 'person', 'email' %>

+ +


+<%= text_field 'person', 'tel' %>

+ +


+<%= password_field 'person', 'password' %>

+ + diff --git a/app/views/person/_nav.rhtml b/app/views/person/_nav.rhtml new file mode 100644 index 0000000..bcde756 --- /dev/null +++ b/app/views/person/_nav.rhtml @@ -0,0 +1,11 @@ +
+

+ Navigation: + <%= link_to "Locations", :action => "list", :controller => "location" %> | + <%= link_to "Persons", :action => 'list', :controller => 'person' %>
+ Benutzer: + <%= link_to session[:person].email , :action => 'show', :controller => 'person', :id => session[:person].id %> | + <%= link_to 'Logout', :action => 'logout', :controller => 'person' %> +

+
+
diff --git a/app/views/person/_pshow.rhtml b/app/views/person/_pshow.rhtml new file mode 100644 index 0000000..61a1f32 --- /dev/null +++ b/app/views/person/_pshow.rhtml @@ -0,0 +1,20 @@ +<% if @person != nil %> + + + + + + + + + + +
Nick:<%= @person.nick %>
Email:<%= mail_to @person.email, @person.email, :encode => 'hex' %>
Tel:<%= @person.tel %>
+

+ <%= link_to 'Show', { :action => 'show', :controller => 'person', :id => @person.id } %> | + <%= link_to 'Edit', { :action => 'edit', :controller => 'person', :id => @person.id } %> | + <%= link_to 'Change Password', { :action => 'change_pass', + :controller => 'person', + :id => @person.id } %> +

+<% end %> diff --git a/app/views/person/change_pass.rhtml b/app/views/person/change_pass.rhtml new file mode 100644 index 0000000..f1d62fa --- /dev/null +++ b/app/views/person/change_pass.rhtml @@ -0,0 +1,22 @@ +<%= render :partial => "person/nav" %> +

Passwort aendern

+ +<%= form_tag :action => "do_change_pass", :id => @person.id %> + + + + + + + + + + + + + +
altes Passwort:<%= password_field_tag 'oldpassword' %>
neues Passwort:<%= password_field_tag 'password' %>
nochmals:<%= password_field_tag 'password2' %>
+ +<%= submit_tag 'Change' %> +<%= end_form_tag %> + diff --git a/app/views/person/edit.rhtml b/app/views/person/edit.rhtml new file mode 100644 index 0000000..7c0f1da --- /dev/null +++ b/app/views/person/edit.rhtml @@ -0,0 +1,26 @@ +<%= render :partial => "person/nav" %> +

Person

+<%= start_form_tag :action => 'update', :id => @person %> + + + + + + + + + + + + + + + + +
nick<%= text_field 'person', 'nick' %>
Vorname<%= text_field 'person', 'firstname' %>
Nachname<%= text_field 'person', 'lastname' %>
Email:<%= text_field 'person', 'email' %>
Tel:<%= text_field 'person', 'tel' %>
+ <%= submit_tag 'Edit' %> +<%= end_form_tag %> + +<%= link_to 'Show', :action => 'show', :id => @person %> | +<%= link_to 'Back', :action => 'list' %> + diff --git a/app/views/person/list.rhtml b/app/views/person/list.rhtml new file mode 100644 index 0000000..37b8128 --- /dev/null +++ b/app/views/person/list.rhtml @@ -0,0 +1,20 @@ + +<%= render :partial => "person/nav" %> +

Personen

+ + + + + +<% @persons.each do |person| %> + + + + + + + + +<% end %> +
NicknameEmailTel.
<%= person.nick %><%= mail_to person.email, person.email, :encode => "hex" %><%= person.tel %><%= link_to 'Show', :action => 'show', :id => person %><%= link_to 'Edit', :action => 'edit', :id => person %><%= link_to 'Destroy', { :action => 'destroy', :id => person }, :confirm => 'Are you sure?', :post => true %>
+ diff --git a/app/views/person/login.rhtml b/app/views/person/login.rhtml new file mode 100644 index 0000000..a8d8fc3 --- /dev/null +++ b/app/views/person/login.rhtml @@ -0,0 +1,19 @@ +<% %> +

Login

+<%= form_tag :action => "sign_on" %> + + + + + + + + +
Email:<%= text_field 'person', 'email' %> +
Passwort:<%= password_field 'person', 'password' %>
+ +<%= submit_tag 'Login' %> +<%= end_form_tag %> +
+<%= link_to 'Passwort vergessen', :action => 'revoke_pass' %> | +<%= link_to 'Registrieren', :action => 'register' %> diff --git a/app/views/person/new.rhtml b/app/views/person/new.rhtml new file mode 100644 index 0000000..0e79d24 --- /dev/null +++ b/app/views/person/new.rhtml @@ -0,0 +1,8 @@ +

New person

+ +<%= start_form_tag :action => 'create' %> + <%= render :partial => 'form' %> + <%= submit_tag "Create" %> +<%= end_form_tag %> + +<%= link_to 'Back', :action => 'list' %> diff --git a/app/views/person/register.rhtml b/app/views/person/register.rhtml new file mode 100644 index 0000000..4c670a4 --- /dev/null +++ b/app/views/person/register.rhtml @@ -0,0 +1,35 @@ +

register Person

+

Hier kannst du dich fuer FunkFeuer Graz registrieren damit wir dir IP Adressen und + Locations zuordnen koennen. +

+<%= start_form_tag :action => 'create', :id => @person %> + + + + + + + + + + + + + + + + + + + + + + + +
Nickname<%= text_field 'person', 'nick' %>
Vorname<%= text_field 'person', 'firstname' %>*
Nachname<%= text_field 'person', 'lastname' %>*
Email:<%= text_field 'person', 'email' %>*
Tel:<%= text_field 'person', 'tel' %>
Passwort<%= password_field_tag 'password' %>*
Passwort<%= password_field_tag 'password2' %>*
+ <%= submit_tag 'Create' %> +<%= end_form_tag %> + +

Bitte mindestens Felder mit * eintragen

+

Die Felder Nickname, Email und Tel + koennen von allen angemeldeten Benutzern eingesehen werden.

diff --git a/app/views/person/revoke_pass.rhtml b/app/views/person/revoke_pass.rhtml new file mode 100644 index 0000000..99c3a27 --- /dev/null +++ b/app/views/person/revoke_pass.rhtml @@ -0,0 +1,15 @@ +

Revoke Passwort

+

Bitte geben Sie Ihre email Adresse ein.
+Ein neues Passwort wird Ihnen dann zugesendet.

+ +<%= form_tag :action => "do_revoke" %> + + + + +
Email:<%= text_field 'person', 'email' %> +
+ +<%= submit_tag 'Revoke' %> +<%= end_form_tag %> + diff --git a/app/views/person/show.rhtml b/app/views/person/show.rhtml new file mode 100644 index 0000000..be5541f --- /dev/null +++ b/app/views/person/show.rhtml @@ -0,0 +1,8 @@ +<%= render :partial => "person/nav" %> +

Person

+<%= render :partial => "person/pshow", :object => @person %> +
+

Locations

+<%= render :partial => "location/plist", + :object => @locations %> + -- cgit v1.2.1