Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

124 lines (112 sloc) 5.445 kb
<!DOCTYPE html>
<link rel="stylesheet" type="text/css" href="{% module LocalCopy('/css/app.css') %}" />
<script type="text/javascript"
src="{% module LocalCopy('/js/sockjs.js') %}"></script>
<script type="text/javascript"
src="{% module LocalCopy('/js/jquery.min.js') %}"></script>
<script type="text/javascript"
src="{% module LocalCopy('/js/jquery.tmpl.js') %}"></script>
<script type="text/javascript"
src="{% module LocalCopy('/js/jquery.isotope.js') %}"></script>
<script type="text/javascript"
src="{% module LocalCopy('/js/knockout-1.2.1.js') %}"></script>
<script type="text/javascript"
src="{% module LocalCopy('/js/knockout.mapping.js') %}"></script>
<link rel="icon" type="image/png" href="/static/favicon.ico" />
<script type="text/javascript">
settings = {
io: {
host: 'http://' + window.location.hostname + ':{{ socket_port }}/{{ socket_handler }}'
<div id="wrapper" class="cf">
<nav class="screens">
<div class="list-holder">
<ul data-bind="template: { name: 'window-inactive-list', foreach:screens}"></ul>
<a href="#" class="icon" id="showAddScreen" data-bind="click: app.addScreen">Add new screen</a>
<a href="#" class="icon" id="showSettings">Settings</a>
<!-- screen item template -->
<script id="window-inactive-list" type="text/html">
{% raw '{{' %}if $data.isActive(){% raw '}}' %}
<li class="active">
<span class="holder">
<a href="#" data-bind="text: $"></a>
{% raw '{{' %}else{% raw '}}' %}
<span class="holder">
{% raw '{{' %}if $data.isNotDefault(){% raw '}}' %}
<a class="icon delete" href="#" data-bind="click: $data.remove">Delete</a>
<a class="icon toggle" href="#" data-bind="click: function(event) { $data.setRenameForm($( }">Rename</a>
{% raw '{{' %}/if{% raw '}}' %}
<a href="#" data-bind="text: $, click: $data.setActive"></a>
{% raw '{{' %}/if{% raw '}}' %}
<!-- end screen item -->
<section id="log-holder" class="cf" data-bind="template: { name:'window', foreach:logs}">
<div class="item" id="log-form-holder" data-bind="template: 'addLog'" data-hidden="visible"></div>
<!-- log item template -->
<script id="window" type="text/html">
<div class="item" data-bind="attr: {'data-hidden' : $data.setHiddenState() }">
<div class="inner-holder">
<div class="header-holder">
<h5 data-bind="text: $data.src"></h5>
<a href="#" class="icon delete" data-bind="click: $data.remove">X</a>
<div class="body" data-bind="template: { name: 'message-item', foreach: $data.messages }"></div>
<!-- end log item template -->
<!-- message template for item -->
<script id="message-item" type="text/html">
<span data-bind="text: $data"></span>
<!-- end message template -->
<!-- add log form template -->
<script id="addLog" type="text/html">
<div class="inner-holder">
<form data-bind="submit: app.sendFollowLogReguest">
<input type="text" id="log-name" placeholder="add log..." />
<!-- end add log form template -->
<!-- ------------------- -->
<!-- forms -->
<!-- ------------------- -->
<div class="form-holder simple" id="screen-edit-form-holder" data-bind="template: 'edit-screen-form'"></div>
<!-- edit screen form template -->
<script id="edit-screen-form" type="text/html">
<form data-bind="submit: app.renameScreen">
<input type="hidden" name="oldName" />
<label for="screen-edit-name">Rename screen:</label>
<input type="text" name="name" id="screen-edit-name"/>
<!-- end edit screen form template -->
<a href="mailto:">logfollow</a>
<script type="text/javascript" src="/static/js/app.js"></script>
<script type="text/javascript">
$(document).ready(function() {
Jump to Line
Something went wrong with that request. Please try again.