Small change on date picker control, removed date input
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
note
|
||||
description: "Summary description for {WSF_DATETIME_CONTROL}."
|
||||
author: ""
|
||||
date: "$Date$"
|
||||
revision: "$Revision$"
|
||||
|
||||
class
|
||||
WSF_DATETIME_CONTROL
|
||||
|
||||
inherit
|
||||
|
||||
WSF_INPUT_CONTROL
|
||||
rename
|
||||
make as make_input
|
||||
end
|
||||
|
||||
create
|
||||
make
|
||||
|
||||
feature {NONE} -- Initialization
|
||||
|
||||
make (v: STRING)
|
||||
-- Initialize with specified control name and text
|
||||
do
|
||||
make_input (v)
|
||||
end
|
||||
|
||||
end
|
||||
@@ -42,7 +42,7 @@ feature {NONE} -- Initialization
|
||||
input.append_attribute ("size=%"16%" readonly=%"%"")
|
||||
add_control (input)
|
||||
create span.make_with_tag_name ("span")
|
||||
span.add_class ("input-group-addon")
|
||||
span.add_class ("input-group-addon add-on")
|
||||
span.add_control (create {WSF_BASIC_CONTROL}.make_with_body_class ("span", "", "glyphicon glyphicon-calendar", ""))
|
||||
add_control (span)
|
||||
end
|
||||
@@ -56,6 +56,6 @@ feature -- Implementation
|
||||
|
||||
feature -- Properties
|
||||
|
||||
input: WSF_DATETIME_CONTROL
|
||||
input: WSF_INPUT_CONTROL
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user