Commit graph

722 commits

Author SHA1 Message Date
mb863
6196d46d60 Worked on styling login widget for Wilma theme 2010-11-19 20:54:16 +00:00
mb863
a3b8550e29 Fixed login widget for vivo-basic 2010-11-19 14:52:41 +00:00
rjy7
ca76cfa4bd Fixes to variable dump. 2010-11-18 23:30:35 +00:00
mb863
d4c96c6ba9 vivo-basic wasn't rendering property. Now It is fixed. 2010-11-18 18:50:52 +00:00
rjy7
4a3bc7d092 Added ${url.base} to template model so templates can build urls. Modified templates accordingly to replace ${url.home} with {$url.base}. Also replaced ${url.base}/images with ${url.images}. Added scripts and stylesheets to personHasEducationalTraining.ftl. 2010-11-18 00:46:04 +00:00
mb863
239c38b3c3 NIHVIVO-1361: clean up, added login.css to stylesheets.ftl 2010-11-17 23:16:59 +00:00
jeb228
37c9eaf4a1 NIHVIVO-1207 Rename Shibboleth servlets to more general ExternalAuth servlets. Add functionality to deal with self-editors as well as Users. 2010-11-17 19:25:55 +00:00
bdc34
0b2dc61fbe Working on custom forms in freemarker. 2010-11-17 17:40:04 +00:00
mb863
831d2209e9 NIHVIVO-634: Added aria roles for accessibility 2010-11-17 15:11:54 +00:00
mb863
a09564f454 NIHVIVO-641: Added aria roles for accessibility 2010-11-17 15:11:28 +00:00
mb863
bf5f121cd7 NIHVIVO-653: Styled revisionInfo.ftl page and added accessibility. 2010-11-17 15:08:49 +00:00
yuysun
c0e39512a8 Update siteadmin advancedDataTools 2010-11-17 14:06:59 +00:00
rjy7
174c548b27 NIHVIVO-151. Display the DisplayMessage on the next page loaded. Clear the message from the session. Added sample display markup to page templates. 2010-11-16 19:09:03 +00:00
rjy7
2b2d522f45 Change from boolean requiresLogin() to requiresLoginLevel() so that pages can require a specific login level. Remove login level checks from Freemarker controllers and handle using requiresLoginLevel() instead. If a user is already logged in and navigates or gets redirected to login page, show a message instead of a blank page. 2010-11-16 16:53:50 +00:00
rjy7
82581dc043 Remove login template include from siteAdmin page, since login now moved to its own page 2010-11-16 16:12:48 +00:00
rjy7
252edbe863 Use login widget on login page. 2010-11-16 14:44:01 +00:00
rjy7
2973ceebf2 NIHVIVO-1296 Integrate login functionality into login widget. 2010-11-15 22:17:20 +00:00
rjy7
d53a900e11 NIHVIVO-304 TestWidget demonstrates the use of different markup macros based on Java logic. 2010-11-15 02:22:37 +00:00
rjy7
8a49574f7e NIHVIVO-1304 Rewrote widget framework to support a single template per widget, with multiple macros in each template file. 2010-11-15 02:11:08 +00:00
mb863
4f62fe72f1 NIHVIVO-653: Styled revisionInfo.ftl. 2010-11-12 22:00:51 +00:00
mb863
a9cd4a489d NIHVIO-556: Undo the fix I did for expanding the width of the intro text for What is VIVO? in homepage 2010-11-12 18:57:13 +00:00
rjy7
70e116c8bb NIHVIVO-1304 Refactoring of widget code based on Brian Caruso's code review. 2010-11-12 18:02:06 +00:00
rjy7
7ad822efce NIHVIVO-1304 Allow a widget assets template to be absent without generating an error. 2010-11-11 01:19:56 +00:00
rjy7
8dc645cfb6 NIHVIVO-1304 Initial implementation of Widget directive. Requires two templates, one for assets and one for markup; would like to combine into a single template with two macros instead. 2010-11-10 19:50:28 +00:00
mb863
3eed766716 NIHVIVO-1315: Created temporary freemarker template for individual with generic classes. Once I have the controller ready I will wire data from the controller to the body template. 2010-11-09 21:55:29 +00:00
mb863
a564987e3c NIHVIVO-1316: Created temporary freemarker template. Once I have the controller ready I will wire data from the controller to the body template. 2010-11-09 21:54:32 +00:00
rjy7
e940ebc379 NIHVIVO-1304 Make request and context accessible through the Environment object so directives can reference them. 2010-11-09 17:12:10 +00:00
mb863
7f62ea5087 NIHVIVO-556. Organized html header elements. 2010-11-08 18:08:40 +00:00
bdc34
0028509f63 Fixed problem that was causing error on individual profile page when logged in. 2010-11-05 21:49:15 +00:00
mb863
594ebeda22 NIHVIVO-556: Temporary fix for not showing log-in widget after users log-in. I forgot I can't in Textmate commit files from VITRO and VIVO at the same time. That's why I am commiting this file. 2010-11-05 19:29:27 +00:00
mb863
d22657b1c8 Converted tab to spaces 2010-11-04 13:50:14 +00:00
mb863
125dcc3014 NIHVIVO-1073. Viz image placeholder wasn't rendering properly. Changed image path. 2010-11-03 21:20:15 +00:00
mb863
b3d84103a1 NIHVIVO-1074: Added semantic markup to menupage--classgroup-people.ftl (work in progress). Clean up css for menupage.css too. 2010-11-03 20:56:58 +00:00
rjy7
a7a5c821fb Combine addition of scripts and stylesheets into a single macro in the login widget 2010-11-03 02:26:48 +00:00
mb863
b1567facdc NIHVIVO-634: Deleted unnecessary <section> tag, and added proper code indentation. 2010-11-02 21:15:32 +00:00
mb863
57292e651d NIHVIVO-634: Created menupage.ftl (work in progress). 2010-11-02 20:53:45 +00:00
rjy7
c0d24139dc A new approach to widgets, that will allow them to be invoked directly from a page template, rather than a body template, but still add files to the template stylesheets and scripts objects. 2010-10-29 19:12:40 +00:00
rjy7
c178c8d922 NIHVIVO-1297 Undid the effects of revision 6246. This was a mistake, since including the body template from the page template rather than pregenerating the body string doesn't allow the addition of stylesheet tags to the page head. 2010-10-29 16:44:29 +00:00
rjy7
0bbe23a7fa NIHVIVO-1293 Corrected typo in variable name to show classgroup limitation on search results. Also added search.css from vivo-basic, as a temporary measure to format search results. 2010-10-28 20:16:15 +00:00
jeb228
ce99295729 Change the name of the loginName template variable to "username" so it doesn't conflict with the variable already in use in the footer. 2010-10-27 20:21:42 +00:00
jeb228
a7a083c7b3 NIHVIVO-1230 NIHVIVO-1231 Example implementation of the Freemarker templates to show revision info. 2010-10-27 19:57:57 +00:00
rjy7
9941cb206e NIHVIVO-1230 Added a comment 2010-10-27 15:00:57 +00:00
rjy7
9b3ac410c2 NIHVIVO-1230 Added stub for version info in FreemarkerHttpServlet and templates 2010-10-27 14:51:50 +00:00
nac26
a1e27c5935 added login FreemarkerComponentGenerator for use in JSPs as we work on the transition to freemarker 2010-10-27 13:13:27 +00:00
rjy7
df3a3dd1c7 NIHVIVO-1234 Removed separation of body and root maps in Freemarker controllers. Combine everything into one map, which includes the name of the body template also, to be invoked from the page template. Simplifies the logic considerably, in both controllers and templates, and allows the template author to dump the name of the body template rather than having to inspect the controller code. 2010-10-27 01:27:52 +00:00
nac26
e5a69d30c5 changed div targeted for back to top so this will work for both vivo-basic and wilma (this is only temporary) 2010-10-26 17:12:44 +00:00
mb863
f4a5fadde9 Deleted unnecessary end p tag 2010-10-25 18:11:49 +00:00
rjy7
3a0feaeff2 NIHVIVO-1234 Initial version of HomePageController and templates 2010-10-22 21:39:14 +00:00
jeb228
66559f58ab NIHVIVO-736 Modify JSPs to use the <vitro:confirmLoginStatus> custom JSP tag. 2010-10-14 19:10:21 +00:00
jeb228
18de61ca20 NIHVIVO-736 transitioning from LoginFormBean to LoginStatusBean. 2010-10-13 20:46:41 +00:00