Show More
The requested changes are too big and content was truncated. Show full diff
@@ -24,12 +24,17 b' syntax: regexp' | |||
|
24 | 24 | ^kallithea/front-end/node_modules$ |
|
25 | 25 | ^kallithea/front-end/package-lock\.json$ |
|
26 | 26 | ^kallithea/front-end/tmp$ |
|
27 |
^kallithea/public/css/s |
|
|
27 | ^kallithea/public/css/select2-spinner\.gif$ | |
|
28 | ^kallithea/public/css/select2\.png$ | |
|
29 | ^kallithea/public/css/select2x2\.png$ | |
|
30 | ^kallithea/public/css/style\.css$ | |
|
31 | ^kallithea/public/css/style\.css\.map$ | |
|
28 | 32 | ^kallithea/public/js/bootstrap\.js$ |
|
29 | 33 | ^kallithea/public/js/jquery\.flot\.js$ |
|
30 | 34 | ^kallithea/public/js/jquery\.flot\.selection\.js$ |
|
31 | 35 | ^kallithea/public/js/jquery\.flot\.time\.js$ |
|
32 | 36 | ^kallithea/public/js/jquery\.min\.js$ |
|
37 | ^kallithea/public/js/select2\.js$ | |
|
33 | 38 | ^theme\.less$ |
|
34 | 39 | ^kallithea\.db$ |
|
35 | 40 | ^test\.db$ |
@@ -113,7 +113,7 b' tri-license.' | |||
|
113 | 113 | Select2 |
|
114 | 114 | ------- |
|
115 | 115 | |
|
116 |
Kallithea |
|
|
116 | Kallithea uses the Javascript system called | |
|
117 | 117 | [Select2](http://ivaynberg.github.io/select2/), which is: |
|
118 | 118 | |
|
119 | 119 | Copyright 2012 Igor Vaynberg (and probably others) |
@@ -132,12 +132,15 b' in this distribution.' | |||
|
132 | 132 | Kallithea will take the Apache license fork of the dual license, since |
|
133 | 133 | Kallithea is GPLv3'd. |
|
134 | 134 | |
|
135 | It is not distributed with Kallithea, but will be downloaded | |
|
136 | using the ''kallithea-cli front-end-build'' command. | |
|
137 | ||
|
135 | 138 | |
|
136 | 139 | |
|
137 | 140 | Select2-Bootstrap-CSS |
|
138 | 141 | --------------------- |
|
139 | 142 | |
|
140 |
Kallithea |
|
|
143 | Kallithea uses some CSS from a system called | |
|
141 | 144 | [Select2-bootstrap-css](https://github.com/t0m/select2-bootstrap-css), which |
|
142 | 145 | is: |
|
143 | 146 | |
@@ -146,6 +149,9 b' Copyright © 2013 Tom Terrace (and l' | |||
|
146 | 149 | and licensed under the MIT-permissive license, which is |
|
147 | 150 | [included in this distribution](MIT-Permissive-License.txt). |
|
148 | 151 | |
|
152 | It is not distributed with Kallithea, but will be downloaded | |
|
153 | using the ''kallithea-cli front-end-build'' command. | |
|
154 | ||
|
149 | 155 | |
|
150 | 156 | |
|
151 | 157 | History.js |
@@ -72,6 +72,12 b' def front_end_build(install_deps, genera' | |||
|
72 | 72 | shutil.copy(os.path.join(front_end_dir, 'node_modules', 'jquery.flot', 'jquery.flot.selection.js'), os.path.join(public_dir, 'js', 'jquery.flot.selection.js')) |
|
73 | 73 | shutil.copy(os.path.join(front_end_dir, 'node_modules', 'jquery.flot', 'jquery.flot.time.js'), os.path.join(public_dir, 'js', 'jquery.flot.time.js')) |
|
74 | 74 | |
|
75 | click.echo("Preparing Select2 JS") | |
|
76 | shutil.copy(os.path.join(front_end_dir, 'node_modules', 'select2', 'select2.js'), os.path.join(public_dir, 'js', 'select2.js')) | |
|
77 | shutil.copy(os.path.join(front_end_dir, 'node_modules', 'select2', 'select2.png'), os.path.join(public_dir, 'css', 'select2.png')) | |
|
78 | shutil.copy(os.path.join(front_end_dir, 'node_modules', 'select2', 'select2x2.png'), os.path.join(public_dir, 'css', 'select2x2.png')) | |
|
79 | shutil.copy(os.path.join(front_end_dir, 'node_modules', 'select2', 'select2-spinner.gif'), os.path.join(public_dir, 'css', 'select2-spinner.gif')) | |
|
80 | ||
|
75 | 81 | click.echo("Generating LICENSES.txt") |
|
76 | 82 | check_licensing_json_path = os.path.join(tmp_dir, 'licensing.json') |
|
77 | 83 | licensing_txt_path = os.path.join(public_dir, 'LICENSES.txt') |
@@ -4,7 +4,9 b'' | |||
|
4 | 4 | "dependencies": { |
|
5 | 5 | "bootstrap": "3.3.7", |
|
6 | 6 | "jquery": "1.12.3", |
|
7 | "jquery.flot": "0.8.3" | |
|
7 | "jquery.flot": "0.8.3", | |
|
8 | "select2": "3.5.1", | |
|
9 | "select2-bootstrap-css": "1.2.4" | |
|
8 | 10 | }, |
|
9 | 11 | "devDependencies": { |
|
10 | 12 | "less": "~2.7", |
@@ -11,8 +11,8 b'' | |||
|
11 | 11 | /* 3rd party styles */ |
|
12 | 12 | @import "node_modules/bootstrap/less/bootstrap.less"; |
|
13 | 13 | @import (inline) "3rd-party/dataTables.bootstrap.css"; |
|
14 |
@import (less) " |
|
|
15 |
@import (less) " |
|
|
14 | @import (less) "node_modules/select2/select2.css"; | |
|
15 | @import (less) "node_modules/select2-bootstrap-css/select2-bootstrap.css"; | |
|
16 | 16 | @import (less) "tmp/pygments.css"; |
|
17 | 17 | @import (less) "../fontello/css/kallithea.css"; |
|
18 | 18 |
@@ -72,7 +72,7 b'' | |||
|
72 | 72 | <script type="text/javascript" src="${h.url('/js/jquery.dataTables.min.js', ver=c.kallithea_version)}"></script> |
|
73 | 73 | <script type="text/javascript" src="${h.url('/js/dataTables.bootstrap.js', ver=c.kallithea_version)}"></script> |
|
74 | 74 | <script type="text/javascript" src="${h.url('/js/bootstrap.js', ver=c.kallithea_version)}"></script> |
|
75 |
<script type="text/javascript" src="${h.url('/js/select2 |
|
|
75 | <script type="text/javascript" src="${h.url('/js/select2.js', ver=c.kallithea_version)}"></script> | |
|
76 | 76 | <script type="text/javascript" src="${h.url('/js/native.history.js', ver=c.kallithea_version)}"></script> |
|
77 | 77 | <script type="text/javascript" src="${h.url('/js/base.js', ver=c.kallithea_version)}"></script> |
|
78 | 78 | ## EXTRA FOR JS |
@@ -2,7 +2,7 b'' | |||
|
2 | 2 | |
|
3 | 3 | # Enforce some consistency in whitespace - just to avoid spurious whitespaces changes |
|
4 | 4 | |
|
5 |
files=`hg mani | egrep -v '/codemirror/|/fontello/|/email_templates/|(/lockfiles.py|^LICENSE-MERGELY.html|^docs/Makefile|^scripts/whitespacecleanup.sh|/(graph|mergely|native.history| |
|
|
5 | files=`hg mani | egrep -v '/codemirror/|/fontello/|/email_templates/|(/lockfiles.py|^LICENSE-MERGELY.html|^docs/Makefile|^scripts/whitespacecleanup.sh|/(graph|mergely|native.history|yui.2.9|jquery.dataTables)\.js|/test_dump_html_mails.ref.html|\.png|\.gif|\.ico|\.pot|\.po|\.mo|\.tar\.gz|\.diff)$'` | |
|
6 | 6 | |
|
7 | 7 | sed -i "s/`printf '\r'`//g" $files |
|
8 | 8 | sed -i -e "s,`printf '\t'`, ,g" $files |
|
1 | NO CONTENT: file was removed |
|
1 | NO CONTENT: file was removed, binary diff hidden |
|
1 | NO CONTENT: file was removed | |
This diff has been collapsed as it changes many lines, (692 lines changed) Show them Hide them |
|
1 | NO CONTENT: file was removed | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: file was removed, binary diff hidden |
|
1 | NO CONTENT: file was removed, binary diff hidden |
General Comments 0
You need to be logged in to leave comments.
Login now