-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaddField.haml
executable file
·32 lines (29 loc) · 1.5 KB
/
addField.haml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
!!! 5
%html
%head
%meta{:charset => "utf-8"}
%title Xtac meta
-# StyleSheets -------------------------------------o
%link{:rel => :stylesheet, :href => "css/master.css"}
%link{:rel => :stylesheet, :href => "css/meta.css"}
%body
%h1#Headline Add a field
%form#addField{:autocomplete => "off", :action => "addField.php", :method => :post}
%ul.dictionary
%h2#success ✓ field added
%input#canonicalName{:name => :canonicalName, :title => "Canonical Name", :type => :text}
%input#readableName{:name => :readableName, :title => "Readable Name", :type => :text}
%input#category{:name => :category, :title => "Category", :type => :text}
%input#mysqlField{:name => :mysqlField, :title => "MySQL Field", :type => :text}
%input#ldapField{:name => :ldapField, :title => "LDAP Field", :type => :text}
%p
Required Authorization Level:
%select#authorizationLevelRequired{:name => :authorizationLevelRequired}
%option{:value => :library} Library
%option{:value => :admin} Admin
-#%option{:value => :other} Other
%input#submit{:class => :button, :type => :submit, :value => :Add}
-# Scripts ------------------------------------------------------o
%script{:src => "js/jquery.min.js", :type => "text/javascript"}
%script{:src => "js/jquery-ui.min.js", :type => "text/javascript"}
%script{:src => "js/addfield.js", :type => "text/javascript"}