mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-22 03:13:12 +00:00
Remove legacy typeahead files
This commit is contained in:
parent
d1e22bbbd1
commit
9934ea448b
7 changed files with 2 additions and 3843 deletions
210
static/css/bootstrap-tokenfield.css
vendored
210
static/css/bootstrap-tokenfield.css
vendored
|
@ -1,210 +0,0 @@
|
||||||
/*!
|
|
||||||
* bootstrap-tokenfield
|
|
||||||
* https://github.com/sliptree/bootstrap-tokenfield
|
|
||||||
* Copyright 2013-2014 Sliptree and other contributors; Licensed MIT
|
|
||||||
*/
|
|
||||||
@-webkit-keyframes blink {
|
|
||||||
0% {
|
|
||||||
border-color: #ededed;
|
|
||||||
}
|
|
||||||
100% {
|
|
||||||
border-color: #b94a48;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@-moz-keyframes blink {
|
|
||||||
0% {
|
|
||||||
border-color: #ededed;
|
|
||||||
}
|
|
||||||
100% {
|
|
||||||
border-color: #b94a48;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@keyframes blink {
|
|
||||||
0% {
|
|
||||||
border-color: #ededed;
|
|
||||||
}
|
|
||||||
100% {
|
|
||||||
border-color: #b94a48;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.tokenfield {
|
|
||||||
height: auto;
|
|
||||||
min-height: 34px;
|
|
||||||
padding-bottom: 0px;
|
|
||||||
}
|
|
||||||
.tokenfield.focus {
|
|
||||||
border-color: #66afe9;
|
|
||||||
outline: 0;
|
|
||||||
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, 0.6);
|
|
||||||
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, 0.6);
|
|
||||||
}
|
|
||||||
.tokenfield .token {
|
|
||||||
-webkit-box-sizing: border-box;
|
|
||||||
-moz-box-sizing: border-box;
|
|
||||||
box-sizing: border-box;
|
|
||||||
-webkit-border-radius: 3px;
|
|
||||||
-moz-border-radius: 3px;
|
|
||||||
border-radius: 3px;
|
|
||||||
display: inline-block;
|
|
||||||
border: 1px solid #d9d9d9;
|
|
||||||
background-color: #ededed;
|
|
||||||
white-space: nowrap;
|
|
||||||
margin: -1px 5px 5px 0;
|
|
||||||
height: 22px;
|
|
||||||
vertical-align: top;
|
|
||||||
cursor: default;
|
|
||||||
}
|
|
||||||
.tokenfield .token:hover {
|
|
||||||
border-color: #b9b9b9;
|
|
||||||
}
|
|
||||||
.tokenfield .token.active {
|
|
||||||
border-color: #52a8ec;
|
|
||||||
border-color: rgba(82, 168, 236, 0.8);
|
|
||||||
}
|
|
||||||
.tokenfield .token.duplicate {
|
|
||||||
border-color: #ebccd1;
|
|
||||||
-webkit-animation-name: blink;
|
|
||||||
animation-name: blink;
|
|
||||||
-webkit-animation-duration: 0.1s;
|
|
||||||
animation-duration: 0.1s;
|
|
||||||
-webkit-animation-direction: normal;
|
|
||||||
animation-direction: normal;
|
|
||||||
-webkit-animation-timing-function: ease;
|
|
||||||
animation-timing-function: ease;
|
|
||||||
-webkit-animation-iteration-count: infinite;
|
|
||||||
animation-iteration-count: infinite;
|
|
||||||
}
|
|
||||||
.tokenfield .token.invalid {
|
|
||||||
background: none;
|
|
||||||
border: 1px solid transparent;
|
|
||||||
-webkit-border-radius: 0;
|
|
||||||
-moz-border-radius: 0;
|
|
||||||
border-radius: 0;
|
|
||||||
border-bottom: 1px dotted #d9534f;
|
|
||||||
}
|
|
||||||
.tokenfield .token.invalid.active {
|
|
||||||
background: #ededed;
|
|
||||||
border: 1px solid #ededed;
|
|
||||||
-webkit-border-radius: 3px;
|
|
||||||
-moz-border-radius: 3px;
|
|
||||||
border-radius: 3px;
|
|
||||||
}
|
|
||||||
.tokenfield .token .token-label {
|
|
||||||
display: inline-block;
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
padding-left: 4px;
|
|
||||||
vertical-align: top;
|
|
||||||
}
|
|
||||||
.tokenfield .token .close {
|
|
||||||
font-family: Arial;
|
|
||||||
display: inline-block;
|
|
||||||
line-height: 100%;
|
|
||||||
font-size: 1.1em;
|
|
||||||
line-height: 1.49em;
|
|
||||||
margin-left: 5px;
|
|
||||||
float: none;
|
|
||||||
height: 100%;
|
|
||||||
vertical-align: top;
|
|
||||||
padding-right: 4px;
|
|
||||||
}
|
|
||||||
.tokenfield .token-input {
|
|
||||||
background: none;
|
|
||||||
width: 60px;
|
|
||||||
min-width: 60px;
|
|
||||||
border: 0;
|
|
||||||
height: 20px;
|
|
||||||
padding: 0;
|
|
||||||
margin-bottom: 6px;
|
|
||||||
-webkit-box-shadow: none;
|
|
||||||
box-shadow: none;
|
|
||||||
}
|
|
||||||
.tokenfield .token-input:focus {
|
|
||||||
border-color: transparent;
|
|
||||||
outline: 0;
|
|
||||||
/* IE6-9 */
|
|
||||||
-webkit-box-shadow: none;
|
|
||||||
box-shadow: none;
|
|
||||||
}
|
|
||||||
.tokenfield.disabled {
|
|
||||||
cursor: not-allowed;
|
|
||||||
background-color: #eeeeee;
|
|
||||||
}
|
|
||||||
.tokenfield.disabled .token-input {
|
|
||||||
cursor: not-allowed;
|
|
||||||
}
|
|
||||||
.tokenfield.disabled .token:hover {
|
|
||||||
cursor: not-allowed;
|
|
||||||
border-color: #d9d9d9;
|
|
||||||
}
|
|
||||||
.tokenfield.disabled .token:hover .close {
|
|
||||||
cursor: not-allowed;
|
|
||||||
opacity: 0.2;
|
|
||||||
filter: alpha(opacity=20);
|
|
||||||
}
|
|
||||||
.has-warning .tokenfield.focus {
|
|
||||||
border-color: #66512c;
|
|
||||||
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b;
|
|
||||||
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b;
|
|
||||||
}
|
|
||||||
.has-error .tokenfield.focus {
|
|
||||||
border-color: #843534;
|
|
||||||
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
|
|
||||||
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
|
|
||||||
}
|
|
||||||
.has-success .tokenfield.focus {
|
|
||||||
border-color: #2b542c;
|
|
||||||
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168;
|
|
||||||
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168;
|
|
||||||
}
|
|
||||||
.tokenfield.input-sm,
|
|
||||||
.input-group-sm .tokenfield {
|
|
||||||
min-height: 30px;
|
|
||||||
padding-bottom: 0px;
|
|
||||||
}
|
|
||||||
.input-group-sm .token,
|
|
||||||
.tokenfield.input-sm .token {
|
|
||||||
height: 20px;
|
|
||||||
margin-bottom: 4px;
|
|
||||||
}
|
|
||||||
.input-group-sm .token-input,
|
|
||||||
.tokenfield.input-sm .token-input {
|
|
||||||
height: 18px;
|
|
||||||
margin-bottom: 5px;
|
|
||||||
}
|
|
||||||
.tokenfield.input-lg,
|
|
||||||
.input-group-lg .tokenfield {
|
|
||||||
height: auto;
|
|
||||||
min-height: 45px;
|
|
||||||
padding-bottom: 4px;
|
|
||||||
}
|
|
||||||
.input-group-lg .token,
|
|
||||||
.tokenfield.input-lg .token {
|
|
||||||
height: 25px;
|
|
||||||
}
|
|
||||||
.input-group-lg .token-label,
|
|
||||||
.tokenfield.input-lg .token-label {
|
|
||||||
line-height: 23px;
|
|
||||||
}
|
|
||||||
.input-group-lg .token .close,
|
|
||||||
.tokenfield.input-lg .token .close {
|
|
||||||
line-height: 1.3em;
|
|
||||||
}
|
|
||||||
.input-group-lg .token-input,
|
|
||||||
.tokenfield.input-lg .token-input {
|
|
||||||
height: 23px;
|
|
||||||
line-height: 23px;
|
|
||||||
margin-bottom: 6px;
|
|
||||||
vertical-align: top;
|
|
||||||
}
|
|
||||||
.tokenfield.rtl {
|
|
||||||
direction: rtl;
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
.tokenfield.rtl .token {
|
|
||||||
margin: -1px 0 5px 5px;
|
|
||||||
}
|
|
||||||
.tokenfield.rtl .token .token-label {
|
|
||||||
padding-left: 0px;
|
|
||||||
padding-right: 4px;
|
|
||||||
}
|
|
|
@ -1,93 +0,0 @@
|
||||||
span.twitter-typeahead .tt-menu,
|
|
||||||
span.twitter-typeahead .tt-dropdown-menu {
|
|
||||||
position: absolute;
|
|
||||||
top: 100%;
|
|
||||||
left: 0;
|
|
||||||
z-index: 1000;
|
|
||||||
display: none;
|
|
||||||
float: left;
|
|
||||||
min-width: 160px;
|
|
||||||
padding: 5px 0;
|
|
||||||
margin: 2px 0 0;
|
|
||||||
list-style: none;
|
|
||||||
font-size: 14px;
|
|
||||||
text-align: left;
|
|
||||||
background-color: #ffffff;
|
|
||||||
border: 1px solid #cccccc;
|
|
||||||
border: 1px solid rgba(0, 0, 0, 0.15);
|
|
||||||
border-radius: 4px;
|
|
||||||
-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
|
||||||
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
|
||||||
background-clip: padding-box;
|
|
||||||
}
|
|
||||||
span.twitter-typeahead .tt-suggestion {
|
|
||||||
display: block;
|
|
||||||
padding: 3px 20px;
|
|
||||||
clear: both;
|
|
||||||
font-weight: normal;
|
|
||||||
line-height: 1.42857143;
|
|
||||||
color: #333333;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
span.twitter-typeahead .tt-suggestion.tt-cursor,
|
|
||||||
span.twitter-typeahead .tt-suggestion:hover,
|
|
||||||
span.twitter-typeahead .tt-suggestion:focus {
|
|
||||||
color: #ffffff;
|
|
||||||
text-decoration: none;
|
|
||||||
outline: 0;
|
|
||||||
background-color: #337ab7;
|
|
||||||
}
|
|
||||||
.input-group.input-group-lg span.twitter-typeahead .form-control {
|
|
||||||
height: 46px;
|
|
||||||
padding: 10px 16px;
|
|
||||||
font-size: 18px;
|
|
||||||
line-height: 1.3333333;
|
|
||||||
border-radius: 6px;
|
|
||||||
}
|
|
||||||
.input-group.input-group-sm span.twitter-typeahead .form-control {
|
|
||||||
height: 30px;
|
|
||||||
padding: 5px 10px;
|
|
||||||
font-size: 12px;
|
|
||||||
line-height: 1.5;
|
|
||||||
border-radius: 3px;
|
|
||||||
}
|
|
||||||
span.twitter-typeahead {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
.input-group span.twitter-typeahead {
|
|
||||||
display: block !important;
|
|
||||||
height: 34px;
|
|
||||||
}
|
|
||||||
.input-group span.twitter-typeahead .tt-menu,
|
|
||||||
.input-group span.twitter-typeahead .tt-dropdown-menu {
|
|
||||||
top: 32px !important;
|
|
||||||
}
|
|
||||||
.input-group span.twitter-typeahead:not(:first-child):not(:last-child) .form-control {
|
|
||||||
border-radius: 0;
|
|
||||||
}
|
|
||||||
.input-group span.twitter-typeahead:first-child .form-control {
|
|
||||||
border-top-left-radius: 4px;
|
|
||||||
border-bottom-left-radius: 4px;
|
|
||||||
border-top-right-radius: 0;
|
|
||||||
border-bottom-right-radius: 0;
|
|
||||||
}
|
|
||||||
.input-group span.twitter-typeahead:last-child .form-control {
|
|
||||||
border-top-left-radius: 0;
|
|
||||||
border-bottom-left-radius: 0;
|
|
||||||
border-top-right-radius: 4px;
|
|
||||||
border-bottom-right-radius: 4px;
|
|
||||||
}
|
|
||||||
.input-group.input-group-sm span.twitter-typeahead {
|
|
||||||
height: 30px;
|
|
||||||
}
|
|
||||||
.input-group.input-group-sm span.twitter-typeahead .tt-menu,
|
|
||||||
.input-group.input-group-sm span.twitter-typeahead .tt-dropdown-menu {
|
|
||||||
top: 30px !important;
|
|
||||||
}
|
|
||||||
.input-group.input-group-lg span.twitter-typeahead {
|
|
||||||
height: 46px;
|
|
||||||
}
|
|
||||||
.input-group.input-group-lg span.twitter-typeahead .tt-menu,
|
|
||||||
.input-group.input-group-lg span.twitter-typeahead .tt-dropdown-menu {
|
|
||||||
top: 46px !important;
|
|
||||||
}
|
|
|
@ -1,23 +0,0 @@
|
||||||
#### Sliptree
|
|
||||||
- by Illimar Tambek for [Sliptree](http://sliptree.com)
|
|
||||||
- Copyright (c) 2013 by Sliptree
|
|
||||||
|
|
||||||
Available for use under the [MIT License](http://en.wikipedia.org/wiki/MIT_License)
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in
|
|
||||||
all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
THE SOFTWARE.
|
|
1042
static/js/bootstrap-tokenfield/bootstrap-tokenfield.js
vendored
1042
static/js/bootstrap-tokenfield/bootstrap-tokenfield.js
vendored
File diff suppressed because it is too large
Load diff
|
@ -1,19 +0,0 @@
|
||||||
Copyright (c) 2013-2014 Twitter, Inc
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in
|
|
||||||
all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
THE SOFTWARE.
|
|
File diff suppressed because it is too large
Load diff
|
@ -45,16 +45,13 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
|
|
||||||
{# Preload JavaScript #}
|
{# Preload JavaScript #}
|
||||||
{% bootstrap_javascript %}
|
{% bootstrap_javascript %}
|
||||||
<script src="/static/js/typeahead/typeahead.js"></script>
|
|
||||||
<script src="/static/js/bootstrap-tokenfield/bootstrap-tokenfield.js"></script>
|
|
||||||
<script src="{% static 'js/collapse-from-url.js' %}"></script>
|
<script src="{% static 'js/collapse-from-url.js' %}"></script>
|
||||||
|
|
||||||
{% block custom_js %}{% endblock %}
|
{% block custom_js %}{% endblock %}
|
||||||
|
|
||||||
{# Load CSS #}
|
{# Load CSS #}
|
||||||
{% bootstrap_css %}
|
{% bootstrap_css %}
|
||||||
<link href="{% static 'css/typeaheadjs.css' %}" rel="stylesheet">
|
<link href="{% static 'css/autocomplete.css' %}" rel="stylesheet">
|
||||||
<link href="{% static 'css/bootstrap-tokenfield.css' %}" rel="stylesheet">
|
|
||||||
<link href="{% static 'css/font-awesome.min.css' %}" rel="stylesheet">
|
<link href="{% static 'css/font-awesome.min.css' %}" rel="stylesheet">
|
||||||
{# load theme #}
|
{# load theme #}
|
||||||
{% if request.user.is_authenticated %}
|
{% if request.user.is_authenticated %}
|
||||||
|
@ -118,4 +115,4 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
<script src="/static/js/main.js"></script>
|
<script src="/static/js/main.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue