Skip to content
This repository

Templates for the UNL website, coordinated by the Web Developer Network

Merge pull request #736 from skoolbus39/wdn-promo-image

Add rem values to promo image headers
latest commit 965e5e911b
Kevin Abel kabel authored April 23, 2014
Octocat-spinner-32 .git_filters Remove _now empty_ replacement back reference April 18, 2014
Octocat-spinner-32 LICENSES update copyright for the new year January 02, 2013
Octocat-spinner-32 Templates Update all templates with dummy content for release August 01, 2013
Octocat-spinner-32 build Move composer into the build dir April 21, 2014
Octocat-spinner-32 designfiles Rename the email design to match sibling design files. March 05, 2014
Octocat-spinner-32 downloads Ignore all zips in the downloads folder August 01, 2013
Octocat-spinner-32 images Image test with various image types and presentations. June 25, 2013
Octocat-spinner-32 scripts Begin restructure of build dependencies April 18, 2014
Octocat-spinner-32 sharedcode Font and styling updates October 04, 2013
Octocat-spinner-32 tests Move composer into the build dir April 21, 2014
Octocat-spinner-32 vagrant Install composer dependencies April 21, 2014
Octocat-spinner-32 wdn Merge pull request #736 from skoolbus39/wdn-promo-image April 23, 2014
Octocat-spinner-32 .gitattributes Update the paths that get clean/smudged by git for 4.0 files. July 01, 2013
Octocat-spinner-32 .gitignore Move composer into the build dir April 21, 2014
Octocat-spinner-32 .gitmodules LESSHat repo has moved to lowercase December 10, 2013
Octocat-spinner-32 .htaccess Move utf-8 encoding to template dir, and fix extensions list October 28, 2013
Octocat-spinner-32 .travis.yml Install composer dependencies April 21, 2014
Octocat-spinner-32 Makefile Fix $(LESSC) build rule and the targets that _should_ depend on it April 18, 2014
Octocat-spinner-32 README.md Add examples for customizing the UNLchat url July 09, 2013
Octocat-spinner-32 VERSION_DEP Bumped dependency version number to 4.0.11 April 08, 2014
Octocat-spinner-32 VERSION_HTML Update build related files for 4.0 beta release July 01, 2013
Octocat-spinner-32 affiliate.shtml Update all template instances with released templates. August 01, 2013
Octocat-spinner-32 debug.shtml I didn’t find the `:visited` state color transition to be too weird, … April 07, 2014
Octocat-spinner-32 document.shtml Update all template instances with released templates. August 01, 2013
Octocat-spinner-32 fixed.shtml Update all template instances with released templates. August 01, 2013
Octocat-spinner-32 secure.shtml Update all template instances with released templates. August 01, 2013
README.md

UNL WDN Templates

The template files are developed and maintained by the Web Developer Network (WDN) at the University of Nebraska-Lincoln. These templates are made up of HTML, CSS and JS to power the underlying web presence.

Template Usage

Template usage is subject to the WDN Terms of Use.

Templates Available

All templates variations utilize the same HTML markup, with an exception of the body class, ex: class="document".

Collaboration

All members of the WDN are invited to contribute to this project. Please make a fork of the main repository for local development. Once you have created and tested your code, please send a pull request to the main repository.

Building Template Resources

Much of the template CSS and JavaScript is built using aggregators, preprocessors, and/or "minifiers". You can build a local copy of these resources with the following instructions as your guide.

The resources are built using a standard Makefile for GNU Make. The Makefile uses a few additional build dependencies that MUST be installed prior to building.

  • Git -- version control system
  • NodeJS -- used to run the libraries that process and minimize LESS and JS files

NOTE: This repository uses symlinks for certain NodeJS library binaries (lessc, r.js). Some environments do not support symlinks well. So, if you experience build issues, please attempt to globally install the following node modules from NPM (npm -g install):

  • requirejs
  • less
  • uglify-js

Once all of the above dependencies are met, simply running GNU Make make at the project root will build all resources. The following are all of the supported targets for make.

  • all - builds all needed CSS and JavaScript
  • clean - removes all built files
  • js - builds and minifies combined JS
  • less - builds all CSS files from their LESS counterparts
  • dist - builds the ZIP's used for template distribution

The JavaScript build process can be further customized by passing parameters GNU Make. The following are the flags that are supported.

EXAMPLE: Build for use in a special CDN or server location make RJS_FLAGS="wdnTemplatePath=//www.unl.edu/"

EXAMPLE: Customize the UNLchat url. Could be useful for integrating a custom instance of UNLchat or for development make RJS_FLAGS="unlChatURl=//ucommchat-test.unl.edu/assests/js"

EXAMPLE: Two or more parameters are separated with a space make RJS_FLAGS="wdnTemplatePath=//www.unl.edu/ unlChatURl=//ucommchat-test.unl.edu/assests/js"

PLEASE NOTE: The build process has been optimized for a Linux or OS X environment. While it is technically possible to build on Windows, the specifics of setting up your environment correctly are beyond the scope of this project.

Further support

Support of the UNL Templates is coordinated and communicated through the WDN.

Something went wrong with that request. Please try again.