103:b30120f476e6
Anton Shestakov <av6@dwimlabs.net>, 2016-07-20
tests: check that _rev is present in output

next change 116:1bdd61636a4c
previous change 88:108422c6a44d

templates/index.html

Permissions: -rw-r--r--

Other formats: Feeds:
0
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
<!DOCTYPE html>
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
<html>
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
<head>
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
<title>Fruit Bar Progress Tracker</title>
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
<link type="image/x-icon" href="{{ url_for('static', filename='favicon.ico') }}" rel="shortcut icon">
45
45:8e83e81fdad9 Remove trailing whitespaces.
Anton Shestakov <engored@ya.ru>
previous changes: 43:d1ff547fa61d
line | diff
84
84:11542759f9d6 templates: update Bootstrap to 3.3.6
Anton Shestakov <av6@dwimlabs.net>
previous changes: 63:0ce436bb1b0a
line | diff
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
84:11542759f9d6 templates: update Bootstrap to 3.3.6
Anton Shestakov <av6@dwimlabs.net>
previous changes: 63:0ce436bb1b0a
line | diff
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous">
0
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
<link type="text/css" href="{{ url_for('static', filename='css/custom.css') }}" rel="stylesheet">
45
45:8e83e81fdad9 Remove trailing whitespaces.
Anton Shestakov <engored@ya.ru>
previous changes: 43:d1ff547fa61d
line | diff
88
88:108422c6a44d templates: add SRI hashes for files from various CDNs
Anton Shestakov <av6@dwimlabs.net>
previous changes: 86:b421f6b113ab
line | diff
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js" integrity="sha384-rY/jv8mMhqDabXSo+UCggqKtdmBfd3qC2/KvyTDNQ6PcUJXaxK1tMepoQda4g5vB" crossorigin="anonymous"></script>
88:108422c6a44d templates: add SRI hashes for files from various CDNs
Anton Shestakov <av6@dwimlabs.net>
previous changes: 86:b421f6b113ab
line | diff
<script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js" integrity="sha384-FZY+KSLVXVyc1qAlqH9oCx1JEOlQh6iXfw3o2n3Iy32qGjXmUPWT9I0Z9e9wxYe3" crossorigin="anonymous"></script>
88:108422c6a44d templates: add SRI hashes for files from various CDNs
Anton Shestakov <av6@dwimlabs.net>
previous changes: 86:b421f6b113ab
line | diff
<script src="https://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.3.3/backbone-min.js" integrity="sha384-NNt9ocJfZhIg2c5PbM5G2a3tTaeXhEfqCHWHNB7htzaWKn8MwFkzVyGdzLA8QMX7" crossorigin="anonymous"></script>
88:108422c6a44d templates: add SRI hashes for files from various CDNs
Anton Shestakov <av6@dwimlabs.net>
previous changes: 86:b421f6b113ab
line | diff
<script src="https://cdnjs.cloudflare.com/ajax/libs/backbone-localstorage.js/1.1.16/backbone.localStorage-min.js" integrity="sha384-Zpwf6luZ5SbIxvI1RMyckS2a3b2JtJLXvGDZ5S9UsnusTN8pIvgPf+xH39Ur8+Iv" crossorigin="anonymous"></script>
84
84:11542759f9d6 templates: update Bootstrap to 3.3.6
Anton Shestakov <av6@dwimlabs.net>
previous changes: 63:0ce436bb1b0a
line | diff
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
39
39:dd75bec0598f Fix an ImminentDeprecationWarning from webassets.
Anton Shestakov <engored@ya.ru>
previous changes: 38:5d6f82b74afa
line | diff
{% assets filters='jsmin', output='bundles/fruitbar.%(version)s.js',
36
36:99923b9b338a Static files management via flask-assets.
Anton Shestakov <engored@ya.ru>
previous changes: 33:9dfe8668e7fe
line | diff
'js/backbone.shard.js',
36:99923b9b338a Static files management via flask-assets.
Anton Shestakov <engored@ya.ru>
previous changes: 33:9dfe8668e7fe
line | diff
'js/framework/models.js',
36:99923b9b338a Static files management via flask-assets.
Anton Shestakov <engored@ya.ru>
previous changes: 33:9dfe8668e7fe
line | diff
'js/framework/collections.js',
36:99923b9b338a Static files management via flask-assets.
Anton Shestakov <engored@ya.ru>
previous changes: 33:9dfe8668e7fe
line | diff
'js/framework/views/base.js',
36:99923b9b338a Static files management via flask-assets.
Anton Shestakov <engored@ya.ru>
previous changes: 33:9dfe8668e7fe
line | diff
'js/framework/views/inline.js',
43
43:d1ff547fa61d Use localStorage to remember used workspaces.
Anton Shestakov <engored@ya.ru>
previous changes: 39:dd75bec0598f
line | diff
'js/framework/views/workspaces.js',
36
36:99923b9b338a Static files management via flask-assets.
Anton Shestakov <engored@ya.ru>
previous changes: 33:9dfe8668e7fe
line | diff
'js/framework/views/projects.js',
36:99923b9b338a Static files management via flask-assets.
Anton Shestakov <engored@ya.ru>
previous changes: 33:9dfe8668e7fe
line | diff
'js/framework/views/tasks.js',
36:99923b9b338a Static files management via flask-assets.
Anton Shestakov <engored@ya.ru>
previous changes: 33:9dfe8668e7fe
line | diff
'js/framework/router.js',
36:99923b9b338a Static files management via flask-assets.
Anton Shestakov <engored@ya.ru>
previous changes: 33:9dfe8668e7fe
line | diff
'js/ui.js'
36:99923b9b338a Static files management via flask-assets.
Anton Shestakov <engored@ya.ru>
previous changes: 33:9dfe8668e7fe
line | diff
%}
36:99923b9b338a Static files management via flask-assets.
Anton Shestakov <engored@ya.ru>
previous changes: 33:9dfe8668e7fe
line | diff
<script type="text/javascript" src="{{ ASSET_URL }}"></script>
36:99923b9b338a Static files management via flask-assets.
Anton Shestakov <engored@ya.ru>
previous changes: 33:9dfe8668e7fe
line | diff
{% endassets %}
45
45:8e83e81fdad9 Remove trailing whitespaces.
Anton Shestakov <engored@ya.ru>
previous changes: 43:d1ff547fa61d
line | diff
32
32:9895c11d92e8 Type attribute in script tag is not required in html5 and defaults to text/javascript.
Anton Shestakov <engored@ya.ru>
previous changes: 14:5cf3adbb8aec
line | diff
<script>
0
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
_.extend(_.templateSettings, {
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
variable: 'data'
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
});
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
</script>
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
</head>
10
10:363ae86d0822 Simple transition for workspace change.
Anton Shestakov <engored@ya.ru>
previous changes: 7:5c5d433b3a14
line | diff
<body style="opacity: 0;">
0
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
<div class="container">
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
<div class="row">
63
63:0ce436bb1b0a somewhat better look on extra-small screens
Anton Shestakov <av6@dwimlabs.net>
previous changes: 61:ecb8269aa17f
line | diff
<div class="col-sm-2 col-xs-6 ui-sidebar text-right">
61
61:ecb8269aa17f update to Bootstrap 3
Anton Shestakov <av6@dwimlabs.net>
previous changes: 60:184e7ec942f1
line | diff
<button class="btn btn-xs btn-success btn-new-project">New project</button>
0
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
</div>
63
63:0ce436bb1b0a somewhat better look on extra-small screens
Anton Shestakov <av6@dwimlabs.net>
previous changes: 61:ecb8269aa17f
line | diff
<div class="col-sm-2 col-sm-push-8 col-xs-6 ui-sidebar">
63:0ce436bb1b0a somewhat better look on extra-small screens
Anton Shestakov <av6@dwimlabs.net>
previous changes: 61:ecb8269aa17f
line | diff
<ul class="nav nav-pills workspace-tabs">
43
43:d1ff547fa61d Use localStorage to remember used workspaces.
Anton Shestakov <engored@ya.ru>
previous changes: 39:dd75bec0598f
line | diff
<script id="workspace-tab-template" type="text/template">
43:d1ff547fa61d Use localStorage to remember used workspaces.
Anton Shestakov <engored@ya.ru>
previous changes: 39:dd75bec0598f
line | diff
<li data-workspace="<%- data.name %>">
43:d1ff547fa61d Use localStorage to remember used workspaces.
Anton Shestakov <engored@ya.ru>
previous changes: 39:dd75bec0598f
line | diff
<a href="#<%- data.name %>">#<%- data.name %></a>
43:d1ff547fa61d Use localStorage to remember used workspaces.
Anton Shestakov <engored@ya.ru>
previous changes: 39:dd75bec0598f
line | diff
</li>
43:d1ff547fa61d Use localStorage to remember used workspaces.
Anton Shestakov <engored@ya.ru>
previous changes: 39:dd75bec0598f
line | diff
</script>
43:d1ff547fa61d Use localStorage to remember used workspaces.
Anton Shestakov <engored@ya.ru>
previous changes: 39:dd75bec0598f
line | diff
</ul>
43:d1ff547fa61d Use localStorage to remember used workspaces.
Anton Shestakov <engored@ya.ru>
previous changes: 39:dd75bec0598f
line | diff
</div>
63
63:0ce436bb1b0a somewhat better look on extra-small screens
Anton Shestakov <av6@dwimlabs.net>
previous changes: 61:ecb8269aa17f
line | diff
<div class="col-sm-8 col-sm-pull-2 col-xs-12">
63:0ce436bb1b0a somewhat better look on extra-small screens
Anton Shestakov <av6@dwimlabs.net>
previous changes: 61:ecb8269aa17f
line | diff
<h3>
63:0ce436bb1b0a somewhat better look on extra-small screens
Anton Shestakov <av6@dwimlabs.net>
previous changes: 61:ecb8269aa17f
line | diff
<span class="text-muted">Workspace</span> <span class="workspace-title"></span> <small>(<span class="project-counter"></span>)</small>
63:0ce436bb1b0a somewhat better look on extra-small screens
Anton Shestakov <av6@dwimlabs.net>
previous changes: 61:ecb8269aa17f
line | diff
</h3>
63:0ce436bb1b0a somewhat better look on extra-small screens
Anton Shestakov <av6@dwimlabs.net>
previous changes: 61:ecb8269aa17f
line | diff
<hr>
63:0ce436bb1b0a somewhat better look on extra-small screens
Anton Shestakov <av6@dwimlabs.net>
previous changes: 61:ecb8269aa17f
line | diff
</div>
0
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
</div>
45
45:8e83e81fdad9 Remove trailing whitespaces.
Anton Shestakov <engored@ya.ru>
previous changes: 43:d1ff547fa61d
line | diff
0
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
<section class="projects">
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
<script id="project-template" type="text/template">
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
<div class="project">
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
<div class="row">
61
61:ecb8269aa17f update to Bootstrap 3
Anton Shestakov <av6@dwimlabs.net>
previous changes: 60:184e7ec942f1
line | diff
<div class="col-sm-2 text-right ondemand">
61:ecb8269aa17f update to Bootstrap 3
Anton Shestakov <av6@dwimlabs.net>
previous changes: 60:184e7ec942f1
line | diff
<button class="btn btn-xs btn-danger btn-delete-project">Delete</button>
61:ecb8269aa17f update to Bootstrap 3
Anton Shestakov <av6@dwimlabs.net>
previous changes: 60:184e7ec942f1
line | diff
<button class="btn btn-xs btn-success btn-new-task">New task</button>
0
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
</div>
63
63:0ce436bb1b0a somewhat better look on extra-small screens
Anton Shestakov <av6@dwimlabs.net>
previous changes: 61:ecb8269aa17f
line | diff
<div class="col-sm-4 col-xs-6">
0
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
<h4>
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
<span class="inline-editable"
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
data-input-type="input"
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
data-model="project"
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
data-model-attribute="name"><%- data.name %></span>
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
</h4>
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
</div>
45
45:8e83e81fdad9 Remove trailing whitespaces.
Anton Shestakov <engored@ya.ru>
previous changes: 43:d1ff547fa61d
line | diff
63
63:0ce436bb1b0a somewhat better look on extra-small screens
Anton Shestakov <av6@dwimlabs.net>
previous changes: 61:ecb8269aa17f
line | diff
<div class="col-sm-4 col-xs-6">
61
61:ecb8269aa17f update to Bootstrap 3
Anton Shestakov <av6@dwimlabs.net>
previous changes: 60:184e7ec942f1
line | diff
<div class="progress">
61:ecb8269aa17f update to Bootstrap 3
Anton Shestakov <av6@dwimlabs.net>
previous changes: 60:184e7ec942f1
line | diff
<div class="progress-bar progress-bar-striped" aria-valuemin="0" aria-valuemax="100" aria-valuenow="0"></div>
0
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
</div>
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
</div>
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
</div>
45
45:8e83e81fdad9 Remove trailing whitespaces.
Anton Shestakov <engored@ya.ru>
previous changes: 43:d1ff547fa61d
line | diff
0
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
<div class="tasks"></div>
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
</div>
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
</script>
45
45:8e83e81fdad9 Remove trailing whitespaces.
Anton Shestakov <engored@ya.ru>
previous changes: 43:d1ff547fa61d
line | diff
0
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
<script id="task-template" type="text/template">
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
<div class="task">
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
<div class="row">
61
61:ecb8269aa17f update to Bootstrap 3
Anton Shestakov <av6@dwimlabs.net>
previous changes: 60:184e7ec942f1
line | diff
<div class="col-sm-2 text-right ondemand">
61:ecb8269aa17f update to Bootstrap 3
Anton Shestakov <av6@dwimlabs.net>
previous changes: 60:184e7ec942f1
line | diff
<button class="btn btn-xs btn-danger btn-delete-task">Delete</button>
0
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
</div>
61
61:ecb8269aa17f update to Bootstrap 3
Anton Shestakov <av6@dwimlabs.net>
previous changes: 60:184e7ec942f1
line | diff
<div class="col-sm-4">
0
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
<input type="checkbox" <% if (data.done) print('checked') %>>
45
45:8e83e81fdad9 Remove trailing whitespaces.
Anton Shestakov <engored@ya.ru>
previous changes: 43:d1ff547fa61d
line | diff
<span class="inline-editable"
0
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
data-input-type="input"
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
data-model="task"
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
data-model-attribute="name"><%- data.name %></span>
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
</div>
61
61:ecb8269aa17f update to Bootstrap 3
Anton Shestakov <av6@dwimlabs.net>
previous changes: 60:184e7ec942f1
line | diff
<div class="col-sm-4">
0
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
<div class="task-note">
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
<span class="inline-editable"
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
data-input-type="textarea"
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
data-model="task"
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
data-model-attribute="note"></span>
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
</div>
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
</div>
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
</div>
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
</div>
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
</script>
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
</section>
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
</div>
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
</body>
0:a02e94c5b96b Made public.
Anton Shestakov <engored@ya.ru>
previous changes:
line | diff
</html>