-
Notifications
You must be signed in to change notification settings - Fork 2
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 #187 from SuffolkLITLab/templates_html_2
Replicates, I believe, the original templates_html changes, plus more…
- Loading branch information
Showing
8 changed files
with
124 additions
and
50 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,31 @@ | ||
a span.pdcaretopen { | ||
/* TODO: Abstract styles that are shared by both collapse and display templates */ | ||
|
||
.al_collapse_template, | ||
.al_display_template { | ||
padding-bottom: 1rem; | ||
} | ||
|
||
.al_collapse_template .collapse, | ||
.al_display_template .collapse { | ||
margin-bottom: 1rem; | ||
} | ||
|
||
.al_collapse_template a span.pdcaretopen, | ||
.al_display_template a span.pdcaretopen { | ||
display: inline; | ||
} | ||
|
||
a span.pdcaretclosed { | ||
.al_collapse_template a span.pdcaretclosed, | ||
.al_display_template a span.pdcaretclosed { | ||
display: none; | ||
} | ||
|
||
a.collapsed .pdcaretopen { | ||
.al_collapse_template a.collapsed .pdcaretopen, | ||
.al_display_template a.collapsed .pdcaretopen { | ||
display: none; | ||
} | ||
|
||
a.collapsed .pdcaretclosed { | ||
.al_collapse_template a.collapsed .pdcaretclosed, | ||
.al_display_template a.collapsed .pdcaretclosed { | ||
display: inline; | ||
} | ||
|
||
.collapse { | ||
margin-bottom: 1rem; | ||
} |
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 |
---|---|---|
@@ -1,22 +1,31 @@ | ||
.scrollable-panel{ | ||
height:200px; | ||
.al_display_template.scrollable-panel, | ||
.al_display_template.not-scrollable, | ||
.al_display_template .scrollable-panel, | ||
.al_display_template .not-scrollable { | ||
margin-bottom: 0.5rem; | ||
} | ||
|
||
.al_display_template.scrollable-panel, | ||
.al_display_template .scrollable-panel { | ||
max-height:200px; | ||
overflow-y:scroll; | ||
width:100%; | ||
} | ||
|
||
/* For expansion of the copy_button_html() function*/ | ||
textarea { | ||
.al_display_template textarea { | ||
width: 100%; | ||
/*The following rule takes effect only with the inline onmouseover event generated in | ||
display_template() for a specific scenario */ | ||
overflow: hidden; | ||
} | ||
|
||
/* These should really start with `.al_display_template `, as they're in the display_template.css file, but I'm afraid I'll break things elsewhere. */ | ||
.al_copy_block { | ||
display: block; | ||
margin-top: 0.5rem; | ||
} | ||
|
||
.al_copy_button span { | ||
display: inline-block; | ||
} | ||
.scrollable-panel, .not-scrollable { | ||
margin-bottom: 0.5rem; | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
try: | ||
__import__('pkg_resources').declare_namespace(__name__) | ||
except ImportError: | ||
__path__ = __import__('pkgutil').extend_path(__path__, __name__) | ||
__import__('pkg_resources').declare_namespace(__name__) | ||
|
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 |
---|---|---|
|
@@ -46,15 +46,15 @@ def find_package_data(where='.', package='', exclude=standard_exclude, exclude_d | |
setup(name='docassemble.ALToolbox', | ||
version='0.8.2', | ||
description=('Collection of small utility functions, classes, and web components for Docassemble interviews'), | ||
long_description='# ALToolbox\r\n\r\n[![PyPI version](https://badge.fury.io/py/docassemble-ALToolbox.svg)](https://badge.fury.io/py/docassemble-ALToolbox)\r\n\r\nThis repository is used to host small Python modules, widgets, and JavaScript web components js files that enhance Docassemble interviews. These modules were\r\nbuilt as part of the Suffolk University Law School LIT Lab\'s [Document Assembly Line project](https://suffolklitlab.org/docassemble-AssemblyLine-documentation/).\r\nThey are placed here\r\nrather than in https://github.com/SuffolkLitLab/docassemble-AssemblyLine because we believe these small components can easily be used\r\nby anyone, regardless of whether they use any other code from the Document Assembly Line project.\r\n\r\nIf you want to add a small fuction to this project, consider adding it to the existing misc.py to avoid creating too many module files.\r\n\r\n## Documentation\r\n\r\nRead the [documentation for the functions and components](https://suffolklitlab.org/docassemble-AssemblyLine-documentation/docs/framework/altoolbox) to learn\r\nhow to use these components in your own [Docassemble](https://github.com/jhpyle/docassemble) projects.\r\n\r\n## Suffolk LIT Lab Document Assembly Line\r\n\r\n<img src="https://user-images.githubusercontent.com/7645641/142245862-c2eb02ab-3090-4e97-9653-bb700bf4c54d.png" alt="drawing" width="300" alt="work together" style="align: center;"/>\r\n\r\nThe Assembly Line Project is a collection of volunteers, students, and institutions who joined together\r\nduring the COVID-19 pandemic to help increase access to the court system. Our vision is mobile-friendly,\r\neasy to use **guided** online forms that help empower litigants to access the court remotely.\r\n\r\nOur signature project is [CourtFormsOnline.org](https://courtformsonline.org).\r\n\r\nWe designed a step-by-step, assembly line style process for automating court forms on top of Docassemble\r\nand built several tools along the way that **you** can use in your home jurisdiction.\r\n\r\nThis package contains **runtime code** and **pre-written questions** to support authoring robust, \r\nconsistent, and attractive Docassemble interviews that help complete court forms.\r\n\r\nRead more on our [documentation page](https://suffolklitlab.org/docassemble-AssemblyLine-documentation/).\r\n\r\n\r\n# Related repositories\r\n\r\n* https://github.com/SuffolkLitLab/docassemble-AssemblyLine\r\n* https://github.com/SuffolkLitLab/docassemble-ALWeaver\r\n* https://github.com/SuffolkLitLab/docassemble-ALMassachusetts\r\n* https://github.com/SuffolkLitLab/docassemble-MassAccess\r\n* https://github.com/SuffolkLitLab/docassemble-ALThemeTemplate\r\n* https://github.com/SuffolkLitLab/EfileProxyServer\r\n\r\n## Contributors:\r\n* @plocket \r\n* @nonprofittechy\r\n* @purplesky2016\r\n* @brycestevenwilley\r\n', | ||
long_description='# ALToolbox\r\n\r\n[![PyPI version](https://badge.fury.io/py/docassemble-ALToolbox.svg)](https://badge.fury.io/py/docassemble-ALToolbox)\r\n\r\nThis repository is used to host small Python modules, widgets, and JavaScript web components js files that enhance Docassemble interviews. These modules were\r\nbuilt as part of the Suffolk University Law School LIT Lab\'s [Document Assembly Line project](https://suffolklitlab.org/docassemble-AssemblyLine-documentation/).\r\nThey are placed here\r\nrather than in https://github.com/SuffolkLitLab/docassemble-AssemblyLine because we believe these small components can easily be used\r\nby anyone, regardless of whether they use any other code from the Document Assembly Line project.\r\n\r\nIf you want to add a small function to this project, consider adding it to the existing misc.py to avoid creating too many module files.\r\n\r\n## Documentation\r\n\r\nRead the [documentation for the functions and components](https://suffolklitlab.org/docassemble-AssemblyLine-documentation/docs/framework/altoolbox) to learn\r\nhow to use these components in your own [Docassemble](https://github.com/jhpyle/docassemble) projects.\r\n\r\n## Suffolk LIT Lab Document Assembly Line\r\n\r\n<img src="https://user-images.githubusercontent.com/7645641/142245862-c2eb02ab-3090-4e97-9653-bb700bf4c54d.png" alt="drawing of people working together on a website UI" width="300" style="align: center;"/>\r\n\r\nThe Assembly Line Project is a collection of volunteers, students, and institutions who joined together\r\nduring the COVID-19 pandemic to help increase access to the court system. Our vision is mobile-friendly,\r\neasy to use **guided** online forms that help empower litigants to access the court remotely.\r\n\r\nOur signature project is [CourtFormsOnline.org](https://courtformsonline.org).\r\n\r\nWe designed a step-by-step, assembly line style process for automating court forms on top of Docassemble\r\nand built several tools along the way that **you** can use in your home jurisdiction.\r\n\r\nThis package contains **runtime code** and **pre-written questions** to support authoring robust, \r\nconsistent, and attractive Docassemble interviews that help complete court forms.\r\n\r\nRead more on our [documentation page](https://suffolklitlab.org/docassemble-AssemblyLine-documentation/).\r\n\r\n\r\n## Related repositories\r\n\r\n* https://github.com/SuffolkLitLab/docassemble-AssemblyLine\r\n* https://github.com/SuffolkLitLab/docassemble-ALWeaver\r\n* https://github.com/SuffolkLitLab/docassemble-ALMassachusetts\r\n* https://github.com/SuffolkLitLab/docassemble-MassAccess\r\n* https://github.com/SuffolkLitLab/docassemble-ALThemeTemplate\r\n* https://github.com/SuffolkLitLab/EfileProxyServer\r\n\r\n## Contributors:\r\n* @plocket \r\n* @nonprofittechy\r\n* @purplesky2016\r\n* @brycestevenwilley\r\n', | ||
long_description_content_type='text/markdown', | ||
author='AssemblyLine', | ||
author_email='[email protected]', | ||
license='The MIT License (MIT)', | ||
url='https://suffolklitlab.org/docassemble-AssemblyLine-documentation/docs/framework/altoolbox', | ||
packages=find_packages(), | ||
namespace_packages=['docassemble'], | ||
install_requires=['holidays>=0.14.2', 'pandas>=1.4.2'], | ||
install_requires=['holidays>=0.27.1', 'pandas>=1.5.3'], | ||
zip_safe=False, | ||
package_data=find_package_data(where='docassemble/ALToolbox/', package='docassemble.ALToolbox'), | ||
) | ||
|