witten
/
luminotes
Archived
1
0
Fork 0

Removing now-unnecessary src attributes.

This commit is contained in:
Dan Helfman 2009-04-22 16:17:32 -07:00
parent 6b0a87e097
commit 410af8f011
1 changed files with 0 additions and 10 deletions

View File

@ -16,14 +16,12 @@ class Toolbar( Div ):
Div( Input(
type = u"button",
id = u"createLink", title = u"link [ctrl-L]",
src = u"/static/images/toolbar/link_button.png",
class_ = "image_button",
), class_ = u"button_background" ),
# Notebook.READ_WRITE_FOR_OWN_NOTES should not have a file upload button
( notebook.read_write == Notebook.READ_WRITE ) and Div( Input(
type = u"button",
id = u"attachFile", title = u"attach file or image",
src = u"/static/images/toolbar/attach_button.png",
class_ = "image_button",
), class_ = u"button_background" ) or None,
),
@ -31,37 +29,31 @@ class Toolbar( Div ):
Div( Input(
type = u"button",
id = u"bold", title = u"bold [ctrl-B]",
src = u"/static/images/toolbar/bold_button.png",
class_ = "image_button",
), class_ = u"button_background" ),
Div( Input(
type = u"button",
id = u"italic", title = u"italic [ctrl-I]",
src = u"/static/images/toolbar/italic_button.png",
class_ = "image_button",
), class_ = u"button_background" ),
Div( Input(
type = u"button",
id = u"underline", title = u"underline [ctrl-U]",
src = u"/static/images/toolbar/underline_button.png",
class_ = "image_button",
), class_ = u"button_background" ),
Div( Input(
type = u"button",
id = u"strikethrough", title = u"strikethrough [ctrl-S]",
src = u"/static/images/toolbar/strikethrough_button.png",
class_ = "image_button",
), class_ = u"button_background" ),
Div( Input(
type = u"button",
id = u"font", title = u"font",
src = u"/static/images/toolbar/font_button.png",
class_ = "image_button",
), class_ = u"button_background" ),
Div( Input(
type = u"button",
id = u"title", title = u"title",
src = u"/static/images/toolbar/title_button.png",
class_ = "image_button",
), class_ = u"button_background" ),
),
@ -69,13 +61,11 @@ class Toolbar( Div ):
Div( Input(
type = u"button",
id = u"insertUnorderedList", title = u"bullet list [ctrl-period]",
src = u"/static/images/toolbar/bullet_list_button.png",
class_ = "image_button",
), class_ = u"button_background" ),
Div( Input(
type = u"button",
id = u"insertOrderedList", title = u"numbered list [ctrl-1]",
src = u"/static/images/toolbar/numbered_list_button.png",
class_ = "image_button",
), class_ = u"button_background" ),
),