Anton Shestakov <av6@dwimlabs.net>, Thu, 26 May 2016 00:24:33 +0800
templates: update jQuery to 2.2.4
templates/index.html
Permissions: -rw-r--r--
<title>Fruit Bar Progress Tracker
</title> <link type="image/x-icon" href="{{ url_for('static', filename='favicon.ico') }}" rel="shortcut icon"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous"> <link type="text/css" href="{{ url_for('static', filename='css/custom.css') }}" rel="stylesheet"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.2.1/backbone-min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/backbone-localstorage.js/1.1.16/backbone.localStorage-min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script> {% assets filters='jsmin', output='bundles/fruitbar.%(version)s.js', 'js/framework/models.js', 'js/framework/collections.js', 'js/framework/views/base.js', 'js/framework/views/inline.js', 'js/framework/views/workspaces.js', 'js/framework/views/projects.js', 'js/framework/views/tasks.js', 'js/framework/router.js', <script type="text/javascript" src="{{ ASSET_URL }}"></script> _.extend(_.templateSettings, { <body style="opacity: 0;"> <div class="col-sm-2 col-xs-6 ui-sidebar text-right"> <button class="btn btn-xs btn-success btn-new-project">New project
</button> <div class="col-sm-2 col-sm-push-8 col-xs-6 ui-sidebar"> <ul class="nav nav-pills workspace-tabs"> <script id="workspace-tab-template" type="text/template"> <li data-workspace="<%- data.name %>"> <a href="#<%- data.name %>">#<%- data.name %></a> <div class="col-sm-8 col-sm-pull-2 col-xs-12"> <span class="text-muted">Workspace
</span> <span class="workspace-title"></span> <small>(
<span class="project-counter"></span>)
</small> <section class="projects"> <script id="project-template" type="text/template"> <div class="col-sm-2 text-right ondemand"> <button class="btn btn-xs btn-danger btn-delete-project">Delete</button> <button class="btn btn-xs btn-success btn-new-task">New task</button> <div class="col-sm-4 col-xs-6"> <span class="inline-editable" data-model-attribute="name"><%- data.name %></span> <div class="col-sm-4 col-xs-6"> <div class="progress-bar progress-bar-striped" aria-valuemin="0" aria-valuemax="100" aria-valuenow="0"></div> <div class="tasks"></div> <script id="task-template" type="text/template"> <div class="col-sm-2 text-right ondemand"> <button class="btn btn-xs btn-danger btn-delete-task">Delete</button> <input type="checkbox" <% if (data.done) print('checked') %>> <span class="inline-editable" data-model-attribute="name"><%- data.name %></span> <span class="inline-editable" data-input-type="textarea" data-model-attribute="note"></span>