Permalink
Browse files

DS-1017: XMLUI mobile theme - initial contribution

  • Loading branch information...
1 parent 97580ee commit 449c7f9dd9eb3636e7b39fae5e6d175fb3bb0c14 @etzoc etzoc committed with Sep 14, 2012
Showing with 2,669 additions and 0 deletions.
  1. +2 −0 dspace-xmlui/dspace-xmlui-webapp/pom.xml
  2. +12 −0 dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/i18n/messages.xml
  3. +47 −0 dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/mobile/lib/cookies.js
  4. +24 −0 dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/mobile/lib/detectmobile.LICENSE
  5. +15 −0 dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/mobile/lib/detectmobile.js
  6. BIN dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/mobile/lib/images/ajax-loader.gif
  7. BIN dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/mobile/lib/images/default-thumbnail.png
  8. BIN dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/mobile/lib/images/icons-18-black.png
  9. BIN dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/mobile/lib/images/icons-18-white.png
  10. BIN dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/mobile/lib/images/icons-36-black.png
  11. BIN dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/mobile/lib/images/icons-36-white.png
  12. +329 −0 dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/mobile/lib/m-tweaks.css
  13. +21 −0 dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/mobile/lib/sc-mobile.LICENSE
  14. +1,193 −0 dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/mobile/lib/sc-mobile.css
  15. +14 −0 dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/mobile/lib/sc-mobile.min.css
  16. +768 −0 dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/mobile/mobile.xsl
  17. +83 −0 dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/mobile/readme.txt
  18. +96 −0 dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/mobile/sitemap.xmap
  19. +61 −0 dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/mobile/themes.xmap
  20. +4 −0 dspace/config/dspace.cfg
@@ -60,6 +60,8 @@
<exclude>**/jquery*</exclude>
<exclude>**/modernizr*</exclude>
<exclude>**/DD_belated*</exclude>
+ <exclude>**/detectmobile*</exclude>
+ <exclude>**/sc-mobile*</exclude>
</excludes>
</configuration>
</plugin>
@@ -2144,4 +2144,16 @@
<message key="xmlui.ChoiceLookupTransformer.field.dc_contributor_author.title">LC Name Authority author lookup</message>
<message key="xmlui.ChoiceLookupTransformer.field.dc_contributor_author.nonauthority">Local value "@1@" (not in Naming Authority)</message>
+ <!-- mobile theme -->
+ <message key="xmlui.mobile.home_mobile">DSpace Mobile</message>
+ <message key="xmlui.mobile.search_all">Search ALL</message>
+ <message key="xmlui.mobile.browse_all">Browse ALL by</message>
+ <message key="xmlui.mobile.browse_date">Date</message>
+ <message key="xmlui.mobile.browse_author">Author</message>
+ <message key="xmlui.mobile.browse_title">Title</message>
+ <message key="xmlui.mobile.browse_subject">Subject</message>
+ <message key="xmlui.mobile.related_google_scholar">Related</message>
+ <message key="xmlui.mobile.items_in_google_scholar">Items in Google Scholar</message>
+ <message key="xmlui.mobile.download">Download</message>
+
</catalogue>
@@ -0,0 +1,47 @@
+/*
+ * The contents of this file are subject to the license and copyright
+ * detailed in the LICENSE and NOTICE files at the root of the source
+ * tree and available online at
+ *
+ * http://www.dspace.org/license/
+ */
+/*
+
+ File created by James Russell
+
+ cookies.js
+ Mobile theme for DSpace 1.6
+ Last update by James Russell <james@ohiolink.edu>
+ September 12, 2012
+*/
+
+function createCookie(name,value,days,domain) {
+ if (days) {
+ var date = new Date();
+ date.setTime(date.getTime()+(days*24*60*60*1000));
+ var expires = "; expires="+date.toGMTString();
+ }
+ else var expires = "";
+ if (domain) {
+ domain = "; domain="+domain;
+ }
+ else {
+ domain = "";
+ }
+ document.cookie = name+"="+value+domain+expires+"; path=/";
+}
+
+function readCookie(name) {
+ var nameEQ = name + "=";
+ var ca = document.cookie.split(';');
+ for(var i=0;i < ca.length;i++) {
+ var c = ca[i];
+ while (c.charAt(0)==' ') c = c.substring(1,c.length);
+ if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
+ }
+ return null;
+}
+
+function eraseCookie(name) {
+ createCookie(name,"",-1);
+}
@@ -0,0 +1,24 @@
+This is free and unencumbered software released into the public domain.
+
+Anyone is free to copy, modify, publish, use, compile, sell, or
+distribute this software, either in source code form or as a compiled
+binary, for any purpose, commercial or non-commercial, and by any
+means.
+
+In jurisdictions that recognize copyright laws, the author or authors
+of this software dedicate any and all copyright interest in the
+software to the public domain. We make this dedication for the benefit
+of the public at large and to the detriment of our heirs and
+successors. We intend this dedication to be an overt act of
+relinquishment in perpetuity of all present and future rights to this
+software under copyright law.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
+
+For more information, please refer to <http://unlicense.org/>

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.

0 comments on commit 449c7f9

Please sign in to comment.