next change | 116:1bdd61636a4c |
previous change | 88:108422c6a44d |
Permissions: -rw-r--r--
0 | <!DOCTYPE html> |
<html> | |
<head> | |
<title>Fruit Bar Progress Tracker</title> | |
<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 | <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 | _.extend(_.templateSettings, { |
variable: 'data' | |
}); | |
</script> | |
</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 | <div class="container"> |
<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 | </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 | </div> |
45
45:8e83e81fdad9
Remove trailing whitespaces.
Anton Shestakov <engored@ya.ru>
previous changes: 43:d1ff547fa61d
line |
diff
|
|
0 | <section class="projects"> |
<script id="project-template" type="text/template"> | |
<div class="project"> | |
<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 | </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 | <h4> |
<span class="inline-editable" | |
data-input-type="input" | |
data-model="project" | |
data-model-attribute="name"><%- data.name %></span> | |
</h4> | |
</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 | </div> |
</div> | |
</div> | |
45
45:8e83e81fdad9
Remove trailing whitespaces.
Anton Shestakov <engored@ya.ru>
previous changes: 43:d1ff547fa61d
line |
diff
|
|
0 | <div class="tasks"></div> |
</div> | |
</script> | |
45
45:8e83e81fdad9
Remove trailing whitespaces.
Anton Shestakov <engored@ya.ru>
previous changes: 43:d1ff547fa61d
line |
diff
|
|
0 | <script id="task-template" type="text/template"> |
<div class="task"> | |
<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 | </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 | <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 | data-input-type="input" |
data-model="task" | |
data-model-attribute="name"><%- data.name %></span> | |
</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 | <div class="task-note"> |
<span class="inline-editable" | |
data-input-type="textarea" | |
data-model="task" | |
data-model-attribute="note"></span> | |
</div> | |
</div> | |
</div> | |
</div> | |
</script> | |
</section> | |
</div> | |
</body> | |
</html> |