The requested changes are too big and content was truncated. Show full diff
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644 |
@@ -0,0 +1,6 | |||
|
1 | from django.contrib import admin | |
|
2 | from .models import DDSRestConfiguration | |
|
3 | ||
|
4 | # Register your models here. | |
|
5 | ||
|
6 | admin.site.register(DDSRestConfiguration) |
@@ -0,0 +1,27 | |||
|
1 | from django import forms | |
|
2 | from apps.main.models import Device | |
|
3 | from .models import DDSRestConfiguration | |
|
4 | ||
|
5 | # from django.core.validators import MinValueValidator, MaxValueValidator | |
|
6 | ||
|
7 | class DDSRestConfigurationForm(forms.ModelForm): | |
|
8 | ||
|
9 | def __init__(self, *args, **kwargs): | |
|
10 | ||
|
11 | super(DDSRestConfigurationForm, self).__init__(*args, **kwargs) | |
|
12 | ||
|
13 | instance = getattr(self, 'instance', None) | |
|
14 | ||
|
15 | if instance and instance.pk: | |
|
16 | ||
|
17 | devices = Device.objects.filter(device_type__name='dds_rest') | |
|
18 | ||
|
19 | #if instance.experiment: | |
|
20 | # self.fields['experiment'].widget.attrs['disabled'] = 'disabled' | |
|
21 | ||
|
22 | self.fields['device'].widget.choices = [(device.id, device) for device in devices] | |
|
23 | ||
|
24 | ||
|
25 | class Meta: | |
|
26 | model = DDSRestConfiguration | |
|
27 | exclude = ('type', 'parameters', 'status', 'author', 'hash') |
@@ -0,0 +1,238 | |||
|
1 | import ast | |
|
2 | import json | |
|
3 | import requests | |
|
4 | import numpy as np | |
|
5 | from base64 import b64encode | |
|
6 | from struct import pack | |
|
7 | ||
|
8 | from django.urls import reverse | |
|
9 | from django.db import models | |
|
10 | from apps.main.models import Configuration | |
|
11 | from apps.main.utils import Params | |
|
12 | # Create your models here. | |
|
13 | ||
|
14 | from django.core.validators import MinValueValidator, MaxValueValidator | |
|
15 | from django.core.exceptions import ValidationError | |
|
16 | ||
|
17 | from devices.dds_rest import api, data | |
|
18 | ||
|
19 | ENABLE_TYPE = ( | |
|
20 | (False, 'Disabled'), | |
|
21 | (True, 'Enabled'), | |
|
22 | ) | |
|
23 | MOD_TYPES = ( | |
|
24 | (0, 'Single Tone'), | |
|
25 | (1, 'FSK'), | |
|
26 | (2, 'Ramped FSK'), | |
|
27 | (3, 'Chirp'), | |
|
28 | (4, 'BPSK'), | |
|
29 | ) | |
|
30 | ||
|
31 | class DDSRestConfiguration(Configuration): | |
|
32 | ||
|
33 | DDS_NBITS = 48 | |
|
34 | ||
|
35 | clock = models.FloatField(verbose_name='Clock In (MHz)',validators=[MinValueValidator(5), MaxValueValidator(75)], null=True, default=60) | |
|
36 | multiplier = models.PositiveIntegerField(verbose_name='Multiplier',validators=[MinValueValidator(1), MaxValueValidator(20)], default=4) | |
|
37 | ||
|
38 | frequencyA_Mhz = models.DecimalField(verbose_name='Frequency A (MHz)', validators=[MinValueValidator(0), MaxValueValidator(150)], max_digits=19, decimal_places=16, null=True, default=49.9200) | |
|
39 | frequencyA = models.BigIntegerField(verbose_name='Frequency A (Decimal)',validators=[MinValueValidator(0), MaxValueValidator(2**DDS_NBITS-1)], blank=True, null=True) | |
|
40 | ||
|
41 | frequencyB_Mhz = models.DecimalField(verbose_name='Frequency B (MHz)', validators=[MinValueValidator(0), MaxValueValidator(150)], max_digits=19, decimal_places=16, blank=True, null=True) | |
|
42 | frequencyB = models.BigIntegerField(verbose_name='Frequency B (Decimal)',validators=[MinValueValidator(0), MaxValueValidator(2**DDS_NBITS-1)], blank=True, null=True) | |
|
43 | ||
|
44 | delta_frequency_Mhz = models.DecimalField(verbose_name='Delta frequency (MHz)', validators=[MinValueValidator(0), MaxValueValidator(150)], max_digits=19, decimal_places=16, blank=True, null=True) | |
|
45 | delta_frequency = models.BigIntegerField(verbose_name='Delta frequency (Decimal)',validators=[MinValueValidator(0), MaxValueValidator(2**DDS_NBITS-1)], blank=True, null=True) | |
|
46 | ||
|
47 | update_clock_Mhz = models.DecimalField(verbose_name='Update clock (MHz)', validators=[MinValueValidator(0), MaxValueValidator(150)], max_digits=19, decimal_places=16, blank=True, null=True) | |
|
48 | update_clock = models.BigIntegerField(verbose_name='Update clock (Decimal)',validators=[MinValueValidator(0), MaxValueValidator(2**32-1)], blank=True, null=True) | |
|
49 | ||
|
50 | ramp_rate_clock_Mhz = models.DecimalField(verbose_name='Ramp rate clock (MHz)', validators=[MinValueValidator(0), MaxValueValidator(150)], max_digits=19, decimal_places=16, blank=True, null=True) | |
|
51 | ramp_rate_clock = models.BigIntegerField(verbose_name='Ramp rate clock (Decimal)',validators=[MinValueValidator(0), MaxValueValidator(2**18-1)], blank=True, null=True) | |
|
52 | ||
|
53 | phaseA_degrees = models.FloatField(verbose_name='Phase A (Degrees)', validators=[MinValueValidator(0), MaxValueValidator(360)], default=0) | |
|
54 | ||
|
55 | phaseB_degrees = models.FloatField(verbose_name='Phase B (Degrees)', validators=[MinValueValidator(0), MaxValueValidator(360)], blank=True, null=True) | |
|
56 | ||
|
57 | modulation = models.PositiveIntegerField(verbose_name='Modulation Type', choices = MOD_TYPES, default = 0) | |
|
58 | ||
|
59 | amplitude_enabled = models.BooleanField(verbose_name='Amplitude Control', choices=ENABLE_TYPE, default=False) | |
|
60 | ||
|
61 | amplitudeI = models.PositiveIntegerField(verbose_name='Amplitude CH1',validators=[MinValueValidator(0), MaxValueValidator(2**12-1)], blank=True, null=True) | |
|
62 | amplitudeQ = models.PositiveIntegerField(verbose_name='Amplitude CH2',validators=[MinValueValidator(0), MaxValueValidator(2**12-1)], blank=True, null=True) | |
|
63 | ||
|
64 | ||
|
65 | def get_nbits(self): | |
|
66 | ||
|
67 | return self.DDS_NBITS | |
|
68 | ||
|
69 | def clean(self): | |
|
70 | ||
|
71 | if self.modulation in [1,2,3]: | |
|
72 | if self.frequencyB is None or self.frequencyB_Mhz is None: | |
|
73 | raise ValidationError({ | |
|
74 | 'frequencyB': 'Frequency modulation has to be defined when FSK or Chirp modulation is selected' | |
|
75 | }) | |
|
76 | ||
|
77 | if self.modulation in [4,]: | |
|
78 | if self.phaseB_degrees is None: | |
|
79 | raise ValidationError({ | |
|
80 | 'phaseB': 'Phase modulation has to be defined when BPSK modulation is selected' | |
|
81 | }) | |
|
82 | ||
|
83 | self.frequencyA_Mhz = data.binary_to_freq(self.frequencyA, self.clock*self.multiplier) | |
|
84 | self.frequencyB_Mhz = data.binary_to_freq(self.frequencyB, self.clock*self.multiplier) | |
|
85 | ||
|
86 | def verify_frequencies(self): | |
|
87 | ||
|
88 | return True | |
|
89 | ||
|
90 | def parms_to_text(self): | |
|
91 | ||
|
92 | my_dict = self.parms_to_dict()['configurations']['byId'][str(self.id)] | |
|
93 | ||
|
94 | text = data.dict_to_text(my_dict) | |
|
95 | ||
|
96 | return text | |
|
97 | ||
|
98 | def status_device(self): | |
|
99 | print("Status ") | |
|
100 | try: | |
|
101 | answer = api.status(ip = self.device.ip_address, | |
|
102 | port = self.device.port_address) | |
|
103 | if 'clock' in answer: | |
|
104 | self.device.status = 1 | |
|
105 | else: | |
|
106 | self.device.status = answer[0] | |
|
107 | self.message = 'DDS - {}'.format(answer[2:]) | |
|
108 | except Exception as e: | |
|
109 | self.message = str(e) | |
|
110 | self.device.status = 0 | |
|
111 | ||
|
112 | self.device.save() | |
|
113 | ||
|
114 | if self.device.status in (0, '0'): | |
|
115 | return False | |
|
116 | else: | |
|
117 | return True | |
|
118 | ||
|
119 | def reset_device(self): | |
|
120 | ||
|
121 | answer = api.reset(ip = self.device.ip_address, | |
|
122 | port = self.device.port_address) | |
|
123 | ||
|
124 | if answer[0] != "1": | |
|
125 | self.message = 'DDS - {}'.format(answer[2:]) | |
|
126 | return 0 | |
|
127 | ||
|
128 | self.message = 'DDS - {}'.format(answer[2:]) | |
|
129 | return 1 | |
|
130 | ||
|
131 | def stop_device(self): | |
|
132 | ||
|
133 | try: | |
|
134 | answer = api.disable_rf(ip = self.device.ip_address, | |
|
135 | port = self.device.port_address) | |
|
136 | ||
|
137 | return self.status_device() | |
|
138 | ||
|
139 | except Exception as e: | |
|
140 | self.message = str(e) | |
|
141 | return False | |
|
142 | ||
|
143 | def start_device(self): | |
|
144 | ||
|
145 | try: | |
|
146 | answer = api.enable_rf(ip = self.device.ip_address, | |
|
147 | port = self.device.port_address) | |
|
148 | ||
|
149 | return self.status_device() | |
|
150 | ||
|
151 | except Exception as e: | |
|
152 | self.message = str(e) | |
|
153 | return False | |
|
154 | ||
|
155 | def read_device(self): | |
|
156 | ||
|
157 | parms = api.read_config(ip = self.device.ip_address, | |
|
158 | port = self.device.port_address) | |
|
159 | if not parms: | |
|
160 | self.message = "Could not read DDS parameters from this device" | |
|
161 | return parms | |
|
162 | ||
|
163 | self.message = "" | |
|
164 | return parms | |
|
165 | ||
|
166 | def arma_data_write(self): | |
|
167 | #clock = RCClock.objects.get(rc_configuration=self) | |
|
168 | clock = self.clock | |
|
169 | print(clock) | |
|
170 | multiplier = self.multiplier | |
|
171 | print(multiplier) | |
|
172 | frequencyA_Mhz = self.frequencyA_Mhz | |
|
173 | print(frequencyA_Mhz) | |
|
174 | frequencyA = self.frequencyA | |
|
175 | print(frequencyA) | |
|
176 | frequencyB_Mhz = self.frequencyB_Mhz | |
|
177 | print(frequencyB_Mhz) | |
|
178 | frequencyB = self.frequencyB | |
|
179 | print(frequencyB) | |
|
180 | phaseA_degrees = self.phaseA_degrees | |
|
181 | print(phaseA_degrees) | |
|
182 | phaseB_degrees = self.phaseB_degrees | |
|
183 | print(phaseB_degrees) | |
|
184 | modulation = self.modulation | |
|
185 | print(modulation) | |
|
186 | amplitude_enabled = self.amplitude_enabled | |
|
187 | print(amplitude_enabled) | |
|
188 | amplitudeI = self.amplitudeI | |
|
189 | print(amplitudeI) | |
|
190 | amplitudeQ = self.amplitudeQ | |
|
191 | print(amplitudeQ) | |
|
192 | ||
|
193 | cadena_json = {'clock': (b64encode(pack('<f',clock))).decode("UTF-8"),\ | |
|
194 | 'multiplier': (b64encode(pack('<B',multiplier))).decode("UTF-8"),\ | |
|
195 | 'frequencyA': (b64encode(pack('<6B',frequencyA))).decode("UTF-8"),\ | |
|
196 | 'frequencyB': (b64encode(pack('<6B',frequencyB))).decode("UTF-8")\ | |
|
197 | ||
|
198 | } | |
|
199 | return cadena_json | |
|
200 | ||
|
201 | def write_device(self, raw=False): | |
|
202 | print("Ingreso a write") | |
|
203 | try: | |
|
204 | ||
|
205 | if not raw: | |
|
206 | data = self.arma_data_write() | |
|
207 | print(data) | |
|
208 | payload = self.request('write', 'post', data=json.dumps(data)) | |
|
209 | if payload['command'] != 'ok': | |
|
210 | self.message = 'DDS Rest write: {}'.format(payload['command']) | |
|
211 | else: | |
|
212 | self.message = payload['programming'] | |
|
213 | if payload['programming'] == 'fail': | |
|
214 | self.message = 'DDS Rest write: error programming DDS chip' | |
|
215 | if raw: | |
|
216 | return b64encode(data) | |
|
217 | ||
|
218 | ||
|
219 | except Exception as e: | |
|
220 | if 'No route to host' not in str(e): | |
|
221 | self.device.status = 4 | |
|
222 | else: | |
|
223 | self.device.status = 0 | |
|
224 | self.message = 'DDS Rest write: {}'.format(str(e)) | |
|
225 | self.device.save() | |
|
226 | return False | |
|
227 | ||
|
228 | return True | |
|
229 | ||
|
230 | def request(self, cmd, method='get', **kwargs): | |
|
231 | print("Ingreso a request") | |
|
232 | req = getattr(requests, method)(self.device.url(cmd), **kwargs) | |
|
233 | payload = req.json() | |
|
234 | ||
|
235 | return payload | |
|
236 | ||
|
237 | class Meta: | |
|
238 | db_table = 'ddsrest_configurations' |
@@ -0,0 +1,20 | |||
|
1 | ||
|
2 | function freq2Binary(mclock, frequency) { | |
|
3 | ||
|
4 | var freq_bin = parseInt(frequency * (Math.pow(2,48)/mclock)); | |
|
5 | return freq_bin; | |
|
6 | ||
|
7 | } | |
|
8 | ||
|
9 | function binary2Freq(mclock, binary) { | |
|
10 | ||
|
11 | var frequency = (1.0*binary) / (Math.pow(2,48)/mclock); | |
|
12 | return frequency; | |
|
13 | } | |
|
14 | ||
|
15 | ||
|
16 | function binary2FreqDelta(mclock, binary) { | |
|
17 | ||
|
18 | var frequency = (1.0*binary) / (Math.pow(2,48)/mclock); | |
|
19 | return frequency; | |
|
20 | } No newline at end of file |
@@ -0,0 +1,1 | |||
|
1 | {% extends "dev_conf.html" %} No newline at end of file |
@@ -0,0 +1,93 | |||
|
1 | {% extends "dev_conf_edit.html" %} | |
|
2 | {% load bootstrap4 %} | |
|
3 | {% load static %} | |
|
4 | {% load main_tags %} | |
|
5 | ||
|
6 | {% block extra-js%} | |
|
7 | <script src="{% static 'js/dds_conversion.js' %}"></script> | |
|
8 | <script type="text/javascript"> | |
|
9 | ||
|
10 | $("#id_clock").on('change', function() { | |
|
11 | updateFrequencies(); | |
|
12 | }); | |
|
13 | ||
|
14 | $("#id_multiplier").on('change', function() { | |
|
15 | updateFrequencies(); | |
|
16 | }); | |
|
17 | ||
|
18 | $("#id_frequencyA_Mhz").on('change', function() { | |
|
19 | updateBinaryFrequencies(); | |
|
20 | }); | |
|
21 | ||
|
22 | $("#id_frequencyA").on('change', function() { | |
|
23 | updateFrequencies(); | |
|
24 | }); | |
|
25 | ||
|
26 | $("#id_frequencyB_Mhz").on('change', function() { | |
|
27 | updateBinaryFrequencies(); | |
|
28 | }); | |
|
29 | ||
|
30 | $("#id_frequencyB").on('change', function() { | |
|
31 | updateFrequencies(); | |
|
32 | }); | |
|
33 | ||
|
34 | $("#id_delta_frequency").on('change', function() { | |
|
35 | updateFrequencyDelta(); | |
|
36 | }); | |
|
37 | ||
|
38 | function updateBinaryFrequencies() { | |
|
39 | ||
|
40 | var clock = $("#id_clock").val(); | |
|
41 | var multiplier = $("#id_multiplier").val(); | |
|
42 | var freq = $("#id_frequencyA_Mhz").val(); | |
|
43 | var freq_mod = $("#id_frequencyB_Mhz").val(); | |
|
44 | ||
|
45 | var mclock = clock*multiplier; | |
|
46 | ||
|
47 | var freq_bin = freq2Binary(mclock, freq); | |
|
48 | var freq_mod_bin = freq2Binary(mclock, freq_mod); | |
|
49 | ||
|
50 | $("#id_frequencyA").val(freq_bin); | |
|
51 | $("#id_frequencyB").val(freq_mod_bin); | |
|
52 | ||
|
53 | freq = binary2Freq(mclock, freq_bin); | |
|
54 | freq_mod = binary2Freq(mclock, freq_mod_bin); | |
|
55 | ||
|
56 | $("#id_frequencyA_Mhz").val(freq); | |
|
57 | $("#id_frequencyB_Mhz").val(freq_mod); | |
|
58 | ||
|
59 | } | |
|
60 | ||
|
61 | function updateFrequencies() { | |
|
62 | console.log("Ingreso a updateFrequencies"); | |
|
63 | var clock = $("#id_clock").val(); | |
|
64 | var multiplier = $("#id_multiplier").val(); | |
|
65 | var freq_bin = $("#id_frequencyA").val(); | |
|
66 | var freq_mod_bin = $("#id_frequencyB").val(); | |
|
67 | ||
|
68 | var mclock = clock*multiplier; | |
|
69 | ||
|
70 | var freq = binary2Freq(mclock, freq_bin); | |
|
71 | var freq_mod = binary2Freq(mclock, freq_mod_bin); | |
|
72 | ||
|
73 | $("#id_frequencyA_Mhz").val(freq); | |
|
74 | $("#id_frequencyB_Mhz").val(freq_mod); | |
|
75 | ||
|
76 | } | |
|
77 | ||
|
78 | function updateFrequencyDelta() { | |
|
79 | console.log("Ingreso a updateFrequencyDelta"); | |
|
80 | var clock = $("#id_clock").val(); | |
|
81 | var multiplier = $("#id_multiplier").val(); | |
|
82 | var freq_bin = $("#id_delta_frequency").val(); | |
|
83 | ||
|
84 | var mclock = clock*multiplier; | |
|
85 | ||
|
86 | var freq = binary2Freq(mclock, freq_bin); | |
|
87 | console.log(freq); | |
|
88 | $("#id_delta_frequency_Mhz").val(freq); | |
|
89 | } | |
|
90 | ||
|
91 | ||
|
92 | </script> | |
|
93 | {% endblock %} No newline at end of file |
@@ -0,0 +1,7 | |||
|
1 | {% extends "dev_conf_edit.html" %} | |
|
2 | {% load bootstrap4 %} | |
|
3 | {% load static %} | |
|
4 | {% load main_tags %} | |
|
5 | ||
|
6 | {% block extra-js%} | |
|
7 | {% endblock %} No newline at end of file |
@@ -0,0 +1,9 | |||
|
1 | from django.urls import path | |
|
2 | ||
|
3 | from . import views | |
|
4 | ||
|
5 | urlpatterns = ( | |
|
6 | path('<int:id_conf>/', views.dds_rest_conf, name='url_dds_rest_conf'), | |
|
7 | path('<int:id_conf>/<int:message>/', views.dds_rest_conf, name='url_dds_rest_conf'), | |
|
8 | path('<int:id_conf>/edit/', views.dds_rest_conf_edit, name='url_edit_dds_rest_conf'), | |
|
9 | ) |
@@ -0,0 +1,80 | |||
|
1 | # Create your views here. | |
|
2 | from django.shortcuts import redirect, render, get_object_or_404 | |
|
3 | ||
|
4 | # from apps.main.models import Experiment, Configuration | |
|
5 | from apps.main.views import sidebar | |
|
6 | ||
|
7 | from .models import DDSRestConfiguration | |
|
8 | from .forms import DDSRestConfigurationForm | |
|
9 | # Create your views here. | |
|
10 | ||
|
11 | def dds_rest_conf(request, id_conf): | |
|
12 | ||
|
13 | conf = get_object_or_404(DDSRestConfiguration, pk=id_conf) | |
|
14 | ||
|
15 | kwargs = {} | |
|
16 | ||
|
17 | kwargs['status'] = conf.device.get_status_display() | |
|
18 | ||
|
19 | # if not kwargs['connected']: | |
|
20 | # messages.error(request, message=answer) | |
|
21 | ||
|
22 | kwargs['dev_conf'] = conf | |
|
23 | kwargs['dev_conf_keys'] = [ | |
|
24 | 'clock', | |
|
25 | 'multiplier', | |
|
26 | 'frequencyA_Mhz', | |
|
27 | 'frequencyA', | |
|
28 | 'frequencyB_Mhz', | |
|
29 | 'frequencyB', | |
|
30 | 'delta_frequency_Mhz', | |
|
31 | 'delta_frequency', | |
|
32 | 'update_clock_Mhz', | |
|
33 | 'update_clock', | |
|
34 | 'ramp_rate_clock_Mhz', | |
|
35 | 'ramp_rate_clock', | |
|
36 | 'phaseA_degrees', | |
|
37 | 'phaseB_degrees', | |
|
38 | 'modulation', | |
|
39 | 'amplitude_enabled', | |
|
40 | 'amplitudeI', | |
|
41 | 'amplitudeQ'] | |
|
42 | ||
|
43 | kwargs['title'] = 'DDS Rest Configuration' | |
|
44 | kwargs['suptitle'] = 'Details' | |
|
45 | ||
|
46 | kwargs['button'] = 'Edit Configuration' | |
|
47 | ||
|
48 | ###### SIDEBAR ###### | |
|
49 | kwargs.update(sidebar(conf=conf)) | |
|
50 | ||
|
51 | return render(request, 'dds_rest_conf.html', kwargs) | |
|
52 | ||
|
53 | def dds_rest_conf_edit(request, id_conf): | |
|
54 | ||
|
55 | conf = get_object_or_404(DDSRestConfiguration, pk=id_conf) | |
|
56 | ||
|
57 | if request.method=='GET': | |
|
58 | form = DDSRestConfigurationForm(instance=conf) | |
|
59 | ||
|
60 | if request.method=='POST': | |
|
61 | form = DDSRestConfigurationForm(request.POST, instance=conf) | |
|
62 | ||
|
63 | if form.is_valid(): | |
|
64 | conf = form.save(commit=False) | |
|
65 | ||
|
66 | if conf.verify_frequencies(): | |
|
67 | ||
|
68 | conf.save() | |
|
69 | return redirect('url_dds_rest_conf', id_conf=conf.id) | |
|
70 | ||
|
71 | ##ERRORS | |
|
72 | ||
|
73 | kwargs = {} | |
|
74 | kwargs['id_dev'] = conf.id | |
|
75 | kwargs['form'] = form | |
|
76 | kwargs['title'] = 'Device Configuration' | |
|
77 | kwargs['suptitle'] = 'Edit' | |
|
78 | kwargs['button'] = 'Save' | |
|
79 | ||
|
80 | return render(request, 'dds_rest_conf_edit.html', kwargs) |
@@ -0,0 +1,5 | |||
|
1 | /*! | |
|
2 | * Datetimepicker for Bootstrap 3 | |
|
3 | * version : 4.17.47 | |
|
4 | * https://github.com/Eonasdan/bootstrap-datetimepicker/ | |
|
5 | */.bootstrap-datetimepicker-widget{list-style:none}.bootstrap-datetimepicker-widget.dropdown-menu{display:block;margin:2px 0;padding:4px;width:19em}@media (min-width:768px){.bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs{width:38em}}@media (min-width:992px){.bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs{width:38em}}@media (min-width:1200px){.bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs{width:38em}}.bootstrap-datetimepicker-widget.dropdown-menu:before,.bootstrap-datetimepicker-widget.dropdown-menu:after{content:'';display:inline-block;position:absolute}.bootstrap-datetimepicker-widget.dropdown-menu.bottom:before{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:rgba(0,0,0,0.2);top:-7px;left:7px}.bootstrap-datetimepicker-widget.dropdown-menu.bottom:after{border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid white;top:-6px;left:8px}.bootstrap-datetimepicker-widget.dropdown-menu.top:before{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #ccc;border-top-color:rgba(0,0,0,0.2);bottom:-7px;left:6px}.bootstrap-datetimepicker-widget.dropdown-menu.top:after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid white;bottom:-6px;left:7px}.bootstrap-datetimepicker-widget.dropdown-menu.pull-right:before{left:auto;right:6px}.bootstrap-datetimepicker-widget.dropdown-menu.pull-right:after{left:auto;right:7px}.bootstrap-datetimepicker-widget .list-unstyled{margin:0}.bootstrap-datetimepicker-widget a[data-action]{padding:6px 0}.bootstrap-datetimepicker-widget a[data-action]:active{box-shadow:none}.bootstrap-datetimepicker-widget .timepicker-hour,.bootstrap-datetimepicker-widget .timepicker-minute,.bootstrap-datetimepicker-widget .timepicker-second{width:54px;font-weight:bold;font-size:1.2em;margin:0}.bootstrap-datetimepicker-widget button[data-action]{padding:6px}.bootstrap-datetimepicker-widget .btn[data-action="incrementHours"]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;content:"Increment Hours"}.bootstrap-datetimepicker-widget .btn[data-action="incrementMinutes"]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;content:"Increment Minutes"}.bootstrap-datetimepicker-widget .btn[data-action="decrementHours"]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;content:"Decrement Hours"}.bootstrap-datetimepicker-widget .btn[data-action="decrementMinutes"]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;content:"Decrement Minutes"}.bootstrap-datetimepicker-widget .btn[data-action="showHours"]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;content:"Show Hours"}.bootstrap-datetimepicker-widget .btn[data-action="showMinutes"]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;content:"Show Minutes"}.bootstrap-datetimepicker-widget .btn[data-action="togglePeriod"]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;content:"Toggle AM/PM"}.bootstrap-datetimepicker-widget .btn[data-action="clear"]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;content:"Clear the picker"}.bootstrap-datetimepicker-widget .btn[data-action="today"]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;content:"Set the date to today"}.bootstrap-datetimepicker-widget .picker-switch{text-align:center}.bootstrap-datetimepicker-widget .picker-switch::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;content:"Toggle Date and Time Screens"}.bootstrap-datetimepicker-widget .picker-switch td{padding:0;margin:0;height:auto;width:auto;line-height:inherit}.bootstrap-datetimepicker-widget .picker-switch td span{line-height:2.5;height:2.5em;width:100%}.bootstrap-datetimepicker-widget table{width:100%;margin:0}.bootstrap-datetimepicker-widget table td,.bootstrap-datetimepicker-widget table th{text-align:center;border-radius:4px}.bootstrap-datetimepicker-widget table th{height:20px;line-height:20px;width:20px}.bootstrap-datetimepicker-widget table th.picker-switch{width:145px}.bootstrap-datetimepicker-widget table th.disabled,.bootstrap-datetimepicker-widget table th.disabled:hover{background:none;color:#777;cursor:not-allowed}.bootstrap-datetimepicker-widget table th.prev::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;content:"Previous Month"}.bootstrap-datetimepicker-widget table th.next::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;content:"Next Month"}.bootstrap-datetimepicker-widget table thead tr:first-child th{cursor:pointer}.bootstrap-datetimepicker-widget table thead tr:first-child th:hover{background:#eee}.bootstrap-datetimepicker-widget table td{height:54px;line-height:54px;width:54px}.bootstrap-datetimepicker-widget table td.cw{font-size:.8em;height:20px;line-height:20px;color:#777}.bootstrap-datetimepicker-widget table td.day{height:20px;line-height:20px;width:20px}.bootstrap-datetimepicker-widget table td.day:hover,.bootstrap-datetimepicker-widget table td.hour:hover,.bootstrap-datetimepicker-widget table td.minute:hover,.bootstrap-datetimepicker-widget table td.second:hover{background:#eee;cursor:pointer}.bootstrap-datetimepicker-widget table td.old,.bootstrap-datetimepicker-widget table td.new{color:#777}.bootstrap-datetimepicker-widget table td.today{position:relative}.bootstrap-datetimepicker-widget table td.today:before{content:'';display:inline-block;border:solid transparent;border-width:0 0 7px 7px;border-bottom-color:#337ab7;border-top-color:rgba(0,0,0,0.2);position:absolute;bottom:4px;right:4px}.bootstrap-datetimepicker-widget table td.active,.bootstrap-datetimepicker-widget table td.active:hover{background-color:#337ab7;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.bootstrap-datetimepicker-widget table td.active.today:before{border-bottom-color:#fff}.bootstrap-datetimepicker-widget table td.disabled,.bootstrap-datetimepicker-widget table td.disabled:hover{background:none;color:#777;cursor:not-allowed}.bootstrap-datetimepicker-widget table td span{display:inline-block;width:54px;height:54px;line-height:54px;margin:2px 1.5px;cursor:pointer;border-radius:4px}.bootstrap-datetimepicker-widget table td span:hover{background:#eee}.bootstrap-datetimepicker-widget table td span.active{background-color:#337ab7;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.bootstrap-datetimepicker-widget table td span.old{color:#777}.bootstrap-datetimepicker-widget table td span.disabled,.bootstrap-datetimepicker-widget table td span.disabled:hover{background:none;color:#777;cursor:not-allowed}.bootstrap-datetimepicker-widget.usetwentyfour td.hour{height:27px;line-height:27px}.bootstrap-datetimepicker-widget.wider{width:21em}.bootstrap-datetimepicker-widget .datepicker-decades .decade{line-height:1.8em !important}.input-group.date .input-group-addon{cursor:pointer}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0} No newline at end of file |
@@ -0,0 +1,5 | |||
|
1 | /*! | |
|
2 | * Datetimepicker for Bootstrap v3 | |
|
3 | * https://github.com/Eonasdan/bootstrap-datetimepicker/ | |
|
4 | */ | |
|
5 | .bootstrap-datetimepicker-widget{top:0;left:0;width:250px;padding:4px;margin-top:1px;z-index:99999!important;border-radius:4px}.bootstrap-datetimepicker-widget.timepicker-sbs{width:600px}.bootstrap-datetimepicker-widget.bottom:before{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:rgba(0,0,0,.2);position:absolute;top:-7px;left:7px}.bootstrap-datetimepicker-widget.bottom:after{content:'';display:inline-block;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #fff;position:absolute;top:-6px;left:8px}.bootstrap-datetimepicker-widget.top:before{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #ccc;border-top-color:rgba(0,0,0,.2);position:absolute;bottom:-7px;left:6px}.bootstrap-datetimepicker-widget.top:after{content:'';display:inline-block;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #fff;position:absolute;bottom:-6px;left:7px}.bootstrap-datetimepicker-widget .dow{width:14.2857%}.bootstrap-datetimepicker-widget.pull-right:before{left:auto;right:6px}.bootstrap-datetimepicker-widget.pull-right:after{left:auto;right:7px}.bootstrap-datetimepicker-widget>ul{list-style-type:none;margin:0}.bootstrap-datetimepicker-widget .timepicker-hour,.bootstrap-datetimepicker-widget .timepicker-minute,.bootstrap-datetimepicker-widget .timepicker-second{width:100%;font-weight:bold;font-size:1.2em}.bootstrap-datetimepicker-widget table[data-hour-format="12"] .separator{width:4px;padding:0;margin:0}.bootstrap-datetimepicker-widget .datepicker>div{display:none}.bootstrap-datetimepicker-widget .picker-switch{text-align:center}.bootstrap-datetimepicker-widget table{width:100%;margin:0}.bootstrap-datetimepicker-widget td,.bootstrap-datetimepicker-widget th{text-align:center;width:20px;height:20px;border-radius:4px}.bootstrap-datetimepicker-widget td.day:hover,.bootstrap-datetimepicker-widget td.hour:hover,.bootstrap-datetimepicker-widget td.minute:hover,.bootstrap-datetimepicker-widget td.second:hover{background:#eee;cursor:pointer}.bootstrap-datetimepicker-widget td.old,.bootstrap-datetimepicker-widget td.new{color:#999}.bootstrap-datetimepicker-widget td.today{position:relative}.bootstrap-datetimepicker-widget td.today:before{content:'';display:inline-block;border-left:7px solid transparent;border-bottom:7px solid #428bca;border-top-color:rgba(0,0,0,.2);position:absolute;bottom:4px;right:4px}.bootstrap-datetimepicker-widget td.active,.bootstrap-datetimepicker-widget td.active:hover{background-color:#428bca;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.bootstrap-datetimepicker-widget td.active.today:before{border-bottom-color:#fff}.bootstrap-datetimepicker-widget td.disabled,.bootstrap-datetimepicker-widget td.disabled:hover{background:none;color:#999;cursor:not-allowed}.bootstrap-datetimepicker-widget td span{display:block;width:47px;height:54px;line-height:54px;float:left;margin:2px;cursor:pointer;border-radius:4px}.bootstrap-datetimepicker-widget td span:hover{background:#eee}.bootstrap-datetimepicker-widget td span.active{background-color:#428bca;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.bootstrap-datetimepicker-widget td span.old{color:#999}.bootstrap-datetimepicker-widget td span.disabled,.bootstrap-datetimepicker-widget td span.disabled:hover{background:none;color:#999;cursor:not-allowed}.bootstrap-datetimepicker-widget th.switch{width:145px}.bootstrap-datetimepicker-widget th.next,.bootstrap-datetimepicker-widget th.prev{font-size:21px}.bootstrap-datetimepicker-widget th.disabled,.bootstrap-datetimepicker-widget th.disabled:hover{background:none;color:#999;cursor:not-allowed}.bootstrap-datetimepicker-widget thead tr:first-child th{cursor:pointer}.bootstrap-datetimepicker-widget thead tr:first-child th:hover{background:#eee}.input-group.date .input-group-addon span{display:block;cursor:pointer;width:16px;height:16px}.bootstrap-datetimepicker-widget.left-oriented:before{left:auto;right:6px}.bootstrap-datetimepicker-widget.left-oriented:after{left:auto;right:7px}.bootstrap-datetimepicker-widget ul.list-unstyled li div.timepicker div.timepicker-picker table.table-condensed tbody>tr>td{padding:0!important} No newline at end of file |
@@ -0,0 +1,11 | |||
|
1 | @import url('fonts.googleapi.css');/*! | |
|
2 | * bootswatch v3.3.5 | |
|
3 | * Homepage: http://bootswatch.com | |
|
4 | * Copyright 2012-2015 Thomas Park | |
|
5 | * Licensed under MIT | |
|
6 | * Based on Bootstrap | |
|
7 | *//*! | |
|
8 | * Bootstrap v3.3.5 (http://getbootstrap.com) | |
|
9 | * Copyright 2011-2015 Twitter, Inc. | |
|
10 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | |
|
11 | *//*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,:after,:before{background:0 0!important;color:#000!important;-webkit-box-shadow:none!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}}@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff2) format('woff2'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"\2a"}.glyphicon-plus:before{content:"\2b"}.glyphicon-eur:before,.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.glyphicon-cd:before{content:"\e201"}.glyphicon-save-file:before{content:"\e202"}.glyphicon-open-file:before{content:"\e203"}.glyphicon-level-up:before{content:"\e204"}.glyphicon-copy:before{content:"\e205"}.glyphicon-paste:before{content:"\e206"}.glyphicon-alert:before{content:"\e209"}.glyphicon-equalizer:before{content:"\e210"}.glyphicon-king:before{content:"\e211"}.glyphicon-queen:before{content:"\e212"}.glyphicon-pawn:before{content:"\e213"}.glyphicon-bishop:before{content:"\e214"}.glyphicon-knight:before{content:"\e215"}.glyphicon-baby-formula:before{content:"\e216"}.glyphicon-tent:before{content:"\26fa"}.glyphicon-blackboard:before{content:"\e218"}.glyphicon-bed:before{content:"\e219"}.glyphicon-apple:before{content:"\f8ff"}.glyphicon-erase:before{content:"\e221"}.glyphicon-hourglass:before{content:"\231b"}.glyphicon-lamp:before{content:"\e223"}.glyphicon-duplicate:before{content:"\e224"}.glyphicon-piggy-bank:before{content:"\e225"}.glyphicon-scissors:before{content:"\e226"}.glyphicon-bitcoin:before{content:"\e227"}.glyphicon-btc:before{content:"\e227"}.glyphicon-xbt:before{content:"\e227"}.glyphicon-yen:before{content:"\00a5"}.glyphicon-jpy:before{content:"\00a5"}.glyphicon-ruble:before{content:"\20bd"}.glyphicon-rub:before{content:"\20bd"}.glyphicon-scale:before{content:"\e230"}.glyphicon-ice-lolly:before{content:"\e231"}.glyphicon-ice-lolly-tasted:before{content:"\e232"}.glyphicon-education:before{content:"\e233"}.glyphicon-option-horizontal:before{content:"\e234"}.glyphicon-option-vertical:before{content:"\e235"}.glyphicon-menu-hamburger:before{content:"\e236"}.glyphicon-modal-window:before{content:"\e237"}.glyphicon-oil:before{content:"\e238"}.glyphicon-grain:before{content:"\e239"}.glyphicon-sunglasses:before{content:"\e240"}.glyphicon-text-size:before{content:"\e241"}.glyphicon-text-color:before{content:"\e242"}.glyphicon-text-background:before{content:"\e243"}.glyphicon-object-align-top:before{content:"\e244"}.glyphicon-object-align-bottom:before{content:"\e245"}.glyphicon-object-align-horizontal:before{content:"\e246"}.glyphicon-object-align-left:before{content:"\e247"}.glyphicon-object-align-vertical:before{content:"\e248"}.glyphicon-object-align-right:before{content:"\e249"}.glyphicon-triangle-right:before{content:"\e250"}.glyphicon-triangle-left:before{content:"\e251"}.glyphicon-triangle-bottom:before{content:"\e252"}.glyphicon-triangle-top:before{content:"\e253"}.glyphicon-console:before{content:"\e254"}.glyphicon-superscript:before{content:"\e255"}.glyphicon-subscript:before{content:"\e256"}.glyphicon-menu-left:before{content:"\e257"}.glyphicon-menu-right:before{content:"\e258"}.glyphicon-menu-down:before{content:"\e259"}.glyphicon-menu-up:before{content:"\e260"}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:transparent}body{font-family:"Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;color:#222;background-color:#fff}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#008cba;text-decoration:none}a:focus,a:hover{color:#008cba;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.carousel-inner>.item>a>img,.carousel-inner>.item>img,.img-responsive,.thumbnail a>img,.thumbnail>img{display:block;max-width:100%;height:auto}.img-rounded{border-radius:0}.img-thumbnail{padding:4px;line-height:1.4;background-color:#fff;border:1px solid #ddd;border-radius:0;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{margin-top:21px;margin-bottom:21px;border:0;border-top:1px solid #ddd}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role=button]{cursor:pointer}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:"Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:300;line-height:1.1;color:inherit}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;color:#999}.h1,.h2,.h3,h1,h2,h3{margin-top:21px;margin-bottom:10.5px}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small{font-size:65%}.h4,.h5,.h6,h4,h5,h6{margin-top:10.5px;margin-bottom:10.5px}.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-size:75%}.h1,h1{font-size:39px}.h2,h2{font-size:32px}.h3,h3{font-size:26px}.h4,h4{font-size:19px}.h5,h5{font-size:15px}.h6,h6{font-size:13px}p{margin:0 0 10.5px}.lead{margin-bottom:21px;font-size:17px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:22.5px}}.small,small{font-size:80%}.mark,mark{background-color:#fcf8e3;padding:.2em}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#999}.text-primary{color:#008cba}a.text-primary:focus,a.text-primary:hover{color:#006687}.text-success{color:#43ac6a}a.text-success:focus,a.text-success:hover{color:#358753}.text-info{color:#5bc0de}a.text-info:focus,a.text-info:hover{color:#31b0d5}.text-warning{color:#e99002}a.text-warning:focus,a.text-warning:hover{color:#b67102}.text-danger{color:#f04124}a.text-danger:focus,a.text-danger:hover{color:#d32a0e}.bg-primary{color:#fff;background-color:#008cba}a.bg-primary:focus,a.bg-primary:hover{background-color:#006687}.bg-success{background-color:#dff0d8}a.bg-success:focus,a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:focus,a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:focus,a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:focus,a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:9.5px;margin:42px 0 21px;border-bottom:1px solid #ddd}ol,ul{margin-top:0;margin-bottom:10.5px}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none;margin-left:-5px}.list-inline>li{display:inline-block;padding-left:5px;padding-right:5px}dl{margin-top:0;margin-bottom:21px}dd,dt{line-height:1.4}dt{font-weight:700}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #999}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10.5px 21px;margin:0 0 21px;font-size:18.75px;border-left:5px solid #ddd}blockquote ol:last-child,blockquote p:last-child,blockquote ul:last-child{margin-bottom:0}blockquote .small,blockquote footer,blockquote small{display:block;font-size:80%;line-height:1.4;color:#6f6f6f}blockquote .small:before,blockquote footer:before,blockquote small:before{content:'\2014 \00A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #ddd;border-left:0;text-align:right}.blockquote-reverse .small:before,.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:''}.blockquote-reverse .small:after,.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:'\00A0 \2014'}address{margin-bottom:21px;font-style:normal;line-height:1.4}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;border-radius:0}kbd{padding:2px 4px;font-size:90%;color:#fff;background-color:#333;border-radius:0;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;font-weight:700;-webkit-box-shadow:none;box-shadow:none}pre{display:block;padding:10px;margin:0 0 10.5px;font-size:14px;line-height:1.4;word-break:break-all;word-wrap:break-word;color:#333;background-color:#f5f5f5;border:1px solid #ccc;border-radius:0}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.row{margin-left:-15px;margin-right:-15px}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-left:15px;padding-right:15px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}table{background-color:transparent}caption{padding-top:8px;padding-bottom:8px;color:#999;text-align:left}th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:21px}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:8px;line-height:1.4;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border:1px solid #ddd}.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:hover{background-color:#f5f5f5}table col[class*=col-]{position:static;float:none;display:table-column}table td[class*=col-],table th[class*=col-]{position:static;float:none;display:table-cell}.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#f5f5f5}.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover{background-color:#e8e8e8}.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#dff0d8}.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover{background-color:#d0e9c6}.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info{background-color:#d9edf7}.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover{background-color:#c4e3f3}.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>thead>tr>td.warning,.table>thead>tr>th.warning{background-color:#fcf8e3}.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover{background-color:#faf2cc}.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger{background-color:#f2dede}.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover{background-color:#ebcccc}.table-responsive{overflow-x:auto;min-height:.01%}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:15.75px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}fieldset{padding:0;margin:0;border:0;min-width:0}legend{display:block;width:100%;padding:0;margin-bottom:21px;font-size:22.5px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=checkbox],input[type=radio]{margin:4px 0 0;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=checkbox]:focus,input[type=file]:focus,input[type=radio]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{display:block;padding-top:9px;font-size:15px;line-height:1.4;color:#6f6f6f}.form-control{display:block;width:100%;height:39px;padding:8px 12px;font-size:15px;line-height:1.4;color:#6f6f6f;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control: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,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#eee;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}input[type=search]{-webkit-appearance:none}@media screen and (-webkit-min-device-pixel-ratio:0){input[type=date].form-control,input[type=datetime-local].form-control,input[type=month].form-control,input[type=time].form-control{line-height:39px}.input-group-sm input[type=date],.input-group-sm input[type=datetime-local],.input-group-sm input[type=month],.input-group-sm input[type=time],input[type=date].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm,input[type=time].input-sm{line-height:36px}.input-group-lg input[type=date],.input-group-lg input[type=datetime-local],.input-group-lg input[type=month],.input-group-lg input[type=time],input[type=date].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg,input[type=time].input-lg{line-height:60px}}.form-group{margin-bottom:15px}.checkbox,.radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}.checkbox label,.radio label{min-height:21px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.checkbox input[type=checkbox],.checkbox-inline input[type=checkbox],.radio input[type=radio],.radio-inline input[type=radio]{position:absolute;margin-left:-20px}.checkbox+.checkbox,.radio+.radio{margin-top:-5px}.checkbox-inline,.radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;vertical-align:middle;font-weight:400;cursor:pointer}.checkbox-inline+.checkbox-inline,.radio-inline+.radio-inline{margin-top:0;margin-left:10px}fieldset[disabled] input[type=checkbox],fieldset[disabled] input[type=radio],input[type=checkbox].disabled,input[type=checkbox][disabled],input[type=radio].disabled,input[type=radio][disabled]{cursor:not-allowed}.checkbox-inline.disabled,.radio-inline.disabled,fieldset[disabled] .checkbox-inline,fieldset[disabled] .radio-inline{cursor:not-allowed}.checkbox.disabled label,.radio.disabled label,fieldset[disabled] .checkbox label,fieldset[disabled] .radio label{cursor:not-allowed}.form-control-static{padding-top:9px;padding-bottom:9px;margin-bottom:0;min-height:36px}.form-control-static.input-lg,.form-control-static.input-sm{padding-left:0;padding-right:0}.input-sm{height:36px;padding:8px 12px;font-size:12px;line-height:1.5;border-radius:0}select.input-sm{height:36px;line-height:36px}select[multiple].input-sm,textarea.input-sm{height:auto}.form-group-sm .form-control{height:36px;padding:8px 12px;font-size:12px;line-height:1.5;border-radius:0}.form-group-sm select.form-control{height:36px;line-height:36px}.form-group-sm select[multiple].form-control,.form-group-sm textarea.form-control{height:auto}.form-group-sm .form-control-static{height:36px;min-height:33px;padding:9px 12px;font-size:12px;line-height:1.5}.input-lg{height:60px;padding:16px 20px;font-size:19px;line-height:1.3333333;border-radius:0}select.input-lg{height:60px;line-height:60px}select[multiple].input-lg,textarea.input-lg{height:auto}.form-group-lg .form-control{height:60px;padding:16px 20px;font-size:19px;line-height:1.3333333;border-radius:0}.form-group-lg select.form-control{height:60px;line-height:60px}.form-group-lg select[multiple].form-control,.form-group-lg textarea.form-control{height:auto}.form-group-lg .form-control-static{height:60px;min-height:40px;padding:17px 20px;font-size:19px;line-height:1.3333333}.has-feedback{position:relative}.has-feedback .form-control{padding-right:48.75px}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:39px;height:39px;line-height:39px;text-align:center;pointer-events:none}.form-group-lg .form-control+.form-control-feedback,.input-group-lg+.form-control-feedback,.input-lg+.form-control-feedback{width:60px;height:60px;line-height:60px}.form-group-sm .form-control+.form-control-feedback,.input-group-sm+.form-control-feedback,.input-sm+.form-control-feedback{width:36px;height:36px;line-height:36px}.has-success .checkbox,.has-success .checkbox-inline,.has-success .control-label,.has-success .help-block,.has-success .radio,.has-success .radio-inline,.has-success.checkbox label,.has-success.checkbox-inline label,.has-success.radio label,.has-success.radio-inline label{color:#43ac6a}.has-success .form-control{border-color:#43ac6a;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#358753;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #85d0a1;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #85d0a1}.has-success .input-group-addon{color:#43ac6a;border-color:#43ac6a;background-color:#dff0d8}.has-success .form-control-feedback{color:#43ac6a}.has-warning .checkbox,.has-warning .checkbox-inline,.has-warning .control-label,.has-warning .help-block,.has-warning .radio,.has-warning .radio-inline,.has-warning.checkbox label,.has-warning.checkbox-inline label,.has-warning.radio label,.has-warning.radio-inline label{color:#e99002}.has-warning .form-control{border-color:#e99002;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#b67102;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #febc53;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #febc53}.has-warning .input-group-addon{color:#e99002;border-color:#e99002;background-color:#fcf8e3}.has-warning .form-control-feedback{color:#e99002}.has-error .checkbox,.has-error .checkbox-inline,.has-error .control-label,.has-error .help-block,.has-error .radio,.has-error .radio-inline,.has-error.checkbox label,.has-error.checkbox-inline label,.has-error.radio label,.has-error.radio-inline label{color:#f04124}.has-error .form-control{border-color:#f04124;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#d32a0e;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #f79483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #f79483}.has-error .input-group-addon{color:#f04124;border-color:#f04124;background-color:#f2dede}.has-error .form-control-feedback{color:#f04124}.has-feedback label~.form-control-feedback{top:26px}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#626262}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .form-control,.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .checkbox,.form-inline .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .checkbox label,.form-inline .radio label{padding-left:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .checkbox,.form-horizontal .checkbox-inline,.form-horizontal .radio,.form-horizontal .radio-inline{margin-top:0;margin-bottom:0;padding-top:9px}.form-horizontal .checkbox,.form-horizontal .radio{min-height:30px}.form-horizontal .form-group{margin-left:-15px;margin-right:-15px}@media (min-width:768px){.form-horizontal .control-label{text-align:right;margin-bottom:0;padding-top:9px}}.form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){.form-horizontal .form-group-lg .control-label{padding-top:22.3333328px;font-size:19px}}@media (min-width:768px){.form-horizontal .form-group-sm .control-label{padding-top:9px;font-size:12px}}.btn{display:inline-block;margin-bottom:0;font-weight:400;text-align:center;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:8px 12px;font-size:15px;line-height:1.4;border-radius:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.focus,.btn:focus,.btn:hover{color:#333;text-decoration:none}.btn.active,.btn:active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;opacity:.65;-webkit-box-shadow:none;box-shadow:none}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-default{color:#333;background-color:#e7e7e7;border-color:#ccc}.btn-default.focus,.btn-default:focus{color:#333;background-color:#cecece;border-color:#8c8c8c}.btn-default:hover{color:#333;background-color:#cecece;border-color:#adadad}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{color:#333;background-color:#cecece;border-color:#adadad}.btn-default.active.focus,.btn-default.active:focus,.btn-default.active:hover,.btn-default:active.focus,.btn-default:active:focus,.btn-default:active:hover,.open>.dropdown-toggle.btn-default.focus,.open>.dropdown-toggle.btn-default:focus,.open>.dropdown-toggle.btn-default:hover{color:#333;background-color:#bcbcbc;border-color:#8c8c8c}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default.disabled.active,.btn-default.disabled.focus,.btn-default.disabled:active,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled],.btn-default[disabled].active,.btn-default[disabled].focus,.btn-default[disabled]:active,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default,fieldset[disabled] .btn-default.active,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:active,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#e7e7e7;border-color:#ccc}.btn-default .badge{color:#e7e7e7;background-color:#333}.btn-primary{color:#fff;background-color:#008cba;border-color:#0079a1}.btn-primary.focus,.btn-primary:focus{color:#fff;background-color:#006687;border-color:#001921}.btn-primary:hover{color:#fff;background-color:#006687;border-color:#004b63}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#006687;border-color:#004b63}.btn-primary.active.focus,.btn-primary.active:focus,.btn-primary.active:hover,.btn-primary:active.focus,.btn-primary:active:focus,.btn-primary:active:hover,.open>.dropdown-toggle.btn-primary.focus,.open>.dropdown-toggle.btn-primary:focus,.open>.dropdown-toggle.btn-primary:hover{color:#fff;background-color:#004b63;border-color:#001921}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary.disabled.active,.btn-primary.disabled.focus,.btn-primary.disabled:active,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled],.btn-primary[disabled].active,.btn-primary[disabled].focus,.btn-primary[disabled]:active,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary,fieldset[disabled] .btn-primary.active,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:active,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#008cba;border-color:#0079a1}.btn-primary .badge{color:#008cba;background-color:#fff}.btn-success{color:#fff;background-color:#43ac6a;border-color:#3c9a5f}.btn-success.focus,.btn-success:focus{color:#fff;background-color:#358753;border-color:#183e26}.btn-success:hover{color:#fff;background-color:#358753;border-color:#2b6e44}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#358753;border-color:#2b6e44}.btn-success.active.focus,.btn-success.active:focus,.btn-success.active:hover,.btn-success:active.focus,.btn-success:active:focus,.btn-success:active:hover,.open>.dropdown-toggle.btn-success.focus,.open>.dropdown-toggle.btn-success:focus,.open>.dropdown-toggle.btn-success:hover{color:#fff;background-color:#2b6e44;border-color:#183e26}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled,.btn-success.disabled.active,.btn-success.disabled.focus,.btn-success.disabled:active,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled],.btn-success[disabled].active,.btn-success[disabled].focus,.btn-success[disabled]:active,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success,fieldset[disabled] .btn-success.active,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:active,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#43ac6a;border-color:#3c9a5f}.btn-success .badge{color:#43ac6a;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info.focus,.btn-info:focus{color:#fff;background-color:#31b0d5;border-color:#1b6d85}.btn-info:hover{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active.focus,.btn-info.active:focus,.btn-info.active:hover,.btn-info:active.focus,.btn-info:active:focus,.btn-info:active:hover,.open>.dropdown-toggle.btn-info.focus,.open>.dropdown-toggle.btn-info:focus,.open>.dropdown-toggle.btn-info:hover{color:#fff;background-color:#269abc;border-color:#1b6d85}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info.disabled.active,.btn-info.disabled.focus,.btn-info.disabled:active,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled],.btn-info[disabled].active,.btn-info[disabled].focus,.btn-info[disabled]:active,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info,fieldset[disabled] .btn-info.active,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:active,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#e99002;border-color:#d08002}.btn-warning.focus,.btn-warning:focus{color:#fff;background-color:#b67102;border-color:#513201}.btn-warning:hover{color:#fff;background-color:#b67102;border-color:#935b01}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{color:#fff;background-color:#b67102;border-color:#935b01}.btn-warning.active.focus,.btn-warning.active:focus,.btn-warning.active:hover,.btn-warning:active.focus,.btn-warning:active:focus,.btn-warning:active:hover,.open>.dropdown-toggle.btn-warning.focus,.open>.dropdown-toggle.btn-warning:focus,.open>.dropdown-toggle.btn-warning:hover{color:#fff;background-color:#935b01;border-color:#513201}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning.disabled.active,.btn-warning.disabled.focus,.btn-warning.disabled:active,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled],.btn-warning[disabled].active,.btn-warning[disabled].focus,.btn-warning[disabled]:active,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning,fieldset[disabled] .btn-warning.active,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:active,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#e99002;border-color:#d08002}.btn-warning .badge{color:#e99002;background-color:#fff}.btn-danger{color:#fff;background-color:#f04124;border-color:#ea2f10}.btn-danger.focus,.btn-danger:focus{color:#fff;background-color:#d32a0e;border-color:#731708}.btn-danger:hover{color:#fff;background-color:#d32a0e;border-color:#b1240c}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{color:#fff;background-color:#d32a0e;border-color:#b1240c}.btn-danger.active.focus,.btn-danger.active:focus,.btn-danger.active:hover,.btn-danger:active.focus,.btn-danger:active:focus,.btn-danger:active:hover,.open>.dropdown-toggle.btn-danger.focus,.open>.dropdown-toggle.btn-danger:focus,.open>.dropdown-toggle.btn-danger:hover{color:#fff;background-color:#b1240c;border-color:#731708}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger.disabled.active,.btn-danger.disabled.focus,.btn-danger.disabled:active,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled],.btn-danger[disabled].active,.btn-danger[disabled].focus,.btn-danger[disabled]:active,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger,fieldset[disabled] .btn-danger.active,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:active,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#f04124;border-color:#ea2f10}.btn-danger .badge{color:#f04124;background-color:#fff}.btn-link{color:#008cba;font-weight:400;border-radius:0}.btn-link,.btn-link.active,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover{border-color:transparent}.btn-link:focus,.btn-link:hover{color:#008cba;text-decoration:underline;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover,fieldset[disabled] .btn-link:focus,fieldset[disabled] .btn-link:hover{color:#999;text-decoration:none}.btn-group-lg>.btn,.btn-lg{padding:16px 20px;font-size:19px;line-height:1.3333333;border-radius:0}.btn-group-sm>.btn,.btn-sm{padding:8px 12px;font-size:12px;line-height:1.5;border-radius:0}.btn-group-xs>.btn,.btn-xs{padding:4px 6px;font-size:12px;line-height:1.5;border-radius:0}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-property:height,visibility;-o-transition-property:height,visibility;transition-property:height,visibility;-webkit-transition-duration:.35s;-o-transition-duration:.35s;transition-duration:.35s;-webkit-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown,.dropup{position:relative}.dropdown-toggle:focus{outline:0}.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:15px;text-align:left;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:0;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);-webkit-background-clip:padding-box;background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9.5px 0;overflow:hidden;background-color:rgba(0,0,0,.2)}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.4;color:#555;white-space:nowrap}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{text-decoration:none;color:#262626;background-color:#eee}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;outline:0;background-color:#008cba}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{color:#999}.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{text-decoration:none;background-color:transparent;background-image:none;cursor:not-allowed}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{left:auto;right:0}.dropdown-menu-left{left:0;right:auto}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.4;color:#999;white-space:nowrap}.dropdown-backdrop{position:fixed;left:0;right:0;bottom:0;top:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px dashed;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:768px){.navbar-right .dropdown-menu{left:auto;right:0}.navbar-right .dropdown-menu-left{left:0;right:auto}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;float:left}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn,.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-left:8px;padding-right:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-left:12px;padding-right:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-bottom-left-radius:0;border-top-right-radius:0;border-top-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{float:none;display:table-cell;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio],[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-left:0;padding-right:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:60px;padding:16px 20px;font-size:19px;line-height:1.3333333;border-radius:0}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:60px;line-height:60px}select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn,textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:36px;padding:8px 12px;font-size:12px;line-height:1.5;border-radius:0}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:36px;line-height:36px}select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn,textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group .form-control,.input-group-addon,.input-group-btn{display:table-cell}.input-group .form-control:not(:first-child):not(:last-child),.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:8px 12px;font-size:15px;font-weight:400;line-height:1;color:#6f6f6f;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:0}.input-group-addon.input-sm{padding:8px 12px;font-size:12px;border-radius:0}.input-group-addon.input-lg{padding:16px 20px;font-size:19px;border-radius:0}.input-group-addon input[type=checkbox],.input-group-addon input[type=radio]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn-group:not(:last-child)>.btn,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:first-child>.btn-group:not(:first-child)>.btn,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle{border-bottom-left-radius:0;border-top-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:active,.input-group-btn>.btn:focus,.input-group-btn>.btn:hover{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{z-index:2;margin-left:-1px}.nav{margin-bottom:0;padding-left:0;list-style:none}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#999}.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{color:#999;text-decoration:none;background-color:transparent;cursor:not-allowed}.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{background-color:#eee;border-color:#008cba}.nav .nav-divider{height:1px;margin:9.5px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.4;border:1px solid transparent;border-radius:0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{color:#6f6f6f;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent;cursor:default}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{text-align:center;margin-bottom:5px}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:0}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:focus,.nav-pills>li.active>a:hover{color:#fff;background-color:#008cba}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{text-align:center;margin-bottom:5px}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.navbar{position:relative;min-height:54px;margin-bottom:21px;border:1px solid transparent}@media (min-width:768px){.navbar{border-radius:0}}@media (min-width:768px){.navbar-header{float:left}}.navbar-collapse{overflow-x:visible;padding-right:15px;padding-left:15px;border-top:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1);-webkit-overflow-scrolling:touch}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;-webkit-box-shadow:none;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse{padding-left:0;padding-right:0}}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:340px}@media (max-device-width:480px) and (orientation:landscape){.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:200px}}.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-bottom,.navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-bottom,.navbar-fixed-top{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;padding:15px 15px;font-size:19px;line-height:21px;height:54px}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-brand>img{display:block}@media (min-width:768px){.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;margin-right:15px;padding:9px 10px;margin-top:5.5px;margin-bottom:5.5px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:0}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:6px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:21px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:21px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:18px;padding-bottom:16px}}.navbar-form{margin-left:-15px;margin-right:-15px;padding:10px 15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);margin-top:3px;margin-bottom:3px}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .form-control-static{display:inline-block}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .form-control,.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .checkbox label,.navbar-form .radio label{padding-left:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}.navbar-form .form-group:last-child{margin-bottom:0}}@media (min-width:768px){.navbar-form{width:auto;border:0;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;-webkit-box-shadow:none;box-shadow:none}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;border-top-right-radius:0;border-top-left-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:3px;margin-bottom:3px}.navbar-btn.btn-sm{margin-top:4.5px;margin-bottom:4.5px}.navbar-btn.btn-xs{margin-top:11.5px;margin-bottom:11.5px}.navbar-text{margin-top:12px;margin-bottom:12px}@media (min-width:768px){.navbar-text{float:left;margin-left:15px;margin-right:15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important;margin-right:-15px}.navbar-right~.navbar-right{margin-right:0}}.navbar-default{background-color:#333;border-color:#222}.navbar-default .navbar-brand{color:#fff}.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover{color:#fff;background-color:transparent}.navbar-default .navbar-text{color:#fff}.navbar-default .navbar-nav>li>a{color:#fff}.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover{color:#fff;background-color:#272727}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover{color:#fff;background-color:#272727}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:focus,.navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:transparent}.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover{background-color:transparent}.navbar-default .navbar-toggle .icon-bar{background-color:#fff}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#222}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover{background-color:#272727;color:#fff}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#fff}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:#272727}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#272727}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#fff}.navbar-default .navbar-link:hover{color:#fff}.navbar-default .btn-link{color:#fff}.navbar-default .btn-link:focus,.navbar-default .btn-link:hover{color:#fff}.navbar-default .btn-link[disabled]:focus,.navbar-default .btn-link[disabled]:hover,fieldset[disabled] .navbar-default .btn-link:focus,fieldset[disabled] .navbar-default .btn-link:hover{color:#ccc}.navbar-inverse{background-color:#008cba;border-color:#006687}.navbar-inverse .navbar-brand{color:#fff}.navbar-inverse .navbar-brand:focus,.navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#fff}.navbar-inverse .navbar-nav>li>a{color:#fff}.navbar-inverse .navbar-nav>li>a:focus,.navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:#006687}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:focus,.navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#006687}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:focus,.navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:transparent}.navbar-inverse .navbar-toggle:focus,.navbar-inverse .navbar-toggle:hover{background-color:transparent}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#007196}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:focus,.navbar-inverse .navbar-nav>.open>a:hover{background-color:#006687;color:#fff}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#006687}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#006687}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#fff}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:#006687}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#006687}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#fff}.navbar-inverse .navbar-link:hover{color:#fff}.navbar-inverse .btn-link{color:#fff}.navbar-inverse .btn-link:focus,.navbar-inverse .btn-link:hover{color:#fff}.navbar-inverse .btn-link[disabled]:focus,.navbar-inverse .btn-link[disabled]:hover,fieldset[disabled] .navbar-inverse .btn-link:focus,fieldset[disabled] .navbar-inverse .btn-link:hover{color:#444}.breadcrumb{padding:8px 15px;margin-bottom:21px;list-style:none;background-color:#f5f5f5;border-radius:0}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{content:"/\00a0";padding:0 5px;color:#999}.breadcrumb>.active{color:#333}.pagination{display:inline-block;padding-left:0;margin:21px 0;border-radius:0}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:8px 12px;line-height:1.4;text-decoration:none;color:#008cba;background-color:transparent;border:1px solid transparent;margin-left:-1px}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:0;border-top-left-radius:0}.pagination>li:last-child>a,.pagination>li:last-child>span{border-bottom-right-radius:0;border-top-right-radius:0}.pagination>li>a:focus,.pagination>li>a:hover,.pagination>li>span:focus,.pagination>li>span:hover{z-index:3;color:#008cba;background-color:#eee;border-color:transparent}.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover{z-index:2;color:#fff;background-color:#008cba;border-color:transparent;cursor:default}.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover{color:#999;background-color:#fff;border-color:transparent;cursor:not-allowed}.pagination-lg>li>a,.pagination-lg>li>span{padding:16px 20px;font-size:19px;line-height:1.3333333}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-bottom-left-radius:0;border-top-left-radius:0}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-bottom-right-radius:0;border-top-right-radius:0}.pagination-sm>li>a,.pagination-sm>li>span{padding:8px 12px;font-size:12px;line-height:1.5}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-bottom-left-radius:0;border-top-left-radius:0}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-bottom-right-radius:0;border-top-right-radius:0}.pager{padding-left:0;margin:21px 0;list-style:none;text-align:center}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:transparent;border:1px solid transparent;border-radius:3px}.pager li>a:focus,.pager li>a:hover{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:focus,.pager .disabled>a:hover,.pager .disabled>span{color:#999;background-color:transparent;cursor:not-allowed}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}a.label:focus,a.label:hover{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#999}.label-default[href]:focus,.label-default[href]:hover{background-color:grey}.label-primary{background-color:#008cba}.label-primary[href]:focus,.label-primary[href]:hover{background-color:#006687}.label-success{background-color:#43ac6a}.label-success[href]:focus,.label-success[href]:hover{background-color:#358753}.label-info{background-color:#5bc0de}.label-info[href]:focus,.label-info[href]:hover{background-color:#31b0d5}.label-warning{background-color:#e99002}.label-warning[href]:focus,.label-warning[href]:hover{background-color:#b67102}.label-danger{background-color:#f04124}.label-danger[href]:focus,.label-danger[href]:hover{background-color:#d32a0e}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;color:#fff;line-height:1;vertical-align:middle;white-space:nowrap;text-align:center;background-color:#008cba;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-group-xs>.btn .badge,.btn-xs .badge{top:0;padding:1px 5px}a.badge:focus,a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#008cba;background-color:#fff}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding-top:30px;padding-bottom:30px;margin-bottom:30px;color:inherit;background-color:#fafafa}.jumbotron .h1,.jumbotron h1{color:inherit}.jumbotron p{margin-bottom:15px;font-size:23px;font-weight:200}.jumbotron>hr{border-top-color:#e1e1e1}.container .jumbotron,.container-fluid .jumbotron{border-radius:0}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron,.container-fluid .jumbotron{padding-left:60px;padding-right:60px}.jumbotron .h1,.jumbotron h1{font-size:68px}}.thumbnail{display:block;padding:4px;margin-bottom:21px;line-height:1.4;background-color:#fff;border:1px solid #ddd;border-radius:0;-webkit-transition:border .2s ease-in-out;-o-transition:border .2s ease-in-out;transition:border .2s ease-in-out}.thumbnail a>img,.thumbnail>img{margin-left:auto;margin-right:auto}a.thumbnail.active,a.thumbnail:focus,a.thumbnail:hover{border-color:#008cba}.thumbnail .caption{padding:9px;color:#222}.alert{padding:15px;margin-bottom:21px;border:1px solid transparent;border-radius:0}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{background-color:#43ac6a;border-color:#3c9a5f;color:#fff}.alert-success hr{border-top-color:#358753}.alert-success .alert-link{color:#e6e6e6}.alert-info{background-color:#5bc0de;border-color:#3db5d8;color:#fff}.alert-info hr{border-top-color:#2aabd2}.alert-info .alert-link{color:#e6e6e6}.alert-warning{background-color:#e99002;border-color:#d08002;color:#fff}.alert-warning hr{border-top-color:#b67102}.alert-warning .alert-link{color:#e6e6e6}.alert-danger{background-color:#f04124;border-color:#ea2f10;color:#fff}.alert-danger hr{border-top-color:#d32a0e}.alert-danger .alert-link{color:#e6e6e6}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{overflow:hidden;height:21px;margin-bottom:21px;background-color:#f5f5f5;border-radius:0;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress-bar{float:left;width:0%;height:100%;font-size:12px;line-height:21px;color:#fff;text-align:center;background-color:#008cba;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.progress-bar-striped,.progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;background-size:40px 40px}.progress-bar.active,.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#43ac6a}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#e99002}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#f04124}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.media{margin-top:15px}.media:first-child{margin-top:0}.media,.media-body{zoom:1;overflow:hidden}.media-body{width:10000px}.media-object{display:block}.media-object.img-thumbnail{max-width:none}.media-right,.media>.pull-right{padding-left:10px}.media-left,.media>.pull-left{padding-right:10px}.media-body,.media-left,.media-right{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.list-group{margin-bottom:20px;padding-left:0}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}a.list-group-item,button.list-group-item{color:#555}a.list-group-item .list-group-item-heading,button.list-group-item .list-group-item-heading{color:#333}a.list-group-item:focus,a.list-group-item:hover,button.list-group-item:focus,button.list-group-item:hover{text-decoration:none;color:#555;background-color:#f5f5f5}button.list-group-item{width:100%;text-align:left}.list-group-item.disabled,.list-group-item.disabled:focus,.list-group-item.disabled:hover{background-color:#eee;color:#999;cursor:not-allowed}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text{color:#999}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{z-index:2;color:#fff;background-color:#008cba;border-color:#008cba}.list-group-item.active .list-group-item-heading,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading>small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:focus .list-group-item-text,.list-group-item.active:hover .list-group-item-text{color:#87e1ff}.list-group-item-success{color:#43ac6a;background-color:#dff0d8}a.list-group-item-success,button.list-group-item-success{color:#43ac6a}a.list-group-item-success .list-group-item-heading,button.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:focus,a.list-group-item-success:hover,button.list-group-item-success:focus,button.list-group-item-success:hover{color:#43ac6a;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:focus,a.list-group-item-success.active:hover,button.list-group-item-success.active,button.list-group-item-success.active:focus,button.list-group-item-success.active:hover{color:#fff;background-color:#43ac6a;border-color:#43ac6a}.list-group-item-info{color:#5bc0de;background-color:#d9edf7}a.list-group-item-info,button.list-group-item-info{color:#5bc0de}a.list-group-item-info .list-group-item-heading,button.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:focus,a.list-group-item-info:hover,button.list-group-item-info:focus,button.list-group-item-info:hover{color:#5bc0de;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:focus,a.list-group-item-info.active:hover,button.list-group-item-info.active,button.list-group-item-info.active:focus,button.list-group-item-info.active:hover{color:#fff;background-color:#5bc0de;border-color:#5bc0de}.list-group-item-warning{color:#e99002;background-color:#fcf8e3}a.list-group-item-warning,button.list-group-item-warning{color:#e99002}a.list-group-item-warning .list-group-item-heading,button.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:focus,a.list-group-item-warning:hover,button.list-group-item-warning:focus,button.list-group-item-warning:hover{color:#e99002;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:focus,a.list-group-item-warning.active:hover,button.list-group-item-warning.active,button.list-group-item-warning.active:focus,button.list-group-item-warning.active:hover{color:#fff;background-color:#e99002;border-color:#e99002}.list-group-item-danger{color:#f04124;background-color:#f2dede}a.list-group-item-danger,button.list-group-item-danger{color:#f04124}a.list-group-item-danger .list-group-item-heading,button.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:focus,a.list-group-item-danger:hover,button.list-group-item-danger:focus,button.list-group-item-danger:hover{color:#f04124;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:focus,a.list-group-item-danger.active:hover,button.list-group-item-danger.active,button.list-group-item-danger.active:focus,button.list-group-item-danger.active:hover{color:#fff;background-color:#f04124;border-color:#f04124}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:21px;background-color:#fff;border:1px solid transparent;border-radius:0;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}.panel-body{padding:15px}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:-1;border-top-left-radius:-1}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:17px;color:inherit}.panel-title>.small,.panel-title>.small>a,.panel-title>a,.panel-title>small,.panel-title>small>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:-1;border-bottom-left-radius:-1}.panel>.list-group,.panel>.panel-collapse>.list-group{margin-bottom:0}.panel>.list-group .list-group-item,.panel>.panel-collapse>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child,.panel>.panel-collapse>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-right-radius:-1;border-top-left-radius:-1}.panel>.list-group:last-child .list-group-item:last-child,.panel>.panel-collapse>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:-1;border-bottom-left-radius:-1}.panel>.panel-heading+.panel-collapse>.list-group .list-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.list-group+.panel-footer{border-top-width:0}.panel>.panel-collapse>.table,.panel>.table,.panel>.table-responsive>.table{margin-bottom:0}.panel>.panel-collapse>.table caption,.panel>.table caption,.panel>.table-responsive>.table caption{padding-left:15px;padding-right:15px}.panel>.table-responsive:first-child>.table:first-child,.panel>.table:first-child{border-top-right-radius:-1;border-top-left-radius:-1}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child,.panel>.table:first-child>thead:first-child>tr:first-child{border-top-left-radius:-1;border-top-right-radius:-1}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child{border-top-left-radius:-1}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child{border-top-right-radius:-1}.panel>.table-responsive:last-child>.table:last-child,.panel>.table:last-child{border-bottom-right-radius:-1;border-bottom-left-radius:-1}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child{border-bottom-left-radius:-1;border-bottom-right-radius:-1}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:-1}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:-1}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive,.panel>.table+.panel-body,.panel>.table-responsive+.panel-body{border-top:1px solid #ddd}.panel>.table>tbody:first-child>tr:first-child td,.panel>.table>tbody:first-child>tr:first-child th{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th{border-bottom:0}.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}.panel>.table-responsive{border:0;margin-bottom:0}.panel-group{margin-bottom:21px}.panel-group .panel{margin-bottom:0;border-radius:0}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse>.list-group,.panel-group .panel-heading+.panel-collapse>.panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ddd}.panel-default>.panel-heading .badge{color:#f5f5f5;background-color:#333}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#008cba}.panel-primary>.panel-heading{color:#fff;background-color:#008cba;border-color:#008cba}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#008cba}.panel-primary>.panel-heading .badge{color:#008cba;background-color:#fff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#008cba}.panel-success{border-color:#3c9a5f}.panel-success>.panel-heading{color:#fff;background-color:#43ac6a;border-color:#3c9a5f}.panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:#3c9a5f}.panel-success>.panel-heading .badge{color:#43ac6a;background-color:#fff}.panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#3c9a5f}.panel-info{border-color:#3db5d8}.panel-info>.panel-heading{color:#fff;background-color:#5bc0de;border-color:#3db5d8}.panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:#3db5d8}.panel-info>.panel-heading .badge{color:#5bc0de;background-color:#fff}.panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#3db5d8}.panel-warning{border-color:#d08002}.panel-warning>.panel-heading{color:#fff;background-color:#e99002;border-color:#d08002}.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#d08002}.panel-warning>.panel-heading .badge{color:#e99002;background-color:#fff}.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#d08002}.panel-danger{border-color:#ea2f10}.panel-danger>.panel-heading{color:#fff;background-color:#f04124;border-color:#ea2f10}.panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ea2f10}.panel-danger>.panel-heading .badge{color:#f04124;background-color:#fff}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ea2f10}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;left:0;bottom:0;height:100%;width:100%;border:0}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive-4by3{padding-bottom:75%}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#fafafa;border:1px solid #e8e8e8;border-radius:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.well-lg{padding:24px;border-radius:0}.well-sm{padding:9px;border-radius:0}.close{float:right;font-size:22.5px;font-weight:700;line-height:1;color:#fff;text-shadow:0 1px 0 #fff;opacity:.2}.close:focus,.close:hover{color:#fff;text-decoration:none;cursor:pointer;opacity:.5}button.close{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}.modal-open{overflow:hidden}.modal{display:none;overflow:hidden;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);-o-transform:translate(0,-25%);transform:translate(0,-25%);-webkit-transition:-webkit-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out}.modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);-o-transform:translate(0,0);transform:translate(0,0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5);-webkit-background-clip:padding-box;background-clip:padding-box;outline:0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{opacity:0}.modal-backdrop.in{opacity:.5}.modal-header{padding:15px;border-bottom:1px solid #e5e5e5;min-height:16.4px}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.4}.modal-body{position:relative;padding:20px}.modal-footer{padding:20px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-left:5px;margin-bottom:0}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm{width:300px}}@media (min-width:992px){.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1070;display:block;font-family:"Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.4;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:normal;font-size:12px;opacity:0}.tooltip.in{opacity:.9}.tooltip.top{margin-top:-3px;padding:5px 0}.tooltip.right{margin-left:3px;padding:0 5px}.tooltip.bottom{margin-top:3px;padding:5px 0}.tooltip.left{margin-left:-3px;padding:0 5px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;background-color:#333;border-radius:0}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#333}.tooltip.top-left .tooltip-arrow{bottom:0;right:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#333}.tooltip.top-right .tooltip-arrow{bottom:0;left:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#333}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#333}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#333}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#333}.tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#333}.tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#333}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;font-family:"Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.4;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:normal;font-size:15px;background-color:#333;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #333;border:1px solid transparent;border-radius:0;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2)}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{margin:0;padding:8px 14px;font-size:15px;background-color:#333;border-bottom:1px solid #262626;border-radius:-1 -1 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:11px}.popover>.arrow:after{border-width:10px;content:""}.popover.top>.arrow{left:50%;margin-left:-11px;border-bottom-width:0;border-top-color:#000;border-top-color:rgba(0,0,0,.05);bottom:-11px}.popover.top>.arrow:after{content:" ";bottom:1px;margin-left:-10px;border-bottom-width:0;border-top-color:#333}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-left-width:0;border-right-color:#000;border-right-color:rgba(0,0,0,.05)}.popover.right>.arrow:after{content:" ";left:1px;bottom:-10px;border-left-width:0;border-right-color:#333}.popover.bottom>.arrow{left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#000;border-bottom-color:rgba(0,0,0,.05);top:-11px}.popover.bottom>.arrow:after{content:" ";top:1px;margin-left:-10px;border-top-width:0;border-bottom-color:#333}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#000;border-left-color:rgba(0,0,0,.05)}.popover.left>.arrow:after{content:" ";right:1px;border-right-width:0;border-left-color:#333;bottom:-10px}.carousel{position:relative}.carousel-inner{position:relative;overflow:hidden;width:100%}.carousel-inner>.item{display:none;position:relative;-webkit-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>a>img,.carousel-inner>.item>img{line-height:1}@media all and (transform-3d),(-webkit-transform-3d){.carousel-inner>.item{-webkit-transition:-webkit-transform .6s ease-in-out;-o-transition:-o-transform .6s ease-in-out;transition:transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;perspective:1000px}.carousel-inner>.item.active.right,.carousel-inner>.item.next{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);left:0}.carousel-inner>.item.active.left,.carousel-inner>.item.prev{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);left:0}.carousel-inner>.item.active,.carousel-inner>.item.next.left,.carousel-inner>.item.prev.right{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);left:0}}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;left:0;bottom:0;width:15%;opacity:.5;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-control.left{background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,.0001)));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-repeat:repeat-x}.carousel-control.right{left:auto;right:0;background-image:-webkit-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-repeat:repeat-x}.carousel-control:focus,.carousel-control:hover{outline:0;color:#fff;text-decoration:none;opacity:.9}.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{position:absolute;top:50%;margin-top:-10px;z-index:5;display:inline-block}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{left:50%;margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{right:50%;margin-right:-10px}.carousel-control .icon-next,.carousel-control .icon-prev{width:20px;height:20px;line-height:1;font-family:serif}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;margin-left:-30%;padding-left:0;list-style:none;text-align:center}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;border:1px solid #fff;border-radius:10px;cursor:pointer;background-color:rgba(0,0,0,0)}.carousel-indicators .active{margin:0;width:12px;height:12px;background-color:#fff}.carousel-caption{position:absolute;left:15%;right:15%;bottom:20px;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{width:30px;height:30px;margin-top:-15px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-15px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-15px}.carousel-caption{left:20%;right:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.btn-group-vertical>.btn-group:after,.btn-group-vertical>.btn-group:before,.btn-toolbar:after,.btn-toolbar:before,.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.dl-horizontal dd:after,.dl-horizontal dd:before,.form-horizontal .form-group:after,.form-horizontal .form-group:before,.modal-footer:after,.modal-footer:before,.nav:after,.nav:before,.navbar-collapse:after,.navbar-collapse:before,.navbar-header:after,.navbar-header:before,.navbar:after,.navbar:before,.pager:after,.pager:before,.panel-body:after,.panel-body:before,.row:after,.row:before{content:" ";display:table}.btn-group-vertical>.btn-group:after,.btn-toolbar:after,.clearfix:after,.container-fluid:after,.container:after,.dl-horizontal dd:after,.form-horizontal .form-group:after,.modal-footer:after,.nav:after,.navbar-collapse:after,.navbar-header:after,.navbar:after,.pager:after,.panel-body:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-lg,.visible-md,.visible-sm,.visible-xs{display:none!important}.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table!important}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}}@media (max-width:767px){.visible-xs-block{display:block!important}}@media (max-width:767px){.visible-xs-inline{display:inline!important}}@media (max-width:767px){.visible-xs-inline-block{display:inline-block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table!important}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-block{display:block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline{display:inline!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline-block{display:inline-block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table!important}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-block{display:block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline{display:inline!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline-block{display:inline-block!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table!important}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}}@media (min-width:1200px){.visible-lg-block{display:block!important}}@media (min-width:1200px){.visible-lg-inline{display:inline!important}}@media (min-width:1200px){.visible-lg-inline-block{display:inline-block!important}}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-lg{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table!important}tr.visible-print{display:table-row!important}td.visible-print,th.visible-print{display:table-cell!important}}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}}@media print{.hidden-print{display:none!important}}.navbar{border:none;font-size:13px;font-weight:300}.navbar .navbar-toggle:hover .icon-bar{background-color:#b3b3b3}.navbar-collapse{border-top-color:rgba(0,0,0,.2);-webkit-box-shadow:none;box-shadow:none}.navbar .btn{padding-top:6px;padding-bottom:6px}.navbar-form{margin-top:7px;margin-bottom:5px}.navbar-form .form-control{height:auto;padding:4px 6px}.navbar .dropdown-menu{border:none}.navbar .dropdown-menu>li>a,.navbar .dropdown-menu>li>a:focus{background-color:transparent;font-size:13px;font-weight:300}.navbar .dropdown-header{color:rgba(255,255,255,.5)}.navbar-default .dropdown-menu{background-color:#333}.navbar-default .dropdown-menu>li>a,.navbar-default .dropdown-menu>li>a:focus{color:#fff}.navbar-default .dropdown-menu>.active>a,.navbar-default .dropdown-menu>.active>a:hover,.navbar-default .dropdown-menu>li>a:hover{background-color:#272727}.navbar-inverse .dropdown-menu{background-color:#008cba}.navbar-inverse .dropdown-menu>li>a,.navbar-inverse .dropdown-menu>li>a:focus{color:#fff}.navbar-inverse .dropdown-menu>.active>a,.navbar-inverse .dropdown-menu>.active>a:hover,.navbar-inverse .dropdown-menu>li>a:hover{background-color:#006687}.btn{padding:8px 12px}.btn-lg{padding:16px 20px}.btn-sm{padding:8px 12px}.btn-xs{padding:4px 6px}.btn-group .btn~.dropdown-toggle{padding-left:16px;padding-right:16px}.btn-group .dropdown-menu{border-top-width:0}.btn-group.dropup .dropdown-menu{border-top-width:1px;border-bottom-width:0;margin-bottom:0}.btn-group .dropdown-toggle.btn-default~.dropdown-menu{background-color:#e7e7e7;border-color:#ccc}.btn-group .dropdown-toggle.btn-default~.dropdown-menu>li>a{color:#333}.btn-group .dropdown-toggle.btn-default~.dropdown-menu>li>a:hover{background-color:#d3d3d3}.btn-group .dropdown-toggle.btn-primary~.dropdown-menu{background-color:#008cba;border-color:#0079a1}.btn-group .dropdown-toggle.btn-primary~.dropdown-menu>li>a{color:#fff}.btn-group .dropdown-toggle.btn-primary~.dropdown-menu>li>a:hover{background-color:#006d91}.btn-group .dropdown-toggle.btn-success~.dropdown-menu{background-color:#43ac6a;border-color:#3c9a5f}.btn-group .dropdown-toggle.btn-success~.dropdown-menu>li>a{color:#fff}.btn-group .dropdown-toggle.btn-success~.dropdown-menu>li>a:hover{background-color:#388f58}.btn-group .dropdown-toggle.btn-info~.dropdown-menu{background-color:#5bc0de;border-color:#46b8da}.btn-group .dropdown-toggle.btn-info~.dropdown-menu>li>a{color:#fff}.btn-group .dropdown-toggle.btn-info~.dropdown-menu>li>a:hover{background-color:#39b3d7}.btn-group .dropdown-toggle.btn-warning~.dropdown-menu{background-color:#e99002;border-color:#d08002}.btn-group .dropdown-toggle.btn-warning~.dropdown-menu>li>a{color:#fff}.btn-group .dropdown-toggle.btn-warning~.dropdown-menu>li>a:hover{background-color:#c17702}.btn-group .dropdown-toggle.btn-danger~.dropdown-menu{background-color:#f04124;border-color:#ea2f10}.btn-group .dropdown-toggle.btn-danger~.dropdown-menu>li>a{color:#fff}.btn-group .dropdown-toggle.btn-danger~.dropdown-menu>li>a:hover{background-color:#dc2c0f}.lead{color:#6f6f6f}cite{font-style:italic}blockquote{border-left-width:1px;color:#6f6f6f}blockquote.pull-right{border-right-width:1px}blockquote small{font-size:12px;font-weight:300}table{font-size:12px}.checkbox,.control-label,.help-block,.radio,label{font-size:12px;font-weight:400}input[type=checkbox],input[type=radio]{margin-top:1px}.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{border-color:transparent}.nav-tabs>li>a{background-color:#e7e7e7;color:#222}.nav-tabs .caret{border-top-color:#222;border-bottom-color:#222}.nav-pills{font-weight:300}.breadcrumb{border:1px solid #ddd;border-radius:3px;font-size:10px;font-weight:300;text-transform:uppercase}.pagination{font-size:12px;font-weight:300;color:#999}.pagination>li>a,.pagination>li>span{margin-left:4px;color:#999}.pagination>.active>a,.pagination>.active>span{color:#fff}.pagination>li:first-child>a,.pagination>li:first-child>span,.pagination>li:last-child>a,.pagination>li:last-child>span,.pagination>li>a,.pagination>li>span{border-radius:3px}.pagination-lg>li>a,.pagination-lg>li>span{padding-left:22px;padding-right:22px}.pagination-sm>li>a,.pagination-sm>li>span{padding:0 5px}.pager{font-size:12px;font-weight:300;color:#999}.list-group{font-size:12px;font-weight:300}.close{opacity:.4;text-decoration:none;text-shadow:none}.close:focus,.close:hover{opacity:1}.alert{font-size:12px;font-weight:300}.alert .alert-link{font-weight:400;color:#fff;text-decoration:underline}.label{padding-left:1em;padding-right:1em;border-radius:0;font-weight:300}.label-default{background-color:#e7e7e7;color:#333}.badge{font-weight:300}.progress{height:22px;padding:2px;background-color:#f6f6f6;border:1px solid #ccc;-webkit-box-shadow:none;box-shadow:none}.dropdown-menu{padding:0;margin-top:0;font-size:12px}.dropdown-menu>li>a{padding:12px 15px}.dropdown-header{padding-left:15px;padding-right:15px;font-size:9px;text-transform:uppercase}.popover{color:#fff;font-size:12px;font-weight:300}.panel-footer,.panel-heading{border-top-right-radius:0;border-top-left-radius:0}.panel-default .close{color:#222}.modal .close{color:#222} |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file |
@@ -1,6 +1,6 | |||
|
1 | 1 | from django.db import models |
|
2 | 2 | from apps.main.models import Configuration, User |
|
3 |
from django. |
|
|
3 | from django.urls import reverse | |
|
4 | 4 | from celery.execute import send_task |
|
5 | 5 | from datetime import datetime |
|
6 | 6 | import ast |
@@ -203,7 +203,6 OPERATION_MODES = ( | |||
|
203 | 203 | (1, 'Automatic'), |
|
204 | 204 | ) |
|
205 | 205 | |
|
206 | ||
|
207 | 206 | class ABSConfiguration(Configuration): |
|
208 | 207 | active_beam = models.PositiveSmallIntegerField(verbose_name='Active Beam', default=0) |
|
209 | 208 | module_status = models.CharField(verbose_name='Module Status', max_length=10000, default=status_default) |
@@ -365,13 +364,45 class ABSConfiguration(Configuration): | |||
|
365 | 364 | This function sends the beams list to every abs module. |
|
366 | 365 | It needs 'module_conf' function |
|
367 | 366 | """ |
|
368 | ||
|
367 | print("Write") | |
|
369 | 368 | beams = ABSBeam.objects.filter(abs_conf=self) |
|
370 | 369 | nbeams = len(beams) |
|
370 | ||
|
371 | # Se manda a cero RC para poder realizar cambio de beam | |
|
372 | if self.experiment is None: | |
|
373 | confs = [] | |
|
374 | else: | |
|
375 | confs = Configuration.objects.filter(experiment = self.experiment).filter(type=0) | |
|
376 | confdds = '' | |
|
377 | confjars = '' | |
|
378 | confrc = '' | |
|
379 | #TO STOP DEVICES: DDS-JARS-RC | |
|
380 | for i in range(0,len(confs)): | |
|
381 | if i==0: | |
|
382 | for conf in confs: | |
|
383 | if conf.device.device_type.name == 'dds': | |
|
384 | confdds = conf | |
|
385 | confdds.stop_device() | |
|
386 | break | |
|
387 | if i==1: | |
|
388 | for conf in confs: | |
|
389 | if conf.device.device_type.name == 'jars': | |
|
390 | confjars = conf | |
|
391 | confjars.stop_device() | |
|
392 | break | |
|
393 | if i==2: | |
|
394 | for conf in confs: | |
|
395 | if conf.device.device_type.name == 'rc': | |
|
396 | confrc = conf | |
|
397 | confrc.stop_device() | |
|
398 | break | |
|
399 | ||
|
400 | ''' | |
|
371 | 401 | if self.connected_modules() == 0 : |
|
402 | print("No encuentra modulos") | |
|
372 | 403 | self.message = "No ABS Module detected." |
|
373 | 404 | return False |
|
374 | ||
|
405 | ''' | |
|
375 | 406 | #-------------Write each abs module----------- |
|
376 | 407 | |
|
377 | 408 | if beams: |
@@ -381,23 +412,36 class ABSConfiguration(Configuration): | |||
|
381 | 412 | message += ''.join([fromBinary2Char(beam.module_6bits(i)) for beam in beams]) |
|
382 | 413 | status = ['0'] * 64 |
|
383 | 414 | n = 0 |
|
384 | ||
|
415 | print("Llega una antes entrar a multicast") | |
|
385 | 416 | sock = self.send_multicast(message) |
|
386 | 417 | |
|
387 | for i in range(32): | |
|
418 | while True: | |
|
419 | #for i in range(32): | |
|
388 | 420 | try: |
|
389 | 421 | data, address = sock.recvfrom(1024) |
|
390 | print address, data | |
|
422 | print (address, data) | |
|
423 | ||
|
391 | 424 | if data == '1': |
|
392 | 425 | status[int(address[0][10:])-1] = '3' |
|
393 | 426 | elif data == '0': |
|
394 | 427 | status[int(address[0][10:])-1] = '1' |
|
428 | except socket.timeout: | |
|
429 | print('Timeout') | |
|
430 | break | |
|
395 | 431 | except Exception as e: |
|
396 | print 'Error {}'.format(e) | |
|
432 | print ('Error {}'.format(e)) | |
|
397 | 433 | n += 1 |
|
398 | 434 | sock.close() |
|
399 | 435 | else: |
|
400 | 436 | self.message = "ABS Configuration does not have beams" |
|
437 | #Start DDS-RC-JARS | |
|
438 | if confdds: | |
|
439 | confdds.start_device() | |
|
440 | if confrc: | |
|
441 | #print confrc | |
|
442 | confrc.start_device() | |
|
443 | if confjars: | |
|
444 | confjars.start_device() | |
|
401 | 445 | return False |
|
402 | 446 | |
|
403 | 447 | if n == 64: |
@@ -405,15 +449,34 class ABSConfiguration(Configuration): | |||
|
405 | 449 | self.device.status = 0 |
|
406 | 450 | self.module_status = ''.join(status) |
|
407 | 451 | self.save() |
|
452 | #Start DDS-RC-JARS | |
|
453 | if confdds: | |
|
454 | confdds.start_device() | |
|
455 | if confrc: | |
|
456 | #print confrc | |
|
457 | confrc.start_device() | |
|
458 | if confjars: | |
|
459 | confjars.start_device() | |
|
408 | 460 | return False |
|
409 | 461 | else: |
|
410 | 462 | self.message = "ABS Beams List have been sent to ABS Modules" |
|
411 | 463 | self.active_beam = beams[0].pk |
|
412 | 464 | |
|
465 | #Start DDS-RC-JARS | |
|
466 | if confdds: | |
|
467 | confdds.start_device() | |
|
468 | if confrc: | |
|
469 | #print confrc | |
|
470 | confrc.start_device() | |
|
471 | if confjars: | |
|
472 | confjars.start_device() | |
|
473 | ||
|
413 | 474 | self.device.status = 3 |
|
414 | 475 | self.module_status = ''.join(status) |
|
415 | 476 | self.save() |
|
416 | ||
|
477 | conf_active = ABSActive.objects.get(pk=1) | |
|
478 | conf_active.conf = self | |
|
479 | conf_active.save() | |
|
417 | 480 | return True |
|
418 | 481 | |
|
419 | 482 | |
@@ -486,14 +549,14 class ABSConfiguration(Configuration): | |||
|
486 | 549 | return num |
|
487 | 550 | |
|
488 | 551 | def send_multicast(self, message): |
|
489 | ||
|
552 | #print("Send multicast") | |
|
490 | 553 | multicast_group = ('224.3.29.71', 10000) |
|
491 | 554 | # Create the datagram socket |
|
492 | 555 | sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) |
|
493 | 556 | sock.settimeout(1) |
|
494 |
local_ip = os.environ.get('LOCAL_IP', '192.168. |
|
|
557 | local_ip = os.environ.get('LOCAL_IP', '192.168.2.128') | |
|
495 | 558 | sock.setsockopt(socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(local_ip)) |
|
496 | sock.sendto(message, multicast_group) | |
|
559 | sock.sendto(message.encode(), multicast_group) | |
|
497 | 560 | print('Sending ' + message) |
|
498 | 561 | return sock |
|
499 | 562 | |
@@ -502,32 +565,70 class ABSConfiguration(Configuration): | |||
|
502 | 565 | This function returns the status of all abs-modules as one. |
|
503 | 566 | If at least one module is connected, its answer is "1" |
|
504 | 567 | """ |
|
568 | print ('Status device') | |
|
569 | print (self.active_beam) | |
|
570 | beams = ABSBeam.objects.filter(abs_conf=self) | |
|
571 | #print beams[self.active_beam-1].module_6bits(0) | |
|
572 | active = ABSActive.objects.get(pk=1) | |
|
573 | if active.conf != self: | |
|
574 | self.message = 'La configuracion actual es la del siguiente enlace %s.' % active.conf.get_absolute_url() | |
|
575 | self.message += "\n" | |
|
576 | self.message += 'Se debe realizar un write en esta configuracion para luego obtener un status valido.' | |
|
577 | ||
|
578 | return False | |
|
505 | 579 | |
|
506 | 580 | sock = self.send_multicast('MNTR') |
|
507 | 581 | |
|
508 | 582 | n = 0 |
|
509 | 583 | status = ['0'] * 64 |
|
510 | for i in range(32): | |
|
584 | ||
|
585 | while True: | |
|
586 | #for i in range(32): | |
|
511 | 587 | #if True: |
|
512 | 588 | try: |
|
589 | print("Recibiendo") | |
|
513 | 590 | address = None |
|
514 |
data, address = sock.recvfrom( |
|
|
515 |
|
|
|
591 | data, address = sock.recvfrom(2) | |
|
592 | print (address, data) | |
|
593 | print("!!!!") | |
|
594 | data = data.decode() | |
|
595 | aux_mon = "1" | |
|
596 | aux_expected = aux_mon | |
|
597 | if(len(data)==2): | |
|
598 | print ("data[1]: ") | |
|
599 | print (data[1]) | |
|
600 | aux_mon = fromChar2Binary(data[1]) | |
|
601 | print (aux_mon) | |
|
602 | aux_i = (str(address[0]).split('.'))[3] | |
|
603 | print (aux_i) | |
|
604 | print ('Active beam') | |
|
605 | beam_active = ABSBeam.objects.get(pk=self.active_beam) | |
|
606 | print (beam_active) | |
|
607 | aux_expected = beam_active.module_6bits(int(aux_i)-1) | |
|
608 | print (aux_expected) | |
|
609 | ||
|
610 | print ("data[0]: ") | |
|
611 | print (data[0]) | |
|
612 | ||
|
516 | 613 | if data[0] == '1': |
|
517 | remote = fromChar2Binary(data[1]) | |
|
518 | local = ABSBeam.objects.get(pk=self.active_beam).module_6bits(x) | |
|
519 | if local == remote: | |
|
520 | status[x] = '3' | |
|
521 | print('Module: {} connected...igual'.format(address)) | |
|
614 | status[int(address[0][10:])-1] = '3' | |
|
615 | if aux_mon == aux_expected: | |
|
616 | print ('Es igual') | |
|
522 | 617 | else: |
|
523 |
|
|
|
524 | print('Module: {} connected...diferente'.format(address)) | |
|
618 | print ('Es diferente') | |
|
619 | status[int(address[0][10:])-1] = '2' | |
|
620 | ||
|
525 | 621 | elif data[0] == '0': |
|
526 |
status[ |
|
|
622 | status[int(address[0][10:])-1] = '1' | |
|
527 | 623 | n += 1 |
|
624 | print('Module: {} connected'.format(address)) | |
|
625 | except socket.timeout: | |
|
626 | print('Timeout') | |
|
627 | break | |
|
528 | 628 | except: |
|
529 | 629 | print('Module: {} error'.format(address)) |
|
530 | 630 | pass |
|
631 | ||
|
531 | 632 | sock.close() |
|
532 | 633 | |
|
533 | 634 | if n > 0: |
@@ -547,6 +648,17 class ABSConfiguration(Configuration): | |||
|
547 | 648 | This function connects to a multicast group and sends the beam number |
|
548 | 649 | to all abs modules. |
|
549 | 650 | """ |
|
651 | print ('Send beam') | |
|
652 | print (self.active_beam) | |
|
653 | beams = ABSBeam.objects.filter(abs_conf=self) | |
|
654 | #print beams[self.active_beam-1].module_6bits(0) | |
|
655 | active = ABSActive.objects.get(pk=1) | |
|
656 | if active.conf != self: | |
|
657 | self.message = 'La configuracion actual es la del siguiente enlace %s.' % active.conf.get_absolute_url() | |
|
658 | self.message += "\n" | |
|
659 | self.message += 'Se debe realizar un write en esta configuracion para luego obtener un status valido.' | |
|
660 | ||
|
661 | return False | |
|
550 | 662 | |
|
551 | 663 | # Se manda a cero RC para poder realizar cambio de beam |
|
552 | 664 | if self.experiment is None: |
@@ -586,16 +698,21 class ABSConfiguration(Configuration): | |||
|
586 | 698 | status = ['0'] * 64 |
|
587 | 699 |
message = 'CHGB{}'.format(beam_pos) |
|
588 | 700 | sock = self.send_multicast(message) |
|
589 | for i in range(32): | |
|
701 | while True: | |
|
702 | #for i in range(32): | |
|
590 | 703 | try: |
|
591 | 704 | data, address = sock.recvfrom(1024) |
|
592 | print address, data | |
|
705 | print (address, data) | |
|
706 | data = data.decode() | |
|
593 | 707 | if data == '1': |
|
594 | 708 | status[int(address[0][10:])-1] = '3' |
|
595 | 709 | elif data == '0': |
|
596 | 710 | status[int(address[0][10:])-1] = '1' |
|
711 | except socket.timeout: | |
|
712 | print('Timeout') | |
|
713 | break | |
|
597 | 714 | except Exception as e: |
|
598 | print 'Error {}'.format(e) | |
|
715 | print ('Error {}'.format(e)) | |
|
599 | 716 | pass |
|
600 | 717 | |
|
601 | 718 | sock.close() |
@@ -617,13 +734,15 class ABSConfiguration(Configuration): | |||
|
617 | 734 | |
|
618 | 735 | def get_absolute_url_import(self): |
|
619 | 736 | return reverse('url_import_abs_conf', args=[str(self.id)]) |
|
620 | ||
|
737 | class ABSActive(models.Model): | |
|
738 | conf = models.ForeignKey(ABSConfiguration, null=True, verbose_name='ABS Configuration', on_delete=models.CASCADE) | |
|
621 | 739 | |
|
622 | 740 | class ABSBeam(models.Model): |
|
623 | 741 | |
|
624 | 742 | name = models.CharField(max_length=60, default='Beam') |
|
625 | 743 | antenna = models.CharField(verbose_name='Antenna', max_length=1000, default=antenna_default) |
|
626 |
abs_conf = models.ForeignKey(ABSConfiguration, null=True, |
|
|
744 | abs_conf = models.ForeignKey('ABSConfiguration', null=True, | |
|
745 | verbose_name='ABS Configuration', on_delete=models.CASCADE) | |
|
627 | 746 | tx = models.CharField(verbose_name='Tx', max_length=1000, default=tx_default) |
|
628 | 747 | rx = models.CharField(verbose_name='Rx', max_length=1000, default=rx_default) |
|
629 | 748 | s_time = models.TimeField(verbose_name='Star Time', default='00:00:00') |
@@ -1,9 +1,11 | |||
|
1 | 1 | {% extends "dev_conf_edit.html" %} |
|
2 | 2 | |
|
3 |
{% load bootstrap |
|
|
3 | {% load bootstrap4 %} | |
|
4 | 4 | {% load static %} |
|
5 | 5 | {% load main_tags %} |
|
6 | 6 | |
|
7 | ||
|
8 | ||
|
7 | 9 | {% block content %} |
|
8 | 10 | <form class="form" method="post"> |
|
9 | 11 | {% csrf_token %} |
@@ -1,5 +1,5 | |||
|
1 | 1 | {% load static %} |
|
2 |
{% load bootstrap |
|
|
2 | {% load bootstrap4 %} | |
|
3 | 3 | {% load main_tags %} |
|
4 | 4 | |
|
5 | 5 | {% block content %} |
@@ -104,7 +104,7 | |||
|
104 | 104 | } |
|
105 | 105 | |
|
106 | 106 | |
|
107 | } | |
|
107 | ||
|
108 | 108 | .abs_tx tr:nth-last-child(1){ |
|
109 | 109 | border-bottom: 0px solid #00334d; |
|
110 | 110 | } |
@@ -123,7 +123,7 | |||
|
123 | 123 | } |
|
124 | 124 | |
|
125 | 125 | |
|
126 | } | |
|
126 | ||
|
127 | 127 | .abs_rx tr:nth-last-child(1){ |
|
128 | 128 | border-bottom: 0px solid #00334d; |
|
129 | 129 | } |
@@ -1,4 +1,4 | |||
|
1 |
{% load bootstrap |
|
|
1 | {% load bootstrap4 %} | |
|
2 | 2 | |
|
3 | 3 | {% if abs_beams %} |
|
4 | 4 | |
@@ -17,8 +17,8 | |||
|
17 | 17 | #{{forloop.counter}}: {{beam.name}} |
|
18 | 18 | </a> |
|
19 | 19 | {% if edit %} |
|
20 |
<button id="bt_remove_beam-{{ beam.id }}" type="button" class="btn-xs btn-default pull-right" name="bt_remove_beam" value="{{beam.pk}}"><span class=" |
|
|
21 |
<button id="bt_edit_beam-{{ beam.id }}" type="button" class="btn-xs btn-default pull-right" name="bt_edit_beam" value="{{beam.pk}}"><span class=" |
|
|
20 | <button id="bt_remove_beam-{{ beam.id }}" type="button" class="btn-xs btn-default pull-right" name="bt_remove_beam" value="{{beam.pk}}"><span class="far fa-trash-alt" aria-hidden="true"></span></button> | |
|
21 | <button id="bt_edit_beam-{{ beam.id }}" type="button" class="btn-xs btn-default pull-right" name="bt_edit_beam" value="{{beam.pk}}"><span class="fa fa-pencil" aria-hidden="true"></span></button> | |
|
22 | 22 | {% endif %} |
|
23 | 23 | </h4> |
|
24 | 24 | </div> |
@@ -1,4 +1,4 | |||
|
1 |
{% extends "dev_conf.html" %} {% load static %} {% load bootstrap |
|
|
1 | {% extends "dev_conf.html" %} {% load static %} {% load bootstrap4 %} {% load main_tags %} | |
|
2 | 2 | {% block extra-head %} |
|
3 | 3 | <style> |
|
4 | 4 | .abs { |
@@ -42,7 +42,7 | |||
|
42 | 42 | {% block extra-menu-actions %} |
|
43 | 43 | <li> |
|
44 | 44 | <a href="{{ dev_conf.get_absolute_url_plot }}" target="_blank"> |
|
45 |
<span class=" |
|
|
45 | <span class="far fa-image" aria-hidden="true"></span> View Patterns </a> | |
|
46 | 46 | </li> |
|
47 | 47 | {% endblock %} |
|
48 | 48 | {% block extra-content %} |
@@ -51,15 +51,15 | |||
|
51 | 51 | <div class="container"> |
|
52 | 52 | <ul class="nav nav-pills"> |
|
53 | 53 | {% for beam in beams %} |
|
54 | <li {%if beam.pk == active_beam %} class="active" {% endif %}> | |
|
55 | <a data-toggle="pill" href="#menu{{forloop.counter}}">{{forloop.counter}}</a> | |
|
54 | <li class="nav-item"> | |
|
55 | <a {%if beam.pk == active_beam %} class="nav-link active" {% else %} class="nav-link" {% endif %} data-toggle="pill" href="#menu{{forloop.counter}}">{{forloop.counter}}</a> | |
|
56 | 56 | </li> |
|
57 | 57 | {% endfor %} |
|
58 | 58 | </ul> |
|
59 | 59 | |
|
60 | 60 | <div class="tab-content"> |
|
61 | 61 | {% for beam in beams %} |
|
62 |
<div id="menu{{forloop.counter}}" class="tab-pane fade {%if beam.pk == active_beam %}active |
|
|
62 | <div id="menu{{forloop.counter}}" class="tab-pane fade {%if beam.pk == active_beam %}in active show{% endif %}"> | |
|
63 | 63 | <h3>{%if beam.pk == active_beam %}Active Beam: {%endif%}{{beam.name}}</h3> |
|
64 | 64 | <table id="abs_pattern{{forloop.counter}}" class="abs"> |
|
65 | 65 | <tr> |
@@ -301,7 +301,7 | |||
|
301 | 301 | {% else %} |
|
302 | 302 | <div style="vertical-align: top; display:inline-block;"> |
|
303 | 303 | <button id="send_beam{{forloop.counter}}" type="button" class="btn btn-default"> |
|
304 |
<span class=" |
|
|
304 | <span class="fas fa-external-link-square-alt" aria-hidden="true"></span> | |
|
305 | 305 | Change Beam</button> |
|
306 | 306 | </div> |
|
307 | 307 | {% endif %} |
@@ -315,7 +315,9 | |||
|
315 | 315 | <p style="color:#b4bcc2; margin-left: 5%;"> |
|
316 | 316 | <i>No Beams...</i> |
|
317 | 317 | </p> |
|
318 | {% endif %} {% endblock extra-content %} {% block extra-js%} | |
|
318 | {% endif %} | |
|
319 | {% endblock extra-content %} | |
|
320 | {% block extra-js%} | |
|
319 | 321 | <script> |
|
320 | 322 | $(document).ready(function () { |
|
321 | 323 | |
@@ -333,4 +335,5 | |||
|
333 | 335 | |
|
334 | 336 | |
|
335 | 337 | }); |
|
336 | </script> {% endblock %} No newline at end of file | |
|
338 | </script> | |
|
339 | {% endblock %} |
@@ -1,5 +1,5 | |||
|
1 | 1 | {% extends "dev_conf_edit.html" %} |
|
2 |
{% load bootstrap |
|
|
2 | {% load bootstrap4 %} | |
|
3 | 3 | {% load static %} |
|
4 | 4 | |
|
5 | 5 | {% block extra-head %} |
@@ -7,7 +7,7 | |||
|
7 | 7 | /* show the move cursor as the user moves the mouse over the panel header.*/ |
|
8 | 8 | .panel-default { cursor: move; } |
|
9 | 9 | </style> |
|
10 | <script src="{% static 'js/jquery-ui.min.js' %}"></script> | |
|
10 | ||
|
11 | 11 | |
|
12 | 12 | {% endblock %} |
|
13 | 13 |
@@ -1,5 +1,5 | |||
|
1 | 1 | {% load static %} |
|
2 |
{% load bootstrap |
|
|
2 | {% load bootstrap4 %} | |
|
3 | 3 | {% load main_tags %} |
|
4 | 4 | |
|
5 | 5 | {% block content %} |
@@ -1,6 +1,6 | |||
|
1 | 1 | {% extends "dev_conf_edit.html" %} |
|
2 | 2 | |
|
3 |
{% load bootstrap |
|
|
3 | {% load bootstrap4 %} | |
|
4 | 4 | {% load static %} |
|
5 | 5 | {% load main_tags %} |
|
6 | 6 |
@@ -1,5 +1,5 | |||
|
1 | 1 | {% load static %} |
|
2 |
{% load bootstrap |
|
|
2 | {% load bootstrap4 %} | |
|
3 | 3 | {% load main_tags %} |
|
4 | 4 | |
|
5 | 5 | {% block content %} |
@@ -104,7 +104,7 | |||
|
104 | 104 | } |
|
105 | 105 | |
|
106 | 106 | |
|
107 | } | |
|
107 | ||
|
108 | 108 | .abs_tx tr:nth-last-child(1){ |
|
109 | 109 | border-bottom: 0px solid #00334d; |
|
110 | 110 | } |
@@ -123,7 +123,7 | |||
|
123 | 123 | } |
|
124 | 124 | |
|
125 | 125 | |
|
126 | } | |
|
126 | ||
|
127 | 127 | .abs_rx tr:nth-last-child(1){ |
|
128 | 128 | border-bottom: 0px solid #00334d; |
|
129 | 129 | } |
@@ -1,6 +1,6 | |||
|
1 | 1 | {% extends "dev_conf.html" %} |
|
2 | 2 | {% load static %} |
|
3 |
{% load bootstrap |
|
|
3 | {% load bootstrap4 %} | |
|
4 | 4 | {% load main_tags %} |
|
5 | 5 | |
|
6 | 6 | {% block content %} |
@@ -1,5 +1,5 | |||
|
1 | 1 | {% load static %} |
|
2 |
{% load bootstrap |
|
|
2 | {% load bootstrap4 %} | |
|
3 | 3 | {% load main_tags %} |
|
4 | 4 | |
|
5 | 5 | {% block content %} |
@@ -1,18 +1,18 | |||
|
1 |
from django. |
|
|
1 | from django.urls import path | |
|
2 | 2 | |
|
3 | 3 | from apps.abs import views |
|
4 | 4 | |
|
5 | 5 | urlpatterns = ( |
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
|
|
|
6 | path('<int:id_conf>/', views.abs_conf, name='url_abs_conf'), | |
|
7 | path('<int:id_conf>/edit/', views.abs_conf_edit, name='url_edit_abs_conf'), | |
|
8 | path('alert/', views.abs_conf_alert, name='url_alert_abs_conf'), | |
|
9 | path('<int:id_conf>/import/', views.import_file, name='url_import_abs_conf'), | |
|
10 | 10 | #url(r'^(?P<id_conf>-?\d+)/status/', views.abs_conf, {'status_request':True},name='url_status_abs_conf'), |
|
11 |
|
|
|
12 |
|
|
|
13 |
|
|
|
14 |
|
|
|
15 |
|
|
|
16 |
|
|
|
17 |
|
|
|
11 | path('<int:id_conf>/change_beam/<int:id_beam>/', views.send_beam, name='url_send_beam'), | |
|
12 | path('<int:id_conf>/plot/', views.plot_patterns, name='url_plot_abs_patterns'), | |
|
13 | path('<int:id_conf>/plot/<int:id_beam>/', views.plot_patterns, name='url_plot_abs_patterns'), | |
|
14 | path('<int:id_conf>/plot/<int:id_beam>/<int:antenna>/pattern.png', views.plot_pattern, name='url_plot_beam'), | |
|
15 | path('<int:id_conf>/add_beam/', views.add_beam, name='url_add_abs_beam'), | |
|
16 | path('<int:id_conf>/beam/<int:id_beam>/delete/', views.remove_beam, name='url_remove_abs_beam'), | |
|
17 | path('<int:id_conf>/beam/<int:id_beam>/edit/', views.edit_beam, name='url_edit_abs_beam'), | |
|
18 | 18 | ) |
@@ -16,8 +16,8 import numpy | |||
|
16 | 16 | import scipy.interpolate |
|
17 | 17 | import os |
|
18 | 18 | import sys |
|
19 | import TimeTools | |
|
20 | import Misc_Routines | |
|
19 | from .TimeTools import Julian , Time | |
|
20 | from .Misc_Routines import CoFactors | |
|
21 | 21 | |
|
22 | 22 | class EquatorialCorrections(): |
|
23 | 23 | def __init__(self): |
@@ -81,21 +81,21 class EquatorialCorrections(): | |||
|
81 | 81 | |
|
82 | 82 | eps0 = (23.4392911*3600.) - (46.8150*T) - (0.00059*T**2) + (0.001813*T**3) |
|
83 | 83 | # True obliquity of the ecliptic in radians |
|
84 |
eps = (eps0 + d_eps)/3600.* |
|
|
84 | eps = (eps0 + d_eps)/3600.*CoFactors.d2r | |
|
85 | 85 | |
|
86 | 86 | # Useful numbers |
|
87 | 87 | ce = numpy.cos(eps) |
|
88 | 88 | se = numpy.sin(eps) |
|
89 | 89 | |
|
90 | 90 | # Convert Ra-Dec to equatorial rectangular coordinates |
|
91 |
x = numpy.cos(ra* |
|
|
92 |
y = numpy.sin(ra* |
|
|
93 |
z = numpy.sin(dec* |
|
|
91 | x = numpy.cos(ra*CoFactors.d2r)*numpy.cos(dec*CoFactors.d2r) | |
|
92 | y = numpy.sin(ra*CoFactors.d2r)*numpy.cos(dec*CoFactors.d2r) | |
|
93 | z = numpy.sin(dec*CoFactors.d2r) | |
|
94 | 94 | |
|
95 | 95 | # Apply corrections to each rectangular coordinate |
|
96 |
x2 = x - (y*ce + z*se)*d_psi* |
|
|
97 |
y2 = y + (x*ce*d_psi - z*d_eps)* |
|
|
98 |
z2 = z + (x*se*d_psi + y*d_eps)* |
|
|
96 | x2 = x - (y*ce + z*se)*d_psi*CoFactors.s2r | |
|
97 | y2 = y + (x*ce*d_psi - z*d_eps)*CoFactors.s2r | |
|
98 | z2 = z + (x*se*d_psi + y*d_eps)*CoFactors.s2r | |
|
99 | 99 | |
|
100 | 100 | # Convert bask to equatorial spherical coordinates |
|
101 | 101 | r = numpy.sqrt(x2**2. + y2**2. + z2**2.) |
@@ -128,8 +128,8 class EquatorialCorrections(): | |||
|
128 | 128 | dec2[w2] = numpy.arcsin(z2[w2]/r[w2]) |
|
129 | 129 | |
|
130 | 130 | # Converting to degree |
|
131 |
ra2 = ra2/ |
|
|
132 |
dec2 = dec2/ |
|
|
131 | ra2 = ra2/CoFactors.d2r | |
|
132 | dec2 = dec2/CoFactors.d2r | |
|
133 | 133 | |
|
134 | 134 | w = numpy.where(ra2<0.) |
|
135 | 135 | if w[0].size>0: |
@@ -178,32 +178,32 class EquatorialCorrections(): | |||
|
178 | 178 | # Mean elongation of the moon |
|
179 | 179 | coeff1 = numpy.array([1/189474.0,-0.0019142,445267.111480,297.85036]) |
|
180 | 180 | d = numpy.poly1d(coeff1) |
|
181 |
d = d(t)* |
|
|
181 | d = d(t)*CoFactors.d2r | |
|
182 | 182 | d = self.cirrange(d,rad=1) |
|
183 | 183 | |
|
184 | 184 | # Sun's mean elongation |
|
185 | 185 | coeff2 = numpy.array([-1./3e5,-0.0001603,35999.050340,357.52772]) |
|
186 | 186 | m = numpy.poly1d(coeff2) |
|
187 |
m = m(t)* |
|
|
187 | m = m(t)*CoFactors.d2r | |
|
188 | 188 | m = self.cirrange(m,rad=1) |
|
189 | 189 | |
|
190 | 190 | # Moon's mean elongation |
|
191 | 191 | coeff3 = numpy.array([1.0/5.625e4,0.0086972,477198.867398,134.96298]) |
|
192 | 192 | mprime = numpy.poly1d(coeff3) |
|
193 |
mprime = mprime(t)* |
|
|
193 | mprime = mprime(t)*CoFactors.d2r | |
|
194 | 194 | mprime = self.cirrange(mprime,rad=1) |
|
195 | 195 | |
|
196 | 196 | # Moon's argument of latitude |
|
197 | 197 | coeff4 = numpy.array([-1.0/3.27270e5,-0.0036825,483202.017538,93.27191]) |
|
198 | 198 | f = numpy.poly1d(coeff4) |
|
199 |
f = f(t)* |
|
|
199 | f = f(t)*CoFactors.d2r | |
|
200 | 200 | f = self.cirrange(f,rad=1) |
|
201 | 201 | |
|
202 | 202 | # Longitude fo the ascending node of the Moon's mean orbit on the ecliptic, measu- |
|
203 | 203 | # red from the mean equinox of the date. |
|
204 | 204 | coeff5 = numpy.array([1.0/4.5e5,0.0020708,-1934.136261,125.04452]) |
|
205 | 205 | omega = numpy.poly1d(coeff5) |
|
206 |
omega = omega(t)* |
|
|
206 | omega = omega(t)*CoFactors.d2r | |
|
207 | 207 | omega = self.cirrange(omega,rad=1) |
|
208 | 208 | |
|
209 | 209 | d_lng = numpy.array([0,-2,0,0,0,0,-2,0,0,-2,-2,-2,0,2,0,2,0,0,-2,0,2,0,0,-2,0,-2,0,0,\ |
@@ -335,7 +335,7 class EquatorialCorrections(): | |||
|
335 | 335 | coeff = 23 + 26/60. + 21.488/3600. |
|
336 | 336 | eps0 = coeff*3600. - 46.8150*T - 0.00059*T**2. + 0.001813*T**3. |
|
337 | 337 | # True obliquity of the ecliptic in radians |
|
338 |
eps = (eps0 + d_epsilon)/3600* |
|
|
338 | eps = (eps0 + d_epsilon)/3600*CoFactors.d2r | |
|
339 | 339 | |
|
340 | 340 | celestialbodies = CelestialBodies() |
|
341 | 341 | [sunra,sundec,sunlon,sunobliq] = celestialbodies.sunpos(jd) |
@@ -349,11 +349,11 class EquatorialCorrections(): | |||
|
349 | 349 | # Constant of aberration, in arcseconds |
|
350 | 350 | k = 20.49552 |
|
351 | 351 | |
|
352 |
cd = numpy.cos(dec* |
|
|
352 | cd = numpy.cos(dec*CoFactors.d2r) ; sd = numpy.sin(dec*CoFactors.d2r) | |
|
353 | 353 | ce = numpy.cos(eps) ; te = numpy.tan(eps) |
|
354 |
cp = numpy.cos(pi* |
|
|
355 |
cs = numpy.cos(sunlon* |
|
|
356 |
ca = numpy.cos(ra* |
|
|
354 | cp = numpy.cos(pi*CoFactors.d2r) ; sp = numpy.sin(pi*CoFactors.d2r) | |
|
355 | cs = numpy.cos(sunlon*CoFactors.d2r) ; ss = numpy.sin(sunlon*CoFactors.d2r) | |
|
356 | ca = numpy.cos(ra*CoFactors.d2r) ; sa = numpy.sin(ra*CoFactors.d2r) | |
|
357 | 357 | |
|
358 | 358 | term1 = (ca*cs*ce + sa*ss)/cd |
|
359 | 359 | term2 = (ca*cp*ce + sa*sp)/cd |
@@ -407,8 +407,8 class EquatorialCorrections(): | |||
|
407 | 407 | dec = numpy.atleast_1d(dec) |
|
408 | 408 | |
|
409 | 409 | if rad==0: |
|
410 |
ra_rad = ra* |
|
|
411 |
dec_rad = dec* |
|
|
410 | ra_rad = ra*CoFactors.d2r | |
|
411 | dec_rad = dec*CoFactors.d2r | |
|
412 | 412 | else: |
|
413 | 413 | ra_rad = ra |
|
414 | 414 | dec_rad = dec |
@@ -427,9 +427,9 class EquatorialCorrections(): | |||
|
427 | 427 | dec_rad = numpy.arcsin(x2[2,:]) |
|
428 | 428 | |
|
429 | 429 | if rad==0: |
|
430 |
ra = ra_rad/ |
|
|
430 | ra = ra_rad/CoFactors.d2r | |
|
431 | 431 | ra = ra + (ra<0)*360. |
|
432 |
dec = dec_rad/ |
|
|
432 | dec = dec_rad/CoFactors.d2r | |
|
433 | 433 | else: |
|
434 | 434 | ra = ra_rad |
|
435 | 435 | ra = ra + (ra<0)*numpy.pi*2. |
@@ -472,15 +472,15 class EquatorialCorrections(): | |||
|
472 | 472 | if FK4==0: |
|
473 | 473 | st=0.001*(equinox1 - 2000.) |
|
474 | 474 | # Computing 3 rotation angles. |
|
475 |
A= |
|
|
476 |
B= |
|
|
477 |
C= |
|
|
475 | A=CoFactors.s2r*t*(23062.181+st*(139.656+0.0139*st)+t*(30.188-0.344*st+17.998*t)) | |
|
476 | B=CoFactors.s2r*t*t*(79.280+0.410*st+0.205*t)+A | |
|
477 | C=CoFactors.s2r*t*(20043.109-st*(85.33+0.217*st)+ t*(-42.665-0.217*st-41.833*t)) | |
|
478 | 478 | else: |
|
479 | 479 | st=0.001*(equinox1 - 1900) |
|
480 | 480 | # Computing 3 rotation angles |
|
481 |
A= |
|
|
482 |
B= |
|
|
483 |
C= |
|
|
481 | A=CoFactors.s2r*t*(23042.53+st*(139.75+0.06*st)+t*(30.23-0.27*st+18.0*t)) | |
|
482 | B=CoFactors.s2r*t*t*(79.27+0.66*st+0.32*t)+A | |
|
483 | C=CoFactors.s2r*t*(20046.85-st*(85.33+0.37*st)+t*(-42.67-0.37*st-41.8*t)) | |
|
484 | 484 | |
|
485 | 485 | sina = numpy.sin(A); sinb = numpy.sin(B); sinc = numpy.sin(C) |
|
486 | 486 | cosa = numpy.cos(A); cosb = numpy.cos(B); cosc = numpy.cos(C) |
@@ -595,39 +595,39 class CelestialBodies(EquatorialCorrections): | |||
|
595 | 595 | # Allow for ellipticity of the orbit (equation of centre) using the Earth's mean |
|
596 | 596 | # anomoly ME |
|
597 | 597 | me = 358.475844 + ((35999.049750*t) % 360.0) |
|
598 |
ellcor = (6910.1 - 17.2*t)*numpy.sin(me* |
|
|
598 | ellcor = (6910.1 - 17.2*t)*numpy.sin(me*CoFactors.d2r) + 72.3*numpy.sin(2.0*me*CoFactors.d2r) | |
|
599 | 599 | l = l + ellcor |
|
600 | 600 | |
|
601 | 601 | # Allow for the Venus perturbations using the mean anomaly of Venus MV |
|
602 | 602 | mv = 212.603219 + ((58517.803875*t) % 360.0) |
|
603 |
vencorr = 4.8*numpy.cos((299.1017 + mv - me)* |
|
|
604 |
5.5*numpy.cos((148.3133 + 2.0*mv - 2.0*me )* |
|
|
605 |
2.5*numpy.cos((315.9433 + 2.0*mv - 3.0*me )* |
|
|
606 |
1.6*numpy.cos((345.2533 + 3.0*mv - 4.0*me )* |
|
|
607 |
1.0*numpy.cos((318.15 + 3.0*mv - 5.0*me )* |
|
|
603 | vencorr = 4.8*numpy.cos((299.1017 + mv - me)*CoFactors.d2r) + \ | |
|
604 | 5.5*numpy.cos((148.3133 + 2.0*mv - 2.0*me )*CoFactors.d2r) + \ | |
|
605 | 2.5*numpy.cos((315.9433 + 2.0*mv - 3.0*me )*CoFactors.d2r) + \ | |
|
606 | 1.6*numpy.cos((345.2533 + 3.0*mv - 4.0*me )*CoFactors.d2r) + \ | |
|
607 | 1.0*numpy.cos((318.15 + 3.0*mv - 5.0*me )*CoFactors.d2r) | |
|
608 | 608 | l = l + vencorr |
|
609 | 609 | |
|
610 | 610 | # Allow for the Mars perturbations using the mean anomaly of Mars MM |
|
611 | 611 | mm = 319.529425 + ((19139.858500*t) % 360.0) |
|
612 |
marscorr = 2.0*numpy.cos((343.8883 - 2.0*mm + 2.0*me)* |
|
|
613 |
1.8*numpy.cos((200.4017 - 2.0*mm + me)* |
|
|
612 | marscorr = 2.0*numpy.cos((343.8883 - 2.0*mm + 2.0*me)*CoFactors.d2r ) + \ | |
|
613 | 1.8*numpy.cos((200.4017 - 2.0*mm + me)*CoFactors.d2r) | |
|
614 | 614 | l = l + marscorr |
|
615 | 615 | |
|
616 | 616 | # Allow for the Jupiter perturbations using the mean anomaly of Jupiter MJ |
|
617 | 617 | mj = 225.328328 + ((3034.6920239*t) % 360.0) |
|
618 |
jupcorr = 7.2*numpy.cos((179.5317 - mj + me )* |
|
|
619 |
2.6*numpy.cos((263.2167 - mj)* |
|
|
620 |
2.7*numpy.cos((87.1450 - 2.0*mj + 2.0*me)* |
|
|
621 |
1.6*numpy.cos((109.4933 - 2.0*mj + me)* |
|
|
618 | jupcorr = 7.2*numpy.cos((179.5317 - mj + me )*CoFactors.d2r) + \ | |
|
619 | 2.6*numpy.cos((263.2167 - mj)*CoFactors.d2r) + \ | |
|
620 | 2.7*numpy.cos((87.1450 - 2.0*mj + 2.0*me)*CoFactors.d2r) + \ | |
|
621 | 1.6*numpy.cos((109.4933 - 2.0*mj + me)*CoFactors.d2r) | |
|
622 | 622 | l = l + jupcorr |
|
623 | 623 | |
|
624 | 624 | # Allow for Moons perturbations using mean elongation of the Moon from the Sun D |
|
625 | 625 | d = 350.7376814 + ((445267.11422*t) % 360.0) |
|
626 |
mooncorr = 6.5*numpy.sin(d* |
|
|
626 | mooncorr = 6.5*numpy.sin(d*CoFactors.d2r) | |
|
627 | 627 | l = l + mooncorr |
|
628 | 628 | |
|
629 | 629 | # Allow for long period terms |
|
630 |
longterm = + 6.4*numpy.sin((231.19 + 20.20*t)* |
|
|
630 | longterm = + 6.4*numpy.sin((231.19 + 20.20*t)*CoFactors.d2r) | |
|
631 | 631 | l = l + longterm |
|
632 | 632 | l = (l + 2592000.0) % 1296000.0 |
|
633 | 633 | longmed = l/3600.0 |
@@ -637,26 +637,26 class CelestialBodies(EquatorialCorrections): | |||
|
637 | 637 | |
|
638 | 638 | # Allow for Nutation using the longitude of the Moons mean node OMEGA |
|
639 | 639 | omega = 259.183275 - ((1934.142008*t) % 360.0) |
|
640 |
l = l - 17.2*numpy.sin(omega* |
|
|
640 | l = l - 17.2*numpy.sin(omega*CoFactors.d2r) | |
|
641 | 641 | |
|
642 | 642 | # Form the True Obliquity |
|
643 |
oblt = 23.452294 - 0.0130125*t + (9.2*numpy.cos(omega* |
|
|
643 | oblt = 23.452294 - 0.0130125*t + (9.2*numpy.cos(omega*CoFactors.d2r))/3600.0 | |
|
644 | 644 | |
|
645 | 645 | # Form Right Ascension and Declination |
|
646 | 646 | l = l/3600.0 |
|
647 |
ra = numpy.arctan2((numpy.sin(l* |
|
|
647 | ra = numpy.arctan2((numpy.sin(l*CoFactors.d2r)*numpy.cos(oblt*CoFactors.d2r)),numpy.cos(l*CoFactors.d2r)) | |
|
648 | 648 | |
|
649 | 649 | neg = numpy.where(ra < 0.0) |
|
650 | 650 | if neg[0].size > 0: ra[neg] = ra[neg] + 2.0*numpy.pi |
|
651 | 651 | |
|
652 |
dec = numpy.arcsin(numpy.sin(l* |
|
|
652 | dec = numpy.arcsin(numpy.sin(l*CoFactors.d2r)*numpy.sin(oblt*CoFactors.d2r)) | |
|
653 | 653 | |
|
654 | 654 | if rad==1: |
|
655 |
oblt = oblt* |
|
|
656 |
longmed = longmed* |
|
|
655 | oblt = oblt*CoFactors.d2r | |
|
656 | longmed = longmed*CoFactors.d2r | |
|
657 | 657 | else: |
|
658 |
ra = ra/ |
|
|
659 |
dec = dec/ |
|
|
658 | ra = ra/CoFactors.d2r | |
|
659 | dec = dec/CoFactors.d2r | |
|
660 | 660 | |
|
661 | 661 | return ra, dec, longmed, oblt |
|
662 | 662 | |
@@ -754,30 +754,30 class CelestialBodies(EquatorialCorrections): | |||
|
754 | 754 | lprimed = numpy.poly1d(coeff0) |
|
755 | 755 | lprimed = lprimed(t) |
|
756 | 756 | lprimed = self.cirrange(lprimed,rad=0) |
|
757 |
lprime = lprimed* |
|
|
757 | lprime = lprimed*CoFactors.d2r | |
|
758 | 758 | |
|
759 | 759 | # Mean elongation of the moon |
|
760 | 760 | coeff1 = numpy.array([-1./1.13065e8,1./545868.,-0.0018819,445267.1114034,297.8501921]) |
|
761 | 761 | d = numpy.poly1d(coeff1) |
|
762 |
d = d(t)* |
|
|
762 | d = d(t)*CoFactors.d2r | |
|
763 | 763 | d = self.cirrange(d,rad=1) |
|
764 | 764 | |
|
765 | 765 | # Sun's mean anomaly |
|
766 | 766 | coeff2 = numpy.array([1.0/2.449e7,-0.0001536,35999.0502909,357.5291092]) |
|
767 | 767 | M = numpy.poly1d(coeff2) |
|
768 |
M = M(t)* |
|
|
768 | M = M(t)*CoFactors.d2r | |
|
769 | 769 | M = self.cirrange(M,rad=1) |
|
770 | 770 | |
|
771 | 771 | # Moon's mean anomaly |
|
772 | 772 | coeff3 = numpy.array([-1.0/1.4712e7,1.0/6.9699e4,0.0087414,477198.8675055,134.9633964]) |
|
773 | 773 | Mprime = numpy.poly1d(coeff3) |
|
774 |
Mprime = Mprime(t)* |
|
|
774 | Mprime = Mprime(t)*CoFactors.d2r | |
|
775 | 775 | Mprime = self.cirrange(Mprime,rad=1) |
|
776 | 776 | |
|
777 | 777 | # Moon's argument of latitude |
|
778 | 778 | coeff4 = numpy.array([1.0/8.6331e8,-1.0/3.526e7,-0.0036539,483202.0175233,93.2720950]) |
|
779 | 779 | F = numpy.poly1d(coeff4) |
|
780 |
F = F(t)* |
|
|
780 | F = F(t)*CoFactors.d2r | |
|
781 | 781 | F = self.cirrange(F,rad=1) |
|
782 | 782 | |
|
783 | 783 | # Eccentricity of Earth's orbit around the sun |
@@ -790,9 +790,9 class CelestialBodies(EquatorialCorrections): | |||
|
790 | 790 | ecorr4 = numpy.where((numpy.abs(m_lat))==2) |
|
791 | 791 | |
|
792 | 792 | # Additional arguments. |
|
793 |
A1 = (119.75 + 131.849*t)* |
|
|
794 |
A2 = (53.09 + 479264.290*t)* |
|
|
795 |
A3 = (313.45 + 481266.484*t)* |
|
|
793 | A1 = (119.75 + 131.849*t)*CoFactors.d2r | |
|
794 | A2 = (53.09 + 479264.290*t)*CoFactors.d2r | |
|
795 | A3 = (313.45 + 481266.484*t)*CoFactors.d2r | |
|
796 | 796 | suml_add = 3958.*numpy.sin(A1) + 1962.*numpy.sin(lprime - F) + 318*numpy.sin(A2) |
|
797 | 797 | sumb_add = -2235.*numpy.sin(lprime) + 382.*numpy.sin(A3) + 175.*numpy.sin(A1-F) + \ |
|
798 | 798 | 175.*numpy.sin(A1 + F) + 127.*numpy.sin(lprime - Mprime) - 115.*numpy.sin(lprime + Mprime) |
@@ -823,8 +823,8 class CelestialBodies(EquatorialCorrections): | |||
|
823 | 823 | [nlon, elon] = self.nutate(jd) |
|
824 | 824 | geolon = geolon + nlon/3.6e3 |
|
825 | 825 | geolon = self.cirrange(geolon,rad=0) |
|
826 |
lamb = geolon* |
|
|
827 |
beta = geolat* |
|
|
826 | lamb = geolon*CoFactors.d2r | |
|
827 | beta = geolat*CoFactors.d2r | |
|
828 | 828 | |
|
829 | 829 | # Find mean obliquity and convert lamb, beta to RA, Dec |
|
830 | 830 | c = numpy.array([2.45,5.79,27.87,7.12,-39.05,-249.67,-51.38,1999.25,-1.55,-4680.93, \ |
@@ -832,7 +832,7 class CelestialBodies(EquatorialCorrections): | |||
|
832 | 832 | junk = numpy.poly1d(c); |
|
833 | 833 | epsilon = 23. + (26./60.) + (junk(t/1.e2)/3600.) |
|
834 | 834 | # True obliquity in radians |
|
835 |
eps = (epsilon + elon/3600. )* |
|
|
835 | eps = (epsilon + elon/3600. )*CoFactors.d2r | |
|
836 | 836 | |
|
837 | 837 | ra = numpy.arctan2(numpy.sin(lamb)*numpy.cos(eps)-numpy.tan(beta)*numpy.sin(eps),numpy.cos(lamb)) |
|
838 | 838 | ra = self.cirrange(ra,rad=1) |
@@ -843,8 +843,8 class CelestialBodies(EquatorialCorrections): | |||
|
843 | 843 | geolon = lamb |
|
844 | 844 | geolat = beta |
|
845 | 845 | else: |
|
846 |
ra = ra/ |
|
|
847 |
dec = dec/ |
|
|
846 | ra = ra/CoFactors.d2r | |
|
847 | dec = dec/CoFactors.d2r | |
|
848 | 848 | |
|
849 | 849 | return ra, dec, dist, geolon, geolat |
|
850 | 850 | |
@@ -962,11 +962,11 class CelestialBodies(EquatorialCorrections): | |||
|
962 | 962 | """ |
|
963 | 963 | |
|
964 | 964 | # Defining date to compute SkyNoise. |
|
965 |
[year, month, dom, hour, mis, secs] = |
|
|
965 | [year, month, dom, hour, mis, secs] = Julian(jd).change2time() | |
|
966 | 966 | is_dom = (month==9) & (dom==21) |
|
967 | 967 | if is_dom: |
|
968 | 968 | tmp = jd |
|
969 |
jd = |
|
|
969 | jd = Time(year,9,22).change2julian() | |
|
970 | 970 | dom = 22 |
|
971 | 971 | |
|
972 | 972 | # Reading SkyNoise |
@@ -990,9 +990,9 class CelestialBodies(EquatorialCorrections): | |||
|
990 | 990 | hour = numpy.array([0,23]); |
|
991 | 991 | mins = numpy.array([0,59]); |
|
992 | 992 | secs = numpy.array([0,59]); |
|
993 |
LTrange = |
|
|
993 | LTrange = Time(year,month,dom,hour,mins,secs).change2julday() | |
|
994 | 994 | LTtime = LTrange[0] + numpy.arange(1440)*((LTrange[1] - LTrange[0])/(1440.-1)) |
|
995 |
lst = |
|
|
995 | lst = Julian(LTtime + (-3600.*ut/86400.)).change2lst() | |
|
996 | 996 | |
|
997 | 997 | ipowr = lst*0.0 |
|
998 | 998 | # Interpolating using scipy (inside max and min "x") |
@@ -1098,8 +1098,8 class AltAz(EquatorialCorrections): | |||
|
1098 | 1098 | [dra1,ddec1,eps,d_psi,d_eps] = self.co_nutate(self.jd,ra_tmp, dec_tmp) |
|
1099 | 1099 | |
|
1100 | 1100 | # Getting local mean sidereal time (lmst) |
|
1101 |
lmst = |
|
|
1102 |
lmst = lmst* |
|
|
1101 | lmst = Julian(self.jd[0]).change2lst() | |
|
1102 | lmst = lmst*CoFactors.h2d | |
|
1103 | 1103 | # Getting local apparent sidereal time (last) |
|
1104 | 1104 | last = lmst + d_psi*numpy.cos(eps)/3600. |
|
1105 | 1105 | |
@@ -1165,16 +1165,16 class AltAz(EquatorialCorrections): | |||
|
1165 | 1165 | Converted to Python by Freddy R. Galindo, ROJ, 26 September 2009. |
|
1166 | 1166 | """ |
|
1167 | 1167 | |
|
1168 |
alt_r = numpy.atleast_1d(self.alt* |
|
|
1169 |
az_r = numpy.atleast_1d(self.az* |
|
|
1170 |
lat_r = numpy.atleast_1d(self.lat* |
|
|
1168 | alt_r = numpy.atleast_1d(self.alt*CoFactors.d2r) | |
|
1169 | az_r = numpy.atleast_1d(self.az*CoFactors.d2r) | |
|
1170 | lat_r = numpy.atleast_1d(self.lat*CoFactors.d2r) | |
|
1171 | 1171 | |
|
1172 | 1172 | # Find local hour angle (in degrees, from 0 to 360.) |
|
1173 | 1173 | y_ha = -1*numpy.sin(az_r)*numpy.cos(alt_r) |
|
1174 | 1174 | x_ha = -1*numpy.cos(az_r)*numpy.sin(lat_r)*numpy.cos(alt_r) + numpy.sin(alt_r)*numpy.cos(lat_r) |
|
1175 | 1175 | |
|
1176 | 1176 | ha = numpy.arctan2(y_ha,x_ha) |
|
1177 |
ha = ha/ |
|
|
1177 | ha = ha/CoFactors.d2r | |
|
1178 | 1178 | |
|
1179 | 1179 | w = numpy.where(ha<0.) |
|
1180 | 1180 | if w[0].size>0:ha[w] = ha[w] + 360. |
@@ -1182,7 +1182,7 class AltAz(EquatorialCorrections): | |||
|
1182 | 1182 | |
|
1183 | 1183 | # Find declination (positive if north of celestial equatorial, negative if south) |
|
1184 | 1184 | sindec = numpy.sin(lat_r)*numpy.sin(alt_r) + numpy.cos(lat_r)*numpy.cos(alt_r)*numpy.cos(az_r) |
|
1185 |
dec = numpy.arcsin(sindec)/ |
|
|
1185 | dec = numpy.arcsin(sindec)/CoFactors.d2r | |
|
1186 | 1186 | |
|
1187 | 1187 | return ha, dec |
|
1188 | 1188 | |
@@ -1289,9 +1289,9 class Equatorial(EquatorialCorrections): | |||
|
1289 | 1289 | dec = dec + (ddec1*self.nutate_ + ddec2*self.aberration_)/3600. |
|
1290 | 1290 | |
|
1291 | 1291 | # Getting local mean sidereal time (lmst) |
|
1292 |
lmst = |
|
|
1292 | lmst = Julian(self.jd).change2lst() | |
|
1293 | 1293 | |
|
1294 |
lmst = lmst* |
|
|
1294 | lmst = lmst*CoFactors.h2d | |
|
1295 | 1295 | # Getting local apparent sidereal time (last) |
|
1296 | 1296 | last = lmst + d_psi*numpy.cos(eps)/3600. |
|
1297 | 1297 | |
@@ -1327,17 +1327,17 class Equatorial(EquatorialCorrections): | |||
|
1327 | 1327 | Converted to Python by Freddy R. Galindo, ROJ, 26 September 2009. |
|
1328 | 1328 | """ |
|
1329 | 1329 | |
|
1330 |
sh = numpy.sin(ha* |
|
|
1331 |
sd = numpy.sin(dec* |
|
|
1332 |
sl = numpy.sin(self.lat* |
|
|
1330 | sh = numpy.sin(ha*CoFactors.d2r) ; ch = numpy.cos(ha*CoFactors.d2r) | |
|
1331 | sd = numpy.sin(dec*CoFactors.d2r) ; cd = numpy.cos(dec*CoFactors.d2r) | |
|
1332 | sl = numpy.sin(self.lat*CoFactors.d2r) ; cl = numpy.cos(self.lat*CoFactors.d2r) | |
|
1333 | 1333 | |
|
1334 | 1334 | x = -1*ch*cd*sl + sd*cl |
|
1335 | 1335 | y = -1*sh*cd |
|
1336 | 1336 | z = ch*cd*cl + sd*sl |
|
1337 | 1337 | r = numpy.sqrt(x**2. + y**2.) |
|
1338 | 1338 | |
|
1339 |
az = numpy.arctan2(y,x)/ |
|
|
1340 |
alt = numpy.arctan2(z,r)/ |
|
|
1339 | az = numpy.arctan2(y,x)/CoFactors.d2r | |
|
1340 | alt = numpy.arctan2(z,r)/CoFactors.d2r | |
|
1341 | 1341 | |
|
1342 | 1342 | # correct for negative az. |
|
1343 | 1343 | w = numpy.where(az<0.) |
@@ -1396,7 +1396,7 class Geodetic(): | |||
|
1396 | 1396 | Converted to Python by Freddy R. Galindo, ROJ, 02 October 2009. |
|
1397 | 1397 | """ |
|
1398 | 1398 | |
|
1399 |
gdl = self.lat* |
|
|
1399 | gdl = self.lat*CoFactors.d2r | |
|
1400 | 1400 | slat = numpy.sin(gdl) |
|
1401 | 1401 | clat = numpy.cos(gdl) |
|
1402 | 1402 | slat2 = slat**2. |
@@ -1414,6 +1414,6 class Geodetic(): | |||
|
1414 | 1414 | y = rgeoid*sbet + self.alt*slat |
|
1415 | 1415 | |
|
1416 | 1416 | gcalt = numpy.sqrt(x**2. + y**2.) |
|
1417 |
gclat = numpy.arctan2(y,x)/ |
|
|
1417 | gclat = numpy.arctan2(y,x)/CoFactors.d2r | |
|
1418 | 1418 | |
|
1419 | 1419 | return gclat, gcalt |
@@ -32,11 +32,10 import matplotlib.pyplot | |||
|
32 | 32 | #import scipy |
|
33 | 33 | import scipy.interpolate |
|
34 | 34 | |
|
35 | import Astro_Coords | |
|
36 | import TimeTools | |
|
37 | import Graphics_Miscens | |
|
38 | ||
|
39 | import Misc_Routines | |
|
35 | from .Astro_Coords import Equatorial , CelestialBodies | |
|
36 | from .TimeTools import Time , Julian | |
|
37 | from .Graphics_Miscens import ColorTable | |
|
38 | from .Misc_Routines import CoFactors,Vector | |
|
40 | 39 | |
|
41 | 40 | class AntPatternPlot: |
|
42 | 41 | def __init__(self): |
@@ -79,8 +78,8 class AntPatternPlot: | |||
|
79 | 78 | |
|
80 | 79 | levels = numpy.array([1e-3,1e-2,1e-1,0.5,1.0]) |
|
81 | 80 | tmp = numpy.round(10*numpy.log10(levels),decimals=1) |
|
82 |
labels = |
|
|
83 |
for i in numpy.arange(5):labels |
|
|
81 | labels = [] | |
|
82 | for i in numpy.arange(5):labels.append(str(numpy.int(tmp[i]))) | |
|
84 | 83 | |
|
85 | 84 | |
|
86 | 85 | colors = ((0,0,1.),(0,170/255.,0),(127/255.,1.,0),(1.,109/255.,0),(128/255.,0,0)) |
@@ -156,11 +155,11 class AntPatternPlot: | |||
|
156 | 155 | dec_axes = numpy.dot(ones_ra,dec_axes.transpose()) |
|
157 | 156 | dec_axes2 = numpy.array(dec_axes) |
|
158 | 157 | |
|
159 |
ObjHor = |
|
|
158 | ObjHor = Equatorial(ha_axes2,dec_axes2,jd) | |
|
160 | 159 | [alt,az,ha] = ObjHor.change2AltAz() |
|
161 | 160 | |
|
162 |
z = numpy.transpose(alt)* |
|
|
163 |
az = numpy.transpose(az)* |
|
|
161 | z = numpy.transpose(alt)*CoFactors.d2r ; z = z.flatten() | |
|
162 | az = numpy.transpose(az)*CoFactors.d2r ; az = az.flatten() | |
|
164 | 163 | |
|
165 | 164 | vect = numpy.array([numpy.cos(z)*numpy.sin(az),numpy.cos(z)*numpy.cos(az),numpy.sin(z)]) |
|
166 | 165 | |
@@ -400,11 +399,11 class CelestialObjectsPlot: | |||
|
400 | 399 | marker = ['--^','--s','--*','--o'] |
|
401 | 400 | |
|
402 | 401 | # Getting RGB table to plot celestial object over Jicamarca |
|
403 |
colortable = |
|
|
402 | colortable = ColorTable(table=1).readTable() | |
|
404 | 403 | |
|
405 | 404 | for io in (numpy.arange(4)+1): |
|
406 | 405 | if self.show_object[io]!=0: |
|
407 |
ObjBodies = |
|
|
406 | ObjBodies = CelestialBodies() | |
|
408 | 407 | if io==1: |
|
409 | 408 | [ra,dec,sunlon,sunobliq] = ObjBodies.sunpos(jd) |
|
410 | 409 | elif io==2: |
@@ -416,10 +415,10 class CelestialObjectsPlot: | |||
|
416 | 415 | ra = maxra*15. |
|
417 | 416 | dec = main_dec |
|
418 | 417 | |
|
419 |
ObjEq = |
|
|
418 | ObjEq = Equatorial(ra,dec,jd,lat=glat,lon=glon) | |
|
420 | 419 | [alt, az, ha] = ObjEq.change2AltAz() |
|
421 | 420 | vect = numpy.array([az,alt]).transpose() |
|
422 |
vect = |
|
|
421 | vect = Vector(vect,direction=0).Polar2Rect() | |
|
423 | 422 | |
|
424 | 423 | dcosx = numpy.array(numpy.dot(vect,xg)) |
|
425 | 424 | dcosy = numpy.array(numpy.dot(vect,yg)) |
@@ -12,7 +12,7 Created by Ing. Freddy Galindo (frederickgalindo@gmail.com). ROJ, 21 October 200 | |||
|
12 | 12 | import numpy |
|
13 | 13 | import sys |
|
14 | 14 | |
|
15 | class CoFactors(): | |
|
15 | class CoFactors(object): | |
|
16 | 16 | """ |
|
17 | 17 | CoFactor class used to call pre-defined conversion factor (e.g. degree to radian). The cu- |
|
18 | 18 | The current available factor are: |
@@ -28,14 +28,14 class CoFactors(): | |||
|
28 | 28 | h2r = numpy.pi/12. |
|
29 | 29 | h2d = 15. |
|
30 | 30 | |
|
31 | class Redirect: | |
|
32 | def __init__(self,stdout): | |
|
31 | class Redirect(object): | |
|
32 | def __init__(self,stdout=None): | |
|
33 | 33 | self.stdout = stdout |
|
34 | 34 | |
|
35 | 35 | def write(self,message): |
|
36 | 36 | self.stdout.insertPlainText(message) |
|
37 | 37 | |
|
38 | class WidgetPrint: | |
|
38 | class WidgetPrint(object): | |
|
39 | 39 | """ |
|
40 | 40 | WidgetPrint class allows to define the standard output. |
|
41 | 41 | """ |
@@ -49,11 +49,11 class WidgetPrint: | |||
|
49 | 49 | if self.textid != None: sys.stdout = Redirect(self.textid) |
|
50 | 50 | print ("") |
|
51 | 51 | |
|
52 | class Vector: | |
|
52 | class Vector(object): | |
|
53 | 53 | """ |
|
54 | 54 | direction = 0 Polar to rectangular; direction=1 rectangular to polar |
|
55 | 55 | """ |
|
56 | def __init__(self,vect,direction=0): | |
|
56 | def __init__(self,vect=numpy.array([]),direction=0): | |
|
57 | 57 | nsize = numpy.size(vect) |
|
58 | 58 | if nsize <= 3: |
|
59 | 59 | vect = vect.reshape(1,nsize) |
@@ -77,5 +77,10 class Vector: | |||
|
77 | 77 | |
|
78 | 78 | return mm |
|
79 | 79 | |
|
80 | if __name__ == "__main__": | |
|
80 | 81 |
|
|
81 | ||
|
82 | a=CoFactors() | |
|
83 | a=Redirect() | |
|
84 | a=WidgetPrint() | |
|
85 | a=WidgetPrint() | |
|
86 | a=Vector() |
@@ -27,7 +27,7 class OverJRO(Files): | |||
|
27 | 27 | def saveFile(self, contentFile): |
|
28 | 28 | filename = self.setFilename() |
|
29 | 29 | finalpath = os.path.join(self.path, self.setFileExtension(filename)) |
|
30 | print "HAHAH" | |
|
30 | print ("HAHAH") | |
|
31 | 31 | finalpath = "apps/abs/static/data/"+finalpath |
|
32 | 32 | self.save(finalpath, contentFile) |
|
33 | 33 | return finalpath |
@@ -1,23 +1,28 | |||
|
1 | 1 | #!/usr/bin/python |
|
2 | ||
|
3 | ||
|
4 | 2 | import sys, os, os.path |
|
5 | 3 | import traceback |
|
6 |
import cgi |
|
|
4 | import cgi | |
|
5 | from http import cookies | |
|
6 | ||
|
7 | 7 | import time, datetime |
|
8 | 8 | import types |
|
9 | 9 | import numpy |
|
10 | 10 | import numpy.fft |
|
11 | 11 | import scipy.linalg |
|
12 | 12 | import scipy.special |
|
13 |
from |
|
|
14 | #import Numeric | |
|
13 | from io import StringIO | |
|
15 | 14 | |
|
16 | import Misc_Routines | |
|
17 | import TimeTools | |
|
18 | import JroAntSetup | |
|
19 | import Graphics_OverJro | |
|
20 | import Astro_Coords | |
|
15 | ||
|
16 | #import Misc_Routines | |
|
17 | from .Misc_Routines import CoFactors | |
|
18 | #import TimeTools | |
|
19 | from .TimeTools import Time , Julian ,Doy2Date | |
|
20 | #import JroAntSetup | |
|
21 | from .JroAntSetup import ReturnSetup | |
|
22 | #import Graphics_OverJro | |
|
23 | from .Graphics_OverJro import AntPatternPlot ,BFieldPlot,CelestialObjectsPlot,PatternCutPlot,SkyNoisePlot | |
|
24 | #import Astro_Coords | |
|
25 | from .Astro_Coords import Geodetic ,AltAz ,CelestialBodies | |
|
21 | 26 | |
|
22 | 27 | class JroPattern(): |
|
23 | 28 | def __init__(self,pattern=0,path=None,filename=None,nptsx=101,nptsy=101,maxphi=5,fftopt=0, \ |
@@ -62,7 +67,7 class JroPattern(): | |||
|
62 | 67 | |
|
63 | 68 | # Getting antenna configuration. |
|
64 | 69 | if filename: |
|
65 |
setup = |
|
|
70 | setup = ReturnSetup(path=path,filename=filename,pattern=pattern) | |
|
66 | 71 | |
|
67 | 72 | ues = setup["ues"] |
|
68 | 73 | phase = setup["phase"] |
@@ -98,7 +103,7 class JroPattern(): | |||
|
98 | 103 | # To get a cut of the pattern. |
|
99 | 104 | self.getcut = getcut |
|
100 | 105 | |
|
101 |
maxdcos = numpy.sin(maxphi* |
|
|
106 | maxdcos = numpy.sin(maxphi*CoFactors.d2r) | |
|
102 | 107 | if dcosx==None:dcosx = ((numpy.arange(nptsx,dtype=float)/(nptsx-1))-0.5)*2*maxdcos |
|
103 | 108 | if dcosy==None:dcosy = ((numpy.arange(nptsy,dtype=float)/(nptsy-1))-0.5)*2*maxdcos |
|
104 | 109 | self.dcosx = dcosx |
@@ -283,7 +288,7 class JroPattern(): | |||
|
283 | 288 | fft_phase[ix1:ix1+ndx-1,iy1:iy1+ndy-1] = phase[ix,ny-1-iy] |
|
284 | 289 | |
|
285 | 290 | |
|
286 |
fft_phase = fft_phase* |
|
|
291 | fft_phase = fft_phase*CoFactors.d2r | |
|
287 | 292 | |
|
288 | 293 | pattern = numpy.abs(numpy.fft.fft2(fft_gain*numpy.exp(numpy.complex(0,1)*fft_phase)))**2 |
|
289 | 294 | pattern = numpy.fft.fftshift(pattern) |
@@ -310,16 +315,33 class JroPattern(): | |||
|
310 | 315 | Converted to Python by Freddy R. Galindo, ROJ, 20 September 2009. |
|
311 | 316 | """ |
|
312 | 317 | |
|
313 | attenuation = None | |
|
314 | # foldr = sys.path[-1] + os.sep + "resource" + os.sep | |
|
315 | base_path = os.path.dirname(os.path.abspath(__file__)) | |
|
316 | #foldr = './resource' | |
|
317 | #filen = "attenuation.txt" | |
|
318 | attenuationFile = os.path.join(base_path,"resource","attenuation.txt") | |
|
319 | #ff = open(os.path.join(foldr,filen),'r') | |
|
320 | ff = open(attenuationFile,'r') | |
|
321 |
|
|
|
322 |
|
|
|
318 | # attenuation = None | |
|
319 | # # foldr = sys.path[-1] + os.sep + "resource" + os.sep | |
|
320 | # base_path = os.path.dirname(os.path.abspath(__file__)) | |
|
321 | # #foldr = './resource' | |
|
322 | # #filen = "attenuation.txt" | |
|
323 | # attenuationFile = os.path.join(base_path,"resource","attenuation.txt") | |
|
324 | # #ff = open(os.path.join(foldr,filen),'r') | |
|
325 | # ff = open(attenuationFile,'r') | |
|
326 | # print(ff.read()) | |
|
327 | # exec(ff.read()) | |
|
328 | # ff.close() | |
|
329 | attenuation = numpy.array([[[-21.25,-15.25,-9.25,-3.25,03.25,09.25,15.25,21.25], | |
|
330 | [-21.25,-15.25,-9.25,-3.25,03.25,09.25,15.25,21.25], | |
|
331 | [-21.25,-15.25,-9.25,-3.25,03.25,09.25,15.25,21.25], | |
|
332 | [-21.25,-15.25,-9.25,-3.25,03.25,09.25,15.25,21.25], | |
|
333 | [-21.25,-15.25,-9.25,-3.25,03.25,09.25,15.25,21.25], | |
|
334 | [-21.25,-15.25,-9.25,-3.25,03.25,09.25,15.25,21.25], | |
|
335 | [-21.25,-15.25,-9.25,-3.25,03.25,09.25,15.25,21.25], | |
|
336 | [-21.25,-15.25,-9.25,-3.25,03.25,09.25,15.25,21.25]], | |
|
337 | [[21.25,21.25,21.25,21.25,21.25,21.25,21.25,21.25], | |
|
338 | [15.25,15.25,15.25,15.25,15.25,15.25,15.25,15.25], | |
|
339 | [09.25,09.25,09.25,09.25,09.25,09.25,09.25,09.25], | |
|
340 | [03.25,03.25,03.25,03.25,03.25,03.25,03.25,03.25], | |
|
341 | [-03.25,-03.25,-03.25,-03.25,-03.25,-03.25,-03.25,-03.25], | |
|
342 | [-09.25,-09.25,-09.25,-09.25,-09.25,-09.25,-09.25,-09.25], | |
|
343 | [-15.25,-15.25,-15.25,-15.25,-15.25,-15.25,-15.25,-15.25], | |
|
344 | [-21.25,-21.25,-21.25,-21.25,-21.25,-21.25,-21.25,-21.25]]]) | |
|
323 | 345 | |
|
324 | 346 | return attenuation |
|
325 | 347 | |
@@ -400,7 +422,7 class JroPattern(): | |||
|
400 | 422 | posx = pos[0,:,:] |
|
401 | 423 | posy = pos[1,:,:] |
|
402 | 424 | |
|
403 |
phase = phase* |
|
|
425 | phase = phase*CoFactors.d2r | |
|
404 | 426 | module = numpy.zeros((self.nx,self.ny),dtype=complex) |
|
405 | 427 | for iy in range(self.ny): |
|
406 | 428 | for ix in range(self.nx): |
@@ -452,8 +474,8 class JroPattern(): | |||
|
452 | 474 | # Tranforming from indexes to axis' values |
|
453 | 475 | xcenter = xx1[0] + (((xx1[xx1.size-1] - xx1[0])/(xx1.size -1))*(params[1])) |
|
454 | 476 | ycenter = yy1[0] + (((yy1[yy1.size-1] - yy1[0])/(yy1.size -1))*(params[2])) |
|
455 |
xwidth = ((xx1[xx1.size-1] - xx1[0])/(xx1.size-1))*(params[3])*(1/ |
|
|
456 |
ywidth = ((yy1[yy1.size-1] - yy1[0])/(yy1.size-1))*(params[4])*(1/ |
|
|
477 | xwidth = ((xx1[xx1.size-1] - xx1[0])/(xx1.size-1))*(params[3])*(1/CoFactors.d2r) | |
|
478 | ywidth = ((yy1[yy1.size-1] - yy1[0])/(yy1.size-1))*(params[4])*(1/CoFactors.d2r) | |
|
457 | 479 | meanwx = (xwidth*ywidth) |
|
458 | 480 | meanpos = numpy.array([xcenter,ycenter]) |
|
459 | 481 | |
@@ -1057,14 +1079,14 class overJroShow: | |||
|
1057 | 1079 | self.path = self.madForm.getvalue('path') #path donde se encuentra el archivo: patron de radiacion del usuario |
|
1058 | 1080 | |
|
1059 | 1081 | else: |
|
1060 | print "Content-Type: text/html\n" | |
|
1061 | print '<h3> This cgi plot script was called without the proper arguments.</h3>' | |
|
1062 | print '<p> This is a script used to plot Antenna Cuts over Jicamarca Antenna</p>' | |
|
1063 | print '<p> Required arguments:</p>' | |
|
1064 | print '<p> pattern - chekbox indicating objects over jicamarca antenna</p>' | |
|
1065 | print '<p> or' | |
|
1066 | print '<p> filename - The pattern defined by users is a file text' | |
|
1067 | print '<p> path - folder with pattern files' | |
|
1082 | print ("Content-Type: text/html\n") | |
|
1083 | print ('<h3> This cgi plot script was called without the proper arguments.</h3>') | |
|
1084 | print ('<p> This is a script used to plot Antenna Cuts over Jicamarca Antenna</p>') | |
|
1085 | print ('<p> Required arguments:</p>') | |
|
1086 | print ('<p> pattern - chekbox indicating objects over jicamarca antenna</p>') | |
|
1087 | print ('<p> or') | |
|
1088 | print ('<p> filename - The pattern defined by users is a file text') | |
|
1089 | print ('<p> path - folder with pattern files') | |
|
1068 | 1090 | sys.exit(0) |
|
1069 | 1091 | |
|
1070 | 1092 | |
@@ -1094,12 +1116,12 class overJroShow: | |||
|
1094 | 1116 | if self.showType == 1: |
|
1095 | 1117 | if numpy.sum(self.objects) == 0: |
|
1096 | 1118 | if self.scriptHeaders == 0: |
|
1097 | print "Content-Type: text/html\n" | |
|
1098 | print '<h3> This cgi plot script was called without the proper arguments.</h3>' | |
|
1099 | print '<p> This is a script used to plot Antenna Cuts over Jicamarca Antenna</p>' | |
|
1100 | print '<p> Required arguments:</p>' | |
|
1101 | print '<p> objects - chekbox indicating objects over jicamarca antenna</p>' | |
|
1102 | print '<p> Please, options in "Select Object" must be checked' | |
|
1119 | print ("Content-Type: text/html\n") | |
|
1120 | print ('<h3> This cgi plot script was called without the proper arguments.</h3>') | |
|
1121 | print ('<p> This is a script used to plot Antenna Cuts over Jicamarca Antenna</p>') | |
|
1122 | print ('<p> Required arguments:</p>') | |
|
1123 | print ('<p> objects - chekbox indicating objects over jicamarca antenna</p>') | |
|
1124 | print ('<p> Please, options in "Select Object" must be checked') | |
|
1103 | 1125 | sys.exit(0) |
|
1104 | 1126 | |
|
1105 | 1127 | #considerar para futura implementacion |
@@ -1112,19 +1134,19 class overJroShow: | |||
|
1112 | 1134 | |
|
1113 | 1135 | else: |
|
1114 | 1136 | if self.scriptHeaders == 0: |
|
1115 | print "Content-Type: text/html\n" | |
|
1116 | ||
|
1117 | print '<h3> This cgi plot script was called without the proper arguments.</h3>' | |
|
1118 | print '<p> This is a script used to plot Pattern Field and Celestial Objects over Jicamarca Antenna</p>' | |
|
1119 | print '<p> Required arguments:</p>' | |
|
1120 | print '<p> year - year of event</p>' | |
|
1121 | print '<p> month - month of event</p>' | |
|
1122 | print '<p> dom - day of month</p>' | |
|
1123 | print '<p> pattern - pattern is defined by "Select an Experiment" list box</p>' | |
|
1124 | print '<p> maxphi - maxphi is defined by "Max Angle" text box</p>' | |
|
1125 | print '<p> objects - objects is a list defined by checkbox in "Select Object"</p>' | |
|
1126 | print '<p> heights - heights is defined by "Heights" text box, for default heights=[100,500,1000]</p>' | |
|
1127 | print '<p> showType - showType is a hidden element for show plot of Pattern&Object or Antenna Cuts or Sky Noise</p>' | |
|
1137 | print ("Content-Type: text/html\n") | |
|
1138 | ||
|
1139 | print ('<h3> This cgi plot script was called without the proper arguments.</h3>') | |
|
1140 | print ('<p> This is a script used to plot Pattern Field and Celestial Objects over Jicamarca Antenna</p>') | |
|
1141 | print ('<p> Required arguments:</p>') | |
|
1142 | print ('<p> year - year of event</p>') | |
|
1143 | print ('<p> month - month of event</p>') | |
|
1144 | print ('<p> dom - day of month</p>') | |
|
1145 | print ('<p> pattern - pattern is defined by "Select an Experiment" list box</p>') | |
|
1146 | print ('<p> maxphi - maxphi is defined by "Max Angle" text box</p>') | |
|
1147 | print ('<p> objects - objects is a list defined by checkbox in "Select Object"</p>') | |
|
1148 | print ('<p> heights - heights is defined by "Heights" text box, for default heights=[100,500,1000]</p>') | |
|
1149 | print ('<p> showType - showType is a hidden element for show plot of Pattern&Object or Antenna Cuts or Sky Noise</p>') | |
|
1128 | 1150 | |
|
1129 | 1151 | sys.exit(0) |
|
1130 | 1152 | |
@@ -1139,13 +1161,13 class overJroShow: | |||
|
1139 | 1161 | |
|
1140 | 1162 | else: |
|
1141 | 1163 | if self.scriptHeaders == 0: |
|
1142 | print "Content-Type: text/html\n" | |
|
1143 | print '<h3> This cgi plot script was called without the proper arguments.</h3>' | |
|
1144 | print '<p> This is a script used to plot Sky Noise over Jicamarca Antenna</p>' | |
|
1145 | print '<p> Required arguments:</p>' | |
|
1146 | print '<p> year - year of event</p>' | |
|
1147 | print '<p> month - month of event</p>' | |
|
1148 | print '<p> dom - day of month</p>' | |
|
1164 | print ("Content-Type: text/html\n") | |
|
1165 | print ('<h3> This cgi plot script was called without the proper arguments.</h3>') | |
|
1166 | print ('<p> This is a script used to plot Sky Noise over Jicamarca Antenna</p>') | |
|
1167 | print ('<p> Required arguments:</p>') | |
|
1168 | print ('<p> year - year of event</p>') | |
|
1169 | print ('<p> month - month of event</p>') | |
|
1170 | print ('<p> dom - day of month</p>') | |
|
1149 | 1171 | |
|
1150 | 1172 | sys.exit(0) |
|
1151 | 1173 | |
@@ -1193,11 +1215,11 class overJroShow: | |||
|
1193 | 1215 | self.glon = -76.874383 |
|
1194 | 1216 | |
|
1195 | 1217 | |
|
1196 |
self.junkjd = |
|
|
1197 |
self.junklst = |
|
|
1218 | self.junkjd = Time(self.year,self.month,self.dom).change2julday() | |
|
1219 | self.junklst = Julian(self.junkjd).change2lst(longitude=self.glon) | |
|
1198 | 1220 | |
|
1199 | 1221 | # Finding RA of observatory for a specific date |
|
1200 |
self.ra_obs = self.junklst* |
|
|
1222 | self.ra_obs = self.junklst*CoFactors.h2d | |
|
1201 | 1223 | |
|
1202 | 1224 | def initParameters(self): |
|
1203 | 1225 | |
@@ -1211,9 +1233,9 class overJroShow: | |||
|
1211 | 1233 | # alfa = 1.46*Misc_Routines.CoFactors.d2r |
|
1212 | 1234 | # theta = 51.01*Misc_Routines.CoFactors.d2r |
|
1213 | 1235 | |
|
1214 |
alfa = 1.488312* |
|
|
1236 | alfa = 1.488312*CoFactors.d2r | |
|
1215 | 1237 | th = 6.166710 + 45.0 |
|
1216 |
theta = th* |
|
|
1238 | theta = th*CoFactors.d2r | |
|
1217 | 1239 | |
|
1218 | 1240 | sina = numpy.sin(alfa) |
|
1219 | 1241 | cosa = numpy.cos(alfa) |
@@ -1232,11 +1254,11 class overJroShow: | |||
|
1232 | 1254 | |
|
1233 | 1255 | self.initParameters() |
|
1234 | 1256 | self.doy = datetime.datetime(date.year,date.month,date.day).timetuple().tm_yday |
|
1235 |
self.junkjd = |
|
|
1236 |
self.junklst = |
|
|
1237 |
self.ra_obs = self.junklst* |
|
|
1257 | self.junkjd = Time(self.year,self.month,self.dom).change2julday() | |
|
1258 | self.junklst = Julian(self.junkjd).change2lst(longitude=self.glon) | |
|
1259 | self.ra_obs = self.junklst*CoFactors.h2d | |
|
1238 | 1260 | |
|
1239 |
date = |
|
|
1261 | date = Time(date.year,date.month,date.day).change2strdate(mode=2) | |
|
1240 | 1262 | |
|
1241 | 1263 | mesg = 'Over Jicamarca: ' + date[0] |
|
1242 | 1264 | |
@@ -1254,7 +1276,7 class overJroShow: | |||
|
1254 | 1276 | just_rx=just_rx |
|
1255 | 1277 | ) |
|
1256 | 1278 | |
|
1257 |
dum = |
|
|
1279 | dum = AntPatternPlot() | |
|
1258 | 1280 | |
|
1259 | 1281 | dum.contPattern(iplot=0, |
|
1260 | 1282 | gpath=self.path4plotname, |
@@ -1317,7 +1339,7 class overJroShow: | |||
|
1317 | 1339 | # Plotting Contour Map |
|
1318 | 1340 | |
|
1319 | 1341 | self.path4plotname = '/home/jespinoza/workspace/radarsys/trunk/webapp/apps/abs/static/images' |
|
1320 |
dum = |
|
|
1342 | dum = AntPatternPlot() | |
|
1321 | 1343 | dum.contPattern(iplot=ii, |
|
1322 | 1344 | gpath=self.path4plotname, |
|
1323 | 1345 | filename=self.plotname0, |
@@ -1342,13 +1364,13 class overJroShow: | |||
|
1342 | 1364 | |
|
1343 | 1365 | [ra,dec,ha] = Astro_Coords.AltAz(vect_polar[1],vect_polar[0],self.junkjd).change2equatorial() |
|
1344 | 1366 | |
|
1345 | print'Main beam position (HA(min), DEC(degrees)): %f %f'%(ha*4.,dec) | |
|
1367 | print('Main beam position (HA(min), DEC(degrees)): %f %f')%(ha*4.,dec) | |
|
1346 | 1368 | |
|
1347 | 1369 | self.main_dec = dec |
|
1348 | 1370 | |
|
1349 | 1371 | self.ptitle = title |
|
1350 | 1372 | |
|
1351 |
|
|
|
1373 | AntPatternPlot().plotRaDec(gpath=self.path4plotname, | |
|
1352 | 1374 | filename=self.plotname0, |
|
1353 | 1375 | jd=self.junkjd, |
|
1354 | 1376 | ra_obs=self.ra_obs, |
@@ -1377,7 +1399,7 class overJroShow: | |||
|
1377 | 1399 | # Plotting B field. |
|
1378 | 1400 | # print "Drawing magnetic field over Observatory" |
|
1379 | 1401 | |
|
1380 |
Obj = |
|
|
1402 | Obj = BFieldPlot() | |
|
1381 | 1403 | |
|
1382 | 1404 | Obj.plotBField(self.path4plotname,self.plotname0,dcos,alpha,nlon,nlat,self.dcosxrange,self.dcosyrange,ObjB.heights,ObjB.alpha_i) |
|
1383 | 1405 | |
@@ -1423,13 +1445,13 class overJroShow: | |||
|
1423 | 1445 | |
|
1424 | 1446 | tod = numpy.arange(ntod)/ntod*24. |
|
1425 | 1447 | |
|
1426 |
[month,dom] = |
|
|
1448 | [month,dom] = Doy2Date(self.year,self.doy).change2date() | |
|
1427 | 1449 | |
|
1428 |
jd = |
|
|
1450 | jd = Time(self.year,month,dom,tod+self.UT).change2julday() | |
|
1429 | 1451 | |
|
1430 | 1452 | if numpy.sum(self.show_object[1:]>0)!=0: |
|
1431 | 1453 | |
|
1432 |
self.ObjC = |
|
|
1454 | self.ObjC = CelestialObjectsPlot(jd,self.main_dec,tod,self.maxha_min,self.show_object) | |
|
1433 | 1455 | |
|
1434 | 1456 | self.ObjC.drawObject(self.glat, |
|
1435 | 1457 | self.glon, |
@@ -1452,7 +1474,7 class overJroShow: | |||
|
1452 | 1474 | #Init ObjCut for PatternCutPlot() |
|
1453 | 1475 | view_objects = numpy.where(self.show_object>0) |
|
1454 | 1476 | subplots = len(view_objects[0]) |
|
1455 |
ObjCut = |
|
|
1477 | ObjCut = PatternCutPlot(subplots) | |
|
1456 | 1478 | |
|
1457 | 1479 | for io in (numpy.arange(5)): |
|
1458 | 1480 | if self.show_object[io]==2: |
@@ -1512,7 +1534,7 class overJroShow: | |||
|
1512 | 1534 | m_distance = 404114.6 # distance to the Earth in km |
|
1513 | 1535 | m_diameter = 1734.4 # diameter in km. |
|
1514 | 1536 | width_star = numpy.arctan(m_distance/m_diameter) |
|
1515 |
width_star = width_star/2./ |
|
|
1537 | width_star = width_star/2./CoFactors.d2r*4. | |
|
1516 | 1538 | otitle = 'Moon cut' |
|
1517 | 1539 | # else: |
|
1518 | 1540 | # print "Moon is not passing over Observatory" |
@@ -1544,7 +1566,7 class overJroShow: | |||
|
1544 | 1566 | mins = numpy.int32((time - hour)*60.) |
|
1545 | 1567 | secs = numpy.int32(((time - hour)*60. - mins)*60.) |
|
1546 | 1568 | |
|
1547 |
ObjT = |
|
|
1569 | ObjT = Time(self.year,self.month,self.dom,hour,mins,secs) | |
|
1548 | 1570 | subtitle = ObjT.change2strdate() |
|
1549 | 1571 | |
|
1550 | 1572 | star_cut = numpy.exp(-(star_ha/width_star)**2./2.) |
@@ -1585,46 +1607,45 class overJroShow: | |||
|
1585 | 1607 | month = self.month |
|
1586 | 1608 | year = self.year |
|
1587 | 1609 | |
|
1588 |
julian = |
|
|
1610 | julian = Time(year,month,dom).change2julday() | |
|
1589 | 1611 | |
|
1590 | 1612 | [powr,time, lst] = Astro_Coords.CelestialBodies().skyNoise(julian) |
|
1591 | 1613 | |
|
1592 |
|
|
|
1614 | SkyNoisePlot([year,month,dom],powr,time,lst).getPlot(self.path4plotname,self.plotname2) | |
|
1593 | 1615 | |
|
1594 | 1616 | |
|
1595 | 1617 | def outputHead(self,title): |
|
1596 | print "Content-Type: text/html" | |
|
1597 | ||
|
1598 | self.scriptHeaders = 1 | |
|
1599 |
print '<h |
|
|
1600 | print '<head>' | |
|
1601 | print '\t<title>' + title + '</title>' | |
|
1602 | print '<style type="text/css">' | |
|
1603 |
print ' |
|
|
1604 | print '{' | |
|
1605 | print 'background-color:#ffffff;' | |
|
1606 |
print ' |
|
|
1607 |
print ' |
|
|
1608 |
print ' |
|
|
1609 |
print ' |
|
|
1610 | print 'font-size:18px;' | |
|
1611 |
print ' |
|
|
1612 |
print ' |
|
|
1613 |
print ' |
|
|
1614 | print '{' | |
|
1615 |
print 'font- |
|
|
1616 |
print ' |
|
|
1617 |
print ' |
|
|
1618 |
print ' |
|
|
1619 | print '</style>' | |
|
1618 | print ("Content-Type: text/html") | |
|
1619 | print (self).scriptHeaders = 1 | |
|
1620 | print ('<html>') | |
|
1621 | print ('<head>') | |
|
1622 | print ('\t<title>' + title + '</title>') | |
|
1623 | print ('<style type="text/css">') | |
|
1624 | print ('body') | |
|
1625 | print ('{') | |
|
1626 | print ('background-color:#ffffff;') | |
|
1627 | print ('}') | |
|
1628 | print ('h1') | |
|
1629 | print ('{') | |
|
1630 | print ('color:black;') | |
|
1631 | print ('font-size:18px;') | |
|
1632 | print ('text-align:center;') | |
|
1633 | print ('}') | |
|
1634 | print ('p') | |
|
1635 | print ('{') | |
|
1636 | print ('font-family:"Arial";') | |
|
1637 | print ('font-size:16px;') | |
|
1638 | print ('color:black;') | |
|
1639 | print ('}') | |
|
1640 | print ('</style>') | |
|
1620 | 1641 | # self.printJavaScript() |
|
1621 | print '</head>' | |
|
1642 | print ('</head>') | |
|
1622 | 1643 | |
|
1623 | 1644 | def printJavaScript(self): |
|
1624 | 1645 | |
|
1625 | 1646 | |
|
1626 | 1647 | def printBody(self): |
|
1627 | print '<body>' | |
|
1648 | print ('<body>') | |
|
1628 | 1649 | # print '<h1>Test Input Parms</h1>' |
|
1629 | 1650 | # for key in self.madForm.keys(): |
|
1630 | 1651 | # #print '<p> name=' + str(key) |
@@ -1636,25 +1657,25 class overJroShow: | |||
|
1636 | 1657 | # print '<p> name=' + str(key) + \ |
|
1637 | 1658 | # ' value=' + str(cgi.escape(self.madForm.getvalue(key))) + '' |
|
1638 | 1659 | |
|
1639 | print '<form name="form1" method="post" target="showFrame">' | |
|
1640 | print ' <div align="center">' | |
|
1641 | print ' <table width=98% border="1" cellpadding="1">' | |
|
1642 | print ' <tr>' | |
|
1643 | print ' <td colspan="2" align="center">' | |
|
1660 | print ('<form name="form1" method="post" target="showFrame">') | |
|
1661 | print (' <div align="center">') | |
|
1662 | print (' <table width=98% border="1" cellpadding="1">') | |
|
1663 | print (' <tr>') | |
|
1664 | print (' <td colspan="2" align="center">') | |
|
1644 | 1665 | if self.showType == 0: |
|
1645 | print ' <IMG SRC="%s" BORDER="0" >'%(os.path.join(os.sep + self.__tmpDir,self.plotname0)) | |
|
1666 | print (' <IMG SRC="%s" BORDER="0" >')%(os.path.join(os.sep + self.__tmpDir,self.plotname0)) | |
|
1646 | 1667 | if self.showType == 1: |
|
1647 | print ' <IMG SRC="%s" BORDER="0" >'%(os.path.join(os.sep + self.__tmpDir,self.plotname1)) | |
|
1668 | print (' <IMG SRC="%s" BORDER="0" >')%(os.path.join(os.sep + self.__tmpDir,self.plotname1)) | |
|
1648 | 1669 | if self.showType == 2: |
|
1649 | print ' <IMG SRC="%s" BORDER="0" >'%(os.path.join(os.sep + self.__tmpDir,self.plotname2)) | |
|
1650 | print ' </td>' | |
|
1651 | print ' </tr>' | |
|
1652 | print ' </table>' | |
|
1653 | print ' </div>' | |
|
1654 | print '</form>' | |
|
1655 | ||
|
1656 | print '</body>' | |
|
1657 | print '</html>' | |
|
1670 | print (' <IMG SRC="%s" BORDER="0" >')%(os.path.join(os.sep + self.__tmpDir,self.plotname2)) | |
|
1671 | print (' </td>') | |
|
1672 | print (' </tr>') | |
|
1673 | print (' </table>') | |
|
1674 | print (' </div>') | |
|
1675 | print ('</form>') | |
|
1676 | ||
|
1677 | print ('</body>') | |
|
1678 | print ('</html>') | |
|
1658 | 1679 | |
|
1659 | 1680 | #def execute(self, serverdocspath, tmpdir, currentdate, finalpath, showType=0, maxphi=5.0, objects="[1,1]", heights="[150,500,1000]"): |
|
1660 | 1681 | def setInputParameters(self, serverpath, currentdate, finalpath, showType=0, maxphi=5.0, objects="[1,1]", heights="[150,500,1000]"): |
@@ -1,3 +1,4 | |||
|
1 | ||
|
1 | 2 | attenuation = numpy.array([[[-21.25,-15.25,-9.25,-3.25,03.25,09.25,15.25,21.25], |
|
2 | 3 | [-21.25,-15.25,-9.25,-3.25,03.25,09.25,15.25,21.25], |
|
3 | 4 | [-21.25,-15.25,-9.25,-3.25,03.25,09.25,15.25,21.25], |
@@ -4,7 +4,7 from django.shortcuts import redirect, render, get_object_or_404 | |||
|
4 | 4 | from django.contrib import messages |
|
5 | 5 | from django.conf import settings |
|
6 | 6 | from django.http import HttpResponse |
|
7 |
from django. |
|
|
7 | from django.urls import reverse | |
|
8 | 8 | from django.views.decorators.csrf import csrf_exempt |
|
9 | 9 | from django.utils.safestring import mark_safe |
|
10 | 10 | |
@@ -20,7 +20,7 from .models import ABSConfiguration, ABSBeam | |||
|
20 | 20 | from .forms import ABSConfigurationForm, ABSBeamEditForm, ABSBeamAddForm, ABSImportForm |
|
21 | 21 | |
|
22 | 22 | from .utils.overJroShow import overJroShow |
|
23 | from .utils.OverJRO import OverJRO | |
|
23 | #from .utils.OverJRO import OverJRO | |
|
24 | 24 | # Create your views here. |
|
25 | 25 | import json, ast |
|
26 | 26 | |
@@ -209,7 +209,7 def abs_conf_edit(request, id_conf): | |||
|
209 | 209 | def abs_conf_alert(request): |
|
210 | 210 | |
|
211 | 211 | if request.method == 'POST': |
|
212 | print request.POST | |
|
212 | print (request.POST) | |
|
213 | 213 | return HttpResponse(json.dumps({'result':1}), content_type='application/json') |
|
214 | 214 | else: |
|
215 | 215 | return redirect('index') |
@@ -251,7 +251,7 def send_beam(request, id_conf, id_beam): | |||
|
251 | 251 | conf = get_object_or_404(ABSConfiguration, pk=id_conf) |
|
252 | 252 | |
|
253 | 253 | abs = Configuration.objects.filter(pk=conf.device.conf_active).first() |
|
254 |
if abs |
|
|
254 | if abs!=conf: | |
|
255 | 255 | url = '#' if abs is None else abs.get_absolute_url() |
|
256 | 256 | label = 'None' if abs is None else abs.label |
|
257 | 257 | messages.warning( |
@@ -277,7 +277,7 def send_beam(request, id_conf, id_beam): | |||
|
277 | 277 | else: |
|
278 | 278 | i += 1 |
|
279 | 279 | beam_pos = i + 1 #Estandarizar |
|
280 | print '%s Position: %s' % (beam.name, str(beam_pos)) | |
|
280 | print ('%s Position: %s') % (beam.name, str(beam_pos)) | |
|
281 | 281 | conf.send_beam(beam_pos) |
|
282 | 282 | |
|
283 | 283 | return redirect('url_abs_conf', conf.id) |
@@ -322,7 +322,7 style = """<style> | |||
|
322 | 322 | |
|
323 | 323 | class EditUpDataWidget(forms.widgets.TextInput): |
|
324 | 324 | |
|
325 |
def render(self, |
|
|
325 | def render(self, name, value, attrs=None, renderer=None): | |
|
326 | 326 | |
|
327 | 327 | try: |
|
328 | 328 | beam = attrs.get('beam', value) |
@@ -794,7 +794,7 class EditUpDataWidget(forms.widgets.TextInput): | |||
|
794 | 794 | |
|
795 | 795 | class EditDownDataWidget(forms.widgets.TextInput): |
|
796 | 796 | |
|
797 |
def render(self, |
|
|
797 | def render(self, name, value, attrs=None, renderer=None): | |
|
798 | 798 | |
|
799 | 799 | try: |
|
800 | 800 | beam = attrs.get('beam', value) |
@@ -1247,7 +1247,7 class EditDownDataWidget(forms.widgets.TextInput): | |||
|
1247 | 1247 | |
|
1248 | 1248 | class UpDataWidget(forms.widgets.TextInput): |
|
1249 | 1249 | |
|
1250 |
def render(self, |
|
|
1250 | def render(self, name, value, attrs=None, renderer=None): | |
|
1251 | 1251 | |
|
1252 | 1252 | |
|
1253 | 1253 | html = ''' |
@@ -1639,6 +1639,7 class UpDataWidget(forms.widgets.TextInput): | |||
|
1639 | 1639 | |
|
1640 | 1640 | <div id="id_ues_up" class="container"> |
|
1641 | 1641 | <h5>Ues</h5> |
|
1642 | <div class="row"> | |
|
1642 | 1643 | <div class="col-xs-2"> |
|
1643 | 1644 | <input name="ues_up1" value="0" class="form-control" id="input1" type="number" step="any"> |
|
1644 | 1645 | </div> |
@@ -1651,6 +1652,7 class UpDataWidget(forms.widgets.TextInput): | |||
|
1651 | 1652 | <div class="col-xs-2"> |
|
1652 | 1653 | <input name="ues_up4" value="0" class="form-control" id="input4" type="number" step="any"> |
|
1653 | 1654 | </div> |
|
1655 | </div> | |
|
1654 | 1656 | <div style="vertical-align:center; margin-top:20px;"> |
|
1655 | 1657 | <label class="checkbox-inline"><input name="onlyrx" style="vertical-align:bottom" id="onlyrx_up" type="checkbox" value=1>Only RX</label> |
|
1656 | 1658 | </div> |
@@ -1673,7 +1675,7 class UpDataWidget(forms.widgets.TextInput): | |||
|
1673 | 1675 | |
|
1674 | 1676 | class DownDataWidget(forms.widgets.TextInput): |
|
1675 | 1677 | |
|
1676 |
def render(self, |
|
|
1678 | def render(self, name, value, attrs=None, renderer=None): | |
|
1677 | 1679 | |
|
1678 | 1680 | html = ''' |
|
1679 | 1681 | <br> |
@@ -1,5 +1,5 | |||
|
1 | 1 | {% extends "base.html" %} |
|
2 |
{% load bootstrap |
|
|
2 | {% load bootstrap4 %} | |
|
3 | 3 | {% block mainactive %}active{% endblock %} |
|
4 | 4 | |
|
5 | 5 | {% block content-title %}SIR{% endblock %} |
@@ -1,7 +1,8 | |||
|
1 |
from django. |
|
|
1 | from django.urls import path | |
|
2 | 2 | from django.contrib.auth import views as auth_views |
|
3 | 3 | |
|
4 | ||
|
4 | 5 | urlpatterns = ( |
|
5 |
|
|
|
6 |
|
|
|
6 | path('logout/', auth_views.LogoutView.as_view(next_page='/'), name='url_logout'), | |
|
7 | path('login/', auth_views.LoginView.as_view(template_name='login.html'), name='url_login'), | |
|
7 | 8 | ) |
@@ -160,7 +160,7 class CGSConfiguration(Configuration): | |||
|
160 | 160 | post_data[data] = frequencies[data] |
|
161 | 161 | |
|
162 | 162 | route = "http://" + str(ip) + ":" + str(port) + "/write/" |
|
163 | print post_data | |
|
163 | print (post_data) | |
|
164 | 164 | try: |
|
165 | 165 | r = requests.post(route, post_data, timeout=0.7) |
|
166 | 166 | except: |
@@ -1,5 +1,5 | |||
|
1 | 1 | {% extends "dev_conf_edit.html" %} |
|
2 |
{% load bootstrap |
|
|
2 | {% load bootstrap4 %} | |
|
3 | 3 | {% load static %} |
|
4 | 4 | {% load main_tags %} |
|
5 | 5 |
@@ -1,5 +1,5 | |||
|
1 | 1 | {% extends "dev_conf_edit.html" %} |
|
2 |
{% load bootstrap |
|
|
2 | {% load bootstrap4 %} | |
|
3 | 3 | {% load static %} |
|
4 | 4 | {% load main_tags %} |
|
5 | 5 |
@@ -1,5 +1,5 | |||
|
1 | 1 | {% extends "base.html" %} |
|
2 |
{% load bootstrap |
|
|
2 | {% load bootstrap4 %} | |
|
3 | 3 | {% block mainactive %}active{% endblock %} |
|
4 | 4 | |
|
5 | 5 | {% block content-title %}DEVICE CGS{% endblock %} |
@@ -1,8 +1,8 | |||
|
1 |
from django. |
|
|
1 | from django.urls import path | |
|
2 | 2 | |
|
3 |
from |
|
|
3 | from . import views | |
|
4 | 4 | |
|
5 | 5 | urlpatterns = ( |
|
6 |
|
|
|
7 |
|
|
|
6 | path('<int:id_conf>/', views.cgs_conf, name='url_cgs_conf'), | |
|
7 | path('<int:id_conf>/edit/', views.cgs_conf_edit, name='url_edit_cgs_conf'), | |
|
8 | 8 | ) |
@@ -1,5 +1,5 | |||
|
1 | 1 | {% extends "dev_conf_edit.html" %} |
|
2 |
{% load bootstrap |
|
|
2 | {% load bootstrap4 %} | |
|
3 | 3 | {% load static %} |
|
4 | 4 | {% load main_tags %} |
|
5 | 5 |
@@ -1,5 +1,5 | |||
|
1 | 1 | {% extends "dev_conf_edit.html" %} |
|
2 |
{% load bootstrap |
|
|
2 | {% load bootstrap4 %} | |
|
3 | 3 | {% load static %} |
|
4 | 4 | {% load main_tags %} |
|
5 | 5 |
@@ -1,9 +1,9 | |||
|
1 |
from django. |
|
|
1 | from django.urls import path | |
|
2 | 2 | |
|
3 |
from |
|
|
3 | from . import views | |
|
4 | 4 | |
|
5 | 5 | urlpatterns = ( |
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
|
6 | path('<int:id_conf>/', views.dds_conf, name='url_dds_conf'), | |
|
7 | path('<int:id_conf>/<int:message>/', views.dds_conf, name='url_dds_conf'), | |
|
8 | path('<int:id_conf>/edit/', views.dds_conf_edit, name='url_edit_dds_conf'), | |
|
9 | 9 | ) |
@@ -3,7 +3,7 import requests | |||
|
3 | 3 | |
|
4 | 4 | from django.db import models |
|
5 | 5 | from django.core.validators import MinValueValidator, MaxValueValidator |
|
6 |
from django. |
|
|
6 | from django.urls import reverse | |
|
7 | 7 | |
|
8 | 8 | from apps.main.models import Configuration |
|
9 | 9 | from apps.main.utils import Params |
@@ -4,7 +4,7 | |||
|
4 | 4 | {% load main_tags %} |
|
5 | 5 | |
|
6 | 6 | {% block extra-menu-actions %} |
|
7 |
<li><a href="{{ dev_conf.get_absolute_url_log }}"><span class=" |
|
|
7 | <li><a href="{{ dev_conf.get_absolute_url_log }}"><span class="fas fa-save" aria-hidden="true"></span> | |
|
8 | 8 | Get Log File</a></li> |
|
9 | 9 | {% endblock %} |
|
10 | 10 |
@@ -1,13 +1,13 | |||
|
1 |
from django. |
|
|
1 | from django.urls import path | |
|
2 | 2 | |
|
3 |
from |
|
|
3 | from . import views | |
|
4 | 4 | |
|
5 | 5 | urlpatterns = ( |
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
|
|
|
10 |
|
|
|
11 |
|
|
|
12 |
|
|
|
6 | path('<int:id_conf>/', views.jars_conf, name='url_jars_conf'), | |
|
7 | path('<int:id_conf>/edit/', views.jars_conf_edit, name='url_edit_jars_conf'), | |
|
8 | path('<int:conf_id>/change_filter/', views.change_filter, name='url_change_jars_filter'), | |
|
9 | path('<int:conf_id>/change_filter/<int:filter_id>/', views.change_filter, name='url_change_jars_filter'), | |
|
10 | path('<int:conf_id>/import/', views.import_file, name='url_import_jars_conf'), | |
|
11 | path('<int:conf_id>/read/', views.read_conf, name='url_read_jars_conf'), | |
|
12 | path('<int:conf_id>/get_log/', views.get_log, name='url_get_jars_log'), | |
|
13 | 13 | ) |
@@ -524,7 +524,7 def create_jarsfiles(json_data): | |||
|
524 | 524 | racp_text += 'Pulse selection_TR={}\n'.format( |
|
525 | 525 | data['lines']['byId'][idTR]['name'][-1] |
|
526 | 526 | ) |
|
527 | print 'TR OK' | |
|
527 | print ('TR OK') | |
|
528 | 528 | |
|
529 | 529 | rangeTXA = data['lines']['byId'][rc['lines'][1]]['params']['range'] |
|
530 | 530 | if rangeTXA != '0': |
@@ -532,7 +532,7 def create_jarsfiles(json_data): | |||
|
532 | 532 | rangeTXB = data['lines']['byId'][rc['lines'][2]]['params']['range'] |
|
533 | 533 | if rangeTXB != '0': #if rangeTXB == '0': |
|
534 | 534 | racp_text += 'Pulse selection_TXB={}\n'.format(rangeTXB) |
|
535 | print 'Pulse selection OK' | |
|
535 | print ('Pulse selection OK') | |
|
536 | 536 | |
|
537 | 537 | for n in range(3, 6): |
|
538 | 538 | racp_text += parse_line(n, data, rc['lines']) |
@@ -543,7 +543,7 def create_jarsfiles(json_data): | |||
|
543 | 543 | racp_text += 'Number of Taus={}\n'.format(len(taus)) |
|
544 | 544 | for n, tau in enumerate(taus): |
|
545 | 545 | racp_text += 'TAU({})={}\n'.format(n, tau) |
|
546 | print 'Taus OK' | |
|
546 | print ('Taus OK') | |
|
547 | 547 | |
|
548 | 548 | racp_text += parse_line(6, data, rc['lines']) |
|
549 | 549 | racp_text += 'SAMPLING REFERENCE=MIDDLE OF FIRST SUB-BAUD\n' |
@@ -564,7 +564,7 def create_jarsfiles(json_data): | |||
|
564 | 564 | racp_text += 'Number of Channels={}\n'.format(len(channels)) |
|
565 | 565 | for i, channel in enumerate(channels): |
|
566 | 566 | racp_text += 'Channel({})={}\n'.format(i, channel) |
|
567 | print 'Channels OK' | |
|
567 | print ('Channels OK') | |
|
568 | 568 | |
|
569 | 569 | if exp_type == 'EXP_RAW_DATA': |
|
570 | 570 | racp_text += 'RAW DATA DIRECTORY={}\n'.format(os.path.join(folder_name, 'DATA')) |
@@ -616,7 +616,7 def create_jarsfiles(json_data): | |||
|
616 | 616 | racp_text += 'DATATYPE=SHORT\n' |
|
617 | 617 | elif data_type == 1: |
|
618 | 618 | racp_text += 'DATATYPE=FLOAT\n' |
|
619 | print 'Datatype OK' | |
|
619 | print ('Datatype OK') | |
|
620 | 620 | |
|
621 | 621 | racp_text += 'DATA ARRANGE=CONTIGUOUS_CH\n' |
|
622 | 622 | |
@@ -631,7 +631,7 def create_jarsfiles(json_data): | |||
|
631 | 631 | if jars['post_coh_int'] == True: |
|
632 | 632 | decode_text += 'POST COHERENT INTEGRATIONS=YES\n' |
|
633 | 633 | decode_text += '------------------------------------------\n' |
|
634 | print 'Decode OK' | |
|
634 | print ('Decode OK') | |
|
635 | 635 | |
|
636 | 636 | racp_text += 'COHERENT INTEGRATION STRIDE={}\n'.format(jars['cohe_integr_str']) |
|
637 | 637 | racp_text += '------------------------------------------\n' |
@@ -672,7 +672,7 def create_jarsfiles(json_data): | |||
|
672 | 672 | filter_parms = eval(filter_parms) |
|
673 | 673 | if filter_parms.__class__.__name__ == 'str': |
|
674 | 674 | filter_parms = eval(filter_parms) |
|
675 | print 'Filter loaded OK' | |
|
675 | print ('Filter loaded OK') | |
|
676 | 676 | try: |
|
677 | 677 | fclock = float(filter_parms['clock']) |
|
678 | 678 | fch = float(filter_parms['fch']) |
@@ -680,7 +680,7 def create_jarsfiles(json_data): | |||
|
680 | 680 | M_CIC2 = float(filter_parms['filter_2']) |
|
681 | 681 | M_CIC5 = float(filter_parms['filter_5']) |
|
682 | 682 | M_RCF = float(filter_parms['filter_fir']) |
|
683 | print 'Filter parameters float OK' | |
|
683 | print ('Filter parameters float OK') | |
|
684 | 684 | except: |
|
685 | 685 | fclock = eval(filter_parms['clock']) |
|
686 | 686 | fch = eval(filter_parms['fch']) |
@@ -688,7 +688,7 def create_jarsfiles(json_data): | |||
|
688 | 688 | M_CIC2 = eval(filter_parms['filter_2']) |
|
689 | 689 | M_CIC5 = eval(filter_parms['filter_5']) |
|
690 | 690 | M_RCF = eval(filter_parms['filter_fir']) |
|
691 | print 'Filter parameters eval OK' | |
|
691 | print ('Filter parameters eval OK') | |
|
692 | 692 | |
|
693 | 693 | filter_text = 'Loading\n' |
|
694 | 694 | filter_text += 'Impulse file found -> C:\jars\F1MHZ_8_MATCH.imp\n' |
@@ -773,7 +773,7 def create_jarsfiles(json_data): | |||
|
773 | 773 | #jars_file = open(os.path.join(folder_name, filter_name), 'wb') |
|
774 | 774 | #jars_file.write(filter_text) |
|
775 | 775 | #jars_file.close() |
|
776 | print 'Filter .jars has been created' | |
|
776 | print ('Filter .jars has been created') | |
|
777 | 777 | racp_text += 'JARS_FILTER={}\n'.format(os.path.join(folder_name, filter_name)) |
|
778 | 778 | racp_text += 'MARK WIDTH=2\n' |
|
779 | 779 | racp_text += 'GENERATE OWN SAMPLING WINDOW=NO\n' |
|
1 | NO CONTENT: modified file |
@@ -33,29 +33,31 def add_empty_choice(choices, pos=0, label='-----'): | |||
|
33 | 33 | return [(0, label)] |
|
34 | 34 | |
|
35 | 35 | class DatepickerWidget(forms.widgets.TextInput): |
|
36 | def render(self, name, value, attrs=None): | |
|
36 | def render(self, name, value, attrs=None, renderer=None): | |
|
37 | 37 | input_html = super(DatepickerWidget, self).render(name, value, attrs) |
|
38 | html = '<div class="input-group date">'+input_html+'<span class="input-group-addon"><i class="glyphicon glyphicon-calendar"></i></span></div>' | |
|
38 | ||
|
39 | html = '<div class="input-group date">'+input_html+'<span class="input-group-addon"><i class="far fa-calendar-alt"></i></span></div>' | |
|
39 | 40 | return mark_safe(html) |
|
40 | 41 | |
|
41 | 42 | class DateRangepickerWidget(forms.widgets.TextInput): |
|
42 | def render(self, name, value, attrs=None): | |
|
43 | def render(self, name, value, attrs=None, renderer=None): | |
|
43 | 44 | start = attrs['start_date'] |
|
44 | 45 | end = attrs['end_date'] |
|
45 | 46 | html = '''<div class="col-md-6 input-group date" style="float:inherit"> |
|
46 | 47 | <input class="form-control" id="id_start_date" name="start_date" placeholder="Start" title="" type="text" value="{}"> |
|
47 |
<span class="input-group-addon"><i class=" |
|
|
48 | <span class="input-group-addon"><i class="far fa-calendar-alt"></i></span> | |
|
48 | 49 | </div> |
|
49 | 50 | <div class="col-md-6 input-group date" style="float:inherit"> |
|
50 | 51 | <input class="form-control" id="id_end_date" name="end_date" placeholder="End" title="" type="text" value="{}"> |
|
51 |
<span class="input-group-addon"><i class=" |
|
|
52 | <span class="input-group-addon"><i class="far fa-calendar-alt"></i></span> | |
|
52 | 53 | </div>'''.format(start, end) |
|
53 | 54 | return mark_safe(html) |
|
54 | 55 | |
|
55 | 56 | class TimepickerWidget(forms.widgets.TextInput): |
|
56 | def render(self, name, value, attrs=None): | |
|
57 | def render(self, name, value, attrs=None, renderer=None): | |
|
57 | 58 | input_html = super(TimepickerWidget, self).render(name, value, attrs) |
|
58 | html = '<div class="input-group time">'+input_html+'<span class="input-group-addon"><i class="glyphicon glyphicon-time"></i></span></div>' | |
|
59 | ||
|
60 | html = '<div class="input-group time">'+input_html+'<span class="input-group-addon"><i class="far fa-clock"></i></span></div>' | |
|
59 | 61 | return mark_safe(html) |
|
60 | 62 | |
|
61 | 63 | class CampaignForm(forms.ModelForm): |
@@ -134,6 +136,9 class DownloadFileForm(forms.Form): | |||
|
134 | 136 | if device_type == 'dds': |
|
135 | 137 | self.fields['format'].choices = DDS_FILE_FORMAT |
|
136 | 138 | |
|
139 | if device_type == 'dds_rest': | |
|
140 | self.fields['format'].choices = DDS_FILE_FORMAT | |
|
141 | ||
|
137 | 142 | if device_type == 'rc': |
|
138 | 143 | self.fields['format'].choices = RC_FILE_FORMAT |
|
139 | 144 | |
@@ -199,4 +204,3 class ChangeIpForm(forms.Form): | |||
|
199 | 204 | mask = forms.GenericIPAddressField(initial='255.255.255.0') |
|
200 | 205 | gateway = forms.GenericIPAddressField(initial='0.0.0.0') |
|
201 | 206 | dns = forms.GenericIPAddressField(initial='0.0.0.0') |
|
202 |
@@ -12,7 +12,7 except: | |||
|
12 | 12 | |
|
13 | 13 | from django.template.base import kwarg_re |
|
14 | 14 | from django.db import models |
|
15 |
from django. |
|
|
15 | from django.urls import reverse | |
|
16 | 16 | from django.core.validators import MinValueValidator, MaxValueValidator |
|
17 | 17 | from django.shortcuts import get_object_or_404 |
|
18 | 18 | from django.contrib.auth.models import User |
@@ -32,7 +32,8 DEV_PORTS = { | |||
|
32 | 32 | 'jars' : 2000, |
|
33 | 33 | 'usrp' : 2000, |
|
34 | 34 | 'cgs' : 8080, |
|
35 | 'abs' : 8080 | |
|
35 | 'abs' : 8080, | |
|
36 | 'dds_rest': 80 | |
|
36 | 37 | } |
|
37 | 38 | |
|
38 | 39 | RADAR_STATES = ( |
@@ -71,6 +72,7 DEV_TYPES = ( | |||
|
71 | 72 | ('usrp', 'Universal Software Radio Peripheral'), |
|
72 | 73 | ('cgs', 'Clock Generator System'), |
|
73 | 74 | ('abs', 'Automatic Beam Switching'), |
|
75 | ('dds_rest', 'Direct Digital Synthesizer_REST'), | |
|
74 | 76 | ) |
|
75 | 77 | |
|
76 | 78 | EXP_STATES = ( |
@@ -118,8 +120,8 class Location(models.Model): | |||
|
118 | 120 | |
|
119 | 121 | class DeviceType(models.Model): |
|
120 | 122 | |
|
121 |
name = models.CharField(max_length = 10, choices = DEV_TYPES, default = ' |
|
|
122 |
sequence = models.PositiveSmallIntegerField(default= |
|
|
123 | name = models.CharField(max_length = 10, choices = DEV_TYPES, default = 'dds_rest') | |
|
124 | sequence = models.PositiveSmallIntegerField(default=55) | |
|
123 | 125 | description = models.TextField(blank=True, null=True) |
|
124 | 126 | |
|
125 | 127 | class Meta: |
@@ -130,8 +132,8 class DeviceType(models.Model): | |||
|
130 | 132 | |
|
131 | 133 | class Device(models.Model): |
|
132 | 134 | |
|
133 | device_type = models.ForeignKey(DeviceType, on_delete=models.CASCADE) | |
|
134 | location = models.ForeignKey(Location, on_delete=models.CASCADE) | |
|
135 | device_type = models.ForeignKey('DeviceType', on_delete=models.CASCADE) | |
|
136 | location = models.ForeignKey('Location', on_delete=models.CASCADE) | |
|
135 | 137 | ip_address = models.GenericIPAddressField(protocol='IPv4', default='0.0.0.0') |
|
136 | 138 | port_address = models.PositiveSmallIntegerField(default=2000) |
|
137 | 139 | description = models.TextField(blank=True, null=True) |
@@ -246,7 +248,7 class Campaign(models.Model): | |||
|
246 | 248 | tags = models.CharField(max_length=40, blank=True, null=True) |
|
247 | 249 | description = models.TextField(blank=True, null=True) |
|
248 | 250 | experiments = models.ManyToManyField('Experiment', blank=True) |
|
249 | author = models.ForeignKey(User, null=True, blank=True) | |
|
251 | author = models.ForeignKey(User, null=True, blank=True,on_delete=models.CASCADE) | |
|
250 | 252 | |
|
251 | 253 | class Meta: |
|
252 | 254 | db_table = 'db_campaigns' |
@@ -366,7 +368,7 class Experiment(models.Model): | |||
|
366 | 368 | end_time = models.TimeField(default='23:59:59') |
|
367 | 369 | task = models.CharField(max_length=36, default='', blank=True, null=True) |
|
368 | 370 | status = models.PositiveSmallIntegerField(default=4, choices=EXP_STATES) |
|
369 | author = models.ForeignKey(User, null=True, blank=True) | |
|
371 | author = models.ForeignKey(User, null=True, blank=True,on_delete=models.CASCADE) | |
|
370 | 372 | hash = models.CharField(default='', max_length=64, null=True, blank=True) |
|
371 | 373 | |
|
372 | 374 | class Meta: |
@@ -578,7 +580,7 class Configuration(PolymorphicModel): | |||
|
578 | 580 | created_date = models.DateTimeField(auto_now_add=True) |
|
579 | 581 | programmed_date = models.DateTimeField(auto_now=True) |
|
580 | 582 | parameters = models.TextField(default='{}') |
|
581 | author = models.ForeignKey(User, null=True, blank=True) | |
|
583 | author = models.ForeignKey(User, null=True, blank=True,on_delete=models.CASCADE) | |
|
582 | 584 | hash = models.CharField(default='', max_length=64, null=True, blank=True) |
|
583 | 585 | message = "" |
|
584 | 586 |
@@ -1,5 +1,5 | |||
|
1 | 1 | /*! |
|
2 |
* Datetimepicker for Bootstrap |
|
|
2 | * Datetimepicker for Bootstrap 3 | |
|
3 | * version : 4.17.47 | |
|
3 | 4 | * https://github.com/Eonasdan/bootstrap-datetimepicker/ |
|
4 | */ | |
|
5 | .bootstrap-datetimepicker-widget{top:0;left:0;width:250px;padding:4px;margin-top:1px;z-index:99999!important;border-radius:4px}.bootstrap-datetimepicker-widget.timepicker-sbs{width:600px}.bootstrap-datetimepicker-widget.bottom:before{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:rgba(0,0,0,.2);position:absolute;top:-7px;left:7px}.bootstrap-datetimepicker-widget.bottom:after{content:'';display:inline-block;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #fff;position:absolute;top:-6px;left:8px}.bootstrap-datetimepicker-widget.top:before{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #ccc;border-top-color:rgba(0,0,0,.2);position:absolute;bottom:-7px;left:6px}.bootstrap-datetimepicker-widget.top:after{content:'';display:inline-block;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #fff;position:absolute;bottom:-6px;left:7px}.bootstrap-datetimepicker-widget .dow{width:14.2857%}.bootstrap-datetimepicker-widget.pull-right:before{left:auto;right:6px}.bootstrap-datetimepicker-widget.pull-right:after{left:auto;right:7px}.bootstrap-datetimepicker-widget>ul{list-style-type:none;margin:0}.bootstrap-datetimepicker-widget .timepicker-hour,.bootstrap-datetimepicker-widget .timepicker-minute,.bootstrap-datetimepicker-widget .timepicker-second{width:100%;font-weight:bold;font-size:1.2em}.bootstrap-datetimepicker-widget table[data-hour-format="12"] .separator{width:4px;padding:0;margin:0}.bootstrap-datetimepicker-widget .datepicker>div{display:none}.bootstrap-datetimepicker-widget .picker-switch{text-align:center}.bootstrap-datetimepicker-widget table{width:100%;margin:0}.bootstrap-datetimepicker-widget td,.bootstrap-datetimepicker-widget th{text-align:center;width:20px;height:20px;border-radius:4px}.bootstrap-datetimepicker-widget td.day:hover,.bootstrap-datetimepicker-widget td.hour:hover,.bootstrap-datetimepicker-widget td.minute:hover,.bootstrap-datetimepicker-widget td.second:hover{background:#eee;cursor:pointer}.bootstrap-datetimepicker-widget td.old,.bootstrap-datetimepicker-widget td.new{color:#999}.bootstrap-datetimepicker-widget td.today{position:relative}.bootstrap-datetimepicker-widget td.today:before{content:'';display:inline-block;border-left:7px solid transparent;border-bottom:7px solid #428bca;border-top-color:rgba(0,0,0,.2);position:absolute;bottom:4px;right:4px}.bootstrap-datetimepicker-widget td.active,.bootstrap-datetimepicker-widget td.active:hover{background-color:#428bca;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.bootstrap-datetimepicker-widget td.active.today:before{border-bottom-color:#fff}.bootstrap-datetimepicker-widget td.disabled,.bootstrap-datetimepicker-widget td.disabled:hover{background:none;color:#999;cursor:not-allowed}.bootstrap-datetimepicker-widget td span{display:block;width:47px;height:54px;line-height:54px;float:left;margin:2px;cursor:pointer;border-radius:4px}.bootstrap-datetimepicker-widget td span:hover{background:#eee}.bootstrap-datetimepicker-widget td span.active{background-color:#428bca;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.bootstrap-datetimepicker-widget td span.old{color:#999}.bootstrap-datetimepicker-widget td span.disabled,.bootstrap-datetimepicker-widget td span.disabled:hover{background:none;color:#999;cursor:not-allowed}.bootstrap-datetimepicker-widget th.switch{width:145px}.bootstrap-datetimepicker-widget th.next,.bootstrap-datetimepicker-widget th.prev{font-size:21px}.bootstrap-datetimepicker-widget th.disabled,.bootstrap-datetimepicker-widget th.disabled:hover{background:none;color:#999;cursor:not-allowed}.bootstrap-datetimepicker-widget thead tr:first-child th{cursor:pointer}.bootstrap-datetimepicker-widget thead tr:first-child th:hover{background:#eee}.input-group.date .input-group-addon span{display:block;cursor:pointer;width:16px;height:16px}.bootstrap-datetimepicker-widget.left-oriented:before{left:auto;right:6px}.bootstrap-datetimepicker-widget.left-oriented:after{left:auto;right:7px}.bootstrap-datetimepicker-widget ul.list-unstyled li div.timepicker div.timepicker-picker table.table-condensed tbody>tr>td{padding:0!important} No newline at end of file | |
|
5 | */.bootstrap-datetimepicker-widget{list-style:none}.bootstrap-datetimepicker-widget.dropdown-menu{display:block;margin:2px 0;padding:4px;width:19em}@media (min-width:768px){.bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs{width:38em}}@media (min-width:992px){.bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs{width:38em}}@media (min-width:1200px){.bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs{width:38em}}.bootstrap-datetimepicker-widget.dropdown-menu:before,.bootstrap-datetimepicker-widget.dropdown-menu:after{content:'';display:inline-block;position:absolute}.bootstrap-datetimepicker-widget.dropdown-menu.bottom:before{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:rgba(0,0,0,0.2);top:-7px;left:7px}.bootstrap-datetimepicker-widget.dropdown-menu.bottom:after{border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid white;top:-6px;left:8px}.bootstrap-datetimepicker-widget.dropdown-menu.top:before{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #ccc;border-top-color:rgba(0,0,0,0.2);bottom:-7px;left:6px}.bootstrap-datetimepicker-widget.dropdown-menu.top:after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid white;bottom:-6px;left:7px}.bootstrap-datetimepicker-widget.dropdown-menu.pull-right:before{left:auto;right:6px}.bootstrap-datetimepicker-widget.dropdown-menu.pull-right:after{left:auto;right:7px}.bootstrap-datetimepicker-widget .list-unstyled{margin:0}.bootstrap-datetimepicker-widget a[data-action]{padding:6px 0}.bootstrap-datetimepicker-widget a[data-action]:active{box-shadow:none}.bootstrap-datetimepicker-widget .timepicker-hour,.bootstrap-datetimepicker-widget .timepicker-minute,.bootstrap-datetimepicker-widget .timepicker-second{width:54px;font-weight:bold;font-size:1.2em;margin:0}.bootstrap-datetimepicker-widget button[data-action]{padding:6px}.bootstrap-datetimepicker-widget .btn[data-action="incrementHours"]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;content:"Increment Hours"}.bootstrap-datetimepicker-widget .btn[data-action="incrementMinutes"]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;content:"Increment Minutes"}.bootstrap-datetimepicker-widget .btn[data-action="decrementHours"]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;content:"Decrement Hours"}.bootstrap-datetimepicker-widget .btn[data-action="decrementMinutes"]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;content:"Decrement Minutes"}.bootstrap-datetimepicker-widget .btn[data-action="showHours"]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;content:"Show Hours"}.bootstrap-datetimepicker-widget .btn[data-action="showMinutes"]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;content:"Show Minutes"}.bootstrap-datetimepicker-widget .btn[data-action="togglePeriod"]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;content:"Toggle AM/PM"}.bootstrap-datetimepicker-widget .btn[data-action="clear"]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;content:"Clear the picker"}.bootstrap-datetimepicker-widget .btn[data-action="today"]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;content:"Set the date to today"}.bootstrap-datetimepicker-widget .picker-switch{text-align:center}.bootstrap-datetimepicker-widget .picker-switch::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;content:"Toggle Date and Time Screens"}.bootstrap-datetimepicker-widget .picker-switch td{padding:0;margin:0;height:auto;width:auto;line-height:inherit}.bootstrap-datetimepicker-widget .picker-switch td span{line-height:2.5;height:2.5em;width:100%}.bootstrap-datetimepicker-widget table{width:100%;margin:0}.bootstrap-datetimepicker-widget table td,.bootstrap-datetimepicker-widget table th{text-align:center;border-radius:4px}.bootstrap-datetimepicker-widget table th{height:20px;line-height:20px;width:20px}.bootstrap-datetimepicker-widget table th.picker-switch{width:145px}.bootstrap-datetimepicker-widget table th.disabled,.bootstrap-datetimepicker-widget table th.disabled:hover{background:none;color:#777;cursor:not-allowed}.bootstrap-datetimepicker-widget table th.prev::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;content:"Previous Month"}.bootstrap-datetimepicker-widget table th.next::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;content:"Next Month"}.bootstrap-datetimepicker-widget table thead tr:first-child th{cursor:pointer}.bootstrap-datetimepicker-widget table thead tr:first-child th:hover{background:#eee}.bootstrap-datetimepicker-widget table td{height:54px;line-height:54px;width:54px}.bootstrap-datetimepicker-widget table td.cw{font-size:.8em;height:20px;line-height:20px;color:#777}.bootstrap-datetimepicker-widget table td.day{height:20px;line-height:20px;width:20px}.bootstrap-datetimepicker-widget table td.day:hover,.bootstrap-datetimepicker-widget table td.hour:hover,.bootstrap-datetimepicker-widget table td.minute:hover,.bootstrap-datetimepicker-widget table td.second:hover{background:#eee;cursor:pointer}.bootstrap-datetimepicker-widget table td.old,.bootstrap-datetimepicker-widget table td.new{color:#777}.bootstrap-datetimepicker-widget table td.today{position:relative}.bootstrap-datetimepicker-widget table td.today:before{content:'';display:inline-block;border:solid transparent;border-width:0 0 7px 7px;border-bottom-color:#337ab7;border-top-color:rgba(0,0,0,0.2);position:absolute;bottom:4px;right:4px}.bootstrap-datetimepicker-widget table td.active,.bootstrap-datetimepicker-widget table td.active:hover{background-color:#337ab7;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.bootstrap-datetimepicker-widget table td.active.today:before{border-bottom-color:#fff}.bootstrap-datetimepicker-widget table td.disabled,.bootstrap-datetimepicker-widget table td.disabled:hover{background:none;color:#777;cursor:not-allowed}.bootstrap-datetimepicker-widget table td span{display:inline-block;width:54px;height:54px;line-height:54px;margin:2px 1.5px;cursor:pointer;border-radius:4px}.bootstrap-datetimepicker-widget table td span:hover{background:#eee}.bootstrap-datetimepicker-widget table td span.active{background-color:#337ab7;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.bootstrap-datetimepicker-widget table td span.old{color:#777}.bootstrap-datetimepicker-widget table td span.disabled,.bootstrap-datetimepicker-widget table td span.disabled:hover{background:none;color:#777;cursor:not-allowed}.bootstrap-datetimepicker-widget.usetwentyfour td.hour{height:27px;line-height:27px}.bootstrap-datetimepicker-widget.wider{width:21em}.bootstrap-datetimepicker-widget .datepicker-decades .decade{line-height:1.8em !important}.input-group.date .input-group-addon{cursor:pointer}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0} No newline at end of file |
@@ -1,4 +1,4 | |||
|
1 | @import url(https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,700italic,400,300,700);/*! | |
|
1 | @import url('fonts.googleapi.css');/*! | |
|
2 | 2 | * bootswatch v3.3.5 |
|
3 | 3 | * Homepage: http://bootswatch.com |
|
4 | 4 | * Copyright 2012-2015 Thomas Park |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
General Comments 0
You need to be logged in to leave comments.
Login now