Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

removed extraneous file

  • Loading branch information...
commit a6534390d9cffc04e6680daa27f68057bdcd56ef 1 parent e6c58c8
Yoriyasu Yano yorinasub17 authored
155 captricity_cloud_io/captricity_cloud_io/templates/captricity_cloud_io/cmis_list.html
... ... @@ -1,155 +0,0 @@
1   -<html>
2   -<head>
3   - <meta charset="utf-8">
4   -
5   - <title>CMIS Captricity Integration</title>
6   -
7   - <script src="{{STATIC_URL}}captricity_cloud_io/libs/jquery-1.8.13/js/jquery-1.6.1.min.js"></script>
8   - <script src="{{STATIC_URL}}captricity_cloud_io/libs/jquery-1.8.13/js/jquery-ui-1.8.13.custom.min.js"></script>
9   - <script src="{{STATIC_URL}}captricity_cloud_io/libs/jquery.tmpl.min.js"></script>
10   - <script type="text/javascript" src="{{STATIC_URL}}captricity_cloud_io/libs/underscore-min.js"></script>
11   -
12   - <script src="{{STATIC_URL}}captricity_cloud_io/libs/underscore.js"></script>
13   - <script src="{{STATIC_URL}}captricity_cloud_io/plugins.js"></script>
14   - <script type="text/javascript" src="{{STATIC_URL}}captricity_cloud_io/libs/backbone-min.js"></script>
15   -
16   -
17   -<style>
18   - .file-selected {
19   - color: #C2C2C2;
20   - }
21   -
22   - .file-deselected {
23   - color: #000000;
24   - }
25   -
26   - .folders-list {
27   - padding-left: 1em;
28   - }
29   -
30   - .selected-queue {
31   - float: right;
32   - }
33   -</style>
34   -
35   -<script type="text/template" id="folders-template">
36   - <% if (hidden) { %>
37   - <button class="show" id="<%= id %>">Show</button>
38   - <% } else { %>
39   - <button class="hide" id="<%= id %>">Hide</button>
40   - <% } %>
41   - <input type="checkbox" class="select-folder" id="<%= id %>"
42   - <% if (selected) { %>
43   - checked="checked"
44   - <% } %>
45   - />
46   - <%= name %>
47   -</script>
48   -
49   -<script type="text/template" id="file-template">
50   - <input type="checkbox" class="select-file" id="<%= id %>"
51   - <% if (selected) { %>
52   - checked="checked"
53   - <% } %>
54   - />
55   - <% if (selected) { %>
56   - <span class="file-selected">
57   - <% } else { %>
58   - <span class="file-deselected">
59   - <% } %>
60   - <%= name %>
61   - </span>
62   -</script>
63   -
64   -<script type="text/template" id="folder-tree-template">
65   - <ul class="folders-list">
66   - </ul>
67   -</script>
68   -
69   -<script type="text/template" id="selected-queue-template">
70   - <ul class="selected-files-list">
71   - </ul>
72   - <br />
73   - <button class="upload" id="upload-selected">Upload</button>
74   -</script>
75   -
76   -<script type="text/template" id="upload-queue-template">
77   - <ul class="upload-files-list">
78   - </ul>
79   -</script>
80   -
81   -<script type="text/template" id="job-selection-list-template">
82   - <ul class="job-list">
83   - </ul>
84   - <button class="select" id="job-selected">Select</button>
85   -</script>
86   -
87   -<script type="text/template" id="job-template">
88   - <input type="radio" name="select-job" class="select-job" id="<%= id %>"
89   - <% if (selected) { %>
90   - checked="checked"
91   - <% } %>
92   - />
93   - <% if (selected) { %>
94   - <span class="file-selected">
95   - <% } else { %>
96   - <span class="file-deselected">
97   - <% } %>
98   - <%= name %>, <%= status %>
99   - </span>
100   -</script>
101   -
102   -<script src="{{STATIC_URL}}captricity_cloud_io/util.js"></script>
103   -<script src="{{STATIC_URL}}captricity_cloud_io/cmis.js"></script>
104   -<script src="{{STATIC_URL}}captricity_cloud_io/cap.js"></script>
105   -
106   -<script>
107   - window.CMISBrowser = Backbone.Router.extend({
108   - routes: {
109   - '': 'home',
110   - 'next': 'cmisBrowser',
111   - },
112   -
113   - initialize: function() {
114   - this.rootView = new CmisFolderView({
115   - el: $('<ul id="root-browser"></ul>'),
116   - model: window.rootFolder
117   - });
118   -
119   - this.queueView = new SelectedQueueView({});
120   - this.jlView = new JobListView({});
121   - },
122   -
123   - home: function() {
124   - $('#box-browser').empty();
125   - $('#box-browser').append(this.jlView.render().el);
126   - },
127   -
128   - cmisBrowser: function() {
129   - $('#box-browser').empty();
130   - $('#box-browser').append(this.rootView.render().el);
131   - $('#box-browser').append(this.queueView.render().el);
132   - },
133   - });
134   -
135   - $(document).ready(function() {
136   - window.rootFolder = new CmisFolder({id:"{{ root_folder_id }}", name:'/'});
137   - window.rootFolder.fetch();
138   - window.selectedFiles = new CmisFiles();
139   - window.jobs = new JobCollection();
140   - window.jobs.fetch();
141   - window.selectedJob = null;
142   - window.App = new CMISBrowser();
143   - Backbone.history.start();
144   - });
145   -</script>
146   -</head>
147   -
148   -<body>
149   -<div id="box-browser">
150   -</div>
151   -</body>
152   -
153   -</html>
154   -
155   -

0 comments on commit a653439

Please sign in to comment.
Something went wrong with that request. Please try again.