Skip to content

uit-no-old/uitmal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Starting Point for UiT Web Page / Application Template
------------------------------------------------------

Based on https://uit.no/utdanning and https://uit.no/tmu

You can open page.html in your browser to see what the page will look
like.


Using the Templates
-------------------

All templates are combined in page.html. To use them in your project
you have to cut this file into pieces and make some minor
modifications to fit your template system.

* Copy the css and images directories to your project's static files
  directory.

* Cut page.html into header, navbar, banner and footer (the start of
  each is marked with "template: header" etc.) and put them in your
  template directory.

* Create a page template which includes the tempaltes. Django example::

    {% include 'header.html' %}
    {% include 'navbar.html' %}
    {# banner.html can be included her #}

    {% block content %}
    {% endblock %}

    {% if debug %}
      {% include 'debug.html' %}
    {% endif %}

    {% include 'footer.html' %}

* Change all variables to the syntax of your template engine. For example
  for Smarty change '{{ title }}' to '{$title}'.

* Replace links to index.php, hjelp.php and about.php with pages in
  your application.

About

Template for UiT web pages / applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published