-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #751 from fbarthez/pr/ERMDColumnSelector
New ERMD2WColumnSelector component
- Loading branch information
Showing
18 changed files
with
437 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
...orks/D2W/ERModernDirectToWeb/Components/ERMD2WColumnSelector.wo/ERMD2WColumnSelector.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<webobject name = "IsShowColumnSelector"> | ||
<div class = "ColumnSelector"> | ||
<svg class = "icon icon-menu3" xmlns = "http://www.w3.org/2000/svg" xmlns:xlink = "http://www.w3.org/1999/xlink" viewBox = "0 0 1408 1024"> | ||
<title><webobject name = "ColumnSelectorLabel"/></title> | ||
<path class = "path1" d = "M0 192h896v192h-896v-192zM0 448h896v192h-896v-192zM0 704h896v192h-896v-192z" /> | ||
<path class = "path2" d = "M992 448l192 192 192-192z" /> | ||
</svg> | ||
<ul class = "ColumnSelectorMenu"> | ||
<webobject name = "SectionRepetition"> | ||
<webobject name = "ColumnLabelRepetition"> | ||
<webobject name = "Property"> | ||
<webobject name = "ToggleColumnVisibility"><webobject name = "PropertyName" /></webobject> | ||
</webobject> | ||
</webobject> | ||
</webobject> | ||
</ul> | ||
</div> | ||
</webobject> |
32 changes: 32 additions & 0 deletions
32
...works/D2W/ERModernDirectToWeb/Components/ERMD2WColumnSelector.wo/ERMD2WColumnSelector.wod
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
IsShowColumnSelector : WOConditional { | ||
condition = isShowColumnSelector; | ||
} | ||
|
||
ColumnSelectorLabel : ERXLocalizedString { | ||
value = "ERMD.columnSelectorTitle"; | ||
} | ||
|
||
SectionRepetition: ERXWORepetition { | ||
list = sectionsContents; | ||
item = currentSection; | ||
} | ||
|
||
ColumnLabelRepetition: WORepetition { | ||
_unroll = true; | ||
item = propertyKey; | ||
list = currentSectionKeys; | ||
} | ||
|
||
Property : WOGenericContainer { | ||
elementName = "li"; | ||
class = columnSelectorClass; | ||
} | ||
|
||
ToggleColumnVisibility : AjaxUpdateLink { | ||
updateContainerID = ^updateContainerID; | ||
action = toggleColumnVisibility; | ||
} | ||
|
||
PropertyName : WOString { | ||
value = displayNameForProperty; | ||
} |
4 changes: 4 additions & 0 deletions
4
...works/D2W/ERModernDirectToWeb/Components/ERMD2WColumnSelector.wo/ERMD2WColumnSelector.woo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"WebObjects Release" = "WebObjects 5.0"; | ||
encoding = "UTF-8"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+202 Bytes
(110%)
Frameworks/D2W/ERModernDirectToWeb/Resources/English.lproj/Localizable.strings
Binary file not shown.
Binary file modified
BIN
+414 Bytes
(120%)
Frameworks/D2W/ERModernDirectToWeb/Resources/German.lproj/Localizable.strings
Binary file not shown.
Oops, something went wrong.