示例#1
0
# -*- coding: utf-8 -*-
import os
from pydozer import Page

index_page = Page()
index_page.data['filename'] = os.path.basename(__file__).replace('.pyc',
                                                                 '').replace(
                                                                     '.py', '')

index_page.data['title'] = "Network Sanitation Committee - Clean up the Net"
index_page.data['is_home'] = True
index_page.data['banner'] = """
                            <div id="banner">
                                <section>
                                    <h2>We're the Network Sanitation Committee</h2>
                                    <p>We make simple, clean software services.</p>
                                </section>
                            </div>
"""
index_page.data['content'] = """
                        <div class="row">
                            <div class="12u">

                                <!-- Intro -->
                                    <section id="intro">
                                        <div class="row">
                                            <div class="4u 12u(mobile)">
                                                <section class="first">
                                                    <span class="pennant"><span class="icon fa-phone-square"></span></span>
                                                    <h3><a href="https://phonejanitor.com/?origin_tag=nsc_cta">Phone Janitor</a></h3>
                                                    <p>A phone number you control, built to make calls happy again.</p>
示例#2
0
文件: about.py 项目: todpunk/nsc-site
# -*- coding: utf-8 -*-
import os
from pydozer import Page

about_page = Page()
about_page.data['filename'] = os.path.basename(__file__).replace('.pyc',
                                                                 '').replace(
                                                                     '.py', '')

about_page.data['title'] = "Network Sanitation Committee - About"
about_page.data['is_home'] = False
about_page.data['content'] = """
                        <div class="row">
                            <div class="12u">

                                <!-- Intro -->
                                    <section id="intro">
                                        <div class="row">
                                            <div class="12u">
                                                <p>NSC was started with a single motivation: Make simple tools for managing the way we communicate every day.  We understand that the issue with today's technology and media is a lack of options for consumers to control the way they are contacted.</p>
                                                <p>We've started making things better for everyone with <a href="https://phonejanitor.com/">Phone Janitor</a>, a service that gives you all the power of a personal receptionist.  Remember as a kid when you were excited to answer the phone, maybe even competing with siblings to pick up?  Well, now we have that feeling as adults.</p>
                                                <p>We have other projects in the works.  Feel free to email us at <a href="mailto:[email protected]">[email protected]</a> and let us know what your ideas are.  <a href="https://phonejanitor.com/app/#signup">Sign up</a> for service to improve your own life, and help us further development to make the web actually better, for you and everyone else.</p>
                                            </div>
                                        </div>
                                    </section>
                            </div>
                        </div>
"""
示例#3
0
文件: index.py 项目: todpunk/tnl-site
# -*- coding: utf-8 -*-
import os
from pydozer import Page

index_page = Page()
index_page.data['filename'] = os.path.basename(__file__).replace('.pyc', '').replace('.py', '')

index_page.data['title'] = "Tod and Lorna .com - Home"
index_page.data['is_home'] = True
index_page.data['content'] = """
                            <section id="one">
                                <div class="container">
                                    <header class="major">
                                        <h2>Tod and Lorna .com</h2>
                                        <p>Our (mostly Tod's) playground</p>
                                    </header>
                                    <p>If you have comments of things you'd like to see, feel free to drop us a line.  You can comment to either of us by emailing Tod or Lorna -atatatat- todandlorna.com  Until then, <a href="http://widget.mibbit.com/?settings=87cc27616662d1ec2bbc375e07dbab13&server=irc.esper.net&channel=%23todandlorna" target=_blank>get on IRC</a> and chat with the community!</p>
                                    <p>Tod's latest resume:  <a href="https://onedrive.live.com/redir?resid=4FA0F7B30127438B!3428&authkey=!AODFUYiBmfRP7PA&ithint=file%2c.pdf">PDF</a>&nbsp;&nbsp;&nbsp;<a href="https://onedrive.live.com/redir?resid=4FA0F7B30127438B!3426&authkey=!AKZtHFzUjMSu7X4&ithint=file%2c.docx">Word2013</a>
                                </div>
                            </section>
"""
示例#4
0
文件: test.py 项目: todpunk/pydozer
# -*- coding: utf-8 -*-
import os
from pydozer import Page

test_page = Page()
test_page.data['filename'] = os.path.basename(__file__).replace('.pyc', '').replace('.py', '')

test_page.data['title'] = "Test Page"
test_page.data['extra_headers'] = """
    <link rel="stylesheet" href="extra.css" type="text/css" />
    <script type="text/javascript" src="extra.js"></script>
"""
test_page.data['content'] = """
    <p>This should be the second test page.  Check it out!</p> <img src="/zips.gif" />
"""
示例#5
0
# -*- coding: utf-8 -*-
import os
from pydozer import Page

index_page = Page()
index_page.data['filename'] = os.path.basename(__file__).replace('.pyc', '').replace('.py', '')

index_page.data['title'] = "Blunt Consultants - Solving Problems Faster, Leaving The Flashy Bits At Home"
index_page.data['is_home'] = True
index_page.data['content'] = """
        <!-- One -->
            <section id="one" class="wrapper style2 special">
                <header class="major">
                    <h2>We're busy. Maybe you are too.<br />
                    If you needs us, and can pay us,<br />
                    we might help you solve some issues.<br />
                    Just don't expect fanfare.</h2>
                </header>
                <p><a href="https://phonejanitor.com"><span class="icon fa-phone">&nbsp;</span>We're focused on Phone Janitor</a></p>
                <p>But we sometimes have cycles to spare now and then. That's how our talent works.</p>
            </section>

        <!-- Two -->
            <section id="two" class="wrapper">
                <div class="inner alt">
                    <section class="spotlight">
                        <div class="content">
                            <h3>We architect and we code.</h3>
                            <p>We're not interested in doing anything else for you.  If you want to know how to do your software project right, we can tell you.  Professionally and directly as possible.  You'll feel comfortable that it's the truth because we'll have no stake in it otherwise.</p>
                        </div>
                    </section>
示例#6
0
文件: about.py 项目: todpunk/nsc-site
# -*- coding: utf-8 -*-
import os
from pydozer import Page

about_page = Page()
about_page.data['filename'] = os.path.basename(__file__).replace('.pyc', '').replace('.py', '')

about_page.data['title'] = "Network Sanitation Committee - About"
about_page.data['is_home'] = False
about_page.data['content'] = """
                        <div class="row">
                            <div class="12u">

                                <!-- Intro -->
                                    <section id="intro">
                                        <div class="row">
                                            <div class="12u">
                                                <p>NSC was started with a single motivation: Make simple tools for managing the way we communicate every day.  We understand that the issue with today's technology and media is a lack of options for consumers to control the way they are contacted.</p>
                                                <p>We've started making things better for everyone with <a href="https://phonejanitor.com/">Phone Janitor</a>, a service that gives you all the power of a personal receptionist.  Remember as a kid when you were excited to answer the phone, maybe even competing with siblings to pick up?  Well, now we have that feeling as adults.</p>
                                                <p>We have other projects in the works.  Feel free to email us at <a href="mailto:[email protected]">[email protected]</a> and let us know what your ideas are.  <a href="https://phonejanitor.com/app/#signup">Sign up</a> for service to improve your own life, and help us further development to make the web actually better, for you and everyone else.</p>
                                            </div>
                                        </div>
                                    </section>
                            </div>
                        </div>
"""
示例#7
0
文件: index.py 项目: todpunk/pydozer
# -*- coding: utf-8 -*-
import os
from pydozer import Page
from test import test_page

index_page = Page()
index_page.data['filename'] = os.path.basename(__file__).replace('.pyc', '').replace('.py', '')

index_page.data['title'] = "Welcome to This Land"
index_page.data['content'] = """
    <p>This should be the main page.  Check it out!</p>
    <p>Linking to <a href="%s.html">Test</a> and <a href="%s">the blog listing</a></p>
""" % (test_page.data['filename'], '/blog/listing1.html')
示例#8
0
文件: index.py 项目: todpunk/nsc-site
# -*- coding: utf-8 -*-
import os
from pydozer import Page

index_page = Page()
index_page.data['filename'] = os.path.basename(__file__).replace('.pyc', '').replace('.py', '')

index_page.data['title'] = "Network Sanitation Committee - Clean up the Net"
index_page.data['is_home'] = True
index_page.data['banner'] = """
                            <div id="banner">
                                <section>
                                    <h2>We're the Network Sanitation Committee</h2>
                                    <p>We make simple, clean software services.</p>
                                </section>
                            </div>
"""
index_page.data['content'] = """
                        <div class="row">
                            <div class="12u">

                                <!-- Intro -->
                                    <section id="intro">
                                        <div class="row">
                                            <div class="4u 12u(mobile)">
                                                <section class="first">
                                                    <span class="pennant"><span class="icon fa-phone-square"></span></span>
                                                    <h3><a href="https://phonejanitor.com/?origin_tag=nsc_cta">Phone Janitor</a></h3>
                                                    <p>A phone number you control, built to make calls happy again.</p>
                                                </section>
                                            </div>