Zine

open source content publishing system


Changeset 1376:3bdf6f1a3eab


Ignore:
Timestamp:
06/18/10 20:24:20 (2 years ago)
Author:
mitsuhiko
Branch:
default
Message:

Switched to HTML5 and fixed a few template annoyances.

Location:
zine
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • zine/plugins/miniblog_theme/templates/layout.html

    r1028 r1376  
    1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 
    2   "http://www.w3.org/TR/html4/strict.dtd"> 
     1<!doctype html> 
    32<html lang="{{ cfg.language|e }}"> 
    43<head> 
  • zine/plugins/myrtle_theme/templates/layout.html

    r1028 r1376  
    1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 
    2   "http://www.w3.org/TR/html4/strict.dtd"> 
     1<!doctype html> 
    32<html lang="{{ cfg.language|e }}"> 
    43<head> 
  • zine/plugins/vessel_theme/templates/layout.html

    r1028 r1376  
    1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 
    2   "http://www.w3.org/TR/html4/strict.dtd"> 
     1<!doctype html> 
    32<html lang="{{ cfg.language|e }}"> 
    43<head> 
  • zine/shared/admin/style.css

    r1309 r1376  
    55    font-size: 15px; 
    66    background-color: #316081; 
     7} 
     8 
     9body:after { /* fix for chrome bug */ 
     10    content: ""; 
     11    display: block; 
     12    position: absolute; 
     13    height: 100%; 
     14    width: 1px; 
     15    top: 0; 
     16    left: 0; 
    717} 
    818 
     
    212222} 
    213223 
     224div.contents h1 a { 
     225    font-family: 'Trebuchet MS', sans-serif; 
     226    font-size: 15px; 
     227    margin: 5px 10px 0 0; 
     228    float: right; 
     229} 
     230 
    214231div.contents h2 { 
    215232    color: #222e4b; 
  • zine/templates/admin/edit_entry.html

    r1202 r1376  
    55  endif %}&#8203;{{ title_suffix }}{% endblock %} 
    66{% block contents %} 
    7   <h1>{{ self.title() }}</h1> 
     7  <h1>{{ self.title() }}{% if not form.new %} <a href="{{ url_for(form.post) 
     8    }}" class="preview">{{ _("View Entry") }}</a>{% endif %}</h1> 
    89  {% if form.preview %} 
    910    <div class="preview" id="preview"> 
  • zine/templates/admin/edit_page.html

    r1202 r1376  
    1313    </div> 
    1414  {% endif %} 
    15   <h1>{{ self.title() }}</h1> 
     15  <h1>{{ self.title() }}{% if not form.new %} <a href="{{ url_for(form.post) 
     16    }}" class="preview">{{ _("View Page") }}</a>{% endif %}</h1> 
    1617  <a name="form_start" /></a> 
    1718  {% call form(id="post_form") %} 
  • zine/templates/admin/layout.html

    r1294 r1376  
    1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 
    2   "http://www.w3.org/TR/html4/strict.dtd"> 
     1<!doctype html> 
    32<html> 
    43<head> 
  • zine/templates/maintenance.html

    r1318 r1376  
    1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 
    2   "http://www.w3.org/TR/html4/strict.dtd"> 
     1<!doctype html> 
    32<html> 
    43<head> 
  • zine/websetup/templates/layout.html

    r1341 r1376  
    1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 
    2   "http://www.w3.org/TR/html4/strict.dtd"> 
     1<!doctype html> 
    32<html> 
    43<head> 
Note: See TracChangeset for help on using the changeset viewer.