code
stringlengths
3
1.01M
repo_name
stringlengths
5
116
path
stringlengths
3
311
language
stringclasses
30 values
license
stringclasses
15 values
size
int64
3
1.01M
'use strict';var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc); switch (arguments.length) { case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target); case 3: return decorators.reduceRight(function(o, d) { return (d && d(target, key)), void 0; }, void 0); case 4: return decorators.reduceRight(function(o, d) { return (d && d(target, key, o)) || o; }, desc); } }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var lang_1 = require('angular2/src/core/facade/lang'); var api_1 = require('angular2/src/core/render/api'); exports.ViewEncapsulation = api_1.ViewEncapsulation; /** * Declares the available HTML templates for an application. * * Each angular component requires a single `@Component` and at least one `@View` annotation. The * `@View` annotation specifies the HTML template to use, and lists the directives that are active * within the template. * * When a component is instantiated, the template is loaded into the component's shadow root, and * the expressions and statements in the template are evaluated against the component. * * For details on the `@Component` annotation, see {@link ComponentMetadata}. * * ## Example * * ``` * @Component({ * selector: 'greet' * }) * @View({ * template: 'Hello {{name}}!', * directives: [GreetUser, Bold] * }) * class Greet { * name: string; * * constructor() { * this.name = 'World'; * } * } * ``` */ var ViewMetadata = (function () { function ViewMetadata(_a) { var _b = _a === void 0 ? {} : _a, templateUrl = _b.templateUrl, template = _b.template, directives = _b.directives, pipes = _b.pipes, encapsulation = _b.encapsulation, styles = _b.styles, styleUrls = _b.styleUrls; this.templateUrl = templateUrl; this.template = template; this.styleUrls = styleUrls; this.styles = styles; this.directives = directives; this.pipes = pipes; this.encapsulation = encapsulation; } ViewMetadata = __decorate([ lang_1.CONST(), __metadata('design:paramtypes', [Object]) ], ViewMetadata); return ViewMetadata; })(); exports.ViewMetadata = ViewMetadata; //# sourceMappingURL=view.js.map
rehnen/potato
node_modules/angular2/src/core/metadata/view.js
JavaScript
mit
2,603
# Hit class to review and pay workers after a hit is finished. class Hits::Review < Hit def self.complete!(id, already_aproved = false) builder = find(id) return false unless builder.mt_hit builder.set_as_reviewing! builder.aprove_mt_assignments! unless already_aproved builder.dispose_mt_hit! builder.update_attributes(submited: true) true end def self.pay_for(id) builder = find(id) return false unless builder.mt_hit builder.aprove_mt_assignments! true end def self.extend_hit!(id) builder = find(id) return false unless builder.mt_hit builder.extend_hit true end def extend_hit if mt_hit.status == "Disposed" return false else mt_hit.extend!({assignments: 1, seconds: 10.days}) end end def mt_hit begin @mt_hit ||= RTurk::Hit.find(mt_hit_id) rescue RTurk::InvalidRequest false end end def set_as_reviewing! begin mt_hit.set_as_reviewing! rescue end end def aprove_mt_assignments! mt_hit.assignments.each do |mt_assignment| begin mt_assignment.approve! rescue RTurk::InvalidRequest end end end def dispose_mt_hit! begin if mt_hit.status != 'Reviewable' mt_hit.disable! else mt_hit.dispose! end rescue end end end
sirius2013/BuildCore
app/models/invoice/hits/review.rb
Ruby
mit
1,363
body { margin: 0; padding: 0; width: 100%; height: 100%; display: table; } body #loading { position: fixed; width: 100%; height: 100%; text-align: left; } body #loading #loading_container { width: 100%; height: 1px; background: #232c34; -webkit-box-shadow: inset 0 -1px 1px rgba(255, 255, 255, 0.3); -moz-box-shadow: inset 0 -1px 1px rgba(255, 255, 255, 0.3); box-shadow: inset 0 -1px 1px rgba(255, 255, 255, 0.3); } body #loading #loading_container #loading_progress { display: block; height: 100%; width: 0; color: white; -webkit-border-top-right-radius: 8px; -webkit-border-bottom-right-radius: 8px; -moz-border-radius-topright: 8px; -moz-border-radius-bottomright: 8px; border-top-right-radius: 8px; border-bottom-right-radius: 8px; -webkit-border-top-left-radius: 20px; -webkit-border-bottom-left-radius: 20px; -moz-border-radius-topleft: 20px; -moz-border-radius-bottomleft: 20px; border-top-left-radius: 20px; border-bottom-left-radius: 20px; background-color: #96cd00; background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #2bc253), color-stop(1, #54f054)); background-image: -webkit-linear-gradient(center bottom, #2bc253 37%, #54f054 69%); background-image: -moz-linear-gradient(center bottom, #2bc253 37%, #54f054 69%); background-image: -ms-linear-gradient(center bottom, #2bc253 37%, #54f054 69%); background-image: -o-linear-gradient(center bottom, #2bc253 37%, #54f054 69%); -webkit-box-shadow: inset 0 2px 9px rgba(255, 255, 255, 0.3), inset 0 -2px 6px rgba(0, 0, 0, 0.4); -moz-box-shadow: inset 0 2px 9px rgba(255, 255, 255, 0.3), inset 0 -2px 6px rgba(0, 0, 0, 0.4); position: relative; overflow: hidden; } body #loading #loading_container #loading_progress span { position: absolute; left: 0; height: 100%; width: 100%; top: 25%; display: block; font-family: sans-serif; }
dcrbsltd/gameofkings.computer
assets/style.css
CSS
mit
2,178
document.write('<script src="js/goog/base.js"></script>'); document.write('<script src="js/deps.js"></script>'); document.write("<script>goog.require('AlignShop');</script>");
lukeulrich/genomics
alignshop/src/js/main-dev.js
JavaScript
mit
176
import org.junit.Test; import java.util.ArrayList; import static org.junit.Assert.*; /** * Created by Kyle Z on 2/10/2017. */ public class HashAlgorithmTest { @Test public void HT() throws Exception { } @Test public void containsKey() throws Exception { } @Test public void getValue() throws Exception { } @Test public void size() throws Exception { } @Test public void put() throws Exception { HashAlgorithm ht = new HashAlgorithm(); int size = 1; String key = "1306.01"; Exoplanet e = new Exoplanet(15, 5, 3, (short) 2, 76, (short) 35, 43, 23, 23, 235, 234, 7365); ht.put(key, e); assertEquals(ht.size(), size); assertEquals(ht.getValue(key), e); } @Test public void putMultiple() throws Exception { ArrayList<Exoplanet> exoplanets = new ArrayList<>(); HashAlgorithm ht = new HashAlgorithm(); ArrayList<String> temp = new ArrayList<>(); for (int i = 0; i < 5; i++) { String key = i + ".01"; temp.add(key); exoplanets.add(new Exoplanet(i, i, i, (short) i, i, (short) i, i, i, i, i, i, i)); ht.put(key, exoplanets.get(i)); } assertEquals(ht.size(), temp.size()); for(int i = 0; i < temp.size(); i++){ assertEquals(ht.getValue(temp.get(i)), exoplanets.get(i)); } } }
ECE-Engineer/MachineLearning-BigData-Project
365/src/test/java/HashAlgorithmTest.java
Java
mit
1,500
--- layout: page title: My First Hackathon comments: true permalink: my-first-hackathon --- <p align="center"> <img src="http://www.claruscommerce.com/wp-content/uploads/2013/04/hackathon-graphic.png"/> </p> I just came back from LAHacks and it was an exhausting but worthwhile experience. This was my first hackathon that I have ever attended and the amount of energy, enthusiasm, and dedication that I saw at the event was incredible. If you do not know what a hackathon is, it is a coding competition in which “hackers” have an allotted time – LAHacks had 36 hours – to create something awesome. I met countless hackers, great public speakers and many people that have the potential to innovate and create amazing products. For example, some of the products people made at the time were a “Mind-Controlled Mercedes”, a robot that mimicked a person’s movement, and an application that saved money on Amazon purchases. These products were not completely perfect such as the mind-controlled Mercedes could only handle turning left and right and many more did not really have any practical usage, but these products demonstrate how people can do amazing things in just a small amount of time. You don’t need a strong background in computer science and engineering to build something. You just need a good idea and people willing to create and have fun. <br> Despite all the innovation and enthusiasm I saw, I also noticed the converse. There were many people who I saw who only came for the free products and the ride to Los Angeles. Many others also played video games such as the ever popular video game League of Legends during the time and did not really do anything else. These individuals did not contribute to the environment of the hackathon, but they did have a good time I suppose doing what they enjoyed. I do not judge these individuals for their actions, and I should applaud them for taking advantage of an opportunity available to them and making it work for the betterment of themselves. <br> However, I hope they do realize that they took a great opportunity from somebody else who would benefit from such an experience. Some of my friends who would have put in hours of dedication and enthusiasm and would have loved the experience did not get accepted. These people themselves also missed out the experience. Hackathons are a great social and learning environment for those who put in the effort. Cliché as it is, you get out as much as you put into such an event. I am interested in Android programming and my group and I created an application that is similar to Tinder except it is to find a gym buddy. I learned a lot through the process about Parse databases and more about Android programming, and this showed me that experience is just as good of a learning process, if not better, than learning in school. The application still has a lot of work to do, but we plan on publishing it to the Google Play Store once it is functioning. If you would like to look at it, you can always contact me or just check it out on GitHub. <br> I loved the event despite the exhaustion and frustration. It was an extremely tiring and time-consuming experience, but it is something that I believe all programmers should experience at least once. Don’t be daunted by the fact that you have a time limit or anything else. The time is actually a lot and the fatigue is easy enough to overcome though the social environment and encouragement of others. A hackathon offers the motivation and stimulation of ideas that are important for society to progress, and I congratulate those who won. They made great products and are the sort of people that will make a difference in innovation. Hackathons are really fun, but despite all that I have said, you don’t need a hackathon to get started. Just do what you enjoy, and don’t let anything stop you.
richhx/richhx.github.io
_posts/2015-4-6-my-first-hackathon.md
Markdown
mit
3,915
<!DOCTYPE html> <html> <head> <title>Aspin - Your Little Friend In The Living Room</title> <meta charset="utf-8"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <link rel="stylesheet" href="../css/main.css"> </head> <body> <div class="text-center"> <div class="logo"> <a href="../"> <img src="../images/logo.png" alt="The Cute Little Aspin Logo (:" class="image"> </a> <h3 class="text"> Hi, I'm <span style="color:blue;">A</span><span style="color:red;">s</span><span style="color:blue;">p</span><span style="color:red;">i</span<span style="color:blue;">n</span> </h3> </div> <div class="navigation"> <ul> <li> <a href="../"> Home</a> / </li> <li> <a href="../register"> Register</a> / </li> <li> <a href="../login"> Login</a> / </li> <li> <a href="../guide/raspberry"> Raspberry Install</a> </li> </ul> </div> </div> <div class="content"> <div class="container"> <h2> Raspberry Pi Aspin Guide! <small>(or any singleboard computer)</small> </h2> <p> Should be simple for you guys, <br><br> first login and register a box on a computer or phone of your choice. It's very simple, you basically just click add box and it's set up in seconds. Once you have a box set up, go on your raspberry (if you use it) and click "Login As Box". Simply use your login credentials for the regular panel and login. Simply run that in the background and it will perform any command you see fit from your regular panel. <br><br> You can use Aspin whilst doing other things aswell! Obviously, you are running it in a browser. This means it will not interfere with any terminal applications you may want to run, no unecessary money spent on a new Raspberry or Tessel or whatever you may be using. </p> </div> </div> <div class="text-center"> <div class="credits"> <a href="https://github.com/nilsgarland">By Nils Garland :P</a> </div> </div> </body> </html>
nilsgarland/aspin
templates/raspberry.php
PHP
mit
2,261
//================================================ // show_reply_thumbnails.js // Author: @iihoshi //================================================ (function ($, jn) { var my_filename = 'show_reply_thumbnails.js'; // プラグイン情報 ここから // プラグイン情報の初期化 if (!jn.pluginInfo) jn.pluginInfo = {}; // プラグイン情報本体 jn.pluginInfo[my_filename.split('.')[0]] = { 'name' : { 'ja' : 'リプライサムネイル表示', 'en' : 'Show thumbnails in reply chain' }, 'author' : { 'en' : '@iihoshi' }, 'version' : '1.0.1', 'file' : my_filename, 'language' : ['en', 'ja'], 'last_update' : "2015/9/24", 'update_timezone' : '9', 'jnVersion' : '4.3.1.0', 'description' : { 'ja' : 'リプライにサムネイル画像があれば表示します。', 'en' : 'Shows thumbnails if a tweet in a reply chain has them.' }, 'updateinfo' : 'http://www.colorless-sight.jp/archives/JanetterPluginUpdateInfo.txt' }; // プラグイン情報ここまで if ((_Janetter_Window_Type != "main") && (_Janetter_Window_Type != "profile")) { return; } function initForThumbnail() { var orig_janetterThumbnail = $.fn.janetterThumbnail.toString(); var re_siblings = /_content\.siblings\('div\.tweet-thumb'\);$/m; var re_find = /_content\.find\('div\.tweet-body /gm; if (!re_siblings.test(orig_janetterThumbnail) || !re_find.test(orig_janetterThumbnail)) { return false; } var replaced = orig_janetterThumbnail .replace(re_siblings, "_content.children('div.tweet-thumb');") .replace(re_find, "_content.find('div.tweet-reply-body "); // console.log(replaced); eval('$.fn.janetterThumbnailForReply = ' + replaced); var tnMouseOverHandler = function () { var $this = $(this), tweet_reply = $this.parents('div.tweet-reply:first'); $this.unbind('mouseover', tnMouseOverHandler); if (tweet_reply.length > 0) { tweet_reply.janetterThumbnailForReply($this.attr('href')); } }; $.fn.janetterThumbnailForReplyEventSet = function () { this.bind('mouseover', tnMouseOverHandler); return this; }; return true; } function initForExpandUrl() { var orig_jn_expandUrl = jn.expandUrl.toString(); var re_tweet_content = /div\.tweet-content:first/m; var re_janetterThumbnail = /\.janetterThumbnail(\W)/gm; if (!re_tweet_content.test(orig_jn_expandUrl) || !re_janetterThumbnail.test(orig_jn_expandUrl)) { return false; } var replaced = orig_jn_expandUrl .replace(re_tweet_content, 'div.tweet-reply:first') .replace(re_janetterThumbnail, '.janetterThumbnailForReply$1'); // console.log(replaced); eval('var expandUrl = ' + replaced); var euMouseOverHandler = function () { var $this = $(this); $this.unbind('mouseover', euMouseOverHandler); expandUrl($this); } $.fn.janetterExpandUrlForReplyEventSet = function () { this.bind('mouseover', euMouseOverHandler); return this; } return true; } // 本プラグインの初期化処理(onInitializeDone 時) function initOnInitialized() { if (!initForThumbnail() || !initForExpandUrl()) { new jn.msgdialog({ title: my_filename, icon: '', message: 'Sorry, ' + my_filename+ ' cannot be installed.', buttons: [ janet.msg.ok ], }); return; } var orig_generateReply = jn.generateReply; jn.generateReply = function (item, is_default) { var reply = orig_generateReply(item, is_default); reply.append('<div class="tweet-thumb"/>'); var a = reply.find('.tweet-reply-body > p.text').children('a.link'); a.janetterExpandUrlForReplyEventSet(); if (jn.conf.disp_thumbnail == 'over') a.janetterThumbnailForReplyEventSet(); else reply.janetterThumbnailForReply(a); return reply; }; console.log(my_filename + ' has been initialized.'); } if (jn.temp.initialized) { // The original onInitializeDone() has already been called! initOnInitialized(); } else { var orig_onInitializeDone = jn.onInitializeDone; jn.onInitializeDone = function () { orig_onInitializeDone && orig_onInitializeDone.apply(this, arguments); initOnInitialized(); }; } })(jQuery, janet);
y-iihoshi/Janetter_Plugins
show_reply_thumbnails.js
JavaScript
mit
4,163
/** * a tabbed pane based on a definition list */ var openmdao = (typeof openmdao === "undefined" || !openmdao ) ? {} : openmdao ; openmdao.TabbedPane = function(id) { jQuery("#"+id+" dl").css({ 'margin': '0', 'width': '100%', 'position': 'relative' }); jQuery("#"+id+" dt").css({ 'top':'0', 'margin': '0', 'position': 'relative', 'float': 'left', 'display': 'block', 'width': '75px', 'height': '20px', 'text-align': 'center', 'border': '1px solid #222', 'background-color':'#6a6a6a', 'color': 'white', 'font-size': '14px' }); jQuery("#"+id+" dd").css({ 'margin': '0', 'position': 'absolute', 'left': '0', 'top': '25px', 'height': '100%', 'width': '100%', 'min-height': '400px', 'overflow' : 'auto' }); jQuery("#"+id+" dd").hide(); jQuery("#"+id+" dt").click(function() { var tgt = jQuery(this).attr("target"); jQuery("#"+id+" dd:visible").hide(); jQuery("#"+id+" dt.tab_here").removeClass("tab_here"); jQuery("#"+tgt).show(); jQuery(this).addClass("tab_here"); }); };
DailyActie/Surrogate-Model
01-codes/OpenMDAO-Framework-dev/openmdao.gui/src/openmdao/gui/static/js/openmdao/TabbedPane.js
JavaScript
mit
1,234
<?php namespace Gendoria\CommandQueue\Tests\RouteDetection\Fixtures; /** * @author Tomasz Struczyński <t.struczynski@gmail.com> */ interface DummyInterface { }
Gendoria/command-queue
src/Gendoria/CommandQueue/Tests/RouteDetection/Fixtures/DummyInterface.php
PHP
mit
165
<?php if (touch($filename)) { echo $filename . ' modification time has been changed to present time'; } else { echo 'Sorry, could not change modification time of ' . $filename; } ?>
abukowsar/classExercises
Functions/fileHandalingFunctions/touch.php
PHP
mit
191
var mouseMoveControl = true; function initializeChoropleth(data) { var map = L.map('map2', { center: [40, -120], zoom: 4 }) createTileLayer(map) var dataLayer = setEnumerationUnits(map, dataLayer, data) return { map: map, dataLayer: dataLayer // projection:projection, // path:path, } } function createTileLayer(map) { var mapboxAccessToken = "pk.eyJ1IjoiY2F0aGVyaW5lc3RyZWlmZmVyIiwiYSI6ImNpa3BrOTVlaTEyNmZ0aWo3eDlyaThraGMifQ.bYUxm5s4cRD2iRGqvpNNBA" L.tileLayer('https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token=' + mapboxAccessToken, { id: 'mapbox.light', attribution: '&copy; <a href="http://mapbox.com/">Mapbox</a>; data source: Census Bureau' }).addTo(map); } function setEnumerationUnits(map, dataLayer, data) { var dataLayer = L.geoJson(data, { className: "counties", onEachFeature: function(feature, layer) { layer.bindPopup(feature.properties.NAME + " County"); layer.on('mouseover', function(e) { this.openPopup(); }); layer.on('mouseout', function(e) { //this.closePopup(); }); } }).addTo(map) /* //selection var RADIUS = 500000; var filterCircle = L.circle(L.latLng(40, -75), RADIUS, { opacity: 1, weight: 1, fillOpacity: 0 }).addTo(map); map.on('mousemove', function(e) { filterCircle.setLatLng(e.latlng); dataLayer.filter(function showAirport(feature) { return e.latlng.distanceTo(L.latLng( feature.geometry.coordinates[1], feature.geometry.coordinates[0])) < RADIUS; }); }); */ dataLayer.setStyle(function(feature) { return { weight: .1, color: 'black', dashArray: '3', opacity: 1, fillOpacity: .7, } }) //var counties = map.selectAll() // .attr("class","counties") // .attr("fips", function(d){ // return d.properties.FIPS; // }) // .attr("d", path) // .style("fill", function(d){ // return choropleth(d.properties, bivariates); // }) //add style descriptor to each path //var desc = counties.append("desc") // .text('{"stroke": "#000", "stroke-width": "0.5px"}'); return dataLayer }; function updateChoropleth(choropleth, xTitle, yTitle, FIPSxData, xCol, FIPSyData, yCol, year, bivariate) { errorControl01 = true; colors = {} colors[[-1, 1]] = window.getComputedStyle(document.getElementById("A1")).fill colors[[0, 1]] = window.getComputedStyle(document.getElementById("B1")).fill colors[[1, 1]] = window.getComputedStyle(document.getElementById("C1")).fill colors[[-1, 0]] = window.getComputedStyle(document.getElementById("A2")).fill colors[[0, 0]] = window.getComputedStyle(document.getElementById("B2")).fill colors[[1, 0]] = window.getComputedStyle(document.getElementById("C2")).fill colors[[-1, -1]] = window.getComputedStyle(document.getElementById("A3")).fill colors[[0, -1]] = window.getComputedStyle(document.getElementById("B3")).fill colors[[1, -1]] = window.getComputedStyle(document.getElementById("C3")).fill choropleth.dataLayer.eachLayer(function(layer) { xVal = FIPSxData[layer.feature.properties.FIPS] yVal = FIPSyData[layer.feature.properties.FIPS] lookupXCoord = -1 + (xVal >= xQuantile01) + (xVal >= xQuantile02) lookupYCoord = -1 + (yVal >= yQuantile01) + (yVal >= yQuantile02) layer.setStyle({ fillColor: colors[[lookupXCoord, lookupYCoord]] }); layer.bindPopup( "<p>"+layer.feature.properties.NAME + " County" + "</p><p>" + xTitle + ": " + xVal + "</p><p>" + yTitle + ": " + yVal + "</p> "); }) }
uwcartlab/uwcl.preview
education/G575/2016SP/economic-geographer-575/js/buildChoropleth.js
JavaScript
mit
3,964
require 'spec_helper' RSpec.describe MazeMagic::Grid do subject(:grid) { described_class.new(attributes) } context 'generating grid of heigh 3 and width 7' do let(:attributes) { {height: 3, width: 7} } describe "#height" do it { expect(subject.height).to be 3 } end describe "#width" do it { expect(subject.width).to be 7 } end describe '#start_y' do it { expect(subject.start_y).to be 0 } end describe '#start_x' do it { expect(subject.start_y).to be 0 } end describe '#length' do it { expect(subject.length).to be 3 } end describe '#to_s' do it do body = '[[0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0]]' expect(subject.to_s).to eq body end end describe '#to_a' do it do expect(subject.to_a).to match_array([ [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0] ]) end end describe '#[]' do it do expect(subject[0]).to match_array([0, 0, 0, 0, 0, 0, 0]) end end describe '#each' do it do expect(subject.each).to be_kind_of Enumerator end end end context 'generating grid of heigh 2 and width 3' do let(:attributes) { {height: 2, width: 3, start_x: 1 , start_y: 1} } describe "#height" do it { expect(subject.height).to be 2 } end describe "#width" do it { expect(subject.width).to be 3 } end describe '#start_y' do it { expect(subject.start_y).to be 1 } end describe '#start_x' do it { expect(subject.start_y).to be 1 } end describe '#to_a' do it do expect(subject.to_a).to match_array([ [0, 0, 0], [0, 0, 0] ]) end end end end
equivalent/maze_magic
spec/grid_spec.rb
Ruby
mit
1,842
#include "AudioPluginUtil.h" namespace PitchDetector { const int MAXINDEX = 16; const int FFTSIZE = 8192; const int WINSIZE = 4096; const int HOPSIZE = 1024; static float detected_freqs[MAXINDEX]; static float debugdata[FFTSIZE]; enum Param { P_INDEX, P_LOCUT, P_HICUT, P_LOBIN, P_HIBIN, P_THR, P_OSCPITCH, P_MONITOR, P_NUM }; struct EffectData { struct Data { float p[P_NUM]; int counter; float env; float phase; float buffer[WINSIZE]; float window[WINSIZE]; float acnf[FFTSIZE]; UnityComplexNumber spec[FFTSIZE]; }; union { Data data; unsigned char pad[(sizeof(Data) + 15) & ~15]; // This entire structure must be a multiple of 16 bytes (and and instance 16 byte aligned) for PS3 SPU DMA requirements }; }; #if !UNITY_SPU int InternalRegisterEffectDefinition(UnityAudioEffectDefinition& definition) { int numparams = P_NUM; definition.paramdefs = new UnityAudioParameterDefinition[numparams]; RegisterParameter(definition, "Index", "", 0.0f, MAXINDEX - 1, 0.0f, 1.0f, 1.0f, P_INDEX, "Determines where the pitch data is written to for access by scripts via PitchDetectorGetFreq"); RegisterParameter(definition, "Low Cut", "", 0.0f, (FFTSIZE / 2) - 1, 20, 1.0f, 1.0f, P_LOCUT, "Low frequency cut-off for input preprocessing"); RegisterParameter(definition, "High Cut", "", 0.0f, (FFTSIZE / 2) - 1, 1000, 1.0f, 1.0f, P_HICUT, "High frequency cut-off for input preprocessing"); RegisterParameter(definition, "Low Bin", "", 0.0f, (FFTSIZE / 2) - 1, 50, 1.0f, 1.0f, P_LOBIN, "Low detection bin in autocorrelation"); RegisterParameter(definition, "High Bin", "", 0.0f, (FFTSIZE / 2) - 1, 1500, 1.0f, 1.0f, P_HIBIN, "High detection bin in autocorrelation"); RegisterParameter(definition, "Threshold", "%", 0.0f, 1.0f, 0.05f, 1.0f, 1.0f, P_THR, "Input signal envelope threshold above which pitch detection is attempted"); RegisterParameter(definition, "Osc Pitch", "", -48.0f, 48.0f, 0.0f, 1.0f, 1.0f, P_OSCPITCH, "Relative oscillator pitch in semitones"); RegisterParameter(definition, "Monitor", "%", 0.0f, 1.0f, 0.5f, 100.0f, 1.0f, P_MONITOR, "Monitor mix for auditioning the pitch tracking"); return numparams; } UNITY_AUDIODSP_RESULT UNITY_AUDIODSP_CALLBACK CreateCallback(UnityAudioEffectState* state) { EffectData* effectdata = new EffectData; memset(effectdata, 0, sizeof(EffectData)); // Calculate window and autocorrelation normalization factor EffectData::Data* data = &effectdata->data; for (int i = 0; i < WINSIZE; i++) { float w = 0.5f - 0.5f * cosf(i * kPI / (float)WINSIZE); data->window[i] = w; data->spec[i].re = w; } // Window correction FFT::Forward(data->spec, FFTSIZE, true); for (int i = 0; i < FFTSIZE; i++) data->acnf[i] = 1.0f / data->spec[i].Magnitude2(); state->effectdata = effectdata; InitParametersFromDefinitions(InternalRegisterEffectDefinition, effectdata->data.p); return UNITY_AUDIODSP_OK; } UNITY_AUDIODSP_RESULT UNITY_AUDIODSP_CALLBACK ReleaseCallback(UnityAudioEffectState* state) { EffectData::Data* data = &state->GetEffectData<EffectData>()->data; delete data; return UNITY_AUDIODSP_OK; } UNITY_AUDIODSP_RESULT UNITY_AUDIODSP_CALLBACK SetFloatParameterCallback(UnityAudioEffectState* state, int index, float value) { EffectData::Data* data = &state->GetEffectData<EffectData>()->data; if (index >= P_NUM) return UNITY_AUDIODSP_ERR_UNSUPPORTED; data->p[index] = value; return UNITY_AUDIODSP_OK; } UNITY_AUDIODSP_RESULT UNITY_AUDIODSP_CALLBACK GetFloatParameterCallback(UnityAudioEffectState* state, int index, float* value, char *valuestr) { EffectData::Data* data = &state->GetEffectData<EffectData>()->data; if (index >= P_NUM) return UNITY_AUDIODSP_ERR_UNSUPPORTED; if (value != NULL) *value = data->p[index]; if (valuestr != NULL) valuestr[0] = 0; return UNITY_AUDIODSP_OK; } int UNITY_AUDIODSP_CALLBACK GetFloatBufferCallback(UnityAudioEffectState* state, const char* name, float* buffer, int numsamples) { return UNITY_AUDIODSP_OK; } #endif #if !UNITY_PS3 || UNITY_SPU #if UNITY_SPU EffectData g_EffectData __attribute__((aligned(16))); extern "C" #endif UNITY_AUDIODSP_RESULT UNITY_AUDIODSP_CALLBACK ProcessCallback(UnityAudioEffectState* state, float* inbuffer, float* outbuffer, unsigned int length, int inchannels, int outchannels) { EffectData::Data* data = &state->GetEffectData<EffectData>()->data; #if UNITY_SPU UNITY_PS3_CELLDMA_GET(&g_EffectData, state->effectdata, sizeof(g_EffectData)); data = &g_EffectData.data; #endif const float sampletime = 1.0f / state->samplerate; const float monitor = data->p[P_MONITOR]; const float oscpitch = powf(2.0f, data->p[P_OSCPITCH] / 12.0f) * sampletime; memcpy(outbuffer, inbuffer, length * inchannels * sizeof(float)); for (unsigned int n = 0; n < length; n++) { float input = inbuffer[n * inchannels]; data->env += (fabsf(input) - data->env) * 0.01f; data->buffer[data->counter + WINSIZE - HOPSIZE] = input; if (++data->counter == HOPSIZE) { data->counter = 0; for (int i = 0; i < WINSIZE - HOPSIZE; i++) data->buffer[i] = data->buffer[i + HOPSIZE]; for (int i = 0; i < WINSIZE; i++) { data->spec[i].re = data->buffer[i] * data->window[i]; data->spec[i].im = 0.0f; } for (int i = WINSIZE; i < FFTSIZE; i++) { data->spec[i].re = 0.0f; data->spec[i].im = 0.0f; } FFT::Forward(data->spec, FFTSIZE, true); int locut = (int)data->p[P_LOCUT]; int hicut = (int)data->p[P_HICUT]; memset(data->spec, 0, sizeof(UnityComplexNumber) * locut); memset(data->spec + hicut, 0, sizeof(UnityComplexNumber) * (FFTSIZE - 2 * hicut)); memset(data->spec + FFTSIZE - locut, 0, sizeof(UnityComplexNumber) * locut); // Fast autocorrelation for (int i = 0; i < FFTSIZE; i++) { data->spec[i].re = data->spec[i].Magnitude2() * data->acnf[n]; // Correct for windowing data->spec[i].im = 0.0f; debugdata[i] = data->spec[i].re; } FFT::Backward(data->spec, FFTSIZE, true); int startbin = (int)data->p[P_LOBIN]; int endbin = (int)data->p[P_HIBIN]; int maxbin = 0; float maxval = 0.0f; for (int n = startbin; n < endbin; n++) { float a = data->spec[n].re; if (a > maxval) { maxbin = n; maxval = a; } } if (data->env > data->p[P_THR] && maxbin > 0) detected_freqs[(int)data->p[P_INDEX]] = (float)state->samplerate / (float)maxbin; } data->phase += detected_freqs[(int)data->p[P_INDEX]] * oscpitch; data->phase -= FastFloor(data->phase); for (int c = 0; c < outchannels; c++) outbuffer[n * outchannels + c] += ((data->phase * 2.0f - 1.0f) * data->env - outbuffer[n * outchannels + c]) * monitor; } #if UNITY_SPU UNITY_PS3_CELLDMA_PUT(&g_EffectData, state->effectdata, sizeof(g_EffectData)); #endif return UNITY_AUDIODSP_OK; } #endif } extern "C" UNITY_AUDIODSP_EXPORT_API float PitchDetectorGetFreq(int index) { if (index < 0 || index >= PitchDetector::MAXINDEX) return 0.0f; return PitchDetector::detected_freqs[index]; } extern "C" UNITY_AUDIODSP_EXPORT_API int PitchDetectorDebug(float* data) { for (int i = 0; i < PitchDetector::FFTSIZE; i++) data[i] = PitchDetector::debugdata[i]; return PitchDetector::FFTSIZE; }
mhahn0106/nativeaudioplugins
NativeCode/Plugin_PitchDetector.cpp
C++
mit
8,677
/* * To change this tealias: 'widget.listCompressorStopReason',mplate, choose Tools | Templates * and open the template in the editor. */ Ext.define('sisprod.view.CompressorStopReason.ListCompressorStopReason', { extend: 'sisprod.view.base.TabPanelGridItem', alias: 'widget.listCompressorStopReason', require: [ 'sisprod.view.base.TabPanelGridItem' ], options: {}, messages:{ idCompressorStopReasonHeader:"ID", compressorStopReasonNameHeader:"Compressor Stop Reason", compressorStopReasonAcronymHeader:"Acronym", discountedHeader:"Is Discounted" }, entityName: '', title: '', listTitle: 'Compressor Stop Reason List', gridOptions: { region: 'center' }, initComponent: function(){ var me = this; var storeName = sisprod.getApplication().getStoreName(me.entityName); var modelName = sisprod.getApplication().getModelName(me.entityName); me.gridOptions = { title: me.listTitle, entityName: me.entityName, autoGenerationOptions:{ model: modelName, autoGenerateColumns: true, columnOptions: { idCompressorStopReason:{header:me.messages.idCompressorStopReasonHeader}, compressorStopReasonName:{header:me.messages.compressorStopReasonNameHeader}, compressorStopReasonAcronym:{header:me.messages.compressorStopReasonAcronymHeader}, discounted:{header:me.messages.discountedHeader} } }, region: 'center', store: me.controller.getStore(storeName) }; me.callParent(arguments); } });
jgin/testphp
web/bundles/hrmpayroll/app/view/CompressorStopReason/ListCompressorStopReason.js
JavaScript
mit
1,821
# # Dockerfile for aria2 # FROM alpine MAINTAINER kev <noreply@easypi.pro> ENV TOKEN 00000000-0000-0000-0000-000000000000 RUN set -xe \ && apk add -U aria2 \ && rm -rf /var/cache/apk/* \ && aria2c https://github.com/tianon/gosu/releases/download/1.10/gosu-amd64 -o /usr/local/bin/gosu \ && chmod +x /usr/local/bin/gosu \ && adduser -D aria2 COPY aria2.conf /etc/aria2/ VOLUME /home/aria2 /etc/aria2 EXPOSE 6800 CMD set -xe \ && chown -R aria2:aria2 /home/aria2 \ && gosu aria2 aria2c --conf-path=/etc/aria2/aria2.conf \ --rpc-secret=${TOKEN}
dprasanthv/DockerFiles
aria2/Dockerfile
Dockerfile
mit
600
<html> <head> <link rel="stylesheet" type="text/css" href="includes/style.css" /> <title>Rune Transcriber: The Hobbit, Preface #1</title> <script src="includes/AngloSaxonFontLetter.js" type="text/javascript"></script> <script src="includes/Phoneme.js" type="text/javascript"></script> <script src="includes/figure.js" type="text/javascript"></script> </head> <body> <h1>Rune Transcriber: The Hobbit, Preface #1</h1> <script language="javascript"> figure("images/hobbit/TheHobbit_Preface1.jpg", "The Hobbit, Preface 1", "Anglo-Saxon", "the hobbit or there and back again"); </script> <br/> <table class="center center-table table-details"> <tr> <td class="table-header-cell-details">Font</td> <td class="table-cell-anglo-saxon"><script>THORN();</script></td> <td class="table-cell-anglo-saxon"><script>EH();</script></td> <td class="table-cell-anglo-saxon"><script>SPACE();</script></td> <td class="table-cell-anglo-saxon"><script>HAEGL();</script></td> <td class="table-cell-anglo-saxon"><script>OS();</script></td> <td class="table-cell-anglo-saxon"><script>BEORC();</script></td> <td class="table-cell-anglo-saxon"><script>BEORC();</script></td> <td class="table-cell-anglo-saxon"><script>IS();</script></td> <td class="table-cell-anglo-saxon"><script>TIW();</script></td> </tr> <tr> <td class="table-header-cell-details">Rune</td> <td class="table-cell-details">THORN</td> <td class="table-cell-details">EH</td> <td class="table-cell-details"> </td> <td class="table-cell-details">HAEGL</td> <td class="table-cell-details">OS</td> <td class="table-cell-details">BEORC</td> <td class="table-cell-details">BEORC</td> <td class="table-cell-details">IS</td> <td class="table-cell-details">TIW</td> </tr> <tr> <td class="table-header-cell-details">Phoneme</td> <td class="table-cell-details">TH</td> <td class="table-cell-details">E</td> <td class="table-cell-details"> </td> <td class="table-cell-details">H</td> <td class="table-cell-details">O</td> <td class="table-cell-details">B</td> <td class="table-cell-details">B</td> <td class="table-cell-details">I</td> <td class="table-cell-details">T</td> </tr> <tr> <td class="table-header-cell-details">Language</td> <td class="table-cell-details">th</td> <td class="table-cell-details">e</td> <td class="table-cell-details"> </td> <td class="table-cell-details">h</td> <td class="table-cell-details">o</td> <td class="table-cell-details">b</td> <td class="table-cell-details">b</td> <td class="table-cell-details">i</td> <td class="table-cell-details">t</td> </tr> </table> <br/> <table class="center center-table table-details"> <tr> <td class="table-header-cell-details">Font</td> <td class="table-cell-anglo-saxon"><script>OS();</script></td> <td class="table-cell-anglo-saxon"><script>RAD();</script></td> </tr> <tr> <td class="table-header-cell-details">Rune</td> <td class="table-cell-details">OS</td> <td class="table-cell-details">RAD</td> </tr> <tr> <td class="table-header-cell-details">Phoneme</td> <td class="table-cell-details">O</td> <td class="table-cell-details">R</td> </tr> <tr> <td class="table-header-cell-details">Language</td> <td class="table-cell-details">o</td> <td class="table-cell-details">r</td> </tr> </table> <br/> <table class="center center-table table-details"> <tr> <td class="table-header-cell-details">Font</td> <td class="table-cell-anglo-saxon"><script>THORN();</script></td> <td class="table-cell-anglo-saxon"><script>EH();</script></td> <td class="table-cell-anglo-saxon"><script>RAD();</script></td> <td class="table-cell-anglo-saxon"><script>EH();</script></td> <td class="table-cell-anglo-saxon"><script>SPACE();</script></td> <td class="table-cell-anglo-saxon"><script>AESC();</script></td> <td class="table-cell-anglo-saxon"><script>NYD();</script></td> <td class="table-cell-anglo-saxon"><script>DAEG();</script></td> <td class="table-cell-anglo-saxon"><script>SPACE();</script></td> <td class="table-cell-anglo-saxon"><script>BEORC();</script></td> <td class="table-cell-anglo-saxon"><script>AESC();</script></td> <td class="table-cell-anglo-saxon"><script>CEN();</script></td> <td class="table-cell-anglo-saxon"><script>CEN();</script></td> <td class="table-cell-anglo-saxon"><script>SPACE();</script></td> <td class="table-cell-anglo-saxon"><script>AESC();</script></td> <td class="table-cell-anglo-saxon"><script>GYFU();</script></td> <td class="table-cell-anglo-saxon"><script>AESC();</script></td> <td class="table-cell-anglo-saxon"><script>IS();</script></td> <td class="table-cell-anglo-saxon"><script>NYD();</script></td> </tr> <tr> <td class="table-header-cell-details">Rune</td> <td class="table-cell-details">THORN</td> <td class="table-cell-details">EH</td> <td class="table-cell-details">RAD</td> <td class="table-cell-details">EH</td> <td class="table-cell-details"> </td> <td class="table-cell-details">AESC</td> <td class="table-cell-details">NYD</td> <td class="table-cell-details">DAEG</td> <td class="table-cell-details"> </td> <td class="table-cell-details">BEORC</td> <td class="table-cell-details">AESC</td> <td class="table-cell-details">CEN</td> <td class="table-cell-details">CEN</td> <td class="table-cell-details"> </td> <td class="table-cell-details">AESC</td> <td class="table-cell-details">GYFU</td> <td class="table-cell-details">AESC</td> <td class="table-cell-details">IS</td> <td class="table-cell-details">NYD</td> </tr> <tr> <td class="table-header-cell-details">Phoneme</td> <td class="table-cell-details">TH</td> <td class="table-cell-details">E</td> <td class="table-cell-details">R</td> <td class="table-cell-details">E</td> <td class="table-cell-details"> </td> <td class="table-cell-details"><script>AE();</script></td> <td class="table-cell-details">N</td> <td class="table-cell-details">D</td> <td class="table-cell-details"> </td> <td class="table-cell-details">B</td> <td class="table-cell-details"><script>AE();</script></td> <td class="table-cell-details">K</td> <td class="table-cell-details">K</td> <td class="table-cell-details"> </td> <td class="table-cell-details"><script>AE();</script></td> <td class="table-cell-details">G</td> <td class="table-cell-details"><script>AE();</script></td> <td class="table-cell-details">I</td> <td class="table-cell-details">N</td> </tr> <tr> <td class="table-header-cell-details">Language</td> <td class="table-cell-details">th</td> <td class="table-cell-details">e</td> <td class="table-cell-details">r</td> <td class="table-cell-details">e</td> <td class="table-cell-details"> </td> <td class="table-cell-details">a</td> <td class="table-cell-details">n</td> <td class="table-cell-details">d</td> <td class="table-cell-details"> </td> <td class="table-cell-details">b</td> <td class="table-cell-details">a</td> <td class="table-cell-details">c</td> <td class="table-cell-details">k</td> <td class="table-cell-details"> </td> <td class="table-cell-details">a</td> <td class="table-cell-details">g</td> <td class="table-cell-details">a</td> <td class="table-cell-details">i</td> <td class="table-cell-details">n</td> </tr> </table> </body> </html>
jmthompson2015/runetranscriber
core/doc/hobbitPreface1.html
HTML
mit
7,496
{% extends "layout.html" %} {% block content %}<br><br><br><br> <h3>Shiritori!</h3> <ul id="gamelist"></ul> <div class="input"> <form> <button type="button" id="ng">new game</button> <button type="button" id="refresh">refresh</button> </form> </div> <div id="response"> </div> {% endblock %}
Rassilion/shiritori
website/templates/index.html
HTML
mit
356
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #pragma once #include "CoreMinimal.h" #include "Styling/SlateStyle.h" /** */ class FLuaDebuggerStyle { public: static void Initialize(); static void Shutdown(); /** reloads textures used by slate renderer */ static void ReloadTextures(); /** @return The Slate style set for the Shooter game */ static const ISlateStyle& Get(); static FName GetStyleSetName(); private: static TSharedRef< class FSlateStyleSet > Create(); private: static TSharedPtr< class FSlateStyleSet > StyleInstance; };
asqbtcupid/unreal.lua
Plugins/UnrealLua/LuaDebugger/Source/LuaDebugger/Public/LuaDebuggerStyle.h
C
mit
571
module Moon # Mixin to achieve Indexable objects module Indexable # Event triggered when an Indexable object changes its index, # note that this will be triggered EVEN if the index was the same class IndexEvent < Moon::Event attr_reader :state attr_reader :index def initialize(state, index) @state = state @index = index super :index end end # @return [Integer] attr_reader :index private def initialize_index @index = 0 end # Modifies the incoming index, use this method for wrapping an index # around, or clamping. # @param [Integer] index # @return [Integer] index private def treat_index(index) index end # Callback triggered before a change_index private def pre_change_index trigger { IndexEvent.new(:pre_index, index) } end # Callback triggered after a change_index private def post_change_index trigger { IndexEvent.new(:post_index, index) } end # @param [Integer] index def set_index(index) @index = index end # @param [Integer] index def change_index(index) pre_change_index set_index(treat_index(index)) post_change_index end # @param [Integer] index def index=(index) change_index(index) end end end
polyfox/moon-packages
lib/moon/packages/render_primitives/indexable.rb
Ruby
mit
1,346
require 'vcr/util/version_checker' require 'fakeweb' require 'net/http' require 'vcr/extensions/net_http_response' require 'vcr/request_handler' require 'set' VCR::VersionChecker.new('FakeWeb', FakeWeb::VERSION, '1.3.0').check_version! module VCR class LibraryHooks # @private module FakeWeb # @private class RequestHandler < ::VCR::RequestHandler attr_reader :net_http, :request, :request_body, :response_block def initialize(net_http, request, request_body = nil, &response_block) @net_http, @request, @request_body, @response_block = net_http, request, request_body, response_block @stubbed_response, @vcr_response, @recursing = nil, nil, false end def handle super ensure invoke_after_request_hook(@vcr_response) unless @recursing end private def externally_stubbed? ::FakeWeb.registered_uri?(request_method, uri) end def on_externally_stubbed_request # just perform the request--FakeWeb will handle it perform_request(:started) end def on_recordable_request perform_request(net_http.started?, :record_interaction) end def on_stubbed_by_vcr_request with_exclusive_fakeweb_stub(stubbed_response) do # force it to be considered started since it doesn't # recurse in this case like the others. perform_request(:started) end end def on_ignored_request perform_request(net_http.started?) end def perform_request(started, record_interaction = false) # Net::HTTP calls #request recursively in certain circumstances. # We only want to record the request when the request is started, as # that is the final time through #request. unless started @recursing = true request.instance_variable_set(:@__vcr_request_handler, recursive_request_handler) return net_http.request_without_vcr(request, request_body, &response_block) end net_http.request_without_vcr(request, request_body) do |response| @vcr_response = vcr_response_from(response) if record_interaction VCR.record_http_interaction VCR::HTTPInteraction.new(vcr_request, @vcr_response) end response.extend VCR::Net::HTTPResponse # "unwind" the response response_block.call(response) if response_block end end def uri @uri ||= ::FakeWeb::Utility.request_uri_as_string(net_http, request) end def response_hash(response) (response.headers || {}).merge( :body => response.body, :status => [response.status.code.to_s, response.status.message] ) end def with_exclusive_fakeweb_stub(response) original_map = ::FakeWeb::Registry.instance.uri_map.dup ::FakeWeb.clean_registry ::FakeWeb.register_uri(:any, /.*/, response_hash(response)) begin return yield ensure ::FakeWeb::Registry.instance.uri_map = original_map end end def request_method request.method.downcase.to_sym end def vcr_request @vcr_request ||= VCR::Request.new \ request_method, uri, (request_body || request.body), request.to_hash end def vcr_response_from(response) VCR::Response.new \ VCR::ResponseStatus.new(response.code.to_i, response.message), response.to_hash, response.body, response.http_version end def recursive_request_handler @recursive_request_handler ||= RecursiveRequestHandler.new( @after_hook_typed_request.type, @stubbed_response, @vcr_request, @net_http, @request, @request_body, &@response_block ) end end # @private class RecursiveRequestHandler < RequestHandler attr_reader :stubbed_response def initialize(request_type, stubbed_response, vcr_request, *args, &response_block) @request_type, @stubbed_response, @vcr_request = request_type, stubbed_response, vcr_request super(*args) end def handle set_typed_request_for_after_hook(@request_type) send "on_#{@request_type}_request" ensure invoke_after_request_hook(@vcr_response) end def request_type(*args) @request_type end end end end end # @private module Net # @private class HTTP unless method_defined?(:request_with_vcr) def request_with_vcr(request, *args, &block) if VCR.turned_on? handler = request.instance_eval do remove_instance_variable(:@__vcr_request_handler) if defined?(@__vcr_request_handler) end || VCR::LibraryHooks::FakeWeb::RequestHandler.new(self, request, *args, &block) handler.handle else request_without_vcr(request, *args, &block) end end alias request_without_vcr request alias request request_with_vcr end end end # @private module FakeWeb class << self # ensure HTTP requests are always allowed; VCR takes care of disallowing # them at the appropriate times in its hook def allow_net_connect_with_vcr?(*args) VCR.turned_on? ? true : allow_net_connect_without_vcr?(*args) end alias allow_net_connect_without_vcr? allow_net_connect? alias allow_net_connect? allow_net_connect_with_vcr? end unless respond_to?(:allow_net_connect_with_vcr?) end VCR.configuration.after_library_hooks_loaded do if defined?(WebMock) raise ArgumentError.new("You have configured VCR to hook into both :fakeweb and :webmock. You cannot use both.") end ::Kernel.warn "WARNING: VCR's FakeWeb integration is deprecated and will be removed in VCR 4.0." end
mcfiredrill/vcr
lib/vcr/library_hooks/fakeweb.rb
Ruby
mit
6,126
/* ========================================================================== Table of Contents ========================================================================== */ /* 0. Normalize 1. Icons 2. General 3. Utilities 4. General 5. Single Post 6. Tag Archive 7. Third Party Elements 8. Pagination 9. Footer 10. Media Queries (Tablet) 11. Media Queries (Mobile) 12. Animations */ /* ========================================================================== 0. Normalize.css v2.1.3 | MIT License | git.io/normalize | (minified) ========================================================================== */ article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { display: block; } audio, canvas, video { display: inline-block; } audio:not([controls]) { display: none; height: 0; } [hidden], template { display: none; } html { font-family: sans-serif; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; } body { margin: 0; } a { background: transparent; } a:focus { outline: thin dotted; } a:active, a:hover { outline: 0; } h1 { font-size: 2em; margin: 0.67em 0; } abbr[title] { border-bottom: 1px dotted; } b, strong { font-weight: 700; } dfn { font-style: italic; } hr { -moz-box-sizing: content-box; box-sizing: content-box; height: 0; } mark { background: #FF0; color: #000; } code, kbd, pre, samp { font-family: monospace, serif; font-size: 1em; } pre { white-space: pre-wrap; } q { quotes: "\201C" "\201D" "\2018" "\2019"; } small { font-size: 80%; } sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sup { top: -0.5em; } sub { bottom: -0.25em; } img { border: 0; } svg:not(:root) { overflow: hidden; } figure { margin: 0; } fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; } legend { border: 0; padding: 0; } button, input, select, textarea { font-family: inherit; font-size: 100%; margin: 0; } button, input { line-height: normal; } 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; } input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; } input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; } input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; } button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; } textarea { overflow: auto; vertical-align: top; } table { border-collapse: collapse; border-spacing: 0; } /* ========================================================================== 1. Icons - Sets up the icon font and respective classes ========================================================================== */ /* Import the font file with the icons in it */ @font-face { font-family: "casper-icons"; src:url("../fonts/casper-icons.eot"); src:url("../fonts/casper-icons.eot?#iefix") format("embedded-opentype"), url("../fonts/casper-icons.woff") format("woff"), url("../fonts/casper-icons.ttf") format("truetype"), url("../fonts/casper-icons.svg#icons") format("svg"); font-weight: normal; font-style: normal; } /* Apply these base styles to all icons */ [class^="icon-"]:before, [class*=" icon-"]:before { font-family: "casper-icons", "Open Sans", sans-serif; speak: none; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; text-decoration: none !important; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } /* Each icon is created by inserting the correct character into the content of the :before pseudo element. Like a boss. */ .icon-ghost:before { content: "\f600"; } .icon-feed:before { content: "\f601"; } .icon-twitter:before { content: "\f602"; font-size: 1.1em; } .icon-google-plus:before { content: "\f603"; } .icon-facebook:before { content: "\f604"; } .icon-arrow-left:before { content: "\f605"; } .icon-stats:before { content: "\f606"; } .icon-location:before { content: "\f607"; margin-left: -3px; /* Tracking fix */ } .icon-link:before { content: "\f608"; } /* ========================================================================== 2. General - Setting up some base styles ========================================================================== */ html { height: 100%; max-height: 100%; font-size: 62.5%; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } body { height: 100%; max-height: 100%; font-family: "Merriweather", serif; letter-spacing: 0.01rem; font-size: 1.8rem; line-height: 1.75em; color: #3A4145; -webkit-font-feature-settings: 'kern' 1; -moz-font-feature-settings: 'kern' 1; -o-font-feature-settings: 'kern' 1; } ::-moz-selection { background: #D6EDFF; } ::selection { background: #D6EDFF; } h1, h2, h3, h4, h5, h6 { -webkit-font-feature-settings: 'dlig' 1, 'liga' 1, 'lnum' 1, 'kern' 1; -moz-font-feature-settings: 'dlig' 1, 'liga' 1, 'lnum' 1, 'kern' 1; -o-font-feature-settings: 'dlig' 1, 'liga' 1, 'lnum' 1, 'kern' 1; color: #2E2E2E; line-height: 1.15em; margin: 0 0 0.4em 0; font-family: "Open Sans", sans-serif; } h1 { font-size: 5rem; letter-spacing: -2px; text-indent: -3px; } h2 { font-size: 3.6rem; letter-spacing: -1px; } h3 { font-size: 3rem; } h4 { font-size: 2.5rem; } h5 { font-size: 2rem; } h6 { font-size: 2rem; } a { color: #4A4A4A; transition: color ease 0.3s; } a:hover { color: #111; } p, ul, ol, dl { -webkit-font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; -moz-font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; -o-font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; margin: 0 0 1.75em 0; } ol, ul { padding-left: 3rem; } ol ol, ul ul, ul ol, ol ul { margin: 0 0 0.4em 0; padding-left: 2em; } dl dt { float: left; width: 180px; overflow: hidden; clear: left; text-align: right; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; margin-bottom: 1em; } dl dd { margin-left: 200px; margin-bottom: 1em } li { margin: 0.4em 0; } li li { margin: 0; } hr { display: block; height: 1px; border: 0; border-top: #EFEFEF 1px solid; margin: 3.2em 0; padding: 0; } blockquote { -moz-box-sizing: border-box; box-sizing: border-box; margin: 1.75em 0 1.75em -2.2em; padding: 0 0 0 1.75em; border-left: #4A4A4A 0.4em solid; } blockquote p { margin: 0.8em 0; font-style: italic; } blockquote small { display: inline-block; margin: 0.8em 0 0.8em 1.5em; font-size: 0.9em; color: #CCC; } blockquote small:before { content: "\2014 \00A0"; } blockquote cite { font-weight: 700; } blockquote cite a { font-weight: normal; } mark { background-color: #FFC336; } code, tt { padding: 1px 3px; font-family: Inconsolata, monospace, sans-serif; font-size: 0.85em; white-space: pre-wrap; border: #E3EDF3 1px solid; background: #F7FAFB; border-radius: 2px; } pre { -moz-box-sizing: border-box; box-sizing: border-box; margin: 0 0 1.75em 0; border: #E3EDF3 1px solid; width: 100%; padding: 10px; font-family: Inconsolata, monospace, sans-serif; font-size: 0.9em; white-space: pre; overflow: auto; background: #F7FAFB; border-radius: 3px; } pre code, tt { font-size: inherit; white-space: pre-wrap; background: transparent; border: none; padding: 0; } kbd { display: inline-block; margin-bottom: 0.4em; padding: 1px 8px; border: #CCC 1px solid; color: #666; text-shadow: #FFF 0 1px 0; font-size: 0.9em; font-weight: 700; background: #F4F4F4; border-radius: 4px; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 1px 0 0 #fff inset; } table { -moz-box-sizing: border-box; box-sizing: border-box; margin: 1.75em 0; width: 100%; max-width: 100%; background-color: transparent; } table th, table td { padding: 8px; line-height: 20px; text-align: left; vertical-align: top; border-top: #EFEFEF 1px solid; } table th { color: #000; } table caption + thead tr:first-child th, table caption + thead tr:first-child td, table colgroup + thead tr:first-child th, table colgroup + thead tr:first-child td, table thead:first-child tr:first-child th, table thead:first-child tr:first-child td { border-top: 0; } table tbody + tbody { border-top: #EFEFEF 2px solid; } table table table { background-color: #FFF; } table tbody > tr:nth-child(odd) > td, table tbody > tr:nth-child(odd) > th { background-color: #F6F6F6; } table.plain tbody > tr:nth-child(odd) > td, table.plain tbody > tr:nth-child(odd) > th { background: transparent; } iframe, .fluid-width-video-wrapper { display: block; margin: 1.75em 0; } /* When a video is inside the fitvids wrapper, drop the margin on the iframe, cause it breaks stuff. */ .fluid-width-video-wrapper iframe { margin: 0; } /* ========================================================================== 3. Utilities - These things get used a lot ========================================================================== */ /* Clears shit */ .clearfix:before, .clearfix:after { content: " "; display: table; } .clearfix:after { clear: both; } .clearfix { zoom: 1; } /* Hides shit */ .hidden { text-indent: -9999px; visibility: hidden; display: none; } /* Creates a responsive wrapper that makes our content scale nicely */ .inner { position: relative; width: 80%; max-width: 710px; margin: 0 auto; background: radial-gradient(ellipse at center, rgba(0,0,0,0.4) 0%,rgba(0,0,0,0.4) 50%,rgba(0,0,0,0) 100%); } /* Centres vertically yo. (IE8+) */ .vertical { display: table-cell; vertical-align: middle; background-color: rgba(255,255,255,0.2); } /* ========================================================================== 4. General - The main styles for the the theme ========================================================================== */ /* Big cover image on the home page */ .main-header { position: relative; display: table; width: 100%; height: 100%; margin-bottom: 5rem; text-align: center; background: #222 no-repeat center center; background-size: cover; overflow: hidden; } .main-header .inner { width: 80%; } .main-nav { position: relative; padding: 35px 40px; margin: 0 0 30px 0; } .main-nav a { text-decoration: none; font-family: 'Open Sans', sans-serif; } /* Create a bouncing scroll-down arrow on homepage with cover image */ .scroll-down { display: block; position: absolute; z-index: 100; bottom: 45px; left: 50%; margin-left: -16px; width: 34px; height: 34px; font-size: 34px; text-align: center; text-decoration: none; color: rgba(255,255,255,0.7); -webkit-transform: rotate(-90deg); transform: rotate(-90deg); -webkit-animation: bounce 4s 2s infinite; animation: bounce 4s 2s infinite; } /* Stop it bouncing and increase contrast when hovered */ .scroll-down:hover { color: #fff; -webkit-animation: none; animation: none; } /* Put a semi-opaque radial gradient behind the icon to make it more visible on photos which happen to have a light background. */ .home-template .main-header:after { display: block; content: " "; width: 150px; height: 130px; border-radius: 100%; position: absolute; bottom: 0; left: 50%; margin-left: -75px; background: radial-gradient(ellipse at center, rgba(0,0,0,0.15) 0%,rgba(0,0,0,0) 70%,rgba(0,0,0,0) 100%); } /* Hide when there's no cover image or on page2+ */ .no-cover .scroll-down, .no-cover.main-header:after, .archive-template .scroll-down, .archive-template .main-header:after { display: none } /* Appears in the top right corner of your home page */ .blog-logo { display: block; float: left; background: none !important; border: none !important; } .blog-logo img { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; display: block; height: 38px; padding: 1px 0 5px 0; width: auto; } .back-button { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; display: inline-block; float: left; height: 38px; padding: 0 15px 0 10px; border: transparent 1px solid; color: #9EABB3; text-align: center; font-size: 12px; text-transform: uppercase; line-height: 35px; border-radius: 3px; background: rgba(0,0,0,0.1); transition: all ease 0.3s; } .back-button:before { position: relative; bottom: -2px; font-size: 13px; line-height: 0; margin-right: 8px; } .subscribe-button { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; display: inline-block; float: right; height: 38px; padding: 0 20px; border: transparent 1px solid; color: #9EABB3; text-align: center; font-size: 12px; text-transform: uppercase; line-height: 35px; white-space: nowrap; border-radius: 3px; background: rgba(0,0,0,0.1); transition: all ease 0.3s; } .subscribe-button:before { font-size: 9px; margin-right: 6px; } /* Special styles when overlaid on an image*/ .main-nav.overlay { position: absolute; top: 0; left: 0; right: 0; height: 70px; border: none; background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%,rgba(0,0,0,0) 100%); } .no-cover .main-nav.overlay, .no-cover .back-button, .no-cover .subscribe-button { background: none; } .main-nav.overlay a { color: #fff; } .main-nav.overlay .back-button, .main-nav.overlay .subscribe-button { border-color: rgba(255,255,255,0.6); background: radial-gradient(ellipse at center, rgba(0,0,0,0.4) 0%,rgba(0,0,0,0.4) 50%,rgba(0,0,0,0) 100%); } .main-nav.overlay a:hover { color: #222; border-color: #fff; background: #fff; transition: all 0.1s ease; } /* Add a border to the buttons on hover */ .back-button:hover, .subscribe-button:hover { border-color: #bfc8cd; color: #9EABB3; } /* The details of your blog. Defined in ghost/settings/ */ .page-title { margin: 10px 0 10px 0; font-size: 5rem; letter-spacing: -1px; font-weight: 700; font-family: "Open Sans", sans-serif; color: #fff; text-shadow: 2px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000; } .page-description { margin: 0; font-size: 2rem; line-height: 1.5em; font-weight: 800; font-family: "Merriweather", serif; letter-spacing: 0.01rem; color: #fff; text-shadow: 2px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000; } .no-cover.main-header { min-height: 160px; max-height: 40%; background: #f5f8fa; } .no-cover .page-title { color: rgba(0,0,0,0.8); } .no-cover .page-description { color: rgba(0,0,0,0.5); } .no-cover .main-nav.overlay .back-button, .no-cover .main-nav.overlay .subscribe-button { color: rgba(0,0,0,0.4); border-color: rgba(0,0,0,0.3); } /* Add subtle load-in animation for content on the home page */ .home-template .page-title { -webkit-animation: fade-in-down 0.6s; animation: fade-in-down 0.6s; -webkit-animation-delay: 0.2s; animation-delay: 0.2s; } .home-template .page-description { -webkit-animation: fade-in-down 0.9s; animation: fade-in-down 0.9s; -webkit-animation-delay: 0.1s; animation-delay: 0.1s; } /* Every post, on every page, gets this style on its <article> tag */ .post { position: relative; width: 80%; max-width: 710px; margin: 4rem auto; padding-bottom: 4rem; border-bottom: #EBF2F6 1px solid; word-wrap: break-word; -moz-hyphens: auto; -ms-hyphens: auto; -webkit-hyphens: auto; hyphens: auto; } /* Add a little circle in the middle of the border-bottom on our .post just for the lolz and stylepoints. */ .post:after { display: block; content: ""; width: 7px; height: 7px; border: #E7EEF2 1px solid; position: absolute; bottom: -5px; left: 50%; margin-left: -5px; background: #FFF; border-radius: 100%; box-shadow: #FFF 0 0 0 5px; } body:not(.post-template) .post-title { font-size: 3.6rem; } .post-title a { text-decoration: none; } .post-excerpt p { margin: 0; font-size: 0.9em; line-height: 1.7em; } .read-more { text-decoration: none; } .post-meta { display: block; margin: 1.75rem 0 0 0; font-family: "Open Sans", sans-serif; font-size: 1.5rem; line-height: 2.2rem; color: #9EABB3; } .author-thumb { width: 24px; height: 24px; float: left; margin-right: 9px; border-radius: 100%; } .post-meta a { color: #9EABB3; text-decoration: none; } .post-meta a:hover { text-decoration: underline; } .user-meta { position: relative; padding: 0.3rem 40px 0 100px; min-height: 77px; } .post-date { display: inline-block; margin-left: 8px; padding-left: 12px; border-left: #d5dbde 1px solid; text-transform: uppercase; font-size: 1.3rem; white-space: nowrap; } .user-image { position: absolute; top: 0; left: 0; } .user-name { display: block; font-weight: 700; } .user-bio { display: block; max-width: 440px; font-size: 1.4rem; line-height: 1.5em; } .publish-meta { position: absolute; top: 0; right: 0; padding: 4.3rem 0 4rem 0; text-align: right; } .publish-heading { display: block; font-weight: 700; } .publish-date { display: block; font-size: 1.4rem; line-height: 1.5em; } /* ========================================================================== 5. Single Post - When you click on an individual post ========================================================================== */ .post-template .post-header { margin-bottom: 3.4rem; } .post-template .post-title { margin-bottom: 0; } .post-template .post-meta { margin: 0; } .post-template .post-date { padding: 0; margin: 0; border: none; } /* Stop .full-img from creating horizontal scroll - slight hack due to imperfections with browser width % calculations and rounding */ .post-template > .content { overflow: hidden; } /* Tweak the .post wrapper style */ .post-template .post { margin-top: 0; border-bottom: none; padding-bottom: 0; } /* Kill that stylish little circle that was on the border, too */ .post-template .post:after { display: none; } /* Keep images centred and within the bounds of the post-width */ .post-content img { display: block; max-width: 100%; height: auto; margin: 0 auto; padding: 0.6em 0; } /* Break out larger images to be wider than the main text column the class is applied with jQuery */ .post-content .full-img { width: 126%; max-width: none; margin: 0 -13%; } /* The author credit area after the post */ .post-footer { position: relative; margin: 6rem 0 0 0; padding: 6rem 0 0 0; border-top: #EBF2F6 1px solid; } .post-footer h4 { font-size: 1.8rem; margin: 0; } .post-footer p { margin: 1rem 0; font-size: 1.4rem; line-height: 1.75em; } /* list of author links - location / url */ .author-meta { padding: 0; margin: 0; list-style: none; font-size: 1.4rem; line-height: 1; font-style: italic; color: #9EABB3; } .author-meta a { color: #9EABB3; } .author-meta a:hover { color: #111; } /* Create some space to the right for the share links */ .post-footer .author { margin-right: 180px; } .post-footer h4 a { color: #2e2e2e; text-decoration: none; } .post-footer h4 a:hover { text-decoration: underline; } /* Drop the share links in the space to the right. Doing it like this means it's easier for the author bio to be flexible at smaller screen sizes while the share links remain at a fixed width the whole time */ .post-footer .share { position: absolute; top: 6rem; right: 0; width: 140px; } .post-footer .share a { font-size: 1.8rem; display: inline-block; margin: 1rem 1.6rem 1.6rem 0; color: #BBC7CC; text-decoration: none; } .post-footer .share a:hover { color: #50585D; } /* The subscribe icon on the footer */ .subscribe { width: 28px; height: 28px; position: absolute; top: -14px; left: 50%; margin-left: -15px; border: #EBF2F6 1px solid; text-align: center; line-height: 2.4rem; border-radius: 50px; background: #FFF; transition: box-shadow 0.5s; } /* The RSS icon, inserted via icon font */ .subscribe:before { color: #D2DEE3; font-size: 10px; position: absolute; top: 2px; left: 9px; font-weight: 700; transition: color 0.5s ease; } /* Add a box shadow to on hover */ .subscribe:hover { box-shadow: rgba(0,0,0,0.05) 0 0 0 3px; transition: box-shadow 0.25s; } .subscribe:hover:before { color: #50585D; } /* CSS tooltip saying "Subscribe!" - initially hidden */ .tooltip { opacity: 0; display: block; width: 53px; padding: 4px 8px 5px 8px; position:absolute; top: -23px; left: -21px; color: rgba(255,255,255,0.9); font-size: 1.1rem; line-height: 1em; text-align: center; background: #50585D; border-radius: 20px; box-shadow: 0 1px 4px rgba(0,0,0,0.1); transition: opacity 0.3s ease, top 0.3s ease; } /* The little chiclet arrow under the tooltip, pointing down */ .tooltip:after { content: " "; border-width: 5px 5px 0 5px; border-style: solid; border-color: #50585D transparent; display: block; position: absolute; bottom: -4px; left: 50%; margin-left: -5px; z-index: 220; width: 0; } /* On hover, show the tooltip! */ .subscribe:hover .tooltip { opacity: 1; top: -33px; } /* ========================================================================== 6. Author profile ========================================================================== */ .post-head.main-header { height: 65%; min-height: 180px; } .no-cover.post-head.main-header { height: 85px; min-height: 0; margin-bottom: 0; background: transparent; } .tag-head.main-header { height: 40%; min-height: 180px; } .author-head.main-header { height: 40%; min-height: 180px; } .no-cover.author-head.main-header { height: 10%; min-height: 100px; background: transparent; } .author-profile { padding: 0 15px 5rem 15px; border-bottom: #EBF2F6 1px solid; text-align: center; } /* Add a little circle in the middle of the border-bottom */ .author-profile:after { display: block; content: ""; width: 7px; height: 7px; border: #E7EEF2 1px solid; position: absolute; bottom: -5px; left: 50%; margin-left: -5px; background: #FFF; border-radius: 100%; box-shadow: #FFF 0 0 0 5px; } .author-image { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; display: block; position: absolute; top: -40px; left: 50%; margin-left: -40px; width: 80px; height: 80px; border-radius: 100%; overflow: hidden; padding: 6px; background: #fff; z-index: 2; box-shadow: #E7EEF2 0 0 0 1px; } .author-image .img { position: relative; display: block; width: 100%; height: 100%; background-size: cover; background-position: center center; border-radius: 100%; } .author-profile .author-image { position: relative; left: auto; top: auto; width: 120px; height: 120px; padding: 3px; margin: -100px auto 0 auto; box-shadow: none; } .author-title { margin: 1.5rem 0 1rem; } .author-bio { font-size: 1.8rem; line-height: 1.5em; font-weight: 200; color: #50585D; letter-spacing: 0; text-indent: 0; } .author-meta { margin: 1.6rem 0; } /* Location, website, and link */ .author-profile .author-meta { margin: 2rem 0; font-family: "Merriweather", serif; letter-spacing: 0.01rem; font-size: 1.7rem; } .author-meta span { display: inline-block; margin: 0 2rem 1rem 0; word-wrap: break-word; } .author-meta a { text-decoration: none; } /* Turn off meta for page2+ to make room for extra pagination prev/next links */ .archive-template .author-profile .author-meta { display: none; } /* ========================================================================== 7. Third Party Elements - Embeds from other services ========================================================================== */ /* Github */ .gist table { margin: 0; font-size: 1.4rem; } .gist td { line-height: 1.4; } .gist .line-number { min-width: 25px; } /* Pastebin */ .content .embedPastebin { margin-bottom: 1.75em; } /* ========================================================================== 8. Pagination - Tools to let you flick between pages ========================================================================== */ /* The main wrapper for our pagination links */ .pagination { position: relative; width: 80%; max-width: 710px; margin: 4rem auto; font-family: "Open Sans", sans-serif; font-size: 1.3rem; color: #9EABB3; text-align: center; } .pagination a { color: #9EABB3; transition: all 0.2s ease; } /* Push the previous/next links out to the left/right */ .older-posts, .newer-posts { position: absolute; display: inline-block; padding: 0 15px; border: #bfc8cd 1px solid; text-decoration: none; border-radius: 4px; transition: border ease 0.3s; } .older-posts { right: 0; } .page-number { display: inline-block; padding: 2px 0; min-width: 100px; } .newer-posts { left: 0; } .older-posts:hover, .newer-posts:hover { color: #889093; border-color: #98a0a4; } .extra-pagination { display: none; border-bottom: #EBF2F6 1px solid; } .extra-pagination:after { display: block; content: ""; width: 7px; height: 7px; border: #E7EEF2 1px solid; position: absolute; bottom: -5px; left: 50%; margin-left: -5px; background: #FFF; border-radius: 100%; box-shadow: #FFF 0 0 0 5px; } .extra-pagination .pagination { width: auto; } /* On page2+ make all the headers smaller */ .archive-template .main-header { max-height: 30%; } /* On page2+ show extra pagination controls at the top of post list */ .archive-template .extra-pagination { display: block; } /* ========================================================================== 9. Footer - The bottom of every page ========================================================================== */ .site-footer { position: relative; margin: 8rem 0 0 0; padding: 0.5rem 15px; border-top: #EBF2F6 1px solid; font-family: "Open Sans", sans-serif; font-size: 1rem; line-height: 1.75em; color: #BBC7CC; } .site-footer a { color: #BBC7CC; text-decoration: none; font-weight: bold; } .site-footer a:hover { color: #50585D; } .poweredby { display: block; width: 45%; float: right; text-align: right; } .copyright { display: block; width: 45%; float: left; } /* ========================================================================== 10. Media Queries - Smaller than 900px ========================================================================== */ @media only screen and (max-width: 900px) { .main-nav { padding: 15px; } blockquote { margin-left: 0; } .main-header { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; height: auto; min-height: 240px; height: 60%; padding: 15% 0; } .scroll-down, .home-template .main-header:after { display: none; } .archive-template .main-header { min-height: 180px; padding: 10% 0; } .blog-logo img { padding: 4px 0; } .page-title { font-size: 4rem; letter-spacing: -1px; } .page-description { font-size: 1.8rem; line-height: 1.5em; } .post { font-size: 0.95em } body:not(.post-template) .post-title { font-size: 3.2rem; } hr { margin: 2.4em 0; } ol, ul { padding-left: 2em; } h1 { font-size: 4.5rem; text-indent: -2px; } h2 { font-size: 3.6rem; } h3 { font-size: 3.1rem; } h4 { font-size: 2.5rem; } h5 { font-size: 2.2rem; } h6 { font-size: 1.8rem; } .author-profile { padding-bottom: 4rem; } .author-profile .author-bio { font-size: 1.6rem; } .author-meta span { display: block; margin: 1.5rem 0; } .author-profile .author-meta span { font-size: 1.6rem; } .post-head.main-header { height:45%; } .tag-head.main-header, .author-head.main-header { height: 30%; } .no-cover.post-head.main-header { height: 55px; padding: 0; } .no-cover.author-head.main-header { padding: 0; } } /* ========================================================================== 11. Media Queries - Smaller than 500px ========================================================================== */ @media only screen and (max-width: 500px) { .main-header { margin-bottom: 15px; height: 40%; } .no-cover.main-header { height: 30%; } .archive-template .main-header { max-height: 20%; min-height: 160px; padding: 10% 0; } .main-nav { padding: 0; margin-bottom: 2rem; border-bottom: #e0e4e7 1px solid; } .blog-logo { padding: 10px 10px; } .blog-logo img { height: 26px; } .back-button, .subscribe-button { height: 44px; line-height: 41px; border-radius: 0; color: #2e2e2e; background: transparent; } .back-button:hover, .subscribe-button:hover { border-color: #ebeef0; color: #2e2e2e; background: #ebeef0; } .back-button { padding: 0 15px 0 10px; } .subscribe-button { padding: 0 12px; } .main-nav.overlay a:hover { color: #fff; border-color: transparent; background: transparent; } .no-cover .main-nav.overlay { background: none; } .no-cover .main-nav.overlay .back-button, .no-cover .main-nav.overlay .subscribe-button { border: none; } .main-nav.overlay .back-button, .main-nav.overlay .subscribe-button { border-color: transparent; } .blog-logo img { max-height: 80px; } .inner, .pagination { width: auto; margin: 2rem auto; } .post { width: auto; margin-top: 2rem; margin-bottom: 2rem; margin-left: 16px; margin-right: 16px; padding-bottom: 2rem; line-height: 1.65em; } .post-date { display: none; } .post-template .post-header { margin-bottom: 2rem; } .post-template .post-date { display: inline-block; } hr { margin: 1.75em 0; } p, ul, ol, dl { font-size: 0.95em; margin: 0 0 2.5rem 0; } .page-title { font-size: 3rem; } .post-excerpt p { font-size: 0.85em; } .page-description { font-size: 1.6rem; } h1, h2, h3, h4, h5, h6 { margin: 0 0 0.3em 0; } h1 { font-size: 2.8rem; letter-spacing: -1px; } h2 { font-size: 2.4rem; letter-spacing: 0; } h3 { font-size: 2.1rem; } h4 { font-size: 1.9rem; } h5 { font-size: 1.8rem; } h6 { font-size: 1.8rem; } body:not(.post-template) .post-title { font-size: 2.5rem; } .post-template .post { padding-bottom: 0; margin-bottom: 0; } .post-template .site-footer { margin-top: 0; } .post-content img { padding: 0; } .post-content .full-img { width: auto; width: calc(100% + 32px); /* expand with to image + margins */ margin: 0 -16px; /* get rid of margins */ min-width: 0; max-width: 112%; /* fallback when calc doesn't work */ } .post-meta { font-size: 1.3rem; margin-top: 1rem; } .post-footer { padding: 5rem 0 3rem 0; text-align: center; } .post-footer .author { margin: 0 0 2rem 0; padding: 0 0 1.6rem 0; border-bottom: #EBF2F6 1px dashed; } .post-footer .share { position: static; width: auto; } .post-footer .share a { margin: 1.4rem 0.8rem 0 0.8rem; } .author-meta li { float: none; margin: 0; line-height: 1.75em; } .author-meta li:before { display: none; } .older-posts, .newer-posts { position: static; margin: 10px 0; } .page-number { display: block; } .site-footer { margin-top: 3rem; } .author-profile { padding-bottom: 2rem; } .post-head.main-header { height: 30%; } .tag-head.main-header, .author-head.main-header { height: 20%; } .author-profile .author-image { margin-top: -70px; } .author-profile .author-meta span { font-size: 1.4rem; } .archive-template .main-header .page-description { display: none; } } /* ========================================================================== 12. Animations ========================================================================== */ /* Used to fade in title/desc on the home page */ @-webkit-keyframes fade-in-down { 0% { opacity: 0; -webkit-transform: translateY(-10px); transform: translateY(-10px); } 100% { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); } } @keyframes fade-in-down { 0% { opacity: 0; -webkit-transform: translateY(-10px); transform: translateY(-10px); } 100% { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); } } /* Used to bounce .scroll-down on home page */ @-webkit-keyframes bounce { 0%, 10%, 25%, 40%, 50% { -webkit-transform: translateY(0) rotate(-90deg); transform: translateY(0) rotate(-90deg); } 20% { -webkit-transform: translateY(-10px) rotate(-90deg); transform: translateY(-10px) rotate(-90deg); } 30% { -webkit-transform: translateY(-5px) rotate(-90deg); transform: translateY(-5px) rotate(-90deg); } } @keyframes bounce { 0%, 20%, 50%, 80%, 100% { -webkit-transform: translateY(0) rotate(-90deg); transform: translateY(0) rotate(-90deg); } 40% { -webkit-transform: translateY(-10px) rotate(-90deg); transform: translateY(-10px) rotate(-90deg); } 60% { -webkit-transform: translateY(-5px) rotate(-90deg); transform: translateY(-5px) rotate(-90deg); } } /* ========================================================================== End of file. Animations should be the last thing here. Do not add stuff below this point, or it will probably fuck everything up. ========================================================================== */
GWCATT/gwcatt.github.io
themes/Casper/assets/css/screen.css
CSS
mit
36,708
# SPA Skeleton [![Circle CI](https://circleci.com/gh/thegecko/spa-skeleton.svg?style=shield)](https://circleci.com/gh/thegecko/spa-skeleton/) [![Builds](https://img.shields.io/badge/SPA--Skeleton-builds-blue.svg)](http://thegecko.github.io/spa-skeleton/builds/) [![Staging](https://img.shields.io/badge/SPA--Skeleton-staging-blue.svg)](http://thegecko.github.io/spa-skeleton/) Single-Page Application Skeleton ## Architecture ### Development * package manager: [npm](https://www.npmjs.com/) * task runner: [gulp](http://gulpjs.com/) * es2015 transpiler: [babel](http://babeljs.io/) * module loader: [webpack](https://webpack.github.io/) ### Structure * ajax: [jQuery](https://jquery.com/) * components: [react](https://facebook.github.io/react/) * state container: [redux](http://redux.js.org/) * redux glue: [react-redux](https://github.com/reactjs/react-redux/) ### Routing * routing: [react-router](https://github.com/reactjs/react-router/) * redux glue: [react-router-redux](https://github.com/reactjs/react-router-redux/) ### Styling * layout: [foundation-sites](http://foundation.zurb.com/) * css pre-processor: [sass](http://sass-lang.com/) ### Testing * linting: [eslint](http://eslint.org/) * runner: [mocha](https://mochajs.org/) + [chai](http://chaijs.com/) * reporter: [mochawesome](http://adamgruber.github.io/mochawesome/) ### Deployment * continuous integration: [circleci](https://circleci.com/gh/thegecko/spa-skeleton) * staging server: [gh-pages](https://thegecko.github.io/spa-skeleton/) ### Online Books * backbone: [backbone apps](https://addyosmani.com/backbone-fundamentals/) * webpack + react: [survivejs](http://survivejs.com/webpack_react/) ## Prerequisites [Node.js](https://nodejs.org/) which includes ```npm```. ```gulp``` installed globally by running: ```bash > npm install -g gulp ``` ## Installing After cloning this repository, install the npm dependencies: ```bash > npm install ``` ### Development Simply use the default ```gulp``` task to lint the code, run tests and start a live-reloading web-server: ```bash > gulp ``` ### Building Use the ```build``` ```gulp``` task to lint the code, run tests and create a production-ready package in the ```dist``` folder: ```bash > gulp build ``` ### Staging Successful ```CircleCI``` builds are automatically deployed to [gh-pages](https://thegecko.github.io/spa-skeleton/)
thegecko/spa-skeleton
README.md
Markdown
mit
2,385
<?php /** * @package framework * @subpackage tests * * @todo test Director::alternateBaseFolder() */ class DirectorTest extends SapphireTest { protected static $originalRequestURI; protected $originalProtocolHeaders = array(); public function setUp() { parent::setUp(); // Hold the original request URI once so it doesn't get overwritten if(!self::$originalRequestURI) { self::$originalRequestURI = $_SERVER['REQUEST_URI']; } Config::inst()->update('Director', 'rules', array( 'DirectorTestRule/$Action/$ID/$OtherID' => 'DirectorTestRequest_Controller', 'en-nz/$Action/$ID/$OtherID' => array( 'Controller' => 'DirectorTestRequest_Controller', 'Locale' => 'en_NZ' ) )); $headers = array( 'HTTP_X_FORWARDED_PROTOCOL', 'HTTPS', 'SSL' ); foreach($headers as $header) { if(isset($_SERVER[$header])) { $this->originalProtocolHeaders[$header] = $_SERVER[$header]; } } } public function tearDown() { // TODO Remove director rule, currently API doesnt allow this // Reinstate the original REQUEST_URI after it was modified by some tests $_SERVER['REQUEST_URI'] = self::$originalRequestURI; if($this->originalProtocolHeaders) { foreach($this->originalProtocolHeaders as $header => $value) { $_SERVER[$header] = $value; } } parent::tearDown(); } public function testFileExists() { $tempFileName = 'DirectorTest_testFileExists.tmp'; $tempFilePath = TEMP_FOLDER . '/' . $tempFileName; // create temp file file_put_contents($tempFilePath, ''); $this->assertTrue( Director::fileExists($tempFilePath), 'File exist check with absolute path' ); $this->assertTrue( Director::fileExists($tempFilePath . '?queryparams=1&foo[bar]=bar'), 'File exist check with query params ignored' ); unlink($tempFilePath); } public function testAlternativeBaseURL() { // relative base URLs - you should end them in a / Config::inst()->update('Director', 'alternate_base_url', '/relativebase/'); $this->assertEquals('/relativebase/', Director::baseURL()); $this->assertEquals(Director::protocolAndHost() . '/relativebase/', Director::absoluteBaseURL()); $this->assertEquals(Director::protocolAndHost() . '/relativebase/subfolder/test', Director::absoluteURL('subfolder/test')); // absolute base URLs - you should end them in a / Config::inst()->update('Director', 'alternate_base_url', 'http://www.example.org/'); $this->assertEquals('http://www.example.org/', Director::baseURL()); $this->assertEquals('http://www.example.org/', Director::absoluteBaseURL()); $this->assertEquals('http://www.example.org/subfolder/test', Director::absoluteURL('subfolder/test')); // Setting it to false restores functionality Config::inst()->update('Director', 'alternate_base_url', false); $this->assertEquals(BASE_URL.'/', Director::baseURL()); $this->assertEquals(Director::protocolAndHost().BASE_URL.'/', Director::absoluteBaseURL(BASE_URL)); $this->assertEquals(Director::protocolAndHost().BASE_URL . '/subfolder/test', Director::absoluteURL('subfolder/test')); } /** * Tests that {@link Director::is_absolute()} works under different environment types */ public function testIsAbsolute() { $expected = array ( 'C:/something' => true, 'd:\\' => true, 'e/' => false, 's:/directory' => true, '/var/www' => true, '\\Something' => true, 'something/c:' => false, 'folder' => false, 'a/c:/' => false ); foreach($expected as $path => $result) { $this->assertEquals(Director::is_absolute($path), $result, "Test result for $path"); } } public function testIsAbsoluteUrl() { $this->assertTrue(Director::is_absolute_url('http://test.com/testpage')); $this->assertTrue(Director::is_absolute_url('ftp://test.com')); $this->assertFalse(Director::is_absolute_url('test.com/testpage')); $this->assertFalse(Director::is_absolute_url('/relative')); $this->assertFalse(Director::is_absolute_url('relative')); $this->assertFalse(Director::is_absolute_url("/relative/?url=http://foo.com")); $this->assertFalse(Director::is_absolute_url("/relative/#http://foo.com")); $this->assertTrue(Director::is_absolute_url("https://test.com/?url=http://foo.com")); $this->assertTrue(Director::is_absolute_url("trickparseurl:http://test.com")); $this->assertTrue(Director::is_absolute_url('//test.com')); $this->assertTrue(Director::is_absolute_url('/////test.com')); $this->assertTrue(Director::is_absolute_url(' ///test.com')); $this->assertTrue(Director::is_absolute_url('http:test.com')); $this->assertTrue(Director::is_absolute_url('//http://test.com')); } public function testIsRelativeUrl() { $siteUrl = Director::absoluteBaseURL(); $this->assertFalse(Director::is_relative_url('http://test.com')); $this->assertFalse(Director::is_relative_url('https://test.com')); $this->assertFalse(Director::is_relative_url(' https://test.com/testpage ')); $this->assertTrue(Director::is_relative_url('test.com/testpage')); $this->assertFalse(Director::is_relative_url('ftp://test.com')); $this->assertTrue(Director::is_relative_url('/relative')); $this->assertTrue(Director::is_relative_url('relative')); $this->assertTrue(Director::is_relative_url('/relative/?url=http://test.com')); $this->assertTrue(Director::is_relative_url('/relative/#=http://test.com')); } public function testMakeRelative() { $siteUrl = Director::absoluteBaseURL(); $siteUrlNoProtocol = preg_replace('/https?:\/\//', '', $siteUrl); $this->assertEquals(Director::makeRelative("$siteUrl"), ''); $this->assertEquals(Director::makeRelative("https://$siteUrlNoProtocol"), ''); $this->assertEquals(Director::makeRelative("http://$siteUrlNoProtocol"), ''); $this->assertEquals(Director::makeRelative(" $siteUrl/testpage "), 'testpage'); $this->assertEquals(Director::makeRelative("$siteUrlNoProtocol/testpage"), 'testpage'); $this->assertEquals(Director::makeRelative('ftp://test.com'), 'ftp://test.com'); $this->assertEquals(Director::makeRelative('http://test.com'), 'http://test.com'); $this->assertEquals(Director::makeRelative('relative'), 'relative'); $this->assertEquals(Director::makeRelative("$siteUrl/?url=http://test.com"), '?url=http://test.com'); $this->assertEquals("test", Director::makeRelative("https://".$siteUrlNoProtocol."/test")); $this->assertEquals("test", Director::makeRelative("http://".$siteUrlNoProtocol."/test")); } /** * Mostly tested by {@link testIsRelativeUrl()}, * just adding the host name matching aspect here. */ public function testIsSiteUrl() { $this->assertFalse(Director::is_site_url("http://test.com")); $this->assertTrue(Director::is_site_url(Director::absoluteBaseURL())); $this->assertFalse(Director::is_site_url("http://test.com?url=" . Director::absoluteBaseURL())); $this->assertFalse(Director::is_site_url("http://test.com?url=" . urlencode(Director::absoluteBaseURL()))); $this->assertFalse(Director::is_site_url("//test.com?url=" . Director::absoluteBaseURL())); } public function testResetGlobalsAfterTestRequest() { $_GET = array('somekey' => 'getvalue'); $_POST = array('somekey' => 'postvalue'); $_COOKIE = array('somekey' => 'cookievalue'); $getresponse = Director::test('errorpage?somekey=sometestgetvalue', array('somekey' => 'sometestpostvalue'), null, null, null, null, array('somekey' => 'sometestcookievalue')); $this->assertEquals('getvalue', $_GET['somekey'], '$_GET reset to original value after Director::test()'); $this->assertEquals('postvalue', $_POST['somekey'], '$_POST reset to original value after Director::test()'); $this->assertEquals('cookievalue', $_COOKIE['somekey'], '$_COOKIE reset to original value after Director::test()'); } public function testTestRequestCarriesGlobals() { $fixture = array('somekey' => 'sometestvalue'); foreach(array('get', 'post') as $method) { foreach(array('return%sValue', 'returnRequestValue', 'returnCookieValue') as $testfunction) { $url = 'DirectorTestRequest_Controller/' . sprintf($testfunction, ucfirst($method)) . '?' . http_build_query($fixture); $getresponse = Director::test($url, $fixture, null, strtoupper($method), null, null, $fixture); $this->assertInstanceOf('SS_HTTPResponse', $getresponse, 'Director::test() returns SS_HTTPResponse'); $this->assertEquals($fixture['somekey'], $getresponse->getBody(), 'Director::test() ' . $testfunction); } } } /** * Tests that additional parameters specified in the routing table are * saved in the request */ public function testRouteParams() { Director::test('en-nz/myaction/myid/myotherid', null, null, null, null, null, null, $request); $this->assertEquals( $request->params(), array( 'Controller' => 'DirectorTestRequest_Controller', 'Action' => 'myaction', 'ID' => 'myid', 'OtherID' => 'myotherid', 'Locale' => 'en_NZ' ) ); } public function testForceSSLProtectsEntireSite() { $_SERVER['REQUEST_URI'] = Director::baseURL() . 'admin'; $output = Director::forceSSL(); $this->assertEquals($output, 'https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']); $_SERVER['REQUEST_URI'] = Director::baseURL() . 'some-url'; $output = Director::forceSSL(); $this->assertEquals($output, 'https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']); } public function testForceSSLOnTopLevelPagePattern() { $_SERVER['REQUEST_URI'] = Director::baseURL() . 'admin'; $output = Director::forceSSL(array('/^admin/')); $this->assertEquals($output, 'https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']); } public function testForceSSLOnSubPagesPattern() { $_SERVER['REQUEST_URI'] = Director::baseURL() . Config::inst()->get('Security', 'login_url'); $output = Director::forceSSL(array('/^Security/')); $this->assertEquals($output, 'https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']); } public function testForceSSLWithPatternDoesNotMatchOtherPages() { $_SERVER['REQUEST_URI'] = Director::baseURL() . 'normal-page'; $output = Director::forceSSL(array('/^admin/')); $this->assertFalse($output); $_SERVER['REQUEST_URI'] = Director::baseURL() . 'just-another-page/sub-url'; $output = Director::forceSSL(array('/^admin/', '/^Security/')); $this->assertFalse($output); } public function testForceSSLAlternateDomain() { Config::inst()->update('Director', 'alternate_base_url', '/'); $_SERVER['REQUEST_URI'] = Director::baseURL() . 'admin'; $output = Director::forceSSL(array('/^admin/'), 'secure.mysite.com'); $this->assertEquals($output, 'https://secure.mysite.com/admin'); } /** * @covers Director::extract_request_headers() */ public function testExtractRequestHeaders() { $request = array( 'REDIRECT_STATUS' => '200', 'HTTP_HOST' => 'host', 'HTTP_USER_AGENT' => 'User Agent', 'HTTP_ACCEPT' => 'text/html', 'HTTP_ACCEPT_LANGUAGE' => 'en-us', 'HTTP_COOKIE' => 'PastMember=1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => FRAMEWORK_DIR . '/main.php', 'CONTENT_TYPE' => 'text/xml', 'CONTENT_LENGTH' => 10 ); $headers = array( 'Host' => 'host', 'User-Agent' => 'User Agent', 'Accept' => 'text/html', 'Accept-Language' => 'en-us', 'Cookie' => 'PastMember=1', 'Content-Type' => 'text/xml', 'Content-Length' => '10' ); $this->assertEquals($headers, Director::extract_request_headers($request)); } public function testUnmatchedRequestReturns404() { $this->assertEquals(404, Director::test('no-route')->getStatusCode()); } public function testIsHttps() { // nothing available $headers = array( 'HTTP_X_FORWARDED_PROTOCOL', 'HTTPS', 'SSL' ); $origServer = $_SERVER; foreach($headers as $header) { if(isset($_SERVER[$header])) { unset($_SERVER['HTTP_X_FORWARDED_PROTOCOL']); } } $this->assertFalse(Director::is_https()); $_SERVER['HTTP_X_FORWARDED_PROTOCOL'] = 'https'; $this->assertTrue(Director::is_https()); $_SERVER['HTTP_X_FORWARDED_PROTOCOL'] = 'http'; $this->assertFalse(Director::is_https()); $_SERVER['HTTP_X_FORWARDED_PROTOCOL'] = 'ftp'; $this->assertFalse(Director::is_https()); // https via HTTPS $_SERVER['HTTPS'] = 'true'; $this->assertTrue(Director::is_https()); $_SERVER['HTTPS'] = '1'; $this->assertTrue(Director::is_https()); $_SERVER['HTTPS'] = 'off'; $this->assertFalse(Director::is_https()); // https via SSL $_SERVER['SSL'] = ''; $this->assertTrue(Director::is_https()); $_SERVER = $origServer; } public function testRequestFilterInDirectorTest() { $filter = new TestRequestFilter; $processor = new RequestProcessor(array($filter)); $currentProcessor = Injector::inst()->get('RequestProcessor'); Injector::inst()->registerService($processor, 'RequestProcessor'); $response = Director::test('some-dummy-url'); $this->assertEquals(1, $filter->preCalls); $this->assertEquals(1, $filter->postCalls); $filter->failPost = true; $this->setExpectedException('SS_HTTPResponse_Exception'); $response = Director::test('some-dummy-url'); $this->assertEquals(2, $filter->preCalls); $this->assertEquals(2, $filter->postCalls); $filter->failPre = true; $response = Director::test('some-dummy-url'); $this->assertEquals(3, $filter->preCalls); // preCall 'false' will trigger an exception and prevent post call execution $this->assertEquals(2, $filter->postCalls); // swap back otherwise our wrapping test execution request may fail in the post processing later Injector::inst()->registerService($currentProcessor, 'RequestProcessor'); } } class TestRequestFilter implements RequestFilter, TestOnly { public $preCalls = 0; public $postCalls = 0; public $failPre = false; public $failPost = false; public function preRequest(\SS_HTTPRequest $request, \Session $session, \DataModel $model) { ++$this->preCalls; if ($this->failPre) { return false; } } public function postRequest(\SS_HTTPRequest $request, \SS_HTTPResponse $response, \DataModel $model) { ++$this->postCalls; if ($this->failPost) { return false; } } public function reset() { $this->preCalls = 0; $this->postCalls = 0; } } class DirectorTestRequest_Controller extends Controller implements TestOnly { private static $allowed_actions = array( 'returnGetValue', 'returnPostValue', 'returnRequestValue', 'returnCookieValue', ); public function returnGetValue($request) { return $_GET['somekey']; } public function returnPostValue($request) { return $_POST['somekey']; } public function returnRequestValue($request) { return $_REQUEST['somekey']; } public function returnCookieValue($request) { return $_COOKIE['somekey']; } }
harrymule/nairobi-webportal
framework/tests/control/DirectorTest.php
PHP
mit
14,999
'use strict'; var seleniumServerJar = '/usr/local/lib/node_modules/protractor' + '/selenium/selenium-server-standalone-2.41.0.jar'; // A reference configuration file. exports.config = { // ----- How to setup Selenium ----- // // There are three ways to specify how to use Selenium. Specify one of the // following: // // 1. seleniumServerJar - to start Selenium Standalone locally. // 2. seleniumAddress - to connect to a Selenium server which is already // running. // 3. sauceUser/sauceKey - to use remote Selenium servers via SauceLabs. // // If the chromeOnly option is specified, no Selenium server will be started, // and chromeDriver will be used directly (from the location specified in // chromeDriver) // The location of the selenium standalone server .jar file, relative // to the location of this config. If no other method of starting selenium // is found, this will default to // node_modules/protractor/selenium/selenium-server... seleniumServerJar: seleniumServerJar, // The port to start the selenium server on, or null if the server should // find its own unused port. seleniumPort: null, // Chromedriver location is used to help the selenium standalone server // find chromedriver. This will be passed to the selenium jar as // the system property webdriver.chrome.driver. If null, selenium will // attempt to find chromedriver using PATH. chromeDriver: './selenium/chromedriver', // If true, only chromedriver will be started, not a standalone selenium. // Tests for browsers other than chrome will not run. chromeOnly: false, // Additional command line options to pass to selenium. For example, // if you need to change the browser timeout, use // seleniumArgs: ['-browserTimeout=60'], seleniumArgs: [], // The address of a running selenium server. If specified, Protractor will // connect to an already running instance of selenium. This usually looks like // seleniumAddress: 'http://localhost:4444/wd/hub' seleniumAddress: null, // The timeout for each script run on the browser. This should be longer // than the maximum time your application needs to stabilize between tasks. allScriptsTimeout: 11000, // ----- What tests to run ----- // // Spec patterns are relative to the location of this config. specs: [ 'test/e2e/*-spec.js' ], // Patterns to exclude. exclude: [], // ----- Capabilities to be passed to the webdriver instance ---- // // For a full list of available capabilities, see // https://code.google.com/p/selenium/wiki/DesiredCapabilities and // https://code.google.com/p/selenium/source/browse/javascript/ // webdriver/capabilities.js capabilities: { 'browserName': 'chrome' }, // If you would like to run more than one instance of webdriver on the same // tests, use multiCapabilities, which takes an array of capabilities. // If this is specified, capabilities will be ignored. multiCapabilities: [], // ----- More information for your tests ---- // // A base URL for your application under test. Calls to protractor.get() // with relative paths will be prepended with this. //baseUrl: 'http://localhost:3000', baseUrl: 'http://localhost:3000', // Selector for the element housing the angular app - this defaults to // body, but is necessary if ng-app is on a descendant of <body> rootElement: 'body', // A callback function called once protractor is ready and available, and // before the specs are executed // You can specify a file containing code to run by setting onPrepare to // the filename string. onPrepare: function() { // At this point, global 'protractor' object will be set up, and jasmine // will be available. For example, you can add a Jasmine reporter with: // jasmine.getEnv().addReporter(new jasmine.JUnitXmlReporter( // 'outputdir/', true, true)); }, // ----- The test framework ----- // // Jasmine and Cucumber are fully supported as a test and assertion framework. // Mocha has limited beta support. You will need to include your own // assertion framework if working with mocha. framework: 'jasmine', // ----- Options to be passed to minijasminenode ----- // // See the full list at https://github.com/juliemr/minijasminenode jasmineNodeOpts: { // onComplete will be called just before the driver quits. onComplete: null, // If true, display spec names. isVerbose: false, // If true, print colors to the terminal. showColors: true, // If true, include stack traces in failures. includeStackTrace: true, // Default time to wait in ms before a test fails. defaultTimeoutInterval: 30000 } };
mvolkmann/angularjs-labs
collectbook/protractor.conf.js
JavaScript
mit
4,725
package com.wizzardo.servlet.war; import com.wizzardo.servlet.WarBuilder; import com.wizzardo.servlet.WarTest; import org.junit.Test; import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.util.Enumeration; /** * Created by wizzardo on 22.01.15. */ public class TestContextParams extends WarTest { @Override protected void customizeWar(WarBuilder builder) { servletPath = "/context"; builder.addClass(ContextParamServlet.class); builder.getWebXmlBuilder() .append(new WarBuilder.ServletMapping(ContextParamServlet.class).url(servletPath)) .param("foo", "bar") .param("key", "value"); } @Test public void testOk() throws IOException { test(request -> request.get().asString()); test(request -> request.param("param", "key").get().asString()); test(request -> request.param("param", "foo").get().asString()); } public static class ContextParamServlet extends HttpServlet { @Override protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { ServletContext context = req.getSession().getServletContext(); String param = req.getParameter("param"); if (param == null) { int i = 0; Enumeration<String> params = context.getInitParameterNames(); while (params.hasMoreElements()) { params.nextElement(); i++; } resp.getWriter().write("params: " + i); return; } resp.getWriter().write(param + ": " + context.getInitParameter(param)); } } }
wizzardo/http-servlet-api
src/test/java/com/wizzardo/servlet/war/TestContextParams.java
Java
mit
1,932
--- title: 国情咨文演讲 date: '2011-01-27' slug: the-state-of-the-union --- 奥巴马果然不是等闲之辈。大致看了看他昨天的国情咨文演讲,觉得这个人真的很有本事,太擅长演讲了。一个小时脱稿演讲,排比句用得哗啦啦如流水,故事一讲一个,大部分内容都具体而实际(至少听起来是那样),甚至都能细化到某个个人。天朝的讲话就不对比了,听着跟听测度论区别不大。 这次国庆咨文的视频有个显著特色,就是有很多统计图表,这与Tufte可能有千丝万缕的关系。
yihui/yihui.name
content/cn/2011-01-27-the-state-of-the-union.md
Markdown
mit
604
<?php class CookieController{ public static function UpdateCookies(){ global $_COOKIE, $_GET, $_POST; AddActionLog("UpdateCookies"); StartTimer("UpdateCookies"); //Determine if the user is in dark mode if(isset($_GET[GET_DARK_MODE])){ if($_GET[GET_DARK_MODE]){ setcookie(COOKIE_DARKMODE, 1, time() + (60 * 60 * 24 * 365)); $_COOKIE[COOKIE_DARKMODE] = 1; }else{ setcookie(COOKIE_DARKMODE, null, -1); unset($_COOKIE[COOKIE_DARKMODE]); } } //Update streaming cookie if(isset($_GET[GET_STREAMING_MODE])){ if($_GET[GET_STREAMING_MODE] == 1){ setcookie(COOKIE_STREAMING, 1, time() + (60 * 60 * 3)); //Streamer mode lasts for 3 hours $_COOKIE[COOKIE_STREAMING] = 1; }else{ setcookie(COOKIE_STREAMING, null, -1); unset($_COOKIE[COOKIE_STREAMING]); } } //Update cookie notification cookie if(isset($_POST[FORM_COOKIENOTICE_ACCEPT])){ setcookie(COOKIE_COOKIENOTICE, 1, time() + (60 * 60 * 24 * 365)); echo "<meta http-equiv='refresh' content='0'>"; } if((isset($_GET[GET_STREAMING_MODE]) || isset($_GET[GET_DARK_MODE])) && !isset($_COOKIE[COOKIE_COOKIENOTICE])){ setcookie(COOKIE_COOKIENOTICE, 0, time() + (60 * 60 * 24 * 365)); } StopTimer("UpdateCookies"); } } ?>
OneHourGameJam/OneHourGameJam
php/controllers/CookieController.php
PHP
mit
1,261
<section data-ng-controller="CommentsController" data-ng-init="findOne()"> <div class="page-header"> <h1>Edit Comment</h1> </div> <div class="col-md-12"> <form class="form-horizontal" data-ng-submit="update()" novalidate> <fieldset> <div class="form-group"> <label class="control-label" for="name">Comment</label> <div class="controls"> <input type="text" data-ng-model="comment.name" id="name" class="form-control" placeholder="Comment" required> </div> </div> <div class="form-group"> <input type="submit" value="Update" class="text-center btn btn-large btn-primary"> </div> <div data-ng-show="error" class="text-danger"> <strong data-ng-bind="error"></strong> </div> </fieldset> </form> </div> </section>
NevyV/MEANjs
public/modules/comments/views/edit-comment.client.view.html
HTML
mit
952
// // AppDelegate.h // PXCOCHelper // // Created by peixinchen on 15-4-18. // Copyright (c) 2015年 peixinchen. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
peixinchen/PXCOCHelper
PXCOCHelper/AppDelegate.h
C
mit
284
const path = require('path') const HtmlWebpackPlugin = require('html-webpack-plugin') module.exports = { context: path.resolve(__dirname, '../src'), entry: './index.js', output: { path: path.resolve(__dirname, '../dist'), filename: 'index.js' }, module: { rules: [ { test: /\.san$/, use: 'san-loader' }, { test: /\.js$/, use: 'babel-loader', exclude: /node_modules/ }, { test: /\.css$/, use: ['style-loader', 'css-loader'] }, { test: /\.(png|jpe?g|gif|svg)(\?.*)?$/, use: 'url-loader' }, { test: /\.(woff2?|eot|ttf)(\?.*)?$/, use: 'url-loader' } ] }, resolve: { alias: { '@': path.resolve(__dirname, '../src') } }, plugins: [ new HtmlWebpackPlugin({ template: path.resolve(__dirname, '../src/template.html') }) ] }
Dafrok/Sanrise
build/webpack.dev.config.js
JavaScript
mit
928
<?php namespace Guzzle\Http; use Guzzle\Common\Collection; use Guzzle\Http\QueryAggregator\DuplicateAggregator; use Guzzle\Http\QueryAggregator\QueryAggregatorInterface; use Guzzle\Http\QueryAggregator\PhpAggregator; /** * Query string object to handle managing query string parameters and aggregating those parameters together as a string. */ class QueryString extends Collection { /** @var string Used to URL encode with rawurlencode */ const RFC_3986 = 'RFC 3986'; /** @var string Used to encode with urlencode */ const FORM_URLENCODED = 'application/x-www-form-urlencoded'; /** @var string Constant used to create blank query string values (e.g. ?foo) */ const BLANK = "_guzzle_blank_"; /** @var string The query string field separator (e.g. '&') */ protected $fieldSeparator = '&'; /** @var string The query string value separator (e.g. '=') */ protected $valueSeparator = '='; /** @var bool URL encode fields and values */ protected $urlEncode = 'RFC 3986'; /** @var QueryAggregatorInterface */ protected $aggregator; /** @var array Cached PHP aggregator */ private static $defaultAggregator = null; /** * Parse a query string into a QueryString object * * @param string $query Query string to parse * * @return self */ public static function fromString($query) { $q = new static(); if ($query === '') { return $q; } $foundDuplicates = $foundPhpStyle = false; foreach (explode('&', $query) as $kvp) { $parts = explode('=', $kvp, 2); $key = rawurldecode($parts[0]); if ($paramIsPhpStyleArray = substr($key, -2) == '[]') { $foundPhpStyle = true; $key = substr($key, 0, -2); } if (isset($parts[1])) { $value = rawurldecode(str_replace('+', '%20', $parts[1])); if (isset($q[$key])) { $q->add($key, $value); $foundDuplicates = true; } elseif ($paramIsPhpStyleArray) { $q[$key] = array($value); } else { $q[$key] = $value; } } else { $q->add($key, self::BLANK); } } // Use the duplicate aggregator if duplicates were found and not using PHP style arrays if ($foundDuplicates && !$foundPhpStyle) { $q->setAggregator(new DuplicateAggregator()); } return $q; } /** * Convert the query string parameters to a query string string * * @return string */ public function __toString() { if (!$this->data) { return ''; } $queryString = ''; foreach ($this->prepareData($this->data) as $name => $value) { foreach ((array) $value as $v) { if ($queryString) { $queryString .= $this->fieldSeparator; } $queryString .= $name; if ($v !== self::BLANK) { $queryString .= $this->valueSeparator . $v; } } } return $queryString; } /** * Get the query string field separator * * @return string */ public function getFieldSeparator() { return $this->fieldSeparator; } /** * Get the query string value separator * * @return string */ public function getValueSeparator() { return $this->valueSeparator; } /** * Returns the type of URL encoding used by the query string * * One of: false, "RFC 3986", or "application/x-www-form-urlencoded" * * @return bool|string */ public function getUrlEncoding() { return $this->urlEncode; } /** * Returns true or false if using URL encoding * * @return bool */ public function isUrlEncoding() { return $this->urlEncode !== false; } /** * Provide a function for combining multi-valued query string parameters into a single or multiple fields * * @param null|QueryAggregatorInterface $aggregator Pass in a QueryAggregatorInterface object to handle converting * deeply nested query string variables into a flattened array. * Pass null to use the default PHP style aggregator. For legacy * reasons, this function accepts a callable that must accepts a * $key, $value, and query object. * @return self * @see \Guzzle\Http\QueryString::aggregateUsingComma() */ public function setAggregator(QueryAggregatorInterface $aggregator = null) { // Use the default aggregator if none was set if (!$aggregator) { if (!self::$defaultAggregator) { self::$defaultAggregator = new PhpAggregator(); } $aggregator = self::$defaultAggregator; } $this->aggregator = $aggregator; return $this; } /** * Set whether or not field names and values should be rawurlencoded * * @param bool|string $encode Set to TRUE to use RFC 3986 encoding (rawurlencode), false to disable encoding, or * form_urlencoding to use application/x-www-form-urlencoded encoding (urlencode) * @return self */ public function useUrlEncoding($encode) { $this->urlEncode = ($encode === true) ? self::RFC_3986 : $encode; return $this; } /** * Set the query string separator * * @param string $separator The query string separator that will separate fields * * @return self */ public function setFieldSeparator($separator) { $this->fieldSeparator = $separator; return $this; } /** * Set the query string value separator * * @param string $separator The query string separator that will separate values from fields * * @return self */ public function setValueSeparator($separator) { $this->valueSeparator = $separator; return $this; } /** * Returns an array of url encoded field names and values * * @return array */ public function urlEncode() { return $this->prepareData($this->data); } /** * URL encodes a value based on the url encoding type of the query string object * * @param string $value Value to encode * * @return string */ public function encodeValue($value) { if (is_null($value)) { $value = ''; } if ($this->urlEncode == self::RFC_3986) { return rawurlencode($value); } elseif ($this->urlEncode == self::FORM_URLENCODED) { return urlencode($value); } else { return (string) $value; } } /** * Url encode parameter data and convert nested query strings into a flattened hash. * * @param array $data The data to encode * * @return array Returns an array of encoded values and keys */ protected function prepareData(array $data) { // If no aggregator is present then set the default if (!$this->aggregator) { $this->setAggregator(null); } $temp = array(); foreach ($data as $key => $value) { if (is_array($value)) { $temp = array_merge($temp, $this->aggregator->aggregate($key, $value, $this)); } else { $temp[$this->encodeValue($key)] = $this->encodeValue($value); } } return $temp; } }
wulftone/guzzle
src/Guzzle/Http/QueryString.php
PHP
mit
7,959
var install = function () { var step = $('body').find('[data-step]').first(); var progress = $('.progress'); var label = $('#label'); label.text(step.data('step')); $.ajax({ url: step.data('action'), success: function () { step.remove(); if ($('body').find('[data-step]').length) { progress.attr('value', step.data('progress')); install(); } else { progress.attr('value', '100'); label.text('Almost done...'); window.location = APPLICATION_URL + '/installer/finish' } }, error: function () { progress.addClass('progress-danger'); label.addClass('text-danger').text('There was an error. Please check your error logs.'); } }); }; $(document).ready(function () { install(); }); ;
mattyws/thalestomb
app/thales/assets/core/anomaly/installer-module/resources/js/install.js
JavaScript
mit
907
<?php /** * (c) shopware AG <info@shopware.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Shopware\Install\Services; use ShopwareCli\Services\IoService; /** * The config writer is responsible for writing build.properties and config.php configuration files */ class ConfigWriter { protected $configTemplate = <<<EOF <?php return array( 'db' => array( 'username' => '%s', 'password' => '%s', 'dbname' => '%s', 'host' => '%s', 'port' => '%s' ) ); EOF; protected $buildPropertiesTemplate = <<<EOF app.host = %s app.path = %s db.name = %s db.host = %s db.user = %s db.password = %s db.port = %s EOF; /** * @var IoService */ private $ioService; public function __construct(IoService $ioService) { $this->ioService = $ioService; } public function writeConfigPhp($installDir, $user, $password, $name, $host, $port = 3306): void { $this->ioService->writeln('<info>Writing config.php</info>'); $config = sprintf($this->configTemplate, $user, $password, $name, $host, $port); file_put_contents($installDir . '/config.php', $config); } public function writeBuildProperties($installDir, $shopHost, $shopPath, $dbUser, $dbPassword, $dbName, $dbHost, $port = 3306): void { $this->ioService->writeln('<info>Writing build.properties</info>'); $shopPath = '/' . ltrim($shopPath, '/'); $config = sprintf($this->buildPropertiesTemplate, $shopHost, $shopPath, $dbName, $dbHost, $dbUser, $dbPassword, $port); file_put_contents($installDir . '/build/build.properties', $config); } }
mitelg/sw-cli-tools
src/Extensions/Shopware/Install/Services/ConfigWriter.php
PHP
mit
1,754
export { KeyValueCache } from './KeyValueCache'; export { InMemoryLRUCache } from './InMemoryLRUCache';
AntonyThorpe/knockout-apollo
tests/node_modules/apollo-server-caching/src/index.ts
TypeScript
mit
104
fn main() { br###<caret> }
ujpv/intellij-rust
src/test/resources/org/rust/ide/typing/quoteHandler/fixtures/complete_byte_raw_string_quotes.rs
Rust
mit
31
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>User agent detail - LGE/U8150</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css"> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> <link href="../circle.css" rel="stylesheet"> </head> <body> <div class="container"> <div class="section"> <h1 class="header center orange-text">User agent detail</h1> <div class="row center"> <h5 class="header light"> LGE/U8150 </h5> </div> </div> <div class="section"> <table class="striped"><tr><th></th><th colspan="3">General</th><th colspan="5">Device</th><th colspan="3">Bot</th><th colspan="2"></th></tr><tr><th>Provider</th><th>Browser</th><th>Engine</th><th>OS</th><th>Brand</th><th>Model</th><th>Type</th><th>Is mobile</th><th>Is touch</th><th>Is bot</th><th>Name</th><th>Type</th><th>Parse time</th><th>Actions</th></tr><tr><th colspan="14" class="green lighten-3">Test suite</th></tr><tr><td>UAParser<br /><small>v0.5.0.2</small><br /><small>vendor/thadafinser/uap-core/tests/test_device.yaml</small></td><td> </td><td><i class="material-icons">close</i></td><td> </td><td style="border-left: 1px solid #555">LG</td><td>U8150</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-cfed3005-df48-4fa8-bf03-4f6ef8988f59">Detail</a> <!-- Modal Structure --> <div id="modal-cfed3005-df48-4fa8-bf03-4f6ef8988f59" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>UAParser result detail</h4> <p><pre><code class="php">Array ( [user_agent_string] => LGE/U8150 [family] => LG U8150 [brand] => LG [model] => U8150 ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><th colspan="14" class="green lighten-3">Providers</th></tr><tr><td>BrowscapFull<br /><small>6014</small><br /></td><td>LG </td><td> </td><td>JAVA </td><td style="border-left: 1px solid #555"></td><td></td><td>Mobile Phone</td><td>yes</td><td></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.005</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-47a9cd06-e213-4882-bc34-db6aed664223">Detail</a> <!-- Modal Structure --> <div id="modal-47a9cd06-e213-4882-bc34-db6aed664223" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>BrowscapFull result detail</h4> <p><pre><code class="php">stdClass Object ( [browser_name_regex] => /^lge\/u8150.*$/ [browser_name_pattern] => lge/u8150* [parent] => LG [comment] => LG [browser] => LG [browser_type] => Browser [browser_bits] => 32 [browser_maker] => unknown [browser_modus] => unknown [version] => 0.0 [majorver] => 0 [minorver] => 0 [platform] => JAVA [platform_version] => unknown [platform_description] => unknown [platform_bits] => 32 [platform_maker] => Oracle [alpha] => [beta] => [win16] => [win32] => [win64] => [frames] => [iframes] => [tables] => [cookies] => [backgroundsounds] => [javascript] => [vbscript] => [javaapplets] => [activexcontrols] => [ismobiledevice] => 1 [istablet] => [issyndicationreader] => [crawler] => [isfake] => [isanonymized] => [ismodified] => [cssversion] => 2 [aolversion] => 0 [device_name] => general Mobile Phone [device_maker] => unknown [device_type] => Mobile Phone [device_pointing_method] => unknown [device_code_name] => general Mobile Phone [device_brand_name] => unknown [renderingengine_name] => unknown [renderingengine_version] => unknown [renderingengine_description] => unknown [renderingengine_maker] => unknown ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>BrowscapLite<br /><small>6014</small><br /></td> <td colspan="12" class="center-align red lighten-1"> <strong>No result found</strong> </td> </tr><tr><td>BrowscapPhp<br /><small>6014</small><br /></td><td>LG </td><td><i class="material-icons">close</i></td><td>JAVA </td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>Mobile Phone</td><td>yes</td><td></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.01</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-ad0041a2-b0f4-43f6-a70d-cad1443caa68">Detail</a> <!-- Modal Structure --> <div id="modal-ad0041a2-b0f4-43f6-a70d-cad1443caa68" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>BrowscapPhp result detail</h4> <p><pre><code class="php">stdClass Object ( [browser_name_regex] => /^lge\/u8150.*$/ [browser_name_pattern] => lge/u8150* [parent] => LG [comment] => LG [browser] => LG [browser_type] => unknown [browser_bits] => 0 [browser_maker] => unknown [browser_modus] => unknown [version] => 0.0 [majorver] => 0 [minorver] => 0 [platform] => JAVA [platform_version] => unknown [platform_description] => unknown [platform_bits] => 0 [platform_maker] => unknown [alpha] => false [beta] => false [win16] => false [win32] => false [win64] => false [frames] => false [iframes] => false [tables] => false [cookies] => false [backgroundsounds] => false [javascript] => false [vbscript] => false [javaapplets] => false [activexcontrols] => false [ismobiledevice] => 1 [istablet] => [issyndicationreader] => false [crawler] => [isfake] => false [isanonymized] => false [ismodified] => false [cssversion] => 0 [aolversion] => 0 [device_name] => unknown [device_maker] => unknown [device_type] => Mobile Phone [device_pointing_method] => unknown [device_code_name] => unknown [device_brand_name] => unknown [renderingengine_name] => unknown [renderingengine_version] => unknown [renderingengine_description] => unknown [renderingengine_maker] => unknown ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>DonatjUAParser<br /><small>v0.5.1</small><br /></td><td>LGE U8150</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-15fbc1f0-2615-4d42-b5d9-a30dd647b050">Detail</a> <!-- Modal Structure --> <div id="modal-15fbc1f0-2615-4d42-b5d9-a30dd647b050" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>DonatjUAParser result detail</h4> <p><pre><code class="php">Array ( [platform] => [browser] => LGE [version] => U8150 ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>JenssegersAgent<br /><small>v2.3.3</small><br /></td> <td colspan="12" class="center-align red lighten-1"> <strong>No result found</strong> </td> </tr><tr><td>NeutrinoApiCom<br /><small></small><br /></td><td> </td><td><i class="material-icons">close</i></td><td> </td><td style="border-left: 1px solid #555">LG</td><td>U8150</td><td>mobile-browser</td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.22601</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-8c2a7a4e-3fbf-4df2-8d61-5e730422f67b">Detail</a> <!-- Modal Structure --> <div id="modal-8c2a7a4e-3fbf-4df2-8d61-5e730422f67b" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>NeutrinoApiCom result detail</h4> <p><pre><code class="php">stdClass Object ( [mobile_screen_height] => 0 [is_mobile] => 1 [type] => mobile-browser [mobile_brand] => LG [mobile_model] => U8150 [version] => [is_android] => [browser_name] => unknown [operating_system_family] => unknown [operating_system_version] => [is_ios] => [producer] => LG [operating_system] => unknown [mobile_screen_width] => 0 [mobile_browser] => ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>PiwikDeviceDetector<br /><small>3.6.1</small><br /></td><td> </td><td> </td><td> </td><td style="border-left: 1px solid #555">LG</td><td>E</td><td>smartphone</td><td>yes</td><td></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.006</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-4a941d34-a8d3-4914-9724-346f60ad7046">Detail</a> <!-- Modal Structure --> <div id="modal-4a941d34-a8d3-4914-9724-346f60ad7046" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>PiwikDeviceDetector result detail</h4> <p><pre><code class="php">Array ( [client] => [operatingSystem] => Array ( ) [device] => Array ( [brand] => LG [brandName] => LG [model] => E [device] => 1 [deviceName] => smartphone ) [bot] => [extra] => Array ( [isBot] => [isBrowser] => [isFeedReader] => [isMobileApp] => [isPIM] => [isLibrary] => [isMediaPlayer] => [isCamera] => [isCarBrowser] => [isConsole] => [isFeaturePhone] => [isPhablet] => [isPortableMediaPlayer] => [isSmartDisplay] => [isSmartphone] => 1 [isTablet] => [isTV] => [isDesktop] => [isMobile] => 1 [isTouchEnabled] => ) ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>SinergiBrowserDetector<br /><small>6.0.1</small><br /></td> <td colspan="12" class="center-align red lighten-1"> <strong>No result found</strong> </td> </tr><tr><td>UAParser<br /><small>v3.4.5</small><br /></td><td> </td><td><i class="material-icons">close</i></td><td> </td><td style="border-left: 1px solid #555">LG</td><td>U8150</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.006</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-3160e405-8a8f-46dd-8f47-5115f06462d2">Detail</a> <!-- Modal Structure --> <div id="modal-3160e405-8a8f-46dd-8f47-5115f06462d2" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>UAParser result detail</h4> <p><pre><code class="php">UAParser\Result\Client Object ( [ua] => UAParser\Result\UserAgent Object ( [major] => [minor] => [patch] => [family] => Other ) [os] => UAParser\Result\OperatingSystem Object ( [major] => [minor] => [patch] => [patchMinor] => [family] => Other ) [device] => UAParser\Result\Device Object ( [brand] => LG [model] => U8150 [family] => LG U8150 ) [originalUserAgent] => LGE/U8150 ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>UserAgentApiCom<br /><small></small><br /></td> <td colspan="12" class="center-align red lighten-1"> <strong>No result found</strong> </td> </tr><tr><td>UserAgentStringCom<br /><small></small><br /></td> <td colspan="12" class="center-align red lighten-1"> <strong>No result found</strong> </td> </tr><tr><td>WhatIsMyBrowserCom<br /><small></small><br /></td> <td colspan="12" class="center-align red lighten-1"> <strong>No result found</strong> </td> </tr><tr><td>WhichBrowser<br /><small>v2.0.18</small><br /></td><td> </td><td> </td><td> </td><td style="border-left: 1px solid #555">LG</td><td>U8150</td><td>mobile:feature</td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.002</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-083a336f-5d73-4505-84f3-c5fc9bb78652">Detail</a> <!-- Modal Structure --> <div id="modal-083a336f-5d73-4505-84f3-c5fc9bb78652" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>WhichBrowser result detail</h4> <p><pre><code class="php">Array ( [device] => Array ( [type] => mobile [subtype] => feature [manufacturer] => LG [model] => U8150 ) ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>Woothee<br /><small>v1.2.0</small><br /></td> <td colspan="12" class="center-align red lighten-1"> <strong>No result found</strong> </td> </tr><tr><td>Wurfl<br /><small>1.7.1.0</small><br /></td><td> </td><td><i class="material-icons">close</i></td><td> </td><td style="border-left: 1px solid #555">LG</td><td>U8150</td><td>Feature Phone</td><td>yes</td><td></td><td style="border-left: 1px solid #555"></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0.019</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-a2bedf8c-4a95-42a7-96c5-aaf233b2ac50">Detail</a> <!-- Modal Structure --> <div id="modal-a2bedf8c-4a95-42a7-96c5-aaf233b2ac50" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>Wurfl result detail</h4> <p><pre><code class="php">Array ( [virtual] => Array ( [is_android] => false [is_ios] => false [is_windows_phone] => false [is_app] => false [is_full_desktop] => false [is_largescreen] => false [is_mobile] => true [is_robot] => false [is_smartphone] => false [is_touchscreen] => false [is_wml_preferred] => false [is_xhtmlmp_preferred] => true [is_html_preferred] => false [advertised_device_os] => [advertised_device_os_version] => [advertised_browser] => [advertised_browser_version] => [complete_device_name] => LG U8150 [device_name] => LG U8150 [form_factor] => Feature Phone [is_phone] => true [is_app_webview] => false ) [all] => Array ( [brand_name] => LG [model_name] => U8150 [unique] => true [ununiqueness_handler] => [is_wireless_device] => true [device_claims_web_support] => false [has_qwerty_keyboard] => false [can_skip_aligned_link_row] => true [uaprof] => http://fr.lge.com/gsm/LG-U8150.xml [uaprof2] => [uaprof3] => [nokia_series] => 0 [nokia_edition] => 0 [device_os] => [mobile_browser] => [mobile_browser_version] => [device_os_version] => [pointing_method] => [release_date] => 2002_july [marketing_name] => [model_extra_info] => [nokia_feature_pack] => 0 [can_assign_phone_number] => true [is_tablet] => false [manufacturer_name] => [is_bot] => false [is_google_glass] => false [proportional_font] => false [built_in_back_button_support] => false [card_title_support] => true [softkey_support] => true [table_support] => true [numbered_menus] => false [menu_with_select_element_recommended] => false [menu_with_list_of_links_recommended] => true [icons_on_menu_items_support] => false [break_list_of_links_with_br_element_recommended] => true [access_key_support] => false [wrap_mode_support] => false [times_square_mode_support] => false [deck_prefetch_support] => false [elective_forms_recommended] => true [wizards_recommended] => false [image_as_link_support] => false [insert_br_element_after_widget_recommended] => false [wml_can_display_images_and_text_on_same_line] => false [wml_displays_image_in_center] => false [opwv_wml_extensions_support] => false [wml_make_phone_call_string] => wtai://wp/mc; [chtml_display_accesskey] => false [emoji] => false [chtml_can_display_images_and_text_on_same_line] => false [chtml_displays_image_in_center] => false [imode_region] => none [chtml_make_phone_call_string] => tel: [chtml_table_support] => false [xhtml_honors_bgcolor] => false [xhtml_supports_forms_in_table] => false [xhtml_support_wml2_namespace] => false [xhtml_autoexpand_select] => false [xhtml_select_as_dropdown] => false [xhtml_select_as_radiobutton] => false [xhtml_select_as_popup] => false [xhtml_display_accesskey] => false [xhtml_supports_invisible_text] => false [xhtml_supports_inline_input] => false [xhtml_supports_monospace_font] => false [xhtml_supports_table_for_layout] => false [xhtml_supports_css_cell_table_coloring] => false [xhtml_format_as_css_property] => true [xhtml_format_as_attribute] => false [xhtml_nowrap_mode] => false [xhtml_marquee_as_css_property] => false [xhtml_readable_background_color1] => #FFFFFF [xhtml_readable_background_color2] => #FFFFFF [xhtml_allows_disabled_form_elements] => false [xhtml_document_title_support] => true [xhtml_preferred_charset] => utf8 [opwv_xhtml_extensions_support] => false [xhtml_make_phone_call_string] => tel: [xhtmlmp_preferred_mime_type] => application/vnd.wap.xhtml+xml [xhtml_table_support] => true [xhtml_send_sms_string] => none [xhtml_send_mms_string] => none [xhtml_file_upload] => not_supported [cookie_support] => true [accept_third_party_cookie] => true [xhtml_supports_iframe] => none [xhtml_avoid_accesskeys] => false [xhtml_can_embed_video] => none [ajax_support_javascript] => false [ajax_manipulate_css] => false [ajax_support_getelementbyid] => false [ajax_support_inner_html] => false [ajax_xhr_type] => none [ajax_manipulate_dom] => false [ajax_support_events] => false [ajax_support_event_listener] => false [ajax_preferred_geoloc_api] => none [xhtml_support_level] => 1 [preferred_markup] => html_wi_oma_xhtmlmp_1_0 [wml_1_1] => true [wml_1_2] => true [wml_1_3] => true [html_wi_w3_xhtmlbasic] => true [html_wi_oma_xhtmlmp_1_0] => true [html_wi_imode_html_1] => false [html_wi_imode_html_2] => false [html_wi_imode_html_3] => false [html_wi_imode_html_4] => false [html_wi_imode_html_5] => false [html_wi_imode_htmlx_1] => false [html_wi_imode_htmlx_1_1] => false [html_wi_imode_compact_generic] => false [html_web_3_2] => false [html_web_4_0] => false [voicexml] => false [multipart_support] => true [total_cache_disable_support] => false [time_to_live_support] => false [resolution_width] => 176 [resolution_height] => 220 [columns] => 25 [max_image_width] => 166 [max_image_height] => 180 [rows] => 15 [physical_screen_width] => 27 [physical_screen_height] => 27 [dual_orientation] => false [density_class] => 1.0 [wbmp] => true [bmp] => true [epoc_bmp] => false [gif_animated] => true [jpg] => true [png] => true [tiff] => false [transparent_png_alpha] => false [transparent_png_index] => false [svgt_1_1] => false [svgt_1_1_plus] => false [greyscale] => false [gif] => true [colors] => 65536 [webp_lossy_support] => false [webp_lossless_support] => false [post_method_support] => true [basic_authentication_support] => true [empty_option_value_support] => true [emptyok] => false [nokia_voice_call] => true [wta_voice_call] => false [wta_phonebook] => true [wta_misc] => false [wta_pdc] => false [https_support] => true [phone_id_provided] => false [max_data_rate] => 40 [wifi] => false [sdio] => false [vpn] => false [has_cellular_radio] => true [max_deck_size] => 1048576 [max_url_length_in_requests] => 256 [max_url_length_homepage] => 0 [max_url_length_bookmark] => 0 [max_url_length_cached_page] => 0 [max_no_of_connection_settings] => 0 [max_no_of_bookmarks] => 0 [max_length_of_username] => 0 [max_length_of_password] => 0 [max_object_size] => 0 [downloadfun_support] => false [directdownload_support] => false [inline_support] => false [oma_support] => false [ringtone] => false [ringtone_3gpp] => false [ringtone_midi_monophonic] => true [ringtone_midi_polyphonic] => true [ringtone_imelody] => true [ringtone_digiplug] => false [ringtone_compactmidi] => false [ringtone_mmf] => false [ringtone_rmf] => false [ringtone_xmf] => false [ringtone_amr] => true [ringtone_awb] => false [ringtone_aac] => false [ringtone_wav] => true [ringtone_mp3] => true [ringtone_spmidi] => false [ringtone_qcelp] => false [ringtone_voices] => 64 [ringtone_df_size_limit] => 0 [ringtone_directdownload_size_limit] => 0 [ringtone_inline_size_limit] => 0 [ringtone_oma_size_limit] => 0 [wallpaper] => false [wallpaper_max_width] => 0 [wallpaper_max_height] => 0 [wallpaper_preferred_width] => 176 [wallpaper_preferred_height] => 220 [wallpaper_resize] => none [wallpaper_wbmp] => false [wallpaper_bmp] => false [wallpaper_gif] => true [wallpaper_jpg] => true [wallpaper_png] => true [wallpaper_tiff] => false [wallpaper_greyscale] => false [wallpaper_colors] => 16 [wallpaper_df_size_limit] => 0 [wallpaper_directdownload_size_limit] => 0 [wallpaper_inline_size_limit] => 0 [wallpaper_oma_size_limit] => 0 [screensaver] => false [screensaver_max_width] => 0 [screensaver_max_height] => 0 [screensaver_preferred_width] => 0 [screensaver_preferred_height] => 0 [screensaver_resize] => none [screensaver_wbmp] => false [screensaver_bmp] => false [screensaver_gif] => false [screensaver_jpg] => false [screensaver_png] => false [screensaver_greyscale] => false [screensaver_colors] => 2 [screensaver_df_size_limit] => 0 [screensaver_directdownload_size_limit] => 0 [screensaver_inline_size_limit] => 0 [screensaver_oma_size_limit] => 0 [picture] => false [picture_max_width] => 0 [picture_max_height] => 0 [picture_preferred_width] => 0 [picture_preferred_height] => 0 [picture_resize] => none [picture_wbmp] => false [picture_bmp] => false [picture_gif] => false [picture_jpg] => false [picture_png] => false [picture_greyscale] => false [picture_colors] => 2 [picture_df_size_limit] => 0 [picture_directdownload_size_limit] => 0 [picture_inline_size_limit] => 0 [picture_oma_size_limit] => 0 [video] => true [oma_v_1_0_forwardlock] => false [oma_v_1_0_combined_delivery] => false [oma_v_1_0_separate_delivery] => false [streaming_video] => false [streaming_3gpp] => true [streaming_mp4] => false [streaming_mov] => false [streaming_video_size_limit] => 0 [streaming_real_media] => none [streaming_flv] => false [streaming_3g2] => false [streaming_vcodec_h263_0] => -1 [streaming_vcodec_h263_3] => -1 [streaming_vcodec_mpeg4_sp] => -1 [streaming_vcodec_mpeg4_asp] => -1 [streaming_vcodec_h264_bp] => -1 [streaming_acodec_amr] => none [streaming_acodec_aac] => none [streaming_wmv] => none [streaming_preferred_protocol] => rtsp [streaming_preferred_http_protocol] => none [wap_push_support] => false [connectionless_service_indication] => false [connectionless_service_load] => false [connectionless_cache_operation] => true [connectionoriented_unconfirmed_service_indication] => false [connectionoriented_unconfirmed_service_load] => false [connectionoriented_unconfirmed_cache_operation] => true [connectionoriented_confirmed_service_indication] => true [connectionoriented_confirmed_service_load] => true [connectionoriented_confirmed_cache_operation] => true [utf8_support] => false [ascii_support] => false [iso8859_support] => false [expiration_date] => false [j2me_cldc_1_0] => true [j2me_cldc_1_1] => false [j2me_midp_1_0] => true [j2me_midp_2_0] => true [doja_1_0] => false [doja_1_5] => false [doja_2_0] => false [doja_2_1] => false [doja_2_2] => false [doja_3_0] => false [doja_3_5] => false [doja_4_0] => false [j2me_jtwi] => false [j2me_mmapi_1_0] => false [j2me_mmapi_1_1] => false [j2me_wmapi_1_0] => false [j2me_wmapi_1_1] => false [j2me_wmapi_2_0] => false [j2me_btapi] => false [j2me_3dapi] => false [j2me_locapi] => false [j2me_nokia_ui] => false [j2me_motorola_lwt] => false [j2me_siemens_color_game] => false [j2me_siemens_extension] => false [j2me_heap_size] => 0 [j2me_max_jar_size] => 0 [j2me_storage_size] => 0 [j2me_max_record_store_size] => 0 [j2me_screen_width] => 0 [j2me_screen_height] => 0 [j2me_canvas_width] => 0 [j2me_canvas_height] => 0 [j2me_bits_per_pixel] => 0 [j2me_audio_capture_enabled] => false [j2me_video_capture_enabled] => false [j2me_photo_capture_enabled] => false [j2me_capture_image_formats] => none [j2me_http] => false [j2me_https] => false [j2me_socket] => false [j2me_udp] => false [j2me_serial] => false [j2me_gif] => false [j2me_gif89a] => false [j2me_jpg] => false [j2me_png] => false [j2me_bmp] => false [j2me_bmp3] => false [j2me_wbmp] => false [j2me_midi] => false [j2me_wav] => false [j2me_amr] => false [j2me_mp3] => false [j2me_mp4] => false [j2me_imelody] => false [j2me_rmf] => false [j2me_au] => false [j2me_aac] => false [j2me_realaudio] => false [j2me_xmf] => false [j2me_wma] => false [j2me_3gpp] => false [j2me_h263] => false [j2me_svgt] => false [j2me_mpeg4] => false [j2me_realvideo] => false [j2me_real8] => false [j2me_realmedia] => false [j2me_left_softkey_code] => 0 [j2me_right_softkey_code] => 0 [j2me_middle_softkey_code] => 0 [j2me_select_key_code] => 0 [j2me_return_key_code] => 0 [j2me_clear_key_code] => 0 [j2me_datefield_no_accepts_null_date] => false [j2me_datefield_broken] => false [receiver] => true [sender] => true [mms_max_size] => 300000 [mms_max_height] => 220 [mms_max_width] => 176 [built_in_recorder] => false [built_in_camera] => false [mms_jpeg_baseline] => true [mms_jpeg_progressive] => false [mms_gif_static] => true [mms_gif_animated] => false [mms_png] => true [mms_bmp] => true [mms_wbmp] => true [mms_amr] => true [mms_wav] => true [mms_midi_monophonic] => true [mms_midi_polyphonic] => false [mms_midi_polyphonic_voices] => 0 [mms_spmidi] => false [mms_mmf] => false [mms_mp3] => true [mms_evrc] => false [mms_qcelp] => false [mms_ota_bitmap] => false [mms_nokia_wallpaper] => false [mms_nokia_operatorlogo] => false [mms_nokia_3dscreensaver] => false [mms_nokia_ringingtone] => false [mms_rmf] => false [mms_xmf] => false [mms_symbian_install] => false [mms_jar] => false [mms_jad] => false [mms_vcard] => true [mms_vcalendar] => false [mms_wml] => false [mms_wbxml] => false [mms_wmlc] => false [mms_video] => false [mms_mp4] => false [mms_3gpp] => false [mms_3gpp2] => false [mms_max_frame_rate] => 0 [nokiaring] => false [picturemessage] => false [operatorlogo] => false [largeoperatorlogo] => false [callericon] => false [nokiavcard] => false [nokiavcal] => false [sckl_ringtone] => false [sckl_operatorlogo] => false [sckl_groupgraphic] => false [sckl_vcard] => false [sckl_vcalendar] => false [text_imelody] => false [ems] => true [ems_variablesizedpictures] => false [ems_imelody] => false [ems_odi] => false [ems_upi] => false [ems_version] => 0 [siemens_ota] => false [siemens_logo_width] => 101 [siemens_logo_height] => 29 [siemens_screensaver_width] => 101 [siemens_screensaver_height] => 50 [gprtf] => false [sagem_v1] => false [sagem_v2] => false [panasonic] => false [sms_enabled] => true [wav] => true [mmf] => false [smf] => false [mld] => false [midi_monophonic] => true [midi_polyphonic] => true [sp_midi] => false [rmf] => false [xmf] => false [compactmidi] => false [digiplug] => false [nokia_ringtone] => false [imelody] => true [au] => false [amr] => false [awb] => false [aac] => false [mp3] => true [voices] => 1 [qcelp] => false [evrc] => false [flash_lite_version] => [fl_wallpaper] => false [fl_screensaver] => false [fl_standalone] => false [fl_browser] => false [fl_sub_lcd] => false [full_flash_support] => false [css_supports_width_as_percentage] => true [css_border_image] => none [css_rounded_corners] => none [css_gradient] => none [css_spriting] => false [css_gradient_linear] => none [is_transcoder] => false [transcoder_ua_header] => user-agent [rss_support] => false [pdf_support] => false [progressive_download] => false [playback_vcodec_h263_0] => 10 [playback_vcodec_h263_3] => -1 [playback_vcodec_mpeg4_sp] => 0 [playback_vcodec_mpeg4_asp] => -1 [playback_vcodec_h264_bp] => -1 [playback_real_media] => none [playback_3gpp] => true [playback_3g2] => false [playback_mp4] => false [playback_mov] => false [playback_acodec_amr] => nb [playback_acodec_aac] => lc [playback_df_size_limit] => 0 [playback_directdownload_size_limit] => 0 [playback_inline_size_limit] => 0 [playback_oma_size_limit] => 0 [playback_acodec_qcelp] => false [playback_wmv] => none [hinted_progressive_download] => false [html_preferred_dtd] => xhtml_mp1 [viewport_supported] => false [viewport_width] => [viewport_userscalable] => [viewport_initial_scale] => [viewport_maximum_scale] => [viewport_minimum_scale] => [mobileoptimized] => false [handheldfriendly] => false [canvas_support] => none [image_inlining] => false [is_smarttv] => false [is_console] => false [nfc_support] => false [ux_full_desktop] => false [jqm_grade] => none [is_sencha_touch_ok] => false ) ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>Zsxsoft<br /><small>1.3</small><br /></td><td> </td><td><i class="material-icons">close</i></td><td> </td><td style="border-left: 1px solid #555">LG</td><td>U8150</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-5d43e024-b46c-44f6-8914-529b05569bc2">Detail</a> <!-- Modal Structure --> <div id="modal-5d43e024-b46c-44f6-8914-529b05569bc2" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>Zsxsoft result detail</h4> <p><pre><code class="php">Array ( [browser] => Array ( [link] => # [title] => Unknown [name] => Unknown [version] => [code] => null [image] => img/16/browser/null.png ) [os] => Array ( [link] => [name] => [version] => [code] => null [x64] => [title] => [type] => os [dir] => os [image] => img/16/os/null.png ) [device] => Array ( [link] => http://www.lgmobile.com [title] => LG U8150 [model] => U8150 [brand] => LG [code] => lg [dir] => device [type] => device [image] => img/16/device/lg.png ) [platform] => Array ( [link] => http://www.lgmobile.com [title] => LG U8150 [model] => U8150 [brand] => LG [code] => lg [dir] => device [type] => device [image] => img/16/device/lg.png ) ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr></table> </div> <div class="section"> <h1 class="header center orange-text">About this comparison</h1> <div class="row center"> <h5 class="header light"> The primary goal of this project is simple<br /> I wanted to know which user agent parser is the most accurate in each part - device detection, bot detection and so on...<br /> <br /> The secondary goal is to provide a source for all user agent parsers to improve their detection based on this results.<br /> <br /> You can also improve this further, by suggesting ideas at <a href="https://github.com/ThaDafinser/UserAgentParserComparison">ThaDafinser/UserAgentParserComparison</a><br /> <br /> The comparison is based on the abstraction by <a href="https://github.com/ThaDafinser/UserAgentParser">ThaDafinser/UserAgentParser</a> </h5> </div> </div> <div class="card"> <div class="card-content"> Comparison created <i>2016-05-10 07:55:59</i> | by <a href="https://github.com/ThaDafinser">ThaDafinser</a> </div> </div> </div> <script src="https://code.jquery.com/jquery-2.1.4.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/js/materialize.min.js"></script> <script src="http://cdnjs.cloudflare.com/ajax/libs/list.js/1.2.0/list.min.js"></script> <script> $(document).ready(function(){ // the "href" attribute of .modal-trigger must specify the modal ID that wants to be triggered $('.modal-trigger').leanModal(); }); </script> </body> </html>
ThaDafinser/UserAgentParserComparison
v5/user-agent-detail/43/a5/43a52ad2-36c7-4649-8e55-728ca4acba86.html
HTML
mit
42,110
import { BINARY_COLOR_SAND_90 } from 'binary-ui-styles'; import styled from 'styled-components/native'; export default styled.View` align-items: center; border-bottom-color: ${BINARY_COLOR_SAND_90}; border-bottom-width: 1px; height: 50px; justify-content: center; overflow: hidden; width: 100%; `;
opensource-cards/react-mobile-navigation
packages/react-mobile-navigation-action-sheet/src/components-styled/ActionSheetListItemView/index.native.js
JavaScript
mit
313
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var chai = require("chai"); var Q = require("q"); var Defer = require("ts-promises/Defer"); var Tasks = require("../task/Tasks"); var TaskSet = require("../task/TaskSet"); var asr = chai.assert; suite("TaskSet", function TaskSetTest() { function createTaskRes1(res) { return Q.resolve(res); } function createTaskRes2(res, waitMillis) { var dfd = Q.defer(); setTimeout(function () { return dfd.resolve(res); }, waitMillis); return dfd.promise; } function createTaskErr1(res) { return Q.reject(res); } function createTaskErr2(res, waitMillis) { var dfd = Q.defer(); setTimeout(function () { return dfd.reject(res); }, waitMillis); return dfd.promise; } function startTasks(taskSet, namePrefix, resMsgPrefix, count) { var tasks = []; for (var i = 0; i < count; i++) { var rr = Math.random() < 0.5 ? createTaskRes1(resMsgPrefix + i) : createTaskRes2(resMsgPrefix + i, Math.round(Math.random() * 10)); var t = taskSet.startTask(namePrefix + i, rr); tasks.push(t); } return tasks; } test("README-example", function README_exampleTest(done) { var taskSet = new TaskSet(null, function (name) { return console.log("success:", name); }, function (name) { return console.log("failure:", name); }); taskSet.startTask("task-1", Tasks.startTask("a", createTaskRes1("result a")).getPromise()); taskSet.startTask("task-2", createTaskRes1("result b")); taskSet.startTask("task-3", createTaskRes1("error c")); Q.all(taskSet.getPromises()) .then(function (results) { console.log("done:", results); done(); }, function (err) { console.error("error:", err); done(); }); }); test("task-set-function-and-promise-task-mix", function taskSetFunctionAndPromiseTaskMixTest(done) { var taskSet = new TaskSet(null, null, null); taskSet.startTask("task-1", createTaskRes1("result a")); taskSet.startTask("task-2", Tasks.startTask("b", createTaskRes1("result b")).getPromise()); taskSet.startTask("task-3", createTaskRes1("result c")); taskSet.startTask("task-4", createTaskErr1("error d")); asr.equal(taskSet.getTasks().size, 4); asr.equal(taskSet.getPromises().length, taskSet.getTasks().size); Q.all(taskSet.getPromises()).done(function (results) { done("unexpected success"); }, function (err) { Q.all(taskSet.getPromises()).done(function (results) { var allResults = taskSet.getCompletedTasks().map(function (t) { return t.task.getResult(); }); asr.deepEqual(allResults.sort(), ["result a", "result b", "result c"]); asr.equal(err, "error d"); done(); }, function (err2) { done("unexpected 2nd error"); }); }); }); test("task-set-success", function taskSetSuccessTest(done) { // test success var taskSet = new TaskSet(); var task1 = taskSet.startTask("task-res-1", createTaskRes1("success-1")); var task2 = taskSet.startTask("task-res-2", createTaskRes2("success-2", 10)); Defer.when(taskSet.getPromises()).then(function (res) { asr.deepEqual(res.sort(), ["success-1", "success-2"]); asr.equal(task1.getResult(), "success-1"); asr.equal(task1.state, "COMPLETED"); asr.equal(task2.getResult(), "success-2"); asr.equal(task2.state, "COMPLETED"); done(); }, function (err) { done("unexpected error"); }); }); test("task-set-failure", function taskSetFailureTest(done) { // test success var taskSet = new TaskSet(); var task1 = taskSet.startTask("task-res-1", createTaskRes1("success-1")); var task2 = taskSet.startTask("task-res-2", createTaskRes2("success-2", 10)); var task3 = taskSet.startTask("task-err-1", createTaskErr1("error-1")); var task4 = taskSet.startTask("task-err-2", createTaskErr2("error-2", 10)); Defer.when(taskSet.getPromises()).then(function (res) { done("unexpected success"); }, function (err) { asr.isTrue(err == "error-1" || err == "error-2"); done(); }); }); test("task-drop-completed", function taskSetDropCompleted(done) { var taskSet = new TaskSet(); // test 4 tasks, limit 3, drop 25% taskSet.maxCompletedTasks = 3; taskSet.dropCompletedTasksPercentage = 0.25; startTasks(taskSet, "task-res-", "success-", 4); Defer.when(taskSet.getPromises()).then(function (res) { asr.equal(taskSet.getCompletedTasks().length, 2); taskSet.clearCompletedTasks(); }).then(function () { // test 6 tasks, limit 5, drop 60% taskSet.maxCompletedTasks = 5; taskSet.dropCompletedTasksPercentage = 0.6; startTasks(taskSet, "task-res-", "success-", 6); return Defer.when(taskSet.getPromises()); }).then(function (res) { asr.equal(taskSet.getCompletedTasks().length, 2); taskSet.clearCompletedTasks(); done(); }, function (err) { done("unexpected error"); }); }); });
TeamworkGuy2/ts-task-results
test/TaskSetTest.js
JavaScript
mit
5,452
--- title: MAC Tipp 01 - Arbeiten mit dem Automator eyecatch: fa-youtube-play description: "Arbeiten mit dem Automator" date: 2012-01-05 tags: [code, howto, mac, youtube, automator] --- In diesem Video zeige ich euch wie ihr mit Hilfe eures Automator ein alltägliches Problem, wie das Entfernen eines bestimmten Dateityps aus einem Ordner, lösen könnt. Ich hoffe es gefällt und hilft euch ;D {{< youtube GuhbFHFZkY0 >}}
niklas-heer/blog
content/post/2012-01-05-mac-tipp-01-arbeiten-mit-dem-automator.md
Markdown
mit
427
module Dg class RailsUpgrader def initialize(text) @text = text end def convert_validators output = [] @text.each do |line| if method = match(line) output << eval("#{method}(line)") else output << line end end output.to_s end ########## ########## private ########## ########## def match(line) validation_on_regex = /before_validation_on_create|before_validation_on_update|after_validation_on_create|after_validation_on_update/ validate_on_regex = /validate_on_create|validate_on_update/ if validation_on_regex.match(line) method = 'convert_validation_on' not_found = false elsif validate_on_regex.match(line) method = 'convert_validate_on' not_found = false end method end def convert_validation_on(line) matches = line[/([ \t]*)(\w+)_validation_on_(\w+)[ \t]+:(.*)/, 1] spaces = $1 b_or_a = $2 method = $3 block = $4 "#{spaces}#{b_or_a}_validation(:on => :#{method}) {:#{block}}\n" end def convert_validate_on(line) matches = line[/([ \t]*)validate_on_(\w+)[ \t]+:(.*)/, 1] spaces = $1 method = $2 block = $3 "#{spaces}validate :#{block}, :on => :#{method}\n" end end end # before_validation_on_create :before_validation_on_create # before_validation(:on => :create) {:before_validation_on_create} # before_validation_on_update :before_validation_on_update # before_validation(:on => :update) {:before_validation_on_update} # after_validation_on_create :after_validation_on_create # after_validation(:on => :create) {:after_validation_on_create} # after_validation_on_update :after_validation_on_update # after_validation(:on => :update) {:after_validation_on_update} # validate_on_create :check_tos, :validate_promotion_code # validate :check_tos, :validate_promotion_code, :on => :create # before_validation_on_create :geocode_address, :set_default_wine_preferences # before_validation(:on => :create) {:geocode_address, :set_default_wine_preferences}
aeldaly/rails_upgrader
lib/dg/rails_upgrader.rb
Ruby
mit
2,154
// // StandViewController.h // Stand for Something // // Created by Alper Cugun on 12/8/13. // Copyright (c) 2014 Hubbub. All rights reserved. // #import <UIKit/UIKit.h> #import <CoreMotion/CoreMotion.h> #import <CoreLocation/CoreLocation.h> #import <AudioToolbox/AudioToolbox.h> #import <Social/Social.h> #import <MapKit/MapKit.h> #import "StandManager.h" #import "NSDictionary+URLEncoding.h" #import "OpenInBrowserActivity.h" #import "CopyLinkToPasteboardActivity.h" @interface StandViewController : UIViewController <CLLocationManagerDelegate, UITextFieldDelegate> @property (strong) CLLocationManager *locationManager; // TODO remove currentLocation? @property (strong) CLLocation *currentLocation; @property (strong) StandManager *standManager; @property (strong) NSURLSession *urlSession; @property (strong) NSBlockOperation *requestOperation; @property (strong) CMMotionManager *motionManager; @property (assign) double smoothX; @property (assign) double smoothY; @property (assign) double smoothZ; typedef NS_ENUM(NSInteger, StandingState) { StandingBefore, StandingDuring, StandingGraceMovement, StandingGraceTouch, StandingDone, DontAllowStart }; // Object where we store all touches on the correct view over their lifetime @property (strong) NSMutableSet *currentTouches; @property (assign) StandingState standingState; @property (strong) NSDate *startTime; @property (strong) NSDate *endTime; @property (strong) NSTimer *secondTimer; // Seconds the app has been in grace and which are deducted from the time actually standing @property (assign) double pauseSeconds; @property (strong) NSTimer *graceTimer; @property (strong) NSDate *graceStart; @property (strong) IBOutlet UIView *containerView; @property (strong) UIView *startView; @property (strong) UIView *standingView; @property (strong) UIView *graceView; @property (strong) UIView *doneView; // Start view controls @property (strong) IBOutlet UIImageView *startButton; @property (strong) IBOutlet UIButton *helpButton; @property (strong) IBOutlet UITextField *textField; @property (strong) IBOutlet UIView *helpView; @property (strong) IBOutlet UIButton *howToButton; @property (strong) IBOutlet UIButton *aboutButton; @property (strong) IBOutlet UIButton *closeHelpButton; // Standing view controls @property (strong) IBOutlet UILabel *standingText; @property (strong) IBOutlet UILabel *standingHoursL; @property (strong) IBOutlet UILabel *standingHoursR; @property (strong) IBOutlet UILabel *standingMinutesL; @property (strong) IBOutlet UILabel *standingMinutesR; @property (strong) IBOutlet UILabel *standingSecondsL; @property (strong) IBOutlet UILabel *standingSecondsR; // Grace view controls @property (strong) IBOutlet UIImageView *graceButton; @property (strong) IBOutlet UILabel *countdownLabel; @property (strong) IBOutlet UIButton *doneButton; // Done view controls @property (strong) IBOutlet MKMapView *mapView; @property (strong) IBOutlet UILabel *doneText; @property (strong) IBOutlet UIButton *tweetButton; @property (strong) IBOutlet UIButton *shareButton; @property (strong) IBOutlet UIButton *againButton; - (void)startStanding; @end
whatsthehubbub/stand-iphone
Stand for Something/StandViewController.h
C
mit
3,173
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>User agent detail - Mozilla/5.0 (Linux; Android 4.0.4; SGH-I957 Build/IMM76D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Safari/535.19</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css"> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> <link href="../circle.css" rel="stylesheet"> </head> <body> <div class="container"> <div class="section"> <h1 class="header center orange-text">User agent detail</h1> <div class="row center"> <h5 class="header light"> Mozilla/5.0 (Linux; Android 4.0.4; SGH-I957 Build/IMM76D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Safari/535.19 </h5> </div> </div> <div class="section"> <table class="striped"><tr><th></th><th colspan="3">General</th><th colspan="5">Device</th><th colspan="3">Bot</th><th colspan="2"></th></tr><tr><th>Provider</th><th>Browser</th><th>Engine</th><th>OS</th><th>Brand</th><th>Model</th><th>Type</th><th>Is mobile</th><th>Is touch</th><th>Is bot</th><th>Name</th><th>Type</th><th>Parse time</th><th>Actions</th></tr><tr><th colspan="14" class="green lighten-3">Test suite</th></tr><tr><td>UAParser<br /><small>v0.5.0.2</small><br /><small>vendor/thadafinser/uap-core/tests/test_device.yaml</small></td><td> </td><td><i class="material-icons">close</i></td><td> </td><td style="border-left: 1px solid #555">Samsung</td><td>SGH-I957</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-cfed3005-df48-4fa8-bf03-4f6ef8988f59">Detail</a> <!-- Modal Structure --> <div id="modal-cfed3005-df48-4fa8-bf03-4f6ef8988f59" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>UAParser result detail</h4> <p><pre><code class="php">Array ( [user_agent_string] => Mozilla/5.0 (Linux; Android 4.0.4; SGH-I957 Build/IMM76D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Safari/535.19 [family] => Samsung SGH-I957 [brand] => Samsung [model] => SGH-I957 ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><th colspan="14" class="green lighten-3">Providers</th></tr><tr><td>BrowscapFull<br /><small>6014</small><br /></td><td>Chrome 18.0</td><td>WebKit </td><td>Android 4.0</td><td style="border-left: 1px solid #555"></td><td></td><td>Mobile Phone</td><td>yes</td><td>yes</td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.027</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-47a9cd06-e213-4882-bc34-db6aed664223">Detail</a> <!-- Modal Structure --> <div id="modal-47a9cd06-e213-4882-bc34-db6aed664223" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>BrowscapFull result detail</h4> <p><pre><code class="php">stdClass Object ( [browser_name_regex] => /^mozilla\/5\.0 \(.*linux.*android.4\.0.*\) applewebkit\/.* \(khtml.* like gecko\) chrome\/18\..*safari\/.*$/ [browser_name_pattern] => mozilla/5.0 (*linux*android?4.0*) applewebkit/* (khtml* like gecko) chrome/18.*safari/* [parent] => Chrome 18.0 for Android [comment] => Chrome 18.0 [browser] => Chrome [browser_type] => Browser [browser_bits] => 32 [browser_maker] => Google Inc [browser_modus] => unknown [version] => 18.0 [majorver] => 18 [minorver] => 0 [platform] => Android [platform_version] => 4.0 [platform_description] => Android OS [platform_bits] => 32 [platform_maker] => Google Inc [alpha] => [beta] => [win16] => [win32] => [win64] => [frames] => 1 [iframes] => 1 [tables] => 1 [cookies] => 1 [backgroundsounds] => [javascript] => 1 [vbscript] => [javaapplets] => [activexcontrols] => [ismobiledevice] => 1 [istablet] => [issyndicationreader] => [crawler] => [isfake] => [isanonymized] => [ismodified] => [cssversion] => 3 [aolversion] => 0 [device_name] => general Mobile Phone [device_maker] => unknown [device_type] => Mobile Phone [device_pointing_method] => touchscreen [device_code_name] => general Mobile Phone [device_brand_name] => unknown [renderingengine_name] => WebKit [renderingengine_version] => unknown [renderingengine_description] => For Google Chrome, iOS (including both mobile Safari, WebViews within third-party apps, and web clips), Safari, Arora, Midori, OmniWeb, Shiira, iCab since version 4, Web, SRWare Iron, Rekonq, and in Maxthon 3. [renderingengine_maker] => Apple Inc ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>BrowscapLite<br /><small>6014</small><br /></td><td>Chrome </td><td><i class="material-icons">close</i></td><td>Android </td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>Mobile Phone</td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0.007</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-42bb56ba-b834-47c5-bea0-c0270e9ab371">Detail</a> <!-- Modal Structure --> <div id="modal-42bb56ba-b834-47c5-bea0-c0270e9ab371" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>BrowscapLite result detail</h4> <p><pre><code class="php">stdClass Object ( [browser_name_regex] => /^mozilla\/5\.0 \(.*linux.*android.*\) applewebkit\/.* \(khtml.* like gecko\) chrome\/.*safari\/.*$/ [browser_name_pattern] => mozilla/5.0 (*linux*android*) applewebkit/* (khtml* like gecko) chrome/*safari/* [parent] => Chrome Generic for Android [comment] => Chrome Generic [browser] => Chrome [browser_type] => unknown [browser_bits] => 0 [browser_maker] => unknown [browser_modus] => unknown [version] => 0.0 [majorver] => 0 [minorver] => 0 [platform] => Android [platform_version] => unknown [platform_description] => unknown [platform_bits] => 0 [platform_maker] => unknown [alpha] => false [beta] => false [win16] => false [win32] => false [win64] => false [frames] => false [iframes] => false [tables] => false [cookies] => false [backgroundsounds] => false [javascript] => false [vbscript] => false [javaapplets] => false [activexcontrols] => false [ismobiledevice] => 1 [istablet] => [issyndicationreader] => false [crawler] => false [isfake] => false [isanonymized] => false [ismodified] => false [cssversion] => 0 [aolversion] => 0 [device_name] => unknown [device_maker] => unknown [device_type] => Mobile Phone [device_pointing_method] => unknown [device_code_name] => unknown [device_brand_name] => unknown [renderingengine_name] => unknown [renderingengine_version] => unknown [renderingengine_description] => unknown [renderingengine_maker] => unknown ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>BrowscapPhp<br /><small>6014</small><br /></td><td>Chrome 18.0</td><td><i class="material-icons">close</i></td><td>Android </td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>Mobile Phone</td><td>yes</td><td>yes</td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.031</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-ad0041a2-b0f4-43f6-a70d-cad1443caa68">Detail</a> <!-- Modal Structure --> <div id="modal-ad0041a2-b0f4-43f6-a70d-cad1443caa68" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>BrowscapPhp result detail</h4> <p><pre><code class="php">stdClass Object ( [browser_name_regex] => /^mozilla\/5\.0 \(.*linux.*android.*\) applewebkit\/.* \(khtml.* like gecko\) chrome\/18\..*safari\/.*$/ [browser_name_pattern] => mozilla/5.0 (*linux*android*) applewebkit/* (khtml* like gecko) chrome/18.*safari/* [parent] => Chrome 18.0 for Android [comment] => Chrome 18.0 [browser] => Chrome [browser_type] => unknown [browser_bits] => 0 [browser_maker] => Google Inc [browser_modus] => unknown [version] => 18.0 [majorver] => 18 [minorver] => 0 [platform] => Android [platform_version] => unknown [platform_description] => unknown [platform_bits] => 0 [platform_maker] => unknown [alpha] => false [beta] => false [win16] => false [win32] => false [win64] => false [frames] => false [iframes] => false [tables] => false [cookies] => false [backgroundsounds] => false [javascript] => false [vbscript] => false [javaapplets] => false [activexcontrols] => false [ismobiledevice] => 1 [istablet] => [issyndicationreader] => false [crawler] => [isfake] => false [isanonymized] => false [ismodified] => false [cssversion] => 0 [aolversion] => 0 [device_name] => unknown [device_maker] => unknown [device_type] => Mobile Phone [device_pointing_method] => touchscreen [device_code_name] => unknown [device_brand_name] => unknown [renderingengine_name] => unknown [renderingengine_version] => unknown [renderingengine_description] => unknown [renderingengine_maker] => unknown ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>DonatjUAParser<br /><small>v0.5.1</small><br /></td><td>Chrome 18.0.1025.166</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-15fbc1f0-2615-4d42-b5d9-a30dd647b050">Detail</a> <!-- Modal Structure --> <div id="modal-15fbc1f0-2615-4d42-b5d9-a30dd647b050" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>DonatjUAParser result detail</h4> <p><pre><code class="php">Array ( [platform] => Android [browser] => Chrome [version] => 18.0.1025.166 ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>JenssegersAgent<br /><small>v2.3.3</small><br /></td><td>Chrome 18.0.1025.166</td><td><i class="material-icons">close</i></td><td>AndroidOS 4.0.4</td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.001</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-b85a2b91-6a55-4436-a82c-1ea0d46e2e51">Detail</a> <!-- Modal Structure --> <div id="modal-b85a2b91-6a55-4436-a82c-1ea0d46e2e51" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>JenssegersAgent result detail</h4> <p><pre><code class="php">Array ( [browserName] => Chrome [browserVersion] => 18.0.1025.166 [osName] => AndroidOS [osVersion] => 4.0.4 [deviceModel] => SamsungTablet [isMobile] => 1 [isRobot] => [botName] => ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>NeutrinoApiCom<br /><small></small><br /></td><td>Chrome 18.0.1025.166</td><td><i class="material-icons">close</i></td><td>Android 4.0.4</td><td style="border-left: 1px solid #555">Samsung</td><td>Galaxy Tab 8.9</td><td>desktop-browser</td><td></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.29802</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-8c2a7a4e-3fbf-4df2-8d61-5e730422f67b">Detail</a> <!-- Modal Structure --> <div id="modal-8c2a7a4e-3fbf-4df2-8d61-5e730422f67b" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>NeutrinoApiCom result detail</h4> <p><pre><code class="php">stdClass Object ( [mobile_screen_height] => 0 [is_mobile] => [type] => desktop-browser [mobile_brand] => Samsung [mobile_model] => Galaxy Tab 8.9 [version] => 18.0.1025.166 [is_android] => [browser_name] => Chrome [operating_system_family] => Android [operating_system_version] => 4.0.4 [is_ios] => [producer] => Google Inc. [operating_system] => Android 4.0.x Ice Cream Sandwich [mobile_screen_width] => 0 [mobile_browser] => ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>PiwikDeviceDetector<br /><small>3.6.1</small><br /></td><td>Chrome 18.0</td><td>WebKit </td><td>Android 4.0</td><td style="border-left: 1px solid #555">Samsung</td><td>SGH-I957</td><td>smartphone</td><td>yes</td><td></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.002</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-4a941d34-a8d3-4914-9724-346f60ad7046">Detail</a> <!-- Modal Structure --> <div id="modal-4a941d34-a8d3-4914-9724-346f60ad7046" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>PiwikDeviceDetector result detail</h4> <p><pre><code class="php">Array ( [client] => Array ( [type] => browser [name] => Chrome [short_name] => CH [version] => 18.0 [engine] => WebKit ) [operatingSystem] => Array ( [name] => Android [short_name] => AND [version] => 4.0 [platform] => ) [device] => Array ( [brand] => SA [brandName] => Samsung [model] => SGH-I957 [device] => 1 [deviceName] => smartphone ) [bot] => [extra] => Array ( [isBot] => [isBrowser] => 1 [isFeedReader] => [isMobileApp] => [isPIM] => [isLibrary] => [isMediaPlayer] => [isCamera] => [isCarBrowser] => [isConsole] => [isFeaturePhone] => [isPhablet] => [isPortableMediaPlayer] => [isSmartDisplay] => [isSmartphone] => 1 [isTablet] => [isTV] => [isDesktop] => [isMobile] => 1 [isTouchEnabled] => ) ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>SinergiBrowserDetector<br /><small>6.0.1</small><br /></td><td>Chrome 18.0.1025.166</td><td><i class="material-icons">close</i></td><td>Android 4.0.4</td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td></td><td><i class="material-icons">close</i></td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0.001</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-ec1cd248-02b0-457e-8a9d-35bb99af008c">Detail</a> <!-- Modal Structure --> <div id="modal-ec1cd248-02b0-457e-8a9d-35bb99af008c" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>SinergiBrowserDetector result detail</h4> <p><pre><code class="php">Array ( [browser] => Sinergi\BrowserDetector\Browser Object ( [userAgent:Sinergi\BrowserDetector\Browser:private] => Sinergi\BrowserDetector\UserAgent Object ( [userAgentString:Sinergi\BrowserDetector\UserAgent:private] => Mozilla/5.0 (Linux; Android 4.0.4; SGH-I957 Build/IMM76D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Safari/535.19 ) [name:Sinergi\BrowserDetector\Browser:private] => Chrome [version:Sinergi\BrowserDetector\Browser:private] => 18.0.1025.166 [isRobot:Sinergi\BrowserDetector\Browser:private] => [isChromeFrame:Sinergi\BrowserDetector\Browser:private] => [isFacebookWebView:Sinergi\BrowserDetector\Browser:private] => [isCompatibilityMode:Sinergi\BrowserDetector\Browser:private] => ) [operatingSystem] => Sinergi\BrowserDetector\Os Object ( [name:Sinergi\BrowserDetector\Os:private] => Android [version:Sinergi\BrowserDetector\Os:private] => 4.0.4 [isMobile:Sinergi\BrowserDetector\Os:private] => 1 [userAgent:Sinergi\BrowserDetector\Os:private] => Sinergi\BrowserDetector\UserAgent Object ( [userAgentString:Sinergi\BrowserDetector\UserAgent:private] => Mozilla/5.0 (Linux; Android 4.0.4; SGH-I957 Build/IMM76D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Safari/535.19 ) ) [device] => Sinergi\BrowserDetector\Device Object ( [name:Sinergi\BrowserDetector\Device:private] => unknown [userAgent:Sinergi\BrowserDetector\Device:private] => Sinergi\BrowserDetector\UserAgent Object ( [userAgentString:Sinergi\BrowserDetector\UserAgent:private] => Mozilla/5.0 (Linux; Android 4.0.4; SGH-I957 Build/IMM76D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Safari/535.19 ) ) ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>UAParser<br /><small>v3.4.5</small><br /></td><td>Chrome 18.0.1025</td><td><i class="material-icons">close</i></td><td>Android 4.0.4</td><td style="border-left: 1px solid #555">Samsung</td><td>SGH-I957</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.001</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-3160e405-8a8f-46dd-8f47-5115f06462d2">Detail</a> <!-- Modal Structure --> <div id="modal-3160e405-8a8f-46dd-8f47-5115f06462d2" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>UAParser result detail</h4> <p><pre><code class="php">UAParser\Result\Client Object ( [ua] => UAParser\Result\UserAgent Object ( [major] => 18 [minor] => 0 [patch] => 1025 [family] => Chrome ) [os] => UAParser\Result\OperatingSystem Object ( [major] => 4 [minor] => 0 [patch] => 4 [patchMinor] => [family] => Android ) [device] => UAParser\Result\Device Object ( [brand] => Samsung [model] => SGH-I957 [family] => Samsung SGH-I957 ) [originalUserAgent] => Mozilla/5.0 (Linux; Android 4.0.4; SGH-I957 Build/IMM76D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Safari/535.19 ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>UserAgentApiCom<br /><small></small><br /></td><td>Chrome 18.0.1025.166</td><td>WebKit 535.19</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>Mobile</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.15201</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-afeb05fb-26b9-4509-b8ac-0c604a9e97d6">Detail</a> <!-- Modal Structure --> <div id="modal-afeb05fb-26b9-4509-b8ac-0c604a9e97d6" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>UserAgentApiCom result detail</h4> <p><pre><code class="php">stdClass Object ( [platform_name] => Android [platform_version] => 4.0.4 [platform_type] => Mobile [browser_name] => Chrome [browser_version] => 18.0.1025.166 [engine_name] => WebKit [engine_version] => 535.19 ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>UserAgentStringCom<br /><small></small><br /></td><td>Android Webkit Browser </td><td><i class="material-icons">close</i></td><td>Android 4.0.4</td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.063</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-08a9ddfb-838f-48d7-9ede-1d132306b2ee">Detail</a> <!-- Modal Structure --> <div id="modal-08a9ddfb-838f-48d7-9ede-1d132306b2ee" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>UserAgentStringCom result detail</h4> <p><pre><code class="php">stdClass Object ( [agent_type] => Browser [agent_name] => Android Webkit Browser [agent_version] => -- [os_type] => Android [os_name] => Android [os_versionName] => [os_versionNumber] => 4.0.4 [os_producer] => [os_producerURL] => [linux_distibution] => Null [agent_language] => [agent_languageTag] => ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>WhatIsMyBrowserCom<br /><small></small><br /></td><td>Chrome 18.0.1025.166</td><td>WebKit 535.19</td><td>Android 4.0.4</td><td style="border-left: 1px solid #555">Samsung</td><td></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0.23201</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-5fc1ff22-a74d-481b-9ad1-fcfde73ded9c">Detail</a> <!-- Modal Structure --> <div id="modal-5fc1ff22-a74d-481b-9ad1-fcfde73ded9c" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>WhatIsMyBrowserCom result detail</h4> <p><pre><code class="php">stdClass Object ( [operating_system_name] => Android [simple_sub_description_string] => [simple_browser_string] => Chrome 18 on Android (Ice Cream Sandwich) [browser_version] => 18 [extra_info] => Array ( ) [operating_platform] => [extra_info_table] => stdClass Object ( [System Build] => IMM76D ) [layout_engine_name] => WebKit [detected_addons] => Array ( ) [operating_system_flavour_code] => [hardware_architecture] => [operating_system_flavour] => [operating_system_frameworks] => Array ( ) [browser_name_code] => chrome [operating_system_version] => Ice Cream Sandwich [simple_operating_platform_string] => Samsung SGH-I957 [is_abusive] => [layout_engine_version] => 535.19 [browser_capabilities] => Array ( ) [operating_platform_vendor_name] => Samsung [operating_system] => Android (Ice Cream Sandwich) [operating_system_version_full] => 4.0.4 [operating_platform_code] => SGH-I957 [browser_name] => Chrome [operating_system_name_code] => android [user_agent] => Mozilla/5.0 (Linux; Android 4.0.4; SGH-I957 Build/IMM76D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Safari/535.19 [browser_version_full] => 18.0.1025.166 [browser] => Chrome 18 ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>WhichBrowser<br /><small>v2.0.18</small><br /></td><td>Chrome 18</td><td>Webkit 535.19</td><td>Android 4.0.4</td><td style="border-left: 1px solid #555">Samsung</td><td>Galaxy Tab 8.9</td><td>tablet</td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.001</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-083a336f-5d73-4505-84f3-c5fc9bb78652">Detail</a> <!-- Modal Structure --> <div id="modal-083a336f-5d73-4505-84f3-c5fc9bb78652" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>WhichBrowser result detail</h4> <p><pre><code class="php">Array ( [browser] => Array ( [name] => Chrome [version] => 18 [type] => browser ) [engine] => Array ( [name] => Webkit [version] => 535.19 ) [os] => Array ( [name] => Android [version] => 4.0.4 ) [device] => Array ( [type] => tablet [manufacturer] => Samsung [model] => Galaxy Tab 8.9 ) ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>Woothee<br /><small>v1.2.0</small><br /></td><td>Chrome 18.0.1025.166</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>smartphone</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-f00e7198-0e22-49fe-bad0-dbb3a9cde9b9">Detail</a> <!-- Modal Structure --> <div id="modal-f00e7198-0e22-49fe-bad0-dbb3a9cde9b9" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>Woothee result detail</h4> <p><pre><code class="php">Array ( [name] => Chrome [vendor] => Google [version] => 18.0.1025.166 [category] => smartphone [os] => Android [os_version] => 4.0.4 ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>Wurfl<br /><small>1.7.1.0</small><br /></td><td>Chrome 18.0.1025.166</td><td><i class="material-icons">close</i></td><td>Android 4.0.4</td><td style="border-left: 1px solid #555">Samsung</td><td>SGH-I957</td><td>Tablet</td><td>yes</td><td>yes</td><td style="border-left: 1px solid #555"></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0.017</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-a2bedf8c-4a95-42a7-96c5-aaf233b2ac50">Detail</a> <!-- Modal Structure --> <div id="modal-a2bedf8c-4a95-42a7-96c5-aaf233b2ac50" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>Wurfl result detail</h4> <p><pre><code class="php">Array ( [virtual] => Array ( [is_android] => true [is_ios] => false [is_windows_phone] => false [is_app] => false [is_full_desktop] => false [is_largescreen] => true [is_mobile] => true [is_robot] => false [is_smartphone] => false [is_touchscreen] => true [is_wml_preferred] => false [is_xhtmlmp_preferred] => false [is_html_preferred] => true [advertised_device_os] => Android [advertised_device_os_version] => 4.0.4 [advertised_browser] => Chrome [advertised_browser_version] => 18.0.1025.166 [complete_device_name] => Samsung SGH-I957 (Galaxy Tab 8.9 LTE) [device_name] => Samsung Galaxy Tab 8.9 LTE [form_factor] => Tablet [is_phone] => false [is_app_webview] => false ) [all] => Array ( [brand_name] => Samsung [model_name] => SGH-I957 [unique] => true [ununiqueness_handler] => [is_wireless_device] => true [device_claims_web_support] => true [has_qwerty_keyboard] => true [can_skip_aligned_link_row] => true [uaprof] => [uaprof2] => [uaprof3] => [nokia_series] => 0 [nokia_edition] => 0 [device_os] => Android [mobile_browser] => Android Webkit [mobile_browser_version] => [device_os_version] => 4.0 [pointing_method] => touchscreen [release_date] => 2011_february [marketing_name] => Galaxy Tab 8.9 LTE [model_extra_info] => for AT&T [nokia_feature_pack] => 0 [can_assign_phone_number] => false [is_tablet] => true [manufacturer_name] => [is_bot] => false [is_google_glass] => false [proportional_font] => false [built_in_back_button_support] => false [card_title_support] => true [softkey_support] => false [table_support] => true [numbered_menus] => false [menu_with_select_element_recommended] => false [menu_with_list_of_links_recommended] => true [icons_on_menu_items_support] => false [break_list_of_links_with_br_element_recommended] => true [access_key_support] => false [wrap_mode_support] => false [times_square_mode_support] => false [deck_prefetch_support] => false [elective_forms_recommended] => true [wizards_recommended] => false [image_as_link_support] => false [insert_br_element_after_widget_recommended] => false [wml_can_display_images_and_text_on_same_line] => false [wml_displays_image_in_center] => false [opwv_wml_extensions_support] => false [wml_make_phone_call_string] => wtai://wp/mc; [chtml_display_accesskey] => false [emoji] => false [chtml_can_display_images_and_text_on_same_line] => false [chtml_displays_image_in_center] => false [imode_region] => none [chtml_make_phone_call_string] => tel: [chtml_table_support] => false [xhtml_honors_bgcolor] => true [xhtml_supports_forms_in_table] => true [xhtml_support_wml2_namespace] => false [xhtml_autoexpand_select] => false [xhtml_select_as_dropdown] => false [xhtml_select_as_radiobutton] => false [xhtml_select_as_popup] => false [xhtml_display_accesskey] => false [xhtml_supports_invisible_text] => false [xhtml_supports_inline_input] => false [xhtml_supports_monospace_font] => false [xhtml_supports_table_for_layout] => true [xhtml_supports_css_cell_table_coloring] => true [xhtml_format_as_css_property] => false [xhtml_format_as_attribute] => false [xhtml_nowrap_mode] => false [xhtml_marquee_as_css_property] => false [xhtml_readable_background_color1] => #FFFFFF [xhtml_readable_background_color2] => #FFFFFF [xhtml_allows_disabled_form_elements] => true [xhtml_document_title_support] => true [xhtml_preferred_charset] => iso-8859-1 [opwv_xhtml_extensions_support] => false [xhtml_make_phone_call_string] => tel: [xhtmlmp_preferred_mime_type] => text/html [xhtml_table_support] => true [xhtml_send_sms_string] => none [xhtml_send_mms_string] => none [xhtml_file_upload] => supported [cookie_support] => true [accept_third_party_cookie] => true [xhtml_supports_iframe] => full [xhtml_avoid_accesskeys] => true [xhtml_can_embed_video] => none [ajax_support_javascript] => true [ajax_manipulate_css] => true [ajax_support_getelementbyid] => true [ajax_support_inner_html] => true [ajax_xhr_type] => standard [ajax_manipulate_dom] => true [ajax_support_events] => true [ajax_support_event_listener] => true [ajax_preferred_geoloc_api] => w3c_api [xhtml_support_level] => 4 [preferred_markup] => html_web_4_0 [wml_1_1] => false [wml_1_2] => false [wml_1_3] => false [html_wi_w3_xhtmlbasic] => true [html_wi_oma_xhtmlmp_1_0] => true [html_wi_imode_html_1] => false [html_wi_imode_html_2] => false [html_wi_imode_html_3] => false [html_wi_imode_html_4] => false [html_wi_imode_html_5] => false [html_wi_imode_htmlx_1] => false [html_wi_imode_htmlx_1_1] => false [html_wi_imode_compact_generic] => false [html_web_3_2] => true [html_web_4_0] => true [voicexml] => false [multipart_support] => false [total_cache_disable_support] => false [time_to_live_support] => false [resolution_width] => 1280 [resolution_height] => 800 [columns] => 100 [max_image_width] => 1024 [max_image_height] => 600 [rows] => 100 [physical_screen_width] => 192 [physical_screen_height] => 120 [dual_orientation] => true [density_class] => 1.0 [wbmp] => true [bmp] => false [epoc_bmp] => false [gif_animated] => false [jpg] => true [png] => true [tiff] => false [transparent_png_alpha] => true [transparent_png_index] => true [svgt_1_1] => true [svgt_1_1_plus] => false [greyscale] => false [gif] => true [colors] => 65536 [webp_lossy_support] => false [webp_lossless_support] => false [post_method_support] => true [basic_authentication_support] => true [empty_option_value_support] => true [emptyok] => false [nokia_voice_call] => false [wta_voice_call] => false [wta_phonebook] => false [wta_misc] => false [wta_pdc] => false [https_support] => true [phone_id_provided] => false [max_data_rate] => 384 [wifi] => true [sdio] => false [vpn] => false [has_cellular_radio] => true [max_deck_size] => 2000000 [max_url_length_in_requests] => 256 [max_url_length_homepage] => 0 [max_url_length_bookmark] => 0 [max_url_length_cached_page] => 0 [max_no_of_connection_settings] => 0 [max_no_of_bookmarks] => 0 [max_length_of_username] => 0 [max_length_of_password] => 0 [max_object_size] => 0 [downloadfun_support] => false [directdownload_support] => true [inline_support] => false [oma_support] => true [ringtone] => false [ringtone_3gpp] => false [ringtone_midi_monophonic] => false [ringtone_midi_polyphonic] => false [ringtone_imelody] => false [ringtone_digiplug] => false [ringtone_compactmidi] => false [ringtone_mmf] => false [ringtone_rmf] => false [ringtone_xmf] => false [ringtone_amr] => false [ringtone_awb] => false [ringtone_aac] => false [ringtone_wav] => false [ringtone_mp3] => false [ringtone_spmidi] => false [ringtone_qcelp] => false [ringtone_voices] => 1 [ringtone_df_size_limit] => 0 [ringtone_directdownload_size_limit] => 0 [ringtone_inline_size_limit] => 0 [ringtone_oma_size_limit] => 0 [wallpaper] => false [wallpaper_max_width] => 0 [wallpaper_max_height] => 0 [wallpaper_preferred_width] => 0 [wallpaper_preferred_height] => 0 [wallpaper_resize] => none [wallpaper_wbmp] => false [wallpaper_bmp] => false [wallpaper_gif] => false [wallpaper_jpg] => false [wallpaper_png] => false [wallpaper_tiff] => false [wallpaper_greyscale] => false [wallpaper_colors] => 2 [wallpaper_df_size_limit] => 0 [wallpaper_directdownload_size_limit] => 0 [wallpaper_inline_size_limit] => 0 [wallpaper_oma_size_limit] => 0 [screensaver] => false [screensaver_max_width] => 0 [screensaver_max_height] => 0 [screensaver_preferred_width] => 0 [screensaver_preferred_height] => 0 [screensaver_resize] => none [screensaver_wbmp] => false [screensaver_bmp] => false [screensaver_gif] => false [screensaver_jpg] => false [screensaver_png] => false [screensaver_greyscale] => false [screensaver_colors] => 2 [screensaver_df_size_limit] => 0 [screensaver_directdownload_size_limit] => 0 [screensaver_inline_size_limit] => 0 [screensaver_oma_size_limit] => 0 [picture] => false [picture_max_width] => 0 [picture_max_height] => 0 [picture_preferred_width] => 0 [picture_preferred_height] => 0 [picture_resize] => none [picture_wbmp] => false [picture_bmp] => false [picture_gif] => false [picture_jpg] => false [picture_png] => false [picture_greyscale] => false [picture_colors] => 2 [picture_df_size_limit] => 0 [picture_directdownload_size_limit] => 0 [picture_inline_size_limit] => 0 [picture_oma_size_limit] => 0 [video] => false [oma_v_1_0_forwardlock] => false [oma_v_1_0_combined_delivery] => false [oma_v_1_0_separate_delivery] => false [streaming_video] => true [streaming_3gpp] => true [streaming_mp4] => true [streaming_mov] => false [streaming_video_size_limit] => 0 [streaming_real_media] => none [streaming_flv] => false [streaming_3g2] => false [streaming_vcodec_h263_0] => 10 [streaming_vcodec_h263_3] => -1 [streaming_vcodec_mpeg4_sp] => 2 [streaming_vcodec_mpeg4_asp] => -1 [streaming_vcodec_h264_bp] => 3.0 [streaming_acodec_amr] => nb [streaming_acodec_aac] => lc [streaming_wmv] => none [streaming_preferred_protocol] => http [streaming_preferred_http_protocol] => apple_live_streaming [wap_push_support] => false [connectionless_service_indication] => false [connectionless_service_load] => false [connectionless_cache_operation] => false [connectionoriented_unconfirmed_service_indication] => false [connectionoriented_unconfirmed_service_load] => false [connectionoriented_unconfirmed_cache_operation] => false [connectionoriented_confirmed_service_indication] => false [connectionoriented_confirmed_service_load] => false [connectionoriented_confirmed_cache_operation] => false [utf8_support] => true [ascii_support] => false [iso8859_support] => false [expiration_date] => false [j2me_cldc_1_0] => false [j2me_cldc_1_1] => false [j2me_midp_1_0] => false [j2me_midp_2_0] => false [doja_1_0] => false [doja_1_5] => false [doja_2_0] => false [doja_2_1] => false [doja_2_2] => false [doja_3_0] => false [doja_3_5] => false [doja_4_0] => false [j2me_jtwi] => false [j2me_mmapi_1_0] => false [j2me_mmapi_1_1] => false [j2me_wmapi_1_0] => false [j2me_wmapi_1_1] => false [j2me_wmapi_2_0] => false [j2me_btapi] => false [j2me_3dapi] => false [j2me_locapi] => false [j2me_nokia_ui] => false [j2me_motorola_lwt] => false [j2me_siemens_color_game] => false [j2me_siemens_extension] => false [j2me_heap_size] => 0 [j2me_max_jar_size] => 0 [j2me_storage_size] => 0 [j2me_max_record_store_size] => 0 [j2me_screen_width] => 0 [j2me_screen_height] => 0 [j2me_canvas_width] => 0 [j2me_canvas_height] => 0 [j2me_bits_per_pixel] => 0 [j2me_audio_capture_enabled] => false [j2me_video_capture_enabled] => false [j2me_photo_capture_enabled] => false [j2me_capture_image_formats] => none [j2me_http] => false [j2me_https] => false [j2me_socket] => false [j2me_udp] => false [j2me_serial] => false [j2me_gif] => false [j2me_gif89a] => false [j2me_jpg] => false [j2me_png] => false [j2me_bmp] => false [j2me_bmp3] => false [j2me_wbmp] => false [j2me_midi] => false [j2me_wav] => false [j2me_amr] => false [j2me_mp3] => false [j2me_mp4] => false [j2me_imelody] => false [j2me_rmf] => false [j2me_au] => false [j2me_aac] => false [j2me_realaudio] => false [j2me_xmf] => false [j2me_wma] => false [j2me_3gpp] => false [j2me_h263] => false [j2me_svgt] => false [j2me_mpeg4] => false [j2me_realvideo] => false [j2me_real8] => false [j2me_realmedia] => false [j2me_left_softkey_code] => 0 [j2me_right_softkey_code] => 0 [j2me_middle_softkey_code] => 0 [j2me_select_key_code] => 0 [j2me_return_key_code] => 0 [j2me_clear_key_code] => 0 [j2me_datefield_no_accepts_null_date] => false [j2me_datefield_broken] => false [receiver] => false [sender] => false [mms_max_size] => 0 [mms_max_height] => 0 [mms_max_width] => 0 [built_in_recorder] => false [built_in_camera] => true [mms_jpeg_baseline] => false [mms_jpeg_progressive] => false [mms_gif_static] => false [mms_gif_animated] => false [mms_png] => false [mms_bmp] => false [mms_wbmp] => false [mms_amr] => false [mms_wav] => false [mms_midi_monophonic] => false [mms_midi_polyphonic] => false [mms_midi_polyphonic_voices] => 0 [mms_spmidi] => false [mms_mmf] => false [mms_mp3] => false [mms_evrc] => false [mms_qcelp] => false [mms_ota_bitmap] => false [mms_nokia_wallpaper] => false [mms_nokia_operatorlogo] => false [mms_nokia_3dscreensaver] => false [mms_nokia_ringingtone] => false [mms_rmf] => false [mms_xmf] => false [mms_symbian_install] => false [mms_jar] => false [mms_jad] => false [mms_vcard] => false [mms_vcalendar] => false [mms_wml] => false [mms_wbxml] => false [mms_wmlc] => false [mms_video] => false [mms_mp4] => false [mms_3gpp] => false [mms_3gpp2] => false [mms_max_frame_rate] => 0 [nokiaring] => false [picturemessage] => false [operatorlogo] => false [largeoperatorlogo] => false [callericon] => false [nokiavcard] => false [nokiavcal] => false [sckl_ringtone] => false [sckl_operatorlogo] => false [sckl_groupgraphic] => false [sckl_vcard] => false [sckl_vcalendar] => false [text_imelody] => false [ems] => false [ems_variablesizedpictures] => false [ems_imelody] => false [ems_odi] => false [ems_upi] => false [ems_version] => 0 [siemens_ota] => false [siemens_logo_width] => 101 [siemens_logo_height] => 29 [siemens_screensaver_width] => 101 [siemens_screensaver_height] => 50 [gprtf] => false [sagem_v1] => false [sagem_v2] => false [panasonic] => false [sms_enabled] => false [wav] => false [mmf] => false [smf] => false [mld] => false [midi_monophonic] => false [midi_polyphonic] => false [sp_midi] => false [rmf] => false [xmf] => false [compactmidi] => false [digiplug] => false [nokia_ringtone] => false [imelody] => false [au] => false [amr] => false [awb] => false [aac] => true [mp3] => true [voices] => 1 [qcelp] => false [evrc] => false [flash_lite_version] => [fl_wallpaper] => false [fl_screensaver] => false [fl_standalone] => false [fl_browser] => false [fl_sub_lcd] => false [full_flash_support] => true [css_supports_width_as_percentage] => true [css_border_image] => webkit [css_rounded_corners] => webkit [css_gradient] => none [css_spriting] => true [css_gradient_linear] => none [is_transcoder] => false [transcoder_ua_header] => user-agent [rss_support] => false [pdf_support] => true [progressive_download] => true [playback_vcodec_h263_0] => 10 [playback_vcodec_h263_3] => -1 [playback_vcodec_mpeg4_sp] => 0 [playback_vcodec_mpeg4_asp] => -1 [playback_vcodec_h264_bp] => 3.0 [playback_real_media] => none [playback_3gpp] => true [playback_3g2] => false [playback_mp4] => true [playback_mov] => false [playback_acodec_amr] => nb [playback_acodec_aac] => none [playback_df_size_limit] => 0 [playback_directdownload_size_limit] => 0 [playback_inline_size_limit] => 0 [playback_oma_size_limit] => 0 [playback_acodec_qcelp] => false [playback_wmv] => none [hinted_progressive_download] => true [html_preferred_dtd] => html4 [viewport_supported] => true [viewport_width] => device_width_token [viewport_userscalable] => no [viewport_initial_scale] => [viewport_maximum_scale] => [viewport_minimum_scale] => [mobileoptimized] => false [handheldfriendly] => false [canvas_support] => full [image_inlining] => true [is_smarttv] => false [is_console] => false [nfc_support] => false [ux_full_desktop] => false [jqm_grade] => A [is_sencha_touch_ok] => false ) ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>Zsxsoft<br /><small>1.3</small><br /></td><td>Google Chrome 18.0.1025.166</td><td><i class="material-icons">close</i></td><td>Android 4.0.4</td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0.001</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-5d43e024-b46c-44f6-8914-529b05569bc2">Detail</a> <!-- Modal Structure --> <div id="modal-5d43e024-b46c-44f6-8914-529b05569bc2" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>Zsxsoft result detail</h4> <p><pre><code class="php">Array ( [browser] => Array ( [link] => http://google.com/chrome/ [title] => Google Chrome 18.0.1025.166 [name] => Google Chrome [version] => 18.0.1025.166 [code] => chrome [image] => img/16/browser/chrome.png ) [os] => Array ( [link] => http://www.android.com/ [name] => Android [version] => 4.0.4 [code] => android [x64] => [title] => Android 4.0.4 [type] => os [dir] => os [image] => img/16/os/android.png ) [device] => Array ( [link] => [title] => [model] => [brand] => [code] => null [dir] => device [type] => device [image] => img/16/device/null.png ) [platform] => Array ( [link] => http://www.android.com/ [name] => Android [version] => 4.0.4 [code] => android [x64] => [title] => Android 4.0.4 [type] => os [dir] => os [image] => img/16/os/android.png ) ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr></table> </div> <div class="section"> <h1 class="header center orange-text">About this comparison</h1> <div class="row center"> <h5 class="header light"> The primary goal of this project is simple<br /> I wanted to know which user agent parser is the most accurate in each part - device detection, bot detection and so on...<br /> <br /> The secondary goal is to provide a source for all user agent parsers to improve their detection based on this results.<br /> <br /> You can also improve this further, by suggesting ideas at <a href="https://github.com/ThaDafinser/UserAgentParserComparison">ThaDafinser/UserAgentParserComparison</a><br /> <br /> The comparison is based on the abstraction by <a href="https://github.com/ThaDafinser/UserAgentParser">ThaDafinser/UserAgentParser</a> </h5> </div> </div> <div class="card"> <div class="card-content"> Comparison created <i>2016-05-10 07:55:36</i> | by <a href="https://github.com/ThaDafinser">ThaDafinser</a> </div> </div> </div> <script src="https://code.jquery.com/jquery-2.1.4.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/js/materialize.min.js"></script> <script src="http://cdnjs.cloudflare.com/ajax/libs/list.js/1.2.0/list.min.js"></script> <script> $(document).ready(function(){ // the "href" attribute of .modal-trigger must specify the modal ID that wants to be triggered $('.modal-trigger').leanModal(); }); </script> </body> </html>
ThaDafinser/UserAgentParserComparison
v5/user-agent-detail/3e/c9/3ec9c568-cdc4-4dc2-a5d5-41ea35a5f137.html
HTML
mit
56,536
<?php declare(strict_types=1); namespace Granam\Tests\ExceptionsHierarchy\Exceptions\DummyExceptionsHierarchy\NotAnException; class IThoughtIAmException implements Runtime { }
jaroslavtyc/granam-exception-hierarchy
tests/ExceptionsHierarchy/Exceptions/DummyExceptionsHierarchy/NotAnException/IThoughtIAmException.php
PHP
mit
179
<?php // Get the PHP helper library from https://twilio.com/docs/libraries/php require_once '/path/to/vendor/autoload.php'; // Loads the library use Twilio\Rest\Client; // Your Account Sid and Auth Token from twilio.com/user/account // To set up environmental variables, see http://twil.io/secure $sid = getenv('TWILIO_ACCOUNT_SID'); $token = getenv('TWILIO_AUTH_TOKEN'); $client = new Client($sid, $token); $account = $client->api->accounts->create(array( 'FriendlyName' => 'Submarine' )); echo $account->sid;
TwilioDevEd/api-snippets
rest/subaccounts/creating-subaccounts-example-1/creating-subaccounts-example-1.5.x.php
PHP
mit
518
module Mutations class TeamInvite::AcceptInvite < BaseMutation null true argument :team_invite_id, ID, required: true, description: 'The ID of the team invite to accept' field :team_invite, Types::TeamInviteType, null: true def resolve(team_invite_id:) team_invite = ::TeamInvite.find(team_invite_id) if team_invite.complete? raise GraphQL::ExecutionError, 'This invite is already accepted/declined' else team_invite.accept { team_invite: team_invite } end end end end
kabisa/kudo-o-matic
app/graphql/mutations/team_invite/accept_invite.rb
Ruby
mit
544
<?php /** * Created by PhpStorm. * User: richardmccarthy * Date: 07/11/14 * Time: 20:48 */ namespace RMC\SymfonyClassroomBundle\Controller; use FOS\RestBundle\Controller\FOSRestController; use Symfony\Component\HttpFoundation\Request, Symfony\Component\HttpFoundation\Response, Symfony\Bundle\FrameworkBundle\Controller\Controller; use FOS\RestBundle\View\RouteRedirectView, FOS\RestBundle\View\View, FOS\RestBundle\Controller\Annotations\QueryParam, FOS\RestBundle\Request\ParamFetcherInterface, FOS\RestBundle\Controller\Annotations\Route, FOS\RestBundle\Controller\Annotations\Prefix; use Symfony\Component\Routing\Exception\ResourceNotFoundException; /** * Class UserController * @package RMC\SymfonyClassroomBundle\Controller * * @Prefix("/api") */ class UserController extends FOSRestController { /** * @param $id * @return mixed * * @Route("/user/{id}") * * Route name generated will be: "get_user" * URL for the [GET] action will be: /user/{id} */ public function getUserAction( $id ) { $userManager = $this -> container -> get('fos_user.user_manager'); $data = $userManager -> findUserBy(array('id' => $id)); if ( is_null($data) ) { throw new ResourceNotFoundException('No such user exists'); } $view = $this -> view($data, 200); return $this->handleView($view); } } // Sample code from the FOSUserBundle // The user manager is available in the container as the fos_user.user_manager service. // $userManager = $container->get('fos_user.user_manager'); /* CODE SAMPLE FOR FETCHING STUFF USING DOCTRINE FROM THE DATABASE... $product = $this->getDoctrine() ->getRepository('AcmeStoreBundle:Product') ->find($id); */ /* * @Route("", condition="context.getMethod() in ['GET', 'HEAD'] and request.headers.get('User-Agent') matches '/firefox/i'") SYMFONY REGULAR ANNOTATION TYPE ROUTE... * @Route("/{id}") public function showAction($id) ========================================== * @QueryParam(name="page", requirements="\d+", default="1", description="Page of the overview.") @QueryParam(name="page", requirements="\d+", default="1", description="Page of the overview.") * @ApiDoc() public function getArticlesAction(ParamFetcherInterface $paramFetcher) { $page = $paramFetcher->get('page'); $articles = array('bim', 'bam', 'bingo'); $data = new HelloResponse($articles, $page); $view = new View($data); $view->setTemplate('LiipHelloBundle:Rest:getArticles.html.twig'); return $this->get('fos_rest.view_handler')->handle($view); } public function getUserAction($slug) {} // "get_user" [GET] /users/{slug} */
mccarthyr/symfonyClassroomLearning
src/RMC/SymfonyClassroomBundle/Controller/UserController.php
PHP
mit
2,753
/* name: MapTile.js des: 地图全屏操作 date: 2016-06-02 author: liulin 修改为用js加载 */ ES.MapControl.ESMapFull = ES.Evented.extend({ oOption: { // 加载全屏按钮容器 cSelfDiv: 'ex-map-full', // 父级容器 acParentDivClass: [ 'ex-layout-maptool', 'ex-theme-maptool', 'ex-map-top', 'ex-map-right' ], className: '', title: '地图全屏', }, oUIConfig: { div: { 'class': 'ex-maptool-box ex-map-full', i: {'class': 'ec-icon-expand'}, html: '&nbsp;&nbsp;全屏' } }, // 构造函数 initialize: function (oMapBase, options) { ES.setOptions(this, options); // 获得地图控件 this._oMapBase = oMapBase; this._oMap = oMapBase._oMap; //图层 this._layers = {}; //记录最近一次的div Z-index this._lastZIndex = 0; this._oContainer = $('.' + this.oOption.acParentDivClass.join('.')).eq(0); //var aoLayer = this._oMapBase.getBaseLayers(); // 设置父级容器的事件 this.setParentEvent(); this.initUI(); }, // 设置父级容器的事件 setParentEvent: function () { // 屏蔽事件 //L.DomEvent.addListener(this._oContainer.get(0), 'dblclick', L.DomEvent.stopPropagation); //L.DomEvent.addListener(this._oContainer.get(0), 'mousemove', L.DomEvent.stopPropagation); //L.DomEvent.addListener(this._oContainer.get(0), 'mousewheel', L.DomEvent.stopPropagation); }, //加载工具事件,初始化工具栏 initUI: function () { ES.initTag(this._oContainer, this.oUIConfig); this.initToolEvent(); }, //初始化工具栏事件 initToolEvent: function () { //地图全屏按钮 $('.' + this.oOption.cSelfDiv).bind('click', function () { if (!($.AMUI.fullscreen.isFullscreen)) { $('body').addClass('map_full'); $(this).html('<i class="ec-icon-compress"></i>&nbsp;&nbsp;恢复'); } else { $('body').removeClass('map_full'); $(this).html('<i class="ec-icon-expand"></i>&nbsp;&nbsp;全屏'); } $.AMUI.fullscreen.toggle(); }); }, });
274508773/ESPage
src/MapControl/es_tool_new/MapFull.js
JavaScript
mit
2,419
/** * SmithNgine Game Framework * * Copyright (C) 2013 by Erno Pakarinen / Codesmith (www.codesmith.fi) * All Rights Reserved * * For licensing terms, see License.txt which reflects to the current license * of this framework. */ namespace Codesmith.SmithNgine.Particles.Generators { using System; using Codesmith.SmithNgine.MathUtil; using Microsoft.Xna.Framework; [Serializable] public class ConstantColorGenerator : PropertyGenerator { public Color Color { get; set; } public ConstantColorGenerator() : this(Color.White) { } public ConstantColorGenerator(Color color) { Color = color; } public override void Apply(Particle p) { p.Color = Color; } } }
codesmith-fi/smithngine
smithNgine/Particles/Generators/ConstantColorGenerator.cs
C#
mit
815
/** The MIT License (MIT) Copyright(c) 2016 Maxim V.Tsapov */ import { Utils, IBaseObject, IEditable, IErrorNotification, IValidationInfo, IVoidPromise, BaseObject, LocaleERRS as ERRS, LocaleSTRS as STRS, Debounce } from "jriapp_shared"; import { IFieldInfo } from "jriapp_shared/collection/int"; import { $ } from "jriapp/utils/jquery"; import { DomUtils } from "jriapp/utils/dom"; import { DATA_ATTR, ELVIEW_NM } from "jriapp/const"; import { ViewChecks } from "jriapp/utils/viewchecks"; import { IApplication, IContent, IElView, ILifeTimeScope, IViewOptions } from "jriapp/int"; import { Parser } from "jriapp/utils/parser"; import { bootstrap } from "jriapp/bootstrap"; import { BaseElView, fn_addToolTip } from "./baseview"; import { Binding } from "jriapp/binding"; import { parseContentAttr } from "./content/int"; const utils = Utils, dom = DomUtils, doc = dom.document, checks = utils.check, coreUtils = utils.core, strUtils = utils.str, sys = utils.sys, parser = Parser, boot = bootstrap, viewChecks = ViewChecks; export const css = { dataform: "ria-dataform", error: "ria-form-error" }; viewChecks.setIsInsideTemplate = function (elView: BaseElView) { if (!!elView && elView instanceof DataFormElView) { (<DataFormElView>elView).form.isInsideTemplate = true; } }; viewChecks.isDataForm = function (el: HTMLElement): boolean { if (!el) { return false; } if (el.hasAttribute(DATA_ATTR.DATA_FORM)) { return true; } else { const attr = el.getAttribute(DATA_ATTR.DATA_VIEW); if (!attr) { return false; } const opts = parser.parseOptions(attr); return (opts.length > 0 && opts[0].name === ELVIEW_NM.DataForm); } }; viewChecks.isInsideDataForm = function (el: HTMLElement): boolean { if (!el) { return false; } const parent = el.parentElement; if (!!parent) { if (!viewChecks.isDataForm(parent)) { return viewChecks.isInsideDataForm(parent); } else { return true; } } return false; }; //check if the element inside of any dataform in the forms array viewChecks.isInNestedForm = function (root: any, forms: HTMLElement[], el: HTMLElement): boolean { let i: number, oNode: HTMLElement, len = forms.length; if (len === 0) { return false; } oNode = el.parentElement; while (!!oNode) { for (i = 0; i < len; i += 1) { if (oNode === forms[i]) { //we found the form to be among the parents return true; } } if (!!root && oNode === root) { //reached up to the root return false; } //try parent element oNode = oNode.parentElement; } return false; }; /* in case of dataforms nesting, element's parent dataform can be nested dataform this function returns element dataform */ viewChecks.getParentDataForm = function (rootForm: HTMLElement, el: HTMLElement): HTMLElement { if (!el) return null; let parent = el.parentElement, attr: string, opts: any[]; if (!!parent) { if (parent === rootForm) return rootForm; if (viewChecks.isDataForm(parent)) { return parent; } else return viewChecks.getParentDataForm(rootForm, parent); } return null; }; function getFieldInfo(obj: any, fieldName: string): IFieldInfo { if (!obj) return null; if (!!obj._aspect && checks.isFunc(obj._aspect.getFieldInfo)) { return obj._aspect.getFieldInfo(fieldName); } else if (checks.isFunc(obj.getFieldInfo)) { return obj.getFieldInfo(fieldName); } else return null; } const PROP_NAME = { dataContext: "dataContext", isEditing: "isEditing", validationErrors: "validationErrors", form: "form" }; export class DataForm extends BaseObject { private static _DATA_FORM_SELECTOR = ["*[", DATA_ATTR.DATA_FORM, "]"].join(""); private static _DATA_CONTENT_SELECTOR = ["*[", DATA_ATTR.DATA_CONTENT, "]:not([", DATA_ATTR.DATA_COLUMN, "])"].join(""); private _el: HTMLElement; private _objId: string; private _dataContext: IBaseObject; private _isEditing: boolean; private _content: IContent[]; private _lfTime: ILifeTimeScope; private _contentCreated: boolean; private _editable: IEditable; private _errNotification: IErrorNotification; private _parentDataForm: IElView; private _errors: IValidationInfo[]; private _isInsideTemplate: boolean; private _contentPromise: IVoidPromise; constructor(options: IViewOptions) { super(); const self = this; this._el = options.el; this._objId = coreUtils.getNewID("frm"); this._dataContext = null; dom.addClass([this._el], css.dataform); this._isEditing = false; this._content = []; this._lfTime = null; this._contentCreated = false; this._editable = null; this._errNotification = null; this._parentDataForm = null; this._errors = null; this._contentPromise = null; const parent = viewChecks.getParentDataForm(null, this._el); //if this form is nested inside another dataform //subscribe for parent's destroy event if (!!parent) { self._parentDataForm = this.app.viewFactory.getOrCreateElView(parent); self._parentDataForm.addOnDestroyed(function (sender, args) { //destroy itself if parent form is destroyed if (!self._isDestroyCalled) self.destroy(); }, self._objId); } } private _getBindings(): Binding[] { if (!this._lfTime) return []; let arr: any[] = this._lfTime.getObjs(), res: Binding[] = []; for (let i = 0, len = arr.length; i < len; i += 1) { if (sys.isBinding(arr[i])) res.push(arr[i]); } return res; } private _getElViews(): BaseElView[] { if (!this._lfTime) return []; let arr: any[] = this._lfTime.getObjs(), res: BaseElView[] = []; for (let i = 0, len = arr.length; i < len; i += 1) { if (viewChecks.isElView(arr[i])) res.push(arr[i]); } return res; } private _createContent(): IVoidPromise { const dctx: any = this._dataContext, self = this; if (!dctx) { return; } const contentElements = utils.arr.fromList<HTMLElement>(this._el.querySelectorAll(DataForm._DATA_CONTENT_SELECTOR)), isEditing = this.isEditing; //select all dataforms inside the scope const forms = utils.arr.fromList<HTMLElement>(this._el.querySelectorAll(DataForm._DATA_FORM_SELECTOR)); contentElements.forEach(function (el) { //check if the element inside a nested dataform if (viewChecks.isInNestedForm(self._el, forms, el)) return; const attr = el.getAttribute(DATA_ATTR.DATA_CONTENT), op = parseContentAttr(attr); if (!!op.fieldName && !op.fieldInfo) { op.fieldInfo = getFieldInfo(dctx, op.fieldName); if (!op.fieldInfo) { throw new Error(strUtils.format(ERRS.ERR_DBSET_INVALID_FIELDNAME, "", op.fieldName)); } } const contentType = boot.contentFactory.getContentType(op); const content = new contentType({ parentEl: el, contentOptions: op, dataContext: dctx, isEditing: isEditing }); self._content.push(content); content.render(); }); const promise = self.app._getInternal().bindElements(this._el, dctx, true, this.isInsideTemplate); return promise.then((lftm) => { if (self.getIsDestroyCalled()) { lftm.destroy(); return; } self._lfTime = lftm; const bindings = self._getBindings(); bindings.forEach((binding) => { if (!binding.isSourceFixed) binding.source = dctx; }); self._contentCreated = true; }); } private _updateCreatedContent() { let dctx: any = this._dataContext, self = this; try { this._content.forEach(function (content) { content.dataContext = dctx; content.isEditing = self.isEditing; }); let bindings = this._getBindings(); bindings.forEach(function (binding) { if (!binding.isSourceFixed) binding.source = dctx; }); } catch (ex) { utils.err.reThrow(ex, this.handleError(ex, this)); } } private _updateContent() { const self = this; try { if (self._contentCreated) { self._updateCreatedContent(); } else { if (!!self._contentPromise) { self._contentPromise.then(() => { if (self.getIsDestroyCalled()) return; self._updateCreatedContent(); }, (err) => { if (self.getIsDestroyCalled()) return; self.handleError(err, self); }); } else { self._contentPromise = self._createContent(); } } } catch (ex) { utils.err.reThrow(ex, self.handleError(ex, self)); } } private _onDSErrorsChanged(sender?: any, args?: any) { if (!!this._errNotification) this.validationErrors = this._errNotification.getAllErrors(); } _onIsEditingChanged(sender: any, args: any) { this.isEditing = this._editable.isEditing; } private _bindDS() { const dataContext = this._dataContext, self = this; if (!dataContext) return; if (!!dataContext) { this._editable = sys.getEditable(dataContext); this._errNotification = sys.getErrorNotification(dataContext); } dataContext.addOnDestroyed(function (s, a) { self.dataContext = null; }, self._objId); if (!!this._editable) { (<IBaseObject><any>this._editable).addOnPropertyChange(PROP_NAME.isEditing, self._onIsEditingChanged, self._objId, self); } if (!!this._errNotification) { this._errNotification.addOnErrorsChanged(self._onDSErrorsChanged, self._objId, self); } } private _unbindDS() { const dataContext = this._dataContext; this.validationErrors = null; if (!!dataContext && !dataContext.getIsDestroyCalled()) { dataContext.removeNSHandlers(this._objId); if (!!this._editable) { (<IBaseObject><any>this._editable).removeNSHandlers(this._objId); } if (!!this._errNotification) { this._errNotification.removeOnErrorsChanged(this._objId); } } this._editable = null; this._errNotification = null; } private _clearContent() { this._content.forEach(function (content) { content.destroy(); }); this._content = []; if (!!this._lfTime) { this._lfTime.destroy(); this._lfTime = null; } this._contentCreated = false; } destroy() { if (this._isDestroyed) return; this._isDestroyCalled = true; this._clearContent(); dom.removeClass([this.el], css.dataform); this._el = null; this._unbindDS(); const parentDataForm = this._parentDataForm; this._parentDataForm = null; if (!!parentDataForm && !parentDataForm.getIsDestroyCalled()) { parentDataForm.removeNSHandlers(this._objId); } this._dataContext = null; this._contentCreated = false; this._contentPromise = null; super.destroy(); } toString() { return "DataForm"; } get app() { return boot.getApp(); } get el() { return this._el; } get dataContext() { return this._dataContext; } set dataContext(v) { if (v === this._dataContext) return; if (!!v && !sys.isBaseObj(v)) { throw new Error(ERRS.ERR_DATAFRM_DCTX_INVALID); } this._unbindDS(); this._dataContext = v; this._bindDS(); this._updateContent(); if (!!this._dataContext) { if (!!this._editable && this._isEditing !== this._editable.isEditing) { this.isEditing = this._editable.isEditing; } if (!!this._errNotification) { this._onDSErrorsChanged(); } } this.raisePropertyChanged(PROP_NAME.dataContext); } get isEditing() { return this._isEditing; } set isEditing(v) { let dataContext: any = this._dataContext; if (!dataContext) return; let isEditing = this._isEditing, editable: IEditable; if (!!this._editable) editable = this._editable; if (!editable && v !== isEditing) { this._isEditing = v; this._updateContent(); this.raisePropertyChanged(PROP_NAME.isEditing); return; } if (v !== isEditing && !!editable) { try { if (v) { editable.beginEdit(); } else { editable.endEdit(); } } catch (ex) { utils.err.reThrow(ex, this.handleError(ex, dataContext)); } } if (!!editable && editable.isEditing !== isEditing) { this._isEditing = editable.isEditing; this._updateContent(); this.raisePropertyChanged(PROP_NAME.isEditing); } } get validationErrors() { return this._errors; } set validationErrors(v) { if (v !== this._errors) { this._errors = v; this.raisePropertyChanged(PROP_NAME.validationErrors); } } get isInsideTemplate() { return this._isInsideTemplate; } set isInsideTemplate(v) { this._isInsideTemplate = v; } } export class DataFormElView extends BaseElView { private _form: DataForm; private _errorGliph: HTMLElement; constructor(options: IViewOptions) { super(options); const self = this; this._form = new DataForm(options); this._errorGliph = null; this._form.addOnPropertyChange("*", function (form, args) { switch (args.property) { case PROP_NAME.validationErrors: self.validationErrors = form.validationErrors; break; case PROP_NAME.dataContext: self.raisePropertyChanged(args.property); break; } }, this.uniqueID); } protected _getErrorTipInfo(errors: IValidationInfo[]) { const tip = ["<b>", STRS.VALIDATE.errorInfo, "</b>", "<ul>"]; errors.forEach(function (info) { let fieldName = info.fieldName, res = ""; if (!!fieldName) { res = STRS.VALIDATE.errorField + " " + fieldName } info.errors.forEach(function (str) { if (!!res) res = res + " -> " + str; else res = str; }); tip.push("<li>" + res + "</li>"); res = ""; }); tip.push("</ul>"); return tip.join(""); } protected _updateErrorUI(el: HTMLElement, errors: IValidationInfo[]) { if (!el) { return; } if (!!errors && errors.length > 0) { if (!this._errorGliph) { this._errorGliph = dom.fromHTML(`<div data-name="error_info" class="${css.error}" />`)[0]; dom.prepend(el, this._errorGliph); } fn_addToolTip(this._errorGliph, this._getErrorTipInfo(errors), true); this._setFieldError(true); } else { if (!!this._errorGliph) { fn_addToolTip(this._errorGliph, null); dom.removeNode(this._errorGliph); this._errorGliph = null; } this._setFieldError(false); } } destroy() { if (this._isDestroyed) return; this._isDestroyCalled = true; if (!!this._errorGliph) { dom.removeNode(this._errorGliph); this._errorGliph = null; } if (!this._form.getIsDestroyCalled()) { this._form.destroy(); } super.destroy(); } toString() { return "DataFormElView"; } get dataContext() { return this._form.dataContext; } set dataContext(v) { if (this.dataContext !== v) { this._form.dataContext = v; } } get form() { return this._form; } } boot.registerElView(ELVIEW_NM.DataForm, DataFormElView);
BBGONE/jRIApp
FRAMEWORK/CLIENT/addins/ui/jriapp_ui/dataform.ts
TypeScript
mit
17,543
<!-- Generated template for the Contacto page. See http://ionicframework.com/docs/components/#navigation for more info on Ionic pages and navigation. --> <ion-header> <ion-navbar> <ion-title>contacto</ion-title> </ion-navbar> </ion-header> <ion-content padding> <button ion-button block (click)="pushPage()">Push Page</button> <button ion-button block (click)="popPage()" color="danger">Pop Page</button> </ion-content>
AleSkywaker/Ionic2
AppPaginacionIonic2/src/pages/contacto/contacto.html
HTML
mit
444
using System; using System.Data; using System.Data.SqlClient; using Csla; using Csla.Data; using Invoices.DataAccess; namespace Invoices.DataAccess.Sql { /// <summary> /// DAL SQL Server implementation of <see cref="IInvoiceEditDal"/> /// </summary> public partial class InvoiceEditDal : IInvoiceEditDal { #region DAL methods /// <summary> /// Loads a InvoiceEdit object from the database. /// </summary> /// <param name="invoiceId">The Invoice Id.</param> /// <returns>A data reader to the InvoiceEdit.</returns> public IDataReader Fetch(Guid invoiceId) { using (var ctx = ConnectionManager<SqlConnection>.GetManager("Invoices")) { using (var cmd = new SqlCommand("dbo.GetInvoiceEdit", ctx.Connection)) { cmd.CommandType = CommandType.StoredProcedure; cmd.Parameters.AddWithValue("@InvoiceId", invoiceId).DbType = DbType.Guid; return cmd.ExecuteReader(); } } } /// <summary> /// Inserts a new InvoiceEdit object in the database. /// </summary> /// <param name="invoiceId">The Invoice Id.</param> /// <param name="invoiceNumber">The Invoice Number.</param> /// <param name="customerId">The Customer Id.</param> /// <param name="invoiceDate">The Invoice Date.</param> /// <param name="createDate">The Create Date.</param> /// <param name="createUser">The Create User.</param> /// <param name="changeDate">The Change Date.</param> /// <param name="changeUser">The Change User.</param> /// <returns>The Row Version of the new InvoiceEdit.</returns> public byte[] Insert(Guid invoiceId, string invoiceNumber, string customerId, SmartDate invoiceDate, SmartDate createDate, int createUser, SmartDate changeDate, int changeUser) { using (var ctx = ConnectionManager<SqlConnection>.GetManager("Invoices")) { using (var cmd = new SqlCommand("dbo.AddInvoiceEdit", ctx.Connection)) { cmd.CommandType = CommandType.StoredProcedure; cmd.Parameters.AddWithValue("@InvoiceId", invoiceId).DbType = DbType.Guid; cmd.Parameters.AddWithValue("@InvoiceNumber", invoiceNumber).DbType = DbType.String; cmd.Parameters.AddWithValue("@CustomerId", customerId).DbType = DbType.StringFixedLength; cmd.Parameters.AddWithValue("@InvoiceDate", invoiceDate.DBValue).DbType = DbType.Date; cmd.Parameters.AddWithValue("@CreateDate", createDate.DBValue).DbType = DbType.DateTime2; cmd.Parameters.AddWithValue("@CreateUser", createUser).DbType = DbType.Int32; cmd.Parameters.AddWithValue("@ChangeDate", changeDate.DBValue).DbType = DbType.DateTime2; cmd.Parameters.AddWithValue("@ChangeUser", changeUser).DbType = DbType.Int32; cmd.Parameters.Add("@NewRowVersion", SqlDbType.Timestamp).Direction = ParameterDirection.Output; cmd.ExecuteNonQuery(); return (byte[])cmd.Parameters["@NewRowVersion"].Value; } } } /// <summary> /// Updates in the database all changes made to the InvoiceEdit object. /// </summary> /// <param name="invoiceId">The Invoice Id.</param> /// <param name="invoiceNumber">The Invoice Number.</param> /// <param name="customerId">The Customer Id.</param> /// <param name="invoiceDate">The Invoice Date.</param> /// <param name="changeDate">The Change Date.</param> /// <param name="changeUser">The Change User.</param> /// <param name="rowVersion">The Row Version.</param> /// <returns>The updated Row Version.</returns> public byte[] Update(Guid invoiceId, string invoiceNumber, string customerId, SmartDate invoiceDate, SmartDate changeDate, int changeUser, byte[] rowVersion) { using (var ctx = ConnectionManager<SqlConnection>.GetManager("Invoices")) { using (var cmd = new SqlCommand("dbo.UpdateInvoiceEdit", ctx.Connection)) { cmd.CommandType = CommandType.StoredProcedure; cmd.Parameters.AddWithValue("@InvoiceId", invoiceId).DbType = DbType.Guid; cmd.Parameters.AddWithValue("@InvoiceNumber", invoiceNumber).DbType = DbType.String; cmd.Parameters.AddWithValue("@CustomerId", customerId).DbType = DbType.StringFixedLength; cmd.Parameters.AddWithValue("@InvoiceDate", invoiceDate.DBValue).DbType = DbType.Date; cmd.Parameters.AddWithValue("@ChangeDate", changeDate.DBValue).DbType = DbType.DateTime2; cmd.Parameters.AddWithValue("@ChangeUser", changeUser).DbType = DbType.Int32; cmd.Parameters.AddWithValue("@RowVersion", rowVersion).DbType = DbType.Binary; cmd.Parameters.Add("@NewRowVersion", SqlDbType.Timestamp).Direction = ParameterDirection.Output; var rowsAffected = cmd.ExecuteNonQuery(); if (rowsAffected == 0) throw new DataNotFoundException("InvoiceEdit"); return (byte[])cmd.Parameters["@NewRowVersion"].Value; } } } /// <summary> /// Deletes the InvoiceEdit object from database. /// </summary> /// <param name="invoiceId">The Invoice Id.</param> public void Delete(Guid invoiceId) { using (var ctx = ConnectionManager<SqlConnection>.GetManager("Invoices")) { using (var cmd = new SqlCommand("dbo.DeleteInvoiceEdit", ctx.Connection)) { cmd.CommandType = CommandType.StoredProcedure; cmd.Parameters.AddWithValue("@InvoiceId", invoiceId).DbType = DbType.Guid; var rowsAffected = cmd.ExecuteNonQuery(); if (rowsAffected == 0) throw new DataNotFoundException("InvoiceEdit"); } } } #endregion } }
CslaGenFork/CslaGenFork
trunk/CoverageTest/Invoices-CS-DAL-DR/Invoices.DataAccess.Sql/InvoiceEditDal.Designer.cs
C#
mit
6,530
# temas
iesalmunia-dam2-accesodatos/temas
README.md
Markdown
mit
8
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ namespace AsyncMethods.Properties { /// <summary> /// A strongly-typed resource class, for looking up localized strings, etc. /// </summary> // This class was auto-generated by the StronglyTypedResourceBuilder // class via a tool like ResGen or Visual Studio. // To add or remove a member, edit your .ResX file then rerun ResGen // with the /str option, or rebuild your VS project. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Resources { private static global::System.Resources.ResourceManager resourceMan; private static global::System.Globalization.CultureInfo resourceCulture; [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] internal Resources() { } /// <summary> /// Returns the cached ResourceManager instance used by this class. /// </summary> [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] internal static global::System.Resources.ResourceManager ResourceManager { get { if ((resourceMan == null)) { global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("AsyncMethods.Properties.Resources", typeof(Resources).Assembly); resourceMan = temp; } return resourceMan; } } /// <summary> /// Overrides the current thread's CurrentUICulture property for all /// resource lookups using this strongly typed resource class. /// </summary> [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] internal static global::System.Globalization.CultureInfo Culture { get { return resourceCulture; } set { resourceCulture = value; } } } }
nikolayvpavlov/Lectures-TPL-2017
Lecture 8/AsyncMethods/Properties/Resources.Designer.cs
C#
mit
2,783
module Rack module Signature class SortQueryParams def initialize(object) @object = object end def order deep_sort(@object) end def deep_sort(object) if object.is_a?(Array) deep_array_sort(object) elsif object.is_a?(Hash) deep_hash_sort(object) else object end end def deep_hash_sort(object) return object unless object.is_a?(Hash) hash = Hash.new object.each { |k,v| hash[k] = deep_sort(v) } sorted = hash.sort { |a,b| a[0].to_s <=> b[0].to_s } hash.class[sorted] end def deep_array_sort(object) object.map do |value| if value.is_a?(Hash) deep_hash_sort(value) else value end end end end end end
revans/rack-signature
lib/rack/signature/sort_query_params.rb
Ruby
mit
874
--- title: avm7 type: products image: /img/Screen Shot 2017-05-09 at 11.56.54 AM.png heading: m7 description: lksadjf lkasdjf lksajdf lksdaj flksadj flksa fdj main: heading: Foo Bar BAz description: |- ***This is i a thing***kjh hjk kj # Blah Blah ## Blah![undefined](undefined) ### Baah image1: alt: kkkk ---
pblack/kaldi-hugo-cms-template
site/content/pages2/avm7.md
Markdown
mit
337
#include "catch.hpp" #include <cstdlib> #include <chrono> #include <iostream> #include "CStringBuilder.hpp" using namespace tcsb; uint32_t HAL_GetTick() { return std::chrono::system_clock::now().time_since_epoch() / std::chrono::milliseconds(1); } TEST_CASE("CSctingBuilder vs. snprintf", "[Benchmark]") { int x; uint64_t count; char buffer[100]; // -------- REVERSE BENCHMARK 1----------- uint32_t start = HAL_GetTick(); uint64_t countDown = 100000; while (countDown--) { x = std::rand(); count++; if (!x) { INFO(buffer); } } uint32_t stop = HAL_GetTick(); sprintf(buffer, "rand %u", stop - start); //std::cout<<buffer<<std::endl; // -------- REVERSE BENCHMARK 2 ----------- start = HAL_GetTick(); countDown = 100000; while (countDown--) { x = std::rand(); snprintf(buffer, 100, "simple insertion of x=%i", x); count++; if (!x) { INFO(buffer); } } stop = HAL_GetTick(); sprintf(buffer, "snprintf %u", stop - start); INFO(buffer); // -------- REVERSE BENCHMARK 3 ----------- start = HAL_GetTick(); countDown = 10000000; while (countDown--) { x = std::rand(); CStringBuilder sb(buffer, 100); sb.add("simple insertion of x="); sb.add((uint32_t)x); count++; if (!x) { INFO(buffer); } } stop = HAL_GetTick(); sprintf(buffer, "CStringBuilder %u", stop - start); INFO(buffer); REQUIRE(true); }
DraTeots/TinyCStringBuilder
tests/Benchmark.cpp
C++
mit
1,603
'use strict' let React = require('react'), ReactDOM = require('react-dom'), $ = require('jquery'), d3 = require('d3'), storage = window.localStorage, ProgressBar = require('react-progress-bar-plus'), CheckOptionBox = require('../components/check-option-box'), CandleStickStockScaleChartWithVolumeHistogramV3 = require('../components/candle-stick-stock'), alert = require('../components/alert'), PageHeader = require('../components/page-header'); import { Button, Input, Modal, Grid, Row, Col, Glyphicon, Panel } from 'react-bootstrap'; let parseDate = d3.time.format("%Y-%m-%d").parse; let formatDate = d3.time.format("%Y-%m-%d"); // 筛选选项区域 const FilterOptionsBox = React.createClass({ // 过滤股票按钮点击事件 handleFilterClick: function handleFilterClick(event) { this.setState({ percent: 0, autoIncrement: true, intervalTime: 100 }); $.ajax({ url: this.props.filterUrl, dataType: 'json', data: { dealDate: this.state.dealDate, stockId: this.state.stockId, rsi: this.state.rsi, top: this.state.top, priceScale: this.state.priceScale, crossStar: this.state.crossStar, crossStarCount: this.state.crossStarCount, inconUpPriceScale: this.state.inconUpPriceScale }, cache: false, success: function(data) { this.setState({'filteredData': data}); this.props.onFilterClick(data); this.setState({ percent: -1 }); }.bind(this), error: function(xhr, status, err) { console.error(this.props.url, status, err.toString()); this.setState({ percent: -1 }); }.bind(this) }); }, // 保存股票模型按钮点击事件 handleSaveModuleClick: function handleSaveModuleClick(event) { this.setState({ percent: 0, autoIncrement: true, intervalTime: 100 }); alert.clearMessage(); if (storage.getItem('user.token')) { $.ajax({ url: this.props.saveModuleUrl, type: 'POST', dataType: 'json', headers: {authorization: storage.getItem('user.token')}, data: { moduleId: this.state.moduleId, options: JSON.stringify({ dealDate: this.state.dealDate, stockId: this.state.stockId, rsi: this.state.rsi, top: this.state.top, priceScale: this.state.priceScale, crossStar: this.state.crossStar, crossStarCount: this.state.crossStarCount, inconUpPriceScale: this.state.inconUpPriceScale } )}, cache: false, success: function(data) { if (data.ok) { alert.setMessage('info', '保存成功'); this.setState({moduleId: data.result}) } else { alert.setMessage('error', data.message); } this.setState({ percent: -1 }); }.bind(this), error: function(xhr, status, err) { console.error(this.props.url, status, err.toString()); this.setState({ percent: -1 }); }.bind(this) }); } else { this.setState({ percent: -1 }); alert.setMessage('error', '请先登录'); } }, // 模拟买入按钮点击事件 handleMockBuyClick: function handleMockBuyClick(event) { this.setState({ percent: 0, autoIncrement: true, intervalTime: 100 }); $.ajax({ url: this.props.mockBuyUrl, dataType: 'json', type: 'POST', data: {jsonData: JSON.stringify(this.state)}, cache: false, success: function(data) { console.log(data); let diffPercent = (Math.round(data.diff / data.buyAmount * 10000) / 100); this.setState({ showBuyResult: true, buyAmount: data.buyAmount, holdDay: data.holdDay, saleAmount: data.saleAmount, diff: data.diff, diffPercent: diffPercent, percent: -1 }); }.bind(this), error: function(xhr, status, err) { console.error(this.props.url, status, err.toString()); this.setState({ percent: -1 }); }.bind(this) }); }, handleDealDateChange: function(data) { this.setState({dealDate: data}); }, handleStockIdChange: function(data) { this.setState({stockId: data}); }, handleTopChange: function(data) { this.setState({top: data}); }, handleRSIChange: function(data) { this.setState({rsi: data}); }, handleHoldDateChange: function(data) { this.setState({holdDay: data}); }, handlePriceScaleChange: function(data) { this.setState({priceScale: data}); }, handleCrossStarChange: function(data) { this.setState({crossStar: data}); }, handleCrossStarCountChange: function(data) { this.setState({crossStarCount: data}); }, handleInconUpPriceScaleChange: function(data) { this.setState({inconUpPriceScale: data}); }, componentDidMount() { if (this.state.moduleId) { this.setState({ percent: 0, autoIncrement: true, intervalTime: 100 }); $.ajax({ url: this.props.getModuleUrl + this.state.moduleId, dataType: 'json', headers: {authorization: storage.getItem('user.token')}, cache: false, success: function(result) { if (result.ok) { if (this.isMounted()) { this.setState(result.data.options); } } else { alert.setMessage('error', result.message); } this.setState({ percent: -1, initDone: true }); }.bind(this), error: function(xhr, status, err) { console.error(this.props.url, status, err.toString()); this.setState({ percent: -1, initDone: true }); }.bind(this) }); } else { this.setState({initDone: true}); } }, getInitialState: function() { return { initDone: false, moduleId: this.props.moduleId, showBuyResult: false, buyAmount: 0, holdDay: 0, saleAmount: 0, diff: 0, percent: -1, autoIncrement: false, intervalTime: 200 }; }, close() { this.setState({ showBuyResult: false }); }, open() { this.setState({ showBuyResult: true }); }, render: function() { if (this.state.initDone) { return ( <Grid> <ProgressBar percent={this.state.percent} autoIncrement={this.state.autoIncrement} intervalTime={this.state.intervalTime} /> <alert.Alert /> <PageHeader.PageHeader title='创建模型' /> <Row className="show-grid"> <Col lg={12}> <h4>股票筛选</h4> </Col> </Row> <Panel collapsible defaultExpanded header="基础设置"> <CheckOptionBox label="指定交易日期" holder="请输入交易日期" defaultChecked={false} defaultValue={this.state.dealDate} help="如果不输入则默认为当前日期。样例:2015-01-01" onContentChange={this.handleDealDateChange} /> <CheckOptionBox label="指定股票代码" holder="请输入股票代码" defaultChecked={false} defaultValue={this.state.stockId} help="样例:000001" onContentChange={this.handleStockIdChange} /> <CheckOptionBox label="龙头股" holder="请输入日期范围、涨幅和取板块头X个股票" defaultChecked={false} defaultValue={this.state.top} help="样例:2015-12-01,2015-12-31,7,3" onContentChange={this.handleTopChange} /> </Panel> <Panel collapsible defaultExpanded header="涨跌相关"> <CheckOptionBox label="连续涨跌规律" holder="请输入连续涨跌规律" defaultChecked={false} defaultValue={this.state.priceScale} help="样例:2015-12-01,2015-12-31,7,7,-7(解释:从2015-12-01日到2015-12-31日,其中有一天涨幅超过7%,随后第二天涨幅超过7%,随后第三天[跌]幅超过7%)" onContentChange={this.handlePriceScaleChange} /> <CheckOptionBox label="间断上涨规律" holder="请输入间断上涨规律。" defaultChecked={false} defaultValue={this.state.inconUpPriceScale} help="样例:2015-12-01,2015-12-31,2,7(解释:从2015-12-01日到2015-12-31日,出现2次上涨幅度在7%以上的股票)" onContentChange={this.handleInconUpPriceScaleChange} /> </Panel> <Panel collapsible defaultExpanded header="十字星相关"> <CheckOptionBox label="十字星定义" holder="请输入十字星定义" defaultChecked={false} defaultValue={this.state.crossStar} help="样例:2015-11-01,2015-11-30,0.5,1,1(解释:从2015-12-01日到2015-12-31日,开盘价和收盘价之差在0.5%以内,上影线在1%以上,下影线在1%以上)" onContentChange={this.handleCrossStarChange} /> <CheckOptionBox label="间断出现十字星数量" holder="请输入间断十字星数量" defaultChecked={false} defaultValue={this.state.crossStarCount} help="样例:3(解释:大于等于3个十字星,不输入则默认为1)" onContentChange={this.handleCrossStarCountChange} /> </Panel> <Panel collapsible defaultExpanded header="指数相关"> <CheckOptionBox label="RSI1" holder="请输入范围" defaultChecked={false} defaultValue={this.state.rsi} help="样例:>80 or <=20" onContentChange={this.handleRSIChange} /> </Panel> <Button bsStyle="default" onClick={this.handleFilterClick}> <Glyphicon glyph="filter" /> 过滤股票 </Button> <Button bsStyle="danger" onClick={this.handleSaveModuleClick} style={{marginLeft: 10}}> <Glyphicon glyph="save-file" /> 保存模型 </Button> <Row className="show-grid"> <Col lg={12}> <hr /> <h4>模拟买入筛选股票</h4> </Col> </Row> <CheckOptionBox label="持有天数" holder="请输入持有天数(如果不输入则默认为7天)。样例:7" defaultChecked={false} onContentChange={this.handleHoldDateChange} /> <Button bsStyle="danger" onClick={this.handleMockBuyClick}> <Glyphicon glyph="yen" /> 模拟买入 </Button> <hr /> <Modal show={this.state.showBuyResult} onHide={this.close}> <Modal.Header closeButton> <Modal.Title>模拟买入结果</Modal.Title> </Modal.Header> <Modal.Body> <p>您的成绩如下:</p> <p>每股各买入100股,总买入金额为:{this.state.buyAmount}元</p> <p>持有{this.state.holdDay}天后卖出,总卖出金额为:{this.state.saleAmount}元</p> <p>结果为:{this.state.diff}元 / {this.state.diffPercent}%</p> </Modal.Body> <Modal.Footer> <Button onClick={this.close}>关闭</Button> </Modal.Footer> </Modal> </Grid> ); } return ( <Grid> <ProgressBar percent={this.state.percent} autoIncrement={this.state.autoIncrement} intervalTime={this.state.intervalTime} /> <alert.Alert /> </Grid> ); } }); // 股票列表 import {Table, Column, Cell} from 'fixed-data-table'; const DateCell = ({rowIndex, data, col}) => ( <Cell> {data[rowIndex][col]} </Cell> ); const TextCell = ({rowIndex, data, col}) => ( <Cell> {data[rowIndex][col]} </Cell> ); const StockTable = React.createClass({ handleNextTransDayChange: function(data) { this.setState({nextTransDay: data}); }, getLastTransData: function(needShowMockBuyResult) { if (this.state.selectedStockId) { let nextTransDate = new Date(); // 检查是否指定随后天数,没有就默认为当天 if (this.state.nextTransDay) { nextTransDate = new Date((new Date(parseDate(this.state.selectedDealDate))).getTime() + this.state.nextTransDay * 24 * 60 * 60 * 1000); } this.setState({ percent: 0, autoIncrement: true, intervalTime: 100 }); $.ajax({ url: "/api/stock/transactions", dataType: 'json', data: { dealDate: formatDate(nextTransDate), stockId: this.state.selectedStockId }, cache: false, success: function(data) { data.forEach((d, i) => { d.date = new Date(parseDate(d.date).getTime()); d.open = +d.open; d.high = +d.high; d.low = +d.low; d.close = +d.close; d.volume = (+d.volume) / 100; // 需要将股转成手 // console.log(d); }); /* change the type from hybrid to svg to compare the performance between svg and canvas */ ReactDOM.render( <CandleStickStockScaleChartWithVolumeHistogramV3 data={data} type="hybrid" />, document.getElementById("chart")); if (needShowMockBuyResult) { console.log(data[data.length - 1]); console.log(this.state.selectedClose); let buyAmount = Math.round(this.state.selectedClose * 100); let saleAmount = data[data.length - 1].close * 100; let diff = saleAmount - buyAmount; let diffPercent = (Math.round(diff / buyAmount * 10000) / 100); let holdDay = Math.ceil((nextTransDate - parseDate(this.state.selectedDealDate)) / (1000 * 3600 * 24)); this.setState({ showBuyResult: true, buyAmount: buyAmount, holdDay: holdDay, saleAmount: saleAmount, diff: diff, diffPercent: diffPercent, percent: -1 }); } }.bind(this), error: function(xhr, status, err) { console.error("/api/stock/transactions", status, err.toString()); this.setState({ percent: -1 }); }.bind(this) }); } }, handleMockBuyClick: function() { this.getLastTransData(true); }, handleGetLastTransDataClick: function() { this.getLastTransData(false); }, getInitialState: function() { return { selectedStockId: null, selectedStockName: "", selectedDealDate: null, showBuyResult: false, buyAmount: 0, holdDay: 0, saleAmount: 0, diff: 0 }; }, close() { this.setState({ showBuyResult: false }); }, open() { this.setState({ showBuyResult: true }); }, render: function() { let self = this; return ( <Grid> <ProgressBar percent={this.state.percent} autoIncrement={this.state.autoIncrement} intervalTime={this.state.intervalTime} /> <Row> <Col lg={12}> <Table rowHeight={50} rowsCount={this.props.data.length} width={1000} height={400} headerHeight={50} rowClassNameGetter={function(rowIndex) { return ''; }} onRowClick={ function(e, rowIndex) { self.setState({ selectedStockId: self.props.data[rowIndex].stock_id, selectedStockName: self.props.data[rowIndex].stock_name, selectedDealDate: self.props.data[rowIndex].date, selectedClose: self.props.data[rowIndex].close, percent: 0, autoIncrement: true, intervalTime: 100 }); $.ajax({ url: "/api/stock/transactions", dataType: 'json', data: { dealDate: self.props.data[rowIndex].date, stockId: self.props.data[rowIndex].stock_id }, cache: false, success: function(data) { data.forEach((d, i) => { d.date = new Date(parseDate(d.date).getTime()); d.open = +d.open; d.high = +d.high; d.low = +d.low; d.close = +d.close; d.volume = (+d.volume) / 100; // 需要将股转成手 // console.log(d); }); console.log(data); /* change the type from hybrid to svg to compare the performance between svg and canvas */ ReactDOM.render( <CandleStickStockScaleChartWithVolumeHistogramV3 data={data} type="hybrid" />, document.getElementById("chart")); self.setState({ percent: -1 }); }.bind(this), error: function(xhr, status, err) { console.error("/api/stock/transactions", status, err.toString()); self.setState({ percent: -1 }); }.bind(this) }); } } {...this.props}> <Column header={<Cell>股票代码</Cell>} cell={<TextCell data={this.props.data} col="stock_id" />} width={100} /> <Column header={<Cell>股票名称</Cell>} cell={<TextCell data={this.props.data} col="stock_name" />} width={100} /> <Column header={<Cell>所属行业</Cell>} cell={<TextCell data={this.props.data} col="industry" />} width={100} /> <Column header={<Cell>统计最后日期</Cell>} cell={<DateCell data={this.props.data} col="date" />} width={140} /> <Column header={<Cell>收盘价</Cell>} cell={<TextCell data={this.props.data} col="close" />} width={100} /> <Column header={<Cell>RSI1</Cell>} cell={<TextCell data={this.props.data} col="rsi1" />} width={100} /> <Column header={<Cell>RSI2</Cell>} cell={<TextCell data={this.props.data} col="rsi2" />} width={100} /> <Column header={<Cell>RSI3</Cell>} cell={<TextCell data={this.props.data} col="rsi3" />} width={100} /> </Table> <small>* 点击股票可以查看该股票的K线图</small> </Col> </Row> <Row> <Col lg={12}> <h3>{this.state.selectedStockName}</h3> <div id="chart" ></div> <hr /> <CheckOptionBox label="查看随后X天走势" holder="请输入想要看的随后走势天数(如果不输入则默认为到当前日期)。样例:7" defaultChecked={false} onContentChange={this.handleNextTransDayChange} /> <Button onClick={this.handleGetLastTransDataClick}> <Glyphicon glyph="search" /> 查看随后走势 </Button> <Button bsStyle="danger" onClick={this.handleMockBuyClick} style={{marginLeft: 10}}> <Glyphicon glyph="yen" /> 查看随后走势并模拟买入 </Button> </Col> </Row> <Modal show={this.state.showBuyResult} onHide={this.close}> <Modal.Header closeButton> <Modal.Title>模拟买入结果</Modal.Title> </Modal.Header> <Modal.Body> <p>您的成绩如下:</p> <p>买入【{this.state.selectedStockName}】100股,买入金额为:{this.state.buyAmount}元</p> <p>持有{this.state.holdDay}天后卖出,卖出金额为:{this.state.saleAmount}元</p> <p>结果为:{this.state.diff}元 / {this.state.diffPercent}%</p> </Modal.Body> <Modal.Footer> <Button onClick={this.close}>关闭</Button> </Modal.Footer> </Modal> </Grid> ); } }); const FilterStockBox = React.createClass({ handleFilterClick: function(data) { this.setState({data: data}); }, getInitialState: function() { return { data: [] }; }, render: function() { return ( <div className="filterStockBox"> <FilterOptionsBox moduleId={this.props.moduleId} getModuleUrl="/api/module/" filterUrl="/api/stock/filter" mockBuyUrl="/api/stock/mockBuy" saveModuleUrl="/api/module/save" onFilterClick={this.handleFilterClick} /> <Row> <Col lg={12}> <StockTable data={this.state.data} /> </Col> </Row> </div> ); } }); const CreateModule = React.createClass({ render: function() { return ( <FilterStockBox moduleId={this.props.params.moduleId} /> ); } }); module.exports = CreateModule;
ytll21/react-is-cool
core/server/views/js/partials/create-module.js
JavaScript
mit
25,237
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("01.HelloName")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("01.HelloName")] [assembly: AssemblyCopyright("Copyright © 2017")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] // The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid("5771add6-01f7-4fde-8469-dc016c812681")] // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")]
NikiSpasov/Progr_Fundamentals
ObjectsAndClasses/MethodsAndDebugging/MethodsAndDebuggingHmwrk/01.HelloName/Properties/AssemblyInfo.cs
C#
mit
1,400
import { Component, AfterViewInit, OnInit, ElementRef } from '@angular/core'; import { Router, ActivatedRoute } from '@angular/router'; import { AuthenticationService } from '../shared/authentication/index'; declare const fabric: any; /** * This class represents the AdminComponent. */ @Component({ moduleId: module.id, selector: 'login', templateUrl: 'login.component.html', styleUrls: ['login.component.css'] }) export class LoginComponent implements AfterViewInit, OnInit { model: any = {}; loading: boolean = false; returnUrl: string = ""; private errorMessage: string; constructor( private router: Router, private route: ActivatedRoute, private authentication: AuthenticationService, private elementRef: ElementRef) { } login(event: any) { this.loading = true; this.authentication.login(this.model.username, this.model.password) .subscribe( data => { this.router.navigate([this.returnUrl]); }, error => { console.log("Error:", error); //this.alertService.error(error); this.loading = false; }); } ngOnInit() { // reset login status this.authentication.logout(); // get return url from route parameters or default to '/' this.returnUrl = this.route.snapshot.params['returnUrl'] || 'home'; } ngAfterViewInit() { let TextFieldElements = this.elementRef.nativeElement.querySelectorAll(".ms-TextField"); for (var i = 0; i < TextFieldElements.length; i++) { new fabric['TextField'](TextFieldElements[i]); } let ButtonElements = this.elementRef.nativeElement.querySelectorAll(".ms-Button"); for (var i = 0; i < ButtonElements.length; i++) { new fabric['Button'](ButtonElements[i], function () { // Insert Event Here }); } } }
ronikurnia1/ClientApp
src/client/app/login/login.component.ts
TypeScript
mit
1,819
/* * eWinSelect.cpp * * Created on: 14. 9. 2015 * Author: ondra */ #include "winpch.h" #include "winSelect.h" #include "../exceptions/systemException.h" #include "../exceptions/invalidParamException.h" #include "../containers/autoArray.tcc" #include "../containers/sort.tcc" #include "../debug/dbglog.h" #include "../streams/netio_ifc.h" #include <ws2ipdef.h> #include "../containers/map.tcc" namespace LightSpeed { int pipeCloseOnExec(int *fds); WinSelect::WinSelect():rdpos(0),wrpos(0),epos(0) { wakefd = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); if (wakefd == INVALID_SOCKET) throw ErrNoException(THISLOCATION, WSAGetLastError()); SOCKADDR_IN sin; sin.sin_family = AF_INET; sin.sin_addr.S_un.S_un_b.s_b1 = 127; sin.sin_addr.S_un.S_un_b.s_b2 = 0; sin.sin_addr.S_un.S_un_b.s_b3 = 0; sin.sin_addr.S_un.S_un_b.s_b4 = 1; sin.sin_port = 0; if (bind(wakefd, (SOCKADDR *)&sin, sizeof(sin)) == SOCKET_ERROR) { DWORD err = WSAGetLastError(); closesocket(wakefd); throw ErrNoException(THISLOCATION, err); } int len = sizeof(wakeaddr); getsockname(wakefd, reinterpret_cast<SOCKADDR *>(&wakeaddr), &len); } WinSelect::~WinSelect() { closesocket(wakefd); } void WinSelect::set(int fd, natural waitFor, Timeout tm, void* userData) { SOCKET s = (SOCKET)fd; if (waitFor == 0) { bool found; SocketMap::Iterator iter = socketMap.seek(fd,&found); if (found) { const FdInfo &fdinfo = iter.peek().value; if (fdinfo.activeIndex != naturalNull) { if (fdinfo.activeIndex < activeSockets.length() - 1) { std::swap(activeSockets(fdinfo.activeIndex), activeSockets(activeSockets.length() - 1)); activeSockets[fdinfo.activeIndex]->activeIndex = fdinfo.activeIndex; } activeSockets.trunc(1); } socketMap.erase(iter); } } else { FdInfo &fdinfo = socketMap(s); fdinfo.socket = s; fdinfo.timeout = tm; fdinfo.waitFor = waitFor; fdinfo.userData = userData; if (fdinfo.activeIndex == naturalNull) { fdinfo.activeIndex = activeSockets.length(); activeSockets.add(&fdinfo); } } } void WinSelect::wakeUp(natural reason) throw () { byte b = 1; sendto(wakefd, reinterpret_cast<const char *>(&b), 1, 0, reinterpret_cast<SOCKADDR *>(&wakeaddr), sizeof(wakeaddr)); } int WinSelect::getFd(const FdInfo* finfo) { return finfo->socket; } WinSelect::WaitStatus WinSelect::wait(const Timeout& tm, Result& result) { readfds.reserve(1 + activeSockets.length()); exceptfds.reserve(1 + activeSockets.length()); writefds.reserve(activeSockets.length()); WaitStatus x = walkResult(result); if (x != waitNone) return x; do { Timeout finTm = tm; const FdInfo *expireSoon = 0; readfds.reset(); writefds.reset(); exceptfds.reset(); wrpos = rdpos = epos = 0; readfds.add(wakefd); for (natural i = 0, cnt = activeSockets.length(); i < cnt; i++) { const FdInfo *fdinfo = activeSockets[i]; if (fdinfo->waitFor & INetworkResource::waitForInput) { readfds.add((SOCKET)fdinfo->socket); exceptfds.add((SOCKET)fdinfo->socket); } if (fdinfo->waitFor & INetworkResource::waitForOutput) { writefds.add((SOCKET)fdinfo->socket); } if (fdinfo->timeout < finTm) { expireSoon = fdinfo; finTm = fdinfo->timeout; } } struct timeval wtm = finTm.getRemain().getTimeVal(); int res = select((int)socketMap.length(), readfds, writefds, exceptfds, finTm.isInfinite() ? 0 : &wtm); if (res == -1) { if (errno != EINTR) throw ErrNoException(THISLOCATION,WSAGetLastError()); } else if (res == 0) { if (tm.expired()) { return waitTimeout; } else { const FdInfo *finfo = expireSoon; result.fd = getFd(finfo); result.flags = 0; result.userData = finfo->userData; unset(finfo->socket); return waitEvent; } } else { return walkResult(result); } } while (true); } LightSpeed::WinSelect::WaitStatus WinSelect::walkResult(Result &result) { if (rdpos < readfds->fd_count) { return procesResult(readfds, rdpos++, INetworkResource::waitForInput,result); } if (wrpos < writefds->fd_count) { return procesResult(writefds, wrpos++, INetworkResource::waitForOutput, result); } if (epos < exceptfds->fd_count) { return procesResult(exceptfds, epos++, INetworkResource::waitForInput, result); } return waitNone; } void WinSelect::unset(int fd) { set(fd,0,nil,0); } void* WinSelect::getUserData(int fd) const { const FdInfo *r = socketMap.find(fd); if (r) return r->userData; else return 0; } LightSpeed::WinSelect::WaitStatus WinSelect::procesResult(const FdSetEx &readfds, natural rdpos, natural type, Result &result) { SOCKET fd = readfds->fd_array[rdpos]; natural revents = type; if (fd == wakefd) { char b; SOCKADDR_IN addr; int sinlen = sizeof(addr); int r = recvfrom(wakefd, &b, 1, 0,(SOCKADDR *)&addr, &sinlen); if (r == -1) throw ErrNoException(THISLOCATION, errno); result.fd = fd; result.userData = 0; result.reason = reason; return waitWakeUp; } else { FdInfo *finfo = socketMap.find(fd); if (finfo) { result.fd = fd; result.flags = revents; result.userData = finfo->userData; unset(fd); return waitEvent; } } return waitNone; } WinSelect::FdSetEx::FdSetEx() :allocated(0), fdset(0) { } WinSelect::FdSetEx::FdSetEx(const FdSetEx &other) { reserve(other->fd_count); for (natural i = 0; i < other->fd_count; i++) { add(other->fd_array[i]); } } WinSelect::FdSetEx & WinSelect::FdSetEx::operator=(const FdSetEx &other) { if (&other != this) { reset(); reserve(other->fd_count); for (natural i = 0; i < other->fd_count; i++) { add(other->fd_array[i]); } } return *this; } WinSelect::FdSetEx::~FdSetEx() { free(fdset); } void WinSelect::FdSetEx::reserve(natural count) { natural needsz = offsetof(fd_set, fd_array) + sizeof(SOCKET) * count; if (fdset == 0) { fdset = (fd_set *)malloc(needsz); fdset->fd_count = 0; allocated = count; } else if (allocated< count) { fdset = (fd_set *)realloc(fdset,needsz); allocated = count; } } void WinSelect::FdSetEx::reset() { fdset->fd_count = 0; } void WinSelect::FdSetEx::add(SOCKET s) { fdset->fd_array[fdset->fd_count] = s; fdset->fd_count++; } } /* namespace LightSpeed */
ondra-novak/lightspeed
src/lightspeed/base/windows/winSelect.cpp
C++
mit
6,220
/** * Tom Select v1.7.5 * Licensed under the Apache License, Version 2.0 (the "License"); */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../../tom-select.js')) : typeof define === 'function' && define.amd ? define(['../../tom-select'], factory) : (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.TomSelect)); }(this, (function (TomSelect) { 'use strict'; function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } var TomSelect__default = /*#__PURE__*/_interopDefaultLegacy(TomSelect); /** * Plugin: "input_autogrow" (Tom Select) * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this * file except in compliance with the License. You may obtain a copy of the License at: * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF * ANY KIND, either express or implied. See the License for the specific language * governing permissions and limitations under the License. * */ TomSelect__default['default'].define('no_backspace_delete', function () { var self = this; var orig_deleteSelection = self.deleteSelection; this.hook('instead', 'deleteSelection', function () { if (self.activeItems.length) { return orig_deleteSelection.apply(self, arguments); } return false; }); }); }))); //# sourceMappingURL=no_backspace_delete.js.map
cdnjs/cdnjs
ajax/libs/tom-select/1.7.5/js/plugins/no_backspace_delete.js
JavaScript
mit
1,662
<!-- Version Info: Version 4.0.4.4 Recent Change(s): Code cleanup Added method to hide old Vehicle Tab Fixed Spelling Mistakes Removed max thresholds that were identified as being too low Fixed typos in group sheet that copied variables to different areas --> <!--Is the Sheet for the Player or GM?--> <input type="radio" name="attr_gmdicepool" class="sheet-player" value="1" checked="checked" style="display:none"> <input type="radio" name="attr_gmdicepool" class="sheet-gm" value="2" style="display:none"> <div> <h3 class="sheet-section-header"><span style="font-size:11px">Fantasy Flight Games Star Wars Role Playing Game</span></h3> <div> <table> <tr> <td><img src="http://i.imgur.com/Rw85dQ1.jpg" alt="Fantasy Flight Games Star Wars Role Playing Game: Edge of the Empire" width="88" height="40"></td> <td><img src="http://i.imgur.com/UL3nBjn.jpg" alt="Fantasy Flight Games Star Wars Role Playing Game: Age of Rebellion" width="88" height="40"></td> <td><img src="http://i.imgur.com/zTe7Jcx.jpg" alt="Fantasy Flight Games Star Wars Role Playing Game: Force and Destiny" width="88" height="40"></td> </tr> </table><br /> </div> </div><!--Header & Game Line Pictures--> <!--Player Sheet Tabs--> <input type="radio" name="attr_pcgm" class="sheet-tab-new sheet-tab-character-sheet sheet-player-sheet" value="1" checked="checked" /> <span class="sheet-tab-new sheet-player-sheet">Character Sheet</span> <input type="radio" name="attr_pcgm" class="sheet-tab-new sheet-tab-ship-sheet sheet-player-sheet" value="2" /> <span class="sheet-tab-new sheet-player-sheet">Vehicle Sheet</span> <input type="radio" name="attr_pcgm" class="sheet-tab-new sheet-tab-base-sheet sheet-player-sheet" value="3" /> <span class="sheet-tab-new sheet-player-sheet">Group Sheet</span> <input type="radio" name="attr_pcgm" class="sheet-tab-new sheet-tab-companion-sheet sheet-player-sheet" value="4" /> <span class="sheet-tab-new sheet-player-sheet">Companion Sheet</span> <!--GM Sheet Tabs--> <input type="radio" name="attr_pcgm" class="sheet-tab-new sheet-tab-gm-dice sheet-gm-sheet" value="5" /> <span class="sheet-tab-new sheet-gm-sheet">GM Resources</span> <!--Player Sheet Tabs - Expanded--> <div class="sheet-tab-content sheet-tab-character-sheet"> <div class="sheet-row sheet-section-1"> <div class="sheet-small-12 sheet-column"> <table class="sheet-swsd" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td> <label class="sheet-label-title">Wounds</label> <input name="attr_wounds_max" type="number" min="1" value="1" /> <input name="attr_wounds" type="number" min="0" value="0" /><br /> <label class="sheet-label-threshold">Threshold</label> <label class="sheet-label-current">Current</label> </td> <td> <label class="sheet-label-title">Strain</label> <input name="attr_strain_max" type="number" min="1" value="1" /> <input name="attr_strain" type="number" min="0" value="0" /><br /> <label class="sheet-label-threshold">Threshold</label> <label class="sheet-label-current">Current</label> </td> <td rowspan="2"> <label class="sheet-label-title">Defense</label> <input name="attr_rangeddefense" type="number" max="10" min="0" value="0" /> <input name="attr_meleedefense" type="number" max="10" min="0" value="0" /><br /> <label class="sheet-label-range">Range</label> <label class="sheet-label-melee">Melee</label> </td> <td rowspan="2"> <label class="sheet-label-title">Encum</label> <input name="attr_encumbrance_max" type="number" min="1" value="1" /> <input name="attr_encumbrancemax" type="hidden" value="@{encumbrance|max}" disabled /> <input name="attr_encumbrance" type="number" min="0" value="0" /><br />--> <label class="sheet-label-threshold">Threshold</label> <label class="sheet-label-current">Current</label> </td> <td rowspan="2"> <label class="sheet-label-title">Force Rating</label> <input name="attr_forcerating" type="number" max="9" min="0" value="0" /> <input name="attr_forcecommitted" type="number" max="9" min="0" value="0" /><br /> <label class="sheet-label-threshold">Threshold</label> <label class="sheet-label-current">Committed</label> </td> </tr> <tr> <td colspan="2"> <label class="sheet-label-title">Soak</label> <input name="attr_soak" type="number" max="49" min="1" value="1" /> </td> </tr> </tbody> </table> </div><!-- Top Stats --> <div class="sheet-small-6 sheet-column"> <br /> <h3 class="sheet-section-header">Destiny Pool</h3> <table class="sheet-destiny" cellspaceing="0" cellpadding="0" border="0"> <tbody> <tr> <td colspan="1"> <button type='roll' class="sheet-btn-lightSide" name="Update-Dest-Pool" value='!eed characterID(@{character_id}) destiny registerPlayer'>Sync Pool with GM</button><br><br> <button type='roll' class="sheet-btn-lightSide" name="Roll-Destiny" value='!eed characterID(@{character_id}) 1w destiny doRoll'>Roll Destiny</button> </td> <td> <label>Light</label> <input name='attr_light' value="@{lightSidePoints}" type="number" disabled /> </td> <td> <button type='roll' class="sheet-btn-lightSide" name="Use-Darkside-Point" value='!eed characterID(@{character_id}) destiny useLight'>&#8592; Use Light Side</button> </td> <td> <label>Dark</label> <input name='attr_dark' value="@{darkSidePoints}" type="number" disabled /> </td> <td></td> </tr> </tbody> </table> <br> <div class="sheet-clear"></div> </div><!-- Destiny Pool --> <div class="sheet-small-12 sheet-column"> <h3 class="sheet-section-header">Dice Pool</h3> <table class="sheet-dice-pool" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td class="sheet-light"><img src="http://galacticcampaigns.com/images/EotE/Boost/boostBlank.png" /><input name="attr_b" type="number" step="1" max="9" min="0" value="0"></td> <td class="sheet-light"><img src="http://galacticcampaigns.com/images/EotE/Ability/abilityBlank.png" /><input name="attr_g" type="number" step="1" max="9" min="0" value="0"></td> <td class="sheet-light"><img src="http://galacticcampaigns.com/images/EotE/Proficiency/ProficiencyBlank.png" /><input name="attr_y" type="number" step="1" max="9" min="0" value="0"></td> <td class="sheet-force"><img src="http://galacticcampaigns.com/images/EotE/Force/ForceL.png" /><input name="attr_w" type="number" step="1" max="9" min="0" value="0"></td> <td class="sheet-dark"><img src="http://galacticcampaigns.com/images/EotE/Setback/SetBackBlank.png" /><input name="attr_blk" type="number" step="1" max="9" min="0" value="0"></td> <td class="sheet-dark"><img src="http://galacticcampaigns.com/images/EotE/Difficulty/DifficultyBlank.png" /><input name="attr_p" type="number" step="1" max="9" min="0" value="0"></td> <td class="sheet-dark"><img src="http://galacticcampaigns.com/images/EotE/Challenge/ChallengeBlank.png" /><input name="attr_r" type="number" step="1" max="9" min="0" value="0"></td> </tr> <tr> <td colspan="3" class="sheet-upgrade sheet-light"> <label> &nbsp;&nbsp;&nbsp;&nbsp;Upgrade: <input name="attr_upgradeAbility" type="number" step="1" max="9" min="0" value="0"> </label> <label> <input name="attr_downgradeProficiency" type="number" step="1" max="9" min="0" value="0"> :Downgrade </label> </td> <td class="sheet-force"> <input type='hidden' name='attr_dicePool' value='@{g}g @{y}y @{p}p @{r}r @{b}b @{blk}blk @{w}w upgrade(ability|@{upgradeAbility}) downgrade(proficiency|@{downgradeProficiency}) upgrade(difficulty|@{upgradeDifficulty}) downgrade(challenge|@{downgradeChallenge})' /> <button type='roll' name='roll_DicePool' value='!eed characterID(@{character_id}) label(Dice:Dice Pool) @{dicePool} (gmdice)'></button> <button type='roll' name='roll_ResetDicePool' value='!eed resetdice characterID(@{character_id})'></button> </td> <td colspan="3" class="sheet-downgrade sheet-dark"> <label> &nbsp;&nbsp;&nbsp;&nbsp;Upgrade: <input name="attr_upgradeDifficulty" type="number" step="1" max="9" min="0" value="0"> </label> <label> <input name="attr_downgradeChallenge" type="number" step="1" max="9" min="0" value="0"> Downgrade: </label> </td> </tr> </tbody> </table> </div><!-- Dice Pool --> <div class="sheet-clear"></div> </div><!--Top of Character Sheet--> <input type="radio" name="attr_sheet" class="sheet-tab-new sheet-tab-character" value="1" checked="checked" /> <span class="sheet-tab-new">&emsp;Character Info&emsp;</span> <input type="radio" name="attr_sheet" class="sheet-tab-new sheet-tab-skills" value="2" /> <span class="sheet-tab-new">&emsp; &emsp;Skills&emsp; &emsp;</span> <input type="radio" name="attr_sheet" class="sheet-tab-new sheet-tab-talents" value="3" /> <span class="sheet-tab-new">&emsp; &emsp;Combat&emsp; &emsp;</span> <input type="radio" name="attr_sheet" class="sheet-tab-new sheet-tab-weapons" value="4" /> <span class="sheet-tab-new">&emsp;Item Inventory&emsp;</span> <input type="radio" name="attr_sheet" class="sheet-tab-new sheet-tab-notes" value="5" /> <span class="sheet-tab-new">&emsp; &emsp;Notes&emsp; &emsp;</span> <div class="sheet-tab-content sheet-tab-character"> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <h3 class="sheet-section-header">Character</h3> <table class="sheet-character" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="15%"><label>Name:</label></td> <td width="35%"><input type="text" name="attr_name" /></td> <td width="15%"><label>Player Name:</label></td> <td width="35%"><input type="text" name="attr_playername" /></td> </tr> <tr> <td width="15%"><label>Species:</label></td> <td width="35%"> <select name='attr_species'> <option>&emsp;&emsp;</option> <option value="Aqualish (Aquala)">Aqualish (Aquala)</option> <option value="Aqualish (Quara)">Aqualish (Quara)</option> <option value="Aqualish (Ualaq)">Aqualish (Ualaq)</option> <option value="Arcona">Arcona</option> <option value="Bothan">Bothan</option> <option value="Caamasi">Caamasi</option> <option value="Cerean">Cerean</option> <option value="Chadra-Fan">Chadra-Fan</option> <option value="Chagrian">Chagrian</option> <option value="Chevin">Chevin</option> <option value="Chiss">Chiss</option> <option value="Corellian Human">Corellian Human</option> <option value="Drall">Drall</option> <option value="Dressellian">Dressellian (Primitive)</option> <option value="Dressellian">Dressellian (Non-Primitive)</option> <option value="Droid">Droid</option> <option value="Duros">Duros</option> <option value="Falleen">Falleen</option> <option value="Gand (With Lungs)">Gand (With Lungs)</option> <option value="Gand (Without Lungs)">Gand (Without Lungs)</option> <option value="Gank">Gank</option> <option value="Gossam">Gossam</option> <option value="Gotal">Gotal</option> <option value="Gran">Gran</option> <option value="Human">Human</option> <option value="Hutt">Hutt</option> <option value="Iktotchi">Iktotchi</option> <option value="Ishi Tib">Ishi Tib</option> <option value="Ithorian">Ithorian</option> <option value="Kel Dor">Kel Dor</option> <option value="Klatooinian">Klatooinian</option> <option value="Lannik">Lannik</option> <option value="Mirialan">Mirialan</option> <option value="Mon Calamari">Mon Calamari</option> <option value="Nautolan">Nautolan</option> <option value="Neimodian">Neimodian</option> <option value="Nikto (Green)">Nikto (Green)</option> <option value="Nikto (Mountain)">Nikto (Mountain)</option> <option value="Nikto (Pale)">Nikto (Pale)</option> <option value="Nikto (Red)">Nikto (Red)</option> <option value="Nikto (Southern)">Nikto (Southern)</option> <option value="Polis Massan (With Vocal Chords)">Polis Massan (With Vocal Chords)</option> <option value="Polis Massan (Without Vocal Chords)">Polis Massan (Without Vocal Chords)</option> <option value="Quarren">Quarren</option> <option value="Rodian">Rodian</option> <option value="Sakiyan">Sakiyan</option> <option value="Sathari">Sathari</option> <option value="Selonian">Selonian</option> <option value="Sullustan">Sullustan</option> <option value="Togruta">Togruta</option> <option value="Toydarian">Toydarian</option> <option value="Trandosian">Trandosian</option> <option value="Twi'lek">Twi'lek</option> <option value="Verpine">Verpine</option> <option value="Weequay">Weequay</option> <option value="Whiphid">Whiphid</option> <option value="Wookiee">Wookiee</option> <option value="Xexto">Xexto</option> <option value="Zabrak">Zabrak</option> </select><!--Species List--> <input type="text" name="attr_species" /> </td> <td width="15%"><label>Credits:</label></td> <td width="35%"><input type="text" name="attr_credits" /></td> </tr> <tr> <td width="15%"><label>Total XP:</label></td> <td width="35%"><input type="number" name="attr_totalxp" /></td> <td width="15%"><label>Available XP:</label></td> <td width="35%"><input type="number" name="attr_availablexp" /></td> </tr> </tbody> </table> </div> <div class="sheet-clear"></div> </div><!--Character Info--> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <table cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th width="30%">Career</th> <th width="30%"> <span style="float:left">Specialization</span> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content" style="margin-left:-225px"> <p>This section is to have you list your specializations</p> <p> Career - Indicates the Career the Specilization came from </p> <p>Specialization - Indicates the name of the Specs</p> <p> Is it in your Career? - This is to list if it is an out of career Specialization and thus adds an additional 10XP to pick it up. </p> </div> </div> </div><!-- Modifier Help --> </th> <th width="30%">Is it in your Career?</th> </tr> </thead> <tbody> <tr> <td><input type="text" name="attr_career" value="Career" /></td> <td><input type="text" name="attr_tree" value="Starting Specialization" /></td> <td><input type="text" name="attr_specialization-career" value="Yes" disabled /></td> </tr> </tbody> </table> <fieldset class="repeating_specialization"> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="33%"> <select name="attr_career-list"> <option value="" disabled>*Edge of the Empire*</option> <option value="Bounty Hunter">&nbsp;&nbsp;&nbsp;&nbsp;Bounty Hunter</option> <option value="Colonist">&nbsp;&nbsp;&nbsp;&nbsp;Colonist</option> <option value="Explorer">&nbsp;&nbsp;&nbsp;&nbsp;Explorer</option> <option value="Hired Gun">&nbsp;&nbsp;&nbsp;&nbsp;Hired Gun</option> <option value="Smuggler">&nbsp;&nbsp;&nbsp;&nbsp;Smuggler</option> <option value="Technican">&nbsp;&nbsp;&nbsp;&nbsp;Technican</option> <option value="" disabled>*Age of Rebellion*</option> <option value="Ace">&nbsp;&nbsp;&nbsp;&nbsp;Ace</option> <option value="Commander">&nbsp;&nbsp;&nbsp;&nbsp;Commander</option> <option value="Diplomat">&nbsp;&nbsp;&nbsp;&nbsp;Diplomat</option> <option value="Engineer">&nbsp;&nbsp;&nbsp;&nbsp;Engineer</option> <option value="Soldier">&nbsp;&nbsp;&nbsp;&nbsp;Soldier</option> <option value="Spy">&nbsp;&nbsp;&nbsp;&nbsp;Spy</option> <option value="" disabled>*Force and Destiny*</option> <option value="Consular">&nbsp;&nbsp;&nbsp;&nbsp;Consular</option> <option value="Guardian">&nbsp;&nbsp;&nbsp;&nbsp;Guardian</option> <option value="Mystic">&nbsp;&nbsp;&nbsp;&nbsp;Mystic</option> <option value="Seeker">&nbsp;&nbsp;&nbsp;&nbsp;Seeker</option> <option value="Sentinel">&nbsp;&nbsp;&nbsp;&nbsp;Sentinel</option> <option value="Warrior">&nbsp;&nbsp;&nbsp;&nbsp;Warrior</option> <option value="" disabled>*All*</option> <option value="Universal">&nbsp;&nbsp;&nbsp;&nbsp;Universal</option> </select> </td><!--Career List--> <td width="33%"> <select name="attr_specialization"> <option value="" disabled>*Edge of the Empire*</option> <option value="" disabled>&nbsp;&nbsp;Bounty Hunter</option> <option value="Assassin">&nbsp;&nbsp;&nbsp;&nbsp;Assassin</option> <option value="Gadgeteer">&nbsp;&nbsp;&nbsp;&nbsp;Gadgeteer</option> <option value="Survivalist">&nbsp;&nbsp;&nbsp;&nbsp;Survivalist</option> <option value="" disabled>&nbsp;&nbsp;Colonist</option> <option value="Doctor">&nbsp;&nbsp;&nbsp;&nbsp;Doctor</option> <option value="Politico">&nbsp;&nbsp;&nbsp;&nbsp;Politico</option> <option value="Scholar">&nbsp;&nbsp;&nbsp;&nbsp;Scholar</option> <option value="Entrepreneur">&nbsp;&nbsp;&nbsp;&nbsp;Entrepreneur</option> <option value="Marshal">&nbsp;&nbsp;&nbsp;&nbsp;Marshal</option> <option value="Performer">&nbsp;&nbsp;&nbsp;&nbsp;Performer</option> <option value="" disabled>&nbsp;&nbsp;Explorer</option> <option value="Scout">&nbsp;&nbsp;&nbsp;&nbsp;Scout</option> <option value="Fringer">&nbsp;&nbsp;&nbsp;&nbsp;Fringer</option> <option value="Driver">&nbsp;&nbsp;&nbsp;&nbsp;Driver</option> <option value="Archaeologist">&nbsp;&nbsp;&nbsp;&nbsp;Archaeologist</option> <option value="Big-Game Hunter">&nbsp;&nbsp;&nbsp;&nbsp;Big-Game Hunter</option> <option value="Trader">&nbsp;&nbsp;&nbsp;&nbsp;Trader</option> <option value="" disabled>&nbsp;&nbsp;Hired Gun</option> <option value="Bodyguard">&nbsp;&nbsp;&nbsp;&nbsp;Bodyguard</option> <option value="Demolitionist">&nbsp;&nbsp;&nbsp;&nbsp;Demolitionist</option> <option value="Enforcer">&nbsp;&nbsp;&nbsp;&nbsp;Enforcer</option> <option value="Heavy">&nbsp;&nbsp;&nbsp;&nbsp;Heavy</option> <option value="Marauder">&nbsp;&nbsp;&nbsp;&nbsp;Marauder</option> <option value="Mercenary Soldier">&nbsp;&nbsp;&nbsp;&nbsp;Mercenary Soldier</option> <option value="" disabled>&nbsp;&nbsp;Smuggler</option> <option value="Pilot">&nbsp;&nbsp;&nbsp;&nbsp;Pilot</option> <option value="Scoundrel">&nbsp;&nbsp;&nbsp;&nbsp;Scoundrel</option> <option value="Thief">&nbsp;&nbsp;&nbsp;&nbsp;Thief</option> <option value="Charmer">&nbsp;&nbsp;&nbsp;&nbsp;Charmer</option> <option value="Gambler">&nbsp;&nbsp;&nbsp;&nbsp;Gambler</option> <option value="Gunslinger">&nbsp;&nbsp;&nbsp;&nbsp;Gunslinger</option> <option value="" disabled>&nbsp;&nbsp;Technician</option> <option value="Mechanic">&nbsp;&nbsp;&nbsp;&nbsp;Mechanic</option> <option value="Outlaw Tech">&nbsp;&nbsp;&nbsp;&nbsp;Outlaw Tech</option> <option value="Slicer">&nbsp;&nbsp;&nbsp;&nbsp;Slicer</option> <option value="" disabled>*Age of Rebellion*</option> <option value="" disabled>&nbsp;&nbsp;Ace</option> <option value="Driver">&nbsp;&nbsp;&nbsp;&nbsp;Driver</option> <option value="Pilot">&nbsp;&nbsp;&nbsp;&nbsp;Pilot</option> <option value="Gunner">&nbsp;&nbsp;&nbsp;&nbsp;Gunner</option> <option value="Rigger">&nbsp;&nbsp;&nbsp;&nbsp;Rigger</option> <option value="Hotshot">&nbsp;&nbsp;&nbsp;&nbsp;Hotshot</option> <option value="Beast Rider">&nbsp;&nbsp;&nbsp;&nbsp;Beast Rider</option> <option value="" disabled>&nbsp;&nbsp;Commander</option> <option value="Commodore">&nbsp;&nbsp;&nbsp;&nbsp;Commodore</option> <option value="Squadron Leader">&nbsp;&nbsp;&nbsp;&nbsp;Squadron Leader</option> <option value="Tactician">&nbsp;&nbsp;&nbsp;&nbsp;Tactician</option> <option value="Figurehead">&nbsp;&nbsp;&nbsp;&nbsp;Figurehead</option> <option value="Instructor">&nbsp;&nbsp;&nbsp;&nbsp;Instructor</option> <option value="Strategist">&nbsp;&nbsp;&nbsp;&nbsp;Strategist</option> <option value="" disabled>&nbsp;&nbsp;Diplomat</option> <option value="Ambassador">&nbsp;&nbsp;&nbsp;&nbsp;Ambassador</option> <option value="Agitator">&nbsp;&nbsp;&nbsp;&nbsp;Agitator</option> <option value="Quartermaster">&nbsp;&nbsp;&nbsp;&nbsp;Quartermaster</option> <option value="Analyst">&nbsp;&nbsp;&nbsp;&nbsp;Analyst</option> <option value="Advocate">&nbsp;&nbsp;&nbsp;&nbsp;Advocate</option> <option value="Propagandist">&nbsp;&nbsp;&nbsp;&nbsp;Propagandist</option> <option value="" disabled>&nbsp;&nbsp;Engineer</option> <option value="Mechanic">&nbsp;&nbsp;&nbsp;&nbsp;Mechanic</option> <option value="Scientist">&nbsp;&nbsp;&nbsp;&nbsp;Scientist</option> <option value="Saboteur">&nbsp;&nbsp;&nbsp;&nbsp;Saboteur</option> <option value="" disabled>&nbsp;&nbsp;Soldier</option> <option value="Medic">&nbsp;&nbsp;&nbsp;&nbsp;Medic</option> <option value="Sharpshooter">&nbsp;&nbsp;&nbsp;&nbsp;Sharpshooter</option> <option value="Commando">&nbsp;&nbsp;&nbsp;&nbsp;Commando</option> <option value="" disabled>&nbsp;&nbsp;Spy</option> <option value="Slicer">&nbsp;&nbsp;&nbsp;&nbsp;Slicer</option> <option value="Infiltrator">&nbsp;&nbsp;&nbsp;&nbsp;Infiltrator</option> <option value="Scout">&nbsp;&nbsp;&nbsp;&nbsp;Scout</option> <option value="" disabled>*Force and Destiny*</option> <option value="" disabled>&nbsp;&nbsp;Consular</option> <option value="Healer">&nbsp;&nbsp;&nbsp;&nbsp;Healer</option> <option value="Niman Disciple">&nbsp;&nbsp;&nbsp;&nbsp;Niman Disciple</option> <option value="Sage">&nbsp;&nbsp;&nbsp;&nbsp;Sage</option> <option value="" disabled>&nbsp;&nbsp;Guardian</option> <option value="Armorer">&nbsp;&nbsp;&nbsp;&nbsp;Armorer</option> <option value="Peace Keeper">&nbsp;&nbsp;&nbsp;&nbsp;Peace Keeper</option> <option value="Protector">&nbsp;&nbsp;&nbsp;&nbsp;Protector</option> <option value="Soresu Defender">&nbsp;&nbsp;&nbsp;&nbsp;Soresu Defender</option> <option value="Warden">&nbsp;&nbsp;&nbsp;&nbsp;Warden</option> <option value="Warleader">&nbsp;&nbsp;&nbsp;&nbsp;Warleader</option> <option value="" disabled>&nbsp;&nbsp;Mystic</option> <option value="Seer">&nbsp;&nbsp;&nbsp;&nbsp;Seer</option> <option value="Makashi Duelist">&nbsp;&nbsp;&nbsp;&nbsp;Makashi Duelist</option> <option value="Advisor">&nbsp;&nbsp;&nbsp;&nbsp;Advisor</option> <option value="" disabled>&nbsp;&nbsp;Seeker</option> <option value="Ataru Striker">&nbsp;&nbsp;&nbsp;&nbsp;Ataru Striker</option> <option value="Hunter">&nbsp;&nbsp;&nbsp;&nbsp;Hunter</option> <option value="Pathfinder">&nbsp;&nbsp;&nbsp;&nbsp;Pathfinder</option> <option value="" disabled>&nbsp;&nbsp;Sentinel</option> <option value="Artisan">&nbsp;&nbsp;&nbsp;&nbsp;Artisan</option> <option value="Shadow">&nbsp;&nbsp;&nbsp;&nbsp;Shadow</option> <option value="Shien Expert">&nbsp;&nbsp;&nbsp;&nbsp;Shien Expert</option> <option value="" disabled>&nbsp;&nbsp;Warrior</option> <option value="Aggressor">&nbsp;&nbsp;&nbsp;&nbsp;Aggressor</option> <option value="Shii-Cho Knight">&nbsp;&nbsp;&nbsp;&nbsp;Shii-Cho Knight</option> <option value="Starfighter Ace">&nbsp;&nbsp;&nbsp;&nbsp;Starfighter Ace</option> <option value="" disabled>**Universal**</option> <option value="Force Sensitive Exile">&nbsp;&nbsp;&nbsp;&nbsp;Force Sensitive Exile</option> <option value="Force Sensitive Emergent">&nbsp;&nbsp;&nbsp;&nbsp;Force Sensitive Emergent</option> <option value="Recruit">&nbsp;&nbsp;&nbsp;&nbsp;Recruit</option> </select> </td><!--Specialization List--> <td width="30%"> <select name="attr_specialization-career-list"> <option value="yes">Yes</option> <option value="no">No</option> </select> </td><!--Career Yes/No--> <td width="10%"></td><!--Placeholder for spacing--> </tr> </tbody> </table> </fieldset> </div> <div class="sheet-clear"></div> </div><!--Career and Specialization List--> <div class="sheet-row"> <div class="sheet-small-6 sheet-column"> <table cellspacing="0" cellpadding="0" border="0"> <thead> <tr><th colspan="2">Description</th></tr> </thead> <tbody> <tr> <td><label>Gender:</label></td> <td><input type="text" name="attr_chargender" /></td> </tr> <tr> <td><label>Age:</label></td> <td><input type="text" name="attr_charager" /></td> </tr> <tr> <td><label>Height:</label></td> <td><input type="text" name="attr_charheight" /></td> </tr> <tr> <td><label>Build:</label></td> <td><input type="text" name="attr_charbuild" /></td> </tr> <tr> <td><label>Hair:</label></td> <td><input type="text" name="attr_charhair" /></td> </tr> <tr> <td><label>Eyes:</label></td> <td><input type="text" name="attr_chareyes" /></td> </tr> </tbody> </table> </div> <div class="sheet-small-6 sheet-column"> <table cellspacing="0" cellpadding="0" border="0"> <thead> <tr><th>Notable Features</th></tr> </thead> <tbody> <tr><td><textarea rows="4" name="attr_charfeatures"></textarea></td></tr> </tbody> </table> <table cellspacing="0" cellpadding="0" border="0"> <thead> <tr><th>Other</th></tr> </thead> <tbody> <tr><td><textarea rows="4" name="attr_charother"></textarea></td></tr> </tbody> </table> </div> <div class="sheet-clear"></div> </div><!-- Description --> <div class="sheet-row sheet-show-critical-table"> <div class="sheet-small-12 sheet-column"> <h3 class="sheet-section-header">Critical Injuries</h3> </div> <div class="sheet-small-9 sheet-column"> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn1" value="1" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName1" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange1" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice1" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity1" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea row="3" name="attr_critSummary1" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect1" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect1" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn1})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn2" value="2" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName2" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange2" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice2" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity2" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary2" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect2" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect2" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn2})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn3" value="3" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName3" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange3" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice3" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity3" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary3" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect3" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect3" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn3})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn4" value="4" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName4" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange4" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice4" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity4" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary4" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect4" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect4" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn4})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn5" value="5" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName5" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange5" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice5" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity5" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary5" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect5" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect5" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn5})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn6" value="6" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName6" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange6" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice6" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity6" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary6" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect6" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect6" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn6})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn7" value="7" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName7" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange7" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice7" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity7" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary7" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect7" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect7" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn7})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn8" value="8" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName8" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange8" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice8" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity8" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary8" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect8" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect8" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn8})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn9" value="9" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName9" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange9" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice9" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity9" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary9" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect9" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect9" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn9})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn10" value="10" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName10" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange10" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice10" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity10" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary10" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect10" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect10" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn10})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn11" value="11" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName11" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange11" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice11" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity11" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary11" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect11" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect11" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn11})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn12" value="12" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName12" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange12" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice12" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity12" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary12" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect12" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect12" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn12})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn13" value="13" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName13" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange13" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice13" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity13" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary13" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect13" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect13" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn13})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn14" value="14" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName14" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange14" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice14" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity14" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary14" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect14" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect14" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn14})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn15" value="15" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName15" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange15" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice15" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity15" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary15" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect15" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect15" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn15})">Heal</button></td> </tr> </tbody> </table> </div> <div class="sheet-small-3 sheet-column"> <table class="sheet-roll-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><label>Critical roll offset:</label></td> <td><input type="text" name="attr_critAddOffset" value="" /></td> </tr> <tr> <td colspan="2"><button type='roll' class="sheet-btn-roll-crit" value="!eed characterID(@{character_id}) crit(roll)">Roll Critical</button></td> </tr> <tr> <td> <label>Critical number:</label> <input type="text" name="attr_critAddRangeNum" value="" /> </td> <td valign="bottom"><button type='roll' class="sheet-btn-add-crit" value="!eed characterID(@{character_id}) crit(add|@{critAddRangeNum})">Add Critical</button></td> </tr> </tbody> </table> </div> <div class="sheet-clear"></div> </div><!-- Critical Injury Table --> <div class="sheet-small-12 sheet-column"> <table cellspacing="0" cellpadding="0" border="0"> <thead> <tr><th colspan="6">Motivations</th></tr> </thead> <tbody> <tr> <td><label>Category:</label></td> <td><input type="text" name='attr_attr_motivation-cat' /></td> <td><label>Type:</label></td> <td><input type="text" name="attr_motivation-type" /></td> <td><label>Description:</label></td> <td><textarea rows="2" name="attr_motivation-desc"></textarea></td> </tr> <tr> <td><label>Category:</label></td> <td><input type="text" name='attr_attr_motivation-cat2' /></td> <td><label>Type:</label></td> <td><input type="text" name="attr_motivation-type2" /></td> <td><label>Description:</label></td> <td><textarea rows="2" name="attr_motivation-desc2"></textarea></td> </tr> </tbody> </table> </div><!-- Motivations --> <div class="sheet-small-12 sheet-column"> <h3>Game Mechanics</h3><br /> <div> <table cellspacing="0" cellpadding="0" border="0"> <thead> <tr><th colspan="4">Obligations</th></tr> </thead> </table> <br /> <fieldset class="repeating_obligation"> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><label>Type:</label></td> <td><input type="text" name="attr_obligationtype1" /></td> <td><label>Magnitude:</label></td> <td><input type="number" name="attr_obligationmag1" min="0" value="0" /></td> </tr> <tr> <td><label>Details:</label></td> <td colspan="3"><textarea rows="3" name="attr_obligationcomp1"></textarea></td> </tr> </tbody> </table> <br /> </fieldset> </div><!--Obligation--> <div> <table cellspacing="0" cellpadding="0" border="0"> <thead> <tr><th colspan="4">Duty</th></tr> </thead> <tbody> <tr> <td style="width:50%"><label style="text-align:right">Contribution Rank:</label></td> <td style="width:50%"><input type="number" name="attr_contributionRank" min="0" value="0" /></td> </tr> </tbody> </table> <br /> <fieldset class="repeating_duty"> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td style="width:25%"><label>Type:</label></td> <td style="width:25%"><input type="text" name="attr_dutytype1" /></td> <td style="width:25%"><label>Magnitude:</label></td> <td style="width:25%"><input type="number" name="attr_dutymag1" min="0" value="0" /></td> </tr> <tr> <td style="width:25%"><label>Description:</label></td> <td style="width:75%" colspan="3"><textarea rows="3" name="attr_dutydesc1"></textarea></td> </tr> </tbody> </table> <br /> </fieldset> </div><!--Duty--> <div> <table cellspacing="0" cellpadding="0" border="0"> <thead> <tr><th colspan="4">Morality</th></tr> </thead> <tbody> <tr> <td colspan="2"><label style="text-align:right">Morality:</label></td> <td colspan="2"><input type="number" name="attr_morality" max="100" min="0" value="50" /></td> </tr> <tr> <td colspan="2"><label>Conflict:</label></td> <td colspan="2"><input type="number" name="attr_conflict" min="0" value="0" /></td> </tr> <tr> <td><label>Emotional Strength(s):</label></td> <td><textarea rows="2" name="attr_emotestrengt"></textarea></td> <td><label>Emotional Weakness(es):</label></td> <td><textarea rows="2" name="attr_emoteweakness"></textarea></td> </tr> <tr> <td><label>Description:</label></td> <td><textarea rows="3" name="attr_emotestrengthdesc"></textarea></td> <td><label>Description:</label></td> <td><textarea rows="3" name="attr_emoteweaknessdec"></textarea></td> </tr> </tbody> </table> </div><!--Morality--> </div><!-- Mechanics --> </div><!-- Character Tab --> <div class="sheet-tab-content sheet-tab-skills"> <div class="sheet-row" style="margin-top:10px"> <div class="sheet-small-12 sheet-column"> <table class="sheet-characteristics" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td> <label>Brawn</label> <input name='attr_brawn' type="number" max="7" min="1" value="1" /> </td> <td></td> <td> <label>Agility</label> <input name='attr_agility' type="number" max="7" min="1" value="1" /> </td> <td></td> <td> <label>Intellect</label> <input name='attr_intellect' type="number" max="7" min="1" value="1" /> </td> <td></td> <td> <label>Cunning</label> <input name='attr_cunning' type="number" max="7" min="1" value="1" /> </td> <td></td> <td> <label>Willpower</label> <input name='attr_willpower' type="number" max="7" min="1" value="1" /> </td> <td></td> <td> <label>Presence</label> <input name='attr_presence' type="number" max="7" min="1" value="1" /> </td> </tr> </tbody> </table> </div> <div class="sheet-clear"></div> </div><!--Characteristics--> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <h3 class="sheet-section-header">Skills</h3> <table class="sheet-skills" cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th>General Skills</th> <th>Career</th> <th colspan="2">Rank</th> <th colspan="2"> <span style="float:left">Modifiers</span> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content" style="margin-left:-225px"> <h5>Adding Dice</h5> <p> To add additional dice write the number of dice and color letter you want to roll. Additionally you can add some dice symbols to automatically add to the roll. </p> <p>Example: <b>1b 1g</b> outputs <span class="sheet-icon-B"></span><span class="sheet-icon-G"></span></p> <p> b -> Blue = Boost, blk -> BLack = Setback g -> Green = Ability, y -> Yellow = Proficiency p -> Purple = Difficulty, r -> Red = Challenge w -> White = Force s = Success, f = Failure, a = Advantage, t = Threat </p> </div> </div> </div><!-- Modifier Help --> </th> </tr> </thead> <tbody> <tr> <td> <label>Astrogation (Int)</label> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content"> <h5>Overview (p71)</h5> <ul> <li>Program a navicomputer for a hyperspace jump.</li> <li>Basic knowledge of galactic geography.</li> <li>Use navicomputer to identify location.</li> <li>Familiarity with hyperspace routes and the types of craft and commerce most common along a route.</li> </ul> </div> </div> <div class="sheet-help-success sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-S"></span> </div> <div class="sheet-help-content"> <h5>Per Additional Success</h5> <ul> <li>Better target the location, e.g.: place vessel directly into orbit around target planet.</li> <li>Reduce time spent calculating.</li> </ul> </div> </div> <div class="sheet-help-advantage sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-A"></span> </div> <div class="sheet-help-content"> <h5>Per Advantage</h5> <ul> <li>Reduce travel time.</li> <li>Identify convenient stopovers to resupply or conduct additional business.</li> </ul> </div> </div> <div class="sheet-help-triumph sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Tri"></span> </div> <div class="sheet-help-content"> <h5>Per Triumph</h5> <ul> <li>Complete calculations in minimum time.</li> <li>Greatly reduce travel time.</li> <li>Reveal highly valuable but previously unknown information.</li> </ul> </div> </div> <div class="sheet-help-threat sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-T"></span> </div> <div class="sheet-help-content"> <h5>Per Threat</h5> <ul> <li>Decrease accuracy of hyperspace jump.</li> <li>Increase travel time.</li> <li>Miss relevant details when analyzing hyperspace routes or galactic maps.</li> </ul> </div> </div> <div class="sheet-help-despair sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Des"></span> </div> <div class="sheet-help-content"> <h5>Per Despair</h5> <ul> <li>As for <span class="sheet-icon-T"></span>, but to greater magnitude.</li> <li>Trigger something truly awful happening, such as jumping out of hyperspace in the path of an asteroid.</li> </ul> </div> </div> </div> </td> <td><input name='attr_careerskillAstrogation' type="checkbox" value="1"></td> <td> <input type="number" name="attr_rankAstrogation" max="6" min="0" value="0" /> </td> <td> <input class="sheet-yd" type="hidden" name="attr_yAstrogation" value="(((@{intellect} + @{rankAstrogation}) - abs(@{intellect} - @{rankAstrogation})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gAstrogation" value="((((@{intellect} + @{rankAstrogation}) + abs(@{intellect} - @{rankAstrogation})) / 2) - @{yAstrogation})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_diceAstrogation" /> </div> </td> <td><button type='roll' name='roll_Astrogation' value='!eed characterID(@{character_id}) label(skill:Astrogation) @{diceAstrogation} skill(@{rankAstrogation}|@{intellect}) @{dicePool} (gmdice)'></button></td> </tr><!--Astrogation--> <tr> <td> <label>Athletics (Br)</label> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content"> <h5>Overview (p71)</h5> <ul> <li>Climb - including rappel or swing on a line - difficulty determined by surface and weather conditions.</li> <li>Swim - difficulty determined by water conditions (waves, currents and tides).</li> <li>Jump horizontally or vertically - difficulty determined by gravitational conditions and distance required.</li> <li>Push movement to a longer speed or run for an extended time.</li> </ul> </div> </div> <div class="sheet-help-success sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-S"></span> </div> <div class="sheet-help-content"> <h5>Per Additional Success</h5> <ul> <li>Reduce time required.</li> <li>Increase distance travelled.</li> </ul> </div> </div> <div class="sheet-help-advantage sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-A"></span> </div> <div class="sheet-help-content"> <h5>Per Advantage</h5> <ul> <li>Generate bonus <span class="sheet-icon-B"></span> on other physical checks performed later or by allies that turn.</li> <li><span class="sheet-icon-A"></span><span class="sheet-icon-A"></span> to grant additional maneuver during turn to move or perform physical activity.</li> </ul> </div> </div> <div class="sheet-help-triumph sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Tri"></span> </div> <div class="sheet-help-content"> <h5>Per Triumph</h5> <ul> <li>Perform the check with truly impressive results.</li> </ul> </div> </div> <div class="sheet-help-threat sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-T"></span> </div> <div class="sheet-help-content"> <h5>Per Threat</h5> <ul> <li>Small amounts cause strain.</li> <li>Larger amounts may cause character to fall prone, or even suffer a wound from sprains and bruises.</li> </ul> </div> </div> <div class="sheet-help-despair sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Des"></span> </div> <div class="sheet-help-content"> <h5>Per Despair</h5> <ul> <li>Inflict a Critical Injury, which the GM can choose to be thematic or roll randomly.</li> </ul> </div> </div> </div><!-- end tip --> </td> <td><input name='attr_careerskillAthletics' type="checkbox" value="1"></td> <td><input type="number" name="attr_rankAthletics" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_yAthletics" value="(((@{brawn} + @{rankAthletics}) - abs(@{brawn} - @{rankAthletics})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gAthletics" value="((((@{brawn} + @{rankAthletics}) + abs(@{brawn} - @{rankAthletics})) / 2) - @{yAthletics})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_diceAthletics" /> </div> </td> <td><button type='roll' name='roll_Athletics' value='!eed characterID(@{character_id}) label(skill:Athletics) @{diceAthletics} encum(@{encumbrancemax}|@{encumbrance}) skill(@{rankAthletics}|@{brawn}) @{dicePool} (gmdice)'></button></td> </tr><!--Athletics--> <tr> <td> <label>Charm (Pr)</label> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content"> <h5>Overview (p72)</h5> <ul> <li>Persuade an individual to make a special exception to usual practices through flattery, flirting and grace.</li> <li>Appeal to an individual's better nature, requiring them to go out of their way to aid the characters without any hope of remuneration.</li> <li>Sincere seduction attempts (use Deceit when interest is feigned).</li> </ul> </div> </div> <div class="sheet-help-success sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-S"></span> </div> <div class="sheet-help-content"> <h5>Per Additional Success</h5> <ul> <li>Gain an extra scene in which target is willing to support you for each additional <span class="sheet-icon-S"></span></li> </ul> </div> </div> <div class="sheet-help-advantage sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-A"></span> </div> <div class="sheet-help-content"> <h5>Per Advantage</h5> <ul> <li>Affect unexpected subjects beyond the original target.</li> </ul> </div> </div> <div class="sheet-help-triumph sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Tri"></span> </div> <div class="sheet-help-content"> <h5>Per Triumph</h5> <ul> <li>Have target NPC become recurring character who remains predisposed to assist.</li> </ul> </div> </div> <div class="sheet-help-threat sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-T"></span> </div> <div class="sheet-help-content"> <h5>Per Threat</h5> <ul> <li>Reduce the number of people able to influence</li> <li>Turn those affected negatively against character.</li> </ul> </div> </div> <div class="sheet-help-despair sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Des"></span> </div> <div class="sheet-help-content"> <h5>Per Despair</h5> <ul> <li>Turn NPC against character and make into a minor recurring adversary.</li> </ul> </div> </div> </div> </td> <td><input name='attr_careerskillCharm' type="checkbox" value="1"></td> <td><input type="number" name="attr_rankCharm" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_yCharm" value="(((@{presence} + @{rankCharm}) - abs(@{presence} - @{rankCharm})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gCharm" value="((((@{presence} + @{rankCharm}) + abs(@{presence} - @{rankCharm})) / 2) - @{yCharm})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_diceCharm" /> </div> </td> <td><button type='roll' name='roll_Charm' value='!eed characterID(@{character_id}) label(skill:Charm) @{diceCharm} skill(@{rankCharm}|@{presence}) @{dicePool} (gmdice)'></button></td> </tr><!--Charm--> <tr> <td> <label>Coercion (Will)</label> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content"> <h5>Overview (p72)</h5> <ul> <li>Issue a threat, whether accompanied by hostile actions or implied, such as gesturing or pointing towards a weapon.</li> <li>Question or persuade a target under conditions of physical captivity.</li> <li>Acts of torture.</li> </ul> </div> </div> <div class="sheet-help-success sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-S"></span> </div> <div class="sheet-help-content"> <h5>Per Additional Success</h5> <ul> <li><span class="sheet-icon-S"></span><span class="sheet-icon-S"></span> Inflict one strain on target. </li> </ul> </div> </div> <div class="sheet-help-advantage sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-A"></span> </div> <div class="sheet-help-content"> <h5>Per Advantage</h5> <ul> <li>Affect unexpected subjects beyond the original target.</li> </ul> </div> </div> <div class="sheet-help-triumph sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Tri"></span> </div> <div class="sheet-help-content"> <h5>Per Triumph</h5> <ul> <li>Shift allegiance of target.</li> </ul> </div> </div> <div class="sheet-help-threat sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-T"></span> </div> <div class="sheet-help-content"> <h5>Per Threat</h5> <ul> <li>Target has building resentment towards character.</li> </ul> </div> </div> <div class="sheet-help-despair sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Des"></span> </div> <div class="sheet-help-content"> <h5>Per Despair</h5> <ul> <li>Reveal something about goals and motivations to target.</li> </ul> </div> </div> </div><!-- end tip --> </td> <td><input name='attr_careerskillCoercion' type="checkbox" value="1"></td> <td><input type="number" name="attr_rankCoercion" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_yCoercion" value="(((@{willpower} + @{rankCoercion}) - abs(@{willpower} - @{rankCoercion})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gCoercion" value="((((@{willpower} + @{rankCoercion}) + abs(@{willpower} - @{rankCoercion})) / 2) - @{yCoercion})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_diceCoercion" /> </div> </td> <td><button type='roll' name='roll_Coercion' value='!eed characterID(@{character_id}) label(skill:Coercion) @{diceCoercion} skill(@{rankCoercion}|@{willpower}) @{dicePool} (gmdice)'></button></td> </tr><!--Coercion--> <tr> <td> <label>Computers (Int)</label> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content"> <h5>Overview (p73)</h5> <ul> <li>Open a locked door, control an elevator or bypass a security system.</li> <li>Search through records, particularly if encrypted.</li> <li>Investigate what actions a slicer might have taken against a computer system.</li> <li>Alter a droid's programming or gain access to its memories.</li> <li>Recover data from a system that has suffered physical damage.</li> </ul> </div> </div> <div class="sheet-help-success sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-S"></span> </div> <div class="sheet-help-content"> <h5>Per Additional Success</h5> <ul> <li>Reduce time required.</li> </ul> </div> </div> <div class="sheet-help-advantage sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-A"></span> </div> <div class="sheet-help-content"> <h5>Per Advantage</h5> <ul> <li>Uncover additional information about the system.</li> </ul> </div> </div> <div class="sheet-help-triumph sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Tri"></span> </div> <div class="sheet-help-content"> <h5>Per Triumph</h5> <ul> <li>Obfuscate actions taken -add <span class="sheet-icon-R"></span> to any check to detect or identify the characters actions.</li> </ul> </div> </div> <div class="sheet-help-threat sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-T"></span> </div> <div class="sheet-help-content"> <h5>Per Threat</h5> <ul> <li> The character does a poor job of concealing his presence in the system. Security systems are alerted, and add <span class="sheet-icon-B"></span> to the check of any NPC attempting to discover evidence of his actions. </li> </ul> </div> </div> <div class="sheet-help-despair sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Des"></span> </div> <div class="sheet-help-content"> <h5>Per Despair</h5> <ul> <li> Leave behind trace information of your own system in the system being sliced. Add <span class="sheet-icon-B"></span> to the check of any NPC using the target system to slice the character's system. </li> </ul> </div> </div> </div><!-- end tip --> </td> <td><input name='attr_careerskillComputers' type="checkbox" value="1"></td> <td><input type="number" name="attr_rankComputers" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_yComputers" value="(((@{intellect} + @{rankComputers}) - abs(@{intellect} - @{rankComputers})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gComputers" value="((((@{intellect} + @{rankComputers}) + abs(@{intellect} - @{rankComputers})) / 2) - @{yComputers})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_diceComputers" /> </div> </td> <td><button type='roll' name='roll_Computers' value='!eed characterID(@{character_id}) label(skill:Computers) @{diceComputers} skill(@{rankComputers}|@{intellect}) @{dicePool} (gmdice)'></button></td> </tr><!--Computers--> <tr> <td> <label>Cool (Pr)</label> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content"> <h5>Overview (p74)</h5> <ul> <li>Resist efforts to hide the truth among overt niceties.</li> <li>Check for initiative when carefully and calmly prepared.</li> <li>Check for initiative in a social situation/discussion where timing matters.</li> </ul> </div> </div> <div class="sheet-help-success sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-S"></span> </div> <div class="sheet-help-content"> <h5>Per Additional Success</h5> <ul> <li>-</li> </ul> </div> </div> <div class="sheet-help-advantage sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-A"></span> </div> <div class="sheet-help-content"> <h5>Per Advantage</h5> <ul> <li>Gain an additional insight into the situation at hand.</li> </ul> </div> </div> <div class="sheet-help-triumph sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Tri"></span> </div> <div class="sheet-help-content"> <h5>Per Triumph</h5> <ul> <li>Heal 3 strain.</li> </ul> </div> </div> <div class="sheet-help-threat sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-T"></span> </div> <div class="sheet-help-content"> <h5>Per Threat</h5> <ul> <li>Miss a vital detail or event.</li> </ul> </div> </div> <div class="sheet-help-despair sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Des"></span> </div> <div class="sheet-help-content"> <h5>Per Despair</h5> <ul> <li>The character is overwhelmed by the chaos and is stunned for one round.</li> </ul> </div> </div> </div><!-- end tip --> </td> <td><input name='attr_careerskillCool' type="checkbox" value="1"></td> <td><input type="number" name="attr_rankCool" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_yCool" value="(((@{presence} + @{rankCool}) - abs(@{presence} - @{rankCool})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gCool" value="((((@{presence} + @{rankCool}) + abs(@{presence} - @{rankCool})) / 2) - @{yCool})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_diceCool" /> </div> </td> <td><button type='roll' name='roll_Cool' value='!eed characterID(@{character_id}) label(skill:Cool) @{diceCool} skill(@{rankCool}|@{presence}) @{dicePool} (gmdice)'></button></td> </tr><!--Cool--> <tr> <td> <label>Coordination (Ag)</label> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content"> <h5>Overview (p74)</h5> <ul> <li>Reduce damage when falling (see p140).</li> <li>Walk across a narrow surface, whether a wide beam or a thin pipe.</li> <li>Escape from restraints.</li> <li>Crawl through the twists and turns of a sewage pipe, ventilation duct or garbage chute.</li> </ul> </div> </div> <div class="sheet-help-success sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-S"></span> </div> <div class="sheet-help-content"> <h5>Per Additional Success</h5> <ul> <li>Reduce time required.</li> <li>Increase distance travelled by 25%, (maximum 100% increase).</li> </ul> </div> </div> <div class="sheet-help-advantage sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-A"></span> </div> <div class="sheet-help-content"> <h5>Per Advantage</h5> <ul> <li><span class="sheet-icon-A"></span><span class="sheet-icon-A"></span> to grant additional maneuver during turn.</li> </ul> </div> </div> <div class="sheet-help-triumph sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Tri"></span> </div> <div class="sheet-help-content"> <h5>Per Triumph</h5> <ul> <li>Perform the check with truly impressive results.</li> </ul> </div> </div> <div class="sheet-help-threat sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-T"></span> </div> <div class="sheet-help-content"> <h5>Per Threat</h5> <ul> <li>Lose free maneuver for one round.</li> </ul> </div> </div> <div class="sheet-help-despair sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Des"></span> </div> <div class="sheet-help-content"> <h5>Per Despair</h5> <ul> <li>Suffer a wound</li> <li>Lose a vital piece of equipment.</li> </ul> </div> </div> </div><!-- end tip --> </td> <td><input name='attr_careerskillCoordination' type="checkbox" value="1"></td> <td><input type="number" name="attr_rankCoordination" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_yCoordination" value="(((@{agility} + @{rankCoordination}) - abs(@{agility} - @{rankCoordination})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gCoordination" value="((((@{agility} + @{rankCoordination}) + abs(@{agility} - @{rankCoordination})) / 2) - @{yCoordination})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_diceCoordination" /> </div> </td> <td><button type='roll' name='roll_Coordination' value='!eed characterID(@{character_id}) label(skill:Coordination) @{diceCoordination} encum(@{encumbrancemax}|@{encumbrance}) skill(@{rankCoordination}|@{agility}) @{dicePool} (gmdice)'></button></td> </tr><!--Coordination--> <tr> <td> <label>Deception (Cun)</label> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content"> <h5>Overview (p75)</h5> <ul> <li>Mislead a buyer or seller about the value of an object.</li> <li>Distract an opponent through guile.</li> <li>Lay a false trail when pursued.</li> </ul> </div> </div> <div class="sheet-help-success sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-S"></span> </div> <div class="sheet-help-content"> <h5>Per Additional Success</h5> <ul> <li>Extend duration of Deceit action.</li> </ul> </div> </div> <div class="sheet-help-advantage sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-A"></span> </div> <div class="sheet-help-content"> <h5>Per Advantage</h5> <ul> <li>Increase the value of any goods or services gained through the action.</li> </ul> </div> </div> <div class="sheet-help-triumph sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Tri"></span> </div> <div class="sheet-help-content"> <h5>Per Triumph</h5> <ul> <li>Fool the target into believing the character is trustworthy - future Deceit checks against target do not require an opposed check.</li> </ul> </div> </div> <div class="sheet-help-threat sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-T"></span> </div> <div class="sheet-help-content"> <h5>Per Threat</h5> <ul> <li>Give away a portion of the lie, making target suspicious.</li> </ul> </div> </div> <div class="sheet-help-despair sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Des"></span> </div> <div class="sheet-help-content"> <h5>Per Despair</h5> <ul> <li>Target realises he has been lied to and spreads word of his deceit to harm his reputation or uses the situation to his advantage.</li> </ul> </div> </div> </div><!-- end tip --> </td> <td><input name='attr_careerskillDeception' type="checkbox" value="1"></td> <td><input type="number" name="attr_rankDeception" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_yDeception" value="(((@{cunning} + @{rankDeception}) - abs(@{cunning} - @{rankDeception})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gDeception" value="((((@{cunning} + @{rankDeception}) + abs(@{cunning} - @{rankDeception})) / 2) - @{yDeception})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_diceDeception" /> </div> </td> <td><button type='roll' name='roll_Deception' value='!eed characterID(@{character_id}) label(skill:Deception) @{diceDeception} skill(@{rankDeception}|@{cunning}) @{dicePool} (gmdice)'></button></td> </tr><!--Deception--> <tr> <td> <label>Discipline (Will)</label> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content"> <h5>Overview (p75)</h5> <ul> <li>Act normally while pinned down by heavy fire.</li> <li>Engage, rather than flee before, a creature with inherently horrifying aspects.</li> <li>Resist a tempting deal that seems far too good to be true.</li> </ul> </div> </div> <div class="sheet-help-success sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-S"></span> </div> <div class="sheet-help-content"> <h5>Per Additional Success</h5> <ul> <li>Downgrade difficulty of the dice pool for next action (max. 1).</li> <li>For Fear Checks:</li> <li>The character avoids any fear effects, except those triggered by <span class="sheet-icon-T"></span></li> </ul> </div> </div> <div class="sheet-help-advantage sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-A"></span> </div> <div class="sheet-help-content"> <h5>Per Advantage</h5> <ul> <li>Gain an additional insight into the situation at hand.</li> <li>For Fear Checks:</li> <li>Gain <span class="sheet-icon-B"></span> on the character's first check.</li> <li>If spending multiple <span class="sheet-icon-A"></span>, grant <span class="sheet-icon-B"></span> to an additional player's first check.</li> </ul> </div> </div> <div class="sheet-help-triumph sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Tri"></span> </div> <div class="sheet-help-content"> <h5>Per Triumph</h5> <ul> <li>Add <span class="sheet-icon-B"></span> to any Discipline checks made by allies during the following round.</li> <li>For Fear Checks:</li> <li>Can be spent to cancel all previous penalties from fear checks, or</li> <li>Spent to ensure the character need not make any additional fear checks during the encounter, no matter the source.</li> </ul> </div> </div> <div class="sheet-help-failure sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-F"></span> </div> <div class="sheet-help-content"> <h5>Per Failure</h5> <ul> <li>For Fear Checks:</li> <li>The character adds <span class="sheet-icon-BLK"></span> to each action he takes during the encounter.</li> </ul> </div> </div> <div class="sheet-help-threat sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-T"></span> </div> <div class="sheet-help-content"> <h5>Per Threat</h5> <ul> <li>Undermine the characters resolve, perhaps inflicting a penalty on further actions in distressing circumstances.</li> <li>For Fear Checks:</li> <li>The character suffers a number of strain equal to the number of Failures.</li> <li>If the check generates <span class="sheet-icon-T"></span><span class="sheet-icon-T"></span><span class="sheet-icon-T"></span> or more, the character can be staggeed for his first turn, instead.</li> </ul> </div> </div> <div class="sheet-help-despair sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Des"></span> </div> <div class="sheet-help-content"> <h5>Per Despair</h5> <ul> <li>The character is overwhelmed entirely and is unable to perform more than one maneuver next round.</li> <li>For Fear Checks:</li> <li>The character is incredibly frightend and increases the difficulty of all checks until the end of the encounter by one.</li> </ul> </div> </div> </div><!-- end tip --> </td> <td><input name='attr_careerskillDiscipline' type="checkbox" value="1"></td> <td><input type="number" name="attr_rankDiscipline" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_yDiscipline" value="(((@{willpower} + @{rankDiscipline}) - abs(@{willpower} - @{rankDiscipline})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gDiscipline" value="((((@{willpower} + @{rankDiscipline}) + abs(@{willpower} - @{rankDiscipline})) / 2) - @{yDiscipline})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_diceDiscipline" /> </div> </td> <td><button type='roll' name='roll_Discipline' value='!eed characterID(@{character_id}) label(skill:Discipline) @{diceDiscipline} skill(@{rankDiscipline}|@{willpower}) @{dicePool} (gmdice)'></button></td> </tr><!--Discipline--> <tr> <td> <label>Leadership (Pr)</label> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content"> <h5>Overview (p76)</h5> <ul> <li>Rally allies subject to the effects of fear (see p189).</li> <li>Sway a crowd in a public venue to take action, most often of a political nature.</li> <li>Reassert the loyalty of underlings that have fallen before the guile of an opponent.</li> </ul> </div> </div> <div class="sheet-help-success sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-S"></span> </div> <div class="sheet-help-content"> <h5>Per Additional Success</h5> <ul> <li>Extend target's support for additional scenes.</li> <li>Increase efficiency or effectiveness of target during ordered actions.</li> </ul> </div> </div> <div class="sheet-help-advantage sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-A"></span> </div> <div class="sheet-help-content"> <h5>Per Advantage</h5> <ul> <li>Affect bystanders in addition to target.</li> </ul> </div> </div> <div class="sheet-help-triumph sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Tri"></span> </div> <div class="sheet-help-content"> <h5>Per Triumph</h5> <ul> <li>Have target NPC become recurring character who decides to faithfully follow the acting character.</li> </ul> </div> </div> <div class="sheet-help-threat sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-T"></span> </div> <div class="sheet-help-content"> <h5>Per Threat</h5> <ul> <li>Decrease the efficiency of ordered actions, causing them to take longer or be done poorly.</li> </ul> </div> </div> <div class="sheet-help-despair sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Des"></span> </div> <div class="sheet-help-content"> <h5>Per Despair</h5> <ul> <li> Undermine the character's authority, damaging the characters ability to command target or those who witnessed the attempt. </li> <li> With multiple <span class="sheet-icon-Des"></span> target may become a recurring thorn in the character's side, refusing future orders or turning others against the character. </li> </ul> </div> </div> </div><!-- end tip --> </td> <td><input name='attr_careerskillLeadership' type="checkbox" value="1"></td> <td><input type="number" name="attr_rankLeadership" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_yLeadership" value="(((@{presence} + @{rankLeadership}) - abs(@{presence} - @{rankLeadership})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gLeadership" value="((((@{presence} + @{rankLeadership}) + abs(@{presence} - @{rankLeadership})) / 2) - @{yLeadership})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_diceLeadership" /> </div> </td> <td><button type='roll' name='roll_Leadership' value='!eed characterID(@{character_id}) label(skill:Leadership) @{diceLeadership} skill(@{rankLeadership}|@{presence}) @{dicePool} (gmdice)'></button></td> </tr><!--Leadership--> <tr> <td> <label>Mechanics (Int)</label> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content"> <h5>Overview (p76)</h5> <ul> <li>Repair physical damage to a device, provided necessary tools and replacement components are available. <li>Repair starship or vehicle (see p155).</li> <li>Identify the parts and tools necessary for a repair job, along with approximate cost.</li> <li>Construct a completely new device from discrete components and damaged devices.</li> <li>Make a healing check on a droid (see Medicine, p177).</li> </ul> </div> </div> <div class="sheet-help-success sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-S"></span> </div> <div class="sheet-help-content"> <h5>Per Additional Success</h5> <ul> <li>Reduce time required by 10-20%</li> </ul> </div> </div> <div class="sheet-help-advantage sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-A"></span> </div> <div class="sheet-help-content"> <h5>Per Advantage</h5> <ul> <li>Grant <span class="sheet-icon-B"></span> on checks when using repaired item, or even the Superior quality, for a session.</li> </ul> </div> </div> <div class="sheet-help-triumph sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Tri"></span> </div> <div class="sheet-help-content"> <h5>Per Triumph</h5> <ul> <li>Give device additional single use function.</li> </ul> </div> </div> <div class="sheet-help-threat sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-T"></span> </div> <div class="sheet-help-content"> <h5>Per Threat</h5> <ul> <li> Particularly shoddy repairs or temporary measures, the GM may spend <span class="sheet-icon-T"></span> to cause the target object or system to malfunction shortly after check completed. </li> </ul> </div> </div> <div class="sheet-help-despair sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Des"></span> </div> <div class="sheet-help-content"> <h5>Per Despair</h5> <ul> <li>Cause further harm to target object or system.</li> <li>Cause other components of target to malfunction.</li> </ul> </div> </div> </div><!-- end tip --> </td> <td><input name='attr_careerskillMechanics' type="checkbox" value="1"></td> <td><input type="number" name="attr_rankMechanics" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_yMechanics" value="(((@{intellect} + @{rankMechanics}) - abs(@{intellect} - @{rankMechanics})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gMechanics" value="((((@{intellect} + @{rankMechanics}) + abs(@{intellect} - @{rankMechanics})) / 2) - @{yMechanics})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_diceMechanics" /> </div> </td> <td><button type='roll' name='roll_Mechanics' value='!eed characterID(@{character_id}) label(skill:Mechanics) @{diceMechanics} skill(@{rankMechanics}|@{intellect}) @{dicePool} (gmdice)'></button></td> </tr><!--Mechanics--> <tr> <td> <label>Medicine (Int)</label> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content"> <h5>Overview (p77)</h5> <ul> <li>Apply routine first aid, including medpacs.</li> <li>Treat or inflict a poison, pharmaceutical or recreational drug.</li> <li>Identify symptoms and treatment for infectious diseases and parasites.</li> <li>More serious treatment - including surgery, cybernetic augmentation and psychotherapy, provided necessary pharmaceuticals and medical instruments are available.</li> </ul> </div> </div> <div class="sheet-help-success sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-S"></span> </div> <div class="sheet-help-content"> <h5>Per Additional Success</h5> <ul> <li>Target recovers one additional wound.</li> <li>Reduce healing time by one hour.</li> </ul> </div> </div> <div class="sheet-help-advantage sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-A"></span> </div> <div class="sheet-help-content"> <h5>Per Advantage</h5> <ul> <li>Eliminate one strain from target.</li> </ul> </div> </div> <div class="sheet-help-triumph sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Tri"></span> </div> <div class="sheet-help-content"> <h5>Per Triumph</h5> <ul> <li>Heal additional wounds while attempting to heal Critical Injury, or vice versa.</li> </ul> </div> </div> <div class="sheet-help-threat sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-T"></span> </div> <div class="sheet-help-content"> <h5>Per Threat</h5> <ul> <li>Inflict strain on the target due to shock of procedure.</li> <li>Increase time procedure takes.</li> </ul> </div> </div> <div class="sheet-help-despair sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Des"></span> </div> <div class="sheet-help-content"> <h5>Per Despair</h5> <ul> <li>A truly terrible accident, perhaps inflicting further wounds on target.</li> </ul> </div> </div> </div><!-- end tip --> </td> <td><input name='attr_careerskillMedicine' type="checkbox" value="1"></td> <td><input type="number" name="attr_rankMedicine" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_yMedicine" value="(((@{intellect} + @{rankMedicine}) - abs(@{intellect} - @{rankMedicine})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gMedicine" value="((((@{intellect} + @{rankMedicine}) + abs(@{intellect} - @{rankMedicine})) / 2) - @{yMedicine})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_diceMedicine" /> </div> </td> <td><button type='roll' name='roll_Medicine' value='!eed characterID(@{character_id}) label(skill:Medicine) @{diceMedicine} skill(@{rankMedicine}|@{intellect}) @{dicePool} (gmdice)'></button></td> </tr><!--Medicine--> <tr> <td> <label>Negotiation (Pr)</label> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content"> <h5>Overview (p77)</h5> <ul> <li>Adjust the purchase price when buying goods or services.</li> <li>Adjust the selling price when selling goods or services.</li> <li>Participate in skill-based gambling (use Deceit when cheating).</li> </ul> </div> </div> <div class="sheet-help-success sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-S"></span> </div> <div class="sheet-help-content"> <h5>Per Additional Success</h5> <ul> <li>Increase acting character's profit by 5%.</li> <li>Modify scope of agreement.</li> </ul> </div> </div> <div class="sheet-help-advantage sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-A"></span> </div> <div class="sheet-help-content"> <h5>Per Advantage</h5> <ul> <li>Earn unrelated boons from target, concessions if failed or extra perks if passed.</li> </ul> </div> </div> <div class="sheet-help-triumph sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Tri"></span> </div> <div class="sheet-help-content"> <h5>Per Triumph</h5> <ul> <li>Have target NPC become regular client or specialist vendor.</li> </ul> </div> </div> <div class="sheet-help-threat sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-T"></span> </div> <div class="sheet-help-content"> <h5>Per Threat</h5> <ul> <li>Increase cost of goods purchased.</li> <li>Decrease value of goods sold.</li> <li>Shorten contracts negotiated.</li> </ul> </div> </div> <div class="sheet-help-despair sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Des"></span> </div> <div class="sheet-help-content"> <h5>Per Despair</h5> <ul> <li>Seriously sabotage goals during the interaction, perhaps receive counterfeit goods or payment, or agree to terms entirely beyond scope of negotiation.</li> </ul> </div> </div> </div><!-- end tip --> </td> <td><input name='attr_careerskillNegotiation' type="checkbox" value="1"></td> <td><input type="number" name="attr_rankNegotiation" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_yNegotiation" value="(((@{presence} + @{rankNegotiation}) - abs(@{presence} - @{rankNegotiation})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gNegotiation" value="((((@{presence} + @{rankNegotiation}) + abs(@{presence} - @{rankNegotiation})) / 2) - @{yNegotiation})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_diceNegotiation" /> </div> </td> <td><button type='roll' name='roll_Negotiation' value='!eed characterID(@{character_id}) label(skill:Negotiation) @{diceNegotiation} skill(@{rankNegotiation}|@{presence}) @{dicePool} (gmdice)'></button></td> </tr><!--Negotiation--> <tr> <td> <label>Perception (Cun)</label> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content"> <h5>Overview (p78)</h5> <ul> <li>Detect a trap or ambush, prior to falling prey to the assault.</li> <li>Detect a disguised individual, when not actively looking.</li> <li>Notice a subtle clue - overheard conversation, the stink of a Jawa, drug introduced to beverage.</li> <li>Accidently notice subtly hidden objects, such as the latch securing a smuggling compartment.</li> </ul> </div> </div> <div class="sheet-help-success sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-S"></span> </div> <div class="sheet-help-content"> <h5>Per Additional Success</h5> <ul> <li>Reveal additional details.</li> </ul> </div> </div> <div class="sheet-help-advantage sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-A"></span> </div> <div class="sheet-help-content"> <h5>Per Advantage</h5> <ul> <li>Recall additional information associated with object noticed.</li> </ul> </div> </div> <div class="sheet-help-triumph sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Tri"></span> </div> <div class="sheet-help-content"> <h5>Per Triumph</h5> <ul> <li>Notice details that can be useful later to gain <span class="sheet-icon-B"></span> on future interactions with noticed object.</li> </ul> </div> </div> <div class="sheet-help-threat sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-T"></span> </div> <div class="sheet-help-content"> <h5>Per Threat</h5> <ul> <li>Conceal a vital detail about situation or environment.</li> </ul> </div> </div> <div class="sheet-help-despair sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Des"></span> </div> <div class="sheet-help-content"> <h5>Per Despair</h5> <ul> <li>Obtain false information about surroundings or target.</li> </ul> </div> </div> </div><!-- end tip --> </td> <td><input name='attr_careerskillPerception' type="checkbox" value="1"></td> <td><input type="number" name="attr_rankPerception" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_yPerception" value="(((@{cunning} + @{rankPerception}) - abs(@{cunning} - @{rankPerception})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gPerception" value="((((@{cunning} + @{rankPerception}) + abs(@{cunning} - @{rankPerception})) / 2) - @{yPerception})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_dicePerception" /> </div> </td> <td><button type='roll' name='roll_Perception' value='!eed characterID(@{character_id}) label(skill:Perception) @{dicePerception} skill(@{rankPerception}|@{cunning}) @{dicePool} (gmdice)'></button></td> </tr><!--Perception--> <tr> <td> <label>Piloting - Planetary (Ag)</label> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content"> <h5>Overview (p78)</h5> <ul> <li>Decipher basic controls of completely foreign type of atmospheric craft.</li> <li>Determine results of a race upon a world's surface.</li> <li>Maintain a tail or lose a chaser.</li> <li>Navigate through a familiar environment, representing knowledge of typical traffic patterns.</li> </ul> </div> </div> <div class="sheet-help-success sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-S"></span> </div> <div class="sheet-help-content"> <h5>Per Additional Success</h5> <ul> <li>Gain insights into situation.</li> <li>Deduce way to modify vehicle to make it more effective in future.</li> </ul> </div> </div> <div class="sheet-help-advantage sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-A"></span> </div> <div class="sheet-help-content"> <h5>Per Advantage</h5> <ul> <li>Reveal vulnerability in opponent's piloting style or vehicle, giving benefit in later rounds.</li> </ul> </div> </div> <div class="sheet-help-triumph sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Tri"></span> </div> <div class="sheet-help-content"> <h5>Per Triumph</h5> <ul> <li>Grant additional maneuver while continuing to pilot vehicle.</li> </ul> </div> </div> <div class="sheet-help-threat sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-T"></span> </div> <div class="sheet-help-content"> <h5>Per Threat</h5> <ul> <li><span class="sheet-icon-T"></span><span class="sheet-icon-T"></span> to give opponents on <span class="sheet-icon-B"></span> checks against character and vehicle due to momentary malfunction in system.</li> </ul> </div> </div> <div class="sheet-help-despair sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Des"></span> </div> <div class="sheet-help-content"> <h5>Per Despair</h5> <ul> <li>Deal damage to vehicle as character strains systems throughout vehicle during check.</li> </ul> </div> </div> </div><!-- end tip --> </td> <td><input name='attr_careerskillPlanetary' type="checkbox" value="1"></td> <td><input type="number" name="attr_rankPlanetary" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_yPlanetary" value="(((@{agility} + @{rankPlanetary}) - abs(@{agility} - @{rankPlanetary})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gPlanetary" value="((((@{agility} + @{rankPlanetary}) + abs(@{agility} - @{rankPlanetary})) / 2) - @{yPlanetary})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_dicePlanetary" /> </div> </td> <td><button type='roll' name='roll_Planetary' value='!eed characterID(@{character_id}) label(skill:Piloting - Planetary) @{dicePlanetary} encum(@{encumbrancemax}|@{encumbrance}) skill(@{rankPlanetary}|@{agility}) @{dicePool} (gmdice)'></button></td> </tr><!--Piloting (Planetary)--> <tr> <td> <label>Piloting - Space (Ag)</label> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content"> <h5>Overview (p79)</h5> <ul> <li>Determine results of a race between the stars.</li> <li>Resolve chases, whether through asteroid belts, a crowded battlefield or skirting the edge of a gravimetric instability.</li> <li>Jockey for position in a space conflict, to determine which shields face the enemy and which weapons may be brought to bear.</li> </ul> </div> </div> <div class="sheet-help-success sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-S"></span> </div> <div class="sheet-help-content"> <h5>Per Additional Success</h5> <ul> <li>Gain insights into situation.</li> <li>Deduce way to modify vehicle to make it more effective in future.</li> </ul> </div> </div> <div class="sheet-help-advantage sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-A"></span> </div> <div class="sheet-help-content"> <h5>Per Advantage</h5> <ul> <li>Reveal vulnerability in opponent's piloting style or vehicle, giving benefit in later rounds.</li> </ul> </div> </div> <div class="sheet-help-triumph sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Tri"></span> </div> <div class="sheet-help-content"> <h5>Per Triumph</h5> <ul> <li>Grant additional maneuver while continuing to pilot vehicle.</li> </ul> </div> </div> <div class="sheet-help-threat sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-T"></span> </div> <div class="sheet-help-content"> <h5>Per Threat</h5> <ul> <li><span class="sheet-icon-T"></span><span class="sheet-icon-T"></span> to give opponents on <span class="sheet-icon-B"></span> checks against character and vehicle due to momentary malfunction in system.</li> </ul> </div> </div> <div class="sheet-help-despair sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Des"></span> </div> <div class="sheet-help-content"> <h5>Per Despair</h5> <ul> <li>Deal damage to vehicle as character strains systems throughout vehicle during check.</li> </ul> </div> </div> </div><!-- end tip --> </td> <td><input name='attr_careerskillSpace' type="checkbox" value="1"></td> <td><input type="number" name="attr_rankSpace" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_ySpace" value="(((@{agility} + @{rankSpace}) - abs(@{agility} - @{rankSpace})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gSpace" value="((((@{agility} + @{rankSpace}) + abs(@{agility} - @{rankSpace})) / 2) - @{ySpace})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_diceSpace" /> </div> </td> <td><button type='roll' name='roll_Space' value='!eed characterID(@{character_id}) label(skill:Piloting - Space) @{diceSpace} encum(@{encumbrancemax}|@{encumbrance}) skill(@{rankSpace}|@{agility}) @{dicePool} (gmdice)'></button></td> </tr><!--Piloting (Space)--> <tr> <td> <label>Resilience (Br)</label> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content"> <h5>Overview (p79)</h5> <ul> <li>Go without sleep for significantly longer than is healthy for species.</li> <li>Resist the effects of a toxin.</li> <li>Endure prolonged exposure to a hostile environment - including heat, cold or toxic pollution.</li> <li>Resist the effects of dehydration and malnutrition.</li> </ul> </div> </div> <div class="sheet-help-success sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-S"></span> </div> <div class="sheet-help-content"> <h5>Per Additional Success</h5> <ul> <li>Extend effects of the success to increase time between checks.</li> </ul> </div> </div> <div class="sheet-help-advantage sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-A"></span> </div> <div class="sheet-help-content"> <h5>Per Advantage</h5> <ul> <li>Identify way to reduce difficulty of future checks against same threat.</li> </ul> </div> </div> <div class="sheet-help-triumph sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Tri"></span> </div> <div class="sheet-help-content"> <h5>Per Triumph</h5> <ul> <li>Recover 3 strain.</li> </ul> </div> </div> <div class="sheet-help-threat sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-T"></span> </div> <div class="sheet-help-content"> <h5>Per Threat</h5> <ul> <li>Overburden the character, inflicting penalties on subsequent checks.</li> </ul> </div> </div> <div class="sheet-help-despair sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Des"></span> </div> <div class="sheet-help-content"> <h5>Per Despair</h5> <ul> <li>Inflict a wound or minor Critical Injury on character, as they succumb to harsh conditions.</li> </ul> </div> </div> </div><!-- end tip --> </td> <td><input name='attr_careerskillResilience' type="checkbox" value="1"></td> <td><input type="number" name="attr_rankResilience" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_yResilience" value="(((@{brawn} + @{rankResilience}) - abs(@{brawn} - @{rankResilience})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gResilience" value="((((@{brawn} + @{rankResilience}) + abs(@{brawn} - @{rankResilience})) / 2) - @{yResilience})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_diceResilience" /> </div> </td> <td><button type='roll' name='roll_Resilience' value='!eed characterID(@{character_id}) label(skill:Resilience) @{diceResilience} encum(@{encumbrancemax}|@{encumbrance}) skill(@{rankResilience}|@{brawn}) @{dicePool} (gmdice)'></button></td> </tr><!--Resilience--> <tr> <td> <label>Skulduggery (Cun)</label> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content"> <h5>Overview (p80)</h5> <ul> <li>Pick a lock or pocket using physical tools rather than programming.</li> <li>Escape from a cell (after using Coordination to slip any bonds) and navigate away from security elements.</li> <li>Identify the most vulnerable aspects of a security scheme.</li> </ul> </div> </div> <div class="sheet-help-success sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-S"></span> </div> <div class="sheet-help-content"> <h5>Per Additional Success</h5> <ul> <li>Gain additional insights about nature of opposition.</li> </ul> </div> </div> <div class="sheet-help-advantage sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-A"></span> </div> <div class="sheet-help-content"> <h5>Per Advantage</h5> <ul> <li>Identify additional potential target.</li> </ul> </div> </div> <div class="sheet-help-triumph sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Tri"></span> </div> <div class="sheet-help-content"> <h5>Per Triumph</h5> <ul> <li>Earn an unexpected boon.</li> </ul> </div> </div> <div class="sheet-help-threat sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-T"></span> </div> <div class="sheet-help-content"> <h5>Per Threat</h5> <ul> <li>Opportunity to catch character immediately after act, number of <span class="sheet-icon-T"></span> determine immediacy of discovery and ensuing danger.</li> </ul> </div> </div> <div class="sheet-help-despair sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Des"></span> </div> <div class="sheet-help-content"> <h5>Per Despair</h5> <ul> <li>Leave behind evidence of larceny.</li> </ul> </div> </div> </div><!-- end tip --> </td> <td><input name='attr_careerskillSkulduggery' type="checkbox" value="1"></td> <td><input type="number" name="attr_rankSkulduggery" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_ySkulduggery" value="(((@{cunning} + @{rankSkulduggery}) - abs(@{cunning} - @{rankSkulduggery})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gSkulduggery" value="((((@{cunning} + @{rankSkulduggery}) + abs(@{cunning} - @{rankSkulduggery})) / 2) - @{ySkulduggery})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_diceSkulduggery" /> </div> </td> <td><button type='roll' name='roll_Skulduggery' value='!eed characterID(@{character_id}) label(skill:Skulduggery) @{diceSkulduggery} skill(@{rankSkulduggery}|@{cunning}) @{dicePool} (gmdice)'></button></td> </tr><!--Skulduggery--> <tr> <td> <label>Stealth (Ag)</label> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content"> <h5>Overview (p80)</h5> <ul> <li>Blend in with a crowd, hiding by acting as though you belong.</li> <li>Hide from an opponent's senses, modified by ambient conditions and applicable gear.</li> <li>Hide people or objects from the attentions of others, either through concealment or misdirection.</li> </ul> </div> </div> <div class="sheet-help-success sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-S"></span> </div> <div class="sheet-help-content"> <h5>Per Additional Success</h5> <ul> <li>Assist allied character infiltrating at same time.</li> </ul> </div> </div> <div class="sheet-help-advantage sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-A"></span> </div> <div class="sheet-help-content"> <h5>Per Advantage</h5> <ul> <li>Decrease time taken to perform action while hidden.</li> </ul> </div> </div> <div class="sheet-help-triumph sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Tri"></span> </div> <div class="sheet-help-content"> <h5>Per Triumph</h5> <ul> <li>Identify way to completely distract opponent for duration of scene.</li> </ul> </div> </div> <div class="sheet-help-threat sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-T"></span> </div> <div class="sheet-help-content"> <h5>Per Threat</h5> <ul> <li>Increase time taken to perform action while hidden by 20%.</li> </ul> </div> </div> <div class="sheet-help-despair sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Des"></span> </div> <div class="sheet-help-content"> <h5>Per Despair</h5> <ul> <li>Leave behind evidence of passing, concerning identity and possibly motive.</li> </ul> </div> </div> </div><!-- end tip --> </td> <td><input name='attr_careerskillStealth' type="checkbox" value="1"></td> <td><input type="number" name="attr_rankStealth" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_yStealth" value="(((@{agility} + @{rankStealth}) - abs(@{agility} - @{rankStealth})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gStealth" value="((((@{agility} + @{rankStealth}) + abs(@{agility} - @{rankStealth})) / 2) - @{yStealth})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_diceStealth" /> </div> </td> <td><button type='roll' name='roll_Stealth' value='!eed characterID(@{character_id}) label(skill:Stealth) @{diceStealth} encum(@{encumbrancemax}|@{encumbrance}) skill(@{rankStealth}|@{agility}) @{dicePool} (gmdice)'></button></td> </tr><!--Stealth--> <tr> <td> <label>Streetwise (Cun)</label> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content"> <h5>Overview (p81)</h5> <ul> <li>Locate a merchant who specialises in unsavoury goods or illicit services.</li> <li>Pick up subtle cues from the language and attitudes of those who operate outside of legal structures. Understand subtle references within conversations.</li> <li>Discover what rumours are actively circulating within a region.</li> </ul> </div> </div> <div class="sheet-help-success sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-S"></span> </div> <div class="sheet-help-content"> <h5>Per Additional Success</h5> <ul> <li>Reduce time or funds required to obtain item, information or service.</li> </ul> </div> </div> <div class="sheet-help-advantage sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-A"></span> </div> <div class="sheet-help-content"> <h5>Per Advantage</h5> <ul> <li>Reveal additional rumours or alternative sources.</li> </ul> </div> </div> <div class="sheet-help-triumph sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Tri"></span> </div> <div class="sheet-help-content"> <h5>Per Triumph</h5> <ul> <li>Gain semi-permanent contact on street.</li> </ul> </div> </div> <div class="sheet-help-threat sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-T"></span> </div> <div class="sheet-help-content"> <h5>Per Threat</h5> <ul> <li>Seed gathered information with minor falsehoods.</li> </ul> </div> </div> <div class="sheet-help-despair sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Des"></span> </div> <div class="sheet-help-content"> <h5>Per Despair</h5> <ul> <li>Character lets slip details about self or information sought.</li> </ul> </div> </div> </div><!-- end tip --> </td> <td><input name='attr_careerskillStreetwise' type="checkbox" value="1"></td> <td><input type="number" name="attr_rankStreetwise" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_yStreetwise" value="(((@{cunning} + @{rankStreetwise}) - abs(@{cunning} - @{rankStreetwise})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gStreetwise" value="((((@{cunning} + @{rankStreetwise}) + abs(@{cunning} - @{rankStreetwise})) / 2) - @{yStreetwise})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_diceStreetwise" /> </div> </td> <td><button type='roll' name='roll_Streetwise' value='!eed characterID(@{character_id}) label(skill:Streetwise) @{diceStreetwise} skill(@{rankStreetwise}|@{cunning}) @{dicePool} (gmdice)'></button></td> </tr><!--Streetwise--> <tr> <td> <label>Survival (Cun)</label> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content"> <h5>Overview (p82)</h5> <ul> <li>Identify safe food, potable water or shelter in a natural environment.</li> <li>Understand weather patterns. Recognise the signs of imminent dangerous conditions and know the best way to prepare.</li> <li>Track a subject through the wilderness - whether game or bounty.</li> <li>Handle domesticated animals, so they may be used as beasts of burden or transport.</li> </ul> </div> </div> <div class="sheet-help-success sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-S"></span> </div> <div class="sheet-help-content"> <h5>Per Additional Success</h5> <ul> <li>Assist other character in surviving.</li> <li>Stockpile goods to increase time between checks.</li> </ul> </div> </div> <div class="sheet-help-advantage sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-A"></span> </div> <div class="sheet-help-content"> <h5>Per Advantage</h5> <ul> <li>Gain insight into environment to make future checks simpler.</li> <li>When tracking, learn significant detail about target, such as number, species or how recently tracks were made.</li> </ul> </div> </div> <div class="sheet-help-triumph sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Tri"></span> </div> <div class="sheet-help-content"> <h5>Per Triumph</h5> <ul> <li>When handling domesticated animal, predispose animal towards character earning loyal companion.</li> <li>When tracking, learn vital clue about target.</li> </ul> </div> </div> <div class="sheet-help-threat sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-T"></span> </div> <div class="sheet-help-content"> <h5>Per Threat</h5> <ul> <li>Spend vital resources (food, fuel, etc.) during check.</li> </ul> </div> </div> <div class="sheet-help-despair sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Des"></span> </div> <div class="sheet-help-content"> <h5>Per Despair</h5> <ul> <li>Inflict wounds, Critical Injuries or large amounts of strain on character.</li> </ul> </div> </div> </div><!-- end tip --> </td> <td><input name='attr_careerskillSurvival' type="checkbox" value="1"></td> <td><input type="number" name="attr_rankSurvival" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_ySurvival" value="(((@{cunning} + @{rankSurvival}) - abs(@{cunning} - @{rankSurvival})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gSurvival" value="((((@{cunning} + @{rankSurvival}) + abs(@{cunning} - @{rankSurvival})) / 2) - @{ySurvival})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_diceSurvival" /> </div> </td> <td><button type='roll' name='roll_Survival' value='!eed characterID(@{character_id}) label(skill:Survival) @{diceSurvival} skill(@{rankSurvival}|@{cunning}) @{dicePool} (gmdice)'></button></td> </tr><!--Survival--> <tr> <td> <label>Vigilance (Will)</label> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content"> <h5>Overview (p82)</h5> <ul> <li>Check for initiative when unprepared.</li> <li>Use ability associated with the Force dependent on Vigilance.</li> <li>Determine how prepared you are for unexpected crises. Resolve questions about whether or not a small piece of gear is available.</li> </ul> </div> </div> <div class="sheet-help-success sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-S"></span> </div> <div class="sheet-help-content"> <h5>Per Additional Success</h5> <ul> <li>Character is particularly well prepared.</li> </ul> </div> </div> <div class="sheet-help-advantage sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-A"></span> </div> <div class="sheet-help-content"> <h5>Per Advantage</h5> <ul> <li>Notice key environmental factor.</li> </ul> </div> </div> <div class="sheet-help-triumph sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Tri"></span> </div> <div class="sheet-help-content"> <h5>Per Triumph</h5> <ul> <li>Gain extra maneuver during first round of combat.</li> </ul> </div> </div> <div class="sheet-help-threat sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-T"></span> </div> <div class="sheet-help-content"> <h5>Per Threat</h5> <ul> <li>Miss key piece of information about situation or environment.</li> </ul> </div> </div> <div class="sheet-help-despair sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-Des"></span> </div> <div class="sheet-help-content"> <h5>Per Despair</h5> <ul> <li>The character is unable to perform more than one maneuver during first round of combat.</li> </ul> </div> </div> </div><!-- end tip --> </td> <td><input name='attr_careerskillVigilance' type="checkbox" value="1"></td> <td><input type="number" name="attr_rankVigilance" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_yVigilance" value="(((@{willpower} + @{rankVigilance}) - abs(@{willpower} - @{rankVigilance})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gVigilance" value="((((@{willpower} + @{rankVigilance}) + abs(@{willpower} - @{rankVigilance})) / 2) - @{yVigilance})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_diceVigilance" /> </div> </td> <td><button type='roll' name='roll_Vigilance' value='!eed characterID(@{character_id}) label(skill:Vigilance) @{diceVigilance} skill(@{rankVigilance}|@{willpower}) @{dicePool} (gmdice)'></button></td> </tr><!--Vigilance--> </tbody> </table><!--General Skills Section--> <table class="sheet-skills" cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th>Combat Skills</th> <th>Career</th> <th colspan="2">Rank</th> <th colspan="2">Mods</th> </tr> </thead> <tbody> <tr> <td valign="middle"> <label>Lightsaber</label> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content"> <h5>Overview (p130)</h5> <ul> <li>Make a melee attack while using a Lightsaber-type weapon.</li> <li>The characteristic associated with this skill can be modified by certain talents.</li> </ul> </div> </div> </div><!-- end tip --> <select name="attr_charLightsaber" style="float:right; width:50%"> <option value="@{brawn}">Brawn</option><!-- encum not working --> <option value="@{agility}">Agility</option> <option value="@{intellect}">Intellect</option> <option value="@{cunning}">Cunning</option> <option value="@{willpower}">Willpower</option> <option value="@{presence}">Presence</option> </select> </td> <td><input name='attr_careerskillLightsaber' type="checkbox" value="1"></td> <td><input type="number" name="attr_rankLightsaber" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_yLightsaber" value="(((@{charLightsaber} + @{rankLightsaber}) - abs(@{charLightsaber} - @{rankLightsaber})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gLightsaber" value="((((@{charLightsaber} + @{rankLightsaber}) + abs(@{charLightsaber} - @{rankLightsaber})) / 2) - @{yLightsaber})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_diceLightsaber" /> </div> </td> <td><button type='roll' name='roll_Lightsaber' value='!eed characterID(@{character_id}) label(skill:Lightsaber) @{diceLightsaber} encum(@{encumbrancemax}|@{encumbrance}) skill(@{rankLightsaber}|@{charLightsaber}) @{dicePool} (gmdice)'></button></td> </tr><!--LightSaber--> <tr> <td> <label>Brawl (Br)</label> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content"> <h5>Overview (p83)</h5> <ul> <li>Make a melee attack while unarmed or using a Brawl weapon.</li> </ul> </div> </div> </div><!-- end tip --> </td> <td><input name='attr_careerskillBrawl' type="checkbox" value="1"></td> <td><input type="number" name="attr_rankBrawl" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_yBrawl" value="(((@{brawn} + @{rankBrawl}) - abs(@{brawn} - @{rankBrawl})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gBrawl" value="((((@{brawn} + @{rankBrawl}) + abs(@{brawn} - @{rankBrawl})) / 2) - @{yBrawl})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_diceBrawl" /> </div> </td> <td><button type='roll' name='roll_Brawl' value='!eed characterID(@{character_id}) label(skill:Brawl) @{diceBrawl} encum(@{encumbrancemax}|@{encumbrance}) skill(@{rankBrawl}|@{brawn}) @{dicePool} (gmdice)'></button></td> </tr><!--Brawl--> <tr> <td> <label>Gunnery (Agi)</label> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content"> <h5>Overview (p83)</h5> <ul> <li>Make a ranged attack using a Gunnery weapon.</li> <li>Operate complex targeting computers and automated weapons mounts.</li> </ul> </div> </div> </div><!-- end tip --> </td> <td><input name='attr_careerskillGunnery' type="checkbox" value="1"></td> <td><input type="number" name="attr_rankGunnery" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_yGunnery" value="(((@{agility} + @{rankGunnery}) - abs(@{agility} - @{rankGunnery})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gGunnery" value="((((@{agility} + @{rankGunnery}) + abs(@{agility} - @{rankGunnery})) / 2) - @{yGunnery})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_diceGunnery" /> </div> </td> <td><button type='roll' name='roll_Gunnery' value='!eed characterID(@{character_id}) label(skill:Gunnery) @{diceGunnery} encum(@{encumbrancemax}|@{encumbrance}) skill(@{rankGunnery}|@{agility}) @{dicePool} (gmdice)'></button></td> </tr><!--Gunnery--> <tr> <td> <label>Melee (Br)</label> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content"> <h5>Overview (p84)</h5> <ul> <li>Make a melee attack using a Melee weapon.</li> </ul> </div> </div> </div><!-- end tip --> </td> <td><input name='attr_careerskillMelee' type="checkbox" value="1"></td> <td><input type="number" name="attr_rankMelee" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_yMelee" value="(((@{brawn} + @{rankMelee}) - abs(@{brawn} - @{rankMelee})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gMelee" value="((((@{brawn} + @{rankMelee}) + abs(@{brawn} - @{rankMelee})) / 2) - @{yMelee})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_diceMelee" /> </div> </td> <td><button type='roll' name='roll_Melee' value='!eed characterID(@{character_id}) label(skill:Melee) @{diceMelee} encum(@{encumbrancemax}|@{encumbrance}) skill(@{rankMelee}|@{brawn}) @{dicePool} (gmdice)'></button></td> </tr><!--Melee--> <tr> <td> <label>Ranged - Light (Ag)</label> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content"> <h5>Overview (p84)</h5> <ul> <li>Make a ranged attack using a Ranged (Light) weapon.</li> </ul> </div> </div> </div><!-- end tip --> </td> <td><input name='attr_careerskillLight' type="checkbox" value="1"></td> <td><input type="number" name="attr_rankLight" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_yLight" value="(((@{agility} + @{rankLight}) - abs(@{agility} - @{rankLight})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gLight" value="((((@{agility} + @{rankLight}) + abs(@{agility} - @{rankLight})) / 2) - @{yLight})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_diceLight" /> </div> </td> <td><button type='roll' name='roll_Light' value='!eed characterID(@{character_id}) label(skill:Ranged - Light) @{diceLight} encum(@{encumbrancemax}|@{encumbrance}) skill(@{rankLight}|@{agility}) @{dicePool} (gmdice)'></button></td> </tr><!--Ranged - Light--> <tr> <td> <label>Ranged - Heavy (Ag)</label> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content"> <h5>Overview (p84)</h5> <ul> <li>Make a ranged attack using a Ranged (Heavy) weapon.</li> </ul> </div> </div> </div><!-- end tip --> </td> <td><input name='attr_careerskillHeavy' type="checkbox" value="1"></td> <td><input type="number" name="attr_rankHeavy" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_yHeavy" value="(((@{agility} + @{rankHeavy}) - abs(@{agility} - @{rankHeavy})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gHeavy" value="((((@{agility} + @{rankHeavy}) + abs(@{agility} - @{rankHeavy})) / 2) - @{yHeavy})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_diceHeavy" /> </div> </td> <td><button type='roll' name='roll_Heavy' value='!eed characterID(@{character_id}) label(skill:Ranged - Heavy) @{diceHeavy} encum(@{encumbrancemax}|@{encumbrance}) skill(@{rankHeavy}|@{agility}) @{dicePool} (gmdice)'></button></td> </tr><!--Ranged - Heavy--> </tbody> </table><!--Combat Skills Section--> <table class="sheet-skills" cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th>Knowledge Skills</th> <th>Career</th> <th colspan="2">Rank</th> <th colspan="2">Mods</th> </tr> </thead> <tbody> <tr> <td> <label>Core Worlds (Int)</label> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content"> <h5>Overview (p85)</h5> <ul> <li>Identify a person's planet of origin without asking, by recognising traits of accent, dress and mannerisms associated with a particular world.</li> <li>Know what behaviours are considered necessary and polite, as opposed to ones that could be offensive when interacting with someone from a Core World.</li> <li>Identify which markets are the best places to sell or purchase a particular cargo (in the Core Worlds). Recognise any worlds where such goods could be illegal.</li> </ul> </div> </div> </div><!-- end tip --> </td> <td><input name='attr_careerskillCore' type="checkbox" value="1"></td> <td><input type="number" name="attr_rankCore" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_yCore" value="(((@{intellect} + @{rankCore}) - abs(@{intellect} - @{rankCore})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gCore" value="((((@{intellect} + @{rankCore}) + abs(@{intellect} - @{rankCore})) / 2) - @{yCore})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_diceCore" /> </div> </td> <td><button type='roll' name='roll_Core' value='!eed characterID(@{character_id}) label(skill:Core Worlds) @{diceCore} skill(@{rankCore}|@{intellect}) @{dicePool} (gmdice)'></button></td> </tr><!--Core Worlds--> <tr> <td> <label>Education (Int)</label> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content"> <h5>Overview (p85)</h5> <ul> <li>Identify the best way to proceed when interacting with a government entity.</li> <li>Employ basic scientific knowledge in an analysis.</li> <li>Understand any question that doesn't obviously fall under another knowledge skill.</li> </ul> </div> </div> </div><!-- end tip --> </td> <td><input name='attr_careerskillEducation' type="checkbox" value="1"></td> <td><input type="number" name="attr_rankEducation" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_yEducation" value="(((@{intellect} + @{rankEducation}) - abs(@{intellect} - @{rankEducation})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gEducation" value="((((@{intellect} + @{rankEducation}) + abs(@{intellect} - @{rankEducation})) / 2) - @{yEducation})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_diceEducation" /> </div> </td> <td><button type='roll' name='roll_Education' value='!eed characterID(@{character_id}) label(skill:Education) @{diceEducation} skill(@{rankEducation}|@{intellect}) @{dicePool} (gmdice)'></button></td> </tr><!--Education--> <tr> <td> <label>Lore (Int)</label> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content"> <h5>Overview (p85)</h5> <ul> <li>Decipher an ancient piece of writing or identify its context.</li> <li>Know legends associated with the exploits of an ancient hero.</li> </ul> </div> </div> </div><!-- end tip --> </td> <td><input name='attr_careerskillLore' type="checkbox" value="1"></td> <td><input type="number" name="attr_rankLore" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_yLore" value="(((@{intellect} + @{rankLore}) - abs(@{intellect} - @{rankLore})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gLore" value="((((@{intellect} + @{rankLore}) + abs(@{intellect} - @{rankLore})) / 2) - @{yLore})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_diceLore" /> </div> </td> <td><button type='roll' name='roll_Lore' value='!eed characterID(@{character_id}) label(skill:Lore) @{diceLore} skill(@{rankLore}|@{intellect}) @{dicePool} (gmdice)'></button></td> </tr><!--Lore--> <tr> <td> <label>Outer Rim (Int)</label> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content"> <h5>Overview (p86)</h5> <ul> <li>Find a planet with a particular resource or service among the systems of the Outer Rim.</li> <li>Identify which markets are the best places to sell or purchase a particular cargo (in the Outer Rim). Recognise any worlds where such goods could be illegal.</li> <li>Know what behaviours are considered necessary and polite, as opposed to ones that could be offensive when interacting with someone from an Outer Rim world.</li> </ul> </div> </div> </div><!-- end tip --> </td> <td><input name='attr_careerskillOuter' type="checkbox" value="1"></td> <td><input type="number" name="attr_rankOuter" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_yOuter" value="(((@{intellect} + @{rankOuter}) - abs(@{intellect} - @{rankOuter})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gOuter" value="((((@{intellect} + @{rankOuter}) + abs(@{intellect} - @{rankOuter})) / 2) - @{yOuter})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_diceOuter" /> </div> </td> <td><button type='roll' name='roll_Outer' value='!eed characterID(@{character_id}) label(skill:Outer Rim) @{diceOuter} skill(@{rankOuter}|@{intellect}) @{dicePool} (gmdice)'></button></td> </tr><!--Outer Rim--> <tr> <td> <label>Underworld (Int)</label> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content"> <h5>Overview (p86)</h5> <ul> <li>Know which nearby worlds are the best locations for a particular type of illegal business.</li> <li>Determine the most common methods an opponent might use for a particular type of criminal activity.</li> </ul> </div> </div> </div><!-- end tip --> </td> <td><input name='attr_careerskillUnderworld' type="checkbox" value="1"></td> <td><input type="number" name="attr_rankUnderworld" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_yUnderworld" value="(((@{intellect} + @{rankUnderworld}) - abs(@{intellect} - @{rankUnderworld})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gUnderworld" value="((((@{intellect} + @{rankUnderworld}) + abs(@{intellect} - @{rankUnderworld})) / 2) - @{yUnderworld})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_diceUnderworld" /> </div> </td> <td><button type='roll' name='roll_Underworld' value='!eed characterID(@{character_id}) label(skill:Underworld) @{diceUnderworld} skill(@{rankUnderworld}|@{intellect}) @{dicePool} (gmdice)'></button></td> </tr><!--Underworld--> <tr> <td> <label>Xenology (Int)</label> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content"> <h5>Overview (p86)</h5> <ul> <li>Know what behaviours are considered necessary and polite, as opposed to ones that could be offensive when interacting with a member of an unfamiliar species.</li> <li>Identify a particular way to injure or a characteristic vulnerability, to either help or harm a member of another species.</li> <li>Know appropriate environmental conditions and foodstuffs for a member of another species.</li> </ul> </div> </div> </div><!-- end tip --> </td> <td><input name='attr_careerskillXenology' type="checkbox" value="1"></td> <td><input type="number" name="attr_rankXenology" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_yXenology" value="(((@{intellect} + @{rankXenology}) - abs(@{intellect} - @{rankXenology})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gXenology" value="((((@{intellect} + @{rankXenology}) + abs(@{intellect} - @{rankXenology})) / 2) - @{yXenology})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_diceXenology" /> </div> </td> <td><button type='roll' name='roll_Xenology' value='!eed characterID(@{character_id}) label(skill:Xenology) @{diceXenology} skill(@{rankXenology}|@{intellect}) @{dicePool} (gmdice)'></button></td> </tr><!--Xenology--> <tr> <td> <label>Warfare (Int)</label> <div class="sheet-tips"> <div class="sheet-help-def sheet-help"> <div class="sheet-icon"> <span class="sheet-icon-question">?</span> </div> <div class="sheet-help-content"> <h5>Overview (AoR p136)</h5> <ul> <li>Know of the strategies and tactics of warefare both on the ground and in space.</li> <li>Remembering details about a significant event, organization, or individual who played a role in a galactic struggle.</li> </ul> </div> </div> </div><!-- end tip --> </td> <td><input name='attr_careerskillWarfare' type="checkbox" value="1"></td> <td><input type="number" name="attr_rankWarfare" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_yWarfare" value="(((@{intellect} + @{rankWarfare}) - abs(@{intellect} - @{rankWarfare})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gWarfare" value="((((@{intellect} + @{rankWarfare}) + abs(@{intellect} - @{rankWarfare})) / 2) - @{yWarfare})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_diceWarfare" /> </div> </td> <td><button type='roll' name='roll_Warfare' value='!eed characterID(@{character_id}) label(skill:Warfare) @{diceXenology} skill(@{rankWarfare}|@{intellect}) @{dicePool} (gmdice)'></button></td> </tr><!--Warfare--> </tbody> </table><!--Knowledge Skills Section--> <table class="sheet-skills sheet-custome-skills" cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th>Custom Skills</th> <th>Char</th> <th>Career</th> <th colspan="2">Rank</th> <th colspan="2">Mods</th> </tr> </thead> <tbody> <tr> <td><input type="text" name="attr_customskillname1" /></td> <td> <select name="attr_charcustomskillname1"> <option value="@{brawn}">Brawn</option><!-- encum not working --> <option value="@{agility}">Agility</option> <option value="@{intellect}">Intellect</option> <option value="@{cunning}">Cunning</option> <option value="@{willpower}">Willpower</option> <option value="@{presence}">Presence</option> </select> </td> <td><input name='attr_careerskillcustomskillname1' type="checkbox" value="1"></td> <td><input type="number" name="attr_rankcustomskillname1" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_ycustomskillname1" value="(((@{charcustomskillname1} + @{rankcustomskillname1}) - abs(@{charcustomskillname1} - @{rankcustomskillname1})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gcustomskillname1" value="((((@{charcustomskillname1} + @{rankcustomskillname1}) + abs(@{charcustomskillname1} - @{rankcustomskillname1})) / 2) - @{ycustomskillname1})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_dicecustomskillname1" /> </div> </td> <td><button type='roll' name='roll_customskillname1' value='!eed characterID(@{character_id}) label(skill:@{customskillname1}) @{dicecustomskillname1} skill(@{rankcustomskillname1}|@{charcustomskillname1}) @{dicePool} (gmdice)'></button></td> </tr><!--Custom Skill 1--> <tr> <td><input type="text" name="attr_customskillname2" /></td> <td> <select name="attr_charcustomskillname2"> <option value="@{brawn}">Brawn</option> <option value="@{agility}">Agility</option> <option value="@{intellect}">Intellect</option> <option value="@{cunning}">Cunning</option> <option value="@{willpower}">Willpower</option> <option value="@{presence}">Presence</option> </select> </td> <td><input name='attr_careerskillcustomskillname2' type="checkbox" value="1"></td> <td><input type="number" name="attr_rankcustomskillname2" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_ycustomskillname2" value="(((@{charcustomskillname2} + @{rankcustomskillname2}) - abs(@{charcustomskillname2} - @{rankcustomskillname2})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gcustomskillname2" value="((((@{charcustomskillname2} + @{rankcustomskillname2}) + abs(@{charcustomskillname2} - @{rankcustomskillname2})) / 2) - @{ycustomskillname2})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_dicecustomskillname2" /> </div> </td> <td><button type='roll' name='roll_customskillname2' value='!eed characterID(@{character_id}) label(skill:@{customskillname2}) @{dicecustomskillname2} skill(@{rankcustomskillname2}|@{charcustomskillname2}) @{dicePool} (gmdice)'></button></td> </tr><!--Custom Skill 2--> </tbody> </table><!--Custom Skills Section--> </div> <div class="sheet-clear"></div> </div><!--Skills List--> </div><!-- Skills Tab --> <div class="sheet-tab-content sheet-tab-talents"> <div class="sheet-small-12 sheet-column"> <br /> <br /> <div class="sheet-clear"></div> <div class="sheet-attachments-wrapper"> <input type="checkbox" name="attr_character_init" class="sheet-view-attachments" /> <label class="sheet-view-attachments">Show Initiative</label> <table class="sheet-attachments" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td> <table> <tr> <td><label>What kind of Initiative Slot?</label></td> <td><label>PC<input type="radio" name="attr_npc-pc" value="pcinit" checked="checked" /></label></td> <td><label>NPC<input type="radio" name="attr_npc-pc" value="npcinit" /></label></td> <td><label></label></td> <td><label></label></td> <td><label></label></td> <td><label></label></td> <td><label></label></td> <td><label></label></td> </tr> </table> <table class="sheet-init" cellspacing="0" cellpadding="0" border="0"> <tr> <td><label>Cool (if prepared):</label></td> <td> <input class="sheet-yd" type="hidden" name="attr_yCoolInit" value="(((@{presence} + @{rankCool}) - abs(@{presence} - @{rankCool})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gCoolInit" value="((((@{presence} + @{rankCool}) + abs(@{presence} - @{rankCool})) / 2) - @{yCoolInit})" disabled><span></span> </td> <td><label>Modifiers</label><input name='attr_initiativeCoolDice' type="text" /></td> <td> <button type='roll' name='roll_VigilanceInit' value='!eed @{npc-pc} characterID(@{character_id}) label(skill:Initiative Cool) skill(@{rankCool}|@{presence}) @{initiativeCoolDice} @{dicePool}'></button> </td> </tr> <tr> <td><label>Vigilance (if unexpected):</label></td> <td> <input class="sheet-yd" type="hidden" name="attr_yVigilanceInit" value="(((@{willpower} + @{rankVigilance}) - abs(@{willpower} - @{rankVigilance})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_gVigilanceInit" value="((((@{willpower} + @{rankVigilance}) + abs(@{willpower} - @{rankVigilance})) / 2) - @{yVigilanceInit})" disabled><span></span> </td> <td><label>Modifiers</label><input name='attr_initiativeVigDice' type="text" /></td> <td> <button type='roll' name='roll_VigilanceInit' value='!eed @{npc-pc} characterID(@{character_id}) label(skill:Initiative Vigilance) skill(@{rankVigilance}|@{willpower}) @{initiativeVigDice} @{dicePool}'></button> </td> </tr> </table> </td> </tr> </tbody> </table> </div> <br /> </div><!-- Initiative --> <div class="sheet-small-12 sheet-column"> <h3>Weapons</h3><br /> <fieldset class="repeating_weapons"> <table class="sheet-weapons" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td></td> <td> <label>Damage</label> <input name='attr_damage' type="text" value="0" /> </td> <td></td> <td> <label>Critical</label> <input name='attr_critical' type="text" value="0" /> </td> <td><button type='roll' name='roll_weapon' value='!eed characterID(@{character_id}) label(Weapon:@{weaponmake}|Damage:@{damage}|Critical:@{critical}|Range:@{weaponrange}|Special:@{weaponspecial}) @{weapondice} encum(@{encumbrancemax}|@{encumbrance}) @{weaponskill} @{weaponcondition} @{dicePool} (gmdice)'></button></td> <td> <label>Encum</label> <input name='attr_weapon-encum' type="text" value="0" /> </td> <td></td> <td> <label>HP</label> <input name='attr_weapon-hp' type="text" value="0" /> </td> <td></td> </tr> </tbody> </table><!-- Weapon Top Stats --> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><label>Make / Model:</label></td> <td><input name='attr_weaponmake' type="text" /></td> <td><label>Range:</label></td> <td> <select name='attr_weaponrange'> <option value="Engaged">Engaged</option> <option value="Short">Short</option> <option vaule="Medium">Medium</option> <option value="Long">Long</option> <option value="Extreme">Extreme</option> </select> </td> </tr> <tr> <td><label>Weapon Type:</label></td> <td><input name='attr_weapontype' type="text" /></td> <td><label>Skill:</label></td> <td> <select name='attr_weaponskill'> <option value="skill(@{rankBrawl}|@{brawn})">Brawl</option> <option value="skill(@{rankGunnery}|@{agility})">Gunnery</option> <option value="skill(@{rankMelee}|@{brawn})">Melee</option> <option value="skill(@{rankLight}|@{agility})">Ranged - Light</option> <option value="skill(@{rankHeavy}|@{agility})">Ranged - Heavy</option> <option value="skill(@{rankLightsaber}|@{charLightsaber})">Lightsaber</option> <option value="skill(@{rankMechanics}|@{Intellect})">Mechanics</option> </select> </td> </tr> <tr> <td><label>Modifiers:</label></td> <td><input name='attr_weapondice' type="text" /></td> <td><label>Condition:</label></td> <td> <select name='attr_weaponcondition'> <option value="">New</option> <option value="1blk">Minor</option> <option value="1p">Moderate</option> <option value="unusableWeapon">Major</option> </select> </td> </tr> <tr> <td><label>Book &amp; Page:</label></td> <td><input name='attr_weapon_bookpage' type="text" /></td> <td>Rarity:</td> <td><input name='attr_weapon_rarity' type="number" min="1" max="10" /></td> </tr> <tr> <td><label>Restricted:</label></td> <td> <select name='attr_weapon_restrict'> <option value="no">No</option> <option value="yes">Yes</option> </select> </td> <td>Value</td> <td><input name='attr_weapon_value' type="text" /></td> </tr> <tr> <td><label>Features:</label></td> <td><textarea rows="2" name="attr_weaponfeatures"></textarea></td> <td><label>Special:</label></td> <td><textarea rows="2" name="attr_weaponspecial"></textarea></td> </tr> <tr> <td colspan="4"> &nbsp; </td> </tr> </tbody> </table><!-- Weapon Info --> <div class="sheet-attachments-wrapper"> <input type="checkbox" name="attr_weaponattchments" class="sheet-view-attachments" /> <label class="sheet-view-attachments">View Attachments</label> <div class="sheet-clear"></div> <table class="sheet-attachments" cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th>Attachment Name</th> <th>Hard Points</th> <th>Base Modifiers</th> <th>Modifications</th> </tr> </thead> <tbody> <tr> <td><input name='attr_weaponattch1' type="text" /></td> <td><input name='attr_weaponattachp1' type="number" /></td> <td><textarea rows="3" type="text" name="attr_weaponattachbase1"></textarea></td> <td><textarea rows="3" type="text" name="attr_weaponattachmod1"></textarea></td> </tr> <tr> <td><input name='attr_weaponattch2' type="text" /></td> <td><input name='attr_weaponattachp2' type="number" /></td> <td><textarea rows="3" type="text" name="attr_weaponattachbase2"></textarea></td> <td><textarea rows="3" type="text" name="attr_weaponattachmod2"></textarea></td> </tr> <tr> <td><input name='attr_weaponattch3' type="text" /></td> <td><input name='attr_weaponattachp3' type="number" /></td> <td><textarea rows="3" type="text" name="attr_weaponattachbase3"></textarea></td> <td><textarea rows="3" type="text" name="attr_weaponattachmod3"></textarea></td> </tr> <tr> <td><input name='attr_weaponattch4' type="text" /></td> <td><input name='attr_weaponattachp4' type="number" /></td> <td><textarea rows="3" type="text" name="attr_weaponattachbase4"></textarea></td> <td><textarea rows="3" type="text" name="attr_weaponattachmod4"></textarea></td> </tr> </tbody> </table> </div><!-- Weapon Attachments --> <br /> </fieldset><!-- Weapon Info --> </div><!-- Weapons --> <div class="sheet-small-12 sheet-column"> <br /> <h3 class="sheet-section-header">Combat Skills</h3> <table class="sheet-talents" cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th style="width:50%">Skill Name</th> <th style="width:30%">Modifiers</th> </tr> </thead> </table> <fieldset class="repeating_fightskills"> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td> <select name='attr_FightingSkill'> <option value="" disabled>General Skills</option> <option value="!eed npcinit rollPlayer(character:@{name}|skill:intellect,rankAstrogation) label(skill:Astrogation) @{FightingDice} @{dicePool} (gmdice)">Astrogation</option> <option value="!eed npcinit rollPlayer(character:@{name}|skill:brawn,rankAthletics) label(skill:Athletics) @{FightingDice} @{dicePool} (gmdice)">Athletics</option> <option value="!eed npcinit rollPlayer(character:@{name}|skill:presence,rankCharm) label(skill:Charm) @{FightingDice} @{dicePool} (gmdice)">Charm</option> <option value="!eed npcinit rollPlayer(character:@{name}|skill:presence,rankCoercion) label(skill:Coercion) @{FightingDice} @{dicePool} (gmdice)">Coercion</option> <option value="!eed npcinit rollPlayer(character:@{name}|skill:intellect,rankComputers) label(skill:Computers) @{FightingDice} @{dicePool} (gmdice)">Computers</option> <option value="!eed npcinit rollPlayer(character:@{name}|skill:presence,rankCool) label(skill:Cool) @{FightingDice} @{dicePool} (gmdice)">Cool</option> <option value="!eed npcinit rollPlayer(character:@{name}|skill:encum|skill:agility,rankCoordination) label(skill:Coordination) @{FightingDice} @{dicePool} (gmdice)">Coordination</option> <option value="!eed npcinit rollPlayer(character:@{name}|skill:cunning,rankDeception) label(skill:Deception) @{FightingDice} @{dicePool} (gmdice)">Deception</option> <option value="!eed npcinit rollPlayer(character:@{name}|skill:willpower,rankDiscipline) label(skill:Discipline) @{FightingDice} @{dicePool} (gmdice)">Discipline</option> <option value="!eed npcinit rollPlayer(character:@{name}|skill:presence,rankLeadership) label(skill:Leadership) @{FightingDice} @{dicePool} (gmdice)">Leadership</option> <option value="!eed npcinit rollPlayer(character:@{name}|skill:intellect,rankMechanics) label(skill:Mechanics) @{FightingDice} @{dicePool} (gmdice)">Mechanics</option> <option value="!eed npcinit rollPlayer(character:@{name}|skill:intellect,rankMedicine) label(skill:Medicine) @{FightingDice} @{dicePool} (gmdice)">Medicine</option> <option value="!eed npcinit rollPlayer(character:@{name}|skill:presence,rankNegotiation) label(skill:Negotiation) @{FightingDice} @{dicePool} (gmdice)">Negotiation</option> <option value="!eed npcinit rollPlayer(character:@{name}|skill:cunning,rankPerception) label(skill:Perception) @{FightingDice} @{dicePool} (gmdice)">Perception</option> <option value="!eed npcinit rollPlayer(character:@{name}|skill:encum|skill:agility,rankPlanetary) label(skill:Piloting-Planetary) @{FightingDice} @{dicePool} (gmdice)">Piloting (Planetary)</option> <option value="!eed npcinit rollPlayer(character:@{name}|skill:encum|skill:agility,rankSpace) label(skill:Piloting-Space) @{FightingDice} @{dicePool} (gmdice)">Piloting (Space)</option> <option value="!eed npcinit rollPlayer(character:@{name}|skill:brawn,rankResilience) label(skill:Resilience) @{FightingDice} @{dicePool} (gmdice)">Resilience</option> <option value="!eed npcinit rollPlayer(character:@{name}|skill:cunning,rankSkulduggery) label(skill:Skulduggery) @{FightingDice} @{dicePool} (gmdice)">Skulduggery</option> <option value="!eed npcinit rollPlayer(character:@{name}|skill:encum|skill:agility,rankStealth) label(skill:Stealth) @{FightingDice} @{dicePool} (gmdice)">Stealth</option> <option value="!eed npcinit rollPlayer(character:@{name}|skill:cunning,rankStreetwise) label(skill:Streetwise) @{FightingDice} @{dicePool} (gmdice)">Streetwise</option> <option value="!eed npcinit rollPlayer(character:@{name}|skill:cunning,rankSurvival) label(skill:Survival) @{FightingDice} @{dicePool} (gmdice)">Survival</option> <option value="!eed npcinit rollPlayer(character:@{name}|skill:willpower,rankVigilance) label(skill:Vigilance) @{FightingDice} @{dicePool} (gmdice)">Vigilance</option> <option value="" disabled>Combat Skills</option> <option value="!eed npcinit rollPlayer(character:@{name}|skill:brawn,rankBrawl) label(skill:Brawl) @{FightingDice} @{dicePool} (gmdice)">Brawl</option> <option value="!eed npcinit rollPlayer(character:@{name}|skill:encum|skill:agility,rankGunnery) label(skill:Gunnery) @{FightingDice} @{dicePool} (gmdice)">Gunnery</option> <option value="!eed npcinit rollPlayer(character:@{name}|skill:brawn,rankMelee) label(skill:Melee) @{FightingDice} @{dicePool} (gmdice)">Melee</option> <option value="!eed npcinit rollPlayer(character:@{name}|skill:charLightsaber,rankLightsaber) label(skill:Lightsaber) @{FightingDice} @{dicePool} (gmdice)">Lightsaber</option> <option value="!eed npcinit rollPlayer(character:@{name}|skill:encum|skill:agility,rankLight) label(skill:Ranged-Light) @{FightingDice} @{dicePool} (gmdice)">Ranged (Light)</option> <option value="!eed npcinit rollPlayer(character:@{name}|skill:encum|skill:agility,rankHeavy) label(skill:Ranged-Heavy) @{FightingDice} @{dicePool} (gmdice)">Ranged (Heavy)</option> <option value="" disabled>Knowledge Skills</option> <option value="!eed npcinit rollPlayer(character:@{name}|skill:intellect,rankCore) label(skill:Core Worlds) @{FightingDice} @{dicePool} (gmdice)">Core Worlds</option> <option value="!eed npcinit rollPlayer(character:@{name}|skill:intellect,rankEducation) label(skill:Education) @{FightingDice} @{dicePool} (gmdice)">Education</option> <option value="!eed npcinit rollPlayer(character:@{name}|skill:intellect,rankLore) label(skill:Lore) @{FightingDice} @{dicePool} (gmdice)">Lore</option> <option value="!eed npcinit rollPlayer(character:@{name}|skill:intellect,rankOuter) label(skill:Outer Rim) @{FightingDice} @{dicePool} (gmdice)">Outer Rim</option> <option value="!eed npcinit rollPlayer(character:@{name}|skill:intellect,rankUnderworld) label(skill:Underworld) @{FightingDice} @{dicePool} (gmdice)">Underworld</option> <option value="!eed npcinit rollPlayer(character:@{name}|skill:intellect,rankXenology) label(skill:Xenology) @{FightingDice} @{dicePool} (gmdice)">Xenology</option> <option value="!eed npcinit rollPlayer(character:@{name}|skill:intellect,rankWarfare) label(skill:Warfare) @{FightingDice} @{dicePool} (gmdice)">Warfare</option> </select> </td><!--Skill List--> <td><input name='attr_FightingDice' type="text" /></td> <td><button type='roll' name='roll_Fighting' value='!eed rollPlayer(character:@{name}|@{FightingSkill}) label(skill:@{FightingSkill}) @{dicePool} @{FightingDice} (gmdice)'></button></td> </tr> </tbody> </table> </fieldset> </div><!-- Skills Dropdown --> <div class="sheet-small-12 sheet-column"> <h3>Talents and Special Abilities</h3> <table class="sheet-talents" cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th style="width:50%">Name</th> <th style="width:50%">Summary</th> </tr> </thead> </table> <fieldset class="repeating_skills"> <table class="sheet-talent"> <tbody> <tr> <td style="width:50%" colspan="4"> <input type="text" name="attr_talentname" /> </td> <td style="width:50%" rowspan="6"> <textarea rows="6" type="text" name="attr_talentsummary"></textarea> </td> </tr> <tr> <td><label>Rank:</label></td> <td><input type="number" name="attr_talentrank" /></td> <td> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_passiveActive" value="passive" title="Passive" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_passiveActive" value="active" title="Active"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><label>Book &amp; Page:</label></td> <td><input type="text" name="attr_talentpagenum" /></td> <td><label>XP Cost:</label></td> <td><input type="number" style="width:50px" name="attr_talentcost" /></td> </tr> </tbody> </table> <br /> </fieldset> </div><!-- Talents and Abilities--> <div class="sheet-small-12 sheet-column"> <h3>Force Powers</h3> <table class="sheet-talents" cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th style="width:50%">Power Name</th> <th style="width:50%">Summary</th> </tr> </thead> </table> <fieldset class="repeating_powers"> <table class="sheet-talent"> <tbody> <tr> <td style="width:50%" colspan="4"> <input type="text" name="attr_forcepowername" /> </td> <td style="width:50%" rowspan="7"> <textarea rows="6" type="text" name="attr_powersummary"></textarea> </td> <td rowspan="3"> <button type='roll' name='roll_force' value='!eed characterID(@{character_id}) label(skill:Force Power: |Power Name:@{forcepowername}) @{forceavailable}w @{dicePool}'></button> </td> </tr> <tr> <td><label>Available:</label></td> <td><input type="number" name="attr_forceavailable" value="@{forcerating}-@{forcecommitted}" disabled></td> <td><label>XP Cost:</label></td> <td><input type="number" style="width:50px" name="attr_powercost" /></td> </tr> <tr> <td colspan="2"><label>Book &amp; Page:</label></td> <td colspan="2"><input type="text" name="attr_powerpagenum" /></td> </tr> <tr> <td colspan="5"> &nbsp; </td> </tr> </tbody> </table> <div class="sheet-attachments-wrapper"> <input type="checkbox" name="attr_powerupgrades" class="sheet-view-attachments" /> <label class="sheet-view-attachments">View Upgrades</label> <div class="sheet-clear"></div> <table class="sheet-attachments" cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th>Upgrade</th> <th>Rank</th> <th>XP Cost</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><input type="text" name='attr_forceupgradetype1'></td> <td><input name='attr_forceupgrade1' type="number" /></td> <td><input name='attr_forceupgradecost1' type="number" /></td> <td><textarea rows="3" name='attr_forceupgradedesc1' type="text"></textarea></td> </tr> <tr> <td><input type="text" name='attr_forceupgradetype2'></td> <td><input name='attr_forceupgrade2' type="number" /></td> <td><input name='attr_forceupgradecost2' type="number" /></td> <td><textarea rows="3" name='attr_forceupgradedesc2' type="text"></textarea></td> </tr> <tr> <td><input type="text" name='attr_forceupgradetype3'></td> <td><input name='attr_forceupgrade3' type="number" /></td> <td><input name='attr_forceupgradecost3' type="number" /></td> <td><textarea rows="3" name='attr_forceupgradedesc3' type="text"></textarea></td> </tr> <tr> <td><input type="text" name='attr_forceupgradetype4'></td> <td><input name='attr_forceupgrade4' type="number" /></td> <td><input name='attr_forceupgradecost3' type="number" /></td> <td><textarea rows="3" name='attr_forceupgradedesc4' type="text"></textarea></td> </tr> <tr> <td><input type="text" name='attr_forceupgradetype5'></td> <td><input name='attr_forceupgrade' type="number" /></td> <td><input name='attr_forceupgradecost3' type="number" /></td> <td><textarea rows="3" name='attr_forceupgradedesc5' type="text"></textarea></td> </tr> <tr> <td><input type="text" name='attr_forceupgradetype6'></td> <td><input name='attr_forceupgrade6' type="number" /></td> <td><input name='attr_forceupgradecost3' type="number" /></td> <td><textarea rows="3" name='attr_forceupgradedesc6' type="text"></textarea></td> </tr> </tbody> </table> </div><!-- Force Power Upgrades --> </fieldset> </div><!-- Force Powers --> <div class="sheet-small-12 sheet-column"> <h3>Signature Abilities</h3> <table class="sheet-talents" cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th style="width:50%">Ability Name</th> <th style="width:50%">Summary</th> </tr> </thead> </table> <fieldset class="repeating_signature"> <table class="sheet-talent"> <tbody> <tr> <td style="width:50%" colspan="5"> <input type="text" name="attr_sigabilityname" /> </td> <td style="width:50%" rowspan="4"> <textarea rows="5" type="text" name="attr_sigabilitysummary"></textarea> </td> </tr> <tr> <td colspan="2"><label>Specialization attached?</label></td> <td colspan="2"><input type="text" name="attr_sigabilityspec"></td> </tr> <tr> <td><label>Book &amp; Page:</label></td> <td><input type="text" name="attr_sigabilitypagenum" /></td> <td><label>XP Cost:</label></td> <td><input type="number" style="width:50px" name="attr_powercost" value="10" disabled /></td> </tr> <tr> <td colspan="5"> &nbsp; </td> </tr> </tbody> </table> <div class="sheet-attachments-wrapper"> <input type="checkbox" name="attr_sigabilityupgrades" class="sheet-view-attachments" /> <label class="sheet-view-attachments">View Upgrades</label> <div class="sheet-clear"></div> <table class="sheet-attachments" cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th>Upgrade</th> <th>Rank</th> <th>XP Cost</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><input type="text" name='attr_sigabilityupgradetype1'></td> <td><input name='attr_sigabilityupgraderank1' type="number" /></td> <td><input name='attr_sigabilityupgradecost1' type="number" /></td> <td><textarea rows="3" name='attr_sigabilityupgradedesc1' type="text"></textarea></td> </tr> <tr> <td><input type="text" name='attr_sigabilityupgradetype2'></td> <td><input name='attr_sigabilityupgraderank2' type="number" /></td> <td><input name='attr_sigabilityupgradecost2' type="number" /></td> <td><textarea rows="3" name='attr_sigabilityupgradedesc2' type="text"></textarea></td> </tr> <tr> <td><input type="text" name='attr_sigabilityupgradetype3'></td> <td><input name='attr_sigabilityupgraderank3' type="number" /></td> <td><input name='attr_sigabilityupgradecost3' type="number" /></td> <td><textarea rows="3" name='attr_sigabilityupgradedesc3' type="text"></textarea></td> </tr> <tr> <td><input type="text" name='attr_sigabilityupgradetype4'></td> <td><input name='attr_sigabilityupgraderank4' type="number" /></td> <td><input name='attr_sigabilityupgradecost4' type="number" /></td> <td><textarea rows="3" name='attr_sigabilityupgradedesc4' type="text"></textarea></td> </tr> <tr> <td><input type="text" name='attr_sigabilityupgradetype5'></td> <td><input name='attr_sigabilityupgraderank5' type="number" /></td> <td><input name='attr_sigabilityupgradecost5' type="number" /></td> <td><textarea rows="3" name='attr_sigabilityupgradedesc5' type="text"></textarea></td> </tr> <tr> <td><input type="text" name='attr_sigabilityupgradetype6'></td> <td><input name='attr_sigabilityupgraderank6' type="number" /></td> <td><input name='attr_sigabilityupgradecost6' type="number" /></td> <td><textarea rows="3" name='attr_sigabilityupgradedesc6' type="text"></textarea></td> </tr> <tr> <td><input type="text" name='attr_sigabilityupgradetype7'></td> <td><input name='attr_sigabilityupgraderank7' type="number" /></td> <td><input name='attr_sigabilityupgradecost7' type="number" /></td> <td><textarea rows="3" name='attr_sigabilityupgradedesc7' type="text"></textarea></td> </tr> </tbody> </table> </div><!-- Signature Ability Upgrades --> </fieldset> </div><!-- Signature Abilities --> </div><!-- Combat Tab--> <div class="sheet-tab-content sheet-tab-weapons"> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <h3>Armor</h3><br /> <fieldset class="repeating_armors"> <table class="sheet-weapons" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td></td> <td> <label>Soak</label> <input name='attr_soak' type="text" value="0" /> </td> <td></td> <td> <label>Defense</label> <input name='attr_defense' type="text" value="0" /> </td> <td></td> <td> <label>Encum</label> <input name='attr_armor-encum' type="text" value="0" /> </td> <td></td> <td> <label>HP</label> <input name='attr_armor-hp' type="text" value="0" /> </td> <td></td> </tr> </tbody> </table><!-- Armor Top Stats --> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><label>Make / Model:</label></td> <td><input name='attr_armormake' type="text" /></td> <td><label>Condition:</label></td> <td> <select name='attr_armorcondition'> <option value="">New</option> <option value="1blk">Minor</option> <option value="1p">Moderate</option> <option value="unusableWeapon">Major</option> </select> </td> <td><label></label></td> <td><input name='attr_armortype' type="hidden" disabled /></td> </tr> <tr> <td><label>Book &amp; Page:</label></td> <td><input name='attr_armor_bookpage' type="text" /></td> <td>Rarity:</td> <td><input name='attr_armor_rarity' type="number" min="1" max="10" /></td> </tr> <tr> <td><label>Restricted:</label></td> <td> <select name='attr_armor_restrict'> <option value="no">No</option> <option value="yes">Yes</option> </select> </td> <td>Value:</td> <td><input name='attr_armor_value' type="text" /></td> </tr> <tr> <td></td> <td></td> <td><label>Special:</label></td> <td><textarea rows="3" type="text" name="attr_armorspecial"></textarea></td> </tr> </tbody> </table><!-- Armor Info --> <div class="sheet-attachments-wrapper"> <div class="sheet-attachments-wrapper"> <input type="checkbox" name="attr_armorattchments" class="sheet-view-attachments" /> <label class="sheet-view-attachments">View Attachments</label> <div class="sheet-clear"></div> <table class="sheet-attachments" cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th>Attachment Name</th> <th>Hard Points</th> <th>Base Modifiers</th> <th>Modifications</th> </tr> </thead> <tbody> <tr> <td><input name='attr_armorattch1' type="text" /></td> <td><input name='attr_armorattachp1' type="number" /></td> <td><textarea rows="3" type="text" name="attr_armorattachbase1"></textarea></td> <td><textarea rows="3" type="text" name="attr_armorattachmod1"></textarea></td> </tr> <tr> <td><input name='attr_armorattch2' type="text" /></td> <td><input name='attr_armorattachp2' type="number" /></td> <td><textarea rows="3" type="text" name="attr_armorattachbase2"></textarea></td> <td><textarea rows="3" type="text" name="attr_armorattachmod2"></textarea></td> </tr> <tr> <td><input name='attr_armorattch3' type="text" /></td> <td><input name='attr_armorattachp3' type="number" /></td> <td><textarea rows="3" type="text" name="attr_armorattachbase3"></textarea></td> <td><textarea rows="3" type="text" name="attr_armorattachmod3"></textarea></td> </tr> <tr> <td><input name='attr_armorattch4' type="text" /></td> <td><input name='attr_armorattachp4' type="number" /></td> <td><textarea rows="3" type="text" name="attr_armorattachbase4"></textarea></td> <td><textarea rows="3" type="text" name="attr_armorattachmod4"></textarea></td> </tr> </tbody> </table> </div> <br /> </div><!-- Armor Attachments --> </fieldset> </div><!-- Armor --> <div class="sheet-small-12 sheet-column"> <h3>Cybernetics</h3> <table class="sheet-cybernetics" cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th style="width:50%">Make/Model</th> <th style="width:50%">Bonus</th> </tr> </thead> </table> <fieldset class="repeating_cyber"> <table class="sheet-cybernetics"> <tbody> <tr> <td style="width:50%" colspan="4"> <input type="text" name="attr_cyberneticname" /> </td> <td style="width:50%" rowspan="5"> <textarea rows="4" type="text" name="attr_cyberneticbonus"></textarea> </td> </tr> <tr> <td><label>Book &amp; Page:</label></td> <td><input name='attr_cybernetics_bookpage' type="text" /></td> <td>Rarity:</td> <td><input name='attr_cybernetics_rarity' type="number" min="1" max="10" /></td> </tr> <tr> <td><label>Condition:</label></td> <td> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_cyberneticuseful" value="active" title="Active" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_cyberneticuseful" value="disabled" title="Disabled"> <span class="switch-selection"></span> </div> </td> <td><label>Restricted:</label></td> <td> <select name='attr_cybernetics_restrict'> <option value="no">No</option> <option value="yes">Yes</option> </select> </td> </tr> <tr> <td><label>Value:</label></td> <td><input name='attr_cybernetics_value' type="text" /></td> </tr> </tbody> </table> <br /> </fieldset> </div><!-- Cybernetics --> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <h3>Tools</h3> <table class="sheet-tools" cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th style="width:50%">Tool Name</th> <th style="width:50%">Bonus/Description</th> </tr> </thead> </table> <fieldset class="repeating_tools"> <table class="sheet-tools"> <tbody> <tr> <td style="width:50%" colspan="5"> <input type="text" name="attr_toolname" /> </td> <td style="width:50%" rowspan="2"> <textarea colspan="2" rows="3" type="text" name="attr_toolbonus"></textarea> </td> </tr> <tr> <td>Encumbrance:</td> <td><input name='attr_tool-encumb' type="text" /></td> <td>Rarity:</td> <td><input name='attr_tool_rarity' type="number" min="1" max="10" /></td> </tr> <tr> <td><label>Restricted:</label></td> <td> <select name='attr_tool_restrict'> <option value="no">No</option> <option value="yes">Yes</option> </select> </td> <td>Value:</td> <td><input name='attr_tool_value' type="text" /></td> <td><label>Book &amp; Page:</label></td> <td><input name='attr_tool_bookpage' type="text" /></td> </tr> </tbody> </table> <br /> </fieldset> </div> <div class="sheet-clear"></div> </div><!-- Tools --> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <h3>Other Gear</h3><br /> <div class="sheet-small-6 sheet-column"> <table cellspacing="0" cellpadding="0" border="0"> <thead> <tr><th>Personal Gear</th></tr> </thead> <tbody> <tr><td><textarea rows="5" name="attr_personalgear"></textarea></td></tr> </tbody> </table> </div><!-- Personal Gear --> <div class="sheet-small-6 sheet-column"> <table cellspacing="0" cellpadding="0" border="0"> <thead> <tr><th>Assets & Resources</th></tr> </thead> <tbody> <tr><td><textarea rows="5" name="attr_assets"></textarea></td></tr> </tbody> </table> </div> <!-- Assets & Resources --> <div class="sheet-clear"></div> </div> <div class="sheet-clear"></div> </div><!-- Other Gear --> <div class="sheet-clear"></div> </div> </div><!-- Inventory Tab --> <div class="sheet-tab-content sheet-tab-notes"> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <h3>Notes</h3><br /> <table> <tbody><tr><td><textarea rows="50" name="attr_notes"></textarea></td></tr></tbody> </table> </div> </div> </div><!-- Notes Tab --> </div><!-- Player Character sheet --> <div class="sheet-tab-content sheet-tab-ship-sheet"> <div class="sheet-row sheet-section-1"> <div class="sheet-small-12 sheet-column"> <h3 class="sheet-section-header">Dice Pool</h3> <table class="sheet-dice-pool" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td class="sheet-light"><img src="http://galacticcampaigns.com/images/EotE/Boost/boostBlank.png" /><input name="attr_b" type="number" step="1" max="9" min="0" value="0"></td> <td class="sheet-light"><img src="http://galacticcampaigns.com/images/EotE/Ability/abilityBlank.png" /><input name="attr_g" type="number" step="1" max="9" min="0" value="0"></td> <td class="sheet-light"><img src="http://galacticcampaigns.com/images/EotE/Proficiency/ProficiencyBlank.png" /><input name="attr_y" type="number" step="1" max="9" min="0" value="0"></td> <td class="sheet-force"><img src="http://galacticcampaigns.com/images/EotE/Force/ForceL.png" /><input name="attr_w" type="number" step="1" max="9" min="0" value="0"></td> <td class="sheet-dark"><img src="http://galacticcampaigns.com/images/EotE/Setback/SetBackBlank.png" /><input name="attr_blk" type="number" step="1" max="9" min="0" value="0"></td> <td class="sheet-dark"><img src="http://galacticcampaigns.com/images/EotE/Difficulty/DifficultyBlank.png" /><input name="attr_p" type="number" step="1" max="9" min="0" value="0"></td> <td class="sheet-dark"><img src="http://galacticcampaigns.com/images/EotE/Challenge/ChallengeBlank.png" /><input name="attr_r" type="number" step="1" max="9" min="0" value="0"></td> </tr> <tr> <td colspan="3" class="sheet-upgrade sheet-light"> <label> &nbsp;&nbsp;&nbsp;&nbsp;Upgrade: <input name="attr_upgradeAbility" type="number" step="1" max="9" min="0" value="0"> </label> <label> <input name="attr_downgradeProficiency" type="number" step="1" max="9" min="0" value="0"> :Downgrade </label> </td> <td class="sheet-force"> <input type="hidden" name='attr_dicePool' value='@{g}g @{y}y @{p}p @{r}r @{b}b @{blk}blk @{w}w upgrade(ability|@{upgradeAbility}) downgrade(proficiency|@{downgradeProficiency}) upgrade(difficulty|@{upgradeDifficulty}) downgrade(challenge|@{downgradeChallenge})' /> <button type='roll' name='roll_DicePool' value='!eed characterID(@{character_id}) label(Dice:Dice Pool) @{dicePool} (gmdice)'></button> <button type='roll' name='roll_ResetDicePool' value='!eed resetdice characterID(@{character_id})'></button> </td> <td colspan="3" class="sheet-downgrade sheet-dark"> <label> &nbsp;&nbsp;&nbsp;&nbsp;Upgrade: <input name="attr_upgradeDifficulty" type="number" step="1" max="9" min="0" value="0"> </label> <label> <input name="attr_downgradeChallenge" type="number" step="1" max="9" min="0" value="0"> Downgrade: </label> </td> </tr> </tbody> </table> </div><!-- Dice Pool --> <div class="sheet-clear"></div> </div><!-- Dice Pool on Vehicle Tab --> <input type="radio" name="attr_v-sheet" class="sheet-tab-new sheet-tab-transport-space" value="1" checked="checked" /> <span class="sheet-tab-new">&emsp;Starship&emsp;</span> <input type="radio" name="attr_v-sheet" class="sheet-tab-new sheet-tab-transport-planetary" value="2" /> <span class="sheet-tab-new">&emsp;Planetary&emsp;</span> <input type="radio" name="attr_v-sheet" class="sheet-tab-new sheet-tab-transport-beast" value="3" /> <span class="sheet-tab-new">&emsp;Beast&emsp;</span> <div class="sheet-small-12 sheet-column"> <br /> <br /> <div class="sheet-clear"></div> <div class="sheet-attachments-wrapper"> <input type="checkbox" name="attr_old-vehicle-tabs" class="sheet-view-attachments" /> <label class="sheet-view-attachments">Show Old Vehicle Tabs</label> <table class="sheet-attachments" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td> <div> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <table class="sheet-ship" cellspacing="0" cellpadding="0" border="0"> <tr> <td class="sheet-ship-char-bg"> <label>Silhouette</label> <input name='attr_silhouette' type="number" max="99" min="0" value="0" /> </td> <td class="sheet-ship-char-thre-bg-speed"> <label class="sheet-label-title">Speed</label> <input name="attr_speed" type="number" max="99" min="-99" value="0" /> <input name="attr_speed_current" type="number" max="99" min="-99" value="0" /><br /> <label class="sheet-label-threshold-speed">Max</label> <label class="sheet-label-current-speed">Current</label> </td> <td class="sheet-ship-char-bg"> <label>Handling</label> <input name='attr_handling' type="number" max="99" min="0" value="0" /> </td> <td rowspan="2" class="sheet-ship-defense"> <div style="width:302px; height:1px;"></div> <label class="sheet-def-label">Defense</label> <div class="sheet-fore"> <label>Fore</label> <input name='attr_deffore' type="number" max="99" min="0" value="0" /> </div> <div class="sheet-starboard"> <label>Starboard</label> <input name='attr_defstarboard' type="number" max="99" min="0" value="0" /> </div> <div class="sheet-aft"> <label>Aft</label> <input name='attr_defaft' type="number" max="99" min="0" value="0" /> </div> <div class="sheet-port"> <label>Port</label> <input name='attr_defport' type="number" max="99" min="0" value="0" /> </div> </td> </tr> <tr> <td class="sheet-ship-char-thre-bg"> <label class="sheet-label-title">Armor</label> <input name="attr_ship_armor" type="number" max="99" min="-99" value="0"> </td> <td class="sheet-ship-char-thre-bg"> <label class="sheet-label-title">Hull Trauma</label> <input name="attr_hull_trauma_max" type="number" max="99" min="-99" value="0" /> <input name="attr_hull_trauma" type="number" max="99" min="-99" value="0" /><br /> <label class="sheet-label-threshold">Threshold</label> <label class="sheet-label-current">Current</label> </td> <td class="sheet-ship-char-thre-bg"> <label class="sheet-label-title">Sys Strain</label> <input name="attr_system_strain_max" type="number" max="99" min="-99" value="0" /> <input name="attr_system_strain" type="number" max="99" min="-99" value="0" /><br /> <label class="sheet-label-threshold">Threshold</label> <label class="sheet-label-current">Current</label> </td> </tr> </table> </div><!-- end column --> <div class="sheet-clear"></div> </div><!-- Depreciated Vehicle Top Stats --> <input type="radio" name="attr_old-sheet" class="sheet-tab-new sheet-tab-v-details" value="1" checked="checked" /> <span class="sheet-tab-new">&emsp;Details&emsp;</span> <input type="radio" name="attr_old-sheet" class="sheet-tab-new sheet-tab-v-weapons" value="2" /> <span class="sheet-tab-new">&emsp;Weapons&emsp;</span> <div class="sheet-tab-content sheet-tab-v-details"> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <br /> <input type="radio" name="attr_opt-vehicle-ship" class="sheet-opt sheet-opt-vehicle" value="1" title="Vehicle" checked="checked" /> <input type="radio" name="attr_opt-vehicle-ship" class="sheet-opt sheet-opt-ship" value="2" title="Ship" /> <br /><br /> <h3 class="sheet-section-header">Details</h3> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><label>Name:</label></td> <td><input name="attr_v-s-name" type="text" /></td> <td><label>Hard Points:</label></td> <td><input name="attr_hard-points" type="text" /></td> </tr> <tr> <td class="sheet-opt-content sheet-opt-vehicle"><label>Vehicle Type/Model:</label></td> <td class="sheet-opt-content sheet-opt-vehicle"><input name="attr_vehicle-type-model" type="text" /></td> <td class="sheet-opt-content sheet-opt-ship"><label>Hull Type/Class:</label></td> <td class="sheet-opt-content sheet-opt-ship"><input name="attr_hull-type-class" type="text" /></td> <td><label>Sensor Range:</label></td> <td> <select name="attr_sensor-range"> <option value="none">None</option> <option value="Close">Close</option> <option value="Short">Short</option> <option value="Medium">Medium</option> <option value="Long">Long</option> <option value="Extreme">Extreme</option> </select> </td> </tr> <tr> <td><label>Manufacturer:</label></td> <td><input name="attr_manufacturer" type="text" /></td> <td><label>Encumbrance Capacity:</label></td> <td><input name="attr_encum-capacity" type="text" /></td> </tr> <tr> <td><label>Passenger Capacity:</label></td> <td><input name="attr_pass-capacity" type="text" /></td> <td class="sheet-opt-content sheet-opt-vehicle"><label>Maximum Altitude:</label></td> <td class="sheet-opt-content sheet-opt-vehicle"><input name="attr_vehicle-max-altiude" type="text" /></td> <td class="sheet-opt-content sheet-opt-ship"><label>Navicomputer: </label></td> <td class="sheet-opt-content sheet-opt-ship"><input name="attr_ship-navicomputer" type="checkbox" value="1" /></td> </tr> <tr> <td class="sheet-opt-content sheet-opt-vehicle"><label>Crew:</label></td> <td class="sheet-opt-content sheet-opt-vehicle"><input name="attr_vehicle-crew" type="text" /></td> <td class="sheet-opt-content sheet-opt-vehicle" colspan="2">&nbsp;</td> <td class="sheet-opt-content sheet-opt-ship"><label>Ship's Complement:</label></td> <td class="sheet-opt-content sheet-opt-ship"><input name="attr_ships-complement" type="text" /></td> <td class="sheet-opt-content sheet-opt-ship"><label>Hyperdrive Primary Class:</label></td> <td class="sheet-opt-content sheet-opt-ship"><input name="attr_hyperdrive-primary" type="text" /></td> </tr> <tr class="sheet-opt-content sheet-opt-ship"> <td><label>Consumables:</label></td> <td><input name="attr_ship-consumables" type="text" /></td> <td><label>Hyperdrive Backup Class:</label></td> <td><input name="attr_hyperdrive-backup" type="text" /></td> </tr> </tbody> </table> <br /> </div><!-- end column --> <div class="sheet-clear"></div> </div><!-- Vehicle General Info --> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <h3 class="sheet-section-header">Attachments</h3> <table cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th style="width:25%">Name</th> <th style="width:25%">Hard points</th> <th style="width:25%">Base Modifiers</th> <th style="width:25%">Modifications</th> </tr> </thead> </table> <fieldset class="repeating_shipAttachments"> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td style="width:25%"><input name='attr_shipAttachName' type="text" /></td> <td style="width:25%"><input name='attr_shipAttachHP' type="text" /></td> <td style="width:25%"><input name='attr_shipAttachBaseMod' type="text" /></td> <td style="width:25%"><input name='attr_shipAttachMod' type="text" /></td> </tr> </tbody> </table> </fieldset> </div> <div class="sheet-clear"></div> </div><!-- Vehicle Attachments --> <div class="sheet-row sheet-show-critical-table"> <div class="sheet-small-12 sheet-column"> <h3 class="sheet-section-header">Vehicle Critical</h3> </div><!-- column --> <div class="sheet-small-9 sheet-column"> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn1" value="1" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName1" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange1" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice1" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity1" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea row="3" name="attr_critShipSummary1" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect1" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect1" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn2" value="2" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName2" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange2" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice2" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity2" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary2" readonly="readonly" /></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect2" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect2" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr></tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn3" value="3" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName3" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange3" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice3" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity3" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary3" readonly="readonly" /></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect3" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect3" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn4" value="4" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName4" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange4" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice4" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity4" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary4" readonly="readonly" /></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect4" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect4" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn5" value="5" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName5" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange5" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice5" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity5" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary5" readonly="readonly" /></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect5" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect5" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn6" value="6" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName6" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange6" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice6" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity6" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary6" readonly="readonly" /></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect6" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect6" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn7" value="7" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName7" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange7" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice7" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity7" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary7" readonly="readonly" /></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect7" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect7" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn8" value="8" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName8" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange8" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice8" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity8" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary8" readonly="readonly" /></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect8" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect8" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn9" value="9" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName9" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange9" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice9" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity9" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary9" readonly="readonly" /></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect9" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect9" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn10" value="10" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName10" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange10" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice10" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity10" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary10" readonly="readonly" /></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect10" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect10" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn11" value="11" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName11" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange11" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice11" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity11" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary11" readonly="readonly" /></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect11" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect11" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn12" value="12" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName12" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange12" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice12" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity12" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary12" readonly="readonly" /></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect12" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect12" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn13" value="13" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName13" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange13" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice13" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity13" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary13" readonly="readonly" /></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect13" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect13" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn14" value="14" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName14" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange14" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice14" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity14" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary14" readonly="readonly" /></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect14" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect14" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn15" value="15" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName15" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange15" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice15" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity15" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary15" readonly="readonly" /></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect15" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect15" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> </tbody> </table> </div><!-- column --> <div class="sheet-small-3 sheet-column"> <table class="sheet-roll-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><label>Critcal roll offset:</label></td> <td><input type="text" name="attr_critShipAddOffset" value="" /></td> </tr> <tr> <td> <label>Critical number:</label> <input type="text" name="attr_critShipAddRangeNum" value="" /> </td> </tr> </tbody> </table> </div><!-- column --> <div class="sheet-clear"></div> </div><!-- Vehicle Criticals --> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <h3 class="sheet-section-header">Cargo Hold</h3> <table cellspacing="0" cellpadding="0" border="0"> <tbody><tr><td><textarea name="attr_carho-hold" rows="6"></textarea></td></tr></tbody> </table> </div> <div class="sheet-clear"></div> </div><!-- Cargo Hold --> </div><!-- Depreciated Vehicle Details --> <div class="sheet-tab-content sheet-tab-v-weapons"> <br /> <h3 class="sheet-section-header">Crew Roles</h3> <table cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th style="width:180px;">Character Name</th> <th style="width:180px;">Role <span style="font-size:10px">(Pilot, Co-pilot, Engineer)</span></th> <th><span style="float:left">Dice</span></th> <th>Special</th> <th colspan="2">Skill</th> </tr> </thead> </table> <fieldset class="repeating_shipCrewRoles"> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td style="width:180px;"><input name='attr_shipRoleCharacterName' type="text" /></td> <td style="width:180px;"><input name='attr_shipRoleName' type="text" /></td> <td><input name='attr_shipRoleDice' type="text" /></td> <td><input name='attr_shipRoleSpecial' type="text" /></td> <td> <select name='attr_shipRoleSkill'> <option value="" disabled>Skills</option> <option value="skill:intellect,rankAstrogation">&nbsp;&nbsp;&nbsp;&nbsp;Astrogation</option> <option value="skill:brawn,rankAthletics">&nbsp;&nbsp;&nbsp;&nbsp;Athletics</option> <option value="skill:presence,rankCoercion">&nbsp;&nbsp;&nbsp;&nbsp;Coercion</option> <option value="skill:intellect,rankComputers">&nbsp;&nbsp;&nbsp;&nbsp;Computers</option> <option value="skill:presence,rankCool">&nbsp;&nbsp;&nbsp;&nbsp;Cool</option> <option value="encum|skill:agility,rankCoordination">&nbsp;&nbsp;&nbsp;&nbsp;Coordination</option> <option value="skill:cunning,rankDeception">&nbsp;&nbsp;&nbsp;&nbsp;Deception</option> <option value="skill:willpower,rankDiscipline">&nbsp;&nbsp;&nbsp;&nbsp;Discipline</option> <option value="skill:presence,rankLeadership">&nbsp;&nbsp;&nbsp;&nbsp;Leadership</option> <option value="skill:intellect,rankMechanics">&nbsp;&nbsp;&nbsp;&nbsp;Mechanics</option> <option value="skill:intellect,rankMedicine">&nbsp;&nbsp;&nbsp;&nbsp;Medicine</option> <option value="skill:presence,rankNegotiation">&nbsp;&nbsp;&nbsp;&nbsp;Negotiation</option> <option value="skill:cunning,rankPerception">&nbsp;&nbsp;&nbsp;&nbsp;Perception</option> <option value="encum|skill:agility,rankPlanetary">&nbsp;&nbsp;&nbsp;&nbsp;Piloting - Planetary</option> <option value="encum|skill:agility,rankSpace">&nbsp;&nbsp;&nbsp;&nbsp;Piloting - Space</option> <option value="skill:brawn,rankResilience">&nbsp;&nbsp;&nbsp;&nbsp;Resilience</option> <option value="skill:cunning,rankSkulduggery">&nbsp;&nbsp;&nbsp;&nbsp;Skulduggery</option> <option value="encum|skill:agility,rankStealth">&nbsp;&nbsp;&nbsp;&nbsp;Stealth</option> <option value="skill:cunning,rankStreetwise">&nbsp;&nbsp;&nbsp;&nbsp;Streetwise</option> <option value="skill:cunning,rankSurvival">&nbsp;&nbsp;&nbsp;&nbsp;Survival</option> <option value="skill:willpower,rankVigilance">&nbsp;&nbsp;&nbsp;&nbsp;Vigilance</option> <option value="" disabled>Combat Skills</option> <option value="skill:brawn,rankBrawl">&nbsp;&nbsp;&nbsp;&nbsp;Brawl</option> <option value="encum|skill:agility,rankGunnery">&nbsp;&nbsp;&nbsp;&nbsp;Gunnery</option> <option value="skill:brawn,rankMelee">&nbsp;&nbsp;&nbsp;&nbsp;Melee</option> <option value="encum|skill:agility,rankLight">&nbsp;&nbsp;&nbsp;&nbsp;Ranged - Light</option> <option value="encum|skill:agility,rankHeavy">&nbsp;&nbsp;&nbsp;&nbsp;Ranged - Heavy</option> <option value="" disabled>Knowledge Skills</option> <option value="skill:intellect,rankCore">&nbsp;&nbsp;&nbsp;&nbsp;Core Worlds</option> <option value="skill:intellect,rankEducation">&nbsp;&nbsp;&nbsp;&nbsp;Education</option> <option value="skill:intellect,rankLore">&nbsp;&nbsp;&nbsp;&nbsp;Lore</option> <option value="skill:intellect,rankOuter">&nbsp;&nbsp;&nbsp;&nbsp;Outer Rim</option> <option value="skill:intellect,rankUnderworld">&nbsp;&nbsp;&nbsp;&nbsp;Underworld</option> <option value="skill:intellect,rankXenology">&nbsp;&nbsp;&nbsp;&nbsp;Xenology</option> <option value="skill:intellect,rankWarfare">&nbsp;&nbsp;&nbsp;&nbsp;Warfare</option> </select> </td> </tr> </tbody> </table> </fieldset> <br /> <h3 class="sheet-section-header">Weapons</h3> <fieldset class="repeating_shipWeapons"> <table cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th>Character Name</th> <th>Weapon Name</th> <th>Arc</th> <th>Crit</th> <th>Dmg</th> <th colspan="2">Range/Skill</th> </tr> </thead> <tbody> <tr> <td><input name='attr_shipWeaponCharacterName' type="text" /></td> <td><input name='attr_shipWeaponName' type="text" /></td> <td class="sheet-firearc-field"> <input name='attr_fireArcFore' type="checkbox" class="sheet-fireArcFore" Title="Fore" /> <input name='attr_fireArcStarboard' type="checkbox" class="sheet-fireArcStarboard" Title="Starboard" /> <input name='attr_fireArcAft' type="checkbox" class="sheet-fireArcAft" Title="Aft" /> <input name='attr_fireArcPort' type="checkbox" class="sheet-fireArcPort" Title="Port" /> <span class="sheet-fireArcForeImg"></span> <span class="sheet-fireArcStarboardImg"></span> <span class="sheet-fireArcAftImg"></span> <span class="sheet-fireArcPortImg"></span> </td> <td style="width:50px"><input name='attr_shipWeaponCrit' type="number" max="99" min="-99" value="0" /></td> <td style="width:50px"><input name='attr_shipWeaponDmg' type="number" max="99" min="-99" value="0" /></td> <td style="width:150px"> <select name='attr_shipWeaponRange'> <option value="Close">Close</option> <option value="Short">Short</option> <option value="Medium">Medium</option> <option value="Long">Long</option> <option value="Extreme">Extreme</option> </select> </td> <td>&nbsp;</td> </tr> <tr> <td><label style="display:inline-block; width:25%;">Dice:</label><input style="display:inline-block; width:74%;" name='attr_shipWeaponDice' type="text" /></td> <td colspan="4"><label style="display:inline-block; width:25%;">Special:</label><input style="display:inline-block; width:74%;" name='attr_shipWeaponSpecial' type="text" /></td> <td> <select name='attr_shipWeaponSkill'> <option value="skill:agility,rankGunnery">Gunnery</option> <option value="skill:agility,rankHeavy">Ranged - Heavy</option> </select> </td> </tr> </tbody> </table> </fieldset> </div><!-- Depreciated Vehicle Weapons --> <label>End of Old Vehicle Tabs</label> </div> </td> </tr> </tbody> </table> </div> </div><!--Old Vehicle Tabs--> <div class="sheet-tab-content sheet-tab-transport-space"> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <table class="sheet-ship" cellspacing="0" cellpadding="0" border="0"> <tr> <td class="sheet-ship-char-bg"> <label>Silhouette</label> <input name='attr_space-silhouette' type="number" max="10" min="0" value="0" /> </td> <td class="sheet-ship-char-thre-bg-speed"> <label class="sheet-label-title">Speed</label> <input name="attr_space-speed" type="number" max="10" min="0" value="0" /> <input name="attr_space-speed_current" type="number" max="10" min="0" value="0" /><br /> <label class="sheet-label-threshold-speed">Max</label> <label class="sheet-label-current-speed">Current</label> </td> <td class="sheet-ship-char-bg"> <label>Handling</label> <input name='attr_space-handling' type="number" max="99" min="-9" value="0" /> </td> <td rowspan="2" class="sheet-ship-defense"> <div style="width:302px; height:1px;"></div> <label class="sheet-def-label">Defense</label> <div class="sheet-fore"> <label>Fore</label> <input name='attr_space-deffore' type="number" max="4" min="0" value="0" /> </div> <div class="sheet-starboard"> <label>Starboard</label> <input name='attr_space-defstarboard' type="number" max="4" min="0" value="0" /> </div> <div class="sheet-aft"> <label>Aft</label> <input name='attr_space-defaft' type="number" max="4" min="0" value="0" /> </div> <div class="sheet-port"> <label>Port</label> <input name='attr_space-defport' type="number" max="4" min="0" value="0" /> </div> </td> </tr> <tr> <td class="sheet-ship-char-thre-bg"> <label class="sheet-label-title">Armor</label> <input name="attr_space-ship_armor" type="number" max="99" min="0" value="0"> </td> <td class="sheet-ship-char-thre-bg"> <label class="sheet-label-title">Hull Trauma</label> <input name="attr_space-hull_trauma_max" type="number" min="0" value="0" /> <input name="attr_space-hull_trauma" type="number" min="0" value="0" /><br /> <label class="sheet-label-threshold">Threshold</label> <label class="sheet-label-current">Current</label> </td> <td class="sheet-ship-char-thre-bg"> <label class="sheet-label-title">Sys Strain</label> <input name="attr_space-system_strain_max" type="number" min="0" value="0" /> <input name="attr_space-system_strain" type="number" min="0" value="0" /><br /> <label class="sheet-label-threshold">Threshold</label> <label class="sheet-label-current">Current</label> </td> </tr> </table> </div><!-- Space Ship Stats Pictures --> <div class="sheet-clear"></div> </div><!-- Starship Top Stats --> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <h3 class="sheet-section-header">Space Vehicle Details</h3> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td><label>Name:</label></td> <td><input name="attr_transport-space-name" type="text" /></td> <td><label>Hard Points:</label></td> <td><input name="attr_transport-space-hp" type="number" min="0" max="9" value="0" /></td> </tr> <tr> <td><label>Hull Type/Class:</label></td> <td><input name="attr_transport-space-hulltype" type="text" /></td> <td><label>Sensor Range:</label></td> <td> <select name="attr_transport-space-sensrang"> <option value="none">None</option> <option value="Close">Close</option> <option value="Short">Short</option> <option value="Medium">Medium</option> <option value="Long">Long</option> <option value="Extreme">Extreme</option> </select> </td> </tr> <tr> <td><label>Manufacturer:</label></td> <td><input name="attr_transport-space-manufact" type="text" /></td> <td><label>Ship's Complement:</label></td> <td><input name="attr_transport-space-compliment" type="text" /></td> </tr> <tr> <td><label>Hyperdrive Primary Class:</label></td> <td><input name="attr_transport-space-hyper-class" type="number" min="0" max="20" /></td> <td><label>Hyperdrive Backup Class:</label></td> <td><input name="attr_transport-space-hyper-backclass" type="number" min="0" max="20" /></td> </tr> <tr> <td><label>Consumables:</label></td> <td><input name="attr_transport-space-consumable" type="text" /></td> <td><label>Navicomputer:</label></td> <td><input name="attr_transport-space-navi" type="checkbox" value="1" /></td> </tr> <tr> <td><label>Book &amp; Page:</label></td> <td><input name='attr_space-vehicle_bookpage' type="text" /></td> <td>Rarity:</td> <td><input name='attr_space-vehicle_rarity' type="number" min="1" max="10" /></td> </tr> <tr> <td><label>Restricted:</label></td> <td> <select name='attr_space-vehicle_restrict'> <option value="no">No</option> <option value="yes">Yes</option> </select> </td> <td>Value</td> <td><input name='attr_space-vehicle_value' type="text" /></td> </tr> </table> </div> </div><!-- Starship Info --> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <br /> <h3 class="sheet-section-header">Crew Roles</h3> <table cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th style="width:180px;">Character Name</th> <th style="width:180px;">Role <span style="font-size:10px">(Pilot, Co-pilot, Engineer)</span></th> <th><span style="float:left">Dice</span></th> <th colspan="2"><span style="float:left">Skill</span></th> </tr> </thead> </table> <fieldset class="repeating_spaceCrewRoles"> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td style="width:180px;"><input name='attr_spaceRoleCharacterName' type="text" /></td> <td style="width:180px;"><input name='attr_spaceRoleName' type="text" /></td> <td><input name='attr_spaceRoleDice' type="text" /></td> <td> <select name='attr_spaceRoleSkill'> <!--brawn agility intellect cunning willpower presence --> <option value="" disabled>General Skills</option> <option value="!eed npcinit rollPlayer(character:@{spaceRoleCharacterName}|skill:intellect,rankAstrogation) label(skill:Astrogation|Vehicle:@{transport-space-name}|Vehicle:@{transport-space-name}|Role:@{spaceRoleName}) @{spaceRoleDice} @{dicePool} (gmdice)">Astrogation</option> <option value="!eed npcinit rollPlayer(character:@{spaceRoleCharacterName}|skill:brawn,rankAthletics) label(skill:Athletics|Vehicle:@{transport-space-name}|Role:@{spaceRoleName}) @{spaceRoleDice} @{dicePool} (gmdice)">Athletics</option> <option value="!eed npcinit rollPlayer(character:@{spaceRoleCharacterName}|skill:presence,rankCharm) label(skill:Charm|Vehicle:@{transport-space-name}|Role:@{spaceRoleName}) @{spaceRoleDice} @{dicePool} (gmdice)">Charm</option> <option value="!eed npcinit rollPlayer(character:@{spaceRoleCharacterName}|skill:presence,rankCoercion) label(skill:Coercion|Vehicle:@{transport-space-name}|Role:@{spaceRoleName}) @{spaceRoleDice} @{dicePool} (gmdice)">Coercion</option> <option value="!eed npcinit rollPlayer(character:@{spaceRoleCharacterName}|skill:intellect,rankComputers) label(skill:Computers|Vehicle:@{transport-space-name}|Role:@{spaceRoleName}) @{spaceRoleDice} @{dicePool} (gmdice)">Computers</option> <option value="!eed npcinit rollPlayer(character:@{spaceRoleCharacterName}|skill:presence,rankCool) label(skill:Cool|Vehicle:@{transport-space-name}|Role:@{spaceRoleName}) @{spaceRoleDice} @{dicePool} (gmdice)">Cool</option> <option value="!eed npcinit rollPlayer(character:@{spaceRoleCharacterName}|skill:encum|skill:agility,rankCoordination) label(skill:Coordination|Vehicle:@{transport-space-name}|Role:@{spaceRoleName}) @{spaceRoleDice} @{dicePool} (gmdice)">Coordination</option> <option value="!eed npcinit rollPlayer(character:@{spaceRoleCharacterName}|skill:cunning,rankDeception) label(skill:Deception|Vehicle:@{transport-space-name}|Role:@{spaceRoleName}) @{spaceRoleDice} @{dicePool} (gmdice)">Deception</option> <option value="!eed npcinit rollPlayer(character:@{spaceRoleCharacterName}|skill:willpower,rankDiscipline) label(skill:Discipline|Vehicle:@{transport-space-name}|Role:@{spaceRoleName}) @{spaceRoleDice} @{dicePool} (gmdice)">Discipline</option> <option value="!eed npcinit rollPlayer(character:@{spaceRoleCharacterName}|skill:presence,rankLeadership) label(skill:Leadership|Vehicle:@{transport-space-name}|Role:@{spaceRoleName}) @{spaceRoleDice} @{dicePool} (gmdice)">Leadership</option> <option value="!eed npcinit rollPlayer(character:@{spaceRoleCharacterName}|skill:intellect,rankMechanics) label(skill:Mechanics|Vehicle:@{transport-space-name}|Role:@{spaceRoleName}) @{spaceRoleDice} @{dicePool} (gmdice)">Mechanics</option> <option value="!eed npcinit rollPlayer(character:@{spaceRoleCharacterName}|skill:intellect,rankMedicine) label(skill:Medicine|Vehicle:@{transport-space-name}|Role:@{spaceRoleName}) @{spaceRoleDice} @{dicePool} (gmdice)">Medicine</option> <option value="!eed npcinit rollPlayer(character:@{spaceRoleCharacterName}|skill:presence,rankNegotiation) label(skill:Negotiation|Vehicle:@{transport-space-name}|Role:@{spaceRoleName}) @{spaceRoleDice} @{dicePool} (gmdice)">Negotiation</option> <option value="!eed npcinit rollPlayer(character:@{spaceRoleCharacterName}|skill:cunning,rankPerception) label(skill:Perception|Vehicle:@{transport-space-name}|Role:@{spaceRoleName}) @{spaceRoleDice} @{dicePool} (gmdice)">Perception</option> <option value="!eed npcinit rollPlayer(character:@{spaceRoleCharacterName}|skill:encum|skill:agility,rankPlanetary) label(skill:Piloting-Planetary|Vehicle:@{transport-space-name}|Role:@{spaceRoleName}) @{spaceRoleDice} @{dicePool} (gmdice)">Piloting (Planetary)</option> <option value="!eed npcinit rollPlayer(character:@{spaceRoleCharacterName}|skill:encum|skill:agility,rankSpace) label(skill:Piloting-Space|Vehicle:@{transport-space-name}|Role:@{spaceRoleName}) @{spaceRoleDice} @{dicePool} (gmdice)">Piloting (Space)</option> <option value="!eed npcinit rollPlayer(character:@{spaceRoleCharacterName}|skill:brawn,rankResilience) label(skill:Resilience|Vehicle:@{transport-space-name}|Role:@{spaceRoleName}) @{spaceRoleDice} @{dicePool} (gmdice)">Resilience</option> <option value="!eed npcinit rollPlayer(character:@{spaceRoleCharacterName}|skill:cunning,rankSkulduggery) label(skill:Skulduggery|Vehicle:@{transport-space-name}|Role:@{spaceRoleName}) @{spaceRoleDice} @{dicePool} (gmdice)">Skulduggery</option> <option value="!eed npcinit rollPlayer(character:@{spaceRoleCharacterName}|skill:encum|skill:agility,rankStealth) label(skill:Stealth|Vehicle:@{transport-space-name}|Role:@{spaceRoleName}) @{spaceRoleDice} @{dicePool} (gmdice)">Stealth</option> <option value="!eed npcinit rollPlayer(character:@{spaceRoleCharacterName}|skill:cunning,rankStreetwise) label(skill:Streetwise|Vehicle:@{transport-space-name}|Role:@{spaceRoleName}) @{spaceRoleDice} @{dicePool} (gmdice)">Streetwise</option> <option value="!eed npcinit rollPlayer(character:@{spaceRoleCharacterName}|skill:cunning,rankSurvival) label(skill:Survival|Vehicle:@{transport-space-name}|Role:@{spaceRoleName}) @{spaceRoleDice} @{dicePool} (gmdice)">Survival</option> <option value="!eed npcinit rollPlayer(character:@{spaceRoleCharacterName}|skill:willpower,rankVigilance) label(skill:Vigilance|Vehicle:@{transport-space-name}|Role:@{spaceRoleName}) @{spaceRoleDice} @{dicePool} (gmdice)">Vigilance</option> <option value="" disabled>Combat Skills</option> <option value="!eed npcinit rollPlayer(character:@{spaceRoleCharacterName}|skill:brawn,rankBrawl) label(skill:Brawl|Vehicle:@{transport-space-name}|Role:@{spaceRoleName}) @{spaceRoleDice} @{dicePool} (gmdice)">Brawl</option> <option value="!eed npcinit rollPlayer(character:@{spaceRoleCharacterName}|skill:encum|skill:agility,rankGunnery) label(skill:Gunnery|Vehicle:@{transport-space-name}|Role:@{spaceRoleName}) @{spaceRoleDice} @{dicePool} (gmdice)">Gunnery</option> <option value="!eed npcinit rollPlayer(character:@{spaceRoleCharacterName}|skill:brawn,rankMelee) label(skill:Melee|Vehicle:@{transport-space-name}|Role:@{spaceRoleName}) @{spaceRoleDice} @{dicePool} (gmdice)">Melee</option> <option value="!eed npcinit rollPlayer(character:@{spaceRoleCharacterName}|skill:charLightsaber,rankLightsaber) label(skill:Lightsaber|Vehicle:@{transport-space-name}|Role:@{spaceRoleName}) @{spaceRoleDice} @{dicePool} (gmdice)">Lightsaber</option> <option value="!eed npcinit rollPlayer(character:@{spaceRoleCharacterName}|skill:encum|skill:agility,rankLight) label(skill:Ranged-Light|Vehicle:@{transport-space-name}|Role:@{spaceRoleName}) @{spaceRoleDice} @{dicePool} (gmdice)">Ranged (Light)</option> <option value="!eed npcinit rollPlayer(character:@{spaceRoleCharacterName}|skill:encum|skill:agility,rankHeavy) label(skill:Ranged-Heavy|Vehicle:@{transport-space-name}|Role:@{spaceRoleName}) @{spaceRoleDice} @{dicePool} (gmdice)">Ranged (Heavy)</option> <option value="" disabled>Knowledge Skills</option> <option value="!eed npcinit rollPlayer(character:@{spaceRoleCharacterName}|skill:intellect,rankCore) label(skill:Core Worlds|Vehicle:@{transport-space-name}|Role:@{spaceRoleName}) @{spaceRoleDice} @{dicePool} (gmdice)">Core Worlds</option> <option value="!eed npcinit rollPlayer(character:@{spaceRoleCharacterName}|skill:intellect,rankEducation) label(skill:Education|Vehicle:@{transport-space-name}|Role:@{spaceRoleName}) @{spaceRoleDice} @{dicePool} (gmdice)">Education</option> <option value="!eed npcinit rollPlayer(character:@{spaceRoleCharacterName}|skill:intellect,rankLore) label(skill:Lore|Vehicle:@{transport-space-name}|Role:@{spaceRoleName}) @{spaceRoleDice} @{dicePool} (gmdice)">Lore</option> <option value="!eed npcinit rollPlayer(character:@{spaceRoleCharacterName}|skill:intellect,rankOuter) label(skill:Outer Rim|Vehicle:@{transport-space-name}|Role:@{spaceRoleName}) @{spaceRoleDice} @{dicePool} (gmdice)">Outer Rim</option> <option value="!eed npcinit rollPlayer(character:@{spaceRoleCharacterName}|skill:intellect,rankUnderworld) label(skill:Underworld|Vehicle:@{transport-space-name}|Role:@{spaceRoleName}) @{spaceRoleDice} @{dicePool} (gmdice)">Underworld</option> <option value="!eed npcinit rollPlayer(character:@{spaceRoleCharacterName}|skill:intellect,rankXenology) label(skill:Xenology|Vehicle:@{transport-space-name}|Role:@{spaceRoleName}) @{spaceRoleDice} @{dicePool} (gmdice)">Xenology</option> <option value="!eed npcinit rollPlayer(character:@{spaceRoleCharacterName}|skill:intellect,rankWarfare) label(skill:Warfare|Vehicle:@{transport-space-name}|Role:@{spaceRoleName}) @{spaceRoleDice} @{dicePool} (gmdice)">Warfare</option> </select> </td> <td><button type='roll' name='roll_space-shipRole' value=@{spaceRoleSkill}></button></td> </tr> </tbody> </table> </fieldset> <br /> </div> </div><!-- Starship Crew Roles --> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <br /> <h3 class="sheet-section-header">Weapons</h3> <div class="sheet-clear"></div> <table cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th>Character Name</th> <th>Weapon Name</th> <th>Arc</th> <th>Crit</th> <th>Dmg</th> <th colspan="2">Range/Skill</th> </tr> </thead> </table> <fieldset class="repeating_spaceWeapons"> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><input name='attr_spaceWeaponCharacterName' type="text" /></td> <td><input name='attr_spaceWeaponName' type="text" /></td> <td class="sheet-firearc-field"> <input name='attr_space-fireArcFore' type="checkbox" class="sheet-fireArcFore" Title="Fore" /> <input name='attr_space-fireArcStarboard' type="checkbox" class="sheet-fireArcStarboard" Title="Starboard" /> <input name='attr_space-fireArcAft' type="checkbox" class="sheet-fireArcAft" Title="Aft" /> <input name='attr_space-fireArcPort' type="checkbox" class="sheet-fireArcPort" Title="Port" /> <span class="sheet-fireArcForeImg"></span> <span class="sheet-fireArcStarboardImg"></span> <span class="sheet-fireArcAftImg"></span> <span class="sheet-fireArcPortImg"></span> </td> <td style="width:50px"><input name='attr_spaceWeaponCrit' type="number" max="99" min="0" value="0" /></td> <td style="width:50px"><input name='attr_spaceWeaponDmg' type="number" max="99" min="0" value="0" /></td> <td style="width:150px"> <select name='attr_spaceWeaponRange'> <option value="Close">Close</option> <option value="Short">Short</option> <option value="Medium">Medium</option> <option value="Long">Long</option> <option value="Extreme">Extreme</option> </select> </td> <td>&nbsp;</td> </tr> <tr> <td><label style="display:inline-block; width:25%;">Dice:</label><input style="display:inline-block; width:74%;" name='attr_spaceWeaponDice' type="text" /></td> <td colspan="4"><label style="display:inline-block; width:25%;">Special:</label><input style="display:inline-block; width:74%;" name='attr_spaceWeaponSpecial' type="text" /></td> <td> <select name='attr_spaceWeaponSkill'> <option value="skill:agility,rankGunnery">Gunnery</option> <option value="skill:agility,rankHeavy">Ranged - Heavy</option> </select> </td> <td><button type='roll' name='roll_space-shipWeapon' value='!eed rollPlayer(character:@{spaceWeaponCharacterName}|encum|@{spaceWeaponSkill}) label(Weapon:@{spaceWeaponName}|Vehicle:@{transport-space-name}|Damage:@{spaceWeaponDmg}|Critical:@{spaceWeaponCrit}|Range:@{spaceWeaponRange}|Special:@{spaceWeaponSpecial}) @{spaceWeaponDice} @{dicePool} (gmdice)'></button></td> </tr> <tr> <td><label>Book &amp; Page:</label></td> <td><input name='attr_space-weapon_bookpage' type="text" /></td> <td>Rarity:</td> <td><input name='attr_space-weapon_rarity' type="number" min="1" max="10" /></td> <td><label>Restricted:</label></td> <td> <select name='attr_space-weapon_restrict'> <option value="no">No</option> <option value="yes">Yes</option> </select> </td> </tr> <tr> <td>Value</td> <td><input name='attr_space-weapon_value' type="text" /></td> </tr> </tbody> </table> <br /> </fieldset> </div> </div><!-- Starship Weapons --> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <h3 class="sheet-section-header">Attachments</h3> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <th style="width:25%">Name</th> <th style="width:25%">Hard points</th> <th style="width:25%">Base Modifiers</th> <th style="width:25%">Modifications</th> </tr> </tbody> </table> <fieldset class="repeating_space-attachments"> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td style="width:25%"><input name='attr_SpaceAttachName' type="text" /></td> <td style="width:25%"><input name='attr_SpaceAttachHP' type="text" /></td> <td style="width:25%"><input name='attr_SpaceAttachBaseMod' type="text" /></td> <td style="width:25%"><input name='attr_SpaceAttachMod' type="text" /></td> </tr> <tr> <td><label>Book &amp; Page:</label></td> <td><input name='attr_space-attach_bookpage' type="text" /></td> <td>Rarity:</td> <td><input name='attr_space-attach_rarity' type="number" min="1" max="10" /></td> </tr> <tr> <td><label>Restricted:</label></td> <td> <select name='attr_space-attach_restrict'> <option value="no">No</option> <option value="yes">Yes</option> </select> </td> <td>Value</td> <td><input name='attr_space-attach_value' type="text" /></td> </tr> </tbody> </table> <br /> </fieldset> </div> <div class="sheet-clear"></div> </div><!-- Starship Attachments Section --> <div class="sheet-row sheet-show-critical-table"> <div class="sheet-small-12 sheet-column"> <h3 class="sheet-section-header">Starship Critical</h3> </div> <div class="sheet-small-9 sheet-column"> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn1" value="1" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName1" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange1" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice1" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity1" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect1" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect1" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) critship(heal|@{critShipOn1})">Repair</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn2" value="2" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName2" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange2" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice2" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity2" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary2" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect2" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect2" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) critship(heal|@{critShipOn2})">Repair</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn3" value="3" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName3" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange3" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice3" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity3" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary3" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect3" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect3" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) critship(heal|@{critShipOn3})">Repair</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn4" value="4" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName4" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange4" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice4" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity4" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary4" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect4" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect4" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) critship(heal|@{critShipOn4})">Repair</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn5" value="5" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName5" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange5" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice5" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity5" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary5" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect5" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect5" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) critship(heal|@{critShipOn5})">Repair</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn6" value="6" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName6" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange6" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice6" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity6" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary6" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect6" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect6" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) critship(heal|@{critShipOn6})">Repair</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn7" value="7" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName7" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange7" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice7" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity7" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary7" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect7" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect7" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) critship(heal|@{critShipOn7})">Repair</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn8" value="8" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName8" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange8" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice8" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity8" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary8" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect8" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect8" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) critship(heal|@{critShipOn8})">Repair</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn9" value="9" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName9" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange9" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice9" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity9" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary9" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect9" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect9" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) critship(heal|@{critShipOn9})">Repair</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn10" value="10" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName10" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange10" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice10" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity10" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary10" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect10" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect10" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) critship(heal|@{critShipOn10})">Repair</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn11" value="11" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName11" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange11" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice11" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity11" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary11" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect11" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect11" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) critship(heal|@{critShipOn11})">Repair</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn12" value="12" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName12" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange12" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice12" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity12" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary12" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect12" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect12" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) critship(heal|@{critShipOn12})">Repair</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn13" value="13" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName13" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange13" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice13" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity13" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary13" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect13" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect13" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) critship(heal|@{critShipOn13})">Repair</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn14" value="14" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName14" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange14" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice14" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity14" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary14" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect14" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect14" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) critship(heal|@{critShipOn14})">Repair</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn15" value="15" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName15" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange15" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice15" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity15" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary15" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect15" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect15" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) critship(heal|@{critShipOn15})">Repair</button></td> </tr> </tbody> </table> </div> <div class="sheet-small-3 sheet-column"> <table class="sheet-roll-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><label>Critical roll offset:</label></td> <td><input type="text" name="attr_critShipAddOffset" value="" /></td> </tr> <tr> <td colspan="2"><button type='roll' class="sheet-btn-roll-crit" value="!eed characterID(@{character_id}) critship(roll)">Roll Critical</button></td> </tr> <tr> <td> <label>Critical number:</label> <input type="text" name="attr_critShipAddRangeNum" value="" /> </td> <td valign="bottom"><button type='roll' class="sheet-btn-add-crit" value="!eed characterID(@{character_id}) critship(add|@{critShipAddRangeNum})">Add Critical</button></td> </tr> </tbody> </table> </div> <div class="sheet-clear"></div> </div><!-- Starship Critical Section --> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <h3 class="sheet-section-header">Cargo Hold</h3> <table> <tr> <td><label>Encumbrance Capacity</label></td> <td><input name="attr_space-encumbrance_max" type="text" value="0" /></td> <td><label>Current Encumbrance</label></td> <td><input name="attr_space-encumbrance_current" type="text" value="0" /></td> </tr> </table><!--Encumbrance Stats--> <fieldset class="repeating_space-cargo"> <br /> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><label>Cargo Type</label></td> <td> <select name='attr_space-cargo-type'> <option value="lowtech">Low Tech</option> <option value="midtech">Mid Tech</option> <option value="hightech">High Tech</option> <option value="weapons">Weapons</option> <option value="illicitmaterials">Illicit Materials</option> <option value="metals">Metals</option> <option value="minerals">Minerals</option> <option value="foodstuffs">Foodstuffs</option> <option value="medicine">Medicine</option> <option value="custom">Custom</option> </select> </td> <td><label>Legal?</label></td> <td> <select name='attr_space-cargo-legal'> <option value="yes">Yes</option> <option value="no">No</option> <option value="maybe">Maybe?</option> </select> </td> </tr> <tr> <td><label>Quantity</label></td> <td><input name="attr_space-cargo_quantity" type="number" min="0" value="0" /> <td><label>Encumbrance</label></td> <td><input name="attr_space-cargo_encumbrance" type="text" min="0" value="0" /> </tr> <tr> <td><label>Pickup</label></td> <td><input name="attr_space-cargo_pickup" type="text" /> <td><label>Dropoff</label></td> <td><input name="attr_space-cargo_dropoff" type="text" /> </tr> <tr> <td><label>Value</label></td> <td><input name="attr_space-cargo_value" type="text" value="0" /> <td><label>Misc Info</label></td> <td><textarea name="attr_space-cargo_misc" rows="2"></textarea></td> </tr> </tbody> </table> </fieldset><!--Cargo Specifics--> </div> <div class="sheet-clear"></div> </div><!-- Space Vehicle Cargo Hold Section --> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <h3 class="sheet-section-header">Passengers</h3> <table> <tr> <td><label><bold>Capacity</bold></label></td> <td><input name="attr_space-passengers_max" type="text" value="0" /></td> <td><label><bold>Current</bold></label></td> <td><input name="attr_space-passengers_current" type="text" value="0" /></td> </tr> </table><!--Passengers Stat--> <fieldset class="repeating_space-passengers"> <br /> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><label>Passenger Name</label></td> <td><input name="attr_space-passenger_name" type="text" /></td> <td><label>Wanted?</label></td> <td> <select name='attr_space-passenger-legal'> <option value="yes">Yes</option> <option value="no">No</option> <option value="maybe">Maybe?</option> </select> </td> </tr> <tr> <td><label>Role</label></td> <td><input name="attr_space-passenger_role" type="text" /></td> <td><label>Value <span style="font-size:10px">(if known)</span></label></td> <td><input name="attr_space-passenger_value" type="text" value="0" /></td> </tr> <tr> <td>&nbsp;</td> <td><label>Destination</label></td> <td><input name="attr_space-passenger_destination" type="text" /></td> <td>&nbsp;</td> </tr> </tbody> </table> </fieldset><!--Passenger Specifics--> </div> <div class="sheet-clear"></div> </div><!-- Space Vehicle Passenger Section --> </div><!--Space--> <div class="sheet-tab-content sheet-tab-transport-planetary"> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <table class="sheet-ship" cellspacing="0" cellpadding="0" border="0"> <tr> <td class="sheet-ship-char-bg"> <label>Silhouette</label> <input name='attr_planetary-silhouette' type="number" max="10" min="0" value="0" /> </td> <td class="sheet-ship-char-thre-bg-speed"> <label class="sheet-label-title">Speed</label> <input name="attr_planetary-speed" type="number" max="10" min="0" value="0" /> <input name="attr_planetary-speed_current" type="number" max="10" min="0" value="0" /><br /> <label class="sheet-label-threshold-speed">Max</label> <label class="sheet-label-current-speed">Current</label> </td> <td class="sheet-ship-char-bg"> <label>Handling</label> <input name='attr_planetary-handling' type="number" max="99" min="-9" value="0" /> </td> <td rowspan="2" class="sheet-ship-defense"> <div style="width:302px; height:1px;"></div> <label class="sheet-def-label">Defense</label> <div class="sheet-fore"> <label>Fore</label> <input name='attr_planetary-deffore' type="number" max="4" min="0" value="0" /> </div> <div class="sheet-starboard"> <label>Starboard</label> <input name='attr_planetary-defstarboard' type="number" max="4" min="0" value="0" /> </div> <div class="sheet-aft"> <label>Aft</label> <input name='attr_planetary-defaft' type="number" max="4" min="0" value="0" /> </div> <div class="sheet-port"> <label>Port</label> <input name='attr_planetary-defport' type="number" max="4" min="0" value="0" /> </div> </td> </tr> <tr> <td class="sheet-ship-char-thre-bg"> <label class="sheet-label-title">Armor</label> <input name="attr_planetary-ship_armor" type="number" max="99" min="0" value="0"> </td> <td class="sheet-ship-char-thre-bg"> <label class="sheet-label-title">Hull Trauma</label> <input name="attr_planetary-hull_trauma_max" type="number" min="0" value="0" /> <input name="attr_planetary-hull_trauma" type="number" min="0" value="0" /><br /> <label class="sheet-label-threshold">Threshold</label> <label class="sheet-label-current">Current</label> </td> <td class="sheet-ship-char-thre-bg"> <label class="sheet-label-title">Sys Strain</label> <input name="attr_planetary-system_strain_max" type="number" min="0" value="0" /> <input name="attr_planetary-system_strain" type="number" min="0" value="0" /><br /> <label class="sheet-label-threshold">Threshold</label> <label class="sheet-label-current">Current</label> </td> </tr> </table> </div><!-- Space Ship Stats Pictures --> <div class="sheet-clear"></div> </div><!-- Planetary Vehicle Top Stats --> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <h3 class="sheet-section-header">Planetary Vehicle Details</h3> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td><label>Name:</label></td> <td><input name="attr_transport-planetary-name" type="text" /></td> <td><label>Hard Points:</label></td> <td><input name="attr_transport-planetary-hp" type="text" /></td> </tr> <tr> <td><label>Vehicle Type/Model:</label></td> <td><input name="attr_transport-planetary-type" type="text" /></td> <td><label>Sensor Range:</label></td> <td><input name="attr_transport-planetary-sensrang" type="text" /></td> </tr> <tr> <td><label>Manufacturer:</label></td> <td><input name="attr_transport-planetary-manufact" type="text" /></td> <td><label>Maximum Altitude:</label></td> <td><input name="attr_transport-planetary-altitude" type="text" /></td> </tr> <tr> <td><label>Crew:</label></td> <td><input name="attr_transport-planetary-crew" type="text" /></td> </tr> <tr> <td><label>Book &amp; Page:</label></td> <td><input name='attr_planetary-vehicle_bookpage' type="text" /></td> <td>Rarity:</td> <td><input name='attr_planetary-vehicle_rarity' type="number" min="1" max="10" /></td> </tr> <tr> <td><label>Restricted:</label></td> <td> <select name='attr_planetary-vehicle_restrict'> <option value="no">No</option> <option value="yes">Yes</option> </select> </td> <td>Value</td> <td><input name='attr_planetary-vehicle_value' type="text" /></td> </tr> </table> </div> </div><!-- Planetary Vehicle Info --> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <br /> <h3 class="sheet-section-header">Crew Roles</h3> <table cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th style="width:180px;">Character Name</th> <th style="width:180px;">Role <span style="font-size:10px">(Pilot, Co-pilot, Engineer)</span></th> <th><span style="float:left">Dice</span></th> <th colspan="2"><span style="float:left">Skill</span></th> </tr> </thead> </table> <fieldset class="repeating_spaceCrewRoles"> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td style="width:180px;"><input name='attr_planetaryRoleCharacterName' type="text" /></td> <td style="width:180px;"><input name='attr_planetaryRoleName' type="text" /></td> <td><input name='attr_planetaryRoleDice' type="text" /></td> <td> <select name='attr_planetaryRoleSkill'> <option value="" disabled>General Skills</option> <option value="!eed npcinit rollPlayer(character:@{planetaryRoleCharacterName}|skill:intellect,rankAstrogation) label(skill:Astrogation|Vehicle:@{transport-planetary-name}|Vehicle:@{transport-planetary-name}|Role:@{planetaryRoleName}) @{planetaryRoleDice} @{dicePool} (gmdice)">Astrogation</option> <option value="!eed npcinit rollPlayer(character:@{planetaryRoleCharacterName}|skill:brawn,rankAthletics) label(skill:Athletics|Vehicle:@{transport-planetary-name}|Role:@{planetaryRoleName}) @{planetaryRoleDice} @{dicePool} (gmdice)">Athletics</option> <option value="!eed npcinit rollPlayer(character:@{planetaryRoleCharacterName}|skill:presence,rankCharm) label(skill:Charm|Vehicle:@{transport-planetary-name}|Role:@{planetaryRoleName}) @{planetaryRoleDice} @{dicePool} (gmdice)">Charm</option> <option value="!eed npcinit rollPlayer(character:@{planetaryRoleCharacterName}|skill:presence,rankCoercion) label(skill:Coercion|Vehicle:@{transport-planetary-name}|Role:@{planetaryRoleName}) @{planetaryRoleDice} @{dicePool} (gmdice)">Coercion</option> <option value="!eed npcinit rollPlayer(character:@{planetaryRoleCharacterName}|skill:intellect,rankComputers) label(skill:Computers|Vehicle:@{transport-planetary-name}|Role:@{planetaryRoleName}) @{planetaryRoleDice} @{dicePool} (gmdice)">Computers</option> <option value="!eed npcinit rollPlayer(character:@{planetaryRoleCharacterName}|skill:presence,rankCool) label(skill:Cool|Vehicle:@{transport-planetary-name}|Role:@{planetaryRoleName}) @{planetaryRoleDice} @{dicePool} (gmdice)">Cool</option> <option value="!eed npcinit rollPlayer(character:@{planetaryRoleCharacterName}|skill:encum|skill:agility,rankCoordination) label(skill:Coordination|Vehicle:@{transport-planetary-name}|Role:@{planetaryRoleName}) @{planetaryRoleDice} @{dicePool} (gmdice)">Coordination</option> <option value="!eed npcinit rollPlayer(character:@{planetaryRoleCharacterName}|skill:cunning,rankDeception) label(skill:Deception|Vehicle:@{transport-planetary-name}|Role:@{planetaryRoleName}) @{planetaryRoleDice} @{dicePool} (gmdice)">Deception</option> <option value="!eed npcinit rollPlayer(character:@{planetaryRoleCharacterName}|skill:willpower,rankDiscipline) label(skill:Discipline|Vehicle:@{transport-planetary-name}|Role:@{planetaryRoleName}) @{planetaryRoleDice} @{dicePool} (gmdice)">Discipline</option> <option value="!eed npcinit rollPlayer(character:@{planetaryRoleCharacterName}|skill:presence,rankLeadership) label(skill:Leadership|Vehicle:@{transport-planetary-name}|Role:@{planetaryRoleName}) @{planetaryRoleDice} @{dicePool} (gmdice)">Leadership</option> <option value="!eed npcinit rollPlayer(character:@{planetaryRoleCharacterName}|skill:intellect,rankMechanics) label(skill:Mechanics|Vehicle:@{transport-planetary-name}|Role:@{planetaryRoleName}) @{planetaryRoleDice} @{dicePool} (gmdice)">Mechanics</option> <option value="!eed npcinit rollPlayer(character:@{planetaryRoleCharacterName}|skill:intellect,rankMedicine) label(skill:Medicine|Vehicle:@{transport-planetary-name}|Role:@{planetaryRoleName}) @{planetaryRoleDice} @{dicePool} (gmdice)">Medicine</option> <option value="!eed npcinit rollPlayer(character:@{planetaryRoleCharacterName}|skill:presence,rankNegotiation) label(skill:Negotiation|Vehicle:@{transport-planetary-name}|Role:@{planetaryRoleName}) @{planetaryRoleDice} @{dicePool} (gmdice)">Negotiation</option> <option value="!eed npcinit rollPlayer(character:@{planetaryRoleCharacterName}|skill:cunning,rankPerception) label(skill:Perception|Vehicle:@{transport-planetary-name}|Role:@{planetaryRoleName}) @{planetaryRoleDice} @{dicePool} (gmdice)">Perception</option> <option value="!eed npcinit rollPlayer(character:@{planetaryRoleCharacterName}|skill:encum|skill:agility,rankPlanetary) label(skill:Piloting-Planetary|Vehicle:@{transport-planetary-name}|Role:@{planetaryRoleName}) @{planetaryRoleDice} @{dicePool} (gmdice)">Piloting (Planetary)</option> <option value="!eed npcinit rollPlayer(character:@{planetaryRoleCharacterName}|skill:encum|skill:agility,rankSpace) label(skill:Piloting-Space|Vehicle:@{transport-planetary-name}|Role:@{planetaryRoleName}) @{planetaryRoleDice} @{dicePool} (gmdice)">Piloting (Space)</option> <option value="!eed npcinit rollPlayer(character:@{planetaryRoleCharacterName}|skill:brawn,rankResilience) label(skill:Resilience|Vehicle:@{transport-planetary-name}|Role:@{planetaryRoleName}) @{planetaryRoleDice} @{dicePool} (gmdice)">Resilience</option> <option value="!eed npcinit rollPlayer(character:@{planetaryRoleCharacterName}|skill:cunning,rankSkulduggery) label(skill:Skulduggery|Vehicle:@{transport-planetary-name}|Role:@{planetaryRoleName}) @{planetaryRoleDice} @{dicePool} (gmdice)">Skulduggery</option> <option value="!eed npcinit rollPlayer(character:@{planetaryRoleCharacterName}|skill:encum|skill:agility,rankStealth) label(skill:Stealth|Vehicle:@{transport-planetary-name}|Role:@{planetaryRoleName}) @{planetaryRoleDice} @{dicePool} (gmdice)">Stealth</option> <option value="!eed npcinit rollPlayer(character:@{planetaryRoleCharacterName}|skill:cunning,rankStreetwise) label(skill:Streetwise|Vehicle:@{transport-planetary-name}|Role:@{planetaryRoleName}) @{planetaryRoleDice} @{dicePool} (gmdice)">Streetwise</option> <option value="!eed npcinit rollPlayer(character:@{planetaryRoleCharacterName}|skill:cunning,rankSurvival) label(skill:Survival|Vehicle:@{transport-planetary-name}|Role:@{planetaryRoleName}) @{planetaryRoleDice} @{dicePool} (gmdice)">Survival</option> <option value="!eed npcinit rollPlayer(character:@{planetaryRoleCharacterName}|skill:willpower,rankVigilance) label(skill:Vigilance|Vehicle:@{transport-planetary-name}|Role:@{planetaryRoleName}) @{planetaryRoleDice} @{dicePool} (gmdice)">Vigilance</option> <option value="" disabled>Combat Skills</option> <option value="!eed npcinit rollPlayer(character:@{planetaryRoleCharacterName}|skill:brawn,rankBrawl) label(skill:Brawl|Vehicle:@{transport-planetary-name}|Role:@{planetaryRoleName}) @{planetaryRoleDice} @{dicePool} (gmdice)">Brawl</option> <option value="!eed npcinit rollPlayer(character:@{planetaryRoleCharacterName}|skill:encum|skill:agility,rankGunnery) label(skill:Gunnery|Vehicle:@{transport-planetary-name}|Role:@{planetaryRoleName}) @{planetaryRoleDice} @{dicePool} (gmdice)">Gunnery</option> <option value="!eed npcinit rollPlayer(character:@{planetaryRoleCharacterName}|skill:brawn,rankMelee) label(skill:Melee|Vehicle:@{transport-planetary-name}|Role:@{planetaryRoleName}) @{planetaryRoleDice} @{dicePool} (gmdice)">Melee</option> <option value="!eed npcinit rollPlayer(character:@{planetaryRoleCharacterName}|skill:charLightsaber,rankLightsaber) label(skill:Lightsaber|Vehicle:@{transport-planetary-name}|Role:@{planetaryRoleName}) @{planetaryRoleDice} @{dicePool} (gmdice)">Lightsaber</option> <option value="!eed npcinit rollPlayer(character:@{planetaryRoleCharacterName}|skill:encum|skill:agility,rankLight) label(skill:Ranged-Light|Vehicle:@{transport-planetary-name}|Role:@{planetaryRoleName}) @{planetaryRoleDice} @{dicePool} (gmdice)">Ranged (Light)</option> <option value="!eed npcinit rollPlayer(character:@{planetaryRoleCharacterName}|skill:encum|skill:agility,rankHeavy) label(skill:Ranged-Heavy|Vehicle:@{transport-planetary-name}|Role:@{planetaryRoleName}) @{planetaryRoleDice} @{dicePool} (gmdice)">Ranged (Heavy)</option> <option value="" disabled>Knowledge Skills</option> <option value="!eed npcinit rollPlayer(character:@{planetaryRoleCharacterName}|skill:intellect,rankCore) label(skill:Core Worlds|Vehicle:@{transport-planetary-name}|Role:@{planetaryRoleName}) @{planetaryRoleDice} @{dicePool} (gmdice)">Core Worlds</option> <option value="!eed npcinit rollPlayer(character:@{planetaryRoleCharacterName}|skill:intellect,rankEducation) label(skill:Education|Vehicle:@{transport-planetary-name}|Role:@{planetaryRoleName}) @{planetaryRoleDice} @{dicePool} (gmdice)">Education</option> <option value="!eed npcinit rollPlayer(character:@{planetaryRoleCharacterName}|skill:intellect,rankLore) label(skill:Lore|Vehicle:@{transport-planetary-name}|Role:@{planetaryRoleName}) @{planetaryRoleDice} @{dicePool} (gmdice)">Lore</option> <option value="!eed npcinit rollPlayer(character:@{planetaryRoleCharacterName}|skill:intellect,rankOuter) label(skill:Outer Rim|Vehicle:@{transport-planetary-name}|Role:@{planetaryRoleName}) @{planetaryRoleDice} @{dicePool} (gmdice)">Outer Rim</option> <option value="!eed npcinit rollPlayer(character:@{planetaryRoleCharacterName}|skill:intellect,rankUnderworld) label(skill:Underworld|Vehicle:@{transport-planetary-name}|Role:@{planetaryRoleName}) @{planetaryRoleDice} @{dicePool} (gmdice)">Underworld</option> <option value="!eed npcinit rollPlayer(character:@{planetaryRoleCharacterName}|skill:intellect,rankXenology) label(skill:Xenology|Vehicle:@{transport-planetary-name}|Role:@{planetaryRoleName}) @{planetaryRoleDice} @{dicePool} (gmdice)">Xenology</option> <option value="!eed npcinit rollPlayer(character:@{planetaryRoleCharacterName}|skill:intellect,rankWarfare) label(skill:Warfare|Vehicle:@{transport-planetary-name}|Role:@{planetaryRoleName}) @{planetaryRoleDice} @{dicePool} (gmdice)">Warfare</option> </select> </td> <td><button type='roll' name='roll_space-shipRole' value=@{planetaryRoleSkill}></button></td> </tr> </tbody> </table> </fieldset> <br /> </div> </div><!-- Planetary Vehicle Crew Roles --> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <br /> <h3 class="sheet-section-header">Weapons</h3> <table cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th>Character Name</th> <th>Weapon Name</th> <th>Arc</th> <th>Crit</th> <th>Dmg</th> <th colspan="2">Range/Skill</th> </tr> </thead> </table> <fieldset class="repeating_planetaryWeapons"> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><input name='attr_planetaryWeaponCharacterName' type="text" /></td> <td><input name='attr_planetaryWeaponName' type="text" /></td> <td class="sheet-firearc-field"> <input name='attr_planetary-fireArcFore' type="checkbox" class="sheet-fireArcFore" Title="Fore" /> <input name='attr_planetary-fireArcStarboard' type="checkbox" class="sheet-fireArcStarboard" Title="Starboard" /> <input name='attr_planetary-fireArcAft' type="checkbox" class="sheet-fireArcAft" Title="Aft" /> <input name='attr_planetary-fireArcPort' type="checkbox" class="sheet-fireArcPort" Title="Port" /> <span class="sheet-fireArcForeImg"></span> <span class="sheet-fireArcStarboardImg"></span> <span class="sheet-fireArcAftImg"></span> <span class="sheet-fireArcPortImg"></span> </td> <td style="width:50px"><input name='attr_planetaryWeaponCrit' type="number" max="99" min="-99" value="0" /></td> <td style="width:50px"><input name='attr_planetaryWeaponDmg' type="number" max="99" min="-99" value="0" /></td> <td style="width:150px"> <select name='attr_planetaryWeaponRange'> <option value="Close">Close</option> <option value="Short">Short</option> <option value="Medium">Medium</option> <option value="Long">Long</option> <option value="Extreme">Extreme</option> </select> </td> <td>&nbsp;</td> </tr> <tr> <td> <label style="display:inline-block; width:25%;">Dice:</label><input style="display:inline-block; width:74%;" name='attr_planetaryWeaponDice' type="text" /> </td> <td colspan="4"> <label style="display:inline-block; width:25%;">Special:</label><input style="display:inline-block; width:74%;" name='attr_planetaryWeaponSpecial' type="text" /> </td> <td> <select name='attr_planetaryWeaponSkill'> <option value="skill:agility,rankGunnery">Gunnery</option> <option value="skill:agility,rankHeavy">Ranged - Heavy</option> </select> </td> <td><button type='roll' name='roll_planetary-shipWeapon' value='!eed rollPlayer(character:@{planetaryWeaponCharacterName}|encum|@{planetaryWeaponSkill}) label(Weapon:@{planetaryWeaponName}|Vehicle:@{transport-planetary-name}|Damage:@{planetaryWeaponDmg}|Critical:@{planetaryWeaponCrit}|Range:@{planetaryWeaponRange}|Special:@{planetaryWeaponSpecial}) @{planetaryWeaponDice} @{dicePool} (gmdice)'></button></td> </tr> <tr> <td><label>Book &amp; Page:</label></td> <td><input name='attr_planetary-weapon_bookpage' type="text" /></td> <td>Rarity:</td> <td><input name='attr_planetary-weapon_rarity' type="number" min="1" max="10" /></td> <td><label>Restricted:</label></td> <td> <select name='attr_planetary-weapon_restrict'> <option value="no">No</option> <option value="yes">Yes</option> </select> </td> </tr> <tr> <td>Value</td> <td><input name='attr_planetary-weapon_value' type="text" /></td> </tr> </tbody> </table> <br /> </fieldset> </div> </div><!-- Planetary Vehicle Weapons --> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <h3 class="sheet-section-header">Attachments</h3> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <th style="width:25%">Name</th> <th style="width:25%">Hard points</th> <th style="width:25%">Base Modifiers</th> <th style="width:25%">Modifications</th> </tr> </tbody> </table> <fieldset class="repeating_planetary-attachments"> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td style="width:25%"><input name='attr_planetary-AttachName' type="text" /></td> <td style="width:25%"><input name='attr_planetary-AttachHP' type="text" /></td> <td style="width:25%"><input name='attr_planetary-AttachBaseMod' type="text" /></td> <td style="width:25%"><input name='attr_planetary-AttachMod' type="text" /></td> </tr> <tr> <td><label>Book &amp; Page:</label></td> <td><input name='attr_planetary-attach_bookpage' type="text" /></td> <td>Rarity:</td> <td><input name='attr_planetary-attach_rarity' type="number" min="1" max="10" /></td> </tr> <tr> <td><label>Restricted:</label></td> <td> <select name='attr_planetary-attach_restrict'> <option value="no">No</option> <option value="yes">Yes</option> </select> </td> <td>Value</td> <td><input name='attr_planetary-attach_value' type="text" /></td> </tr> </tbody> </table> <br /> </fieldset> </div> <div class="sheet-clear"></div> </div><!-- Planetary Vehicle Attachments Section --> <div class="sheet-row sheet-show-critical-table"> <div class="sheet-small-12 sheet-column"> <h3 class="sheet-section-header">Planetary Vehicle Critical</h3> </div> <div class="sheet-small-9 sheet-column"> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn1" value="1" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName1" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange1" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice1" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity1" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect1" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect1" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) critship(heal|@{critShipOn1})">Repair</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn2" value="2" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName2" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange2" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice2" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity2" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary2" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect2" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect2" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) critship(heal|@{critShipOn2})">Repair</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn3" value="3" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName3" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange3" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice3" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity3" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary3" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect3" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect3" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) critship(heal|@{critShipOn3})">Repair</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn4" value="4" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName4" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange4" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice4" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity4" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary4" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect4" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect4" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) critship(heal|@{critShipOn4})">Repair</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn5" value="5" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName5" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange5" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice5" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity5" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary5" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect5" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect5" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) critship(heal|@{critShipOn5})">Repair</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn6" value="6" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName6" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange6" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice6" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity6" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary6" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect6" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect6" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) critship(heal|@{critShipOn6})">Repair</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn7" value="7" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName7" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange7" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice7" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity7" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary7" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect7" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect7" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) critship(heal|@{critShipOn7})">Repair</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn8" value="8" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName8" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange8" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice8" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity8" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary8" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect8" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect8" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) critship(heal|@{critShipOn8})">Repair</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn9" value="9" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName9" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange9" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice9" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity9" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary9" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect9" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect9" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) critship(heal|@{critShipOn9})">Repair</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn10" value="10" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName10" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange10" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice10" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity10" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary10" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect10" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect10" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) critship(heal|@{critShipOn10})">Repair</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn11" value="11" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName11" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange11" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice11" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity11" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary11" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect11" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect11" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) critship(heal|@{critShipOn11})">Repair</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn12" value="12" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName12" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange12" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice12" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity12" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary12" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect12" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect12" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) critship(heal|@{critShipOn12})">Repair</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn13" value="13" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName13" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange13" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice13" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity13" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary13" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect13" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect13" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) critship(heal|@{critShipOn13})">Repair</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn14" value="14" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName14" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange14" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice14" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity14" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary14" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect14" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect14" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) critship(heal|@{critShipOn14})">Repair</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critShipOn15" value="15" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critShipName15" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critShipRange15" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critShipDice15" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critShipSeverity15" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critShipSummary15" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critShipEffect15" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critShipEffect15" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) critship(heal|@{critShipOn15})">Repair</button></td> </tr> </tbody> </table> </div> <div class="sheet-small-3 sheet-column"> <table class="sheet-roll-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><label>Critical roll offset:</label></td> <td><input type="text" name="attr_critShipAddOffset" value="" /></td> </tr> <tr> <td colspan="2"><button type='roll' class="sheet-btn-roll-crit" value="!eed characterID(@{character_id}) critship(roll)">Roll Critical</button></td> </tr> <tr> <td> <label>Critical number:</label> <input type="text" name="attr_critShipAddRangeNum" value="" /> </td> <td valign="bottom"><button type='roll' class="sheet-btn-add-crit" value="!eed characterID(@{character_id}) critship(add|@{critShipAddRangeNum})">Add Critical</button></td> </tr> </tbody> </table> </div> <div class="sheet-clear"></div> </div><!-- Planetary Vehicle Critical Section --> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <h3 class="sheet-section-header">Cargo Hold</h3> <table> <tr> <td><label><bold>Encumbrance Capacity</bold></label></td> <td><input name="attr_planetary-encumbrance_max" type="text" value="0" /></td> <td><label><bold>Current Encumbrance</bold></label></td> <td><input name="attr_planetary-encumbrance_current" type="text" value="0" /></td> </tr> </table><!--Encumbrance Stats--> <fieldset class="repeating_space-cargo"> <br /> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><label>Cargo Type</label></td> <td> <select name='attr_planetary-cargo-type'> <option value="lowtech">Low Tech</option> <option value="midtech">Mid Tech</option> <option value="hightech">High Tech</option> <option value="weapons">Weapons</option> <option value="illicitmaterials">Illicit Materials</option> <option value="metals">Metals</option> <option value="minerals">Minerals</option> <option value="foodstuffs">Foodstuffs</option> <option value="medicine">Medicine</option> <option value="custom">Custom</option> </select> </td> <td><label>Legal?</label></td> <td> <select name='attr_planetary-cargo-legal'> <option value="yes">Yes</option> <option value="no">No</option> <option value="maybe">Maybe?</option> </select> </td> </tr> <tr> <td><label>Quantity</label></td> <td><input name="attr_planetary-cargo_quantity" type="number" min="0" value="0" /> <td><label>Encumbrance</label></td> <td><input name="attr_planetary-cargo_encumbrance" type="text" min="0" value="0" /> </tr> <tr> <td><label>Pickup</label></td> <td><input name="attr_planetary-cargo_pickup" type="text" /> <td><label>Dropoff</label></td> <td><input name="attr_planetary-cargo_dropoff" type="text" /> </tr> <tr> <td><label>Value</label></td> <td><input name="attr_planetary-cargo_value" type="text" value="0" /> <td><label>Misc Info</label></td> <td><textarea name="attr_planetary-cargo_misc" rows="2"></textarea></td> </tr> </tbody> </table> </fieldset><!--Cargo Specifics--> </div> <div class="sheet-clear"></div> </div><!-- Planetary Vehicle Cargo Hold Section --> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <h3 class="sheet-section-header">Passengers</h3> <table> <tr> <td><label><bold>Capacity</bold></label></td> <td><input name="attr_planetary-passengers_max" type="text" value="0" /></td> <td><label><bold>Current</bold></label></td> <td><input name="attr_planetary-passengers_current" type="text" value="0" /></td> </tr> </table><!--Passengers Stat--> <fieldset class="repeating_space-passengers"> <br /> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><label>Passenger Name</label></td> <td><input name="attr_planetary-passenger_name" type="text" /></td> <td><label>Wanted?</label></td> <td> <select name='attr_planetary-passenger-legal'> <option value="yes">Yes</option> <option value="no">No</option> <option value="maybe">Maybe?</option> </select> </td> </tr> <tr> <td><label>Role</label></td> <td><input name="attr_planetary-passenger_role" type="text" /></td> <td><label>Value <span style="font-size:10px">(if known)</span></label></td> <td><input name="attr_planetary-passenger_value" type="text" value="0" /></td> </tr> <tr> <td><label>Destination</label></td> <td><input name="attr_planetary-passenger_destination" type="text" /></td> </tr> </tbody> </table> </fieldset><!--Passenger Specifics--> </div> <div class="sheet-clear"></div> </div><!-- Planetary Vehicle Passenger Section --> </div><!--Planetary--> <div class="sheet-tab-content sheet-tab-transport-beast"> <div class="sheet-row sheet-section-1"> <div class="sheet-small-12 sheet-column"> <table class="sheet-swsd sheet-beast" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td> <label class="sheet-label-title">Wounds</label> <input name="attr_transport-beast-wounds_max" type="number" min="1" value="1" /> <input name="attr_transport-beast-wounds" type="number" min="0" value="0" /><br /> <label class="sheet-label-threshold">Threshold</label> <label class="sheet-label-current">Current</label> </td> <td> <label class="sheet-label-title">Strain</label> <input name="attr_transport-beast-strain_max" type="number" min="1" value="1" /> <input name="attr_transport-beast-strain" type="number" min="0" value="0" /><br /> <label class="sheet-label-threshold">Threshold</label> <label class="sheet-label-current">Current</label> </td> <td rowspan="2"> <label class="sheet-label-title">Defense</label> <input name="attr_transport-beast-rangeddefense" type="number" max="99" min="0" value="0" /> <input name="attr_transport-beast-meleedefense" type="number" max="99" min="0" value="0" /><br /> <label class="sheet-label-range">Range</label> <label class="sheet-label-melee">Melee</label> </td> <td rowspan="2"> <label class="sheet-label-title">Encum</label> <input name="attr_transport-beast-encumbrance_max" type="number" min="1" value="1" /> <input name="attr_transport-beast-encumbrancemax" type="hidden" value="@{transport-beast-encumbrance|max}" disabled /> <input name="attr_transport-beast-encumbrance" type="number" max="99" min="0" value="0" /><br /> <label class="sheet-label-threshold">Threshold</label> <label class="sheet-label-current">Current</label> </td> <td rowspan="2"> <label class="sheet-label-title">Silhouette</label> <input name="attr_transport-beast-silhouette" type="number" max="10" min="0" value="1" /> </td> </tr> <tr> <td colspan="2"> <label class="sheet-label-title">Soak</label> <input name="attr_transport-beast-soak" type="number" max="99" min="1" value="1" /> </td> </tr> </tbody> </table> </div><!-- Beast Top Stats --> <div class="sheet-small-12 sheet-column"> <h3 class="sheet-section-header">Riding Beast Details</h3> <table class="sheet-character" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><label>Name:</label></td> <td><input type="text" name="attr_beast-name" /></td> <td><label>Species:</label></td> <td><input type="text" name="attr_beast-species" /></td> </tr> <tr> <td><label>Book &amp; Page:</label></td> <td><input name='attr_beast_bookpage' type="text" /></td> <td>Rarity:</td> <td><input name='attr_beast_rarity' type="number" min="1" max="10" /></td> </tr> <tr> <td><label>Restricted:</label></td> <td> <select name='attr_beast_restrict'> <option value="no">No</option> <option value="yes">Yes</option> </select> </td> <td>Value</td> <td><input name='attr_beast_value' type="text" /></td> </tr> </tbody> </table> </div><!-- Top Info --> <div class="sheet-row"> <div class="sheet-small-6 sheet-column"> <table cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th colspan="2">Description</th> </tr> </thead> <tbody> <tr> <td><label>Gender:</label></td> <td><input type="text" name="attr_beast-chargender" /></td> </tr> <tr> <td><label>Age:</label></td> <td><input type="text" name="attr_beast-charage" /></td> </tr> <tr> <td><label>Height:</label></td> <td><input type="text" name="attr_beast-charheight" /></td> </tr> </tbody> </table> </div> <div class="sheet-small-6 sheet-column"> <table cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th>Notable Features</th> </tr> </thead> <tbody> <tr> <td><textarea rows="4" name="attr_beast-charfeatures"></textarea></td> </tr> </tbody> </table> <table cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th>Other Information</th> </tr> </thead> <tbody> <tr> <td><textarea rows="4" name="attr_beast-charother"></textarea></td> </tr> </tbody> </table> </div> </div><!-- Description --> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <div class="sheet-small-12 sheet-column"> <br /> <br /> <div class="sheet-clear"></div> <div class="sheet-attachments-wrapper"> <input type="checkbox" name="attr_beast_init" class="sheet-view-attachments" /> <label class="sheet-view-attachments">Show Initiative</label> <table class="sheet-attachments" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td> <table> <tr> <td><label>What kind of Initiative Slot?</label></td> <td><label>PC<input type="radio" name="attr_beast-npc-pc" value="pcinit" checked="checked" /></label></td> <td><label>NPC<input type="radio" name="attr_beast-npc-pc" value="npcinit" /></label></td> <td><label></label></td> <td><label></label></td> <td><label></label></td> <td><label></label></td> <td><label></label></td> <td><label></label></td> </tr> </table> <table class="sheet-init" cellspacing="0" cellpadding="0" border="0"> <tr> <td><label>Cool (if prepared):</label></td> <td> <input class="sheet-yd" type="hidden" name="attr_beast-yCoolInit" value="(((@{beast-presence} + @{beast-rankCool}) - abs(@{beast-presence} - @{beast-rankCool})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_beast-gCoolInit" value="((((@{beast-presence} + @{beast-rankCool}) + abs(@{beast-presence} - @{beast-rankCool})) / 2) - @{beast-yCoolInit})" disabled><span></span> </td> <td><label>Modifiers</label><input name='attr_beast-initiativeCoolDice' type="text" /></td> <td> <button type='roll' name='roll_beast-VigilanceInit' value='!eed @{beast-npc-pc} characterID(@{character_id}) label(skill:Riding Beast-Initiative Cool) skill(@{beast-rankCool}|@{beast-presence}) @{beast-initiativeCoolDice} @{dicePool}'></button> </td> </tr> <tr> <td><label>Vigilance (if unexpected):</label></td> <td> <input class="sheet-yd" type="hidden" name="attr_beast-yVigilanceInit" value="(((@{beast-willpower} + @{beast-rankVigilance}) - abs(@{beast-willpower} - @{beast-rankVigilance})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_beast-gVigilanceInit" value="((((@{beast-willpower} + @{beast-rankVigilance}) + abs(@{beast-willpower} - @{beast-rankVigilance})) / 2) - @{beast-yVigilanceInit})" disabled><span></span> </td> <td><label>Modifiers</label><input name='attr_beast-initiativeVigDice' type="text" /></td> <td> <button type='roll' name='roll_beast-VigilanceInit' value='!eed @{beast-npc-pc} characterID(@{character_id}) label(skill:Riding Beast-Initiative Vigilance) skill(@{beast-rankVigilance}|@{beast-willpower}) @{beast-initiativeVigDice} @{dicePool}'></button> </td> </tr> </table> </td> </tr> </tbody> </table> </div> </div><!-- Initiative --> <div class="sheet-row" style="margin-top:10px"> <div class="sheet-small-12 sheet-column"> <!-- -------------------------------------------------- Characteristics --> <table class="sheet-characteristics" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td> <label>Brawn</label> <input name='attr_beast-brawn' type="number" max="7" min="1" value="1" /> </td> <td></td> <td> <label>Agility</label> <input name='attr_beast-agility' type="number" max="7" min="1" value="1" /> </td> <td></td> <td> <label>Intellect</label> <input name='attr_beast-intellect' type="number" max="7" min="1" value="1" /> </td> <td></td> <td> <label>Cunning</label> <input name='attr_beast-cunning' type="number" max="7" min="1" value="1" /> </td> <td></td> <td> <label>Willpower</label> <input name='attr_beast-willpower' type="number" max="7" min="1" value="1" /> </td> <td></td> <td> <label>Presence</label> <input name='attr_beast-presence' type="number" max="7" min="1" value="1" /> </td> </tr> </tbody> </table> </div> <div class="sheet-clear"></div> </div><!-- Characteristics --> <div> <h3 class="sheet-section-header">Skills</h3> <table class="sheet-skills" cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th>Skill Name</th> <th>Career</th> <th colspan="2">Rank</th> <th colspan="2"> <span style="float:left">Modifiers</span> </th> </tr> </thead> <tbody> <tr> <td> <label>Cool (Pr)</label> </td> <td><input name='attr_beast-careerskillCool' type="checkbox" value="1"></td> <td><input type="number" name="attr_beast-rankCool" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_beast-yCool" value="(((@{beast-presence} + @{beast-rankCool}) - abs(@{beast-presence} - @{beast-rankCool})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_beast-gCool" value="((((@{beast-presence} + @{beast-rankCool}) + abs(@{beast-presence} - @{beast-rankCool})) / 2) - @{beast-yCool})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_beast-diceCool" /> </div> </td> <td><button type='roll' name='roll_beast-Cool' value='!eed characterID(@{character_id}) label(skill:Riding Beast-Cool) @{beast-diceCool} skill(@{beast-rankCool}|@{beast-presence}) @{dicePool} (gmdice)'></button></td> </tr><!--Cool--> <tr> <td> <label>Vigilance (Will)</label> </td> <td><input name='attr_beast-careerskillVigilance' type="checkbox" value="1"></td> <td><input type="number" name="attr_beast-rankVigilance" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_beast-yVigilance" value="(((@{beast-willpower} + @{beast-rankVigilance}) - abs(@{beast-willpower} - @{beast-rankVigilance})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_beast-gVigilance" value="((((@{beast-willpower} + @{beast-rankVigilance}) + abs(@{beast-willpower} - @{beast-rankVigilance})) / 2) - @{beast-yVigilance})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_beast-diceVigilance" /> </div> </td> <td><button type='roll' name='roll_beast-Vigilance' value='!eed characterID(@{character_id}) label(skill:Riding Beast-Vigilance) @{beast-diceVigilance} skill(@{beast-rankVigilance}|@{beast-willpower}) @{dicePool} (gmdice)'></button></td> </tr><!--Vigilance--> <tr> <td> <label>Brawl (Br)</label> </td> <td><input name='attr_beast-careerskillBrawl' type="checkbox" value="1"></td> <td><input type="number" name="attr_beast-rankBrawl" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_beast-yBrawl" value="(((@{beast-brawn} + @{beast-rankBrawl}) - abs(@{beast-brawn} - @{beast-rankBrawl})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_beast-gBrawl" value="((((@{beast-brawn} + @{beast-rankBrawl}) + abs(@{beast-brawn} - @{beast-rankBrawl})) / 2) - @{beast-yBrawl})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_beast-diceBrawl" /> </div> </td> <td><button type='roll' name='roll_Brawl' value='!eed characterID(@{character_id}) label(skill:Riding Beast-Brawl) @{beast-diceBrawl} encum(@{transport-beast-encumbrancemax}|@{transport-beast-encumbrance}) skill(@{beast-rankBrawl}|@{beast-brawn}) @{dicePool} (gmdice)'></button></td> </tr><!--Brawl--> </tbody> </table><!--Cool, Vigilance, Brawl--> <table class="sheet-skills sheet-custome-skills" cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th>Other Skills </th> <th>Char</th> <th>Career</th> <th colspan="2">Rank</th> <th colspan="2">Mods</th> </tr> </thead> <tbody> <tr> <td><input type="text" name="attr_beast-customskillname" /></td> <td> <select name="attr_beast-charcustomskillname"> <option value="@{beast-brawn}">Brawn</option><!-- encum not working --> <option value="@{beast-agility}">Agility</option> <option value="@{beast-intellect}">Intellect</option> <option value="@{beast-cunning}">Cunning</option> <option value="@{beast-willpower}">Willpower</option> <option value="@{beast-presence}">Presence</option> </select> </td> <td><input name='attr_beast-careerskillcustomskillname' type="checkbox" value=""></td> <td><input type="number" name="attr_beast-rankcustomskillname" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_beast-ycustomskillname" value="(((@{beast-charcustomskillname} + @{beast-rankcustomskillname}) - abs(@{beast-charcustomskillname} - @{beast-rankcustomskillname})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_beast-gcustomskillname" value="((((@{beast-charcustomskillname} + @{beast-rankcustomskillname}) + abs(@{beast-charcustomskillname} - @{beast-rankcustomskillname})) / 2) - @{beast-ycustomskillname})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_beast-dicecustomskillname" /> </div> </td> <td><button type='roll' name='roll_beast-customskillname' value='!eed characterID(@{character_id}) label(skill:Riding Beast-@{beast-customskillname}) @{beast-dicecustomskillname} skill(@{beast-rankcustomskillname}|@{beast-charcustomskillname}) @{dicePool} (gmdice)'></button></td> </tr> </tbody> </table><!--Custom Skill--> <fieldset class="repeating_beast-skills"> <table class="sheet-skills sheet-custome-skills" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><input type="text" name="attr_beast-customskillname" /></td> <td> <select name="attr_beast-charcustomskillname"> <option value="@{beast-brawn}">Brawn</option><!-- encum not working --> <option value="@{beast-agility}">Agility</option> <option value="@{beast-intellect}">Intellect</option> <option value="@{beast-cunning}">Cunning</option> <option value="@{beast-willpower}">Willpower</option> <option value="@{beast-presence}">Presence</option> </select> </td> <td><input name='attr_beast-careerskillcustomskillname' type="checkbox" value=""></td> <td><input type="number" name="attr_beast-rankcustomskillname" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_beast-ycustomskillname" value="(((@{beast-charcustomskillname} + @{beast-rankcustomskillname}) - abs(@{beast-charcustomskillname} - @{beast-rankcustomskillname})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_beast-gcustomskillname" value="((((@{beast-charcustomskillname} + @{beast-rankcustomskillname}) + abs(@{beast-charcustomskillname} - @{beast-rankcustomskillname})) / 2) - @{beast-ycustomskillname})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_beast-dicecustomskillname" /> </div> </td> <td><button type='roll' name='roll_beast-customskillname' value='!eed characterID(@{character_id}) label(skill:Riding Beast-@{beast-customskillname}) @{beast-dicecustomskillname} skill(@{beast-rankcustomskillname}|@{beast-charcustomskillname}) @{dicePool} (gmdice)'></button></td> </tr> </tbody> </table> </fieldset><!--Custom Skills (Repeating)--> </div><!-- Skills --> </div> <div class="sheet-clear"></div> </div><!-- Skills List --> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <h3>Abilities</h3> <table class="sheet-talents" cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th style="width:50%">Name</th> <th style="width:50%">Ability Summary</th> </tr> </thead> </table> <fieldset class="repeating_beast-skills"> <table class="sheet-talent"> <tbody> <tr> <td style="width:50%" colspan="5"> <input type="text" name="attr_beast-talentname" /> </td> <td style="width:50%" rowspan="2"> <textarea rows="3" type="text" name="attr_beast-talentsummary"></textarea> </td> </tr> <tr> <td><label>Rank:</label></td> <td><input type="text" name="attr_beast-talentrank" /></td> <td> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_beast-passiveActive" value="passive" title="Passive" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_beast-passiveActive" value="active" title="Active"> <span class="switch-selection"></span> </div> </td> <td><label>Page:</label></td> <td><input type="text" name="attr_beast-talentpagenum" /></td> </tr> </tbody> </table> </fieldset> </div> <div class="sheet-clear"></div> </div><!-- Abilities --> <div class="sheet-small-12 sheet-column"> <h3>Attacks</h3><br /> <fieldset class="repeating_beast-weapons"> <table class="sheet-weapons" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td></td> <td> <label>Damage</label> <input name='attr_beast-damage' type="text" value="0" /> </td> <td></td> <td> <label>Critical</label> <input name='attr_beast-critical' type="text" value="0" /> </td> <td><button type='roll' name='roll_weapon' value='!eed characterID(@{character_id}) label(skill: Riding Beast-@{beast-name}|Weapon:@{beast-weaponmake}|Damage:@{beast-damage}|Critical:@{beast-critical}|Range:@{beast-weaponrange}|Special:@{beast-weaponspecial}) @{beast-weapondice} encum(@{transport-beast-encumbrancemax}|@{transport-beast-encumbrance}) @{beast-weaponskill} @{beast-weaponcondition} @{dicePool} (gmdice)'></button></td> <td> <label>Encum</label> <input name='attr_beast-encum' type="text" value="0" /> </td> <td></td> <td> <label>HP</label> <input name='attr_beast-hp' type="text" value="0" /> </td> <td></td> </tr> </tbody> </table> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><label>Make / Model:</label></td> <td><input name='attr_beast-weaponmake' type="text" /></td> <td><label>Range:</label></td> <td> <select name='attr_beast-weaponrange'> <option value="Engaged">Engaged</option> <option value="Short">Short</option> <option vaule="Medium">Medium</option> <option value="Long">Long</option> <option value="Extreme">Extreme</option> </select> </td> </tr> <tr> <td><label>Weapon Type:</label></td> <td><input name='attr_beast-weapontype' type="text" /></td> <td><label>Skill:</label></td> <td> <select name='attr_beast-weaponskill'> <option value="skill(@{beast-rankBrawl}|@{beast-brawn})">Brawl</option> <option value="skill(@{beast-rankGunnery}|@{beast-agility})">Gunnery</option> <option value="skill(@{beast-rankMelee}|@{beast-brawn})">Melee</option> <option value="skill(@{beast-rankLight}|@{beast-agility})">Ranged - Light</option> <option value="skill(@{beast-rankHeavy}|@{beast-agility})">Ranged - Heavy</option> </select> </td> </tr> <tr> <td><label>Dice:</label></td> <td><input name='attr_beast-weapondice' type="text" /></td> <td><label>Condition:</label></td> <td> <select name='attr_beast-weaponcondition'> <option value="">New</option> <option value="1blk">Minor</option> <option value="1p">Moderate</option> <option value="unusableWeapon">Major</option> </select> </td> </tr> <tr> <td colspan="2">&nbsp;</td> <td><label>Special:</label></td> <td><textarea rows="3" type="text" name="attr_beast-weaponspecial"></textarea></td> </tr> </tbody> </table> <div class="sheet-attachments-wrapper"> <input type="checkbox" name="attr_beast-weaponattchments" class="sheet-view-attachments" /> <label class="sheet-view-attachments">View Attachments</label> <div class="sheet-clear"></div> <table class="sheet-attachments" cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th>Attachment Name</th> <th>Hard Points</th> <th>Base Modifiers</th> <th>Modifications</th> </tr> </thead> <tbody> <tr> <td><input name='attr_beast-weaponattch1' type="text" /></td> <td><input name='attr_beast-weaponattachp1' type="number" /></td> <td><input name='attr_beast-weaponattachbase1' type="text" /></td> <td><input name='attr_beast-weaponattachmod1' type="text" /></td> </tr> <tr> <td><input name='attr_beast-weaponattch2' type="text" /></td> <td><input name='attr_beast-weaponattachp2' type="number" /></td> <td><input name='attr_beast-weaponattachbase2' type="text" /></td> <td><input name='attr_beast-weaponattachmod2' type="text" /></td> </tr> <tr> <td><input name='attr_beast-weaponattch3' type="text" /></td> <td><input name='attr_beast-weaponattachp3' type="number" /></td> <td><input name='attr_beast-weaponattachbase3' type="text" /></td> <td><input name='attr_beast-weaponattachmod3' type="text" /></td> </tr> <tr> <td><input name='attr_beast-weaponattch4' type="text" /></td> <td><input name='attr_beast-weaponattachp4' type="number" /></td> <td><input name='attr_beast-weaponattachbase4' type="text" /></td> <td><input name='attr_beast-weaponattachmod4' type="text" /></td> </tr> </tbody> </table> </div><!-- Weapon Attachments --> <br /> </fieldset> </div><!-- Attacks --> <div class="sheet-row sheet-show-critical-table"> <div class="sheet-small-12 sheet-column"> <h3 class="sheet-section-header">Beast Critical Injuries</h3> </div> <div class="sheet-small-9 sheet-column"> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn1" value="1" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName1" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange1" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice1" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity1" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea row="3" name="attr_critSummary1" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect1" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect1" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn1})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn2" value="2" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName2" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange2" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice2" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity2" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary2" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect2" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect2" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn2})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn3" value="3" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName3" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange3" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice3" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity3" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary3" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect3" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect3" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn3})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn4" value="4" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName4" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange4" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice4" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity4" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary4" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect4" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect4" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn4})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn5" value="5" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName5" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange5" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice5" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity5" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary5" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect5" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect5" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn5})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn6" value="6" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName6" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange6" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice6" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity6" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary6" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect6" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect6" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn6})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn7" value="7" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName7" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange7" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice7" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity7" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary7" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect7" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect7" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn7})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn8" value="8" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName8" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange8" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice8" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity8" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary8" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect8" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect8" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn8})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn9" value="9" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName9" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange9" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice9" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity9" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary9" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect9" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect9" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn9})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn10" value="10" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName10" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange10" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice10" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity10" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary10" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect10" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect10" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn10})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn11" value="11" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName11" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange11" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice11" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity11" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary11" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect11" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect11" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn11})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn12" value="12" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName12" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange12" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice12" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity12" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary12" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect12" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect12" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn12})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn13" value="13" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName13" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange13" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice13" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity13" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary13" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect13" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect13" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn13})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn14" value="14" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName14" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange14" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice14" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity14" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary14" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect14" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect14" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn14})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn15" value="15" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName15" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange15" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice15" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity15" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary15" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect15" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect15" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn15})">Heal</button></td> </tr> </tbody> </table> </div> <div class="sheet-small-3 sheet-column"> <table class="sheet-roll-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><label>Critical roll offset:</label></td> <td><input type="text" name="attr_critAddOffset" value="" /></td> </tr> <tr> <td colspan="2"><button type='roll' class="sheet-btn-roll-crit" value="!eed characterID(@{character_id}) crit(roll)">Roll Critical</button></td> </tr> <tr> <td> <label>Critical number:</label> <input type="text" name="attr_critAddRangeNum" value="" /> </td> <td valign="bottom"><button type='roll' class="sheet-btn-add-crit" value="!eed characterID(@{character_id}) crit(add|@{critAddRangeNum})">Add Critical</button></td> </tr> </tbody> </table> </div> <div class="sheet-clear"></div> </div><!-- Beast Critical Table --> </div> </div><!--Beast--> </div><!-- Player Vehicle sheet --> <div class="sheet-tab-content sheet-tab-base-sheet"> <br /><br /><br /><br /><br /><br /><br /> <input type="radio" name="attr_base-sheet" class="sheet-tab-new sheet-tab-base-details" value="1" checked="checked" /> <span class="sheet-tab-new">&emsp;Base of Operations &emsp;</span> <input type="radio" name="attr_base-sheet" class="sheet-tab-new sheet-tab-base-shared" value="2" /> <span class="sheet-tab-new">&emsp;Shared Resources &emsp;</span> <div class="sheet-tab-content sheet-tab-base-details"> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <br /> <input type="radio" name="attr_opt-base-type" class="sheet-opt sheet-opt-rebel" value="1" title="Rebel Base" checked="checked" /> <input type="radio" name="attr_opt-base-type" class="sheet-opt sheet-opt-business" value="2" title="Business" /> <input type="radio" name="attr_opt-base-type" class="sheet-opt sheet-opt-homestead" value="3" title="Homestead" /> <div class="sheet-tab-content sheet-opt-rebel"> <h3 class="sheet-section-header">Details</h3> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><label>Rebel Base Name:</label></td> <td><input name="attr_rebel-base-name" type="text" /></td> <td><label>Location:</label></td> <td><input name="attr_rebel-base-location" type="text" /></td> </tr> <tbody> <tr> <td><label>Core Type:</label></td> <td> <select name='attr_rebelbasecoretype'> <option value="1">Safe House</option> <option value="2">Training Camp</option> <option value="3">Meeting Center</option> <option value="4">Other</option> </select> </td> <td><label>Description:</label></td> <td><textarea rows="2" type="text" name="attr_rebelbasecoredetails"></textarea></td> </tr> </tbody> </table> <br /> <h3 class="sheet-section-header">NPCs</h3> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><label>Name:</label></td> <td><input name="attr_rebel-base-NPC-name1" type="text" /></td> <td><label>Description:</label></td> <td><textarea rows="2" type="text" name="attr_rebelbase-npcdescription1"></textarea></td> </tr> </tbody> <tbody> <tr> <td><label>Position/Role:</label></td> <td><input name="attr_rebel-base-NPC-position1" type="text" /></td> </tr> </tbody> </table> <fieldset class="repeating_rebel-base-NPC-position"> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><label>Name:</label></td> <td><input name="attr_rebel-base-NPC-name2" type="text" /></td> <td><label>Description:</label></td> <td><textarea rows="2" type="text" name="attr_rebelbase-npcdescription2"></textarea></td> </tr> </tbody> <tbody> <tr> <td><label>Position/Role:</label></td> <td><input name="attr_rebel-base-NPC-position2" type="text" /></td> </tr> </tbody> </table> </fieldset> <div class="sheet-clear"></div> <br /> <h3>Upgrades</h3> <table class="sheet-base-upgrades" cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th style="width:50%">Upgrade Type:</th> <th style="width:50%">Description</th> </tr> </thead> </table> <fieldset class="repeating_baseupgrades"> <table class="sheet-base-upgrades"> <tbody> <tr> <td style="width:50%" colspan="5"><input type="text" name="attr_rebelupgradename1" /></td> <td style="width:50%" rowspan="2"><textarea rows="3" type="text" name="attr_rebelupgradedescription1"></textarea></td> </tr> <tr> <td><label>Cost:</label></td> <td style="width:50px"><input name='attr_rebelupgradesprice1' type="text" size="5" min="0" value="0" /></td> <td><label>Number of Upgrades:</label></td> <td style="width:50px"><input name='attr_rebelupgradesnumber1' type="number" max="5" min="0" value="0" /></td> </tr> </tbody> </table> </fieldset> <div class="sheet-clear"></div> </div><!-- Rebel Base Info --> <div class="sheet-tab-content sheet-opt-business"> <h3 class="sheet-section-header">Details</h3> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><label>Business Name:</label></td> <td><input name="attr_business-name" type="text" /></td> <td><label>Location:</label></td> <td><input name="attr_business-location" type="text" /></td> </tr> </tbody> <tbody> <tr> <td><label>Type:</label></td> <td> <select name='attr_businesstype'> <option value="1">Entertainment</option> <option value="2">Retail</option> <option value="3">Service</option> </select> </td> <td><label>Party Career Skill:</label></td> <td> <select name='attr_businesscareerskill'> <option value="1">Charm</option> <option value="2">Negotiation</option> <option value="3">Mechanics</option> <option value="4">Computers</option> <option value="5">Knowledge (Core Worlds)</option> <option value="6">Knowledge (Education)</option> <option value="7">Knowledge (Lore)</option> <option value="8">Knowledge (Outer Rim)</option> <option value="9">Knowledge (Underworld)</option> <option value="10">Knowledge (Xenology)</option> <option value="11">Knowledge (Warfare)</option> </select> </td> </tr> </tbody> <tbody> <tr> <td><label>Description:</label></td> <td><textarea rows="2" type="text" name="attr_businessdetails"></textarea></td> </tr> </tbody> </table> <br /> <h3 class="sheet-section-header">NPCs</h3> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><label>Name:</label></td> <td><input name="attr_business-NPC-name1" type="text" /></td> <td><label>Description:</label></td> <td><textarea rows="2" type="text" name="attr_business-npcdescription1"></textarea></td> </tr> </tbody> <tbody> <tr> <td><label>Position/Role:</label></td> <td><input name="attr_business-NPC-position1" type="text" /></td> </tr> </tbody> </table> <fieldset class="repeating_business-NPC-position"> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><label>Name:</label></td> <td><input name="attr_business-NPC-name2" type="text" /></td> <td><label>Description:</label></td> <td><textarea rows="2" type="text" name="attr_business-npcdescription2"></textarea></td> </tr> </tbody> <tbody> <tr> <td><label>Position/Role:</label></td> <td><input name="attr_business-NPC-position2" type="text" /></td> </tr> </tbody> </table> </fieldset> <div class="sheet-clear"></div> <br /> <h3>Upgrades</h3> <table class="sheet-business-upgrades" cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th style="width:50%">Upgrade Type:</th> <th style="width:50%">Description</th> </tr> </thead> </table> <fieldset class="repeating_businessupgrade"> <table class="sheet-business-upgrades"> <tbody> <tr> <td style="width:50%" colspan="5"><input type="text" name="attr_businessupgradename1" /></td> <td style="width:50%" rowspan="2"><textarea rows="3" type="text" name="attr_businessupgradedescription1"></textarea></td> </tr> <tr> <td><label>Cost:</label></td> <td style="width:50px"><input name='attr_businessupgradesprice1' type="text" size="5" min="0" value="0" /></td> <td><label>Number of Upgrades:</label></td> <td style="width:50px"><input name='attr_businessupgradesnumber1' type="number" max="5" min="0" value="0" /></td> </tr> </tbody> </table> </fieldset> <div class="sheet-clear"></div> </div><!-- Business Info --> <div class="sheet-tab-content sheet-opt-homestead"> <h3 class="sheet-section-header">Details</h3> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><label>Homestead Name:</label></td> <td><input name="attr_homestead-name" type="text" /></td> <td><label>Location:</label></td> <td><input name="attr_homestead-location" type="text" /></td> </tr> </tbody> <tbody> <tr> <td><label>Type:</label></td> <td> <select name='attr_homesteadtype'> <option value="1">Farm</option> <option value="2">Ranch</option> <option value="3">Mine</option> <option value="4">Space Station</option> </select> </td> <td><label>Party Career Skill:</label></td> <td> <select name='attr_homesteadcareerskill'> <option value="1">Resilience</option> <option value="2">Survival</option> <option value="3">Athletics</option> <option value="4">Piloting (Space)</option> </select> </td> </tbody> <tbody> <tr> <td><label>Description:</label></td> <td><textarea rows="2" type="text" name="attr_homesteaddetails"></textarea></td> </tr> </tbody> </table> <br /> <h3 class="sheet-section-header">NPCs</h3> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><label>Name:</label></td> <td><input name="attr_homestead-NPC-name1" type="text" /></td> <td><label>Description:</label></td> <td><textarea rows="2" type="text" name="attr_homestead-npcdescription1"></textarea></td> </tr> </tbody> <tbody> <tr> <td><label>Position/Role:</label></td> <td><input name="attr_homestead-NPC-position1" type="text" /></td> </tr> </tbody> </table> <fieldset class="repeating_homestead-NPC-position"> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><label>Name:</label></td> <td><input name="attr_homestead-NPC-name2" type="text" /></td> <td><label>Description:</label></td> <td><textarea rows="2" type="text" name="attr_homestead-npcdescription2"></textarea></td> </tr> </tbody> <tbody> <tr> <td><label>Position/Role:</label></td> <td><input name="attr_homestead-NPC-position2" type="text" /></td> </tr> </tbody> </table> </fieldset> <div class="sheet-clear"></div> <br /> <h3>Upgrades</h3> <table class="sheet-homestead-upgrades" cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th style="width:50%">Upgrade Type:</th> <th style="width:50%">Description</th> </tr> </thead> </table> <fieldset class="repeating_homesteadupgrade"> <table class="sheet-homestead-upgrades"> <tbody> <tr> <td style="width:50%" colspan="5"><input type="text" name="attr_homesteadupgradename1" /></td> <td style="width:50%" rowspan="2"><textarea rows="3" type="text" name="attr_homesteadupgradedescription1"></textarea></td> </tr> <tr> <td><label>Cost:</label></td> <td style="width:50px"><input name='attr_homesteadupgradesprice1' type="text" size="5" min="0" value="0" /></td> <td><label>Number of Upgrades:</label></td> <td style="width:50px"><input name='attr_homesteadupgradesnumber1' type="number" max="5" min="0" value="0" /></td> </tr> </tbody> </table> </fieldset> </div><!-- Homestead Info --> </div> </div> </div><!-- Base Of Operations Details --> <div class="sheet-tab-content sheet-tab-base-shared"> <br /> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <h3 class="sheet-section-header">Group Details</h3> <table class="sheet-character" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr class="sheet-bg-grey"> <td colspan="2"><label style="text-align:right">Group Name:</label></td> <td colspan="2"><input type="text" name="attr_groupname" /></td> </tr> <tr> <td><label>Group Credits:</label></td> <td><input type="text" name="attr_groupcredits" disabled value='(@{grouppettycash} + @{groupsavings})' /></td> <td><label>Petty Cash:</label></td> <td><input name="attr_grouppettycash" type="text" value="0" /></td> <td><label>Savings:</label></td> <td><input name="attr_groupsavings" type="text" value="0" /></td> </tr> <tr> <td colspan="2"><label style="text-align:right">Current Location:</label></td> <td><input type="text" name="attr_grouplocation" /></td> <td><label>Nearest Hyperlane:</label></td> <td><input type="text" name="attr_groupnearesthyperlane" /></td> </tr> </tbody> </table> </div> </div><!--Group Details--> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <h3 class="sheet-section-header">Group Contacts</h3> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><label>Name:</label></td> <td><input name="attr_groupcontacts-name1" type="text" /></td> <td><label>Description:</label></td> <td><textarea rows="2" type="text" name="attr_groupcontacts-npcdescription1"></textarea></td> </tr> </tbody> <tbody> <tr> <td><label>Position/Role:</label></td> <td><input name="attr_groupcontacts-position1" type="text" /></td> <td><label>Location:</label></td> <td><input name="attr_groupcontacts-location" type="text" /></td> </tr> </tbody> </table> <br /> <fieldset class="repeating_groupcontacts-position"> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><label>Name:</label></td> <td><input name="attr_groupcontacts-name2" type="text" /></td> <td><label>Description:</label></td> <td><textarea rows="2" type="text" name="attr_groupcontacts-npcdescription2"></textarea></td> </tr> </tbody> <tbody> <tr> <td><label>Position/Role:</label></td> <td><input name="attr_groupcontacts-position2" type="text" /></td> <td><label>Location:</label></td> <td><input name="attr_groupcontacts-location" type="text" /></td> </tr> </tbody> </table> <br /> </fieldset> </div> </div><!--Group Contacts--> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <h3 class="sheet-section-header">Group Tasks</h3> <fieldset class="repeating_group-tasks"> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><label>Task:</label></td> <td><input type="text" name="attr_grouptask1" /></td> <td><label>Assigned By:</label></td> <td><input type="text" name="attr_grouptaskassigned1" /></td> <td><label>Completed:</label></td> <td> <select name='attr_grouptaskcomp1'> <option value="1">Yes</option> <option value="2">No</option> </select> </td> </tr> <tr> <td><label>Details:</label></td> <td colspan="3" class="sheet-div-right"><textarea rows="3" name="attr_grouptaskdetails1"></textarea></td> </tr> </tbody> </table> <br /> </fieldset> </div> </div><!--Group Tasks--> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <h3 class="sheet-section-header">Group Obligations</h3> <fieldset class="repeating_group-obligation"> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><label>Type:</label></td> <td><input type="text" name="attr_groupobligationtype1" /></td> <td><label>Magnitude:</label></td> <td><input type="number" name="attr_groupobligationmag1" min="0" value="0" /></td> </tr> <tr> <td><label>Details:</label></td> <td colspan="3" class="sheet-div-right"><textarea rows="3" name="attr_groupobligationcomp1"></textarea></td> </tr> </tbody> </table> <br /> </fieldset> </div> </div><!--Group Obligations--> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <h3 class="sheet-section-header">Group Resources</h3> <table cellspacing="0" cellpadding="0" border="0"> <tbody><tr><td><textarea name="attr_groupresources" rows="6"></textarea></td></tr></tbody> </table> </div> </div><!--Group Resources--> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <h3 class="sheet-section-header">Group Posessions</h3> <table cellspacing="0" cellpadding="0" border="0"> <tbody><tr><td><textarea name="attr_groupposessions" rows="6"></textarea></td></tr></tbody> </table> </div> </div><!--Group Posessions--> <div class="sheet-clear"></div> </div><!-- Shared Resources Info --> </div><!-- Player Group sheet --> <div class="sheet-tab-content sheet-tab-companion-sheet"> <div class="sheet-row sheet-section-1"> <div class="sheet-small-12 sheet-column"> <table class="sheet-swsd" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td> <label class="sheet-label-title">Wounds</label> <input name="attr_companion-wounds_max" type="number" max="99" min="1" value="1" /> <input name="attr_companion-wounds" type="number" max="99" min="0" value="0" /><br /> <label class="sheet-label-threshold">Threshold</label> <label class="sheet-label-current">Current</label> </td> <td> <label class="sheet-label-title">Strain</label> <input name="attr_companion-strain_max" type="number" max="99" min="1" value="1" /> <input name="attr_companion-strain" type="number" max="99" min="0" value="0" /><br /> <label class="sheet-label-threshold">Threshold</label> <label class="sheet-label-current">Current</label> </td> <td rowspan="2"> <label class="sheet-label-title">Defense</label> <input name="attr_companion-rangeddefense" type="number" max="99" min="0" value="0" /> <input name="attr_companion-meleedefense" type="number" max="99" min="0" value="0" /><br /> <label class="sheet-label-range">Range</label> <label class="sheet-label-melee">Melee</label> </td> <td rowspan="2"> <label class="sheet-label-title">Encum</label> <input name="attr_companion-encumbrance_max" type="number" max="99" min="1" value="1" /> <input name="attr_companion-encumbrancemax" type="hidden" value="@{companion-encumbrance|max}" disabled /> <input name="attr_companion-encumbrance" type="number" max="99" min="0" value="0" /><br /> <label class="sheet-label-threshold">Threshold</label> <label class="sheet-label-current">Current</label> </td> <td rowspan="2"> <label class="sheet-label-title">Force Rating</label> <input name="attr_companion-forcerating" type="number" max="99" min="0" value="0" /> <input name="attr_companion-forcecommitted" type="number" max="99" min="0" value="0" /><br /> <label class="sheet-label-threshold">Threshold</label> <label class="sheet-label-current">Committed</label> </td> </tr> <tr> <td colspan="2"> <label class="sheet-label-title">Soak</label> <input name="attr_companion-soak" type="number" max="99" min="1" value="1" /> </td> </tr> </tbody> </table> </div><!-- Top Stats --> <div class="sheet-small-12 sheet-column"> <h3 class="sheet-section-header">Dice Pool</h3> <table class="sheet-dice-pool" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td class="sheet-light"><img src="http://galacticcampaigns.com/images/EotE/Boost/boostBlank.png" /><input name="attr_companion-b" type="number" step="1" max="9" min="0" value="0"></td> <td class="sheet-light"><img src="http://galacticcampaigns.com/images/EotE/Ability/abilityBlank.png" /><input name="attr_companion-g" type="number" step="1" max="9" min="0" value="0"></td> <td class="sheet-light"><img src="http://galacticcampaigns.com/images/EotE/Proficiency/ProficiencyBlank.png" /><input name="attr_companion-y" type="number" step="1" max="9" min="0" value="0"></td> <td class="sheet-force"><img src="http://galacticcampaigns.com/images/EotE/Force/ForceL.png" /><input name="attr_companion-w" type="number" step="1" max="9" min="0" value="0"></td> <td class="sheet-dark"><img src="http://galacticcampaigns.com/images/EotE/Setback/SetBackBlank.png" /><input name="attr_companion-blk" type="number" step="1" max="9" min="0" value="0"></td> <td class="sheet-dark"><img src="http://galacticcampaigns.com/images/EotE/Difficulty/DifficultyBlank.png" /><input name="attr_companion-p" type="number" step="1" max="9" min="0" value="0"></td> <td class="sheet-dark"><img src="http://galacticcampaigns.com/images/EotE/Challenge/ChallengeBlank.png" /><input name="attr_companion-r" type="number" step="1" max="9" min="0" value="0"></td> </tr> <tr> <td colspan="3" class="sheet-upgrade sheet-light"> <label> &nbsp;&nbsp;&nbsp;&nbsp;Upgrade: <input name="attr_companion-upgradeAbility" type="number" step="1" max="9" min="0" value="0"> </label> <label> <input name="attr_companion-downgradeProficiency" type="number" step="1" max="9" min="0" value="0"> :Downgrade </label> </td> <td class="sheet-force"> <input type="hidden" name="attr_companion-dicePool" value='@{companion-g}g @{companion-y}y @{companion-p}p @{companion-r}r @{companion-b}b @{companion-blk}blk @{companion-w}w upgrade(ability|@{companion-upgradeAbility}) downgrade(proficiency|@{companion-downgradeProficiency}) upgrade(difficulty|@{companion-upgradeDifficulty}) downgrade(challenge|@{companion-downgradeChallenge})' /> <button type='roll' name='roll_DicePool' value='!eed characterID(@{character_id}) label(Dice:Companion Dice Pool) @{companion-dicePool} (gmdice)'></button> <button type='roll' name='roll_ResetDicePool' value='!eed resetdice characterID(@{character_id})'></button> </td> <td colspan="3" class="sheet-downgrade sheet-dark"> <label> &nbsp;&nbsp;&nbsp;&nbsp;Upgrade: <input name="attr_companion-upgradeDifficulty" type="number" step="1" max="9" min="0" value="0"> </label> <label> <input name="attr_companion-downgradeChallenge" type="number" step="1" max="9" min="0" value="0"> Downgrade: </label> </td> </tr> </tbody> </table> </div><!-- Dice Pool --> <div class="sheet-clear"></div> </div><!-- Stats and Dice --> <input type="radio" name="attr_companion-sheet" class="sheet-tab-new sheet-tab-companion-info" value="1" checked="checked" /> <span class="sheet-tab-new">&emsp;Companion Info&emsp;</span> <input type="radio" name="attr_companion-sheet" class="sheet-tab-new sheet-tab-companion-combat" value="2" /> <span class="sheet-tab-new">&emsp;Skills, Talents, Weapons &amp; Powers&emsp;</span> <input type="radio" name="attr_companion-sheet" class="sheet-tab-new sheet-tab-companion-inventory" value="3" /> <span class="sheet-tab-new">&emsp;Item Inventory&emsp;</span> <div class="sheet-tab-content sheet-tab-companion-info"> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <h3 class="sheet-section-header">Companion</h3> <table class="sheet-character" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><label>Name:</label></td> <td><input type="text" name="attr_companion-name" /></td> </tr> <tr> <td><label>Species:</label></td> <td> <select name='attr_companion-species'> <option value="Aqualish (Aquala)">Aqualish (Aquala)</option> <option value="Aqualish (Quara)">Aqualish (Quara)</option> <option value="Aqualish (Ualaq)">Aqualish (Ualaq)</option> <option value="Arcona">Arcona</option> <option value="Bothan">Bothan</option> <option value="Caamasi">Caamasi</option> <option value="Cerean">Cerean</option> <option value="Chadra-Fan">Chadra-Fan</option> <option value="Chagrian">Chagrian</option> <option value="Chevin">Chevin</option> <option value="Chiss">Chiss</option> <option value="Corellian Human">Corellian Human</option> <option value="Drall">Drall</option> <option value="Dressellian">Dressellian (Primitive)</option> <option value="Dressellian">Dressellian (Non-Primitive)</option> <option value="Droid">Droid</option> <option value="Duros">Duros</option> <option value="Falleen">Falleen</option> <option value="Gand (With Lungs)">Gand (With Lungs)</option> <option value="Gand (Without Lungs)">Gand (Without Lungs)</option> <option value="Gank">Gank</option> <option value="Gossam">Gossam</option> <option value="Gotal">Gotal</option> <option value="Gran">Gran</option> <option value="Human">Human</option> <option value="Hutt">Hutt</option> <option value="Iktotchi">Iktotchi</option> <option value="Ishi Tib">Ishi Tib</option> <option value="Ithorian">Ithorian</option> <option value="Kel Dor">Kel Dor</option> <option value="Klatooinian">Klatooinian</option> <option value="Lannik">Lannik</option> <option value="Mirialan">Mirialan</option> <option value="Mon Calamari">Mon Calamari</option> <option value="Nautolan">Nautolan</option> <option value="Neimodian">Neimodian</option> <option value="Nikto (Green)">Nikto (Green)</option> <option value="Nikto (Mountain)">Nikto (Mountain)</option> <option value="Nikto (Pale)">Nikto (Pale)</option> <option value="Nikto (Red)">Nikto (Red)</option> <option value="Nikto (Southern)">Nikto (Southern)</option> <option value="Polis Massan (With Vocal Chords)">Polis Massan (With Vocal Chords)</option> <option value="Polis Massan (Without Vocal Chords)">Polis Massan (Without Vocal Chords)</option> <option value="Quarren">Quarren</option> <option value="Rodian">Rodian</option> <option value="Sakiyan">Sakiyan</option> <option value="Sathari">Sathari</option> <option value="Selonian">Selonian</option> <option value="Sullustan">Sullustan</option> <option value="Togruta">Togruta</option> <option value="Toydarian">Toydarian</option> <option value="Trandosian">Trandosian</option> <option value="Twi'lek">Twi'lek</option> <option value="Verpine">Verpine</option> <option value="Weequay">Weequay</option> <option value="Whiphid">Whiphid</option> <option value="Wookiee">Wookiee</option> <option value="Xexto">Xexto</option> <option value="Zabrak">Zabrak</option> </select><!--Species List--> <input type="text" name="attr_companion-species" /> </td> </tr> <tr> <td><label>Credits:</label></td> <td><input type="text" name="attr_companion-credits" /></td> </tr> </tbody> </table> </div> <div class="sheet-clear"></div> </div><!-- Top Info --> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <table cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th width="30%">Career</th> <th width="30%"><span style="float:left">Specialization</span></th> <th width="30%">Is it in your Career?</th> </tr> </thead> <tbody> <tr> <td><input type="text" name="attr_companion-career" value="Career" /></td> <td><input type="text" name="attr_companion-tree" value="Starting Specialization" /></td> <td><input type="text" name="attr_companion-specialization-career" value="Yes" disabled /></td> <!--<td><name="attr_specialization-cost" /></td>--> </tr> </tbody> </table> <fieldset class="repeating_companion-specialization"> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="33%"> <select name="attr_companion-career-list"> <option value="" disabled>*Edge of the Empire*</option> <option value="Bounty Hunter">&nbsp;&nbsp;&nbsp;&nbsp;Bounty Hunter</option> <option value="Colonist">&nbsp;&nbsp;&nbsp;&nbsp;Colonist</option> <option value="Explorer">&nbsp;&nbsp;&nbsp;&nbsp;Explorer</option> <option value="Hired Gun">&nbsp;&nbsp;&nbsp;&nbsp;Hired Gun</option> <option value="Smuggler">&nbsp;&nbsp;&nbsp;&nbsp;Smuggler</option> <option value="Technican">&nbsp;&nbsp;&nbsp;&nbsp;Technican</option> <option value="" disabled>*Age of Rebellion*</option> <option value="Ace">&nbsp;&nbsp;&nbsp;&nbsp;Ace</option> <option value="Commander">&nbsp;&nbsp;&nbsp;&nbsp;Commander</option> <option value="Diplomat">&nbsp;&nbsp;&nbsp;&nbsp;Diplomat</option> <option value="Engineer">&nbsp;&nbsp;&nbsp;&nbsp;Engineer</option> <option value="Soldier">&nbsp;&nbsp;&nbsp;&nbsp;Soldier</option> <option value="Spy">&nbsp;&nbsp;&nbsp;&nbsp;Spy</option> <option value="" disabled>*Force and Destiny*</option> <option value="Consular">&nbsp;&nbsp;&nbsp;&nbsp;Consular</option> <option value="Guardian">&nbsp;&nbsp;&nbsp;&nbsp;Guardian</option> <option value="Mystic">&nbsp;&nbsp;&nbsp;&nbsp;Mystic</option> <option value="Seeker">&nbsp;&nbsp;&nbsp;&nbsp;Seeker</option> <option value="Sentinel">&nbsp;&nbsp;&nbsp;&nbsp;Sentinel</option> <option value="Warrior">&nbsp;&nbsp;&nbsp;&nbsp;Warrior</option> <option value="" disabled>*All*</option> <option value="Universal">&nbsp;&nbsp;&nbsp;&nbsp;Universal</option> </select> </td><!--Career List--> <td width="33%"> <select name="attr_companion-specialization"> <option value="" disabled>*Edge of the Empire*</option> <option value="" disabled>&nbsp;&nbsp;Bounty Hunter</option> <option value="Assassin">&nbsp;&nbsp;&nbsp;&nbsp;Assassin</option> <option value="Gadgeteer">&nbsp;&nbsp;&nbsp;&nbsp;Gadgeteer</option> <option value="Survivalist">&nbsp;&nbsp;&nbsp;&nbsp;Survivalist</option> <option value="" disabled>&nbsp;&nbsp;Colonist</option> <option value="Doctor">&nbsp;&nbsp;&nbsp;&nbsp;Doctor</option> <option value="Politico">&nbsp;&nbsp;&nbsp;&nbsp;Politico</option> <option value="Scholar">&nbsp;&nbsp;&nbsp;&nbsp;Scholar</option> <option value="Entrepreneur">&nbsp;&nbsp;&nbsp;&nbsp;Entrepreneur</option> <option value="Marshal">&nbsp;&nbsp;&nbsp;&nbsp;Marshal</option> <option value="Performer">&nbsp;&nbsp;&nbsp;&nbsp;Performer</option> <option value="" disabled>&nbsp;&nbsp;Explorer</option> <option value="Scout">&nbsp;&nbsp;&nbsp;&nbsp;Scout</option> <option value="Fringer">&nbsp;&nbsp;&nbsp;&nbsp;Fringer</option> <option value="Driver">&nbsp;&nbsp;&nbsp;&nbsp;Driver</option> <option value="Archaeologist">&nbsp;&nbsp;&nbsp;&nbsp;Archaeologist</option> <option value="Big-Game Hunter">&nbsp;&nbsp;&nbsp;&nbsp;Big-Game Hunter</option> <option value="Trader">&nbsp;&nbsp;&nbsp;&nbsp;Trader</option> <option value="" disabled>&nbsp;&nbsp;Hired Gun</option> <option value="Bodyguard">&nbsp;&nbsp;&nbsp;&nbsp;Bodyguard</option> <option value="Demolitionist">&nbsp;&nbsp;&nbsp;&nbsp;Demolitionist</option> <option value="Enforcer">&nbsp;&nbsp;&nbsp;&nbsp;Enforcer</option> <option value="Heavy">&nbsp;&nbsp;&nbsp;&nbsp;Heavy</option> <option value="Marauder">&nbsp;&nbsp;&nbsp;&nbsp;Marauder</option> <option value="Mercenary Soldier">&nbsp;&nbsp;&nbsp;&nbsp;Mercenary Soldier</option> <option value="" disabled>&nbsp;&nbsp;Smuggler</option> <option value="Pilot">&nbsp;&nbsp;&nbsp;&nbsp;Pilot</option> <option value="Scoundrel">&nbsp;&nbsp;&nbsp;&nbsp;Scoundrel</option> <option value="Thief">&nbsp;&nbsp;&nbsp;&nbsp;Thief</option> <option value="Charmer">&nbsp;&nbsp;&nbsp;&nbsp;Charmer</option> <option value="Gambler">&nbsp;&nbsp;&nbsp;&nbsp;Gambler</option> <option value="Gunslinger">&nbsp;&nbsp;&nbsp;&nbsp;Gunslinger</option> <option value="" disabled>&nbsp;&nbsp;Technician</option> <option value="Mechanic">&nbsp;&nbsp;&nbsp;&nbsp;Mechanic</option> <option value="Outlaw Tech">&nbsp;&nbsp;&nbsp;&nbsp;Outlaw Tech</option> <option value="Slicer">&nbsp;&nbsp;&nbsp;&nbsp;Slicer</option> <option value="" disabled>*Age of Rebellion*</option> <option value="" disabled>&nbsp;&nbsp;Ace</option> <option value="Driver">&nbsp;&nbsp;&nbsp;&nbsp;Driver</option> <option value="Pilot">&nbsp;&nbsp;&nbsp;&nbsp;Pilot</option> <option value="Gunner">&nbsp;&nbsp;&nbsp;&nbsp;Gunner</option> <option value="Rigger">&nbsp;&nbsp;&nbsp;&nbsp;Rigger</option> <option value="Hotshot">&nbsp;&nbsp;&nbsp;&nbsp;Hotshot</option> <option value="Beast Rider">&nbsp;&nbsp;&nbsp;&nbsp;Beast Rider</option> <option value="" disabled>&nbsp;&nbsp;Commander</option> <option value="Commodore">&nbsp;&nbsp;&nbsp;&nbsp;Commodore</option> <option value="Squadron Leader">&nbsp;&nbsp;&nbsp;&nbsp;Squadron Leader</option> <option value="Tactician">&nbsp;&nbsp;&nbsp;&nbsp;Tactician</option> <option value="Figurehead">&nbsp;&nbsp;&nbsp;&nbsp;Figurehead</option> <option value="Instructor">&nbsp;&nbsp;&nbsp;&nbsp;Instructor</option> <option value="Strategist">&nbsp;&nbsp;&nbsp;&nbsp;Strategist</option> <option value="" disabled>&nbsp;&nbsp;Diplomat</option> <option value="Ambassador">&nbsp;&nbsp;&nbsp;&nbsp;Ambassador</option> <option value="Agitator">&nbsp;&nbsp;&nbsp;&nbsp;Agitator</option> <option value="Quartermaster">&nbsp;&nbsp;&nbsp;&nbsp;Quartermaster</option> <option value="Analyst">&nbsp;&nbsp;&nbsp;&nbsp;Analyst</option> <option value="Advocate">&nbsp;&nbsp;&nbsp;&nbsp;Advocate</option> <option value="Propagandist">&nbsp;&nbsp;&nbsp;&nbsp;Propagandist</option> <option value="" disabled>&nbsp;&nbsp;Engineer</option> <option value="Mechanic">&nbsp;&nbsp;&nbsp;&nbsp;Mechanic</option> <option value="Scientist">&nbsp;&nbsp;&nbsp;&nbsp;Scientist</option> <option value="Saboteur">&nbsp;&nbsp;&nbsp;&nbsp;Saboteur</option> <option value="" disabled>&nbsp;&nbsp;Soldier</option> <option value="Medic">&nbsp;&nbsp;&nbsp;&nbsp;Medic</option> <option value="Sharpshooter">&nbsp;&nbsp;&nbsp;&nbsp;Sharpshooter</option> <option value="Commando">&nbsp;&nbsp;&nbsp;&nbsp;Commando</option> <option value="" disabled>&nbsp;&nbsp;Spy</option> <option value="Slicer">&nbsp;&nbsp;&nbsp;&nbsp;Slicer</option> <option value="Infiltrator">&nbsp;&nbsp;&nbsp;&nbsp;Infiltrator</option> <option value="Scout">&nbsp;&nbsp;&nbsp;&nbsp;Scout</option> <option value="" disabled>*Force and Destiny*</option> <option value="" disabled>&nbsp;&nbsp;Consular</option> <option value="Healer">&nbsp;&nbsp;&nbsp;&nbsp;Healer</option> <option value="Niman Disciple">&nbsp;&nbsp;&nbsp;&nbsp;Niman Disciple</option> <option value="Sage">&nbsp;&nbsp;&nbsp;&nbsp;Sage</option> <option value="" disabled>&nbsp;&nbsp;Guardian</option> <option value="Armorer">&nbsp;&nbsp;&nbsp;&nbsp;Armorer</option> <option value="Peace Keeper">&nbsp;&nbsp;&nbsp;&nbsp;Peace Keeper</option> <option value="Protector">&nbsp;&nbsp;&nbsp;&nbsp;Protector</option> <option value="Soresu Defender">&nbsp;&nbsp;&nbsp;&nbsp;Soresu Defender</option> <option value="Warden">&nbsp;&nbsp;&nbsp;&nbsp;Warden</option> <option value="Warleader">&nbsp;&nbsp;&nbsp;&nbsp;Warleader</option> <option value="" disabled>&nbsp;&nbsp;Mystic</option> <option value="Seer">&nbsp;&nbsp;&nbsp;&nbsp;Seer</option> <option value="Makashi Duelist">&nbsp;&nbsp;&nbsp;&nbsp;Makashi Duelist</option> <option value="Advisor">&nbsp;&nbsp;&nbsp;&nbsp;Advisor</option> <option value="" disabled>&nbsp;&nbsp;Seeker</option> <option value="Ataru Striker">&nbsp;&nbsp;&nbsp;&nbsp;Ataru Striker</option> <option value="Hunter">&nbsp;&nbsp;&nbsp;&nbsp;Hunter</option> <option value="Pathfinder">&nbsp;&nbsp;&nbsp;&nbsp;Pathfinder</option> <option value="" disabled>&nbsp;&nbsp;Sentinel</option> <option value="Artisan">&nbsp;&nbsp;&nbsp;&nbsp;Artisan</option> <option value="Shadow">&nbsp;&nbsp;&nbsp;&nbsp;Shadow</option> <option value="Shien Expert">&nbsp;&nbsp;&nbsp;&nbsp;Shien Expert</option> <option value="" disabled>&nbsp;&nbsp;Warrior</option> <option value="Aggressor">&nbsp;&nbsp;&nbsp;&nbsp;Aggressor</option> <option value="Shii-Cho Knight">&nbsp;&nbsp;&nbsp;&nbsp;Shii-Cho Knight</option> <option value="Starfighter Ace">&nbsp;&nbsp;&nbsp;&nbsp;Starfighter Ace</option> <option value="" disabled>**Universal**</option> <option value="Force Sensitive Exile">&nbsp;&nbsp;&nbsp;&nbsp;Force Sensitive Exile</option> <option value="Force Sensitive Emergent">&nbsp;&nbsp;&nbsp;&nbsp;Force Sensitive Emergent</option> <option value="Recruit">&nbsp;&nbsp;&nbsp;&nbsp;Recruit</option> </select> </td><!--Specialization List--> <td width="30%"> <select name="attr_companion-specialization-career-list"> <option value="yes">Yes</option> <option value="no">No</option> </select> </td><!--Career Yes/No--> <td width="10%"></td><!--Placeholder for spacing--> </tr> </tbody> </table> </fieldset> </div> <div class="sheet-clear"></div> </div><!-- Career and Specialization List --> <div class="sheet-row"> <div class="sheet-small-6 sheet-column"> <table cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th colspan="2">Description</th> </tr> </thead> <tbody> <tr> <td><label>Gender:</label></td> <td><input type="text" name="attr_companion-chargender" /></td> </tr> <tr> <td><label>Age:</label></td> <td><input type="text" name="attr_companion-charager" /></td> </tr> <tr> <td><label>Height:</label></td> <td><input type="text" name="attr_companion-charheight" /></td> </tr> <tr> <td><label>Build:</label></td> <td><input type="text" name="attr_companion-charbuild" /></td> </tr> <tr> <td><label>Hair:</label></td> <td><input type="text" name="attr_companion-charhair" /></td> </tr> <tr> <td><label>Eyes:</label></td> <td><input type="text" name="attr_companion-chareyes" /></td> </tr> </tbody> </table> </div> <div class="sheet-small-6 sheet-column"> <table cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th>Notable Features</th> </tr> </thead> <tbody> <tr> <td><textarea rows="4" name="attr_companion-charfeatures"></textarea></td> </tr> </tbody> </table> <table cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th>Other</th> </tr> </thead> <tbody> <tr> <td><textarea rows="4" name="attr_companion-charother"></textarea></td> </tr> </tbody> </table> </div> <div class="sheet-clear"></div> </div><!-- Description --> <div class="sheet-row sheet-show-critical-table"> <div class="sheet-small-12 sheet-column"> <h3 class="sheet-section-header">Companion Critical Injuries</h3> </div> <div class="sheet-small-9 sheet-column"> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn1" value="1" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName1" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange1" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice1" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity1" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea row="3" name="attr_critSummary1" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect1" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect1" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn1})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn2" value="2" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName2" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange2" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice2" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity2" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary2" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect2" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect2" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn2})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn3" value="3" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName3" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange3" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice3" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity3" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary3" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect3" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect3" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn3})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn4" value="4" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName4" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange4" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice4" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity4" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary4" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect4" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect4" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn4})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn5" value="5" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName5" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange5" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice5" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity5" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary5" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect5" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect5" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn5})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn6" value="6" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName6" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange6" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice6" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity6" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary6" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect6" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect6" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn6})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn7" value="7" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName7" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange7" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice7" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity7" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary7" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect7" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect7" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn7})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn8" value="8" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName8" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange8" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice8" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity8" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary8" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect8" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect8" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn8})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn9" value="9" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName9" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange9" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice9" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity9" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary9" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect9" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect9" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn9})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn10" value="10" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName10" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange10" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice10" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity10" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary10" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect10" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect10" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn10})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn11" value="11" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName11" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange11" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice11" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity11" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary11" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect11" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect11" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn11})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn12" value="12" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName12" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange12" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice12" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity12" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary12" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect12" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect12" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn12})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn13" value="13" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName13" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange13" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice13" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity13" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary13" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect13" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect13" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn13})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn14" value="14" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName14" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange14" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice14" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity14" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary14" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect14" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect14" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn14})">Heal</button></td> </tr> </tbody> </table> <input type="checkbox" class="sheet-checkbox-criton" name="attr_critOn15" value="15" /> <table class="sheet-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="70%"><input type="text" name="attr_critName15" readonly="readonly" /></td> <td width="30%"><input type="text" name="attr_critRange15" readonly="readonly" /></td> <td class="sheet-crit-dice-bg"> <input type="hidden" name="attr_critDice15" /> <input class="sheet-pd" value="4" type="hidden" name="attr_critSeverity15" /><span></span> </td> </tr> <tr> <td colspan="2" rowspan="2"><textarea rows="3" type="text" name="attr_critSummary15" readonly="readonly"></textarea></td> <td> <label>Effect:</label> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_critEffect15" value="on" title="On" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_critEffect15" value="off" title="Off"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><button type='roll' class="sheet-btn-heal-crit" value="!eed characterID(@{character_id}) crit(heal|@{critOn15})">Heal</button></td> </tr> </tbody> </table> </div> <div class="sheet-small-3 sheet-column"> <table class="sheet-roll-critical" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><label>Critical roll offset:</label></td> <td><input type="text" name="attr_critAddOffset" value="" /></td> </tr> <tr> <td colspan="2"><button type='roll' class="sheet-btn-roll-crit" value="!eed characterID(@{character_id}) crit(roll)">Roll Critical</button></td> </tr> <tr> <td> <label>Critical number:</label> <input type="text" name="attr_critAddRangeNum" value="" /> </td> <td valign="bottom"><button type='roll' class="sheet-btn-add-crit" value="!eed characterID(@{character_id}) crit(add|@{critAddRangeNum})">Add Critical</button></td> </tr> </tbody> </table> </div> <div class="sheet-clear"></div> </div><!-- Critical Table --> </div><!-- Info Tab --> <div class="sheet-tab-content sheet-tab-companion-combat"> <div class="sheet-small-12 sheet-column"> <br /> <br /> <div class="sheet-clear"></div> <div class="sheet-attachments-wrapper"> <input type="checkbox" name="attr_companion-character_init" class="sheet-view-attachments" /> <label class="sheet-view-attachments">Show Initiative</label> <table class="sheet-attachments" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td> <table> <tr> <td><label>What kind of Initiative Slot?</label></td> <td><label>PC<input type="radio" name="attr_companion-npc-pc" value="pcinit" checked="checked" /></label></td> <td><label>NPC<input type="radio" name="attr_companion-npc-pc" value="npcinit" /></label></td> <td><label></label></td> <td><label></label></td> <td><label></label></td> <td><label></label></td> <td><label></label></td> <td><label></label></td> </tr> </table> <table class="sheet-init" cellspacing="0" cellpadding="0" border="0"> <tr> <td><label>Cool (if prepared):</label></td> <td> <input class="sheet-yd" type="hidden" name="attr_companion-yCoolInit" value="(((@{companion-presence} + @{rankCool}) - abs(@{companion-presence} - @{rankCool})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_companion-gCoolInit" value="((((@{companion-presence} + @{rankCool}) + abs(@{companion-presence} - @{rankCool})) / 2) - @{yCoolInit})" disabled><span></span> </td> <td><label>Modifiers</label><input name='attr_companion-initiativeCoolDice' type="text" /></td> <td> <button type='roll' name='roll_companion-VigilanceInit' value='!eed @{npc-pc} characterID(@{character_id}) label(skill: Companion-Initiative Cool) skill(@{companion-rankCool}|@{presence}) @{initiativeCoolDice} @{dicePool}'></button> </td> </tr> <tr> <td><label>Vigilance (if unexpected):</label></td> <td> <input class="sheet-yd" type="hidden" name="attr_companion-yVigilanceInit" value="(((@{companion-willpower} + @{rankVigilance}) - abs(@{companion-willpower} - @{rankVigilance})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_companion-gVigilanceInit" value="((((@{companion-willpower} + @{rankVigilance}) + abs(@{companion-willpower} - @{rankVigilance})) / 2) - @{yVigilanceInit})" disabled><span></span> </td> <td><label>Modifiers</label><input name='attr_companion-initiativeVigDice' type="text" /></td> <td> <button type='roll' name='roll_companion-VigilanceInit' value='!eed @{npc-pc} characterID(@{character_id}) label(skill: Companion-Initiative Vigilance) skill(@{companion-rankVigilance}|@{willpower}) @{initiativeVigDice} @{dicePool}'></button> </td> </tr> </table> </td> </tr> </tbody> </table> </div> <br /> </div><!-- Initiative --> <div class="sheet-small-12 sheet-column"> <h3>Weapons</h3><br /> <fieldset class="repeating_companion-weapons"> <table class="sheet-weapons" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td></td> <td> <label>Damage</label> <input name='attr_companion-damage' type="text" value="0" /> </td> <td></td> <td> <label>Critical</label> <input name='attr_companion-critical' type="text" value="0" /> </td> <td><button type='roll' name='roll_weapon' value='!eed characterID(@{character_id}) label(Companion Weapon:@{companion-weaponmake}|Damage:@{companion-damage}|Critical:@{companion-critical}|Range:@{companion-weaponrange}|Special:@{companion-weaponspecial}) @{companion-weapondice} encum(@{companion-encumbrancemax}|@{companion-encumbrance}) @{companion-weaponskill} @{companion-weaponcondition} @{companion-dicePool} (gmdice)'></button></td> <td> <label>Encum</label> <input name='attr_companion-encum' type="text" value="0" /> </td> <td></td> <td> <label>HP</label> <input name='attr_companion-hp' type="text" value="0" /> </td> <td></td> </tr> </tbody> </table> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><label>Make / Model:</label></td> <td><input name='attr_companion-weaponmake' type="text" /></td> <td><label>Range:</label></td> <td> <select name='attr_companion-weaponrange'> <option value="Engaged">Engaged</option> <option value="Short">Short</option> <option vaule="Medium">Medium</option> <option value="Long">Long</option> <option value="Extreme">Extreme</option> </select> </td> </tr> <tr> <td><label>Weapon Type:</label></td> <td><input name='attr_companion-weapontype' type="text" /></td> <td><label>Skill:</label></td> <td> <select name='attr_companion-weaponskill'> <option value="skill(@{companion-rankBrawl}|@{companion-brawn})">Brawl</option> <option value="skill(@{companion-rankGunnery}|@{companion-agility})">Gunnery</option> <option value="skill(@{companion-rankMelee}|@{companion-brawn})">Melee</option> <option value="skill(@{companion-rankLight}|@{companion-agility})">Ranged - Light</option> <option value="skill(@{companion-rankHeavy}|@{companion-agility})">Ranged - Heavy</option> <option value="skill(@{companion-rankLightsaber}|@{companion-charLightsaber})">Lightsaber</option> <option value="skill(@{companion-rankMechanics}|@{companion-Intellect})">Mechanics</option> </select> </td> </tr> <tr> <td><label>Modifiers:</label></td> <td><input name='attr_companion-weapondice' type="text" /></td> <td><label>Condition:</label></td> <td> <select name='attr_companion-weaponcondition'> <option value="">New</option> <option value="1blk">Minor</option> <option value="1p">Moderate</option> <option value="unusableWeapon">Major</option> </select> </td> </tr> <tr> <td colspan="2">&nbsp;</td> <td><label>Special:</label></td> <td><textarea rows="3" type="text" name="attr_companion-weaponspecial"></textarea></td> </tr> </tbody> </table> <div class="sheet-attachments-wrapper"> <input type="checkbox" name="attr_companion-weaponattchments" class="sheet-view-attachments" /> <label class="sheet-view-attachments">View Attachments</label> <div class="sheet-clear"></div> <table class="sheet-attachments" cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th>Attachment Name</th> <th>Hard Points</th> <th>Base Modifiers</th> <th>Modifications</th> </tr> </thead> <tbody> <tr> <td><input name='attr_companion-weaponattch1' type="text" /></td> <td><input name='attr_companion-weaponattachp1' type="number" /></td> <td><input name='attr_companion-weaponattachbase1' type="text" /></td> <td><input name='attr_companion-weaponattachmod1' type="text" /></td> </tr> <tr> <td><input name='attr_companion-weaponattch2' type="text" /></td> <td><input name='attr_companion-weaponattachp2' type="number" /></td> <td><input name='attr_companion-weaponattachbase2' type="text" /></td> <td><input name='attr_companion-weaponattachmod2' type="text" /></td> </tr> <tr> <td><input name='attr_companion-weaponattch3' type="text" /></td> <td><input name='attr_companion-weaponattachp3' type="number" /></td> <td><input name='attr_companion-weaponattachbase3' type="text" /></td> <td><input name='attr_companion-weaponattachmod3' type="text" /></td> </tr> <tr> <td><input name='attr_companion-weaponattch4' type="text" /></td> <td><input name='attr_companion-weaponattachp4' type="number" /></td> <td><input name='attr_companion-weaponattachbase4' type="text" /></td> <td><input name='attr_companion-weaponattachmod4' type="text" /></td> </tr> </tbody> </table> </div><!-- Weapon Attachments --> <br /> </fieldset> </div><!-- Weapons --> <div class="sheet-row" style="margin-top:10px"> <div class="sheet-small-12 sheet-column"> <table class="sheet-characteristics" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td> <label>Brawn</label> <input name='attr_companion-brawn' type="number" max="7" min="1" value="1" /> </td> <td></td> <td> <label>Agility</label> <input name='attr_companion-agility' type="number" max="7" min="1" value="1" /> </td> <td></td> <td> <label>Intellect</label> <input name='attr_companion-intellect' type="number" max="7" min="1" value="1" /> </td> <td></td> <td> <label>Cunning</label> <input name='attr_companion-cunning' type="number" max="7" min="1" value="1" /> </td> <td></td> <td> <label>Willpower</label> <input name='attr_companion-willpower' type="number" max="7" min="1" value="1" /> </td> <td></td> <td> <label>Presence</label> <input name='attr_companion-presence' type="number" max="7" min="1" value="1" /> </td> </tr> </tbody> </table> </div> <div class="sheet-clear"></div> </div><!-- Characteristics --> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <h3 class="sheet-section-header">Skills</h3> <div> <table class="sheet-skills" cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th>Skill Name</th> <th>Career</th> <th colspan="2">Rank</th> <th colspan="2"> <span style="float:left">Modifiers</span> </th> </tr> </thead> <tbody> <tr> <td> <label>Cool (Pr)</label> </td> <td><input name='attr_companion-careerskillCool' type="checkbox" value="1"></td> <td><input type="number" name="attr_companion-rankCool" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_companion-yCool" value="(((@{companion-presence} + @{companion-rankCool}) - abs(@{companion-presence} - @{companion-rankCool})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_companion-gCool" value="((((@{companion-presence} + @{companion-rankCool}) + abs(@{companion-presence} - @{companion-rankCool})) / 2) - @{companion-yCool})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_companion-diceCool" /> </div> </td> <td><button type='roll' name='roll_companion-Cool' value='!eed characterID(@{character_id}) label(skill:Companion Cool) @{companion-diceCool} skill(@{companion-rankCool}|@{companion-presence}) @{dicePool} (gmdice)'></button></td> </tr><!--Cool--> <tr> <td> <label>Vigilance (Will)</label> </td> <td><input name='attr_companion-careerskillVigilance' type="checkbox" value="1"></td> <td><input type="number" name="attr_companion-rankVigilance" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_companion-yVigilance" value="(((@{companion-willpower} + @{companion-rankVigilance}) - abs(@{companion-willpower} - @{companion-rankVigilance})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_companion-gVigilance" value="((((@{companion-willpower} + @{companion-rankVigilance}) + abs(@{companion-willpower} - @{companion-rankVigilance})) / 2) - @{companion-yVigilance})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_companion-diceVigilance" /> </div> </td> <td><button type='roll' name='roll_companion-Vigilance' value='!eed characterID(@{character_id}) label(skill:Companion Vigilance) @{companion-diceVigilance} skill(@{companion-rankVigilance}|@{companion-willpower}) @{dicePool} (gmdice)'></button></td> </tr><!--Vigilance--> <tr> <td valign="middle"> <label>Lightsaber</label> <select name="attr_companion-charLightsaber" style="float:right; width:50%"> <option value="@{companion-brawn}">Brawn</option><!-- encum not working --> <option value="@{companion-agility}">Agility</option> <option value="@{companion-intellect}">Intellect</option> <option value="@{companion-cunning}">Cunning</option> <option value="@{companion-willpower}">Willpower</option> <option value="@{companion-presence}">Presence</option> </select> </td> <td><input name='attr_companion-careerskillLightsaber' type="checkbox" value="1"></td> <td><input type="number" name="attr_companion-rankLightsaber" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_companion-yLightsaber" value="(((@{companion-charLightsaber} + @{companion-rankLightsaber}) - abs(@{companion-charLightsaber} - @{companion-rankLightsaber})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_companion-gLightsaber" value="((((@{companion-charLightsaber} + @{companion-rankLightsaber}) + abs(@{companion-charLightsaber} - @{companion-rankLightsaber})) / 2) - @{companion-yLightsaber})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_companion-diceLightsaber" /> </div> </td> <td><button type='roll' name='roll_Lightsaber' value='!eed characterID(@{character_id}) label(skill:Companion Lightsaber) @{companion-diceLightsaber} encum(@{companion-encumbrancemax}|@{companion-encumbrance}) skill(@{companion-rankLightsaber}|@{companion-charLightsaber}) @{dicePool} (gmdice)'></button></td> </tr><!--LightSaber--> <tr> <td> <label>Brawl (Br)</label> </td> <td><input name='attr_companion-careerskillBrawl' type="checkbox" value="1"></td> <td><input type="number" name="attr_companion-rankBrawl" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_companion-yBrawl" value="(((@{companion-brawn} + @{companion-rankBrawl}) - abs(@{companion-brawn} - @{companion-rankBrawl})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_companion-gBrawl" value="((((@{companion-brawn} + @{companion-rankBrawl}) + abs(@{companion-brawn} - @{companion-rankBrawl})) / 2) - @{companion-yBrawl})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_companion-diceBrawl" /> </div> </td> <td><button type='roll' name='roll_Brawl' value='!eed characterID(@{character_id}) label(skill:Companion Brawl) @{companion-diceBrawl} encum(@{companion-encumbrancemax}|@{companion-encumbrance}) skill(@{companion-rankBrawl}|@{companion-brawn}) @{dicePool} (gmdice)'></button></td> </tr><!--Brawl--> <tr> <td> <label>Gunnery (Agi)</label> </td> <td><input name='attr_companion-careerskillGunnery' type="checkbox" value="1"></td> <td><input type="number" name="attr_companion-rankGunnery" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_companion-yGunnery" value="(((@{companion-agility} + @{companion-rankGunnery}) - abs(@{companion-agility} - @{companion-rankGunnery})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_companion-gGunnery" value="((((@{companion-agility} + @{companion-rankGunnery}) + abs(@{companion-agility} - @{companion-rankGunnery})) / 2) - @{companion-yGunnery})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_companion-diceGunnery" /> </div> </td> <td><button type='roll' name='roll_Gunnery' value='!eed characterID(@{character_id}) label(skill:Companion Gunnery) @{companion-diceGunnery} encum(@{companion-encumbrancemax}|@{companion-encumbrance}) skill(@{companion-rankGunnery}|@{companion-agility}) @{dicePool} (gmdice)'></button></td> </tr><!--Gunnery--> <tr> <td> <label>Melee (Br)</label> </td> <td><input name='attr_companion-careerskillMelee' type="checkbox" value="1"></td> <td><input type="number" name="attr_companion-rankMelee" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_companion-yMelee" value="(((@{companion-brawn} + @{companion-rankMelee}) - abs(@{companion-brawn} - @{companion-rankMelee})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_companion-gMelee" value="((((@{companion-brawn} + @{companion-rankMelee}) + abs(@{companion-brawn} - @{companion-rankMelee})) / 2) - @{companion-yMelee})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_companion-diceMelee" /> </div> </td> <td><button type='roll' name='roll_Melee' value='!eed characterID(@{character_id}) label(skill:Companion Melee) @{companion-diceMelee} encum(@{companion-encumbrancemax}|@{companion-encumbrance}) skill(@{companion-rankMelee}|@{companion-brawn}) @{dicePool} (gmdice)'></button></td> </tr><!--Melee--> <tr> <td> <label>Ranged - Light (Ag)</label> </td> <td><input name='attr_companion-careerskillLight' type="checkbox" value="1"></td> <td><input type="number" name="attr_companion-rankLight" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_companion-yLight" value="(((@{companion-agility} + @{companion-rankLight}) - abs(@{companion-agility} - @{companion-rankLight})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_companion-gLight" value="((((@{companion-agility} + @{companion-rankLight}) + abs(@{companion-agility} - @{companion-rankLight})) / 2) - @{companion-yLight})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_companion-diceLight" /> </div> </td> <td><button type='roll' name='roll_Light' value='!eed characterID(@{character_id}) label(skill:Companion Ranged - Light) @{companion-diceLight} encum(@{companion-encumbrancemax}|@{companion-encumbrance}) skill(@{companion-rankLight}|@{companion-agility}) @{dicePool} (gmdice)'></button></td> </tr><!--Ranged - Light--> <tr> <td> <label>Ranged - Heavy (Ag)</label> </td> <td><input name='attr_companion-careerskillHeavy' type="checkbox" value="1"></td> <td><input type="number" name="attr_companion-rankHeavy" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_companion-yHeavy" value="(((@{companion-agility} + @{companion-rankHeavy}) - abs(@{companion-agility} - @{companion-rankHeavy})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_companion-gHeavy" value="((((@{companion-agility} + @{companion-rankHeavy}) + abs(@{companion-agility} - @{companion-rankHeavy})) / 2) - @{companion-yHeavy})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_companion-diceHeavy" /> </div> </td> <td><button type='roll' name='roll_Heavy' value='!eed characterID(@{character_id}) label(skill:Companion Ranged - Heavy) @{companion-diceHeavy} encum(@{companion-encumbrancemax}|@{companion-encumbrance}) skill(@{companion-rankHeavy}|@{companion-agility}) @{dicePool} (gmdice)'></button></td> </tr><!--Ranged - Heavy--> </tbody> </table><!--Cool & Vigilance--> <table class="sheet-skills sheet-custome-skills" cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th>Custom Skills</th> <th>Char</th> <th>Career</th> <th colspan="2">Rank</th> <th colspan="2">Mods</th> </tr> </thead> <tbody> <tr> <td><input type="text" name="attr_companion-customskillname" /></td> <td> <select name="attr_companion-charcustomskillname"> <option value="@{companion-brawn}">Brawn</option><!-- encum not working --> <option value="@{companion-agility}">Agility</option> <option value="@{companion-intellect}">Intellect</option> <option value="@{companion-cunning}">Cunning</option> <option value="@{companion-willpower}">Willpower</option> <option value="@{companion-presence}">Presence</option> </select> </td> <td><input name='attr_companion-careerskillcustomskillname' type="checkbox" value=""></td> <td><input type="number" name="attr_companion-rankcustomskillname" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_companion-ycustomskillname" value="(((@{companion-charcustomskillname} + @{companion-rankcustomskillname}) - abs(@{companion-charcustomskillname} - @{companion-rankcustomskillname})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_companion-gcustomskillname" value="((((@{companion-charcustomskillname} + @{companion-rankcustomskillname}) + abs(@{companion-charcustomskillname} - @{companion-rankcustomskillname})) / 2) - @{companion-ycustomskillname})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_companion-dicecustomskillname" /> </div> </td> <td><button type='roll' name='roll_companion-customskillname' value='!eed characterID(@{character_id}) label(skill:Companion @{companion-customskillname}) @{companion-dicecustomskillname} skill(@{companion-rankcustomskillname}|@{companion-charcustomskillname}) @{dicePool} (gmdice)'></button></td> </tr> </tbody> </table><!--Skill Heading--> <fieldset class="repeating_companion-skills"> <table class="sheet-skills sheet-custome-skills" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><input type="text" name="attr_companion-customskillname" /></td> <td> <select name="attr_companion-charcustomskillname"> <option value="@{companion-brawn}">Brawn</option><!-- encum not working --> <option value="@{companion-agility}">Agility</option> <option value="@{companion-intellect}">Intellect</option> <option value="@{companion-cunning}">Cunning</option> <option value="@{companion-willpower}">Willpower</option> <option value="@{companion-presence}">Presence</option> </select> </td> <td><input name='attr_companion-careerskillcustomskillname' type="checkbox" value=""></td> <td><input type="number" name="attr_companion-rankcustomskillname" max="6" min="0" value="0" /></td> <td> <input class="sheet-yd" type="hidden" name="attr_companion-ycustomskillname" value="(((@{companion-charcustomskillname} + @{companion-rankcustomskillname}) - abs(@{companion-charcustomskillname} - @{companion-rankcustomskillname})) / 2)" disabled><span></span> <input class="sheet-gd" type="hidden" name="attr_companion-gcustomskillname" value="((((@{companion-charcustomskillname} + @{companion-rankcustomskillname}) + abs(@{companion-charcustomskillname} - @{companion-rankcustomskillname})) / 2) - @{companion-ycustomskillname})" disabled><span></span> </td> <td> <div class="sheet-dice-icon"></div> <div class="sheet-dice-input"> <input type="text" name="attr_companion-dicecustomskillname" /> </div> </td> <td><button type='roll' name='roll_companion-customskillname' value='!eed characterID(@{character_id}) label(skill:Companion @{companion-customskillname}) @{companion-dicecustomskillname} skill(@{companion-rankcustomskillname}|@{companion-charcustomskillname}) @{dicePool} (gmdice)'></button></td> </tr> </tbody> </table> </fieldset><!--Other Skills--> </div><!-- Skills --> </div> <div class="sheet-clear"></div> </div><!-- Skills List --> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <h3>Talents and Special Abilities</h3> <table class="sheet-talents" cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th style="width:50%">Name</th> <th style="width:50%">Ability Summary</th> </tr> </thead> </table> <fieldset class="repeating_companion-skills"> <table class="sheet-talent"> <tbody> <tr> <td style="width:50%" colspan="5"> <input type="text" name="attr_companion-talentname" /> </td> <td style="width:50%" rowspan="2"> <textarea rows="3" type="text" name="attr_companion-talentsummary"></textarea> </td> </tr> <tr> <td><label>Rank:</label></td> <td><input type="text" name="attr_companion-talentrank" /></td> <td> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_companion-passiveActive" value="passive" title="Passive" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_companion-passiveActive" value="active" title="Active"> <span class="switch-selection"></span> </div> </td> <td><label>Page:</label></td> <td><input type="text" name="attr_companion-talentpagenum" /></td> </tr> </tbody> </table> </fieldset> </div> <div class="sheet-clear"></div> </div><!-- Talents and Special Abilities --> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <h3>Force Powers</h3> <table class="sheet-talents" cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th style="width:50%">Name</th> <th style="width:50%">Power Summary</th> </tr> </thead> </table> <fieldset class="repeating_companion-powers"> <table class="sheet-talent"> <tbody> <tr> <td style="width:50%" colspan="5"> <input type="text" name="attr_companion-forcepowername" /> </td> <td style="width:50%" rowspan="3"> <textarea rows="4" type="text" name="attr_companion-powersummary"></textarea> </td> <td rowspan="3"> <button type='roll' name='roll_force' value='!eed characterID(@{character_id}) label(skill:Companion Force Power|Power Name: @{companion-forcepowername}) @{companion-forceavailable}w @{companion-dicePool}'></button> </td> </tr> <tr> <td><label>Available:</label></td> <td><input type="number" name="attr_companion-forceavailable" value="@{companion-forcerating}-@{companion-forcecommitted}" disabled></td> <td></td> <td><label>Page:</label></td> <td><input type="text" name="attr_companion-powerpagenum" /></td> </tr> <tr> <td colspan="5"> &nbsp; </td> </tr> </tbody> </table> <div class="sheet-attachments-wrapper"> <input type="checkbox" name="attr_companion-powerupgrades" class="sheet-view-attachments" /> <label class="sheet-view-attachments">View Upgrades</label> <div class="sheet-clear"></div> <table class="sheet-attachments" cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th>Upgrade</th> <th>Level</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><input type="text" name='attr_companion-forceupgradetype1'></td> <td><input name='attr_companion-controlpowerlevel1' type="number" /></td> <td><textarea rows="3" name='attr_companion-controlpowerdesc1' type="text"></textarea></td> </tr> <tr> <td><input type="text" name='attr_companion-forceupgradetype2'></td> <td><input name='attr_companion-magpowerlevel2' type="number" /></td> <td><textarea rows="3" name='attr_companion-magpowerdesc2' type="text"></textarea></td> </tr> <tr> <td><input type="text" name='attr_companion-forceupgradetype3'></td> <td><input name='attr_companion-strpowerlevel3' type="number" /></td> <td><textarea rows="3" name='attr_companion-strpowerdesc3' type="text"></textarea></td> </tr> <tr> <td><input type="text" name='attr_companion-forceupgradetype4'></td> <td><input name='attr_companion-rangepowerlevel4' type="number" /></td> <td><textarea rows="3" name='attr_companion-rangepowerdesc4' type="text"></textarea></td> </tr> <tr> <td><input type="text" name='attr_companion-forceupgradetype5'></td> <td><input name='attr_companion-rangepowerlevel5' type="number" /></td> <td><textarea rows="3" name='attr_companion-rangepowerdesc5' type="text"></textarea></td> </tr> <tr> <td><input type="text" name='attr_companion-forceupgradetype6'></td> <td><input name='attr_companion-rangepowerlevel6' type="number" /></td> <td><textarea rows="3" name='attr_companion-rangepowerdesc6' type="text"></textarea></td> </tr> </tbody> </table> </div><!-- end attachment wrapper --> </fieldset> </div> </div><!-- Force Powers --> </div><!-- Combat Tab --> <div class="sheet-tab-content sheet-tab-companion-inventory"> <div class="sheet-row"> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <h3>Armor</h3> <fieldset class="repeating_armors"> <table class="sheet-weapons" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td></td> <td> <label>Soak</label> <input name='attr_companion-soak' type="text" value="0" /> </td> <td></td> <td> <label>Defense</label> <input name='attr_companion-defense' type="text" value="0" /> </td> <td></td> <td> <label>Encum</label> <input name='attr_companion-encum' type="text" value="0" /> </td> <td></td> <td> <label>HP</label> <input name='attr_companion-hp' type="text" value="0" /> </td> <td></td> </tr> </tbody> </table><!-- Armor Top Stats --> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><label>Make / Model:</label></td> <td><input name='attr_companion-armormake' type="text" /></td> <td><label></label></td> <td><input name='attr_companion-armorrarity' type="hidden" disabled /></td> <td><label>Condition:</label></td> <td> <select name='attr_companion-armorcondition'> <option value="">New</option> <option value="1blk">Minor</option> <option value="1p">Moderate</option> <option value="unusableWeapon">Major</option> </select> </td> <td><label></label></td> <td><input name='attr_companion-armortype' type="hidden" disabled /></td> </tr> <tr> <td><label>Book &amp; Page:</label></td> <td><input name='attr_companion-armor_bookpage' type="text" /></td> <td>Rarity:</td> <td><input name='attr_companion-armor_rarity' type="number" min="1" max="10" /></td> <td><label>Restricted:</label></td> <td> <select name='attr_companion-armor_restrict'> <option value="no">No</option> <option value="yes">Yes</option> </select> </td> <td>Value:</td> <td><input name='attr_companion-armor_value' type="text" /></td> </tr> <tr> <td><label>Special:</label></td> <td><textarea rows="3" type="text" name="attr_companion-armorspecial"></textarea></td> </tr> <tr> <td colspan="2">&nbsp;</td> <td><label></label></td> <td><input name='attr_companion-armordice' type="hidden" disabled /></td> </tr> </tbody> </table><!-- Armor Info --> <div class="sheet-attachments-wrapper"> <input type="checkbox" name="attr_companion-armorattchments" class="sheet-view-attachments" /> <label class="sheet-view-attachments">View Attachments</label> <div class="sheet-clear"></div> <table class="sheet-attachments" cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th>Attachment Name</th> <th>Hard Points</th> <th>Base Modifiers</th> <th>Modifications</th> </tr> </thead> <tbody> <tr> <td><input name='attr_companion-armorattch1' type="text" /></td> <td><input name='attr_companion-armorattachp1' type="number" /></td> <td><input name='attr_companion-armorattachbase1' type="text" /></td> <td><input name='attr_companion-armorattachmod1' type="text" /></td> </tr> <tr> <td><input name='attr_companion-armorattch2' type="text" /></td> <td><input name='attr_companion-armorattachp2' type="number" /></td> <td><input name='attr_companion-armorattachbase2' type="text" /></td> <td><input name='attr_companion-armorattachmod2' type="text" /></td> </tr> <tr> <td><input name='attr_companion-armorattch3' type="text" /></td> <td><input name='attr_companion-armorattachp3' type="number" /></td> <td><input name='attr_companion-armorattachbase3' type="text" /></td> <td><input name='attr_companion-armorattachmod3' type="text" /></td> </tr> <tr> <td><input name='attr_companion-armorattch4' type="text" /></td> <td><input name='attr_companion-armorattachp4' type="number" /></td> <td><input name='attr_companion-armorattachbase4' type="text" /></td> <td><input name='attr_companion-armorattachmod4' type="text" /></td> </tr> </tbody> </table> </div><!-- Armor Attachments --> <br /> </fieldset> </div> </div><!-- Armor --> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <h3>Cybernetics</h3> <table class="sheet-cybernetics" cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th style="width:50%">Make/Model</th> <th style="width:50%">Bonus</th> </tr> </thead> </table> <fieldset class="repeating_cyber"> <table class="sheet-cybernetics"> <tbody> <tr> <td style="width:50%" colspan="5"> <input type="text" name="attr_companion-cyberneticname" /> </td> <td style="width:50%" rowspan="2"> <textarea rows="3" type="text" name="attr_companion-cyberneticbonus"></textarea> </td> </tr> <tr> <td><label>Condition:</label></td> <td> <div class="sheet-switch"> <input type="radio" class="sheet-switch-input-on" name="attr_companion-cyberneticuseful" value="operative" title="Operative" checked="checked"> <input type="radio" class="sheet-switch-input-off" name="attr_companion-cyberneticuseful" value="broken" title="Broken"> <span class="switch-selection"></span> </div> </td> </tr> <tr> <td><label>Book &amp; Page:</label></td> <td><input name='attr_companion-cybernetics_bookpage' type="text" /></td> <td>Rarity:</td> <td><input name='attr_companion-cybernetics_rarity' type="number" min="1" max="10" /></td> <td><label>Restricted:</label></td> <td> <select name='attr_companion-cybernetics_restrict'> <option value="no">No</option> <option value="yes">Yes</option> </select> </td> <td>Value:</td> <td><input name='attr_companion-cybernetics_value' type="text" /></td> </tr> </tbody> </table> </fieldset> </div> <div class="sheet-clear"></div> </div><!-- Cybernetics --> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <h3>Tools</h3> <table class="sheet-tools" cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th style="width:50%">Tool Name</th> <th style="width:50%">Bonus/Description</th> </tr> </thead> </table> <fieldset class="repeating_tools"> <table class="sheet-tools"> <tbody> <tr> <td style="width:50%" colspan="5"> <input type="text" name="attr_companion-toolname" /> </td> <td style="width:50%" rowspan="2"> <textarea rows="3" type="text" name="attr_companion-toolbonus"></textarea> </td> </tr> <tr> <td><label>Book &amp; Page:</label></td> <td><input name='attr_companion-tool_bookpage' type="text" /></td> <td>Rarity:</td> <td><input name='attr_companion-tool_rarity' type="number" min="1" max="10" /></td> <td><label>Restricted:</label></td> <td> <select name='attr_companion-tool_restrict'> <option value="no">No</option> <option value="yes">Yes</option> </select> </td> <td>Value:</td> <td><input name='attr_companion-tool_value' type="text" /></td> <td>Encumbrance:</td> <td><input name='attr_companion-tool_encumbrance' type="text" /></td> </tr> </tbody> </table> </fieldset> </div> <div class="sheet-clear"></div> </div><!-- Tools --> <div class="sheet-small-12 sheet-column"> <h3>Other Gear</h3><br /> <div class="sheet-small-6 sheet-column"> <table cellspacing="0" cellpadding="0" border="0"> <thead> <tr><th>Personal Gear</th></tr> </thead> <tbody> <tr><td><textarea rows="5" name="attr_companion-personalgear"></textarea></td></tr> </tbody> </table> </div><!-- Personal Gear --> <div class="sheet-small-6 sheet-column"> <table cellspacing="0" cellpadding="0" border="0"> <thead> <tr><th>Assets & Resources</th></tr> </thead> <tbody> <tr><td><textarea rows="5" name="attr_companion-assets"></textarea></td></tr> </tbody> </table> </div> <!-- Assets & Resources --> <div class="sheet-clear"></div> </div><!-- Other Gear --> </div> </div><!-- Inventory Tab --> </div><!-- Player Companion sheet --> <!-- Start GM Sheet Tabs - Expanded --> <div class="sheet-tab-content sheet-tab-gm-dice"> <div class="sheet-row sheet-section-1"> <div class="sheet-small-12 sheet-column"> <br /> <h3 class="sheet-section-header">GM Dice Pool</h3> <table class="sheet-dice-pool" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td class="sheet-light"><img src="http://galacticcampaigns.com/images/EotE/Boost/boostBlank.png" /><input name="attr_bgm" type="number" step="1" max="9" min="0" value="0"></td> <td class="sheet-light"><img src="http://galacticcampaigns.com/images/EotE/Ability/abilityBlank.png" /><input name="attr_ggm" type="number" step="1" max="9" min="0" value="0"></td> <td class="sheet-light"><img src="http://galacticcampaigns.com/images/EotE/Proficiency/ProficiencyBlank.png" /><input name="attr_ygm" type="number" step="1" max="9" min="0" value="0"></td> <td class="sheet-force"><img src="http://galacticcampaigns.com/images/EotE/Force/ForceL.png" /><input name="attr_wgm" type="number" step="1" max="9" min="0" value="0"></td> <td class="sheet-dark"><img src="http://galacticcampaigns.com/images/EotE/Setback/SetBackBlank.png" /><input name="attr_blkgm" type="number" step="1" max="9" min="0" value="0"></td> <td class="sheet-dark"><img src="http://galacticcampaigns.com/images/EotE/Difficulty/DifficultyBlank.png" /><input name="attr_pgm" type="number" step="1" max="9" min="0" value="0"></td> <td class="sheet-dark"><img src="http://galacticcampaigns.com/images/EotE/Challenge/ChallengeBlank.png" /><input name="attr_rgm" type="number" step="1" max="9" min="0" value="0"></td> </tr> <tr> <td colspan="3" class="sheet-upgrade sheet-light"> <label> &nbsp;&nbsp;&nbsp;&nbsp;Upgrade: <input name="attr_upgradeAbilitygm" type="number" step="1" max="9" min="0" value="0"> </label> <label> <input name="attr_downgradeProficiencygm" type="number" step="1" max="9" min="0" value="0"> :Downgrade </label> </td> <td class="sheet-force"> <input type="hidden" name="attr_dicePoolgm" value='@{ggm}g @{ygm}y @{pgm}p @{rgm}r @{bgm}b @{blkgm}blk @{wgm}w upgrade(ability|@{upgradeAbilitygm}) downgrade(proficiency|@{downgradeProficiencygm}) upgrade(difficulty|@{upgradeDifficultygm}) downgrade(challenge|@{downgradeChallengegm})' /> <button type='roll' name='roll_DicePoolgm' value='!eed @{dicePoolgm}'></button> <button type='roll' name='roll_ResetGMDicePool' value='!eed resetgmdice characterID(@{character_id})'></button> </td> <td colspan="3" class="sheet-downgrade sheet-dark"> <label> &nbsp;&nbsp;&nbsp;&nbsp;Upgrade: <input name="attr_upgradeDifficultygm" type="number" step="1" max="9" min="0" value="0"> </label> <label> <input name="attr_downgradeChallengegm" type="number" step="1" max="9" min="0" value="0"> Downgrade: </label> </td> </tr> </tbody> </table> </div><!-- GM Dice Pool --> <div class="sheet-small-6 sheet-column"> <br> <h3 class="sheet-section-header">Destiny Pool</h3> <table class="sheet-destiny" cellspaceing="0" cellpadding="0" border="0"> <tbody> <tr> <td colspan="1"> <button type='roll' class="sheet-btn-lightSide" value='!eed characterID(@{character_id}) destiny sendUpdate'>Force Player Update</button><br><br> <button type='roll' class="sheet-btn-lightSide" value='!eed characterID(@{character_id}) destiny clearPool'>Clear Pool</button> </td> <td> <label>Light</label> <input name='attr_lightSidePoints' type="number" min="0" value="0" /> </td> <td> <button type='roll' class="sheet-btn-lightSide" value='!eed characterID(@{character_id}) destiny useDark'>Use Dark Side &#8594;</button> </td> <td> <label>Dark</label> <input name='attr_darkSidePoints' type="number" min="0" value="0" /> </td> <td></td> </tr> </tbody> </table> <br> <div class="sheet-clear"></div> </div><!-- GM Destiny Pool --> <input type="radio" name="attr_gm-sheet" class="sheet-tab-new sheet-tab-gm-weapons" value="1" checked="checked" /> <span class="sheet-tab-new">&emsp;Group Details&emsp;</span> <input type="radio" name="attr_gm-sheet" class="sheet-tab-new sheet-tab-gm-adversaries" value="2" /> <span class="sheet-tab-new">&emsp;Campaign Details&emsp;</span> <!-- <input type="radio" name="attr_gm-sheet" class="sheet-tab-new sheet-tab-gm-adversaries" value="3" /> <span class="sheet-tab-new">&emsp;Combat Quicksheet&emsp;</span> --> <div class="sheet-tab-content sheet-tab-gm-weapons"> <div class="sheet-row"> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <h3 class="sheet-section-header">Character Motivations</h3> <fieldset class="repeating_group-motivations"> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><label>Player:</label></td> <td><input type="text" name="attr_playermotivationname1" /></td> <td><label>Character:</label></td> <td><input type="text" name="attr_charactermotivationname1" /></td> </tr> <tr> <td><label>Category:</label></td> <td><input type="text" name="attr_playermotivationcategory1" /></td> <td><label>Type:</label></td> <td><input type="text" name="attr_playermotivationtype1" /></td> </tr> </tbody> </table> <br /> </fieldset> </div> </div><!-- Character Motivations --> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <h3 class="sheet-section-header">Character/Group Obligations</h3> <fieldset class="repeating_group-obligation"> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><label>Player:</label></td> <td><input type="text" name="attr_playerobligationname" /></td> <td><label>Character:</label></td> <td><input type="text" name="attr_characterobligationname" /></td> </tr> <tr> <td><label>Type:</label></td> <td><input type="text" name="attr_playerobligationtype" /></td> <td><label>Magnitude:</label></td> <td><input type="number" name="attr_playerobligationmag" min="0" value="0" /></td> </tr> <tr> <td><label>Times Triggered:</label></td> <td><input type="Number" name="attr_playerobligationtriggered" min="0" /></td> <td><label>Times Handled:</label></td> <td><input type="Number" name="attr_playerobligationhandled" /></td> </tr> <tr> <td><label>Details:</label></td> <td><textarea rows="3" name="attr_playerobligationdetails"></textarea></td> <td><label>Notes:</label></td> <td><textarea rows="3" name="attr_playerobligationnotes"></textarea></td> </tr> </tbody> </table> <br /> </fieldset> </div> </div><!-- Character/Group Obligations --> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <h3 class="sheet-section-header">Character Duties</h3> <table> <tbody> <tr> <td style="width:37.5%"><input type="hidden" name="attr_group-conrank" disabled /></td> <td style="width:12.5%" text-align=left><label>Contribution Rank:</label></td> <td style="width:50%"><input type="number" name="attr_group-conrank" min="0" value="0" /></td> </tr> </tbody> </table> <br /> <fieldset class="repeating_group-duty"> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><label>Player:</label></td> <td><input type="text" name="attr_playerdutyname" /></td> <td><label>Character:</label></td> <td><input type="text" name="attr_characterdutyname" /></td> </tr> <tr> <td><label>Type:</label></td> <td><input type="text" name="attr_playerdutytype" /></td> <td><label>Magnitude:</label></td> <td><input type="number" name="attr_playerdutymag" min="0" value="0" /></td> </tr> <tr> <td><label>Times Triggered:</label></td> <td><input type="Number" name="attr_playerdutytriggered" min="0" /></td> <td><label>Times Handled:</label></td> <td><input type="Number" name="attr_playerdutyhandled" /></td> </tr> <tr> <td><label>Details:</label></td> <td><textarea rows="3" name="attr_playerdutydetails"></textarea></td> <td><label>Notes:</label></td> <td><textarea rows="3" name="attr_playerdutynotes"></textarea></td> </tr> <tr> <td><label>Rewards Given:</label></td> <td colspan="4"><textarea rows="3" name="attr_playerdutyrewards"></textarea></td> </tr> </tbody> </table> <br /> </fieldset> </div> </div><!-- Character Duties --> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <h3 class="sheet-section-header">Character Moralities</h3> <fieldset class="repeating_group-morality"> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td><label>Player:</label></td> <td><input type="text" name="attr_playermoralityname" /></td> <td><label>Character:</label></td> <td><input type="text" name="attr_charactermoralityname" /></td> </tr> <tr> <td colspan="2"><label style="text-align:right">Morality:</label></td> <td colspan="2"><input type="number" name="attr_playermorality" min="0" value="0" /></td> </tr> <tr> <td><label>Emotional Strength:</label></td> <td><input type="text" name="attr_playeremotionalstrength" /></td> <td><label>Emotional Weakness:</label></td> <td><input type="text" name="attr_playeremotionalweakness" /></td> </tr> <tr> <td><label>Strength Details:</label></td> <td><textarea rows="3" name="attr_playerstrongmoralitydetails"></textarea></td> <td><label>Weakness Details:</label></td> <td><textarea rows="3" name="attr_playerweakmoralitydetails"></textarea></td> </tr> <tr> <td colspan="2"><label style="text-align:right">Times Triggered:</label></td> <td colspan="2"><input type="number" name="attr_playermoralitytriggered" min="0" value="0" /></td> </tr> <tr> <td><label>Times Handled (Strength):</label></td> <td><input type="Number" name="attr_playermoralityhandledstreg" /></td> <td><label>Times Handled (Weakness):</label></td> <td><input type="Number" name="attr_playermoralityhandledweak" /></td> </tr> <tr> <td colspan="2"><label>Conflict:</label></td> <td colspan="2"><input type="number" name="attr_playerconflict" min="0" value="0" /></td> </tr> <tr> <td><label>Notes:</label></td> <td colspan="4"><textarea rows="3" name="attr_playermoralitynotes"></textarea></td> </tr> </tbody> </table> <br /> </fieldset> </div> </div><!-- Character Moralities --> </div> </div><!-- Group Mechanics --> <div class="sheet-tab-content sheet-tab-gm-adversaries"> <div class="sheet-row"> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <h3 class="sheet-section-header">Assignments and Tasks</h3> <fieldset class="repeating_grouptasks"> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr class="sheet-bg-blue"> <td><label>Mission/Task Number:</label></td> <td><input type="number" name="attr_groupmission-tasknum" min="1" value="1" /></td> <td><label>Expected sessions to complete:</label></td> <td><input type="number" name="attr_groupmission-expectsess" min="1" value="1" /></td> </tr> <tr class="sheet-bg-blue"> <td><label>Completed?:</label></td> <td> <select name='attr_groupmission-completed'> <option value="No-Notstarted">No - Not Started</option> <option value="No-InProgress">No - In Progress</option> <option value="Yes-Completed">Yes - Completed</option> <option value="Yes-Failed">Yes - Failed</option> </select> </td> <td><label>Actual sessions to complete:</label></td> <td><input type="number" name="attr_groupmission-actualsess" min="1" value="1" /></td> </tr> </tbody> </table> <div class="sheet-clear"></div> </div> </div><!--Book Keeping--> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <table cellspacing="0" cellpadding="0" border="0"> <thead> <tr><th colspan="2">General Info</th></tr> </thead> <tbody> <tr> <td><label>Mission Type:</label></td> <td><input type="text" name="attr_groupmission-type" /></td> </tr> <tr> <td><label>Setup:</label></td> <td class="sheet-div-right"><textarea rows="2" name="attr_groupmission-setup"></textarea></td> </tr> <tr> <td><label>Hook:</label></td> <td class="sheet-div-right"><textarea rows="2" name="attr_groupmission-hook"></textarea></td> </tr> </tbody> </table> <div class="sheet-clear"></div> </div> </div><!--General Narative Info--> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <table cellspacing="0" cellpadding="0" border="0"> <thead> <tr><th colspan="6">Location</th></tr> </thead> <tbody> <tr> <td><label>Planet:</label></td> <td><input type="text" name="attr_groupmission-planet" /></td> <td><label>Continent:</label></td> <td><input type="text" name="attr_groupmission-continent" /></td> <td><label>City:</label></td> <td><input type="text" name="attr_groupmission-city" /></td> </tr> <tr> <td><label>Terrain:</label></td> <td><input type="text" name="attr_groupmission-terrain" /></td> <td><label>Nearest Hyperlane:</label></td> <td><input type="text" name="attr_groupmission-hyperlane" /></td> <td><label>Galaxy Map Grid Coordinates:</label></td> <td><input type="text" name="attr_groupmission-coords" /></td> </tr> </tbody> </table> <div class="sheet-clear"></div> </div> </div><!--Location--> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <table cellspacing="0" cellpadding="0" border="0"> <thead> <tr><th colspan="4">Reward(s)</th></tr> </thead> <tbody> <tr> <td><label>Credits:</label></td> <td><input type="text" name="attr_groupmission-awardcredits" value="0" /></td> <td><label>Item(s):</label></td> <td><input type="text" name="attr_groupmission-awarditems" /></td> </tr> <tr> <td></td> <td><label>Base XP:</label></td> <td><input type="number" name="attr_groupmission-awardxp-base" min="0" value="0" /></td> <td></td> </tr> <tr> <td><label>Bonus XP (Motivation):</label></td> <td><input type="number" name="attr_groupmission-awardxp-motiv" min="0" value="0" /></td> <td><label>Bonus XP (Role Playing):</label></td> <td><input type="number" name="attr_groupmission-awardxp-roleplay" min="0" value="0" /></td> </tr> </tbody> </table> <div class="sheet-clear"></div> </div> </div><!--Rewards--> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <table cellspacing="0" cellpadding="0" border="0"> <thead> <tr><th colspan="2">Specific Details</th></tr> </thead> <tbody> <tr> <td><label>Mission Objectives:</label></td> <td><textarea rows="3" name="attr_groupmission-objectives"></textarea></td> </tr> <tr> <td><label>Key Items:</label></td> <td><textarea rows="3" name="attr_groupmission-keyitems"></textarea></td> </tr> <tr> <td><label>Mission Contacts:</label></td> <td><textarea rows="3" name="attr_groupmission-contacts"></textarea></td> </tr> </tbody> </table> <div class="sheet-clear"></div> </div> </div><!--Specific Details--> <div class="sheet-row"> <div class="sheet-small-12 sheet-column"> <table cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th style="width:180px;">NPC Name</th> <th style="width:180px;">Type <span style="font-size:10px">(Minion, Rival, or Nemesis)</span></th> <th>Number</th> <th><span style="float:left">Skill</span></th> <th colspan="3"><span style="float:left">Modifiers</span></th> </tr> </thead> </table> <table> <tbody> <tr> <td style="width:180px;"><input name='attr_NPCName1' type="text" /></td> <td style="width:180px;"> <select name='attr_groupmission-NPCtype1'> <option value="Minion">Minion</option> <option value="Rival">Rival</option> <option vaule="Nemesis">Nemesis</option> </select> </td> <td><input name='attr_groupmission-NPCnumber1' type="number" /></td> <td> <select name='attr_NPCInitSkill1'> <option value="!eed npcinit rollPlayer(character:@{NPCName1}|skill:presence,rankCool) label(skill:NPC-Initiative Cool|NPC Type:@{groupmission-NPCtype1}) @{NPCInitModifiers1} @{dicePool} (gmdice)">Cool</option> <option value="!eed npcinit rollPlayer(character:@{NPCName1}|skill:willpower,rankVigilance) label(skill:NPC-Initiative Vigilance|NPC Type:@{groupmission-NPCtype1}) @{NPCInitModifiers1} @{dicePool} (gmdice)">Vigilance</option> </select> </td> <td><input name='attr_NPCInitModifiers1' type="text" /></td> <td><button type='roll' name='roll_NPCInitRoll1' value=@{NPCInitSkill1}></button></td> </tr><!--NPC 1--> <tr> <td style="width:180px;"><input name='attr_NPCName2' type="text" /></td> <td style="width:180px;"> <select name='attr_groupmission-NPCtype2'> <option value="Minion">Minion</option> <option value="Rival">Rival</option> <option vaule="Nemesis">Nemesis</option> </select> </td> <td><input name='attr_groupmission-NPCnumber2' type="number" /></td> <td> <select name='attr_NPCInitSkill2'> <option value="!eed npcinit rollPlayer(character:@{NPCName2}|skill:presence,rankCool) label(skill:NPC-Initiative Cool|NPC Type:@{groupmission-NPCtype2}) @{NPCInitModifiers2} @{dicePool} (gmdice)">Cool</option> <option value="!eed npcinit rollPlayer(character:@{NPCName2}|skill:willpower,rankVigilance) label(skill:NPC-Initiative Vigilance|NPC Type:@{groupmission-NPCtype2}) @{NPCInitModifiers2} @{dicePool} (gmdice)">Vigilance</option> </select> </td> <td><input name='attr_NPCInitModifiers2' type="text" /></td> <td><button type='roll' name='roll_NPCInitRoll2' value=@{NPCInitSkill2}></button></td> </tr><!--NPC 2--> <tr> <td style="width:180px;"><input name='attr_NPCName3' type="text" /></td> <td style="width:180px;"> <select name='attr_groupmission-NPCtype3'> <option value="Minion">Minion</option> <option value="Rival">Rival</option> <option vaule="Nemesis">Nemesis</option> </select> </td> <td><input name='attr_groupmission-NPCnumber3' type="number" /></td> <td> <select name='attr_NPCInitSkill3'> <option value="!eed npcinit rollPlayer(character:@{NPCName3}|skill:presence,rankCool) label(skill:NPC-Initiative Cool|NPC Type:@{groupmission-NPCtype3}) @{NPCInitModifiers3} @{dicePool} (gmdice)">Cool</option> <option value="!eed npcinit rollPlayer(character:@{NPCName3}|skill:willpower,rankVigilance) label(skill:NPC-Initiative Vigilance|NPC Type:@{groupmission-NPCtype3}) @{NPCInitModifiers3} @{dicePool} (gmdice)">Vigilance</option> </select> </td> <td><input name='attr_NPCInitModifiers3' type="text" /></td> <td><button type='roll' name='roll_NPCInitRoll3' value=@{NPCInitSkill3}></button></td> </tr><!--NPC 3--> <tr> <td style="width:180px;"><input name='attr_NPCName4' type="text" /></td> <td style="width:180px;"> <select name='attr_groupmission-NPCtype4'> <option value="Minion">Minion</option> <option value="Rival">Rival</option> <option vaule="Nemesis">Nemesis</option> </select> </td> <td><input name='attr_groupmission-NPCnumber4' type="number" /></td> <td> <select name='attr_NPCInitSkill4'> <option value="!eed npcinit rollPlayer(character:@{NPCName4}|skill:presence,rankCool) label(skill:NPC-Initiative Cool|NPC Type:@{groupmission-NPCtype4}) @{NPCInitModifiers4} @{dicePool} (gmdice)">Cool</option> <option value="!eed npcinit rollPlayer(character:@{NPCName4}|skill:willpower,rankVigilance) label(skill:NPC-Initiative Vigilance|NPC Type:@{groupmission-NPCtype4}) @{NPCInitModifiers4} @{dicePool} (gmdice)">Vigilance</option> </select> </td> <td><input name='attr_NPCInitModifiers4' type="text" /></td> <td><button type='roll' name='roll_NPCInitRoll4' value=@{NPCInitSkill4}></button></td> </tr><!--NPC 4--> <tr> <td style="width:180px;"><input name='attr_NPCName5' type="text" /></td> <td style="width:180px;"> <select name='attr_groupmission-NPCtype5'> <option value="Minion">Minion</option> <option value="Rival">Rival</option> <option vaule="Nemesis">Nemesis</option> </select> </td> <td><input name='attr_groupmission-NPCnumber5' type="number" /></td> <td> <select name='attr_NPCInitSkill5'> <option value="!eed npcinit rollPlayer(character:@{NPCName5}|skill:presence,rankCool) label(skill:NPC-Initiative Cool|NPC Type:@{groupmission-NPCtype5}) @{NPCInitModifiers5} @{dicePool} (gmdice)">Cool</option> <option value="!eed npcinit rollPlayer(character:@{NPCName5}|skill:willpower,rankVigilance) label(skill:NPC-Initiative Vigilance|NPC Type:@{groupmission-NPCtype5}) @{NPCInitModifiers5} @{dicePool} (gmdice)">Vigilance</option> </select> </td> <td><input name='attr_NPCInitModifiers5' type="text" /></td> <td><button type='roll' name='roll_NPCInitRoll5' value=@{NPCInitSkill5}></button></td> </tr><!--NPC 5--> <tr> <td style="width:180px;"><input name='attr_NPCName6' type="text" /></td> <td style="width:180px;"> <select name='attr_groupmission-NPCtype6'> <option value="Minion">Minion</option> <option value="Rival">Rival</option> <option vaule="Nemesis">Nemesis</option> </select> </td> <td><input name='attr_groupmission-NPCnumber6' type="number" /></td> <td> <select name='attr_NPCInitSkill6'> <option value="!eed npcinit rollPlayer(character:@{NPCName6}|skill:presence,rankCool) label(skill:NPC-Initiative Cool|NPC Type:@{groupmission-NPCtype6}) @{NPCInitModifiers6} @{dicePool} (gmdice)">Cool</option> <option value="!eed npcinit rollPlayer(character:@{NPCName6}|skill:willpower,rankVigilance) label(skill:NPC-Initiative Vigilance|NPC Type:@{groupmission-NPCtype6}) @{NPCInitModifiers6} @{dicePool} (gmdice)">Vigilance</option> </select> </td> <td><input name='attr_NPCInitModifiers6' type="text" /></td> <td><button type='roll' name='roll_NPCInitRoll6' value=@{NPCInitSkill6}></button></td> </tr><!--NPC 6--> </tbody> </table> </div> </div><!--NPC List--> </fieldset><!--Single Task (Repeating)--> </div> </div><!-- Assignments and Tasks --> </div> </div><!-- Campaign Details --> </div> </div> <!-- Roll Templates --> <rolltemplate class="sheet-rolltemplate-base"> <table> <tr><th colspan="2">{{title}} {{#subtitle}}<br \><span class="subheader">{{subtitle}}</span>{{/subtitle}}</th></tr> {{#flavor}} <tr><td colspan="2"><span class="flavor">{{flavor}}</span></td></tr> {{/flavor}} {{#prewide}} <tr><td colspan="2">{{prewide}}</td></tr> {{/prewide}} {{#header}} <tr><td class="tcat-header"><span>{{header}}</span></td><td class="tcat-header"><span>{{item}}</span></td></tr> {{/header}} {{#allprops() title flavor wide roll results subtitle header item prewide wide2 wide3 wide4 wide5}} <tr><td><span class="sheet-tcat">{{key}}</span></td><td>{{value}}</td></tr> {{/allprops() title flavor wide roll results subtitle header item prewide wide2 wide3 wide4 wide5}} {{#wide}} <tr><td colspan="2">{{wide}}</td></tr> {{/wide}} {{#wide2}} <tr><td colspan="2">{{wide2}}</td></tr> {{/wide2}} {{#wide3}} <tr><td colspan="2">{{wide3}}</td></tr> {{/wide3}} {{#wide4}} <tr><td colspan="2">{{wide4}}</td></tr> {{/wide4}} {{#wide5}} <tr><td colspan="2">{{wide5}}</td></tr> {{/wide5}} {{#roll}} <tr><td colspan="2"><span class="tcat">Dice Roll</span></td></tr> <tr><td colspan="2">{{roll}}</td></tr> {{/roll}} {{#results}} <tr><td colspan="2"><span class="tcat">Results</span></td></tr> <tr><td colspan="2">{{results}}</td></tr> {{/results}} </table> </rolltemplate>
Ammo283/roll20-character-sheets
Star Wars FFG API-Compatible/FFG-SWRPG-CharacterSheet.html
HTML
mit
773,438
export default { "_id": "60228e64f2e20ca84010999a", "type": "form", "components": [{ "label": "Form", "tableView": true, "useOriginalRevision": false, "components": [{ "label": "Text Field Child", "tableView": true, "key": "textFieldChild", "type": "textfield", "input": true }, { "label": "Time Child", "inputType": "text", "tableView": true, "key": "timeChild", "type": "time", "input": true, "inputMask": "99:99" }, { "title": "Panel Child", "collapsible": false, "key": "panelChild", "type": "panel", "label": "Panel", "input": false, "tableView": false, "components": [{ "label": "Number Inside Child Panel", "mask": false, "spellcheck": true, "tableView": false, "delimiter": false, "requireDecimal": false, "inputFormat": "plain", "key": "numberInsideChildPanel", "type": "number", "input": true }] }, { "label": "Data Grid Child", "reorder": false, "addAnotherPosition": "bottom", "layoutFixed": false, "enableRowGroups": false, "initEmpty": false, "tableView": false, "defaultValue": [{}], "key": "dataGridChild", "type": "datagrid", "input": true, "components": [{ "label": "Text Area Inside Child DataGrid", "autoExpand": false, "tableView": true, "key": "textAreaInsideChildDataGrid", "type": "textarea", "input": true }] }], "key": "form", "type": "form", "input": true, "form": "6034b4ef914866a81c060533" }, { "label": "Text Field", "tableView": true, "key": "textField", "type": "textfield", "input": true }, { "label": "Text Area", "autoExpand": false, "tableView": true, "key": "textArea", "type": "textarea", "input": true }, { "label": "Number", "mask": false, "spellcheck": true, "tableView": false, "delimiter": false, "requireDecimal": false, "inputFormat": "plain", "key": "number", "type": "number", "input": true }, { "label": "Password", "tableView": false, "key": "password", "type": "password", "input": true, "protected": true }, { "label": "Checkbox", "tableView": false, "key": "checkbox", "type": "checkbox", "input": true }, { "label": "Select Boxes", "optionsLabelPosition": "right", "tableView": false, "values": [{ "label": "a", "value": "a", "shortcut": "" }, { "label": "b", "value": "b", "shortcut": "" }, { "label": "c", "value": "c", "shortcut": "" }], "validate": { "onlyAvailableItems": false }, "key": "selectBoxes", "type": "selectboxes", "input": true, "inputType": "checkbox", }, { "label": "Select", "widget": "choicesjs", "tableView": true, "data": { "values": [{ "label": "A", "value": "a" }, { "label": "B", "value": "b" }, { "label": "C", "value": "c" }] }, "selectThreshold": 0.3, "validate": { "onlyAvailableItems": false }, "key": "select", "type": "select", "indexeddb": { "filter": {} }, "input": true }, { "label": "Radio", "optionsLabelPosition": "right", "inline": false, "tableView": false, "values": [{ "label": "a", "value": "a", "shortcut": "" }, { "label": "b", "value": "b", "shortcut": "" }, { "label": "c", "value": "c", "shortcut": "" }], "validate": { "onlyAvailableItems": false }, "key": "radio", "type": "radio", "input": true }, { "label": "Email", "tableView": true, "key": "email", "type": "email", "input": true }, { "label": "Url", "tableView": true, "key": "url", "type": "url", "input": true }, { "label": "Phone Number", "tableView": true, "key": "phoneNumber", "type": "phoneNumber", "input": true }, { "label": "Tags", "tableView": false, "key": "tags", "type": "tags", "input": true }, { "label": "Address", "tableView": false, "provider": "nominatim", "key": "address", "type": "address", "providerOptions": { "params": { "autocompleteOptions": {} } }, "input": true, "components": [{ "label": "Address 1", "tableView": false, "key": "address1", "type": "textfield", "input": true, "customConditional": "show = _.get(instance, 'parent.manualMode', false);" }, { "label": "Address 2", "tableView": false, "key": "address2", "type": "textfield", "input": true, "customConditional": "show = _.get(instance, 'parent.manualMode', false);" }, { "label": "City", "tableView": false, "key": "city", "type": "textfield", "input": true, "customConditional": "show = _.get(instance, 'parent.manualMode', false);" }, { "label": "State", "tableView": false, "key": "state", "type": "textfield", "input": true, "customConditional": "show = _.get(instance, 'parent.manualMode', false);" }, { "label": "Country", "tableView": false, "key": "country", "type": "textfield", "input": true, "customConditional": "show = _.get(instance, 'parent.manualMode', false);" }, { "label": "Zip Code", "tableView": false, "key": "zip", "type": "textfield", "input": true, "customConditional": "show = _.get(instance, 'parent.manualMode', false);" }] }, { "label": "Date / Time", "tableView": false, "enableMinDateInput": false, "datePicker": { "disableWeekends": false, "disableWeekdays": false }, "enableMaxDateInput": false, "key": "dateTime", "type": "datetime", "input": true, "widget": { "type": "calendar", "displayInTimezone": "viewer", "locale": "en", "useLocaleSettings": false, "allowInput": true, "mode": "single", "enableTime": true, "noCalendar": false, "format": "yyyy-MM-dd hh:mm a", "hourIncrement": 1, "minuteIncrement": 1, "time_24hr": false, "minDate": null, "disableWeekends": false, "disableWeekdays": false, "maxDate": null } }, { "label": "Day", "hideInputLabels": false, "inputsLabelPosition": "top", "useLocaleSettings": false, "tableView": false, "fields": { "day": { "hide": false }, "month": { "hide": false }, "year": { "hide": false } }, "key": "day", "type": "day", "input": true, "defaultValue": "00/00/0000" }, { "label": "Time", "tableView": true, "key": "time", "type": "time", "input": true, "inputMask": "99:99" }, { "label": "Currency", "mask": false, "spellcheck": true, "tableView": false, "currency": "USD", "inputFormat": "plain", "key": "currency", "type": "currency", "input": true, "delimiter": true }, { "label": "Survey", "tableView": false, "questions": [{ "label": "Question 1", "value": "question1" }, { "label": "Question 2", "value": "question2" }], "values": [{ "label": "yes", "value": "yes" }, { "label": "no", "value": "no" }], "key": "survey", "type": "survey", "input": true }, { "label": "Signature", "tableView": false, "key": "signature", "type": "signature", "input": true }, { "label": "HTML", "attrs": [{ "attr": "", "value": "" }], "content": "some test HTML content", "refreshOnChange": false, "key": "html", "type": "htmlelement", "input": false, "tableView": false }, { "html": "<p>some text content</p>", "label": "Content", "refreshOnChange": false, "key": "content", "type": "content", "input": false, "tableView": false }, { "label": "Columns", "columns": [{ "components": [{ "label": "Number Column", "mask": false, "spellcheck": true, "tableView": false, "delimiter": false, "requireDecimal": false, "inputFormat": "plain", "key": "numberColumn", "type": "number", "input": true, "hideOnChildrenHidden": false }], "width": 6, "offset": 0, "push": 0, "pull": 0, "size": "md" }, { "components": [{ "label": "Text Field Column", "tableView": true, "key": "textFieldColumn", "type": "textfield", "input": true, "hideOnChildrenHidden": false }], "width": 6, "offset": 0, "push": 0, "pull": 0, "size": "md" }], "key": "columns", "type": "columns", "input": false, "tableView": false }, { "legend": "test legend", "key": "fieldset", "type": "fieldset", "label": "test legend", "input": false, "tableView": false, "components": [{ "label": "Number Fieldset", "mask": false, "spellcheck": true, "tableView": false, "delimiter": false, "requireDecimal": false, "inputFormat": "plain", "key": "numberFieldset", "type": "number", "input": true }] }, { "collapsible": false, "key": "panel", "type": "panel", "label": "Panel", "input": false, "tableView": false, "components": [{ "label": "Number Panel", "mask": false, "spellcheck": true, "tableView": false, "delimiter": false, "requireDecimal": false, "inputFormat": "plain", "key": "numberPanel", "type": "number", "input": true }] }, { "label": "Table", "cellAlignment": "left", "key": "table", "type": "table", "numRows": 2, "numCols": 2, "input": false, "tableView": false, "rows": [ [{ "components": [{ "label": "Select Table", "widget": "choicesjs", "tableView": true, "data": { "values": [{ "label": "one", "value": "one" }, { "label": "two", "value": "two" }] }, "selectThreshold": 0.3, "validate": { "onlyAvailableItems": false }, "key": "selectTable", "type": "select", "indexeddb": { "filter": {} }, "input": true }] }, { "components": [{ "label": "Checkbox Table", "tableView": false, "key": "checkboxTable", "type": "checkbox", "input": true, "defaultValue": false }] }], [{ "components": [{ "label": "Date / Time Table", "tableView": false, "enableMinDateInput": false, "datePicker": { "disableWeekends": false, "disableWeekdays": false }, "enableMaxDateInput": false, "key": "dateTimeTable", "type": "datetime", "input": true, "widget": { "type": "calendar", "displayInTimezone": "viewer", "locale": "en", "useLocaleSettings": false, "allowInput": true, "mode": "single", "enableTime": true, "noCalendar": false, "format": "yyyy-MM-dd hh:mm a", "hourIncrement": 1, "minuteIncrement": 1, "time_24hr": false, "minDate": null, "disableWeekends": false, "disableWeekdays": false, "maxDate": null } }] }, { "components": [{ "label": "Currency Table", "mask": false, "spellcheck": true, "tableView": false, "currency": "USD", "inputFormat": "plain", "key": "currencyTable", "type": "currency", "input": true, "delimiter": true }] }] ] }, { "label": "Tabs", "components": [{ "label": "Tab 1", "key": "tab1", "components": [{ "label": "Number Tab", "mask": false, "spellcheck": true, "tableView": false, "delimiter": false, "requireDecimal": false, "inputFormat": "plain", "key": "numberTab", "type": "number", "input": true }] }, { "label": "Tab 2", "key": "tab2", "components": [{ "label": "Text Field Tab", "tableView": true, "key": "textFieldTab", "type": "textfield", "input": true }] }], "key": "tabs", "type": "tabs", "input": false, "tableView": false }, { "label": "Well", "key": "well", "type": "well", "input": false, "tableView": false, "components": [{ "label": "Text Field Well", "tableView": true, "key": "textFieldWell", "type": "textfield", "input": true }] }, { "label": "Hidden", "key": "hidden", "type": "hidden", "input": true, "tableView": false }, { "label": "Container", "tableView": false, "key": "container", "type": "container", "hideLabel": false, "input": true, "components": [{ "label": "Text Field Container", "tableView": true, "key": "textFieldContainer", "type": "textfield", "input": true }] }, { "label": "Data Map", "tableView": false, "key": "dataMap", "type": "datamap", "input": true, "valueComponent": { "type": "textfield", "key": "key", "label": "Value", "input": true, "hideLabel": true, "tableView": true } }, { "label": "Data Grid", "reorder": false, "addAnotherPosition": "bottom", "layoutFixed": false, "enableRowGroups": false, "initEmpty": false, "tableView": false, "defaultValue": [{}], "key": "dataGrid", "type": "datagrid", "input": true, "components": [{ "label": "Text Field DataGrid", "tableView": true, "key": "textFieldDataGrid", "type": "textfield", "input": true }] }, { "label": "Edit Grid", "tableView": false, "rowDrafts": false, "key": "editGrid", "type": "editgrid", "input": true, "components": [{ "label": "Text Field EditGrid", "tableView": true, "key": "textFieldEditGrid", "type": "textfield", "input": true }] }, { "label": "Tree", "tableView": false, "key": "tree", "type": "tree", "input": true, "tree": true, "components": [{ "label": "Text Field Tree", "tableView": true, "key": "textFieldTree", "type": "textfield", "input": true }] }, { "label": "Upload", "tableView": false, "storage": "base64", "webcam": false, "fileTypes": [{ "label": "", "value": "" }], "key": "file", "type": "file", "input": true }, { "type": "button", "label": "Submit", "key": "submit", "input": true, "tableView": false } ], "title": "form for automated tests", "display": "form", "name": "formForAutomatedTests", "path": "formforautomatedtests", }
formio/formio.js
test/forms/helpers/testBasicComponentSettings/form.js
JavaScript
mit
17,173
<!DOCTYPE HTML> <html> <head> <title>04</title> <script src="..\..\node_modules\angular\angular.js"></script> <script src="..\..\node_modules\angular-ui-router\release\angular-ui-router.js"></script> <script src="app.js"></script> </head> <body ng-app="myApp"> <div ui-view></div> <a ui-sref="state1">State 1</a> <a ui-sref="state2">State 2</a> </body> </html>
rasmusvhansen/angularjs-foundation-course
samples/04Routing/index.html
HTML
mit
384
import * as React from "react" export function LaterHydrator({ children, }: React.PropsWithChildren<Record<string, unknown>>): React.ReactNode { React.useEffect(() => { // eslint-disable-next-line no-unused-expressions import(`./lazy-hydrate`) }, []) return children }
gatsbyjs/gatsby
packages/gatsby-plugin-image/src/components/later-hydrator.tsx
TypeScript
mit
286
/*========================================================== * Copyright 2017 Institute for X-ray Physics (University of Göttingen) * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. *========================================================*/ void symmetry(double*, double*, double, double, int, int);
irpgoe/nanodiffraction
mex/symmetry.h
C
mit
1,342
# escomplex-coffee [![Build status][ci-image]][ci-status] :exclamation: :anguished: :exclamation: :anguished: :exclamation: :anguished: :exclamation: :anguished: :exclamation: :anguished: :exclamation: :anguished: :exclamation: :anguished: :exclamation: :anguished: :exclamation: :anguished: :exclamation: :anguished: :exclamation: **NOTE: This fork is no longer maintained. Use [Jared's fork](https://github.com/jared-stilwell/escomplex-coffee) instead.** :exclamation: :anguished: :exclamation: :anguished: :exclamation: :anguished: :exclamation: :anguished: :exclamation: :anguished: :exclamation: :anguished: :exclamation: :anguished: :exclamation: :anguished: :exclamation: :anguished: :exclamation: :anguished: :exclamation: Software complexity analysis for CoffeeScript projects. CoffeeScript-specific wrapper around [escomplex][escomplex]. [ci-image]: https://secure.travis-ci.org/philbooth/escomplex-coffee.png?branch=master [ci-status]: http://travis-ci.org/#!/philbooth/escomplex-coffee [escomplex]: https://github.com/philbooth/escomplex [coffee]: https://github.com/michaelficarra/CoffeeScriptRedux [license]: https://github.com/philbooth/escomplex-coffee/blob/master/COPYING [node]: http://nodejs.org/ [npm]: https://npmjs.org/ [jshint]: https://github.com/jshint/node-jshint [mocha]: http://visionmedia.github.com/mocha [chai]: http://chaijs.com/
philbooth/escomplex-coffee
README.md
Markdown
mit
1,369
search_result['213']=["topic_0000000000000068_events--.html","ChatTokenResponseDto Events",""];
asiboro/asiboro.github.io
vsdoc/search--/s_213.js
JavaScript
mit
95
package aes.base; import net.minecraft.client.renderer.OpenGlHelper; import net.minecraft.client.renderer.Tessellator; import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; import net.minecraft.item.ItemStack; import net.minecraft.tileentity.TileEntity; import net.minecraft.world.IBlockAccess; import net.minecraftforge.client.IItemRenderer; import net.minecraftforge.common.ForgeDirection; import org.lwjgl.opengl.GL11; import aes.motive.render.model.ModelBase; public abstract class TileEntitySpecialRendererBase2 extends TileEntitySpecialRenderer implements IItemRenderer { public static float getRotationFromDirection(ForgeDirection direction) { switch (direction) { case NORTH: return 0F; case SOUTH: return 180F; case WEST: return 90F; case EAST: return -90F; default: return 0F; } } protected ModelBase model; static int angle = 0; public static int currentRenderPass = 0; public static void glRotateForFaceDir(ForgeDirection direction) { // if (direction == ForgeDirection.UP) { GL11.glTranslatef(0F, 1F, 0F); /* * if (!Keyboard.isKeyDown(61)) { GL11.glRotatef(angle, 1.0F, 0F, 0F); * angle++; if (angle >= 360) angle -= 360; // GL11.glRotatef(90F, 1.0F, * 0F, 0F); } */ switch (direction) { case UP: GL11.glRotatef(90F, 1.0F, 0F, 0F); break; case DOWN: GL11.glRotatef(-90F, 1.0F, 0F, 0F); break; default: GL11.glRotatef(getRotationFromDirection(direction), 0F, 1.0F, 0F); } GL11.glTranslatef(0F, -1F, 0F); // } } public static void setBrightness(IBlockAccess w, int x, int y, int z) { Tessellator.instance.setBrightness(w.getLightBrightnessForSkyBlocks(x, y, z, 0)); } public static void setBrightnessDirect(IBlockAccess w, int x, int y, int z) { final int i = w.getLightBrightnessForSkyBlocks(x, y, z, 0); OpenGlHelper.setLightmapTextureCoords(OpenGlHelper.lightmapTexUnit, i & 0xFFFF, i >> 16); } public static void setFullBrightness() { Tessellator.instance.setBrightness(0x00F000F0); } public static void setFullColor() { Tessellator.instance.setColorRGBA(255, 255, 255, 255); } protected TileEntitySpecialRendererBase2() { this.model = getModel(); } protected abstract ModelBase getModel(); private ModelBase getModelForRendering() { return this.model; // return this.model = getModel(); } @Override public boolean handleRenderType(ItemStack item, ItemRenderType type) { return true; } protected void light(TileEntity tileEntity) { try { setBrightnessDirect(tileEntity.worldObj, tileEntity.xCoord, tileEntity.yCoord, tileEntity.zCoord); /* * final float blockBrightness = * tileEntity.blockType.getBlockBrightness(tileEntity.worldObj, * tileEntity.xCoord, tileEntity.yCoord, tileEntity.zCoord); final * int lightBrightness = * tileEntity.worldObj.getLightBrightnessForSkyBlocks * (tileEntity.xCoord, tileEntity.yCoord, tileEntity.zCoord, 0); * final int lightBrightnessLo = lightBrightness % 65536; final int * lightBrightnessHi = lightBrightness / 65536; * * Tessellator.instance.setColorOpaque_F(blockBrightness, * blockBrightness, blockBrightness); * OpenGlHelper.setLightmapTextureCoords * (OpenGlHelper.lightmapTexUnit, lightBrightnessLo, * lightBrightnessHi); */} catch (final NullPointerException e) { } } private void renderAsItem(ItemStack stack, float x, float y, float z, float scale) { renderAsItem(stack, x, y, z, scale, 180, 0, 0); } private void renderAsItem(ItemStack stack, float x, float y, float z, float scale, float xRot, float yRot, float zRot) { GL11.glPushMatrix(); GL11.glTranslatef(x, y, z); GL11.glTranslatef(0F, 1F, 0F); GL11.glRotatef(xRot, 1f, 0f, 0f); GL11.glRotatef(yRot, 0f, 1f, 0f); GL11.glRotatef(zRot, 0f, 0f, 1f); GL11.glTranslatef(0F, -1F, 0F); GL11.glScalef(scale, scale, scale); getModelForRendering().render(null, stack, scale * 0.0625F, 0); GL11.glPopMatrix(); } @Override public void renderItem(ItemRenderType type, ItemStack item, Object... data) { switch (type) { case ENTITY: renderAsItem(item, 0f, 0f, 0f, 1f); break; case EQUIPPED: renderAsItem(item, 0.25f, -0.25f, 0.45f, 1f, 145, 0, 0); break; case INVENTORY: renderAsItem(item, 0f, -1f, 0f, 1f); break; case EQUIPPED_FIRST_PERSON: renderAsItem(item, 1f, 1f, 0.25f, 1.35f, 180, 70, 0); break; case FIRST_PERSON_MAP: renderAsItem(item, 0f, 0f, 0f, 2f, 180, 90, 0); break; } } @Override public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float partialTickTime) { GL11.glPushMatrix(); GL11.glTranslatef((float) x + 0.5F, (float) y - 0.5F, (float) z + 0.5F); // light(tileEntity); GL11.glPushMatrix(); glRotateForFaceDir(BlockBase.getFacing(tileEntity.worldObj, tileEntity.xCoord, tileEntity.yCoord, tileEntity.zCoord)); getModelForRendering().render(tileEntity, null, 0.0625F, partialTickTime); GL11.glPopMatrix(); GL11.glPopMatrix(); } @Override public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) { return true; } }
AesGH/Motive
src/aes/base/TileEntitySpecialRendererBase2.java
Java
mit
5,151
<?php namespace EShop\BoutiqueBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * Departement * * @ORM\Table(name="departement") * @ORM\Entity */ class Departement { /** * @var integer * * @ORM\Column(name="id", type="integer", nullable=false) * @ORM\Id * @ORM\GeneratedValue(strategy="IDENTITY") */ private $id; /** * @var string * * @ORM\Column(name="numero", type="string", length=3, nullable=false) */ private $numero; /** * @var string * * @ORM\Column(name="Departement", type="string", length=255, nullable=true) */ private $departement; /** * @var string * * @ORM\Column(name="Prefecture", type="string", length=255, nullable=true) */ private $prefecture; /** * @var string * * @ORM\Column(name="Region", type="string", length=255, nullable=true) */ private $region; /** * Get id * * @return integer */ public function getId() { return $this->id; } /** * Set numero * * @param string $numero * @return Departement */ public function setNumero($numero) { $this->numero = $numero; return $this; } /** * Get numero * * @return string */ public function getNumero() { return $this->numero; } /** * Set departement * * @param string $departement * @return Departement */ public function setDepartement($departement) { $this->departement = $departement; return $this; } /** * Get departement * * @return string */ public function getDepartement() { return $this->departement; } /** * Set prefecture * * @param string $prefecture * @return Departement */ public function setPrefecture($prefecture) { $this->prefecture = $prefecture; return $this; } /** * Get prefecture * * @return string */ public function getPrefecture() { return $this->prefecture; } /** * Set region * * @param string $region * @return Departement */ public function setRegion($region) { $this->region = $region; return $this; } /** * Get region * * @return string */ public function getRegion() { return $this->region; } }
JMVilomet/EShop_Symfony2.3
src/EShop/BoutiqueBundle/Entity/Departement.php
PHP
mit
2,527
#pragma once #include "Exps.h" #include "Stms.h" #include "CLabel.h" namespace IRTTRANSLATOR { using IRT::TBINOP; using IRT::TCJUMP; using IRT::CLabel; using IRT::CTemp; using IRT::IExp; using IRT::IStm; using IRT::CCONST; using IRT::CNAME; using IRT::CTEMP; using IRT::CBINOP; using IRT::CMEM; using IRT::CCALL; using IRT::CESEQ; using IRT::CMOVE; using IRT::CEXP; using IRT::CJUMP; using IRT::CCJUMP; using IRT::CSEQ; using IRT::CLABEL; class ITranslator { public: virtual IExp *unEx() const = 0; virtual IStm *unNx() const = 0; virtual IStm *unCx( CLabel *ifTrue, CLabel *ifFalse ) const = 0; }; }
alexeyqu/OntoTeamCompiler
jive/include/IRT/ITranslator.h
C
mit
612
package com.firebaseapp.wanderson_jackson.powerlogsignupapp.fragments; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.firebaseapp.wanderson_jackson.powerlogsignupapp.R; /** * A simple {@link Fragment} subclass. */ public class CarFragment extends Fragment { public CarFragment() { // Required empty public constructor } @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { TextView textView = new TextView(getActivity()); textView.setText(R.string.hello_blank_fragment); return textView; } }
Wandersonjack/materialswipelogin
app/src/main/java/com/firebaseapp/wanderson_jackson/powerlogsignupapp/fragments/CarFragment.java
Java
mit
796
<?php /* * This file is part of the Vermillion package. * * (c) Kilte Leichnam <nwotnbm@gmail.com> * * For the full copyright and license information, * view the LICENSE file that was distributed with this source code. */ namespace Vermillion\JsonRpc; use Vermillion\JsonRpc\Exception\InternalException; use Vermillion\JsonRpc\Exception\InvalidRequestException; use Vermillion\JsonRpc\Exception\JsonRpcException; use Vermillion\JsonRpc\Exception\ParseException; use Vermillion\JsonRpc\Handler\HandlerInterface; use Vermillion\JsonRpc\Response\BatchResponse; use Vermillion\JsonRpc\Response\ErrorResponse; use Vermillion\JsonRpc\Response\ResponseInterface; /** * @author Kilte Leichnam <nwotnbm@gmail.com> */ class Server { /** * @var HandlerInterface */ private $handler; /** * @param HandlerInterface $handler */ public function __construct(HandlerInterface $handler) { $this->handler = $handler; } /** * Handles a request. * * @param string $request The JSON string * * @return ResponseInterface */ public function handle($request) { $request = @json_decode($request, false); if ($request instanceof \StdClass) { $response = $this->handleRequest($request); } elseif (!is_array($request)) { $response = new ErrorResponse(new ParseException()); } else { if (empty($request)) { $response = new ErrorResponse(new InvalidRequestException()); } else { $result = []; foreach ($request as $item) { $result[] = $this->handleRequest($item); } $response = new BatchResponse($result); } } return $response; } /** * @param \StdClass $request * * @return ResponseInterface */ private function handleRequest($request) { try { $response = $this->handler->getResponse(new Request($request)); } catch (\Exception $e) { if (!$e instanceof JsonRpcException) { $e = new InternalException($e->getMessage()); } $id = $request instanceof \StdClass && property_exists($request, 'id') ? $request->id : null; $response = new ErrorResponse($e, Request::validateId($id) ? $id : null); } return $response; } }
vermillion-php/json-rpc
source/Server.php
PHP
mit
2,450
<?php namespace Tests\AppBundle\Curation; use AppBundle\Curation\BulkEditFormHandler; use AppBundle\Curation\BulkEditFormProvider; use AppBundle\Entity\Adventure; use AppBundle\Field\Field; use AppBundle\Repository\AdventureRepository; use Doctrine\ORM\EntityManagerInterface; use PHPUnit_Framework_MockObject_MockObject; use Symfony\Component\Form\FormInterface; use Symfony\Component\HttpFoundation\Request; class BulkEditFormHandlerTest extends \PHPUnit_Framework_TestCase { /** * @var BulkEditFormHandler */ private $formHandler; /** * @var Request|PHPUnit_Framework_MockObject_MockObject */ private $request; /** * @var Field|PHPUnit_Framework_MockObject_MockObject */ private $field; /** * @var AdventureRepository|PHPUnit_Framework_MockObject_MockObject */ private $repository; /** * @var FormInterface|PHPUnit_Framework_MockObject_MockObject */ private $form; public function setUp() { $this->repository = $this->createMock(AdventureRepository::class); $em = $this->createMock(EntityManagerInterface::class); $em->method('getRepository') ->with(Adventure::class) ->willReturn($this->repository); $this->formHandler = new BulkEditFormHandler($em); $this->request = $this->createMock(Request::class); $this->field = $this->createMock(Field::class); $this->form = $this->createMock(FormInterface::class); } /** * @dataProvider invalidOrNotSubmittedStateProvider */ public function testDoesNothingIfInvalidOrNotSubmitted($isSubmitted, $isValid) { $this->form->method('isSubmitted')->willReturn($isSubmitted); $this->form->method('isValid')->willReturn($isValid); $this->repository->expects($this->never())->method('updateField'); $result = $this->formHandler->handle($this->request, $this->form, $this->field); $this->assertSame(-1, $result); } /** * @dataProvider validFormDataProvider */ public function testCallsUpdateFieldIfValidAndSubmitted($oldValue, $newValue, $expectedOldValue, $expectedNewValue, $expectedResult) { $this->form->method('isSubmitted')->willReturn(true); $this->form->method('isValid')->willReturn(true); $this->form->method('get')->will($this->returnValueMap([ [BulkEditFormProvider::OLD_VALUE, $this->formDataMock($oldValue)], [BulkEditFormProvider::NEW_VALUE, $this->formDataMock($newValue)], ])); $this->repository ->expects($this->once()) ->method('updateField') ->with($this->field, $expectedOldValue, $expectedNewValue) ->willReturn($expectedResult); $result = $this->formHandler->handle($this->request, $this->form, $this->field); $this->assertSame($expectedResult, $result); } private function formDataMock($data) { $formDataMock = $this->createMock(FormInterface::class); $formDataMock->method('getData')->willReturn($data); return $formDataMock; } public function invalidOrNotSubmittedStateProvider() { return [ [false, false], [false, true], [true, false], ]; } public function validFormDataProvider() { return [ ['the old value', 'the new value', 'the old value', 'the new value', 73], ['sec. old value', '', 'sec. old value', null, 12], ['third old value', null, 'third old value', null, 2], ['', null, '', null, 0], ]; } }
burnhamrobertp/AdventureLookup
tests/AppBundle/Curation/BulkEditFormHandlerTest.php
PHP
mit
3,663
'use strict' module.exports = { info: { key: 'javascript', title: 'JavaScript', extname: '.js', default: 'xhr' }, jquery: require('./jquery'), fetch: require('./fetch'), xhr: require('./xhr'), axios: require('./axios') }
Mashape/httpsnippet
src/targets/javascript/index.js
JavaScript
mit
251
require 'factory_girl' FactoryBot.define do factory :service_ticket, class: CASinoCore::Model::ServiceTicket do ticket_granting_ticket sequence :ticket do |n| "ST-ticket#{n}" end sequence :service do |n| "http://www#{n}.example.org/" end trait :consumed do consumed true end end end
cognetoapps/CASinoCore
spec/support/factories/service_ticket_factory.rb
Ruby
mit
335
/*! * Bootswatch v5.1.1 * Homepage: https://bootswatch.com * Copyright 2012-2021 Thomas Park * Licensed under MIT * Based on Bootstrap */ /*! * Bootstrap v5.1.1 (https://getbootstrap.com/) * Copyright 2011-2021 The Bootstrap Authors * Copyright 2011-2021 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */ @import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400&display=swap"); :root { --bs-blue: #375a7f; --bs-indigo: #6610f2; --bs-purple: #6f42c1; --bs-pink: #e83e8c; --bs-red: #e74c3c; --bs-orange: #fd7e14; --bs-yellow: #f39c12; --bs-green: #00bc8c; --bs-teal: #20c997; --bs-cyan: #3498db; --bs-white: #fff; --bs-gray: #888; --bs-gray-dark: #303030; --bs-gray-100: #f8f9fa; --bs-gray-200: #ebebeb; --bs-gray-300: #dee2e6; --bs-gray-400: #ced4da; --bs-gray-500: #adb5bd; --bs-gray-600: #888; --bs-gray-700: #444; --bs-gray-800: #303030; --bs-gray-900: #222; --bs-primary: #375a7f; --bs-secondary: #444; --bs-success: #00bc8c; --bs-info: #3498db; --bs-warning: #f39c12; --bs-danger: #e74c3c; --bs-light: #adb5bd; --bs-dark: #303030; --bs-primary-rgb: 55, 90, 127; --bs-secondary-rgb: 68, 68, 68; --bs-success-rgb: 0, 188, 140; --bs-info-rgb: 52, 152, 219; --bs-warning-rgb: 243, 156, 18; --bs-danger-rgb: 231, 76, 60; --bs-light-rgb: 173, 181, 189; --bs-dark-rgb: 48, 48, 48; --bs-white-rgb: 255, 255, 255; --bs-black-rgb: 0, 0, 0; --bs-body-color-rgb: 255, 255, 255; --bs-body-bg-rgb: 34, 34, 34; --bs-font-sans-serif: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0)); --bs-body-font-family: var(--bs-font-sans-serif); --bs-body-font-size: 1rem; --bs-body-font-weight: 400; --bs-body-line-height: 1.5; --bs-body-color: #fff; --bs-body-bg: #222; } *, *::before, *::after { box-sizing: border-box; } @media (prefers-reduced-motion: no-preference) { :root { scroll-behavior: smooth; } } body { margin: 0; font-family: var(--bs-body-font-family); font-size: var(--bs-body-font-size); font-weight: var(--bs-body-font-weight); line-height: var(--bs-body-line-height); color: var(--bs-body-color); text-align: var(--bs-body-text-align); background-color: var(--bs-body-bg); -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } hr { margin: 1rem 0; color: inherit; background-color: currentColor; border: 0; opacity: 0.25; } hr:not([size]) { height: 1px; } h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 { margin-top: 0; margin-bottom: 0.5rem; font-weight: 500; line-height: 1.2; } h1, .h1 { font-size: calc(1.425rem + 2.1vw); } @media (min-width: 1200px) { h1, .h1 { font-size: 3rem; } } h2, .h2 { font-size: calc(1.375rem + 1.5vw); } @media (min-width: 1200px) { h2, .h2 { font-size: 2.5rem; } } h3, .h3 { font-size: calc(1.325rem + 0.9vw); } @media (min-width: 1200px) { h3, .h3 { font-size: 2rem; } } h4, .h4 { font-size: calc(1.275rem + 0.3vw); } @media (min-width: 1200px) { h4, .h4 { font-size: 1.5rem; } } h5, .h5 { font-size: 1.25rem; } h6, .h6 { font-size: 1rem; } p { margin-top: 0; margin-bottom: 1rem; } abbr[title], abbr[data-bs-original-title] { -webkit-text-decoration: underline dotted; text-decoration: underline dotted; cursor: help; -webkit-text-decoration-skip-ink: none; text-decoration-skip-ink: none; } address { margin-bottom: 1rem; font-style: normal; line-height: inherit; } ol, ul { padding-left: 2rem; } ol, ul, dl { margin-top: 0; margin-bottom: 1rem; } ol ol, ul ul, ol ul, ul ol { margin-bottom: 0; } dt { font-weight: 700; } dd { margin-bottom: .5rem; margin-left: 0; } blockquote { margin: 0 0 1rem; } b, strong { font-weight: bolder; } small, .small { font-size: 0.875em; } mark, .mark { padding: 0.2em; background-color: #fcf8e3; } sub, sup { position: relative; font-size: 0.75em; line-height: 0; vertical-align: baseline; } sub { bottom: -.25em; } sup { top: -.5em; } a { color: #00bc8c; text-decoration: underline; } a:hover { color: #009670; } a:not([href]):not([class]), a:not([href]):not([class]):hover { color: inherit; text-decoration: none; } pre, code, kbd, samp { font-family: var(--bs-font-monospace); font-size: 1em; direction: ltr /* rtl:ignore */; unicode-bidi: bidi-override; } pre { display: block; margin-top: 0; margin-bottom: 1rem; overflow: auto; font-size: 0.875em; color: inherit; } pre code { font-size: inherit; color: inherit; word-break: normal; } code { font-size: 0.875em; color: #e83e8c; word-wrap: break-word; } a > code { color: inherit; } kbd { padding: 0.2rem 0.4rem; font-size: 0.875em; color: #fff; background-color: #222; border-radius: 0.2rem; } kbd kbd { padding: 0; font-size: 1em; font-weight: 700; } figure { margin: 0 0 1rem; } img, svg { vertical-align: middle; } table { caption-side: bottom; border-collapse: collapse; } caption { padding-top: 0.5rem; padding-bottom: 0.5rem; color: #888; text-align: left; } th { text-align: inherit; text-align: -webkit-match-parent; } thead, tbody, tfoot, tr, td, th { border-color: inherit; border-style: solid; border-width: 0; } label { display: inline-block; } button { border-radius: 0; } button:focus:not(:focus-visible) { outline: 0; } input, button, select, optgroup, textarea { margin: 0; font-family: inherit; font-size: inherit; line-height: inherit; } button, select { text-transform: none; } [role="button"] { cursor: pointer; } select { word-wrap: normal; } select:disabled { opacity: 1; } [list]::-webkit-calendar-picker-indicator { display: none; } button, [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; } button:not(:disabled), [type="button"]:not(:disabled), [type="reset"]:not(:disabled), [type="submit"]:not(:disabled) { cursor: pointer; } ::-moz-focus-inner { padding: 0; border-style: none; } textarea { resize: vertical; } fieldset { min-width: 0; padding: 0; margin: 0; border: 0; } legend { float: left; width: 100%; padding: 0; margin-bottom: 0.5rem; font-size: calc(1.275rem + 0.3vw); line-height: inherit; } @media (min-width: 1200px) { legend { font-size: 1.5rem; } } legend + * { clear: left; } ::-webkit-datetime-edit-fields-wrapper, ::-webkit-datetime-edit-text, ::-webkit-datetime-edit-minute, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-year-field { padding: 0; } ::-webkit-inner-spin-button { height: auto; } [type="search"] { outline-offset: -2px; -webkit-appearance: textfield; } /* rtl:raw: [type="tel"], [type="url"], [type="email"], [type="number"] { direction: ltr; } */ ::-webkit-search-decoration { -webkit-appearance: none; } ::-webkit-color-swatch-wrapper { padding: 0; } ::file-selector-button { font: inherit; } ::-webkit-file-upload-button { font: inherit; -webkit-appearance: button; } output { display: inline-block; } iframe { border: 0; } summary { display: list-item; cursor: pointer; } progress { vertical-align: baseline; } [hidden] { display: none !important; } .lead { font-size: 1.25rem; font-weight: 300; } .display-1 { font-size: calc(1.625rem + 4.5vw); font-weight: 300; line-height: 1.2; } @media (min-width: 1200px) { .display-1 { font-size: 5rem; } } .display-2 { font-size: calc(1.575rem + 3.9vw); font-weight: 300; line-height: 1.2; } @media (min-width: 1200px) { .display-2 { font-size: 4.5rem; } } .display-3 { font-size: calc(1.525rem + 3.3vw); font-weight: 300; line-height: 1.2; } @media (min-width: 1200px) { .display-3 { font-size: 4rem; } } .display-4 { font-size: calc(1.475rem + 2.7vw); font-weight: 300; line-height: 1.2; } @media (min-width: 1200px) { .display-4 { font-size: 3.5rem; } } .display-5 { font-size: calc(1.425rem + 2.1vw); font-weight: 300; line-height: 1.2; } @media (min-width: 1200px) { .display-5 { font-size: 3rem; } } .display-6 { font-size: calc(1.375rem + 1.5vw); font-weight: 300; line-height: 1.2; } @media (min-width: 1200px) { .display-6 { font-size: 2.5rem; } } .list-unstyled { padding-left: 0; list-style: none; } .list-inline { padding-left: 0; list-style: none; } .list-inline-item { display: inline-block; } .list-inline-item:not(:last-child) { margin-right: 0.5rem; } .initialism { font-size: 0.875em; text-transform: uppercase; } .blockquote { margin-bottom: 1rem; font-size: 1.25rem; } .blockquote > :last-child { margin-bottom: 0; } .blockquote-footer { margin-top: -1rem; margin-bottom: 1rem; font-size: 0.875em; color: #888; } .blockquote-footer::before { content: "\2014\00A0"; } .img-fluid { max-width: 100%; height: auto; } .img-thumbnail { padding: 0.25rem; background-color: #222; border: 1px solid #dee2e6; border-radius: 0.25rem; max-width: 100%; height: auto; } .figure { display: inline-block; } .figure-img { margin-bottom: 0.5rem; line-height: 1; } .figure-caption { font-size: 0.875em; color: #888; } .container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl { width: 100%; padding-right: var(--bs-gutter-x, 0.75rem); padding-left: var(--bs-gutter-x, 0.75rem); margin-right: auto; margin-left: auto; } @media (min-width: 576px) { .container, .container-sm { max-width: 540px; } } @media (min-width: 768px) { .container, .container-sm, .container-md { max-width: 720px; } } @media (min-width: 992px) { .container, .container-sm, .container-md, .container-lg { max-width: 960px; } } @media (min-width: 1200px) { .container, .container-sm, .container-md, .container-lg, .container-xl { max-width: 1140px; } } @media (min-width: 1400px) { .container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl { max-width: 1320px; } } .row { --bs-gutter-x: 1.5rem; --bs-gutter-y: 0; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; margin-top: calc(var(--bs-gutter-y) * -1); margin-right: calc(var(--bs-gutter-x) * -.5); margin-left: calc(var(--bs-gutter-x) * -.5); } .row > * { -ms-flex-negative: 0; flex-shrink: 0; width: 100%; max-width: 100%; padding-right: calc(var(--bs-gutter-x) * .5); padding-left: calc(var(--bs-gutter-x) * .5); margin-top: var(--bs-gutter-y); } .col { -ms-flex: 1 0 0%; flex: 1 0 0%; } .row-cols-auto > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: auto; } .row-cols-1 > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 100%; } .row-cols-2 > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 50%; } .row-cols-3 > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 33.333333%; } .row-cols-4 > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 25%; } .row-cols-5 > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 20%; } .row-cols-6 > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 16.666667%; } .col-auto { -ms-flex: 0 0 auto; flex: 0 0 auto; width: auto; } .col-1 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 8.333333%; } .col-2 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 16.666667%; } .col-3 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 25%; } .col-4 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 33.333333%; } .col-5 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 41.666667%; } .col-6 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 50%; } .col-7 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 58.333333%; } .col-8 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 66.666667%; } .col-9 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 75%; } .col-10 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 83.333333%; } .col-11 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 91.666667%; } .col-12 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 100%; } .offset-1 { margin-left: 8.333333%; } .offset-2 { margin-left: 16.666667%; } .offset-3 { margin-left: 25%; } .offset-4 { margin-left: 33.333333%; } .offset-5 { margin-left: 41.666667%; } .offset-6 { margin-left: 50%; } .offset-7 { margin-left: 58.333333%; } .offset-8 { margin-left: 66.666667%; } .offset-9 { margin-left: 75%; } .offset-10 { margin-left: 83.333333%; } .offset-11 { margin-left: 91.666667%; } .g-0, .gx-0 { --bs-gutter-x: 0; } .g-0, .gy-0 { --bs-gutter-y: 0; } .g-1, .gx-1 { --bs-gutter-x: 0.25rem; } .g-1, .gy-1 { --bs-gutter-y: 0.25rem; } .g-2, .gx-2 { --bs-gutter-x: 0.5rem; } .g-2, .gy-2 { --bs-gutter-y: 0.5rem; } .g-3, .gx-3 { --bs-gutter-x: 1rem; } .g-3, .gy-3 { --bs-gutter-y: 1rem; } .g-4, .gx-4 { --bs-gutter-x: 1.5rem; } .g-4, .gy-4 { --bs-gutter-y: 1.5rem; } .g-5, .gx-5 { --bs-gutter-x: 3rem; } .g-5, .gy-5 { --bs-gutter-y: 3rem; } @media (min-width: 576px) { .col-sm { -ms-flex: 1 0 0%; flex: 1 0 0%; } .row-cols-sm-auto > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: auto; } .row-cols-sm-1 > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 100%; } .row-cols-sm-2 > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 50%; } .row-cols-sm-3 > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 33.333333%; } .row-cols-sm-4 > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 25%; } .row-cols-sm-5 > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 20%; } .row-cols-sm-6 > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 16.666667%; } .col-sm-auto { -ms-flex: 0 0 auto; flex: 0 0 auto; width: auto; } .col-sm-1 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 8.333333%; } .col-sm-2 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 16.666667%; } .col-sm-3 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 25%; } .col-sm-4 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 33.333333%; } .col-sm-5 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 41.666667%; } .col-sm-6 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 50%; } .col-sm-7 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 58.333333%; } .col-sm-8 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 66.666667%; } .col-sm-9 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 75%; } .col-sm-10 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 83.333333%; } .col-sm-11 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 91.666667%; } .col-sm-12 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 100%; } .offset-sm-0 { margin-left: 0; } .offset-sm-1 { margin-left: 8.333333%; } .offset-sm-2 { margin-left: 16.666667%; } .offset-sm-3 { margin-left: 25%; } .offset-sm-4 { margin-left: 33.333333%; } .offset-sm-5 { margin-left: 41.666667%; } .offset-sm-6 { margin-left: 50%; } .offset-sm-7 { margin-left: 58.333333%; } .offset-sm-8 { margin-left: 66.666667%; } .offset-sm-9 { margin-left: 75%; } .offset-sm-10 { margin-left: 83.333333%; } .offset-sm-11 { margin-left: 91.666667%; } .g-sm-0, .gx-sm-0 { --bs-gutter-x: 0; } .g-sm-0, .gy-sm-0 { --bs-gutter-y: 0; } .g-sm-1, .gx-sm-1 { --bs-gutter-x: 0.25rem; } .g-sm-1, .gy-sm-1 { --bs-gutter-y: 0.25rem; } .g-sm-2, .gx-sm-2 { --bs-gutter-x: 0.5rem; } .g-sm-2, .gy-sm-2 { --bs-gutter-y: 0.5rem; } .g-sm-3, .gx-sm-3 { --bs-gutter-x: 1rem; } .g-sm-3, .gy-sm-3 { --bs-gutter-y: 1rem; } .g-sm-4, .gx-sm-4 { --bs-gutter-x: 1.5rem; } .g-sm-4, .gy-sm-4 { --bs-gutter-y: 1.5rem; } .g-sm-5, .gx-sm-5 { --bs-gutter-x: 3rem; } .g-sm-5, .gy-sm-5 { --bs-gutter-y: 3rem; } } @media (min-width: 768px) { .col-md { -ms-flex: 1 0 0%; flex: 1 0 0%; } .row-cols-md-auto > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: auto; } .row-cols-md-1 > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 100%; } .row-cols-md-2 > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 50%; } .row-cols-md-3 > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 33.333333%; } .row-cols-md-4 > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 25%; } .row-cols-md-5 > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 20%; } .row-cols-md-6 > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 16.666667%; } .col-md-auto { -ms-flex: 0 0 auto; flex: 0 0 auto; width: auto; } .col-md-1 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 8.333333%; } .col-md-2 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 16.666667%; } .col-md-3 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 25%; } .col-md-4 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 33.333333%; } .col-md-5 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 41.666667%; } .col-md-6 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 50%; } .col-md-7 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 58.333333%; } .col-md-8 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 66.666667%; } .col-md-9 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 75%; } .col-md-10 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 83.333333%; } .col-md-11 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 91.666667%; } .col-md-12 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 100%; } .offset-md-0 { margin-left: 0; } .offset-md-1 { margin-left: 8.333333%; } .offset-md-2 { margin-left: 16.666667%; } .offset-md-3 { margin-left: 25%; } .offset-md-4 { margin-left: 33.333333%; } .offset-md-5 { margin-left: 41.666667%; } .offset-md-6 { margin-left: 50%; } .offset-md-7 { margin-left: 58.333333%; } .offset-md-8 { margin-left: 66.666667%; } .offset-md-9 { margin-left: 75%; } .offset-md-10 { margin-left: 83.333333%; } .offset-md-11 { margin-left: 91.666667%; } .g-md-0, .gx-md-0 { --bs-gutter-x: 0; } .g-md-0, .gy-md-0 { --bs-gutter-y: 0; } .g-md-1, .gx-md-1 { --bs-gutter-x: 0.25rem; } .g-md-1, .gy-md-1 { --bs-gutter-y: 0.25rem; } .g-md-2, .gx-md-2 { --bs-gutter-x: 0.5rem; } .g-md-2, .gy-md-2 { --bs-gutter-y: 0.5rem; } .g-md-3, .gx-md-3 { --bs-gutter-x: 1rem; } .g-md-3, .gy-md-3 { --bs-gutter-y: 1rem; } .g-md-4, .gx-md-4 { --bs-gutter-x: 1.5rem; } .g-md-4, .gy-md-4 { --bs-gutter-y: 1.5rem; } .g-md-5, .gx-md-5 { --bs-gutter-x: 3rem; } .g-md-5, .gy-md-5 { --bs-gutter-y: 3rem; } } @media (min-width: 992px) { .col-lg { -ms-flex: 1 0 0%; flex: 1 0 0%; } .row-cols-lg-auto > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: auto; } .row-cols-lg-1 > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 100%; } .row-cols-lg-2 > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 50%; } .row-cols-lg-3 > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 33.333333%; } .row-cols-lg-4 > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 25%; } .row-cols-lg-5 > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 20%; } .row-cols-lg-6 > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 16.666667%; } .col-lg-auto { -ms-flex: 0 0 auto; flex: 0 0 auto; width: auto; } .col-lg-1 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 8.333333%; } .col-lg-2 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 16.666667%; } .col-lg-3 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 25%; } .col-lg-4 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 33.333333%; } .col-lg-5 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 41.666667%; } .col-lg-6 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 50%; } .col-lg-7 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 58.333333%; } .col-lg-8 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 66.666667%; } .col-lg-9 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 75%; } .col-lg-10 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 83.333333%; } .col-lg-11 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 91.666667%; } .col-lg-12 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 100%; } .offset-lg-0 { margin-left: 0; } .offset-lg-1 { margin-left: 8.333333%; } .offset-lg-2 { margin-left: 16.666667%; } .offset-lg-3 { margin-left: 25%; } .offset-lg-4 { margin-left: 33.333333%; } .offset-lg-5 { margin-left: 41.666667%; } .offset-lg-6 { margin-left: 50%; } .offset-lg-7 { margin-left: 58.333333%; } .offset-lg-8 { margin-left: 66.666667%; } .offset-lg-9 { margin-left: 75%; } .offset-lg-10 { margin-left: 83.333333%; } .offset-lg-11 { margin-left: 91.666667%; } .g-lg-0, .gx-lg-0 { --bs-gutter-x: 0; } .g-lg-0, .gy-lg-0 { --bs-gutter-y: 0; } .g-lg-1, .gx-lg-1 { --bs-gutter-x: 0.25rem; } .g-lg-1, .gy-lg-1 { --bs-gutter-y: 0.25rem; } .g-lg-2, .gx-lg-2 { --bs-gutter-x: 0.5rem; } .g-lg-2, .gy-lg-2 { --bs-gutter-y: 0.5rem; } .g-lg-3, .gx-lg-3 { --bs-gutter-x: 1rem; } .g-lg-3, .gy-lg-3 { --bs-gutter-y: 1rem; } .g-lg-4, .gx-lg-4 { --bs-gutter-x: 1.5rem; } .g-lg-4, .gy-lg-4 { --bs-gutter-y: 1.5rem; } .g-lg-5, .gx-lg-5 { --bs-gutter-x: 3rem; } .g-lg-5, .gy-lg-5 { --bs-gutter-y: 3rem; } } @media (min-width: 1200px) { .col-xl { -ms-flex: 1 0 0%; flex: 1 0 0%; } .row-cols-xl-auto > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: auto; } .row-cols-xl-1 > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 100%; } .row-cols-xl-2 > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 50%; } .row-cols-xl-3 > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 33.333333%; } .row-cols-xl-4 > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 25%; } .row-cols-xl-5 > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 20%; } .row-cols-xl-6 > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 16.666667%; } .col-xl-auto { -ms-flex: 0 0 auto; flex: 0 0 auto; width: auto; } .col-xl-1 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 8.333333%; } .col-xl-2 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 16.666667%; } .col-xl-3 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 25%; } .col-xl-4 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 33.333333%; } .col-xl-5 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 41.666667%; } .col-xl-6 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 50%; } .col-xl-7 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 58.333333%; } .col-xl-8 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 66.666667%; } .col-xl-9 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 75%; } .col-xl-10 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 83.333333%; } .col-xl-11 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 91.666667%; } .col-xl-12 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 100%; } .offset-xl-0 { margin-left: 0; } .offset-xl-1 { margin-left: 8.333333%; } .offset-xl-2 { margin-left: 16.666667%; } .offset-xl-3 { margin-left: 25%; } .offset-xl-4 { margin-left: 33.333333%; } .offset-xl-5 { margin-left: 41.666667%; } .offset-xl-6 { margin-left: 50%; } .offset-xl-7 { margin-left: 58.333333%; } .offset-xl-8 { margin-left: 66.666667%; } .offset-xl-9 { margin-left: 75%; } .offset-xl-10 { margin-left: 83.333333%; } .offset-xl-11 { margin-left: 91.666667%; } .g-xl-0, .gx-xl-0 { --bs-gutter-x: 0; } .g-xl-0, .gy-xl-0 { --bs-gutter-y: 0; } .g-xl-1, .gx-xl-1 { --bs-gutter-x: 0.25rem; } .g-xl-1, .gy-xl-1 { --bs-gutter-y: 0.25rem; } .g-xl-2, .gx-xl-2 { --bs-gutter-x: 0.5rem; } .g-xl-2, .gy-xl-2 { --bs-gutter-y: 0.5rem; } .g-xl-3, .gx-xl-3 { --bs-gutter-x: 1rem; } .g-xl-3, .gy-xl-3 { --bs-gutter-y: 1rem; } .g-xl-4, .gx-xl-4 { --bs-gutter-x: 1.5rem; } .g-xl-4, .gy-xl-4 { --bs-gutter-y: 1.5rem; } .g-xl-5, .gx-xl-5 { --bs-gutter-x: 3rem; } .g-xl-5, .gy-xl-5 { --bs-gutter-y: 3rem; } } @media (min-width: 1400px) { .col-xxl { -ms-flex: 1 0 0%; flex: 1 0 0%; } .row-cols-xxl-auto > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: auto; } .row-cols-xxl-1 > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 100%; } .row-cols-xxl-2 > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 50%; } .row-cols-xxl-3 > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 33.333333%; } .row-cols-xxl-4 > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 25%; } .row-cols-xxl-5 > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 20%; } .row-cols-xxl-6 > * { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 16.666667%; } .col-xxl-auto { -ms-flex: 0 0 auto; flex: 0 0 auto; width: auto; } .col-xxl-1 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 8.333333%; } .col-xxl-2 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 16.666667%; } .col-xxl-3 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 25%; } .col-xxl-4 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 33.333333%; } .col-xxl-5 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 41.666667%; } .col-xxl-6 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 50%; } .col-xxl-7 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 58.333333%; } .col-xxl-8 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 66.666667%; } .col-xxl-9 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 75%; } .col-xxl-10 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 83.333333%; } .col-xxl-11 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 91.666667%; } .col-xxl-12 { -ms-flex: 0 0 auto; flex: 0 0 auto; width: 100%; } .offset-xxl-0 { margin-left: 0; } .offset-xxl-1 { margin-left: 8.333333%; } .offset-xxl-2 { margin-left: 16.666667%; } .offset-xxl-3 { margin-left: 25%; } .offset-xxl-4 { margin-left: 33.333333%; } .offset-xxl-5 { margin-left: 41.666667%; } .offset-xxl-6 { margin-left: 50%; } .offset-xxl-7 { margin-left: 58.333333%; } .offset-xxl-8 { margin-left: 66.666667%; } .offset-xxl-9 { margin-left: 75%; } .offset-xxl-10 { margin-left: 83.333333%; } .offset-xxl-11 { margin-left: 91.666667%; } .g-xxl-0, .gx-xxl-0 { --bs-gutter-x: 0; } .g-xxl-0, .gy-xxl-0 { --bs-gutter-y: 0; } .g-xxl-1, .gx-xxl-1 { --bs-gutter-x: 0.25rem; } .g-xxl-1, .gy-xxl-1 { --bs-gutter-y: 0.25rem; } .g-xxl-2, .gx-xxl-2 { --bs-gutter-x: 0.5rem; } .g-xxl-2, .gy-xxl-2 { --bs-gutter-y: 0.5rem; } .g-xxl-3, .gx-xxl-3 { --bs-gutter-x: 1rem; } .g-xxl-3, .gy-xxl-3 { --bs-gutter-y: 1rem; } .g-xxl-4, .gx-xxl-4 { --bs-gutter-x: 1.5rem; } .g-xxl-4, .gy-xxl-4 { --bs-gutter-y: 1.5rem; } .g-xxl-5, .gx-xxl-5 { --bs-gutter-x: 3rem; } .g-xxl-5, .gy-xxl-5 { --bs-gutter-y: 3rem; } } .table { --bs-table-bg: transparent; --bs-table-accent-bg: transparent; --bs-table-striped-color: #fff; --bs-table-striped-bg: rgba(0, 0, 0, 0.05); --bs-table-active-color: #fff; --bs-table-active-bg: rgba(0, 0, 0, 0.1); --bs-table-hover-color: #fff; --bs-table-hover-bg: rgba(0, 0, 0, 0.075); width: 100%; margin-bottom: 1rem; color: #fff; vertical-align: top; border-color: #444; } .table > :not(caption) > * > * { padding: 0.5rem 0.5rem; background-color: var(--bs-table-bg); border-bottom-width: 1px; box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg); } .table > tbody { vertical-align: inherit; } .table > thead { vertical-align: bottom; } .table > :not(:last-child) > :last-child > * { border-bottom-color: currentColor; } .caption-top { caption-side: top; } .table-sm > :not(caption) > * > * { padding: 0.25rem 0.25rem; } .table-bordered > :not(caption) > * { border-width: 1px 0; } .table-bordered > :not(caption) > * > * { border-width: 0 1px; } .table-borderless > :not(caption) > * > * { border-bottom-width: 0; } .table-striped > tbody > tr:nth-of-type(odd) { --bs-table-accent-bg: var(--bs-table-striped-bg); color: var(--bs-table-striped-color); } .table-active { --bs-table-accent-bg: var(--bs-table-active-bg); color: var(--bs-table-active-color); } .table-hover > tbody > tr:hover { --bs-table-accent-bg: var(--bs-table-hover-bg); color: var(--bs-table-hover-color); } .table-primary { --bs-table-bg: #375a7f; --bs-table-striped-bg: #416285; --bs-table-striped-color: #fff; --bs-table-active-bg: #4b6b8c; --bs-table-active-color: #fff; --bs-table-hover-bg: #466689; --bs-table-hover-color: #fff; color: #fff; border-color: #4b6b8c; } .table-secondary { --bs-table-bg: #444444; --bs-table-striped-bg: #4d4d4d; --bs-table-striped-color: #fff; --bs-table-active-bg: #575757; --bs-table-active-color: #fff; --bs-table-hover-bg: #525252; --bs-table-hover-color: #fff; color: #fff; border-color: #575757; } .table-success { --bs-table-bg: #00bc8c; --bs-table-striped-bg: #0dbf92; --bs-table-striped-color: #fff; --bs-table-active-bg: #1ac398; --bs-table-active-color: #fff; --bs-table-hover-bg: #13c195; --bs-table-hover-color: #fff; color: #fff; border-color: #1ac398; } .table-info { --bs-table-bg: #3498db; --bs-table-striped-bg: #3e9ddd; --bs-table-striped-color: #fff; --bs-table-active-bg: #48a2df; --bs-table-active-color: #fff; --bs-table-hover-bg: #43a0de; --bs-table-hover-color: #fff; color: #fff; border-color: #48a2df; } .table-warning { --bs-table-bg: #f39c12; --bs-table-striped-bg: #f4a11e; --bs-table-striped-color: #fff; --bs-table-active-bg: #f4a62a; --bs-table-active-color: #fff; --bs-table-hover-bg: #f4a324; --bs-table-hover-color: #fff; color: #fff; border-color: #f4a62a; } .table-danger { --bs-table-bg: #e74c3c; --bs-table-striped-bg: #e85546; --bs-table-striped-color: #fff; --bs-table-active-bg: #e95e50; --bs-table-active-color: #fff; --bs-table-hover-bg: #e9594b; --bs-table-hover-color: #fff; color: #fff; border-color: #e95e50; } .table-light { --bs-table-bg: #adb5bd; --bs-table-striped-bg: #b1b9c0; --bs-table-striped-color: #fff; --bs-table-active-bg: #b5bcc4; --bs-table-active-color: #fff; --bs-table-hover-bg: #b3bbc2; --bs-table-hover-color: #fff; color: #fff; border-color: #b5bcc4; } .table-dark { --bs-table-bg: #303030; --bs-table-striped-bg: #3a3a3a; --bs-table-striped-color: #fff; --bs-table-active-bg: #454545; --bs-table-active-color: #fff; --bs-table-hover-bg: #404040; --bs-table-hover-color: #fff; color: #fff; border-color: #454545; } .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; } @media (max-width: 575.98px) { .table-responsive-sm { overflow-x: auto; -webkit-overflow-scrolling: touch; } } @media (max-width: 767.98px) { .table-responsive-md { overflow-x: auto; -webkit-overflow-scrolling: touch; } } @media (max-width: 991.98px) { .table-responsive-lg { overflow-x: auto; -webkit-overflow-scrolling: touch; } } @media (max-width: 1199.98px) { .table-responsive-xl { overflow-x: auto; -webkit-overflow-scrolling: touch; } } @media (max-width: 1399.98px) { .table-responsive-xxl { overflow-x: auto; -webkit-overflow-scrolling: touch; } } .form-label { margin-bottom: 0.5rem; } .col-form-label { padding-top: calc(0.375rem + 1px); padding-bottom: calc(0.375rem + 1px); margin-bottom: 0; font-size: inherit; line-height: 1.5; } .col-form-label-lg { padding-top: calc(0.5rem + 1px); padding-bottom: calc(0.5rem + 1px); font-size: 1.25rem; } .col-form-label-sm { padding-top: calc(0.25rem + 1px); padding-bottom: calc(0.25rem + 1px); font-size: 0.875rem; } .form-text { margin-top: 0.25rem; font-size: 0.875em; color: #888; } .form-control { display: block; width: 100%; padding: 0.375rem 0.75rem; font-size: 1rem; font-weight: 400; line-height: 1.5; color: #303030; background-color: #fff; background-clip: padding-box; border: 1px solid #222; -webkit-appearance: none; -moz-appearance: none; appearance: none; border-radius: 0.25rem; transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; } @media (prefers-reduced-motion: reduce) { .form-control { transition: none; } } .form-control[type="file"] { overflow: hidden; } .form-control[type="file"]:not(:disabled):not([readonly]) { cursor: pointer; } .form-control:focus { color: #303030; background-color: #fff; border-color: #9badbf; outline: 0; box-shadow: 0 0 0 0.25rem rgba(55, 90, 127, 0.25); } .form-control::-webkit-date-and-time-value { height: 1.5em; } .form-control::-webkit-input-placeholder { color: #888; opacity: 1; } .form-control::-moz-placeholder { color: #888; opacity: 1; } .form-control:-ms-input-placeholder { color: #888; opacity: 1; } .form-control::-ms-input-placeholder { color: #888; opacity: 1; } .form-control::placeholder { color: #888; opacity: 1; } .form-control:disabled, .form-control[readonly] { background-color: #ebebeb; opacity: 1; } .form-control::file-selector-button { padding: 0.375rem 0.75rem; margin: -0.375rem -0.75rem; -webkit-margin-end: 0.75rem; -moz-margin-end: 0.75rem; margin-inline-end: 0.75rem; color: #fff; background-color: #444; pointer-events: none; border-color: inherit; border-style: solid; border-width: 0; border-inline-end-width: 1px; border-radius: 0; transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; } @media (prefers-reduced-motion: reduce) { .form-control::file-selector-button { transition: none; } } .form-control:hover:not(:disabled):not([readonly])::file-selector-button { background-color: #414141; } .form-control::-webkit-file-upload-button { padding: 0.375rem 0.75rem; margin: -0.375rem -0.75rem; -webkit-margin-end: 0.75rem; margin-inline-end: 0.75rem; color: #fff; background-color: #444; pointer-events: none; border-color: inherit; border-style: solid; border-width: 0; border-inline-end-width: 1px; border-radius: 0; -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; } @media (prefers-reduced-motion: reduce) { .form-control::-webkit-file-upload-button { -webkit-transition: none; transition: none; } } .form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button { background-color: #414141; } .form-control-plaintext { display: block; width: 100%; padding: 0.375rem 0; margin-bottom: 0; line-height: 1.5; color: #fff; background-color: transparent; border: solid transparent; border-width: 1px 0; } .form-control-plaintext.form-control-sm, .form-control-plaintext.form-control-lg { padding-right: 0; padding-left: 0; } .form-control-sm { min-height: calc(1.5em + 0.5rem + 2px); padding: 0.25rem 0.5rem; font-size: 0.875rem; border-radius: 0.2rem; } .form-control-sm::file-selector-button { padding: 0.25rem 0.5rem; margin: -0.25rem -0.5rem; -webkit-margin-end: 0.5rem; -moz-margin-end: 0.5rem; margin-inline-end: 0.5rem; } .form-control-sm::-webkit-file-upload-button { padding: 0.25rem 0.5rem; margin: -0.25rem -0.5rem; -webkit-margin-end: 0.5rem; margin-inline-end: 0.5rem; } .form-control-lg { min-height: calc(1.5em + 1rem + 2px); padding: 0.5rem 1rem; font-size: 1.25rem; border-radius: 0.3rem; } .form-control-lg::file-selector-button { padding: 0.5rem 1rem; margin: -0.5rem -1rem; -webkit-margin-end: 1rem; -moz-margin-end: 1rem; margin-inline-end: 1rem; } .form-control-lg::-webkit-file-upload-button { padding: 0.5rem 1rem; margin: -0.5rem -1rem; -webkit-margin-end: 1rem; margin-inline-end: 1rem; } textarea.form-control { min-height: calc(1.5em + 0.75rem + 2px); } textarea.form-control-sm { min-height: calc(1.5em + 0.5rem + 2px); } textarea.form-control-lg { min-height: calc(1.5em + 1rem + 2px); } .form-control-color { width: 3rem; height: auto; padding: 0.375rem; } .form-control-color:not(:disabled):not([readonly]) { cursor: pointer; } .form-control-color::-moz-color-swatch { height: 1.5em; border-radius: 0.25rem; } .form-control-color::-webkit-color-swatch { height: 1.5em; border-radius: 0.25rem; } .form-select { display: block; width: 100%; padding: 0.375rem 2.25rem 0.375rem 0.75rem; -moz-padding-start: calc(0.75rem - 3px); font-size: 1rem; font-weight: 400; line-height: 1.5; color: #303030; background-color: #fff; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23303030' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 0.75rem center; background-size: 16px 12px; border: 1px solid #222; border-radius: 0.25rem; transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; -webkit-appearance: none; -moz-appearance: none; appearance: none; } @media (prefers-reduced-motion: reduce) { .form-select { transition: none; } } .form-select:focus { border-color: #9badbf; outline: 0; box-shadow: 0 0 0 0.25rem rgba(55, 90, 127, 0.25); } .form-select[multiple], .form-select[size]:not([size="1"]) { padding-right: 0.75rem; background-image: none; } .form-select:disabled { background-color: #ebebeb; } .form-select:-moz-focusring { color: transparent; text-shadow: 0 0 0 #303030; } .form-select-sm { padding-top: 0.25rem; padding-bottom: 0.25rem; padding-left: 0.5rem; font-size: 0.875rem; } .form-select-lg { padding-top: 0.5rem; padding-bottom: 0.5rem; padding-left: 1rem; font-size: 1.25rem; } .form-check { display: block; min-height: 1.5rem; padding-left: 1.5em; margin-bottom: 0.125rem; } .form-check .form-check-input { float: left; margin-left: -1.5em; } .form-check-input { width: 1em; height: 1em; margin-top: 0.25em; vertical-align: top; background-color: #fff; background-repeat: no-repeat; background-position: center; background-size: contain; border: none; -webkit-appearance: none; -moz-appearance: none; appearance: none; -webkit-print-color-adjust: exact; color-adjust: exact; } .form-check-input[type="checkbox"] { border-radius: 0.25em; } .form-check-input[type="radio"] { border-radius: 50%; } .form-check-input:active { -webkit-filter: brightness(90%); filter: brightness(90%); } .form-check-input:focus { border-color: #9badbf; outline: 0; box-shadow: 0 0 0 0.25rem rgba(55, 90, 127, 0.25); } .form-check-input:checked { background-color: #375a7f; border-color: #375a7f; } .form-check-input:checked[type="checkbox"] { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e"); } .form-check-input:checked[type="radio"] { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e"); } .form-check-input[type="checkbox"]:indeterminate { background-color: #375a7f; border-color: #375a7f; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e"); } .form-check-input:disabled { pointer-events: none; -webkit-filter: none; filter: none; opacity: 0.5; } .form-check-input[disabled] ~ .form-check-label, .form-check-input:disabled ~ .form-check-label { opacity: 0.5; } .form-switch { padding-left: 2.5em; } .form-switch .form-check-input { width: 2em; margin-left: -2.5em; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e"); background-position: left center; border-radius: 2em; transition: background-position 0.15s ease-in-out; } @media (prefers-reduced-motion: reduce) { .form-switch .form-check-input { transition: none; } } .form-switch .form-check-input:focus { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%239badbf'/%3e%3c/svg%3e"); } .form-switch .form-check-input:checked { background-position: right center; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e"); } .form-check-inline { display: inline-block; margin-right: 1rem; } .btn-check { position: absolute; clip: rect(0, 0, 0, 0); pointer-events: none; } .btn-check[disabled] + .btn, .btn-check:disabled + .btn { pointer-events: none; -webkit-filter: none; filter: none; opacity: 0.65; } .form-range { width: 100%; height: 1.5rem; padding: 0; background-color: transparent; -webkit-appearance: none; -moz-appearance: none; appearance: none; } .form-range:focus { outline: 0; } .form-range:focus::-webkit-slider-thumb { box-shadow: 0 0 0 1px #222, 0 0 0 0.25rem rgba(55, 90, 127, 0.25); } .form-range:focus::-moz-range-thumb { box-shadow: 0 0 0 1px #222, 0 0 0 0.25rem rgba(55, 90, 127, 0.25); } .form-range::-moz-focus-outer { border: 0; } .form-range::-webkit-slider-thumb { width: 1rem; height: 1rem; margin-top: -0.25rem; background-color: #375a7f; border: 0; border-radius: 1rem; -webkit-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; -webkit-appearance: none; appearance: none; } @media (prefers-reduced-motion: reduce) { .form-range::-webkit-slider-thumb { -webkit-transition: none; transition: none; } } .form-range::-webkit-slider-thumb:active { background-color: #c3ced9; } .form-range::-webkit-slider-runnable-track { width: 100%; height: 0.5rem; color: transparent; cursor: pointer; background-color: #dee2e6; border-color: transparent; border-radius: 1rem; } .form-range::-moz-range-thumb { width: 1rem; height: 1rem; background-color: #375a7f; border: 0; border-radius: 1rem; -moz-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; -moz-appearance: none; appearance: none; } @media (prefers-reduced-motion: reduce) { .form-range::-moz-range-thumb { -moz-transition: none; transition: none; } } .form-range::-moz-range-thumb:active { background-color: #c3ced9; } .form-range::-moz-range-track { width: 100%; height: 0.5rem; color: transparent; cursor: pointer; background-color: #dee2e6; border-color: transparent; border-radius: 1rem; } .form-range:disabled { pointer-events: none; } .form-range:disabled::-webkit-slider-thumb { background-color: #adb5bd; } .form-range:disabled::-moz-range-thumb { background-color: #adb5bd; } .form-floating { position: relative; } .form-floating > .form-control, .form-floating > .form-select { height: calc(3.5rem + 2px); line-height: 1.25; } .form-floating > label { position: absolute; top: 0; left: 0; height: 100%; padding: 1rem 0.75rem; pointer-events: none; border: 1px solid transparent; -webkit-transform-origin: 0 0; transform-origin: 0 0; transition: opacity 0.1s ease-in-out, -webkit-transform 0.1s ease-in-out; transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out; transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out, -webkit-transform 0.1s ease-in-out; } @media (prefers-reduced-motion: reduce) { .form-floating > label { transition: none; } } .form-floating > .form-control { padding: 1rem 0.75rem; } .form-floating > .form-control::-webkit-input-placeholder { color: transparent; } .form-floating > .form-control::-moz-placeholder { color: transparent; } .form-floating > .form-control:-ms-input-placeholder { color: transparent; } .form-floating > .form-control::-ms-input-placeholder { color: transparent; } .form-floating > .form-control::placeholder { color: transparent; } .form-floating > .form-control:not(:-moz-placeholder-shown) { padding-top: 1.625rem; padding-bottom: 0.625rem; } .form-floating > .form-control:not(:-ms-input-placeholder) { padding-top: 1.625rem; padding-bottom: 0.625rem; } .form-floating > .form-control:focus, .form-floating > .form-control:not(:placeholder-shown) { padding-top: 1.625rem; padding-bottom: 0.625rem; } .form-floating > .form-control:-webkit-autofill { padding-top: 1.625rem; padding-bottom: 0.625rem; } .form-floating > .form-select { padding-top: 1.625rem; padding-bottom: 0.625rem; } .form-floating > .form-control:not(:-moz-placeholder-shown) ~ label { opacity: 0.65; transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem); } .form-floating > .form-control:not(:-ms-input-placeholder) ~ label { opacity: 0.65; transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem); } .form-floating > .form-control:focus ~ label, .form-floating > .form-control:not(:placeholder-shown) ~ label, .form-floating > .form-select ~ label { opacity: 0.65; -webkit-transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem); transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem); } .form-floating > .form-control:-webkit-autofill ~ label { opacity: 0.65; -webkit-transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem); transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem); } .input-group { position: relative; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; -ms-flex-align: stretch; align-items: stretch; width: 100%; } .input-group > .form-control, .input-group > .form-select { position: relative; -ms-flex: 1 1 auto; flex: 1 1 auto; width: 1%; min-width: 0; } .input-group > .form-control:focus, .input-group > .form-select:focus { z-index: 3; } .input-group .btn { position: relative; z-index: 2; } .input-group .btn:focus { z-index: 3; } .input-group-text { display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; padding: 0.375rem 0.75rem; font-size: 1rem; font-weight: 400; line-height: 1.5; color: #adb5bd; text-align: center; white-space: nowrap; background-color: #444; border: 1px solid #222; border-radius: 0.25rem; } .input-group-lg > .form-control, .input-group-lg > .form-select, .input-group-lg > .input-group-text, .input-group-lg > .btn { padding: 0.5rem 1rem; font-size: 1.25rem; border-radius: 0.3rem; } .input-group-sm > .form-control, .input-group-sm > .form-select, .input-group-sm > .input-group-text, .input-group-sm > .btn { padding: 0.25rem 0.5rem; font-size: 0.875rem; border-radius: 0.2rem; } .input-group-lg > .form-select, .input-group-sm > .form-select { padding-right: 3rem; } .input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu), .input-group:not(.has-validation) > .dropdown-toggle:nth-last-child(n + 3) { border-top-right-radius: 0; border-bottom-right-radius: 0; } .input-group.has-validation > :nth-last-child(n + 3):not(.dropdown-toggle):not(.dropdown-menu), .input-group.has-validation > .dropdown-toggle:nth-last-child(n + 4) { border-top-right-radius: 0; border-bottom-right-radius: 0; } .input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) { margin-left: -1px; border-top-left-radius: 0; border-bottom-left-radius: 0; } .valid-feedback { display: none; width: 100%; margin-top: 0.25rem; font-size: 0.875em; color: #00bc8c; } .valid-tooltip { position: absolute; top: 100%; z-index: 5; display: none; max-width: 100%; padding: 0.25rem 0.5rem; margin-top: .1rem; font-size: 0.875rem; color: #fff; background-color: rgba(0, 188, 140, 0.9); border-radius: 0.25rem; } .was-validated :valid ~ .valid-feedback, .was-validated :valid ~ .valid-tooltip, .is-valid ~ .valid-feedback, .is-valid ~ .valid-tooltip { display: block; } .was-validated .form-control:valid, .form-control.is-valid { border-color: #00bc8c; padding-right: calc(1.5em + 0.75rem); background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2300bc8c' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right calc(0.375em + 0.1875rem) center; background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); } .was-validated .form-control:valid:focus, .form-control.is-valid:focus { border-color: #00bc8c; box-shadow: 0 0 0 0.25rem rgba(0, 188, 140, 0.25); } .was-validated textarea.form-control:valid, textarea.form-control.is-valid { padding-right: calc(1.5em + 0.75rem); background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem); } .was-validated .form-select:valid, .form-select.is-valid { border-color: #00bc8c; } .was-validated .form-select:valid:not([multiple]):not([size]), .was-validated .form-select:valid:not([multiple])[size="1"], .form-select.is-valid:not([multiple]):not([size]), .form-select.is-valid:not([multiple])[size="1"] { padding-right: 4.125rem; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23303030' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"), url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2300bc8c' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e"); background-position: right 0.75rem center, center right 2.25rem; background-size: 16px 12px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); } .was-validated .form-select:valid:focus, .form-select.is-valid:focus { border-color: #00bc8c; box-shadow: 0 0 0 0.25rem rgba(0, 188, 140, 0.25); } .was-validated .form-check-input:valid, .form-check-input.is-valid { border-color: #00bc8c; } .was-validated .form-check-input:valid:checked, .form-check-input.is-valid:checked { background-color: #00bc8c; } .was-validated .form-check-input:valid:focus, .form-check-input.is-valid:focus { box-shadow: 0 0 0 0.25rem rgba(0, 188, 140, 0.25); } .was-validated .form-check-input:valid ~ .form-check-label, .form-check-input.is-valid ~ .form-check-label { color: #00bc8c; } .form-check-inline .form-check-input ~ .valid-feedback { margin-left: .5em; } .was-validated .input-group .form-control:valid, .input-group .form-control.is-valid, .was-validated .input-group .form-select:valid, .input-group .form-select.is-valid { z-index: 1; } .was-validated .input-group .form-control:valid:focus, .input-group .form-control.is-valid:focus, .was-validated .input-group .form-select:valid:focus, .input-group .form-select.is-valid:focus { z-index: 3; } .invalid-feedback { display: none; width: 100%; margin-top: 0.25rem; font-size: 0.875em; color: #e74c3c; } .invalid-tooltip { position: absolute; top: 100%; z-index: 5; display: none; max-width: 100%; padding: 0.25rem 0.5rem; margin-top: .1rem; font-size: 0.875rem; color: #fff; background-color: rgba(231, 76, 60, 0.9); border-radius: 0.25rem; } .was-validated :invalid ~ .invalid-feedback, .was-validated :invalid ~ .invalid-tooltip, .is-invalid ~ .invalid-feedback, .is-invalid ~ .invalid-tooltip { display: block; } .was-validated .form-control:invalid, .form-control.is-invalid { border-color: #e74c3c; padding-right: calc(1.5em + 0.75rem); background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23e74c3c'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23e74c3c' stroke='none'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right calc(0.375em + 0.1875rem) center; background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); } .was-validated .form-control:invalid:focus, .form-control.is-invalid:focus { border-color: #e74c3c; box-shadow: 0 0 0 0.25rem rgba(231, 76, 60, 0.25); } .was-validated textarea.form-control:invalid, textarea.form-control.is-invalid { padding-right: calc(1.5em + 0.75rem); background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem); } .was-validated .form-select:invalid, .form-select.is-invalid { border-color: #e74c3c; } .was-validated .form-select:invalid:not([multiple]):not([size]), .was-validated .form-select:invalid:not([multiple])[size="1"], .form-select.is-invalid:not([multiple]):not([size]), .form-select.is-invalid:not([multiple])[size="1"] { padding-right: 4.125rem; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23303030' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"), url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23e74c3c'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23e74c3c' stroke='none'/%3e%3c/svg%3e"); background-position: right 0.75rem center, center right 2.25rem; background-size: 16px 12px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); } .was-validated .form-select:invalid:focus, .form-select.is-invalid:focus { border-color: #e74c3c; box-shadow: 0 0 0 0.25rem rgba(231, 76, 60, 0.25); } .was-validated .form-check-input:invalid, .form-check-input.is-invalid { border-color: #e74c3c; } .was-validated .form-check-input:invalid:checked, .form-check-input.is-invalid:checked { background-color: #e74c3c; } .was-validated .form-check-input:invalid:focus, .form-check-input.is-invalid:focus { box-shadow: 0 0 0 0.25rem rgba(231, 76, 60, 0.25); } .was-validated .form-check-input:invalid ~ .form-check-label, .form-check-input.is-invalid ~ .form-check-label { color: #e74c3c; } .form-check-inline .form-check-input ~ .invalid-feedback { margin-left: .5em; } .was-validated .input-group .form-control:invalid, .input-group .form-control.is-invalid, .was-validated .input-group .form-select:invalid, .input-group .form-select.is-invalid { z-index: 2; } .was-validated .input-group .form-control:invalid:focus, .input-group .form-control.is-invalid:focus, .was-validated .input-group .form-select:invalid:focus, .input-group .form-select.is-invalid:focus { z-index: 3; } .btn { display: inline-block; font-weight: 400; line-height: 1.5; color: #fff; text-align: center; text-decoration: none; vertical-align: middle; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; background-color: transparent; border: 1px solid transparent; padding: 0.375rem 0.75rem; font-size: 1rem; border-radius: 0.25rem; transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; } @media (prefers-reduced-motion: reduce) { .btn { transition: none; } } .btn:hover { color: #fff; } .btn-check:focus + .btn, .btn:focus { outline: 0; box-shadow: 0 0 0 0.25rem rgba(55, 90, 127, 0.25); } .btn:disabled, .btn.disabled, fieldset:disabled .btn { pointer-events: none; opacity: 0.65; } .btn-primary { color: #fff; background-color: #375a7f; border-color: #375a7f; } .btn-primary:hover { color: #fff; background-color: #2f4d6c; border-color: #2c4866; } .btn-check:focus + .btn-primary, .btn-primary:focus { color: #fff; background-color: #2f4d6c; border-color: #2c4866; box-shadow: 0 0 0 0.25rem rgba(85, 115, 146, 0.5); } .btn-check:checked + .btn-primary, .btn-check:active + .btn-primary, .btn-primary:active, .btn-primary.active, .show > .btn-primary.dropdown-toggle { color: #fff; background-color: #2c4866; border-color: #29445f; } .btn-check:checked + .btn-primary:focus, .btn-check:active + .btn-primary:focus, .btn-primary:active:focus, .btn-primary.active:focus, .show > .btn-primary.dropdown-toggle:focus { box-shadow: 0 0 0 0.25rem rgba(85, 115, 146, 0.5); } .btn-primary:disabled, .btn-primary.disabled { color: #fff; background-color: #375a7f; border-color: #375a7f; } .btn-secondary { color: #fff; background-color: #444; border-color: #444; } .btn-secondary:hover { color: #fff; background-color: #3a3a3a; border-color: #363636; } .btn-check:focus + .btn-secondary, .btn-secondary:focus { color: #fff; background-color: #3a3a3a; border-color: #363636; box-shadow: 0 0 0 0.25rem rgba(96, 96, 96, 0.5); } .btn-check:checked + .btn-secondary, .btn-check:active + .btn-secondary, .btn-secondary:active, .btn-secondary.active, .show > .btn-secondary.dropdown-toggle { color: #fff; background-color: #363636; border-color: #333333; } .btn-check:checked + .btn-secondary:focus, .btn-check:active + .btn-secondary:focus, .btn-secondary:active:focus, .btn-secondary.active:focus, .show > .btn-secondary.dropdown-toggle:focus { box-shadow: 0 0 0 0.25rem rgba(96, 96, 96, 0.5); } .btn-secondary:disabled, .btn-secondary.disabled { color: #fff; background-color: #444; border-color: #444; } .btn-success { color: #fff; background-color: #00bc8c; border-color: #00bc8c; } .btn-success:hover { color: #fff; background-color: #00a077; border-color: #009670; } .btn-check:focus + .btn-success, .btn-success:focus { color: #fff; background-color: #00a077; border-color: #009670; box-shadow: 0 0 0 0.25rem rgba(38, 198, 157, 0.5); } .btn-check:checked + .btn-success, .btn-check:active + .btn-success, .btn-success:active, .btn-success.active, .show > .btn-success.dropdown-toggle { color: #fff; background-color: #009670; border-color: #008d69; } .btn-check:checked + .btn-success:focus, .btn-check:active + .btn-success:focus, .btn-success:active:focus, .btn-success.active:focus, .show > .btn-success.dropdown-toggle:focus { box-shadow: 0 0 0 0.25rem rgba(38, 198, 157, 0.5); } .btn-success:disabled, .btn-success.disabled { color: #fff; background-color: #00bc8c; border-color: #00bc8c; } .btn-info { color: #fff; background-color: #3498db; border-color: #3498db; } .btn-info:hover { color: #fff; background-color: #2c81ba; border-color: #2a7aaf; } .btn-check:focus + .btn-info, .btn-info:focus { color: #fff; background-color: #2c81ba; border-color: #2a7aaf; box-shadow: 0 0 0 0.25rem rgba(82, 167, 224, 0.5); } .btn-check:checked + .btn-info, .btn-check:active + .btn-info, .btn-info:active, .btn-info.active, .show > .btn-info.dropdown-toggle { color: #fff; background-color: #2a7aaf; border-color: #2772a4; } .btn-check:checked + .btn-info:focus, .btn-check:active + .btn-info:focus, .btn-info:active:focus, .btn-info.active:focus, .show > .btn-info.dropdown-toggle:focus { box-shadow: 0 0 0 0.25rem rgba(82, 167, 224, 0.5); } .btn-info:disabled, .btn-info.disabled { color: #fff; background-color: #3498db; border-color: #3498db; } .btn-warning { color: #fff; background-color: #f39c12; border-color: #f39c12; } .btn-warning:hover { color: #fff; background-color: #cf850f; border-color: #c27d0e; } .btn-check:focus + .btn-warning, .btn-warning:focus { color: #fff; background-color: #cf850f; border-color: #c27d0e; box-shadow: 0 0 0 0.25rem rgba(245, 171, 54, 0.5); } .btn-check:checked + .btn-warning, .btn-check:active + .btn-warning, .btn-warning:active, .btn-warning.active, .show > .btn-warning.dropdown-toggle { color: #fff; background-color: #c27d0e; border-color: #b6750e; } .btn-check:checked + .btn-warning:focus, .btn-check:active + .btn-warning:focus, .btn-warning:active:focus, .btn-warning.active:focus, .show > .btn-warning.dropdown-toggle:focus { box-shadow: 0 0 0 0.25rem rgba(245, 171, 54, 0.5); } .btn-warning:disabled, .btn-warning.disabled { color: #fff; background-color: #f39c12; border-color: #f39c12; } .btn-danger { color: #fff; background-color: #e74c3c; border-color: #e74c3c; } .btn-danger:hover { color: #fff; background-color: #c44133; border-color: #b93d30; } .btn-check:focus + .btn-danger, .btn-danger:focus { color: #fff; background-color: #c44133; border-color: #b93d30; box-shadow: 0 0 0 0.25rem rgba(235, 103, 89, 0.5); } .btn-check:checked + .btn-danger, .btn-check:active + .btn-danger, .btn-danger:active, .btn-danger.active, .show > .btn-danger.dropdown-toggle { color: #fff; background-color: #b93d30; border-color: #ad392d; } .btn-check:checked + .btn-danger:focus, .btn-check:active + .btn-danger:focus, .btn-danger:active:focus, .btn-danger.active:focus, .show > .btn-danger.dropdown-toggle:focus { box-shadow: 0 0 0 0.25rem rgba(235, 103, 89, 0.5); } .btn-danger:disabled, .btn-danger.disabled { color: #fff; background-color: #e74c3c; border-color: #e74c3c; } .btn-light { color: #fff; background-color: #adb5bd; border-color: #adb5bd; } .btn-light:hover { color: #fff; background-color: #939aa1; border-color: #8a9197; } .btn-check:focus + .btn-light, .btn-light:focus { color: #fff; background-color: #939aa1; border-color: #8a9197; box-shadow: 0 0 0 0.25rem rgba(185, 192, 199, 0.5); } .btn-check:checked + .btn-light, .btn-check:active + .btn-light, .btn-light:active, .btn-light.active, .show > .btn-light.dropdown-toggle { color: #fff; background-color: #8a9197; border-color: #82888e; } .btn-check:checked + .btn-light:focus, .btn-check:active + .btn-light:focus, .btn-light:active:focus, .btn-light.active:focus, .show > .btn-light.dropdown-toggle:focus { box-shadow: 0 0 0 0.25rem rgba(185, 192, 199, 0.5); } .btn-light:disabled, .btn-light.disabled { color: #fff; background-color: #adb5bd; border-color: #adb5bd; } .btn-dark { color: #fff; background-color: #303030; border-color: #303030; } .btn-dark:hover { color: #fff; background-color: #292929; border-color: #262626; } .btn-check:focus + .btn-dark, .btn-dark:focus { color: #fff; background-color: #292929; border-color: #262626; box-shadow: 0 0 0 0.25rem rgba(79, 79, 79, 0.5); } .btn-check:checked + .btn-dark, .btn-check:active + .btn-dark, .btn-dark:active, .btn-dark.active, .show > .btn-dark.dropdown-toggle { color: #fff; background-color: #262626; border-color: #242424; } .btn-check:checked + .btn-dark:focus, .btn-check:active + .btn-dark:focus, .btn-dark:active:focus, .btn-dark.active:focus, .show > .btn-dark.dropdown-toggle:focus { box-shadow: 0 0 0 0.25rem rgba(79, 79, 79, 0.5); } .btn-dark:disabled, .btn-dark.disabled { color: #fff; background-color: #303030; border-color: #303030; } .btn-outline-primary { color: #375a7f; border-color: #375a7f; } .btn-outline-primary:hover { color: #fff; background-color: #375a7f; border-color: #375a7f; } .btn-check:focus + .btn-outline-primary, .btn-outline-primary:focus { box-shadow: 0 0 0 0.25rem rgba(55, 90, 127, 0.5); } .btn-check:checked + .btn-outline-primary, .btn-check:active + .btn-outline-primary, .btn-outline-primary:active, .btn-outline-primary.active, .btn-outline-primary.dropdown-toggle.show { color: #fff; background-color: #375a7f; border-color: #375a7f; } .btn-check:checked + .btn-outline-primary:focus, .btn-check:active + .btn-outline-primary:focus, .btn-outline-primary:active:focus, .btn-outline-primary.active:focus, .btn-outline-primary.dropdown-toggle.show:focus { box-shadow: 0 0 0 0.25rem rgba(55, 90, 127, 0.5); } .btn-outline-primary:disabled, .btn-outline-primary.disabled { color: #375a7f; background-color: transparent; } .btn-outline-secondary { color: #444; border-color: #444; } .btn-outline-secondary:hover { color: #fff; background-color: #444; border-color: #444; } .btn-check:focus + .btn-outline-secondary, .btn-outline-secondary:focus { box-shadow: 0 0 0 0.25rem rgba(68, 68, 68, 0.5); } .btn-check:checked + .btn-outline-secondary, .btn-check:active + .btn-outline-secondary, .btn-outline-secondary:active, .btn-outline-secondary.active, .btn-outline-secondary.dropdown-toggle.show { color: #fff; background-color: #444; border-color: #444; } .btn-check:checked + .btn-outline-secondary:focus, .btn-check:active + .btn-outline-secondary:focus, .btn-outline-secondary:active:focus, .btn-outline-secondary.active:focus, .btn-outline-secondary.dropdown-toggle.show:focus { box-shadow: 0 0 0 0.25rem rgba(68, 68, 68, 0.5); } .btn-outline-secondary:disabled, .btn-outline-secondary.disabled { color: #444; background-color: transparent; } .btn-outline-success { color: #00bc8c; border-color: #00bc8c; } .btn-outline-success:hover { color: #fff; background-color: #00bc8c; border-color: #00bc8c; } .btn-check:focus + .btn-outline-success, .btn-outline-success:focus { box-shadow: 0 0 0 0.25rem rgba(0, 188, 140, 0.5); } .btn-check:checked + .btn-outline-success, .btn-check:active + .btn-outline-success, .btn-outline-success:active, .btn-outline-success.active, .btn-outline-success.dropdown-toggle.show { color: #fff; background-color: #00bc8c; border-color: #00bc8c; } .btn-check:checked + .btn-outline-success:focus, .btn-check:active + .btn-outline-success:focus, .btn-outline-success:active:focus, .btn-outline-success.active:focus, .btn-outline-success.dropdown-toggle.show:focus { box-shadow: 0 0 0 0.25rem rgba(0, 188, 140, 0.5); } .btn-outline-success:disabled, .btn-outline-success.disabled { color: #00bc8c; background-color: transparent; } .btn-outline-info { color: #3498db; border-color: #3498db; } .btn-outline-info:hover { color: #fff; background-color: #3498db; border-color: #3498db; } .btn-check:focus + .btn-outline-info, .btn-outline-info:focus { box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.5); } .btn-check:checked + .btn-outline-info, .btn-check:active + .btn-outline-info, .btn-outline-info:active, .btn-outline-info.active, .btn-outline-info.dropdown-toggle.show { color: #fff; background-color: #3498db; border-color: #3498db; } .btn-check:checked + .btn-outline-info:focus, .btn-check:active + .btn-outline-info:focus, .btn-outline-info:active:focus, .btn-outline-info.active:focus, .btn-outline-info.dropdown-toggle.show:focus { box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.5); } .btn-outline-info:disabled, .btn-outline-info.disabled { color: #3498db; background-color: transparent; } .btn-outline-warning { color: #f39c12; border-color: #f39c12; } .btn-outline-warning:hover { color: #fff; background-color: #f39c12; border-color: #f39c12; } .btn-check:focus + .btn-outline-warning, .btn-outline-warning:focus { box-shadow: 0 0 0 0.25rem rgba(243, 156, 18, 0.5); } .btn-check:checked + .btn-outline-warning, .btn-check:active + .btn-outline-warning, .btn-outline-warning:active, .btn-outline-warning.active, .btn-outline-warning.dropdown-toggle.show { color: #fff; background-color: #f39c12; border-color: #f39c12; } .btn-check:checked + .btn-outline-warning:focus, .btn-check:active + .btn-outline-warning:focus, .btn-outline-warning:active:focus, .btn-outline-warning.active:focus, .btn-outline-warning.dropdown-toggle.show:focus { box-shadow: 0 0 0 0.25rem rgba(243, 156, 18, 0.5); } .btn-outline-warning:disabled, .btn-outline-warning.disabled { color: #f39c12; background-color: transparent; } .btn-outline-danger { color: #e74c3c; border-color: #e74c3c; } .btn-outline-danger:hover { color: #fff; background-color: #e74c3c; border-color: #e74c3c; } .btn-check:focus + .btn-outline-danger, .btn-outline-danger:focus { box-shadow: 0 0 0 0.25rem rgba(231, 76, 60, 0.5); } .btn-check:checked + .btn-outline-danger, .btn-check:active + .btn-outline-danger, .btn-outline-danger:active, .btn-outline-danger.active, .btn-outline-danger.dropdown-toggle.show { color: #fff; background-color: #e74c3c; border-color: #e74c3c; } .btn-check:checked + .btn-outline-danger:focus, .btn-check:active + .btn-outline-danger:focus, .btn-outline-danger:active:focus, .btn-outline-danger.active:focus, .btn-outline-danger.dropdown-toggle.show:focus { box-shadow: 0 0 0 0.25rem rgba(231, 76, 60, 0.5); } .btn-outline-danger:disabled, .btn-outline-danger.disabled { color: #e74c3c; background-color: transparent; } .btn-outline-light { color: #adb5bd; border-color: #adb5bd; } .btn-outline-light:hover { color: #fff; background-color: #adb5bd; border-color: #adb5bd; } .btn-check:focus + .btn-outline-light, .btn-outline-light:focus { box-shadow: 0 0 0 0.25rem rgba(173, 181, 189, 0.5); } .btn-check:checked + .btn-outline-light, .btn-check:active + .btn-outline-light, .btn-outline-light:active, .btn-outline-light.active, .btn-outline-light.dropdown-toggle.show { color: #fff; background-color: #adb5bd; border-color: #adb5bd; } .btn-check:checked + .btn-outline-light:focus, .btn-check:active + .btn-outline-light:focus, .btn-outline-light:active:focus, .btn-outline-light.active:focus, .btn-outline-light.dropdown-toggle.show:focus { box-shadow: 0 0 0 0.25rem rgba(173, 181, 189, 0.5); } .btn-outline-light:disabled, .btn-outline-light.disabled { color: #adb5bd; background-color: transparent; } .btn-outline-dark { color: #303030; border-color: #303030; } .btn-outline-dark:hover { color: #fff; background-color: #303030; border-color: #303030; } .btn-check:focus + .btn-outline-dark, .btn-outline-dark:focus { box-shadow: 0 0 0 0.25rem rgba(48, 48, 48, 0.5); } .btn-check:checked + .btn-outline-dark, .btn-check:active + .btn-outline-dark, .btn-outline-dark:active, .btn-outline-dark.active, .btn-outline-dark.dropdown-toggle.show { color: #fff; background-color: #303030; border-color: #303030; } .btn-check:checked + .btn-outline-dark:focus, .btn-check:active + .btn-outline-dark:focus, .btn-outline-dark:active:focus, .btn-outline-dark.active:focus, .btn-outline-dark.dropdown-toggle.show:focus { box-shadow: 0 0 0 0.25rem rgba(48, 48, 48, 0.5); } .btn-outline-dark:disabled, .btn-outline-dark.disabled { color: #303030; background-color: transparent; } .btn-link { font-weight: 400; color: #00bc8c; text-decoration: underline; } .btn-link:hover { color: #009670; } .btn-link:disabled, .btn-link.disabled { color: #888; } .btn-lg, .btn-group-lg > .btn { padding: 0.5rem 1rem; font-size: 1.25rem; border-radius: 0.3rem; } .btn-sm, .btn-group-sm > .btn { padding: 0.25rem 0.5rem; font-size: 0.875rem; border-radius: 0.2rem; } .fade { transition: opacity 0.15s linear; } @media (prefers-reduced-motion: reduce) { .fade { transition: none; } } .fade:not(.show) { opacity: 0; } .collapse:not(.show) { display: none; } .collapsing { height: 0; overflow: hidden; transition: height 0.35s ease; } @media (prefers-reduced-motion: reduce) { .collapsing { transition: none; } } .collapsing.collapse-horizontal { width: 0; height: auto; transition: width 0.35s ease; } @media (prefers-reduced-motion: reduce) { .collapsing.collapse-horizontal { transition: none; } } .dropup, .dropend, .dropdown, .dropstart { position: relative; } .dropdown-toggle { white-space: nowrap; } .dropdown-toggle::after { display: inline-block; margin-left: 0.255em; vertical-align: 0.255em; content: ""; border-top: 0.3em solid; border-right: 0.3em solid transparent; border-bottom: 0; border-left: 0.3em solid transparent; } .dropdown-toggle:empty::after { margin-left: 0; } .dropdown-menu { position: absolute; z-index: 1000; display: none; min-width: 10rem; padding: 0.5rem 0; margin: 0; font-size: 1rem; color: #fff; text-align: left; list-style: none; background-color: #222; background-clip: padding-box; border: 1px solid #444; border-radius: 0.25rem; } .dropdown-menu[data-bs-popper] { top: 100%; left: 0; margin-top: 0.125rem; } .dropdown-menu-start { --bs-position: start; } .dropdown-menu-start[data-bs-popper] { right: auto; left: 0; } .dropdown-menu-end { --bs-position: end; } .dropdown-menu-end[data-bs-popper] { right: 0; left: auto; } @media (min-width: 576px) { .dropdown-menu-sm-start { --bs-position: start; } .dropdown-menu-sm-start[data-bs-popper] { right: auto; left: 0; } .dropdown-menu-sm-end { --bs-position: end; } .dropdown-menu-sm-end[data-bs-popper] { right: 0; left: auto; } } @media (min-width: 768px) { .dropdown-menu-md-start { --bs-position: start; } .dropdown-menu-md-start[data-bs-popper] { right: auto; left: 0; } .dropdown-menu-md-end { --bs-position: end; } .dropdown-menu-md-end[data-bs-popper] { right: 0; left: auto; } } @media (min-width: 992px) { .dropdown-menu-lg-start { --bs-position: start; } .dropdown-menu-lg-start[data-bs-popper] { right: auto; left: 0; } .dropdown-menu-lg-end { --bs-position: end; } .dropdown-menu-lg-end[data-bs-popper] { right: 0; left: auto; } } @media (min-width: 1200px) { .dropdown-menu-xl-start { --bs-position: start; } .dropdown-menu-xl-start[data-bs-popper] { right: auto; left: 0; } .dropdown-menu-xl-end { --bs-position: end; } .dropdown-menu-xl-end[data-bs-popper] { right: 0; left: auto; } } @media (min-width: 1400px) { .dropdown-menu-xxl-start { --bs-position: start; } .dropdown-menu-xxl-start[data-bs-popper] { right: auto; left: 0; } .dropdown-menu-xxl-end { --bs-position: end; } .dropdown-menu-xxl-end[data-bs-popper] { right: 0; left: auto; } } .dropup .dropdown-menu[data-bs-popper] { top: auto; bottom: 100%; margin-top: 0; margin-bottom: 0.125rem; } .dropup .dropdown-toggle::after { display: inline-block; margin-left: 0.255em; vertical-align: 0.255em; content: ""; border-top: 0; border-right: 0.3em solid transparent; border-bottom: 0.3em solid; border-left: 0.3em solid transparent; } .dropup .dropdown-toggle:empty::after { margin-left: 0; } .dropend .dropdown-menu[data-bs-popper] { top: 0; right: auto; left: 100%; margin-top: 0; margin-left: 0.125rem; } .dropend .dropdown-toggle::after { display: inline-block; margin-left: 0.255em; vertical-align: 0.255em; content: ""; border-top: 0.3em solid transparent; border-right: 0; border-bottom: 0.3em solid transparent; border-left: 0.3em solid; } .dropend .dropdown-toggle:empty::after { margin-left: 0; } .dropend .dropdown-toggle::after { vertical-align: 0; } .dropstart .dropdown-menu[data-bs-popper] { top: 0; right: 100%; left: auto; margin-top: 0; margin-right: 0.125rem; } .dropstart .dropdown-toggle::after { display: inline-block; margin-left: 0.255em; vertical-align: 0.255em; content: ""; } .dropstart .dropdown-toggle::after { display: none; } .dropstart .dropdown-toggle::before { display: inline-block; margin-right: 0.255em; vertical-align: 0.255em; content: ""; border-top: 0.3em solid transparent; border-right: 0.3em solid; border-bottom: 0.3em solid transparent; } .dropstart .dropdown-toggle:empty::after { margin-left: 0; } .dropstart .dropdown-toggle::before { vertical-align: 0; } .dropdown-divider { height: 0; margin: 0.5rem 0; overflow: hidden; border-top: 1px solid #444; } .dropdown-item { display: block; width: 100%; padding: 0.25rem 1rem; clear: both; font-weight: 400; color: #fff; text-align: inherit; text-decoration: none; white-space: nowrap; background-color: transparent; border: 0; } .dropdown-item:hover, .dropdown-item:focus { color: #fff; background-color: #375a7f; } .dropdown-item.active, .dropdown-item:active { color: #fff; text-decoration: none; background-color: #375a7f; } .dropdown-item.disabled, .dropdown-item:disabled { color: #adb5bd; pointer-events: none; background-color: transparent; } .dropdown-menu.show { display: block; } .dropdown-header { display: block; padding: 0.5rem 1rem; margin-bottom: 0; font-size: 0.875rem; color: #888; white-space: nowrap; } .dropdown-item-text { display: block; padding: 0.25rem 1rem; color: #fff; } .dropdown-menu-dark { color: #dee2e6; background-color: #303030; border-color: #444; } .dropdown-menu-dark .dropdown-item { color: #dee2e6; } .dropdown-menu-dark .dropdown-item:hover, .dropdown-menu-dark .dropdown-item:focus { color: #fff; background-color: rgba(255, 255, 255, 0.15); } .dropdown-menu-dark .dropdown-item.active, .dropdown-menu-dark .dropdown-item:active { color: #fff; background-color: #375a7f; } .dropdown-menu-dark .dropdown-item.disabled, .dropdown-menu-dark .dropdown-item:disabled { color: #adb5bd; } .dropdown-menu-dark .dropdown-divider { border-color: #444; } .dropdown-menu-dark .dropdown-item-text { color: #dee2e6; } .dropdown-menu-dark .dropdown-header { color: #adb5bd; } .btn-group, .btn-group-vertical { position: relative; display: -ms-inline-flexbox; display: inline-flex; vertical-align: middle; } .btn-group > .btn, .btn-group-vertical > .btn { position: relative; -ms-flex: 1 1 auto; flex: 1 1 auto; } .btn-group > .btn-check:checked + .btn, .btn-group > .btn-check:focus + .btn, .btn-group > .btn:hover, .btn-group > .btn:focus, .btn-group > .btn:active, .btn-group > .btn.active, .btn-group-vertical > .btn-check:checked + .btn, .btn-group-vertical > .btn-check:focus + .btn, .btn-group-vertical > .btn:hover, .btn-group-vertical > .btn:focus, .btn-group-vertical > .btn:active, .btn-group-vertical > .btn.active { z-index: 1; } .btn-toolbar { display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; -ms-flex-pack: start; justify-content: flex-start; } .btn-toolbar .input-group { width: auto; } .btn-group > .btn:not(:first-child), .btn-group > .btn-group:not(:first-child) { margin-left: -1px; } .btn-group > .btn:not(:last-child):not(.dropdown-toggle), .btn-group > .btn-group:not(:last-child) > .btn { border-top-right-radius: 0; border-bottom-right-radius: 0; } .btn-group > .btn:nth-child(n + 3), .btn-group > :not(.btn-check) + .btn, .btn-group > .btn-group:not(:first-child) > .btn { border-top-left-radius: 0; border-bottom-left-radius: 0; } .dropdown-toggle-split { padding-right: 0.5625rem; padding-left: 0.5625rem; } .dropdown-toggle-split::after, .dropup .dropdown-toggle-split::after, .dropend .dropdown-toggle-split::after { margin-left: 0; } .dropstart .dropdown-toggle-split::before { margin-right: 0; } .btn-sm + .dropdown-toggle-split, .btn-group-sm > .btn + .dropdown-toggle-split { padding-right: 0.375rem; padding-left: 0.375rem; } .btn-lg + .dropdown-toggle-split, .btn-group-lg > .btn + .dropdown-toggle-split { padding-right: 0.75rem; padding-left: 0.75rem; } .btn-group-vertical { -ms-flex-direction: column; flex-direction: column; -ms-flex-align: start; align-items: flex-start; -ms-flex-pack: center; justify-content: center; } .btn-group-vertical > .btn, .btn-group-vertical > .btn-group { width: 100%; } .btn-group-vertical > .btn:not(:first-child), .btn-group-vertical > .btn-group:not(:first-child) { margin-top: -1px; } .btn-group-vertical > .btn:not(:last-child):not(.dropdown-toggle), .btn-group-vertical > .btn-group:not(:last-child) > .btn { border-bottom-right-radius: 0; border-bottom-left-radius: 0; } .btn-group-vertical > .btn ~ .btn, .btn-group-vertical > .btn-group:not(:first-child) > .btn { border-top-left-radius: 0; border-top-right-radius: 0; } .nav { display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; padding-left: 0; margin-bottom: 0; list-style: none; } .nav-link { display: block; padding: 0.5rem 2rem; color: #00bc8c; text-decoration: none; transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out; } @media (prefers-reduced-motion: reduce) { .nav-link { transition: none; } } .nav-link:hover, .nav-link:focus { color: #009670; } .nav-link.disabled { color: #adb5bd; pointer-events: none; cursor: default; } .nav-tabs { border-bottom: 1px solid #444; } .nav-tabs .nav-link { margin-bottom: -1px; background: none; border: 1px solid transparent; border-top-left-radius: 0.25rem; border-top-right-radius: 0.25rem; } .nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus { border-color: #444 #444 transparent; isolation: isolate; } .nav-tabs .nav-link.disabled { color: #adb5bd; background-color: transparent; border-color: transparent; } .nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link { color: #fff; background-color: #222; border-color: #444 #444 transparent; } .nav-tabs .dropdown-menu { margin-top: -1px; border-top-left-radius: 0; border-top-right-radius: 0; } .nav-pills .nav-link { background: none; border: 0; border-radius: 0.25rem; } .nav-pills .nav-link.active, .nav-pills .show > .nav-link { color: #fff; background-color: #375a7f; } .nav-fill > .nav-link, .nav-fill .nav-item { -ms-flex: 1 1 auto; flex: 1 1 auto; text-align: center; } .nav-justified > .nav-link, .nav-justified .nav-item { -ms-flex-preferred-size: 0; flex-basis: 0; -ms-flex-positive: 1; flex-grow: 1; text-align: center; } .nav-fill .nav-item .nav-link, .nav-justified .nav-item .nav-link { width: 100%; } .tab-content > .tab-pane { display: none; } .tab-content > .active { display: block; } .navbar { position: relative; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; -ms-flex-align: center; align-items: center; -ms-flex-pack: justify; justify-content: space-between; padding-top: 1rem; padding-bottom: 1rem; } .navbar > .container, .navbar > .container-fluid, .navbar > .container-sm, .navbar > .container-md, .navbar > .container-lg, .navbar > .container-xl, .navbar > .container-xxl { display: -ms-flexbox; display: flex; -ms-flex-wrap: inherit; flex-wrap: inherit; -ms-flex-align: center; align-items: center; -ms-flex-pack: justify; justify-content: space-between; } .navbar-brand { padding-top: 0.3125rem; padding-bottom: 0.3125rem; margin-right: 1rem; font-size: 1.25rem; text-decoration: none; white-space: nowrap; } .navbar-nav { display: -ms-flexbox; display: flex; -ms-flex-direction: column; flex-direction: column; padding-left: 0; margin-bottom: 0; list-style: none; } .navbar-nav .nav-link { padding-right: 0; padding-left: 0; } .navbar-nav .dropdown-menu { position: static; } .navbar-text { padding-top: 0.5rem; padding-bottom: 0.5rem; } .navbar-collapse { -ms-flex-preferred-size: 100%; flex-basis: 100%; -ms-flex-positive: 1; flex-grow: 1; -ms-flex-align: center; align-items: center; } .navbar-toggler { padding: 0.25rem 0.75rem; font-size: 1.25rem; line-height: 1; background-color: transparent; border: 1px solid transparent; border-radius: 0.25rem; transition: box-shadow 0.15s ease-in-out; } @media (prefers-reduced-motion: reduce) { .navbar-toggler { transition: none; } } .navbar-toggler:hover { text-decoration: none; } .navbar-toggler:focus { text-decoration: none; outline: 0; box-shadow: 0 0 0 0.25rem; } .navbar-toggler-icon { display: inline-block; width: 1.5em; height: 1.5em; vertical-align: middle; background-repeat: no-repeat; background-position: center; background-size: 100%; } .navbar-nav-scroll { max-height: var(--bs-scroll-height, 75vh); overflow-y: auto; } @media (min-width: 576px) { .navbar-expand-sm { -ms-flex-wrap: nowrap; flex-wrap: nowrap; -ms-flex-pack: start; justify-content: flex-start; } .navbar-expand-sm .navbar-nav { -ms-flex-direction: row; flex-direction: row; } .navbar-expand-sm .navbar-nav .dropdown-menu { position: absolute; } .navbar-expand-sm .navbar-nav .nav-link { padding-right: 0.5rem; padding-left: 0.5rem; } .navbar-expand-sm .navbar-nav-scroll { overflow: visible; } .navbar-expand-sm .navbar-collapse { display: -ms-flexbox !important; display: flex !important; -ms-flex-preferred-size: auto; flex-basis: auto; } .navbar-expand-sm .navbar-toggler { display: none; } .navbar-expand-sm .offcanvas-header { display: none; } .navbar-expand-sm .offcanvas { position: inherit; bottom: 0; z-index: 1000; -ms-flex-positive: 1; flex-grow: 1; visibility: visible !important; background-color: transparent; border-right: 0; border-left: 0; transition: none; -webkit-transform: none; transform: none; } .navbar-expand-sm .offcanvas-top, .navbar-expand-sm .offcanvas-bottom { height: auto; border-top: 0; border-bottom: 0; } .navbar-expand-sm .offcanvas-body { display: -ms-flexbox; display: flex; -ms-flex-positive: 0; flex-grow: 0; padding: 0; overflow-y: visible; } } @media (min-width: 768px) { .navbar-expand-md { -ms-flex-wrap: nowrap; flex-wrap: nowrap; -ms-flex-pack: start; justify-content: flex-start; } .navbar-expand-md .navbar-nav { -ms-flex-direction: row; flex-direction: row; } .navbar-expand-md .navbar-nav .dropdown-menu { position: absolute; } .navbar-expand-md .navbar-nav .nav-link { padding-right: 0.5rem; padding-left: 0.5rem; } .navbar-expand-md .navbar-nav-scroll { overflow: visible; } .navbar-expand-md .navbar-collapse { display: -ms-flexbox !important; display: flex !important; -ms-flex-preferred-size: auto; flex-basis: auto; } .navbar-expand-md .navbar-toggler { display: none; } .navbar-expand-md .offcanvas-header { display: none; } .navbar-expand-md .offcanvas { position: inherit; bottom: 0; z-index: 1000; -ms-flex-positive: 1; flex-grow: 1; visibility: visible !important; background-color: transparent; border-right: 0; border-left: 0; transition: none; -webkit-transform: none; transform: none; } .navbar-expand-md .offcanvas-top, .navbar-expand-md .offcanvas-bottom { height: auto; border-top: 0; border-bottom: 0; } .navbar-expand-md .offcanvas-body { display: -ms-flexbox; display: flex; -ms-flex-positive: 0; flex-grow: 0; padding: 0; overflow-y: visible; } } @media (min-width: 992px) { .navbar-expand-lg { -ms-flex-wrap: nowrap; flex-wrap: nowrap; -ms-flex-pack: start; justify-content: flex-start; } .navbar-expand-lg .navbar-nav { -ms-flex-direction: row; flex-direction: row; } .navbar-expand-lg .navbar-nav .dropdown-menu { position: absolute; } .navbar-expand-lg .navbar-nav .nav-link { padding-right: 0.5rem; padding-left: 0.5rem; } .navbar-expand-lg .navbar-nav-scroll { overflow: visible; } .navbar-expand-lg .navbar-collapse { display: -ms-flexbox !important; display: flex !important; -ms-flex-preferred-size: auto; flex-basis: auto; } .navbar-expand-lg .navbar-toggler { display: none; } .navbar-expand-lg .offcanvas-header { display: none; } .navbar-expand-lg .offcanvas { position: inherit; bottom: 0; z-index: 1000; -ms-flex-positive: 1; flex-grow: 1; visibility: visible !important; background-color: transparent; border-right: 0; border-left: 0; transition: none; -webkit-transform: none; transform: none; } .navbar-expand-lg .offcanvas-top, .navbar-expand-lg .offcanvas-bottom { height: auto; border-top: 0; border-bottom: 0; } .navbar-expand-lg .offcanvas-body { display: -ms-flexbox; display: flex; -ms-flex-positive: 0; flex-grow: 0; padding: 0; overflow-y: visible; } } @media (min-width: 1200px) { .navbar-expand-xl { -ms-flex-wrap: nowrap; flex-wrap: nowrap; -ms-flex-pack: start; justify-content: flex-start; } .navbar-expand-xl .navbar-nav { -ms-flex-direction: row; flex-direction: row; } .navbar-expand-xl .navbar-nav .dropdown-menu { position: absolute; } .navbar-expand-xl .navbar-nav .nav-link { padding-right: 0.5rem; padding-left: 0.5rem; } .navbar-expand-xl .navbar-nav-scroll { overflow: visible; } .navbar-expand-xl .navbar-collapse { display: -ms-flexbox !important; display: flex !important; -ms-flex-preferred-size: auto; flex-basis: auto; } .navbar-expand-xl .navbar-toggler { display: none; } .navbar-expand-xl .offcanvas-header { display: none; } .navbar-expand-xl .offcanvas { position: inherit; bottom: 0; z-index: 1000; -ms-flex-positive: 1; flex-grow: 1; visibility: visible !important; background-color: transparent; border-right: 0; border-left: 0; transition: none; -webkit-transform: none; transform: none; } .navbar-expand-xl .offcanvas-top, .navbar-expand-xl .offcanvas-bottom { height: auto; border-top: 0; border-bottom: 0; } .navbar-expand-xl .offcanvas-body { display: -ms-flexbox; display: flex; -ms-flex-positive: 0; flex-grow: 0; padding: 0; overflow-y: visible; } } @media (min-width: 1400px) { .navbar-expand-xxl { -ms-flex-wrap: nowrap; flex-wrap: nowrap; -ms-flex-pack: start; justify-content: flex-start; } .navbar-expand-xxl .navbar-nav { -ms-flex-direction: row; flex-direction: row; } .navbar-expand-xxl .navbar-nav .dropdown-menu { position: absolute; } .navbar-expand-xxl .navbar-nav .nav-link { padding-right: 0.5rem; padding-left: 0.5rem; } .navbar-expand-xxl .navbar-nav-scroll { overflow: visible; } .navbar-expand-xxl .navbar-collapse { display: -ms-flexbox !important; display: flex !important; -ms-flex-preferred-size: auto; flex-basis: auto; } .navbar-expand-xxl .navbar-toggler { display: none; } .navbar-expand-xxl .offcanvas-header { display: none; } .navbar-expand-xxl .offcanvas { position: inherit; bottom: 0; z-index: 1000; -ms-flex-positive: 1; flex-grow: 1; visibility: visible !important; background-color: transparent; border-right: 0; border-left: 0; transition: none; -webkit-transform: none; transform: none; } .navbar-expand-xxl .offcanvas-top, .navbar-expand-xxl .offcanvas-bottom { height: auto; border-top: 0; border-bottom: 0; } .navbar-expand-xxl .offcanvas-body { display: -ms-flexbox; display: flex; -ms-flex-positive: 0; flex-grow: 0; padding: 0; overflow-y: visible; } } .navbar-expand { -ms-flex-wrap: nowrap; flex-wrap: nowrap; -ms-flex-pack: start; justify-content: flex-start; } .navbar-expand .navbar-nav { -ms-flex-direction: row; flex-direction: row; } .navbar-expand .navbar-nav .dropdown-menu { position: absolute; } .navbar-expand .navbar-nav .nav-link { padding-right: 0.5rem; padding-left: 0.5rem; } .navbar-expand .navbar-nav-scroll { overflow: visible; } .navbar-expand .navbar-collapse { display: -ms-flexbox !important; display: flex !important; -ms-flex-preferred-size: auto; flex-basis: auto; } .navbar-expand .navbar-toggler { display: none; } .navbar-expand .offcanvas-header { display: none; } .navbar-expand .offcanvas { position: inherit; bottom: 0; z-index: 1000; -ms-flex-positive: 1; flex-grow: 1; visibility: visible !important; background-color: transparent; border-right: 0; border-left: 0; transition: none; -webkit-transform: none; transform: none; } .navbar-expand .offcanvas-top, .navbar-expand .offcanvas-bottom { height: auto; border-top: 0; border-bottom: 0; } .navbar-expand .offcanvas-body { display: -ms-flexbox; display: flex; -ms-flex-positive: 0; flex-grow: 0; padding: 0; overflow-y: visible; } .navbar-light .navbar-brand { color: #222; } .navbar-light .navbar-brand:hover, .navbar-light .navbar-brand:focus { color: #222; } .navbar-light .navbar-nav .nav-link { color: rgba(34, 34, 34, 0.7); } .navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus { color: #222; } .navbar-light .navbar-nav .nav-link.disabled { color: rgba(0, 0, 0, 0.3); } .navbar-light .navbar-nav .show > .nav-link, .navbar-light .navbar-nav .nav-link.active { color: #222; } .navbar-light .navbar-toggler { color: rgba(34, 34, 34, 0.7); border-color: rgba(34, 34, 34, 0.1); } .navbar-light .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2834, 34, 34, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); } .navbar-light .navbar-text { color: rgba(34, 34, 34, 0.7); } .navbar-light .navbar-text a, .navbar-light .navbar-text a:hover, .navbar-light .navbar-text a:focus { color: #222; } .navbar-dark .navbar-brand { color: #fff; } .navbar-dark .navbar-brand:hover, .navbar-dark .navbar-brand:focus { color: #fff; } .navbar-dark .navbar-nav .nav-link { color: rgba(255, 255, 255, 0.6); } .navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link:focus { color: #fff; } .navbar-dark .navbar-nav .nav-link.disabled { color: rgba(255, 255, 255, 0.25); } .navbar-dark .navbar-nav .show > .nav-link, .navbar-dark .navbar-nav .nav-link.active { color: #fff; } .navbar-dark .navbar-toggler { color: rgba(255, 255, 255, 0.6); border-color: rgba(255, 255, 255, 0.1); } .navbar-dark .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.6%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); } .navbar-dark .navbar-text { color: rgba(255, 255, 255, 0.6); } .navbar-dark .navbar-text a, .navbar-dark .navbar-text a:hover, .navbar-dark .navbar-text a:focus { color: #fff; } .card { position: relative; display: -ms-flexbox; display: flex; -ms-flex-direction: column; flex-direction: column; min-width: 0; word-wrap: break-word; background-color: #303030; background-clip: border-box; border: 1px solid rgba(0, 0, 0, 0.125); border-radius: 0.25rem; } .card > hr { margin-right: 0; margin-left: 0; } .card > .list-group { border-top: inherit; border-bottom: inherit; } .card > .list-group:first-child { border-top-width: 0; border-top-left-radius: calc(0.25rem - 1px); border-top-right-radius: calc(0.25rem - 1px); } .card > .list-group:last-child { border-bottom-width: 0; border-bottom-right-radius: calc(0.25rem - 1px); border-bottom-left-radius: calc(0.25rem - 1px); } .card > .card-header + .list-group, .card > .list-group + .card-footer { border-top: 0; } .card-body { -ms-flex: 1 1 auto; flex: 1 1 auto; padding: 1rem 1rem; } .card-title { margin-bottom: 0.5rem; } .card-subtitle { margin-top: -0.25rem; margin-bottom: 0; } .card-text:last-child { margin-bottom: 0; } .card-link + .card-link { margin-left: 1rem; } .card-header { padding: 0.5rem 1rem; margin-bottom: 0; background-color: #444; border-bottom: 1px solid rgba(0, 0, 0, 0.125); } .card-header:first-child { border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0; } .card-footer { padding: 0.5rem 1rem; background-color: #444; border-top: 1px solid rgba(0, 0, 0, 0.125); } .card-footer:last-child { border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px); } .card-header-tabs { margin-right: -0.5rem; margin-bottom: -0.5rem; margin-left: -0.5rem; border-bottom: 0; } .card-header-tabs .nav-link.active { background-color: #303030; border-bottom-color: #303030; } .card-header-pills { margin-right: -0.5rem; margin-left: -0.5rem; } .card-img-overlay { position: absolute; top: 0; right: 0; bottom: 0; left: 0; padding: 1rem; border-radius: calc(0.25rem - 1px); } .card-img, .card-img-top, .card-img-bottom { width: 100%; } .card-img, .card-img-top { border-top-left-radius: calc(0.25rem - 1px); border-top-right-radius: calc(0.25rem - 1px); } .card-img, .card-img-bottom { border-bottom-right-radius: calc(0.25rem - 1px); border-bottom-left-radius: calc(0.25rem - 1px); } .card-group > .card { margin-bottom: 0.75rem; } @media (min-width: 576px) { .card-group { display: -ms-flexbox; display: flex; -ms-flex-flow: row wrap; flex-flow: row wrap; } .card-group > .card { -ms-flex: 1 0 0%; flex: 1 0 0%; margin-bottom: 0; } .card-group > .card + .card { margin-left: 0; border-left: 0; } .card-group > .card:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; } .card-group > .card:not(:last-child) .card-img-top, .card-group > .card:not(:last-child) .card-header { border-top-right-radius: 0; } .card-group > .card:not(:last-child) .card-img-bottom, .card-group > .card:not(:last-child) .card-footer { border-bottom-right-radius: 0; } .card-group > .card:not(:first-child) { border-top-left-radius: 0; border-bottom-left-radius: 0; } .card-group > .card:not(:first-child) .card-img-top, .card-group > .card:not(:first-child) .card-header { border-top-left-radius: 0; } .card-group > .card:not(:first-child) .card-img-bottom, .card-group > .card:not(:first-child) .card-footer { border-bottom-left-radius: 0; } } .accordion-button { position: relative; display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; width: 100%; padding: 1rem 1.25rem; font-size: 1rem; color: #fff; text-align: left; background-color: #222; border: 0; border-radius: 0; overflow-anchor: none; transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, border-radius 0.15s ease; } @media (prefers-reduced-motion: reduce) { .accordion-button { transition: none; } } .accordion-button:not(.collapsed) { color: #325172; background-color: #ebeff2; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125); } .accordion-button:not(.collapsed)::after { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23325172'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); -webkit-transform: rotate(-180deg); transform: rotate(-180deg); } .accordion-button::after { -ms-flex-negative: 0; flex-shrink: 0; width: 1.25rem; height: 1.25rem; margin-left: auto; content: ""; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-size: 1.25rem; transition: -webkit-transform 0.2s ease-in-out; transition: transform 0.2s ease-in-out; transition: transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out; } @media (prefers-reduced-motion: reduce) { .accordion-button::after { transition: none; } } .accordion-button:hover { z-index: 2; } .accordion-button:focus { z-index: 3; border-color: #9badbf; outline: 0; box-shadow: 0 0 0 0.25rem rgba(55, 90, 127, 0.25); } .accordion-header { margin-bottom: 0; } .accordion-item { background-color: #222; border: 1px solid rgba(0, 0, 0, 0.125); } .accordion-item:first-of-type { border-top-left-radius: 0.25rem; border-top-right-radius: 0.25rem; } .accordion-item:first-of-type .accordion-button { border-top-left-radius: calc(0.25rem - 1px); border-top-right-radius: calc(0.25rem - 1px); } .accordion-item:not(:first-of-type) { border-top: 0; } .accordion-item:last-of-type { border-bottom-right-radius: 0.25rem; border-bottom-left-radius: 0.25rem; } .accordion-item:last-of-type .accordion-button.collapsed { border-bottom-right-radius: calc(0.25rem - 1px); border-bottom-left-radius: calc(0.25rem - 1px); } .accordion-item:last-of-type .accordion-collapse { border-bottom-right-radius: 0.25rem; border-bottom-left-radius: 0.25rem; } .accordion-body { padding: 1rem 1.25rem; } .accordion-flush .accordion-collapse { border-width: 0; } .accordion-flush .accordion-item { border-right: 0; border-left: 0; border-radius: 0; } .accordion-flush .accordion-item:first-child { border-top: 0; } .accordion-flush .accordion-item:last-child { border-bottom: 0; } .accordion-flush .accordion-item .accordion-button { border-radius: 0; } .breadcrumb { display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; padding: 0.375rem 0.75rem; margin-bottom: 1rem; list-style: none; background-color: #444; border-radius: 0.25rem; } .breadcrumb-item + .breadcrumb-item { padding-left: 0.5rem; } .breadcrumb-item + .breadcrumb-item::before { float: left; padding-right: 0.5rem; color: #888; content: var(--bs-breadcrumb-divider, "/") /* rtl: var(--bs-breadcrumb-divider, "/") */; } .breadcrumb-item.active { color: #888; } .pagination { display: -ms-flexbox; display: flex; padding-left: 0; list-style: none; } .page-link { position: relative; display: block; color: #fff; text-decoration: none; background-color: #00bc8c; border: 0 solid transparent; transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; } @media (prefers-reduced-motion: reduce) { .page-link { transition: none; } } .page-link:hover { z-index: 2; color: #fff; background-color: #00efb2; border-color: transparent; } .page-link:focus { z-index: 3; color: #009670; background-color: #ebebeb; outline: 0; box-shadow: 0 0 0 0.25rem rgba(55, 90, 127, 0.25); } .page-item:not(:first-child) .page-link { margin-left: 0; } .page-item.active .page-link { z-index: 3; color: #fff; background-color: #00efb2; border-color: transparent; } .page-item.disabled .page-link { color: #fff; pointer-events: none; background-color: #007053; border-color: transparent; } .page-link { padding: 0.375rem 0.75rem; } .page-item:first-child .page-link { border-top-left-radius: 0.25rem; border-bottom-left-radius: 0.25rem; } .page-item:last-child .page-link { border-top-right-radius: 0.25rem; border-bottom-right-radius: 0.25rem; } .pagination-lg .page-link { padding: 0.75rem 1.5rem; font-size: 1.25rem; } .pagination-lg .page-item:first-child .page-link { border-top-left-radius: 0.3rem; border-bottom-left-radius: 0.3rem; } .pagination-lg .page-item:last-child .page-link { border-top-right-radius: 0.3rem; border-bottom-right-radius: 0.3rem; } .pagination-sm .page-link { padding: 0.25rem 0.5rem; font-size: 0.875rem; } .pagination-sm .page-item:first-child .page-link { border-top-left-radius: 0.2rem; border-bottom-left-radius: 0.2rem; } .pagination-sm .page-item:last-child .page-link { border-top-right-radius: 0.2rem; border-bottom-right-radius: 0.2rem; } .badge { display: inline-block; padding: 0.35em 0.65em; font-size: 0.75em; font-weight: 700; line-height: 1; color: #fff; text-align: center; white-space: nowrap; vertical-align: baseline; border-radius: 0.25rem; } .badge:empty { display: none; } .btn .badge { position: relative; top: -1px; } .alert { position: relative; padding: 1rem 1rem; margin-bottom: 1rem; border: 1px solid transparent; border-radius: 0.25rem; } .alert-heading { color: inherit; } .alert-link { font-weight: 700; } .alert-dismissible { padding-right: 3rem; } .alert-dismissible .btn-close { position: absolute; top: 0; right: 0; z-index: 2; padding: 1.25rem 1rem; } .alert-primary { color: #21364c; background-color: #d7dee5; border-color: #c3ced9; } .alert-primary .alert-link { color: #1a2b3d; } .alert-secondary { color: #292929; background-color: #dadada; border-color: #c7c7c7; } .alert-secondary .alert-link { color: #212121; } .alert-success { color: #007154; background-color: #ccf2e8; border-color: #b3ebdd; } .alert-success .alert-link { color: #005a43; } .alert-info { color: #1f5b83; background-color: #d6eaf8; border-color: #c2e0f4; } .alert-info .alert-link { color: #194969; } .alert-warning { color: #925e0b; background-color: #fdebd0; border-color: #fbe1b8; } .alert-warning .alert-link { color: #754b09; } .alert-danger { color: #8b2e24; background-color: #fadbd8; border-color: #f8c9c5; } .alert-danger .alert-link { color: #6f251d; } .alert-light { color: #686d71; background-color: #eff0f2; border-color: #e6e9eb; } .alert-light .alert-link { color: #53575a; } .alert-dark { color: #1d1d1d; background-color: #d6d6d6; border-color: #c1c1c1; } .alert-dark .alert-link { color: #171717; } @-webkit-keyframes progress-bar-stripes { 0% { background-position-x: 1rem; } } @keyframes progress-bar-stripes { 0% { background-position-x: 1rem; } } .progress { display: -ms-flexbox; display: flex; height: 1rem; overflow: hidden; font-size: 0.75rem; background-color: #444; border-radius: 0.25rem; } .progress-bar { display: -ms-flexbox; display: flex; -ms-flex-direction: column; flex-direction: column; -ms-flex-pack: center; justify-content: center; overflow: hidden; color: #fff; text-align: center; white-space: nowrap; background-color: #375a7f; transition: width 0.6s ease; } @media (prefers-reduced-motion: reduce) { .progress-bar { transition: none; } } .progress-bar-striped { background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-size: 1rem 1rem; } .progress-bar-animated { -webkit-animation: 1s linear infinite progress-bar-stripes; animation: 1s linear infinite progress-bar-stripes; } @media (prefers-reduced-motion: reduce) { .progress-bar-animated { -webkit-animation: none; animation: none; } } .list-group { display: -ms-flexbox; display: flex; -ms-flex-direction: column; flex-direction: column; padding-left: 0; margin-bottom: 0; border-radius: 0.25rem; } .list-group-numbered { list-style-type: none; counter-reset: section; } .list-group-numbered > li::before { content: counters(section, ".") ". "; counter-increment: section; } .list-group-item-action { width: 100%; color: #444; text-align: inherit; } .list-group-item-action:hover, .list-group-item-action:focus { z-index: 1; color: #fff; text-decoration: none; background-color: #444; } .list-group-item-action:active { color: #fff; background-color: #222; } .list-group-item { position: relative; display: block; padding: 0.5rem 1rem; color: #fff; text-decoration: none; background-color: #303030; border: 1px solid #444; } .list-group-item:first-child { border-top-left-radius: inherit; border-top-right-radius: inherit; } .list-group-item:last-child { border-bottom-right-radius: inherit; border-bottom-left-radius: inherit; } .list-group-item.disabled, .list-group-item:disabled { color: #888; pointer-events: none; background-color: #303030; } .list-group-item.active { z-index: 2; color: #fff; background-color: #375a7f; border-color: #375a7f; } .list-group-item + .list-group-item { border-top-width: 0; } .list-group-item + .list-group-item.active { margin-top: -1px; border-top-width: 1px; } .list-group-horizontal { -ms-flex-direction: row; flex-direction: row; } .list-group-horizontal > .list-group-item:first-child { border-bottom-left-radius: 0.25rem; border-top-right-radius: 0; } .list-group-horizontal > .list-group-item:last-child { border-top-right-radius: 0.25rem; border-bottom-left-radius: 0; } .list-group-horizontal > .list-group-item.active { margin-top: 0; } .list-group-horizontal > .list-group-item + .list-group-item { border-top-width: 1px; border-left-width: 0; } .list-group-horizontal > .list-group-item + .list-group-item.active { margin-left: -1px; border-left-width: 1px; } @media (min-width: 576px) { .list-group-horizontal-sm { -ms-flex-direction: row; flex-direction: row; } .list-group-horizontal-sm > .list-group-item:first-child { border-bottom-left-radius: 0.25rem; border-top-right-radius: 0; } .list-group-horizontal-sm > .list-group-item:last-child { border-top-right-radius: 0.25rem; border-bottom-left-radius: 0; } .list-group-horizontal-sm > .list-group-item.active { margin-top: 0; } .list-group-horizontal-sm > .list-group-item + .list-group-item { border-top-width: 1px; border-left-width: 0; } .list-group-horizontal-sm > .list-group-item + .list-group-item.active { margin-left: -1px; border-left-width: 1px; } } @media (min-width: 768px) { .list-group-horizontal-md { -ms-flex-direction: row; flex-direction: row; } .list-group-horizontal-md > .list-group-item:first-child { border-bottom-left-radius: 0.25rem; border-top-right-radius: 0; } .list-group-horizontal-md > .list-group-item:last-child { border-top-right-radius: 0.25rem; border-bottom-left-radius: 0; } .list-group-horizontal-md > .list-group-item.active { margin-top: 0; } .list-group-horizontal-md > .list-group-item + .list-group-item { border-top-width: 1px; border-left-width: 0; } .list-group-horizontal-md > .list-group-item + .list-group-item.active { margin-left: -1px; border-left-width: 1px; } } @media (min-width: 992px) { .list-group-horizontal-lg { -ms-flex-direction: row; flex-direction: row; } .list-group-horizontal-lg > .list-group-item:first-child { border-bottom-left-radius: 0.25rem; border-top-right-radius: 0; } .list-group-horizontal-lg > .list-group-item:last-child { border-top-right-radius: 0.25rem; border-bottom-left-radius: 0; } .list-group-horizontal-lg > .list-group-item.active { margin-top: 0; } .list-group-horizontal-lg > .list-group-item + .list-group-item { border-top-width: 1px; border-left-width: 0; } .list-group-horizontal-lg > .list-group-item + .list-group-item.active { margin-left: -1px; border-left-width: 1px; } } @media (min-width: 1200px) { .list-group-horizontal-xl { -ms-flex-direction: row; flex-direction: row; } .list-group-horizontal-xl > .list-group-item:first-child { border-bottom-left-radius: 0.25rem; border-top-right-radius: 0; } .list-group-horizontal-xl > .list-group-item:last-child { border-top-right-radius: 0.25rem; border-bottom-left-radius: 0; } .list-group-horizontal-xl > .list-group-item.active { margin-top: 0; } .list-group-horizontal-xl > .list-group-item + .list-group-item { border-top-width: 1px; border-left-width: 0; } .list-group-horizontal-xl > .list-group-item + .list-group-item.active { margin-left: -1px; border-left-width: 1px; } } @media (min-width: 1400px) { .list-group-horizontal-xxl { -ms-flex-direction: row; flex-direction: row; } .list-group-horizontal-xxl > .list-group-item:first-child { border-bottom-left-radius: 0.25rem; border-top-right-radius: 0; } .list-group-horizontal-xxl > .list-group-item:last-child { border-top-right-radius: 0.25rem; border-bottom-left-radius: 0; } .list-group-horizontal-xxl > .list-group-item.active { margin-top: 0; } .list-group-horizontal-xxl > .list-group-item + .list-group-item { border-top-width: 1px; border-left-width: 0; } .list-group-horizontal-xxl > .list-group-item + .list-group-item.active { margin-left: -1px; border-left-width: 1px; } } .list-group-flush { border-radius: 0; } .list-group-flush > .list-group-item { border-width: 0 0 1px; } .list-group-flush > .list-group-item:last-child { border-bottom-width: 0; } .list-group-item-primary { color: #21364c; background-color: #d7dee5; } .list-group-item-primary.list-group-item-action:hover, .list-group-item-primary.list-group-item-action:focus { color: #21364c; background-color: #c2c8ce; } .list-group-item-primary.list-group-item-action.active { color: #fff; background-color: #21364c; border-color: #21364c; } .list-group-item-secondary { color: #292929; background-color: #dadada; } .list-group-item-secondary.list-group-item-action:hover, .list-group-item-secondary.list-group-item-action:focus { color: #292929; background-color: #c4c4c4; } .list-group-item-secondary.list-group-item-action.active { color: #fff; background-color: #292929; border-color: #292929; } .list-group-item-success { color: #007154; background-color: #ccf2e8; } .list-group-item-success.list-group-item-action:hover, .list-group-item-success.list-group-item-action:focus { color: #007154; background-color: #b8dad1; } .list-group-item-success.list-group-item-action.active { color: #fff; background-color: #007154; border-color: #007154; } .list-group-item-info { color: #1f5b83; background-color: #d6eaf8; } .list-group-item-info.list-group-item-action:hover, .list-group-item-info.list-group-item-action:focus { color: #1f5b83; background-color: #c1d3df; } .list-group-item-info.list-group-item-action.active { color: #fff; background-color: #1f5b83; border-color: #1f5b83; } .list-group-item-warning { color: #925e0b; background-color: #fdebd0; } .list-group-item-warning.list-group-item-action:hover, .list-group-item-warning.list-group-item-action:focus { color: #925e0b; background-color: #e4d4bb; } .list-group-item-warning.list-group-item-action.active { color: #fff; background-color: #925e0b; border-color: #925e0b; } .list-group-item-danger { color: #8b2e24; background-color: #fadbd8; } .list-group-item-danger.list-group-item-action:hover, .list-group-item-danger.list-group-item-action:focus { color: #8b2e24; background-color: #e1c5c2; } .list-group-item-danger.list-group-item-action.active { color: #fff; background-color: #8b2e24; border-color: #8b2e24; } .list-group-item-light { color: #686d71; background-color: #eff0f2; } .list-group-item-light.list-group-item-action:hover, .list-group-item-light.list-group-item-action:focus { color: #686d71; background-color: #d7d8da; } .list-group-item-light.list-group-item-action.active { color: #fff; background-color: #686d71; border-color: #686d71; } .list-group-item-dark { color: #1d1d1d; background-color: #d6d6d6; } .list-group-item-dark.list-group-item-action:hover, .list-group-item-dark.list-group-item-action:focus { color: #1d1d1d; background-color: #c1c1c1; } .list-group-item-dark.list-group-item-action.active { color: #fff; background-color: #1d1d1d; border-color: #1d1d1d; } .btn-close { box-sizing: content-box; width: 1em; height: 1em; padding: 0.25em 0.25em; color: #fff; background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat; border: 0; border-radius: 0.25rem; opacity: 0.4; } .btn-close:hover { color: #fff; text-decoration: none; opacity: 1; } .btn-close:focus { outline: 0; box-shadow: 0 0 0 0.25rem rgba(55, 90, 127, 0.25); opacity: 1; } .btn-close:disabled, .btn-close.disabled { pointer-events: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; opacity: 0.25; } .btn-close-white { -webkit-filter: invert(1) grayscale(100%) brightness(200%); filter: invert(1) grayscale(100%) brightness(200%); } .toast { width: 350px; max-width: 100%; font-size: 0.875rem; pointer-events: auto; background-color: #444; background-clip: padding-box; border: 1px solid rgba(0, 0, 0, 0.1); box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); border-radius: 0.25rem; } .toast.showing { opacity: 0; } .toast:not(.show) { display: none; } .toast-container { width: -webkit-max-content; width: -moz-max-content; width: max-content; max-width: 100%; pointer-events: none; } .toast-container > :not(:last-child) { margin-bottom: 0.75rem; } .toast-header { display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; padding: 0.5rem 0.75rem; color: #888; background-color: #303030; background-clip: padding-box; border-bottom: 1px solid rgba(0, 0, 0, 0.05); border-top-left-radius: calc(0.25rem - 1px); border-top-right-radius: calc(0.25rem - 1px); } .toast-header .btn-close { margin-right: -0.375rem; margin-left: 0.75rem; } .toast-body { padding: 0.75rem; word-wrap: break-word; } .modal { position: fixed; top: 0; left: 0; z-index: 1055; display: none; width: 100%; height: 100%; overflow-x: hidden; overflow-y: auto; outline: 0; } .modal-dialog { position: relative; width: auto; margin: 0.5rem; pointer-events: none; } .modal.fade .modal-dialog { transition: -webkit-transform 0.3s ease-out; transition: transform 0.3s ease-out; transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out; -webkit-transform: translate(0, -50px); transform: translate(0, -50px); } @media (prefers-reduced-motion: reduce) { .modal.fade .modal-dialog { transition: none; } } .modal.show .modal-dialog { -webkit-transform: none; transform: none; } .modal.modal-static .modal-dialog { -webkit-transform: scale(1.02); transform: scale(1.02); } .modal-dialog-scrollable { height: calc(100% - 1rem); } .modal-dialog-scrollable .modal-content { max-height: 100%; overflow: hidden; } .modal-dialog-scrollable .modal-body { overflow-y: auto; } .modal-dialog-centered { display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; min-height: calc(100% - 1rem); } .modal-content { position: relative; display: -ms-flexbox; display: flex; -ms-flex-direction: column; flex-direction: column; width: 100%; pointer-events: auto; background-color: #303030; background-clip: padding-box; border: 1px solid #444; border-radius: 0.3rem; outline: 0; } .modal-backdrop { position: fixed; top: 0; left: 0; z-index: 1050; width: 100vw; height: 100vh; background-color: #000; } .modal-backdrop.fade { opacity: 0; } .modal-backdrop.show { opacity: 0.5; } .modal-header { display: -ms-flexbox; display: flex; -ms-flex-negative: 0; flex-shrink: 0; -ms-flex-align: center; align-items: center; -ms-flex-pack: justify; justify-content: space-between; padding: 1rem 1rem; border-bottom: 1px solid #444; border-top-left-radius: calc(0.3rem - 1px); border-top-right-radius: calc(0.3rem - 1px); } .modal-header .btn-close { padding: 0.5rem 0.5rem; margin: -0.5rem -0.5rem -0.5rem auto; } .modal-title { margin-bottom: 0; line-height: 1.5; } .modal-body { position: relative; -ms-flex: 1 1 auto; flex: 1 1 auto; padding: 1rem; } .modal-footer { display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; -ms-flex-negative: 0; flex-shrink: 0; -ms-flex-align: center; align-items: center; -ms-flex-pack: end; justify-content: flex-end; padding: 0.75rem; border-top: 1px solid #444; border-bottom-right-radius: calc(0.3rem - 1px); border-bottom-left-radius: calc(0.3rem - 1px); } .modal-footer > * { margin: 0.25rem; } @media (min-width: 576px) { .modal-dialog { max-width: 500px; margin: 1.75rem auto; } .modal-dialog-scrollable { height: calc(100% - 3.5rem); } .modal-dialog-centered { min-height: calc(100% - 3.5rem); } .modal-sm { max-width: 300px; } } @media (min-width: 992px) { .modal-lg, .modal-xl { max-width: 800px; } } @media (min-width: 1200px) { .modal-xl { max-width: 1140px; } } .modal-fullscreen { width: 100vw; max-width: none; height: 100%; margin: 0; } .modal-fullscreen .modal-content { height: 100%; border: 0; border-radius: 0; } .modal-fullscreen .modal-header { border-radius: 0; } .modal-fullscreen .modal-body { overflow-y: auto; } .modal-fullscreen .modal-footer { border-radius: 0; } @media (max-width: 575.98px) { .modal-fullscreen-sm-down { width: 100vw; max-width: none; height: 100%; margin: 0; } .modal-fullscreen-sm-down .modal-content { height: 100%; border: 0; border-radius: 0; } .modal-fullscreen-sm-down .modal-header { border-radius: 0; } .modal-fullscreen-sm-down .modal-body { overflow-y: auto; } .modal-fullscreen-sm-down .modal-footer { border-radius: 0; } } @media (max-width: 767.98px) { .modal-fullscreen-md-down { width: 100vw; max-width: none; height: 100%; margin: 0; } .modal-fullscreen-md-down .modal-content { height: 100%; border: 0; border-radius: 0; } .modal-fullscreen-md-down .modal-header { border-radius: 0; } .modal-fullscreen-md-down .modal-body { overflow-y: auto; } .modal-fullscreen-md-down .modal-footer { border-radius: 0; } } @media (max-width: 991.98px) { .modal-fullscreen-lg-down { width: 100vw; max-width: none; height: 100%; margin: 0; } .modal-fullscreen-lg-down .modal-content { height: 100%; border: 0; border-radius: 0; } .modal-fullscreen-lg-down .modal-header { border-radius: 0; } .modal-fullscreen-lg-down .modal-body { overflow-y: auto; } .modal-fullscreen-lg-down .modal-footer { border-radius: 0; } } @media (max-width: 1199.98px) { .modal-fullscreen-xl-down { width: 100vw; max-width: none; height: 100%; margin: 0; } .modal-fullscreen-xl-down .modal-content { height: 100%; border: 0; border-radius: 0; } .modal-fullscreen-xl-down .modal-header { border-radius: 0; } .modal-fullscreen-xl-down .modal-body { overflow-y: auto; } .modal-fullscreen-xl-down .modal-footer { border-radius: 0; } } @media (max-width: 1399.98px) { .modal-fullscreen-xxl-down { width: 100vw; max-width: none; height: 100%; margin: 0; } .modal-fullscreen-xxl-down .modal-content { height: 100%; border: 0; border-radius: 0; } .modal-fullscreen-xxl-down .modal-header { border-radius: 0; } .modal-fullscreen-xxl-down .modal-body { overflow-y: auto; } .modal-fullscreen-xxl-down .modal-footer { border-radius: 0; } } .tooltip { position: absolute; z-index: 1080; display: block; margin: 0; font-family: var(--bs-font-sans-serif); font-style: normal; font-weight: 400; line-height: 1.5; text-align: left; text-align: start; text-decoration: none; text-shadow: none; text-transform: none; letter-spacing: normal; word-break: normal; word-spacing: normal; white-space: normal; line-break: auto; font-size: 0.875rem; word-wrap: break-word; opacity: 0; } .tooltip.show { opacity: 0.9; } .tooltip .tooltip-arrow { position: absolute; display: block; width: 0.8rem; height: 0.4rem; } .tooltip .tooltip-arrow::before { position: absolute; content: ""; border-color: transparent; border-style: solid; } .bs-tooltip-top, .bs-tooltip-auto[data-popper-placement^="top"] { padding: 0.4rem 0; } .bs-tooltip-top .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow { bottom: 0; } .bs-tooltip-top .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before { top: -1px; border-width: 0.4rem 0.4rem 0; border-top-color: #000; } .bs-tooltip-end, .bs-tooltip-auto[data-popper-placement^="right"] { padding: 0 0.4rem; } .bs-tooltip-end .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow { left: 0; width: 0.4rem; height: 0.8rem; } .bs-tooltip-end .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow::before { right: -1px; border-width: 0.4rem 0.4rem 0.4rem 0; border-right-color: #000; } .bs-tooltip-bottom, .bs-tooltip-auto[data-popper-placement^="bottom"] { padding: 0.4rem 0; } .bs-tooltip-bottom .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow { top: 0; } .bs-tooltip-bottom .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow::before { bottom: -1px; border-width: 0 0.4rem 0.4rem; border-bottom-color: #000; } .bs-tooltip-start, .bs-tooltip-auto[data-popper-placement^="left"] { padding: 0 0.4rem; } .bs-tooltip-start .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow { right: 0; width: 0.4rem; height: 0.8rem; } .bs-tooltip-start .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow::before { left: -1px; border-width: 0.4rem 0 0.4rem 0.4rem; border-left-color: #000; } .tooltip-inner { max-width: 200px; padding: 0.25rem 0.5rem; color: #fff; text-align: center; background-color: #000; border-radius: 0.25rem; } .popover { position: absolute; top: 0; left: 0 /* rtl:ignore */; z-index: 1070; display: block; max-width: 276px; font-family: var(--bs-font-sans-serif); font-style: normal; font-weight: 400; line-height: 1.5; text-align: left; text-align: start; text-decoration: none; text-shadow: none; text-transform: none; letter-spacing: normal; word-break: normal; word-spacing: normal; white-space: normal; line-break: auto; font-size: 0.875rem; word-wrap: break-word; background-color: #303030; background-clip: padding-box; border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 0.3rem; } .popover .popover-arrow { position: absolute; display: block; width: 1rem; height: 0.5rem; } .popover .popover-arrow::before, .popover .popover-arrow::after { position: absolute; display: block; content: ""; border-color: transparent; border-style: solid; } .bs-popover-top > .popover-arrow, .bs-popover-auto[data-popper-placement^="top"] > .popover-arrow { bottom: calc(-0.5rem - 1px); } .bs-popover-top > .popover-arrow::before, .bs-popover-auto[data-popper-placement^="top"] > .popover-arrow::before { bottom: 0; border-width: 0.5rem 0.5rem 0; border-top-color: rgba(0, 0, 0, 0.25); } .bs-popover-top > .popover-arrow::after, .bs-popover-auto[data-popper-placement^="top"] > .popover-arrow::after { bottom: 1px; border-width: 0.5rem 0.5rem 0; border-top-color: #303030; } .bs-popover-end > .popover-arrow, .bs-popover-auto[data-popper-placement^="right"] > .popover-arrow { left: calc(-0.5rem - 1px); width: 0.5rem; height: 1rem; } .bs-popover-end > .popover-arrow::before, .bs-popover-auto[data-popper-placement^="right"] > .popover-arrow::before { left: 0; border-width: 0.5rem 0.5rem 0.5rem 0; border-right-color: rgba(0, 0, 0, 0.25); } .bs-popover-end > .popover-arrow::after, .bs-popover-auto[data-popper-placement^="right"] > .popover-arrow::after { left: 1px; border-width: 0.5rem 0.5rem 0.5rem 0; border-right-color: #303030; } .bs-popover-bottom > .popover-arrow, .bs-popover-auto[data-popper-placement^="bottom"] > .popover-arrow { top: calc(-0.5rem - 1px); } .bs-popover-bottom > .popover-arrow::before, .bs-popover-auto[data-popper-placement^="bottom"] > .popover-arrow::before { top: 0; border-width: 0 0.5rem 0.5rem 0.5rem; border-bottom-color: rgba(0, 0, 0, 0.25); } .bs-popover-bottom > .popover-arrow::after, .bs-popover-auto[data-popper-placement^="bottom"] > .popover-arrow::after { top: 1px; border-width: 0 0.5rem 0.5rem 0.5rem; border-bottom-color: #303030; } .bs-popover-bottom .popover-header::before, .bs-popover-auto[data-popper-placement^="bottom"] .popover-header::before { position: absolute; top: 0; left: 50%; display: block; width: 1rem; margin-left: -0.5rem; content: ""; border-bottom: 1px solid #444; } .bs-popover-start > .popover-arrow, .bs-popover-auto[data-popper-placement^="left"] > .popover-arrow { right: calc(-0.5rem - 1px); width: 0.5rem; height: 1rem; } .bs-popover-start > .popover-arrow::before, .bs-popover-auto[data-popper-placement^="left"] > .popover-arrow::before { right: 0; border-width: 0.5rem 0 0.5rem 0.5rem; border-left-color: rgba(0, 0, 0, 0.25); } .bs-popover-start > .popover-arrow::after, .bs-popover-auto[data-popper-placement^="left"] > .popover-arrow::after { right: 1px; border-width: 0.5rem 0 0.5rem 0.5rem; border-left-color: #303030; } .popover-header { padding: 0.5rem 1rem; margin-bottom: 0; font-size: 1rem; background-color: #444; border-bottom: 1px solid rgba(0, 0, 0, 0.2); border-top-left-radius: calc(0.3rem - 1px); border-top-right-radius: calc(0.3rem - 1px); } .popover-header:empty { display: none; } .popover-body { padding: 1rem 1rem; color: #fff; } .carousel { position: relative; } .carousel.pointer-event { -ms-touch-action: pan-y; touch-action: pan-y; } .carousel-inner { position: relative; width: 100%; overflow: hidden; } .carousel-inner::after { display: block; clear: both; content: ""; } .carousel-item { position: relative; display: none; float: left; width: 100%; margin-right: -100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; transition: -webkit-transform 0.6s ease-in-out; transition: transform 0.6s ease-in-out; transition: transform 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out; } @media (prefers-reduced-motion: reduce) { .carousel-item { transition: none; } } .carousel-item.active, .carousel-item-next, .carousel-item-prev { display: block; } /* rtl:begin:ignore */ .carousel-item-next:not(.carousel-item-start), .active.carousel-item-end { -webkit-transform: translateX(100%); transform: translateX(100%); } .carousel-item-prev:not(.carousel-item-end), .active.carousel-item-start { -webkit-transform: translateX(-100%); transform: translateX(-100%); } /* rtl:end:ignore */ .carousel-fade .carousel-item { opacity: 0; transition-property: opacity; -webkit-transform: none; transform: none; } .carousel-fade .carousel-item.active, .carousel-fade .carousel-item-next.carousel-item-start, .carousel-fade .carousel-item-prev.carousel-item-end { z-index: 1; opacity: 1; } .carousel-fade .active.carousel-item-start, .carousel-fade .active.carousel-item-end { z-index: 0; opacity: 0; transition: opacity 0s 0.6s; } @media (prefers-reduced-motion: reduce) { .carousel-fade .active.carousel-item-start, .carousel-fade .active.carousel-item-end { transition: none; } } .carousel-control-prev, .carousel-control-next { position: absolute; top: 0; bottom: 0; z-index: 1; display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; -ms-flex-pack: center; justify-content: center; width: 15%; padding: 0; color: #fff; text-align: center; background: none; border: 0; opacity: 0.5; transition: opacity 0.15s ease; } @media (prefers-reduced-motion: reduce) { .carousel-control-prev, .carousel-control-next { transition: none; } } .carousel-control-prev:hover, .carousel-control-prev:focus, .carousel-control-next:hover, .carousel-control-next:focus { color: #fff; text-decoration: none; outline: 0; opacity: 0.9; } .carousel-control-prev { left: 0; } .carousel-control-next { right: 0; } .carousel-control-prev-icon, .carousel-control-next-icon { display: inline-block; width: 2rem; height: 2rem; background-repeat: no-repeat; background-position: 50%; background-size: 100% 100%; } /* rtl:options: { "autoRename": true, "stringMap":[ { "name" : "prev-next", "search" : "prev", "replace" : "next" } ] } */ .carousel-control-prev-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e"); } .carousel-control-next-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); } .carousel-indicators { position: absolute; right: 0; bottom: 0; left: 0; z-index: 2; display: -ms-flexbox; display: flex; -ms-flex-pack: center; justify-content: center; padding: 0; margin-right: 15%; margin-bottom: 1rem; margin-left: 15%; list-style: none; } .carousel-indicators [data-bs-target] { box-sizing: content-box; -ms-flex: 0 1 auto; flex: 0 1 auto; width: 30px; height: 3px; padding: 0; margin-right: 3px; margin-left: 3px; text-indent: -999px; cursor: pointer; background-color: #fff; background-clip: padding-box; border: 0; border-top: 10px solid transparent; border-bottom: 10px solid transparent; opacity: 0.5; transition: opacity 0.6s ease; } @media (prefers-reduced-motion: reduce) { .carousel-indicators [data-bs-target] { transition: none; } } .carousel-indicators .active { opacity: 1; } .carousel-caption { position: absolute; right: 15%; bottom: 1.25rem; left: 15%; padding-top: 1.25rem; padding-bottom: 1.25rem; color: #fff; text-align: center; } .carousel-dark .carousel-control-prev-icon, .carousel-dark .carousel-control-next-icon { -webkit-filter: invert(1) grayscale(100); filter: invert(1) grayscale(100); } .carousel-dark .carousel-indicators [data-bs-target] { background-color: #000; } .carousel-dark .carousel-caption { color: #000; } @-webkit-keyframes spinner-border { to { -webkit-transform: rotate(360deg) /* rtl:ignore */; transform: rotate(360deg) /* rtl:ignore */; } } @keyframes spinner-border { to { -webkit-transform: rotate(360deg) /* rtl:ignore */; transform: rotate(360deg) /* rtl:ignore */; } } .spinner-border { display: inline-block; width: 2rem; height: 2rem; vertical-align: -0.125em; border: 0.25em solid currentColor; border-right-color: transparent; border-radius: 50%; -webkit-animation: 0.75s linear infinite spinner-border; animation: 0.75s linear infinite spinner-border; } .spinner-border-sm { width: 1rem; height: 1rem; border-width: 0.2em; } @-webkit-keyframes spinner-grow { 0% { -webkit-transform: scale(0); transform: scale(0); } 50% { opacity: 1; -webkit-transform: none; transform: none; } } @keyframes spinner-grow { 0% { -webkit-transform: scale(0); transform: scale(0); } 50% { opacity: 1; -webkit-transform: none; transform: none; } } .spinner-grow { display: inline-block; width: 2rem; height: 2rem; vertical-align: -0.125em; background-color: currentColor; border-radius: 50%; opacity: 0; -webkit-animation: 0.75s linear infinite spinner-grow; animation: 0.75s linear infinite spinner-grow; } .spinner-grow-sm { width: 1rem; height: 1rem; } @media (prefers-reduced-motion: reduce) { .spinner-border, .spinner-grow { -webkit-animation-duration: 1.5s; animation-duration: 1.5s; } } .offcanvas { position: fixed; bottom: 0; z-index: 1045; display: -ms-flexbox; display: flex; -ms-flex-direction: column; flex-direction: column; max-width: 100%; visibility: hidden; background-color: #303030; background-clip: padding-box; outline: 0; transition: -webkit-transform 0.3s ease-in-out; transition: transform 0.3s ease-in-out; transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out; } @media (prefers-reduced-motion: reduce) { .offcanvas { transition: none; } } .offcanvas-backdrop { position: fixed; top: 0; left: 0; z-index: 1040; width: 100vw; height: 100vh; background-color: #000; } .offcanvas-backdrop.fade { opacity: 0; } .offcanvas-backdrop.show { opacity: 0.5; } .offcanvas-header { display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; -ms-flex-pack: justify; justify-content: space-between; padding: 1rem 1rem; } .offcanvas-header .btn-close { padding: 0.5rem 0.5rem; margin-top: -0.5rem; margin-right: -0.5rem; margin-bottom: -0.5rem; } .offcanvas-title { margin-bottom: 0; line-height: 1.5; } .offcanvas-body { -ms-flex-positive: 1; flex-grow: 1; padding: 1rem 1rem; overflow-y: auto; } .offcanvas-start { top: 0; left: 0; width: 400px; border-right: 1px solid #444; -webkit-transform: translateX(-100%); transform: translateX(-100%); } .offcanvas-end { top: 0; right: 0; width: 400px; border-left: 1px solid #444; -webkit-transform: translateX(100%); transform: translateX(100%); } .offcanvas-top { top: 0; right: 0; left: 0; height: 30vh; max-height: 100%; border-bottom: 1px solid #444; -webkit-transform: translateY(-100%); transform: translateY(-100%); } .offcanvas-bottom { right: 0; left: 0; height: 30vh; max-height: 100%; border-top: 1px solid #444; -webkit-transform: translateY(100%); transform: translateY(100%); } .offcanvas.show { -webkit-transform: none; transform: none; } .placeholder { display: inline-block; min-height: 1em; vertical-align: middle; cursor: wait; background-color: currentColor; opacity: 0.5; } .placeholder.btn::before { display: inline-block; content: ""; } .placeholder-xs { min-height: .6em; } .placeholder-sm { min-height: .8em; } .placeholder-lg { min-height: 1.2em; } .placeholder-glow .placeholder { -webkit-animation: placeholder-glow 2s ease-in-out infinite; animation: placeholder-glow 2s ease-in-out infinite; } @-webkit-keyframes placeholder-glow { 50% { opacity: 0.2; } } @keyframes placeholder-glow { 50% { opacity: 0.2; } } .placeholder-wave { -webkit-mask-image: linear-gradient(130deg, #000 55%, rgba(0, 0, 0, 0.8) 75%, #000 95%); mask-image: linear-gradient(130deg, #000 55%, rgba(0, 0, 0, 0.8) 75%, #000 95%); -webkit-mask-size: 200% 100%; mask-size: 200% 100%; -webkit-animation: placeholder-wave 2s linear infinite; animation: placeholder-wave 2s linear infinite; } @-webkit-keyframes placeholder-wave { 100% { -webkit-mask-position: -200% 0%; mask-position: -200% 0%; } } @keyframes placeholder-wave { 100% { -webkit-mask-position: -200% 0%; mask-position: -200% 0%; } } .clearfix::after { display: block; clear: both; content: ""; } .link-primary { color: #375a7f; } .link-primary:hover, .link-primary:focus { color: #2c4866; } .link-secondary { color: #444; } .link-secondary:hover, .link-secondary:focus { color: #363636; } .link-success { color: #00bc8c; } .link-success:hover, .link-success:focus { color: #009670; } .link-info { color: #3498db; } .link-info:hover, .link-info:focus { color: #2a7aaf; } .link-warning { color: #f39c12; } .link-warning:hover, .link-warning:focus { color: #c27d0e; } .link-danger { color: #e74c3c; } .link-danger:hover, .link-danger:focus { color: #b93d30; } .link-light { color: #adb5bd; } .link-light:hover, .link-light:focus { color: #8a9197; } .link-dark { color: #303030; } .link-dark:hover, .link-dark:focus { color: #262626; } .ratio { position: relative; width: 100%; } .ratio::before { display: block; padding-top: var(--bs-aspect-ratio); content: ""; } .ratio > * { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .ratio-1x1 { --bs-aspect-ratio: 100%; } .ratio-4x3 { --bs-aspect-ratio: calc(3 / 4 * 100%); } .ratio-16x9 { --bs-aspect-ratio: calc(9 / 16 * 100%); } .ratio-21x9 { --bs-aspect-ratio: calc(9 / 21 * 100%); } .fixed-top { position: fixed; top: 0; right: 0; left: 0; z-index: 1030; } .fixed-bottom { position: fixed; right: 0; bottom: 0; left: 0; z-index: 1030; } .sticky-top { position: -webkit-sticky; position: sticky; top: 0; z-index: 1020; } @media (min-width: 576px) { .sticky-sm-top { position: -webkit-sticky; position: sticky; top: 0; z-index: 1020; } } @media (min-width: 768px) { .sticky-md-top { position: -webkit-sticky; position: sticky; top: 0; z-index: 1020; } } @media (min-width: 992px) { .sticky-lg-top { position: -webkit-sticky; position: sticky; top: 0; z-index: 1020; } } @media (min-width: 1200px) { .sticky-xl-top { position: -webkit-sticky; position: sticky; top: 0; z-index: 1020; } } @media (min-width: 1400px) { .sticky-xxl-top { position: -webkit-sticky; position: sticky; top: 0; z-index: 1020; } } .hstack { display: -ms-flexbox; display: flex; -ms-flex-direction: row; flex-direction: row; -ms-flex-align: center; align-items: center; -ms-flex-item-align: stretch; align-self: stretch; } .vstack { display: -ms-flexbox; display: flex; -ms-flex: 1 1 auto; flex: 1 1 auto; -ms-flex-direction: column; flex-direction: column; -ms-flex-item-align: stretch; align-self: stretch; } .visually-hidden, .visually-hidden-focusable:not(:focus):not(:focus-within) { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; } .stretched-link::after { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; content: ""; } .text-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .vr { display: inline-block; -ms-flex-item-align: stretch; align-self: stretch; width: 1px; min-height: 1em; background-color: currentColor; opacity: 0.25; } .align-baseline { vertical-align: baseline !important; } .align-top { vertical-align: top !important; } .align-middle { vertical-align: middle !important; } .align-bottom { vertical-align: bottom !important; } .align-text-bottom { vertical-align: text-bottom !important; } .align-text-top { vertical-align: text-top !important; } .float-start { float: left !important; } .float-end { float: right !important; } .float-none { float: none !important; } .opacity-0 { opacity: 0 !important; } .opacity-25 { opacity: 0.25 !important; } .opacity-50 { opacity: 0.5 !important; } .opacity-75 { opacity: 0.75 !important; } .opacity-100 { opacity: 1 !important; } .overflow-auto { overflow: auto !important; } .overflow-hidden { overflow: hidden !important; } .overflow-visible { overflow: visible !important; } .overflow-scroll { overflow: scroll !important; } .d-inline { display: inline !important; } .d-inline-block { display: inline-block !important; } .d-block { display: block !important; } .d-grid { display: grid !important; } .d-table { display: table !important; } .d-table-row { display: table-row !important; } .d-table-cell { display: table-cell !important; } .d-flex { display: -ms-flexbox !important; display: flex !important; } .d-inline-flex { display: -ms-inline-flexbox !important; display: inline-flex !important; } .d-none { display: none !important; } .shadow { box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important; } .shadow-sm { box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important; } .shadow-lg { box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important; } .shadow-none { box-shadow: none !important; } .position-static { position: static !important; } .position-relative { position: relative !important; } .position-absolute { position: absolute !important; } .position-fixed { position: fixed !important; } .position-sticky { position: -webkit-sticky !important; position: sticky !important; } .top-0 { top: 0 !important; } .top-50 { top: 50% !important; } .top-100 { top: 100% !important; } .bottom-0 { bottom: 0 !important; } .bottom-50 { bottom: 50% !important; } .bottom-100 { bottom: 100% !important; } .start-0 { left: 0 !important; } .start-50 { left: 50% !important; } .start-100 { left: 100% !important; } .end-0 { right: 0 !important; } .end-50 { right: 50% !important; } .end-100 { right: 100% !important; } .translate-middle { -webkit-transform: translate(-50%, -50%) !important; transform: translate(-50%, -50%) !important; } .translate-middle-x { -webkit-transform: translateX(-50%) !important; transform: translateX(-50%) !important; } .translate-middle-y { -webkit-transform: translateY(-50%) !important; transform: translateY(-50%) !important; } .border { border: 1px solid #dee2e6 !important; } .border-0 { border: 0 !important; } .border-top { border-top: 1px solid #dee2e6 !important; } .border-top-0 { border-top: 0 !important; } .border-end { border-right: 1px solid #dee2e6 !important; } .border-end-0 { border-right: 0 !important; } .border-bottom { border-bottom: 1px solid #dee2e6 !important; } .border-bottom-0 { border-bottom: 0 !important; } .border-start { border-left: 1px solid #dee2e6 !important; } .border-start-0 { border-left: 0 !important; } .border-primary { border-color: #375a7f !important; } .border-secondary { border-color: #444 !important; } .border-success { border-color: #00bc8c !important; } .border-info { border-color: #3498db !important; } .border-warning { border-color: #f39c12 !important; } .border-danger { border-color: #e74c3c !important; } .border-light { border-color: #adb5bd !important; } .border-dark { border-color: #303030 !important; } .border-white { border-color: #fff !important; } .border-1 { border-width: 1px !important; } .border-2 { border-width: 2px !important; } .border-3 { border-width: 3px !important; } .border-4 { border-width: 4px !important; } .border-5 { border-width: 5px !important; } .w-25 { width: 25% !important; } .w-50 { width: 50% !important; } .w-75 { width: 75% !important; } .w-100 { width: 100% !important; } .w-auto { width: auto !important; } .mw-100 { max-width: 100% !important; } .vw-100 { width: 100vw !important; } .min-vw-100 { min-width: 100vw !important; } .h-25 { height: 25% !important; } .h-50 { height: 50% !important; } .h-75 { height: 75% !important; } .h-100 { height: 100% !important; } .h-auto { height: auto !important; } .mh-100 { max-height: 100% !important; } .vh-100 { height: 100vh !important; } .min-vh-100 { min-height: 100vh !important; } .flex-fill { -ms-flex: 1 1 auto !important; flex: 1 1 auto !important; } .flex-row { -ms-flex-direction: row !important; flex-direction: row !important; } .flex-column { -ms-flex-direction: column !important; flex-direction: column !important; } .flex-row-reverse { -ms-flex-direction: row-reverse !important; flex-direction: row-reverse !important; } .flex-column-reverse { -ms-flex-direction: column-reverse !important; flex-direction: column-reverse !important; } .flex-grow-0 { -ms-flex-positive: 0 !important; flex-grow: 0 !important; } .flex-grow-1 { -ms-flex-positive: 1 !important; flex-grow: 1 !important; } .flex-shrink-0 { -ms-flex-negative: 0 !important; flex-shrink: 0 !important; } .flex-shrink-1 { -ms-flex-negative: 1 !important; flex-shrink: 1 !important; } .flex-wrap { -ms-flex-wrap: wrap !important; flex-wrap: wrap !important; } .flex-nowrap { -ms-flex-wrap: nowrap !important; flex-wrap: nowrap !important; } .flex-wrap-reverse { -ms-flex-wrap: wrap-reverse !important; flex-wrap: wrap-reverse !important; } .gap-0 { gap: 0 !important; } .gap-1 { gap: 0.25rem !important; } .gap-2 { gap: 0.5rem !important; } .gap-3 { gap: 1rem !important; } .gap-4 { gap: 1.5rem !important; } .gap-5 { gap: 3rem !important; } .justify-content-start { -ms-flex-pack: start !important; justify-content: flex-start !important; } .justify-content-end { -ms-flex-pack: end !important; justify-content: flex-end !important; } .justify-content-center { -ms-flex-pack: center !important; justify-content: center !important; } .justify-content-between { -ms-flex-pack: justify !important; justify-content: space-between !important; } .justify-content-around { -ms-flex-pack: distribute !important; justify-content: space-around !important; } .justify-content-evenly { -ms-flex-pack: space-evenly !important; justify-content: space-evenly !important; } .align-items-start { -ms-flex-align: start !important; align-items: flex-start !important; } .align-items-end { -ms-flex-align: end !important; align-items: flex-end !important; } .align-items-center { -ms-flex-align: center !important; align-items: center !important; } .align-items-baseline { -ms-flex-align: baseline !important; align-items: baseline !important; } .align-items-stretch { -ms-flex-align: stretch !important; align-items: stretch !important; } .align-content-start { -ms-flex-line-pack: start !important; align-content: flex-start !important; } .align-content-end { -ms-flex-line-pack: end !important; align-content: flex-end !important; } .align-content-center { -ms-flex-line-pack: center !important; align-content: center !important; } .align-content-between { -ms-flex-line-pack: justify !important; align-content: space-between !important; } .align-content-around { -ms-flex-line-pack: distribute !important; align-content: space-around !important; } .align-content-stretch { -ms-flex-line-pack: stretch !important; align-content: stretch !important; } .align-self-auto { -ms-flex-item-align: auto !important; align-self: auto !important; } .align-self-start { -ms-flex-item-align: start !important; align-self: flex-start !important; } .align-self-end { -ms-flex-item-align: end !important; align-self: flex-end !important; } .align-self-center { -ms-flex-item-align: center !important; align-self: center !important; } .align-self-baseline { -ms-flex-item-align: baseline !important; align-self: baseline !important; } .align-self-stretch { -ms-flex-item-align: stretch !important; align-self: stretch !important; } .order-first { -ms-flex-order: -1 !important; order: -1 !important; } .order-0 { -ms-flex-order: 0 !important; order: 0 !important; } .order-1 { -ms-flex-order: 1 !important; order: 1 !important; } .order-2 { -ms-flex-order: 2 !important; order: 2 !important; } .order-3 { -ms-flex-order: 3 !important; order: 3 !important; } .order-4 { -ms-flex-order: 4 !important; order: 4 !important; } .order-5 { -ms-flex-order: 5 !important; order: 5 !important; } .order-last { -ms-flex-order: 6 !important; order: 6 !important; } .m-0 { margin: 0 !important; } .m-1 { margin: 0.25rem !important; } .m-2 { margin: 0.5rem !important; } .m-3 { margin: 1rem !important; } .m-4 { margin: 1.5rem !important; } .m-5 { margin: 3rem !important; } .m-auto { margin: auto !important; } .mx-0 { margin-right: 0 !important; margin-left: 0 !important; } .mx-1 { margin-right: 0.25rem !important; margin-left: 0.25rem !important; } .mx-2 { margin-right: 0.5rem !important; margin-left: 0.5rem !important; } .mx-3 { margin-right: 1rem !important; margin-left: 1rem !important; } .mx-4 { margin-right: 1.5rem !important; margin-left: 1.5rem !important; } .mx-5 { margin-right: 3rem !important; margin-left: 3rem !important; } .mx-auto { margin-right: auto !important; margin-left: auto !important; } .my-0 { margin-top: 0 !important; margin-bottom: 0 !important; } .my-1 { margin-top: 0.25rem !important; margin-bottom: 0.25rem !important; } .my-2 { margin-top: 0.5rem !important; margin-bottom: 0.5rem !important; } .my-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; } .my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; } .my-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; } .my-auto { margin-top: auto !important; margin-bottom: auto !important; } .mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 0.25rem !important; } .mt-2 { margin-top: 0.5rem !important; } .mt-3 { margin-top: 1rem !important; } .mt-4 { margin-top: 1.5rem !important; } .mt-5 { margin-top: 3rem !important; } .mt-auto { margin-top: auto !important; } .me-0 { margin-right: 0 !important; } .me-1 { margin-right: 0.25rem !important; } .me-2 { margin-right: 0.5rem !important; } .me-3 { margin-right: 1rem !important; } .me-4 { margin-right: 1.5rem !important; } .me-5 { margin-right: 3rem !important; } .me-auto { margin-right: auto !important; } .mb-0 { margin-bottom: 0 !important; } .mb-1 { margin-bottom: 0.25rem !important; } .mb-2 { margin-bottom: 0.5rem !important; } .mb-3 { margin-bottom: 1rem !important; } .mb-4 { margin-bottom: 1.5rem !important; } .mb-5 { margin-bottom: 3rem !important; } .mb-auto { margin-bottom: auto !important; } .ms-0 { margin-left: 0 !important; } .ms-1 { margin-left: 0.25rem !important; } .ms-2 { margin-left: 0.5rem !important; } .ms-3 { margin-left: 1rem !important; } .ms-4 { margin-left: 1.5rem !important; } .ms-5 { margin-left: 3rem !important; } .ms-auto { margin-left: auto !important; } .p-0 { padding: 0 !important; } .p-1 { padding: 0.25rem !important; } .p-2 { padding: 0.5rem !important; } .p-3 { padding: 1rem !important; } .p-4 { padding: 1.5rem !important; } .p-5 { padding: 3rem !important; } .px-0 { padding-right: 0 !important; padding-left: 0 !important; } .px-1 { padding-right: 0.25rem !important; padding-left: 0.25rem !important; } .px-2 { padding-right: 0.5rem !important; padding-left: 0.5rem !important; } .px-3 { padding-right: 1rem !important; padding-left: 1rem !important; } .px-4 { padding-right: 1.5rem !important; padding-left: 1.5rem !important; } .px-5 { padding-right: 3rem !important; padding-left: 3rem !important; } .py-0 { padding-top: 0 !important; padding-bottom: 0 !important; } .py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; } .py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; } .py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; } .py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; } .py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; } .pt-0 { padding-top: 0 !important; } .pt-1 { padding-top: 0.25rem !important; } .pt-2 { padding-top: 0.5rem !important; } .pt-3 { padding-top: 1rem !important; } .pt-4 { padding-top: 1.5rem !important; } .pt-5 { padding-top: 3rem !important; } .pe-0 { padding-right: 0 !important; } .pe-1 { padding-right: 0.25rem !important; } .pe-2 { padding-right: 0.5rem !important; } .pe-3 { padding-right: 1rem !important; } .pe-4 { padding-right: 1.5rem !important; } .pe-5 { padding-right: 3rem !important; } .pb-0 { padding-bottom: 0 !important; } .pb-1 { padding-bottom: 0.25rem !important; } .pb-2 { padding-bottom: 0.5rem !important; } .pb-3 { padding-bottom: 1rem !important; } .pb-4 { padding-bottom: 1.5rem !important; } .pb-5 { padding-bottom: 3rem !important; } .ps-0 { padding-left: 0 !important; } .ps-1 { padding-left: 0.25rem !important; } .ps-2 { padding-left: 0.5rem !important; } .ps-3 { padding-left: 1rem !important; } .ps-4 { padding-left: 1.5rem !important; } .ps-5 { padding-left: 3rem !important; } .font-monospace { font-family: var(--bs-font-monospace) !important; } .fs-1 { font-size: calc(1.425rem + 2.1vw) !important; } .fs-2 { font-size: calc(1.375rem + 1.5vw) !important; } .fs-3 { font-size: calc(1.325rem + 0.9vw) !important; } .fs-4 { font-size: calc(1.275rem + 0.3vw) !important; } .fs-5 { font-size: 1.25rem !important; } .fs-6 { font-size: 1rem !important; } .fst-italic { font-style: italic !important; } .fst-normal { font-style: normal !important; } .fw-light { font-weight: 300 !important; } .fw-lighter { font-weight: lighter !important; } .fw-normal { font-weight: 400 !important; } .fw-bold { font-weight: 700 !important; } .fw-bolder { font-weight: bolder !important; } .lh-1 { line-height: 1 !important; } .lh-sm { line-height: 1.25 !important; } .lh-base { line-height: 1.5 !important; } .lh-lg { line-height: 2 !important; } .text-start { text-align: left !important; } .text-end { text-align: right !important; } .text-center { text-align: center !important; } .text-decoration-none { text-decoration: none !important; } .text-decoration-underline { text-decoration: underline !important; } .text-decoration-line-through { text-decoration: line-through !important; } .text-lowercase { text-transform: lowercase !important; } .text-uppercase { text-transform: uppercase !important; } .text-capitalize { text-transform: capitalize !important; } .text-wrap { white-space: normal !important; } .text-nowrap { white-space: nowrap !important; } /* rtl:begin:remove */ .text-break { word-wrap: break-word !important; word-break: break-word !important; } /* rtl:end:remove */ .text-primary { --bs-text-opacity: 1; color: rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important; } .text-secondary { --bs-text-opacity: 1; color: rgba(var(--bs-secondary-rgb), var(--bs-text-opacity)) !important; } .text-success { --bs-text-opacity: 1; color: rgba(var(--bs-success-rgb), var(--bs-text-opacity)) !important; } .text-info { --bs-text-opacity: 1; color: rgba(var(--bs-info-rgb), var(--bs-text-opacity)) !important; } .text-warning { --bs-text-opacity: 1; color: rgba(var(--bs-warning-rgb), var(--bs-text-opacity)) !important; } .text-danger { --bs-text-opacity: 1; color: rgba(var(--bs-danger-rgb), var(--bs-text-opacity)) !important; } .text-light { --bs-text-opacity: 1; color: rgba(var(--bs-light-rgb), var(--bs-text-opacity)) !important; } .text-dark { --bs-text-opacity: 1; color: rgba(var(--bs-dark-rgb), var(--bs-text-opacity)) !important; } .text-black { --bs-text-opacity: 1; color: rgba(var(--bs-black-rgb), var(--bs-text-opacity)) !important; } .text-white { --bs-text-opacity: 1; color: rgba(var(--bs-white-rgb), var(--bs-text-opacity)) !important; } .text-body { --bs-text-opacity: 1; color: rgba(var(--bs-body-color-rgb), var(--bs-text-opacity)) !important; } .text-muted { --bs-text-opacity: 1; color: #888 !important; } .text-black-50 { --bs-text-opacity: 1; color: rgba(0, 0, 0, 0.5) !important; } .text-white-50 { --bs-text-opacity: 1; color: rgba(255, 255, 255, 0.5) !important; } .text-reset { --bs-text-opacity: 1; color: inherit !important; } .text-opacity-25 { --bs-text-opacity: 0.25; } .text-opacity-50 { --bs-text-opacity: 0.5; } .text-opacity-75 { --bs-text-opacity: 0.75; } .text-opacity-100 { --bs-text-opacity: 1; } .bg-primary { --bs-bg-opacity: 1; background-color: rgba(var(--bs-primary-rgb), var(--bs-bg-opacity)) !important; } .bg-secondary { --bs-bg-opacity: 1; background-color: rgba(var(--bs-secondary-rgb), var(--bs-bg-opacity)) !important; } .bg-success { --bs-bg-opacity: 1; background-color: rgba(var(--bs-success-rgb), var(--bs-bg-opacity)) !important; } .bg-info { --bs-bg-opacity: 1; background-color: rgba(var(--bs-info-rgb), var(--bs-bg-opacity)) !important; } .bg-warning { --bs-bg-opacity: 1; background-color: rgba(var(--bs-warning-rgb), var(--bs-bg-opacity)) !important; } .bg-danger { --bs-bg-opacity: 1; background-color: rgba(var(--bs-danger-rgb), var(--bs-bg-opacity)) !important; } .bg-light { --bs-bg-opacity: 1; background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important; } .bg-dark { --bs-bg-opacity: 1; background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) !important; } .bg-black { --bs-bg-opacity: 1; background-color: rgba(var(--bs-black-rgb), var(--bs-bg-opacity)) !important; } .bg-white { --bs-bg-opacity: 1; background-color: rgba(var(--bs-white-rgb), var(--bs-bg-opacity)) !important; } .bg-body { --bs-bg-opacity: 1; background-color: rgba(var(--bs-body-bg-rgb), var(--bs-bg-opacity)) !important; } .bg-transparent { --bs-bg-opacity: 1; background-color: transparent !important; } .bg-opacity-10 { --bs-bg-opacity: 0.1; } .bg-opacity-25 { --bs-bg-opacity: 0.25; } .bg-opacity-50 { --bs-bg-opacity: 0.5; } .bg-opacity-75 { --bs-bg-opacity: 0.75; } .bg-opacity-100 { --bs-bg-opacity: 1; } .bg-gradient { background-image: var(--bs-gradient) !important; } .user-select-all { -webkit-user-select: all !important; -moz-user-select: all !important; user-select: all !important; } .user-select-auto { -webkit-user-select: auto !important; -moz-user-select: auto !important; -ms-user-select: auto !important; user-select: auto !important; } .user-select-none { -webkit-user-select: none !important; -moz-user-select: none !important; -ms-user-select: none !important; user-select: none !important; } .pe-none { pointer-events: none !important; } .pe-auto { pointer-events: auto !important; } .rounded { border-radius: 0.25rem !important; } .rounded-0 { border-radius: 0 !important; } .rounded-1 { border-radius: 0.2rem !important; } .rounded-2 { border-radius: 0.25rem !important; } .rounded-3 { border-radius: 0.3rem !important; } .rounded-circle { border-radius: 50% !important; } .rounded-pill { border-radius: 50rem !important; } .rounded-top { border-top-left-radius: 0.25rem !important; border-top-right-radius: 0.25rem !important; } .rounded-end { border-top-right-radius: 0.25rem !important; border-bottom-right-radius: 0.25rem !important; } .rounded-bottom { border-bottom-right-radius: 0.25rem !important; border-bottom-left-radius: 0.25rem !important; } .rounded-start { border-bottom-left-radius: 0.25rem !important; border-top-left-radius: 0.25rem !important; } .visible { visibility: visible !important; } .invisible { visibility: hidden !important; } @media (min-width: 576px) { .float-sm-start { float: left !important; } .float-sm-end { float: right !important; } .float-sm-none { float: none !important; } .d-sm-inline { display: inline !important; } .d-sm-inline-block { display: inline-block !important; } .d-sm-block { display: block !important; } .d-sm-grid { display: grid !important; } .d-sm-table { display: table !important; } .d-sm-table-row { display: table-row !important; } .d-sm-table-cell { display: table-cell !important; } .d-sm-flex { display: -ms-flexbox !important; display: flex !important; } .d-sm-inline-flex { display: -ms-inline-flexbox !important; display: inline-flex !important; } .d-sm-none { display: none !important; } .flex-sm-fill { -ms-flex: 1 1 auto !important; flex: 1 1 auto !important; } .flex-sm-row { -ms-flex-direction: row !important; flex-direction: row !important; } .flex-sm-column { -ms-flex-direction: column !important; flex-direction: column !important; } .flex-sm-row-reverse { -ms-flex-direction: row-reverse !important; flex-direction: row-reverse !important; } .flex-sm-column-reverse { -ms-flex-direction: column-reverse !important; flex-direction: column-reverse !important; } .flex-sm-grow-0 { -ms-flex-positive: 0 !important; flex-grow: 0 !important; } .flex-sm-grow-1 { -ms-flex-positive: 1 !important; flex-grow: 1 !important; } .flex-sm-shrink-0 { -ms-flex-negative: 0 !important; flex-shrink: 0 !important; } .flex-sm-shrink-1 { -ms-flex-negative: 1 !important; flex-shrink: 1 !important; } .flex-sm-wrap { -ms-flex-wrap: wrap !important; flex-wrap: wrap !important; } .flex-sm-nowrap { -ms-flex-wrap: nowrap !important; flex-wrap: nowrap !important; } .flex-sm-wrap-reverse { -ms-flex-wrap: wrap-reverse !important; flex-wrap: wrap-reverse !important; } .gap-sm-0 { gap: 0 !important; } .gap-sm-1 { gap: 0.25rem !important; } .gap-sm-2 { gap: 0.5rem !important; } .gap-sm-3 { gap: 1rem !important; } .gap-sm-4 { gap: 1.5rem !important; } .gap-sm-5 { gap: 3rem !important; } .justify-content-sm-start { -ms-flex-pack: start !important; justify-content: flex-start !important; } .justify-content-sm-end { -ms-flex-pack: end !important; justify-content: flex-end !important; } .justify-content-sm-center { -ms-flex-pack: center !important; justify-content: center !important; } .justify-content-sm-between { -ms-flex-pack: justify !important; justify-content: space-between !important; } .justify-content-sm-around { -ms-flex-pack: distribute !important; justify-content: space-around !important; } .justify-content-sm-evenly { -ms-flex-pack: space-evenly !important; justify-content: space-evenly !important; } .align-items-sm-start { -ms-flex-align: start !important; align-items: flex-start !important; } .align-items-sm-end { -ms-flex-align: end !important; align-items: flex-end !important; } .align-items-sm-center { -ms-flex-align: center !important; align-items: center !important; } .align-items-sm-baseline { -ms-flex-align: baseline !important; align-items: baseline !important; } .align-items-sm-stretch { -ms-flex-align: stretch !important; align-items: stretch !important; } .align-content-sm-start { -ms-flex-line-pack: start !important; align-content: flex-start !important; } .align-content-sm-end { -ms-flex-line-pack: end !important; align-content: flex-end !important; } .align-content-sm-center { -ms-flex-line-pack: center !important; align-content: center !important; } .align-content-sm-between { -ms-flex-line-pack: justify !important; align-content: space-between !important; } .align-content-sm-around { -ms-flex-line-pack: distribute !important; align-content: space-around !important; } .align-content-sm-stretch { -ms-flex-line-pack: stretch !important; align-content: stretch !important; } .align-self-sm-auto { -ms-flex-item-align: auto !important; align-self: auto !important; } .align-self-sm-start { -ms-flex-item-align: start !important; align-self: flex-start !important; } .align-self-sm-end { -ms-flex-item-align: end !important; align-self: flex-end !important; } .align-self-sm-center { -ms-flex-item-align: center !important; align-self: center !important; } .align-self-sm-baseline { -ms-flex-item-align: baseline !important; align-self: baseline !important; } .align-self-sm-stretch { -ms-flex-item-align: stretch !important; align-self: stretch !important; } .order-sm-first { -ms-flex-order: -1 !important; order: -1 !important; } .order-sm-0 { -ms-flex-order: 0 !important; order: 0 !important; } .order-sm-1 { -ms-flex-order: 1 !important; order: 1 !important; } .order-sm-2 { -ms-flex-order: 2 !important; order: 2 !important; } .order-sm-3 { -ms-flex-order: 3 !important; order: 3 !important; } .order-sm-4 { -ms-flex-order: 4 !important; order: 4 !important; } .order-sm-5 { -ms-flex-order: 5 !important; order: 5 !important; } .order-sm-last { -ms-flex-order: 6 !important; order: 6 !important; } .m-sm-0 { margin: 0 !important; } .m-sm-1 { margin: 0.25rem !important; } .m-sm-2 { margin: 0.5rem !important; } .m-sm-3 { margin: 1rem !important; } .m-sm-4 { margin: 1.5rem !important; } .m-sm-5 { margin: 3rem !important; } .m-sm-auto { margin: auto !important; } .mx-sm-0 { margin-right: 0 !important; margin-left: 0 !important; } .mx-sm-1 { margin-right: 0.25rem !important; margin-left: 0.25rem !important; } .mx-sm-2 { margin-right: 0.5rem !important; margin-left: 0.5rem !important; } .mx-sm-3 { margin-right: 1rem !important; margin-left: 1rem !important; } .mx-sm-4 { margin-right: 1.5rem !important; margin-left: 1.5rem !important; } .mx-sm-5 { margin-right: 3rem !important; margin-left: 3rem !important; } .mx-sm-auto { margin-right: auto !important; margin-left: auto !important; } .my-sm-0 { margin-top: 0 !important; margin-bottom: 0 !important; } .my-sm-1 { margin-top: 0.25rem !important; margin-bottom: 0.25rem !important; } .my-sm-2 { margin-top: 0.5rem !important; margin-bottom: 0.5rem !important; } .my-sm-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; } .my-sm-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; } .my-sm-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; } .my-sm-auto { margin-top: auto !important; margin-bottom: auto !important; } .mt-sm-0 { margin-top: 0 !important; } .mt-sm-1 { margin-top: 0.25rem !important; } .mt-sm-2 { margin-top: 0.5rem !important; } .mt-sm-3 { margin-top: 1rem !important; } .mt-sm-4 { margin-top: 1.5rem !important; } .mt-sm-5 { margin-top: 3rem !important; } .mt-sm-auto { margin-top: auto !important; } .me-sm-0 { margin-right: 0 !important; } .me-sm-1 { margin-right: 0.25rem !important; } .me-sm-2 { margin-right: 0.5rem !important; } .me-sm-3 { margin-right: 1rem !important; } .me-sm-4 { margin-right: 1.5rem !important; } .me-sm-5 { margin-right: 3rem !important; } .me-sm-auto { margin-right: auto !important; } .mb-sm-0 { margin-bottom: 0 !important; } .mb-sm-1 { margin-bottom: 0.25rem !important; } .mb-sm-2 { margin-bottom: 0.5rem !important; } .mb-sm-3 { margin-bottom: 1rem !important; } .mb-sm-4 { margin-bottom: 1.5rem !important; } .mb-sm-5 { margin-bottom: 3rem !important; } .mb-sm-auto { margin-bottom: auto !important; } .ms-sm-0 { margin-left: 0 !important; } .ms-sm-1 { margin-left: 0.25rem !important; } .ms-sm-2 { margin-left: 0.5rem !important; } .ms-sm-3 { margin-left: 1rem !important; } .ms-sm-4 { margin-left: 1.5rem !important; } .ms-sm-5 { margin-left: 3rem !important; } .ms-sm-auto { margin-left: auto !important; } .p-sm-0 { padding: 0 !important; } .p-sm-1 { padding: 0.25rem !important; } .p-sm-2 { padding: 0.5rem !important; } .p-sm-3 { padding: 1rem !important; } .p-sm-4 { padding: 1.5rem !important; } .p-sm-5 { padding: 3rem !important; } .px-sm-0 { padding-right: 0 !important; padding-left: 0 !important; } .px-sm-1 { padding-right: 0.25rem !important; padding-left: 0.25rem !important; } .px-sm-2 { padding-right: 0.5rem !important; padding-left: 0.5rem !important; } .px-sm-3 { padding-right: 1rem !important; padding-left: 1rem !important; } .px-sm-4 { padding-right: 1.5rem !important; padding-left: 1.5rem !important; } .px-sm-5 { padding-right: 3rem !important; padding-left: 3rem !important; } .py-sm-0 { padding-top: 0 !important; padding-bottom: 0 !important; } .py-sm-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; } .py-sm-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; } .py-sm-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; } .py-sm-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; } .py-sm-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; } .pt-sm-0 { padding-top: 0 !important; } .pt-sm-1 { padding-top: 0.25rem !important; } .pt-sm-2 { padding-top: 0.5rem !important; } .pt-sm-3 { padding-top: 1rem !important; } .pt-sm-4 { padding-top: 1.5rem !important; } .pt-sm-5 { padding-top: 3rem !important; } .pe-sm-0 { padding-right: 0 !important; } .pe-sm-1 { padding-right: 0.25rem !important; } .pe-sm-2 { padding-right: 0.5rem !important; } .pe-sm-3 { padding-right: 1rem !important; } .pe-sm-4 { padding-right: 1.5rem !important; } .pe-sm-5 { padding-right: 3rem !important; } .pb-sm-0 { padding-bottom: 0 !important; } .pb-sm-1 { padding-bottom: 0.25rem !important; } .pb-sm-2 { padding-bottom: 0.5rem !important; } .pb-sm-3 { padding-bottom: 1rem !important; } .pb-sm-4 { padding-bottom: 1.5rem !important; } .pb-sm-5 { padding-bottom: 3rem !important; } .ps-sm-0 { padding-left: 0 !important; } .ps-sm-1 { padding-left: 0.25rem !important; } .ps-sm-2 { padding-left: 0.5rem !important; } .ps-sm-3 { padding-left: 1rem !important; } .ps-sm-4 { padding-left: 1.5rem !important; } .ps-sm-5 { padding-left: 3rem !important; } .text-sm-start { text-align: left !important; } .text-sm-end { text-align: right !important; } .text-sm-center { text-align: center !important; } } @media (min-width: 768px) { .float-md-start { float: left !important; } .float-md-end { float: right !important; } .float-md-none { float: none !important; } .d-md-inline { display: inline !important; } .d-md-inline-block { display: inline-block !important; } .d-md-block { display: block !important; } .d-md-grid { display: grid !important; } .d-md-table { display: table !important; } .d-md-table-row { display: table-row !important; } .d-md-table-cell { display: table-cell !important; } .d-md-flex { display: -ms-flexbox !important; display: flex !important; } .d-md-inline-flex { display: -ms-inline-flexbox !important; display: inline-flex !important; } .d-md-none { display: none !important; } .flex-md-fill { -ms-flex: 1 1 auto !important; flex: 1 1 auto !important; } .flex-md-row { -ms-flex-direction: row !important; flex-direction: row !important; } .flex-md-column { -ms-flex-direction: column !important; flex-direction: column !important; } .flex-md-row-reverse { -ms-flex-direction: row-reverse !important; flex-direction: row-reverse !important; } .flex-md-column-reverse { -ms-flex-direction: column-reverse !important; flex-direction: column-reverse !important; } .flex-md-grow-0 { -ms-flex-positive: 0 !important; flex-grow: 0 !important; } .flex-md-grow-1 { -ms-flex-positive: 1 !important; flex-grow: 1 !important; } .flex-md-shrink-0 { -ms-flex-negative: 0 !important; flex-shrink: 0 !important; } .flex-md-shrink-1 { -ms-flex-negative: 1 !important; flex-shrink: 1 !important; } .flex-md-wrap { -ms-flex-wrap: wrap !important; flex-wrap: wrap !important; } .flex-md-nowrap { -ms-flex-wrap: nowrap !important; flex-wrap: nowrap !important; } .flex-md-wrap-reverse { -ms-flex-wrap: wrap-reverse !important; flex-wrap: wrap-reverse !important; } .gap-md-0 { gap: 0 !important; } .gap-md-1 { gap: 0.25rem !important; } .gap-md-2 { gap: 0.5rem !important; } .gap-md-3 { gap: 1rem !important; } .gap-md-4 { gap: 1.5rem !important; } .gap-md-5 { gap: 3rem !important; } .justify-content-md-start { -ms-flex-pack: start !important; justify-content: flex-start !important; } .justify-content-md-end { -ms-flex-pack: end !important; justify-content: flex-end !important; } .justify-content-md-center { -ms-flex-pack: center !important; justify-content: center !important; } .justify-content-md-between { -ms-flex-pack: justify !important; justify-content: space-between !important; } .justify-content-md-around { -ms-flex-pack: distribute !important; justify-content: space-around !important; } .justify-content-md-evenly { -ms-flex-pack: space-evenly !important; justify-content: space-evenly !important; } .align-items-md-start { -ms-flex-align: start !important; align-items: flex-start !important; } .align-items-md-end { -ms-flex-align: end !important; align-items: flex-end !important; } .align-items-md-center { -ms-flex-align: center !important; align-items: center !important; } .align-items-md-baseline { -ms-flex-align: baseline !important; align-items: baseline !important; } .align-items-md-stretch { -ms-flex-align: stretch !important; align-items: stretch !important; } .align-content-md-start { -ms-flex-line-pack: start !important; align-content: flex-start !important; } .align-content-md-end { -ms-flex-line-pack: end !important; align-content: flex-end !important; } .align-content-md-center { -ms-flex-line-pack: center !important; align-content: center !important; } .align-content-md-between { -ms-flex-line-pack: justify !important; align-content: space-between !important; } .align-content-md-around { -ms-flex-line-pack: distribute !important; align-content: space-around !important; } .align-content-md-stretch { -ms-flex-line-pack: stretch !important; align-content: stretch !important; } .align-self-md-auto { -ms-flex-item-align: auto !important; align-self: auto !important; } .align-self-md-start { -ms-flex-item-align: start !important; align-self: flex-start !important; } .align-self-md-end { -ms-flex-item-align: end !important; align-self: flex-end !important; } .align-self-md-center { -ms-flex-item-align: center !important; align-self: center !important; } .align-self-md-baseline { -ms-flex-item-align: baseline !important; align-self: baseline !important; } .align-self-md-stretch { -ms-flex-item-align: stretch !important; align-self: stretch !important; } .order-md-first { -ms-flex-order: -1 !important; order: -1 !important; } .order-md-0 { -ms-flex-order: 0 !important; order: 0 !important; } .order-md-1 { -ms-flex-order: 1 !important; order: 1 !important; } .order-md-2 { -ms-flex-order: 2 !important; order: 2 !important; } .order-md-3 { -ms-flex-order: 3 !important; order: 3 !important; } .order-md-4 { -ms-flex-order: 4 !important; order: 4 !important; } .order-md-5 { -ms-flex-order: 5 !important; order: 5 !important; } .order-md-last { -ms-flex-order: 6 !important; order: 6 !important; } .m-md-0 { margin: 0 !important; } .m-md-1 { margin: 0.25rem !important; } .m-md-2 { margin: 0.5rem !important; } .m-md-3 { margin: 1rem !important; } .m-md-4 { margin: 1.5rem !important; } .m-md-5 { margin: 3rem !important; } .m-md-auto { margin: auto !important; } .mx-md-0 { margin-right: 0 !important; margin-left: 0 !important; } .mx-md-1 { margin-right: 0.25rem !important; margin-left: 0.25rem !important; } .mx-md-2 { margin-right: 0.5rem !important; margin-left: 0.5rem !important; } .mx-md-3 { margin-right: 1rem !important; margin-left: 1rem !important; } .mx-md-4 { margin-right: 1.5rem !important; margin-left: 1.5rem !important; } .mx-md-5 { margin-right: 3rem !important; margin-left: 3rem !important; } .mx-md-auto { margin-right: auto !important; margin-left: auto !important; } .my-md-0 { margin-top: 0 !important; margin-bottom: 0 !important; } .my-md-1 { margin-top: 0.25rem !important; margin-bottom: 0.25rem !important; } .my-md-2 { margin-top: 0.5rem !important; margin-bottom: 0.5rem !important; } .my-md-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; } .my-md-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; } .my-md-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; } .my-md-auto { margin-top: auto !important; margin-bottom: auto !important; } .mt-md-0 { margin-top: 0 !important; } .mt-md-1 { margin-top: 0.25rem !important; } .mt-md-2 { margin-top: 0.5rem !important; } .mt-md-3 { margin-top: 1rem !important; } .mt-md-4 { margin-top: 1.5rem !important; } .mt-md-5 { margin-top: 3rem !important; } .mt-md-auto { margin-top: auto !important; } .me-md-0 { margin-right: 0 !important; } .me-md-1 { margin-right: 0.25rem !important; } .me-md-2 { margin-right: 0.5rem !important; } .me-md-3 { margin-right: 1rem !important; } .me-md-4 { margin-right: 1.5rem !important; } .me-md-5 { margin-right: 3rem !important; } .me-md-auto { margin-right: auto !important; } .mb-md-0 { margin-bottom: 0 !important; } .mb-md-1 { margin-bottom: 0.25rem !important; } .mb-md-2 { margin-bottom: 0.5rem !important; } .mb-md-3 { margin-bottom: 1rem !important; } .mb-md-4 { margin-bottom: 1.5rem !important; } .mb-md-5 { margin-bottom: 3rem !important; } .mb-md-auto { margin-bottom: auto !important; } .ms-md-0 { margin-left: 0 !important; } .ms-md-1 { margin-left: 0.25rem !important; } .ms-md-2 { margin-left: 0.5rem !important; } .ms-md-3 { margin-left: 1rem !important; } .ms-md-4 { margin-left: 1.5rem !important; } .ms-md-5 { margin-left: 3rem !important; } .ms-md-auto { margin-left: auto !important; } .p-md-0 { padding: 0 !important; } .p-md-1 { padding: 0.25rem !important; } .p-md-2 { padding: 0.5rem !important; } .p-md-3 { padding: 1rem !important; } .p-md-4 { padding: 1.5rem !important; } .p-md-5 { padding: 3rem !important; } .px-md-0 { padding-right: 0 !important; padding-left: 0 !important; } .px-md-1 { padding-right: 0.25rem !important; padding-left: 0.25rem !important; } .px-md-2 { padding-right: 0.5rem !important; padding-left: 0.5rem !important; } .px-md-3 { padding-right: 1rem !important; padding-left: 1rem !important; } .px-md-4 { padding-right: 1.5rem !important; padding-left: 1.5rem !important; } .px-md-5 { padding-right: 3rem !important; padding-left: 3rem !important; } .py-md-0 { padding-top: 0 !important; padding-bottom: 0 !important; } .py-md-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; } .py-md-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; } .py-md-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; } .py-md-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; } .py-md-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; } .pt-md-0 { padding-top: 0 !important; } .pt-md-1 { padding-top: 0.25rem !important; } .pt-md-2 { padding-top: 0.5rem !important; } .pt-md-3 { padding-top: 1rem !important; } .pt-md-4 { padding-top: 1.5rem !important; } .pt-md-5 { padding-top: 3rem !important; } .pe-md-0 { padding-right: 0 !important; } .pe-md-1 { padding-right: 0.25rem !important; } .pe-md-2 { padding-right: 0.5rem !important; } .pe-md-3 { padding-right: 1rem !important; } .pe-md-4 { padding-right: 1.5rem !important; } .pe-md-5 { padding-right: 3rem !important; } .pb-md-0 { padding-bottom: 0 !important; } .pb-md-1 { padding-bottom: 0.25rem !important; } .pb-md-2 { padding-bottom: 0.5rem !important; } .pb-md-3 { padding-bottom: 1rem !important; } .pb-md-4 { padding-bottom: 1.5rem !important; } .pb-md-5 { padding-bottom: 3rem !important; } .ps-md-0 { padding-left: 0 !important; } .ps-md-1 { padding-left: 0.25rem !important; } .ps-md-2 { padding-left: 0.5rem !important; } .ps-md-3 { padding-left: 1rem !important; } .ps-md-4 { padding-left: 1.5rem !important; } .ps-md-5 { padding-left: 3rem !important; } .text-md-start { text-align: left !important; } .text-md-end { text-align: right !important; } .text-md-center { text-align: center !important; } } @media (min-width: 992px) { .float-lg-start { float: left !important; } .float-lg-end { float: right !important; } .float-lg-none { float: none !important; } .d-lg-inline { display: inline !important; } .d-lg-inline-block { display: inline-block !important; } .d-lg-block { display: block !important; } .d-lg-grid { display: grid !important; } .d-lg-table { display: table !important; } .d-lg-table-row { display: table-row !important; } .d-lg-table-cell { display: table-cell !important; } .d-lg-flex { display: -ms-flexbox !important; display: flex !important; } .d-lg-inline-flex { display: -ms-inline-flexbox !important; display: inline-flex !important; } .d-lg-none { display: none !important; } .flex-lg-fill { -ms-flex: 1 1 auto !important; flex: 1 1 auto !important; } .flex-lg-row { -ms-flex-direction: row !important; flex-direction: row !important; } .flex-lg-column { -ms-flex-direction: column !important; flex-direction: column !important; } .flex-lg-row-reverse { -ms-flex-direction: row-reverse !important; flex-direction: row-reverse !important; } .flex-lg-column-reverse { -ms-flex-direction: column-reverse !important; flex-direction: column-reverse !important; } .flex-lg-grow-0 { -ms-flex-positive: 0 !important; flex-grow: 0 !important; } .flex-lg-grow-1 { -ms-flex-positive: 1 !important; flex-grow: 1 !important; } .flex-lg-shrink-0 { -ms-flex-negative: 0 !important; flex-shrink: 0 !important; } .flex-lg-shrink-1 { -ms-flex-negative: 1 !important; flex-shrink: 1 !important; } .flex-lg-wrap { -ms-flex-wrap: wrap !important; flex-wrap: wrap !important; } .flex-lg-nowrap { -ms-flex-wrap: nowrap !important; flex-wrap: nowrap !important; } .flex-lg-wrap-reverse { -ms-flex-wrap: wrap-reverse !important; flex-wrap: wrap-reverse !important; } .gap-lg-0 { gap: 0 !important; } .gap-lg-1 { gap: 0.25rem !important; } .gap-lg-2 { gap: 0.5rem !important; } .gap-lg-3 { gap: 1rem !important; } .gap-lg-4 { gap: 1.5rem !important; } .gap-lg-5 { gap: 3rem !important; } .justify-content-lg-start { -ms-flex-pack: start !important; justify-content: flex-start !important; } .justify-content-lg-end { -ms-flex-pack: end !important; justify-content: flex-end !important; } .justify-content-lg-center { -ms-flex-pack: center !important; justify-content: center !important; } .justify-content-lg-between { -ms-flex-pack: justify !important; justify-content: space-between !important; } .justify-content-lg-around { -ms-flex-pack: distribute !important; justify-content: space-around !important; } .justify-content-lg-evenly { -ms-flex-pack: space-evenly !important; justify-content: space-evenly !important; } .align-items-lg-start { -ms-flex-align: start !important; align-items: flex-start !important; } .align-items-lg-end { -ms-flex-align: end !important; align-items: flex-end !important; } .align-items-lg-center { -ms-flex-align: center !important; align-items: center !important; } .align-items-lg-baseline { -ms-flex-align: baseline !important; align-items: baseline !important; } .align-items-lg-stretch { -ms-flex-align: stretch !important; align-items: stretch !important; } .align-content-lg-start { -ms-flex-line-pack: start !important; align-content: flex-start !important; } .align-content-lg-end { -ms-flex-line-pack: end !important; align-content: flex-end !important; } .align-content-lg-center { -ms-flex-line-pack: center !important; align-content: center !important; } .align-content-lg-between { -ms-flex-line-pack: justify !important; align-content: space-between !important; } .align-content-lg-around { -ms-flex-line-pack: distribute !important; align-content: space-around !important; } .align-content-lg-stretch { -ms-flex-line-pack: stretch !important; align-content: stretch !important; } .align-self-lg-auto { -ms-flex-item-align: auto !important; align-self: auto !important; } .align-self-lg-start { -ms-flex-item-align: start !important; align-self: flex-start !important; } .align-self-lg-end { -ms-flex-item-align: end !important; align-self: flex-end !important; } .align-self-lg-center { -ms-flex-item-align: center !important; align-self: center !important; } .align-self-lg-baseline { -ms-flex-item-align: baseline !important; align-self: baseline !important; } .align-self-lg-stretch { -ms-flex-item-align: stretch !important; align-self: stretch !important; } .order-lg-first { -ms-flex-order: -1 !important; order: -1 !important; } .order-lg-0 { -ms-flex-order: 0 !important; order: 0 !important; } .order-lg-1 { -ms-flex-order: 1 !important; order: 1 !important; } .order-lg-2 { -ms-flex-order: 2 !important; order: 2 !important; } .order-lg-3 { -ms-flex-order: 3 !important; order: 3 !important; } .order-lg-4 { -ms-flex-order: 4 !important; order: 4 !important; } .order-lg-5 { -ms-flex-order: 5 !important; order: 5 !important; } .order-lg-last { -ms-flex-order: 6 !important; order: 6 !important; } .m-lg-0 { margin: 0 !important; } .m-lg-1 { margin: 0.25rem !important; } .m-lg-2 { margin: 0.5rem !important; } .m-lg-3 { margin: 1rem !important; } .m-lg-4 { margin: 1.5rem !important; } .m-lg-5 { margin: 3rem !important; } .m-lg-auto { margin: auto !important; } .mx-lg-0 { margin-right: 0 !important; margin-left: 0 !important; } .mx-lg-1 { margin-right: 0.25rem !important; margin-left: 0.25rem !important; } .mx-lg-2 { margin-right: 0.5rem !important; margin-left: 0.5rem !important; } .mx-lg-3 { margin-right: 1rem !important; margin-left: 1rem !important; } .mx-lg-4 { margin-right: 1.5rem !important; margin-left: 1.5rem !important; } .mx-lg-5 { margin-right: 3rem !important; margin-left: 3rem !important; } .mx-lg-auto { margin-right: auto !important; margin-left: auto !important; } .my-lg-0 { margin-top: 0 !important; margin-bottom: 0 !important; } .my-lg-1 { margin-top: 0.25rem !important; margin-bottom: 0.25rem !important; } .my-lg-2 { margin-top: 0.5rem !important; margin-bottom: 0.5rem !important; } .my-lg-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; } .my-lg-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; } .my-lg-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; } .my-lg-auto { margin-top: auto !important; margin-bottom: auto !important; } .mt-lg-0 { margin-top: 0 !important; } .mt-lg-1 { margin-top: 0.25rem !important; } .mt-lg-2 { margin-top: 0.5rem !important; } .mt-lg-3 { margin-top: 1rem !important; } .mt-lg-4 { margin-top: 1.5rem !important; } .mt-lg-5 { margin-top: 3rem !important; } .mt-lg-auto { margin-top: auto !important; } .me-lg-0 { margin-right: 0 !important; } .me-lg-1 { margin-right: 0.25rem !important; } .me-lg-2 { margin-right: 0.5rem !important; } .me-lg-3 { margin-right: 1rem !important; } .me-lg-4 { margin-right: 1.5rem !important; } .me-lg-5 { margin-right: 3rem !important; } .me-lg-auto { margin-right: auto !important; } .mb-lg-0 { margin-bottom: 0 !important; } .mb-lg-1 { margin-bottom: 0.25rem !important; } .mb-lg-2 { margin-bottom: 0.5rem !important; } .mb-lg-3 { margin-bottom: 1rem !important; } .mb-lg-4 { margin-bottom: 1.5rem !important; } .mb-lg-5 { margin-bottom: 3rem !important; } .mb-lg-auto { margin-bottom: auto !important; } .ms-lg-0 { margin-left: 0 !important; } .ms-lg-1 { margin-left: 0.25rem !important; } .ms-lg-2 { margin-left: 0.5rem !important; } .ms-lg-3 { margin-left: 1rem !important; } .ms-lg-4 { margin-left: 1.5rem !important; } .ms-lg-5 { margin-left: 3rem !important; } .ms-lg-auto { margin-left: auto !important; } .p-lg-0 { padding: 0 !important; } .p-lg-1 { padding: 0.25rem !important; } .p-lg-2 { padding: 0.5rem !important; } .p-lg-3 { padding: 1rem !important; } .p-lg-4 { padding: 1.5rem !important; } .p-lg-5 { padding: 3rem !important; } .px-lg-0 { padding-right: 0 !important; padding-left: 0 !important; } .px-lg-1 { padding-right: 0.25rem !important; padding-left: 0.25rem !important; } .px-lg-2 { padding-right: 0.5rem !important; padding-left: 0.5rem !important; } .px-lg-3 { padding-right: 1rem !important; padding-left: 1rem !important; } .px-lg-4 { padding-right: 1.5rem !important; padding-left: 1.5rem !important; } .px-lg-5 { padding-right: 3rem !important; padding-left: 3rem !important; } .py-lg-0 { padding-top: 0 !important; padding-bottom: 0 !important; } .py-lg-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; } .py-lg-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; } .py-lg-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; } .py-lg-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; } .py-lg-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; } .pt-lg-0 { padding-top: 0 !important; } .pt-lg-1 { padding-top: 0.25rem !important; } .pt-lg-2 { padding-top: 0.5rem !important; } .pt-lg-3 { padding-top: 1rem !important; } .pt-lg-4 { padding-top: 1.5rem !important; } .pt-lg-5 { padding-top: 3rem !important; } .pe-lg-0 { padding-right: 0 !important; } .pe-lg-1 { padding-right: 0.25rem !important; } .pe-lg-2 { padding-right: 0.5rem !important; } .pe-lg-3 { padding-right: 1rem !important; } .pe-lg-4 { padding-right: 1.5rem !important; } .pe-lg-5 { padding-right: 3rem !important; } .pb-lg-0 { padding-bottom: 0 !important; } .pb-lg-1 { padding-bottom: 0.25rem !important; } .pb-lg-2 { padding-bottom: 0.5rem !important; } .pb-lg-3 { padding-bottom: 1rem !important; } .pb-lg-4 { padding-bottom: 1.5rem !important; } .pb-lg-5 { padding-bottom: 3rem !important; } .ps-lg-0 { padding-left: 0 !important; } .ps-lg-1 { padding-left: 0.25rem !important; } .ps-lg-2 { padding-left: 0.5rem !important; } .ps-lg-3 { padding-left: 1rem !important; } .ps-lg-4 { padding-left: 1.5rem !important; } .ps-lg-5 { padding-left: 3rem !important; } .text-lg-start { text-align: left !important; } .text-lg-end { text-align: right !important; } .text-lg-center { text-align: center !important; } } @media (min-width: 1200px) { .float-xl-start { float: left !important; } .float-xl-end { float: right !important; } .float-xl-none { float: none !important; } .d-xl-inline { display: inline !important; } .d-xl-inline-block { display: inline-block !important; } .d-xl-block { display: block !important; } .d-xl-grid { display: grid !important; } .d-xl-table { display: table !important; } .d-xl-table-row { display: table-row !important; } .d-xl-table-cell { display: table-cell !important; } .d-xl-flex { display: -ms-flexbox !important; display: flex !important; } .d-xl-inline-flex { display: -ms-inline-flexbox !important; display: inline-flex !important; } .d-xl-none { display: none !important; } .flex-xl-fill { -ms-flex: 1 1 auto !important; flex: 1 1 auto !important; } .flex-xl-row { -ms-flex-direction: row !important; flex-direction: row !important; } .flex-xl-column { -ms-flex-direction: column !important; flex-direction: column !important; } .flex-xl-row-reverse { -ms-flex-direction: row-reverse !important; flex-direction: row-reverse !important; } .flex-xl-column-reverse { -ms-flex-direction: column-reverse !important; flex-direction: column-reverse !important; } .flex-xl-grow-0 { -ms-flex-positive: 0 !important; flex-grow: 0 !important; } .flex-xl-grow-1 { -ms-flex-positive: 1 !important; flex-grow: 1 !important; } .flex-xl-shrink-0 { -ms-flex-negative: 0 !important; flex-shrink: 0 !important; } .flex-xl-shrink-1 { -ms-flex-negative: 1 !important; flex-shrink: 1 !important; } .flex-xl-wrap { -ms-flex-wrap: wrap !important; flex-wrap: wrap !important; } .flex-xl-nowrap { -ms-flex-wrap: nowrap !important; flex-wrap: nowrap !important; } .flex-xl-wrap-reverse { -ms-flex-wrap: wrap-reverse !important; flex-wrap: wrap-reverse !important; } .gap-xl-0 { gap: 0 !important; } .gap-xl-1 { gap: 0.25rem !important; } .gap-xl-2 { gap: 0.5rem !important; } .gap-xl-3 { gap: 1rem !important; } .gap-xl-4 { gap: 1.5rem !important; } .gap-xl-5 { gap: 3rem !important; } .justify-content-xl-start { -ms-flex-pack: start !important; justify-content: flex-start !important; } .justify-content-xl-end { -ms-flex-pack: end !important; justify-content: flex-end !important; } .justify-content-xl-center { -ms-flex-pack: center !important; justify-content: center !important; } .justify-content-xl-between { -ms-flex-pack: justify !important; justify-content: space-between !important; } .justify-content-xl-around { -ms-flex-pack: distribute !important; justify-content: space-around !important; } .justify-content-xl-evenly { -ms-flex-pack: space-evenly !important; justify-content: space-evenly !important; } .align-items-xl-start { -ms-flex-align: start !important; align-items: flex-start !important; } .align-items-xl-end { -ms-flex-align: end !important; align-items: flex-end !important; } .align-items-xl-center { -ms-flex-align: center !important; align-items: center !important; } .align-items-xl-baseline { -ms-flex-align: baseline !important; align-items: baseline !important; } .align-items-xl-stretch { -ms-flex-align: stretch !important; align-items: stretch !important; } .align-content-xl-start { -ms-flex-line-pack: start !important; align-content: flex-start !important; } .align-content-xl-end { -ms-flex-line-pack: end !important; align-content: flex-end !important; } .align-content-xl-center { -ms-flex-line-pack: center !important; align-content: center !important; } .align-content-xl-between { -ms-flex-line-pack: justify !important; align-content: space-between !important; } .align-content-xl-around { -ms-flex-line-pack: distribute !important; align-content: space-around !important; } .align-content-xl-stretch { -ms-flex-line-pack: stretch !important; align-content: stretch !important; } .align-self-xl-auto { -ms-flex-item-align: auto !important; align-self: auto !important; } .align-self-xl-start { -ms-flex-item-align: start !important; align-self: flex-start !important; } .align-self-xl-end { -ms-flex-item-align: end !important; align-self: flex-end !important; } .align-self-xl-center { -ms-flex-item-align: center !important; align-self: center !important; } .align-self-xl-baseline { -ms-flex-item-align: baseline !important; align-self: baseline !important; } .align-self-xl-stretch { -ms-flex-item-align: stretch !important; align-self: stretch !important; } .order-xl-first { -ms-flex-order: -1 !important; order: -1 !important; } .order-xl-0 { -ms-flex-order: 0 !important; order: 0 !important; } .order-xl-1 { -ms-flex-order: 1 !important; order: 1 !important; } .order-xl-2 { -ms-flex-order: 2 !important; order: 2 !important; } .order-xl-3 { -ms-flex-order: 3 !important; order: 3 !important; } .order-xl-4 { -ms-flex-order: 4 !important; order: 4 !important; } .order-xl-5 { -ms-flex-order: 5 !important; order: 5 !important; } .order-xl-last { -ms-flex-order: 6 !important; order: 6 !important; } .m-xl-0 { margin: 0 !important; } .m-xl-1 { margin: 0.25rem !important; } .m-xl-2 { margin: 0.5rem !important; } .m-xl-3 { margin: 1rem !important; } .m-xl-4 { margin: 1.5rem !important; } .m-xl-5 { margin: 3rem !important; } .m-xl-auto { margin: auto !important; } .mx-xl-0 { margin-right: 0 !important; margin-left: 0 !important; } .mx-xl-1 { margin-right: 0.25rem !important; margin-left: 0.25rem !important; } .mx-xl-2 { margin-right: 0.5rem !important; margin-left: 0.5rem !important; } .mx-xl-3 { margin-right: 1rem !important; margin-left: 1rem !important; } .mx-xl-4 { margin-right: 1.5rem !important; margin-left: 1.5rem !important; } .mx-xl-5 { margin-right: 3rem !important; margin-left: 3rem !important; } .mx-xl-auto { margin-right: auto !important; margin-left: auto !important; } .my-xl-0 { margin-top: 0 !important; margin-bottom: 0 !important; } .my-xl-1 { margin-top: 0.25rem !important; margin-bottom: 0.25rem !important; } .my-xl-2 { margin-top: 0.5rem !important; margin-bottom: 0.5rem !important; } .my-xl-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; } .my-xl-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; } .my-xl-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; } .my-xl-auto { margin-top: auto !important; margin-bottom: auto !important; } .mt-xl-0 { margin-top: 0 !important; } .mt-xl-1 { margin-top: 0.25rem !important; } .mt-xl-2 { margin-top: 0.5rem !important; } .mt-xl-3 { margin-top: 1rem !important; } .mt-xl-4 { margin-top: 1.5rem !important; } .mt-xl-5 { margin-top: 3rem !important; } .mt-xl-auto { margin-top: auto !important; } .me-xl-0 { margin-right: 0 !important; } .me-xl-1 { margin-right: 0.25rem !important; } .me-xl-2 { margin-right: 0.5rem !important; } .me-xl-3 { margin-right: 1rem !important; } .me-xl-4 { margin-right: 1.5rem !important; } .me-xl-5 { margin-right: 3rem !important; } .me-xl-auto { margin-right: auto !important; } .mb-xl-0 { margin-bottom: 0 !important; } .mb-xl-1 { margin-bottom: 0.25rem !important; } .mb-xl-2 { margin-bottom: 0.5rem !important; } .mb-xl-3 { margin-bottom: 1rem !important; } .mb-xl-4 { margin-bottom: 1.5rem !important; } .mb-xl-5 { margin-bottom: 3rem !important; } .mb-xl-auto { margin-bottom: auto !important; } .ms-xl-0 { margin-left: 0 !important; } .ms-xl-1 { margin-left: 0.25rem !important; } .ms-xl-2 { margin-left: 0.5rem !important; } .ms-xl-3 { margin-left: 1rem !important; } .ms-xl-4 { margin-left: 1.5rem !important; } .ms-xl-5 { margin-left: 3rem !important; } .ms-xl-auto { margin-left: auto !important; } .p-xl-0 { padding: 0 !important; } .p-xl-1 { padding: 0.25rem !important; } .p-xl-2 { padding: 0.5rem !important; } .p-xl-3 { padding: 1rem !important; } .p-xl-4 { padding: 1.5rem !important; } .p-xl-5 { padding: 3rem !important; } .px-xl-0 { padding-right: 0 !important; padding-left: 0 !important; } .px-xl-1 { padding-right: 0.25rem !important; padding-left: 0.25rem !important; } .px-xl-2 { padding-right: 0.5rem !important; padding-left: 0.5rem !important; } .px-xl-3 { padding-right: 1rem !important; padding-left: 1rem !important; } .px-xl-4 { padding-right: 1.5rem !important; padding-left: 1.5rem !important; } .px-xl-5 { padding-right: 3rem !important; padding-left: 3rem !important; } .py-xl-0 { padding-top: 0 !important; padding-bottom: 0 !important; } .py-xl-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; } .py-xl-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; } .py-xl-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; } .py-xl-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; } .py-xl-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; } .pt-xl-0 { padding-top: 0 !important; } .pt-xl-1 { padding-top: 0.25rem !important; } .pt-xl-2 { padding-top: 0.5rem !important; } .pt-xl-3 { padding-top: 1rem !important; } .pt-xl-4 { padding-top: 1.5rem !important; } .pt-xl-5 { padding-top: 3rem !important; } .pe-xl-0 { padding-right: 0 !important; } .pe-xl-1 { padding-right: 0.25rem !important; } .pe-xl-2 { padding-right: 0.5rem !important; } .pe-xl-3 { padding-right: 1rem !important; } .pe-xl-4 { padding-right: 1.5rem !important; } .pe-xl-5 { padding-right: 3rem !important; } .pb-xl-0 { padding-bottom: 0 !important; } .pb-xl-1 { padding-bottom: 0.25rem !important; } .pb-xl-2 { padding-bottom: 0.5rem !important; } .pb-xl-3 { padding-bottom: 1rem !important; } .pb-xl-4 { padding-bottom: 1.5rem !important; } .pb-xl-5 { padding-bottom: 3rem !important; } .ps-xl-0 { padding-left: 0 !important; } .ps-xl-1 { padding-left: 0.25rem !important; } .ps-xl-2 { padding-left: 0.5rem !important; } .ps-xl-3 { padding-left: 1rem !important; } .ps-xl-4 { padding-left: 1.5rem !important; } .ps-xl-5 { padding-left: 3rem !important; } .text-xl-start { text-align: left !important; } .text-xl-end { text-align: right !important; } .text-xl-center { text-align: center !important; } } @media (min-width: 1400px) { .float-xxl-start { float: left !important; } .float-xxl-end { float: right !important; } .float-xxl-none { float: none !important; } .d-xxl-inline { display: inline !important; } .d-xxl-inline-block { display: inline-block !important; } .d-xxl-block { display: block !important; } .d-xxl-grid { display: grid !important; } .d-xxl-table { display: table !important; } .d-xxl-table-row { display: table-row !important; } .d-xxl-table-cell { display: table-cell !important; } .d-xxl-flex { display: -ms-flexbox !important; display: flex !important; } .d-xxl-inline-flex { display: -ms-inline-flexbox !important; display: inline-flex !important; } .d-xxl-none { display: none !important; } .flex-xxl-fill { -ms-flex: 1 1 auto !important; flex: 1 1 auto !important; } .flex-xxl-row { -ms-flex-direction: row !important; flex-direction: row !important; } .flex-xxl-column { -ms-flex-direction: column !important; flex-direction: column !important; } .flex-xxl-row-reverse { -ms-flex-direction: row-reverse !important; flex-direction: row-reverse !important; } .flex-xxl-column-reverse { -ms-flex-direction: column-reverse !important; flex-direction: column-reverse !important; } .flex-xxl-grow-0 { -ms-flex-positive: 0 !important; flex-grow: 0 !important; } .flex-xxl-grow-1 { -ms-flex-positive: 1 !important; flex-grow: 1 !important; } .flex-xxl-shrink-0 { -ms-flex-negative: 0 !important; flex-shrink: 0 !important; } .flex-xxl-shrink-1 { -ms-flex-negative: 1 !important; flex-shrink: 1 !important; } .flex-xxl-wrap { -ms-flex-wrap: wrap !important; flex-wrap: wrap !important; } .flex-xxl-nowrap { -ms-flex-wrap: nowrap !important; flex-wrap: nowrap !important; } .flex-xxl-wrap-reverse { -ms-flex-wrap: wrap-reverse !important; flex-wrap: wrap-reverse !important; } .gap-xxl-0 { gap: 0 !important; } .gap-xxl-1 { gap: 0.25rem !important; } .gap-xxl-2 { gap: 0.5rem !important; } .gap-xxl-3 { gap: 1rem !important; } .gap-xxl-4 { gap: 1.5rem !important; } .gap-xxl-5 { gap: 3rem !important; } .justify-content-xxl-start { -ms-flex-pack: start !important; justify-content: flex-start !important; } .justify-content-xxl-end { -ms-flex-pack: end !important; justify-content: flex-end !important; } .justify-content-xxl-center { -ms-flex-pack: center !important; justify-content: center !important; } .justify-content-xxl-between { -ms-flex-pack: justify !important; justify-content: space-between !important; } .justify-content-xxl-around { -ms-flex-pack: distribute !important; justify-content: space-around !important; } .justify-content-xxl-evenly { -ms-flex-pack: space-evenly !important; justify-content: space-evenly !important; } .align-items-xxl-start { -ms-flex-align: start !important; align-items: flex-start !important; } .align-items-xxl-end { -ms-flex-align: end !important; align-items: flex-end !important; } .align-items-xxl-center { -ms-flex-align: center !important; align-items: center !important; } .align-items-xxl-baseline { -ms-flex-align: baseline !important; align-items: baseline !important; } .align-items-xxl-stretch { -ms-flex-align: stretch !important; align-items: stretch !important; } .align-content-xxl-start { -ms-flex-line-pack: start !important; align-content: flex-start !important; } .align-content-xxl-end { -ms-flex-line-pack: end !important; align-content: flex-end !important; } .align-content-xxl-center { -ms-flex-line-pack: center !important; align-content: center !important; } .align-content-xxl-between { -ms-flex-line-pack: justify !important; align-content: space-between !important; } .align-content-xxl-around { -ms-flex-line-pack: distribute !important; align-content: space-around !important; } .align-content-xxl-stretch { -ms-flex-line-pack: stretch !important; align-content: stretch !important; } .align-self-xxl-auto { -ms-flex-item-align: auto !important; align-self: auto !important; } .align-self-xxl-start { -ms-flex-item-align: start !important; align-self: flex-start !important; } .align-self-xxl-end { -ms-flex-item-align: end !important; align-self: flex-end !important; } .align-self-xxl-center { -ms-flex-item-align: center !important; align-self: center !important; } .align-self-xxl-baseline { -ms-flex-item-align: baseline !important; align-self: baseline !important; } .align-self-xxl-stretch { -ms-flex-item-align: stretch !important; align-self: stretch !important; } .order-xxl-first { -ms-flex-order: -1 !important; order: -1 !important; } .order-xxl-0 { -ms-flex-order: 0 !important; order: 0 !important; } .order-xxl-1 { -ms-flex-order: 1 !important; order: 1 !important; } .order-xxl-2 { -ms-flex-order: 2 !important; order: 2 !important; } .order-xxl-3 { -ms-flex-order: 3 !important; order: 3 !important; } .order-xxl-4 { -ms-flex-order: 4 !important; order: 4 !important; } .order-xxl-5 { -ms-flex-order: 5 !important; order: 5 !important; } .order-xxl-last { -ms-flex-order: 6 !important; order: 6 !important; } .m-xxl-0 { margin: 0 !important; } .m-xxl-1 { margin: 0.25rem !important; } .m-xxl-2 { margin: 0.5rem !important; } .m-xxl-3 { margin: 1rem !important; } .m-xxl-4 { margin: 1.5rem !important; } .m-xxl-5 { margin: 3rem !important; } .m-xxl-auto { margin: auto !important; } .mx-xxl-0 { margin-right: 0 !important; margin-left: 0 !important; } .mx-xxl-1 { margin-right: 0.25rem !important; margin-left: 0.25rem !important; } .mx-xxl-2 { margin-right: 0.5rem !important; margin-left: 0.5rem !important; } .mx-xxl-3 { margin-right: 1rem !important; margin-left: 1rem !important; } .mx-xxl-4 { margin-right: 1.5rem !important; margin-left: 1.5rem !important; } .mx-xxl-5 { margin-right: 3rem !important; margin-left: 3rem !important; } .mx-xxl-auto { margin-right: auto !important; margin-left: auto !important; } .my-xxl-0 { margin-top: 0 !important; margin-bottom: 0 !important; } .my-xxl-1 { margin-top: 0.25rem !important; margin-bottom: 0.25rem !important; } .my-xxl-2 { margin-top: 0.5rem !important; margin-bottom: 0.5rem !important; } .my-xxl-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; } .my-xxl-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; } .my-xxl-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; } .my-xxl-auto { margin-top: auto !important; margin-bottom: auto !important; } .mt-xxl-0 { margin-top: 0 !important; } .mt-xxl-1 { margin-top: 0.25rem !important; } .mt-xxl-2 { margin-top: 0.5rem !important; } .mt-xxl-3 { margin-top: 1rem !important; } .mt-xxl-4 { margin-top: 1.5rem !important; } .mt-xxl-5 { margin-top: 3rem !important; } .mt-xxl-auto { margin-top: auto !important; } .me-xxl-0 { margin-right: 0 !important; } .me-xxl-1 { margin-right: 0.25rem !important; } .me-xxl-2 { margin-right: 0.5rem !important; } .me-xxl-3 { margin-right: 1rem !important; } .me-xxl-4 { margin-right: 1.5rem !important; } .me-xxl-5 { margin-right: 3rem !important; } .me-xxl-auto { margin-right: auto !important; } .mb-xxl-0 { margin-bottom: 0 !important; } .mb-xxl-1 { margin-bottom: 0.25rem !important; } .mb-xxl-2 { margin-bottom: 0.5rem !important; } .mb-xxl-3 { margin-bottom: 1rem !important; } .mb-xxl-4 { margin-bottom: 1.5rem !important; } .mb-xxl-5 { margin-bottom: 3rem !important; } .mb-xxl-auto { margin-bottom: auto !important; } .ms-xxl-0 { margin-left: 0 !important; } .ms-xxl-1 { margin-left: 0.25rem !important; } .ms-xxl-2 { margin-left: 0.5rem !important; } .ms-xxl-3 { margin-left: 1rem !important; } .ms-xxl-4 { margin-left: 1.5rem !important; } .ms-xxl-5 { margin-left: 3rem !important; } .ms-xxl-auto { margin-left: auto !important; } .p-xxl-0 { padding: 0 !important; } .p-xxl-1 { padding: 0.25rem !important; } .p-xxl-2 { padding: 0.5rem !important; } .p-xxl-3 { padding: 1rem !important; } .p-xxl-4 { padding: 1.5rem !important; } .p-xxl-5 { padding: 3rem !important; } .px-xxl-0 { padding-right: 0 !important; padding-left: 0 !important; } .px-xxl-1 { padding-right: 0.25rem !important; padding-left: 0.25rem !important; } .px-xxl-2 { padding-right: 0.5rem !important; padding-left: 0.5rem !important; } .px-xxl-3 { padding-right: 1rem !important; padding-left: 1rem !important; } .px-xxl-4 { padding-right: 1.5rem !important; padding-left: 1.5rem !important; } .px-xxl-5 { padding-right: 3rem !important; padding-left: 3rem !important; } .py-xxl-0 { padding-top: 0 !important; padding-bottom: 0 !important; } .py-xxl-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; } .py-xxl-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; } .py-xxl-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; } .py-xxl-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; } .py-xxl-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; } .pt-xxl-0 { padding-top: 0 !important; } .pt-xxl-1 { padding-top: 0.25rem !important; } .pt-xxl-2 { padding-top: 0.5rem !important; } .pt-xxl-3 { padding-top: 1rem !important; } .pt-xxl-4 { padding-top: 1.5rem !important; } .pt-xxl-5 { padding-top: 3rem !important; } .pe-xxl-0 { padding-right: 0 !important; } .pe-xxl-1 { padding-right: 0.25rem !important; } .pe-xxl-2 { padding-right: 0.5rem !important; } .pe-xxl-3 { padding-right: 1rem !important; } .pe-xxl-4 { padding-right: 1.5rem !important; } .pe-xxl-5 { padding-right: 3rem !important; } .pb-xxl-0 { padding-bottom: 0 !important; } .pb-xxl-1 { padding-bottom: 0.25rem !important; } .pb-xxl-2 { padding-bottom: 0.5rem !important; } .pb-xxl-3 { padding-bottom: 1rem !important; } .pb-xxl-4 { padding-bottom: 1.5rem !important; } .pb-xxl-5 { padding-bottom: 3rem !important; } .ps-xxl-0 { padding-left: 0 !important; } .ps-xxl-1 { padding-left: 0.25rem !important; } .ps-xxl-2 { padding-left: 0.5rem !important; } .ps-xxl-3 { padding-left: 1rem !important; } .ps-xxl-4 { padding-left: 1.5rem !important; } .ps-xxl-5 { padding-left: 3rem !important; } .text-xxl-start { text-align: left !important; } .text-xxl-end { text-align: right !important; } .text-xxl-center { text-align: center !important; } } @media (min-width: 1200px) { .fs-1 { font-size: 3rem !important; } .fs-2 { font-size: 2.5rem !important; } .fs-3 { font-size: 2rem !important; } .fs-4 { font-size: 1.5rem !important; } } @media print { .d-print-inline { display: inline !important; } .d-print-inline-block { display: inline-block !important; } .d-print-block { display: block !important; } .d-print-grid { display: grid !important; } .d-print-table { display: table !important; } .d-print-table-row { display: table-row !important; } .d-print-table-cell { display: table-cell !important; } .d-print-flex { display: -ms-flexbox !important; display: flex !important; } .d-print-inline-flex { display: -ms-inline-flexbox !important; display: inline-flex !important; } .d-print-none { display: none !important; } } .blockquote-footer { color: #888; } .input-group-addon { color: #fff; } .form-floating > label { color: #444; } .nav-tabs .nav-link, .nav-tabs .nav-link.active, .nav-tabs .nav-link.active:focus, .nav-tabs .nav-link.active:hover, .nav-tabs .nav-item.open .nav-link, .nav-tabs .nav-item.open .nav-link:focus, .nav-tabs .nav-item.open .nav-link:hover, .nav-pills .nav-link, .nav-pills .nav-link.active, .nav-pills .nav-link.active:focus, .nav-pills .nav-link.active:hover, .nav-pills .nav-item.open .nav-link, .nav-pills .nav-item.open .nav-link:focus, .nav-pills .nav-item.open .nav-link:hover { color: #fff; } .breadcrumb a { color: #fff; } .pagination a:hover { text-decoration: none; } .alert { border: none; color: #fff; } .alert a, .alert .alert-link { color: #fff; text-decoration: underline; } .alert-primary { background-color: #375a7f; } .alert-secondary { background-color: #444; } .alert-success { background-color: #00bc8c; } .alert-info { background-color: #3498db; } .alert-warning { background-color: #f39c12; } .alert-danger { background-color: #e74c3c; } .alert-light { background-color: #adb5bd; } .alert-dark { background-color: #303030; }
cdnjs/cdnjs
ajax/libs/bootswatch/5.1.1/darkly/bootstrap.css
CSS
mit
225,203
// // Copyright 2009-2011 Facebook // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> @interface UIView (TTCategory) /** * Shortcut for frame.origin.x. * * Sets frame.origin.x = left */ @property (nonatomic) CGFloat left; /** * Shortcut for frame.origin.y * * Sets frame.origin.y = top */ @property (nonatomic) CGFloat top; /** * Shortcut for frame.origin.x + frame.size.width * * Sets frame.origin.x = right - frame.size.width */ @property (nonatomic) CGFloat right; /** * Shortcut for frame.origin.y + frame.size.height * * Sets frame.origin.y = bottom - frame.size.height */ @property (nonatomic) CGFloat bottom; /** * Shortcut for frame.size.width * * Sets frame.size.width = width */ @property (nonatomic) CGFloat width; /** * Shortcut for frame.size.height * * Sets frame.size.height = height */ @property (nonatomic) CGFloat height; /** * Shortcut for center.x * * Sets center.x = centerX */ @property (nonatomic) CGFloat centerX; /** * Shortcut for center.y * * Sets center.y = centerY */ @property (nonatomic) CGFloat centerY; /** * Return the x coordinate on the screen. */ @property (nonatomic, readonly) CGFloat ttScreenX; /** * Return the y coordinate on the screen. */ @property (nonatomic, readonly) CGFloat ttScreenY; /** * Return the x coordinate on the screen, taking into account scroll views. */ @property (nonatomic, readonly) CGFloat screenViewX; /** * Return the y coordinate on the screen, taking into account scroll views. */ @property (nonatomic, readonly) CGFloat screenViewY; /** * Return the view frame on the screen, taking into account scroll views. */ @property (nonatomic, readonly) CGRect screenFrame; /** * Shortcut for frame.origin */ @property (nonatomic) CGPoint origin; /** * Shortcut for frame.size */ @property (nonatomic) CGSize size; @property (nonatomic) CGPoint orientationCenter; /** * Return the width in portrait or the height in landscape. */ @property (nonatomic, readonly) CGFloat orientationWidth; /** * Return the height in portrait or the width in landscape. */ @property (nonatomic, readonly) CGFloat orientationHeight; /** * Finds the first descendant view (including this view) that is a member of a particular class. */ - (UIView*)descendantOrSelfWithClass:(Class)cls; /** * Finds the first ancestor view (including this view) that is a member of a particular class. */ - (UIView*)ancestorOrSelfWithClass:(Class)cls; /** * Removes all subviews. */ - (void)removeAllSubviews; /** * The view controller whose view contains this view. */ - (UIViewController*)viewController; /** * Searches the view hierarchy recursively for the first responder, starting with this window. */ - (UIView*)findFirstResponder; /** * Searches the view hierarchy recursively for the first responder, starting with topView. */ - (UIView*)findFirstResponderInView:(UIView*)topView; @end
luobin23628/Alert-ActionSheet
Pod/Classes/Category/UIViewAdditions.h
C
mit
3,476
function ord (string) { // From: http://phpjs.org/functions // + original by: Kevin van Zonneveld (http://kevin.vanzonneveld.net) // + bugfixed by: Onno Marsman // + improved by: Brett Zamir (http://brett-zamir.me) // + input by: incidence // * example 1: ord('K'); // * returns 1: 75 // * example 2: ord('\uD800\uDC00'); // surrogate pair to create a single Unicode character // * returns 2: 65536 var str = string + '', code = str.charCodeAt(0); if (0xD800 <= code && code <= 0xDBFF) { // High surrogate (could change last hex to 0xDB7F to treat high private surrogates as single characters) var hi = code; if (str.length === 1) { return code; // This is just a high surrogate with no following low surrogate, so we return its value; // we could also throw an error as it is not a complete character, but someone may want to know } var low = str.charCodeAt(1); return ((hi - 0xD800) * 0x400) + (low - 0xDC00) + 0x10000; } if (0xDC00 <= code && code <= 0xDFFF) { // Low surrogate return code; // This is just a low surrogate with no preceding high surrogate, so we return its value; // we could also throw an error as it is not a complete character, but someone may want to know } return code; }
michaelgarner/phpjs
functions/strings/ord.js
JavaScript
mit
1,295
<?php /* Template Name: Sponsors */ ?> <?php /* Template Name: Home Page */ ?> <?php get_header(); $container = get_theme_mod( 'understrap_container_type' ); $sidebar_pos = get_theme_mod( 'understrap_sidebar_position' ); // On WooCommerce pages there is no need for sidebars as they leave // too little space for WooCommerce itself. We check if WooCommerce // is active and the current page is a WooCommerce page and we do // not render sidebars. $is_woocommerce = false; $this_page_id = get_queried_object_id(); if ( class_exists( 'WooCommerce' ) ) { if ( is_woocommerce() || is_shop() || get_option( 'woocommerce_shop_page_id' ) === $this_page_id || get_option( 'woocommerce_cart_page_id' ) == $this_page_id || get_option( 'woocommerce_checkout_page_id' ) == $this_page_id || get_option( 'woocommerce_pay_page_id' ) == $this_page_id || get_option( 'woocommerce_thanks_page_id' ) === $this_page_id || get_option( 'woocommerce_myaccount_page_id' ) == $this_page_id || get_option( 'woocommerce_edit_address_page_id' ) == $this_page_id || get_option( 'woocommerce_view_order_page_id' ) == $this_page_id || get_option( 'woocommerce_terms_page_id' ) == $this_page_id ) { $is_woocommerce = true; } } ?> <div class="wrapper" id="page-wrapper"> <div id="content" tabindex="-1"> <main class="site-main" id="main"> <div class="row section-container"> <div class="offset-xs-1 offset-md-2 col-xs-10 col-md-8 col-lg-6 page-intro sponsorship-main-content"> <?php while ( have_posts() ) : the_post(); ?> <h2 class="page-title"><?php the_title(); ?></h2> <p><?php the_content(); ?></p> <?php endwhile; ?> </div> <div class="offset-xs-3 offset-md-2 col-md-8 col-xs-6 sponsor-logo-section"> <?php $sponsorship_logos = get_post_meta( get_the_ID(), 'sponsorship_logos', true ); foreach($sponsorship_logos as $logo){ $image_array = (wp_get_attachment_image_src($logo['sponsorship_logo'], 'medium')); echo "<img class='col-xs-12 col-sm-6 col-md-4 col-lg-3' src='".$image_array[0]."' />"; } ?> </div> </div> <div class="row"> <div class="offset-md-2 offset-xs-1 col-xs-10 col-md-5 col-lg-4 article-container sponsorship-secondary-container"> <h3 class="white-font"><?php uf('sponsorship_secondary_title'); ?></h3> <hr> <?php uf('sponsorship_secondary_content'); ?> <a class="article-button" href="mailto: info@fgitoronto.org">Learn More</a> </div> </div> </main><!-- #main --> </div><!-- content end --> </div><!-- Wrapper end --> <?php get_footer(); ?>
CharlieMayer/fgit2
wp-content/themes/understrap/sponsors.php
PHP
mit
3,239
// // MIDIReciever.h // MidiKeyboard // // Created by Volter on 20.04.14. // Copyright (c) 2014 volter9. All rights reserved. // #import <Foundation/Foundation.h> #import <CoreMIDI/CoreMIDI.h> @protocol MIDIReceiver <NSObject> @optional - (void)receiveMIDIInput: (NSArray *)packet; - (void)receiveMIDINotification: (NSString *)message withNotification: (const MIDINotification *)notification; @end
garrettvparrish/Empathetic-Performer
other/Minsky Symposium/System 2 (Midi)/Arduino Serial Example/MIDIReceiver.h
C
mit
406
<!DOCTYPE html> <html> <head> <link rel="stylesheet" type="text/css" href="<?php echo base_url('assets/css/bootstrap.css'); ?>">> <title><?php $page_title ?></title> </head> <body> </body> </html>
phuongtai2020/Git.SGB
application/views/register.php
PHP
mit
199
module Endpoints # The base class for all Sinatra-based endpoints. Use sparingly. class Base < Sinatra::Base register Pliny::Extensions::Instruments register Sinatra::Namespace helpers Pliny::Helpers::Encode helpers Pliny::Helpers::Params set :dump_errors, false set :raise_errors, true set :root, Config.root set :show_exceptions, false configure :development do register Sinatra::Reloader also_reload "#{Config.root}/lib/**/*.rb" end error Sinatra::NotFound do raise Pliny::Errors::NotFound end end end
hayduke19us/pliny
lib/template/lib/endpoints/base.rb
Ruby
mit
581
package tree.declarations; import java.util.LinkedList; import errors.CXInternalError; import tree.TreeNode; import tree.other.CommonDeclaration; import tree.other.CommonSpecifiers; import tree.other.CommonDeclarator; import tree.symbols.TSSemicolon; public class TDeclarationDSIDL extends TDeclaration implements CommonDeclaration { public TDeclarationDSIDL(TDeclarationDSIDL node) { super(node); } public TInitDeclaratorList getInitDeclaratorList() { return (TInitDeclaratorList) getChild(1); } public TSSemicolon getSemicolon() { return (TSSemicolon) getChild(2); } public TDeclarationDSIDL(TDeclarationSpecifiers specs, TInitDeclaratorList declist, TSSemicolon semicolon) { addChild(specs); addChild(declist); addChild(semicolon); } @Override public boolean hasCommonSpecifiers() { return true; } @Override public boolean hasDeclarationSpecifiers() { return true; } @Override public boolean hasSpecifierQualifierList() { return false; } @Override public CommonSpecifiers getCommonSpecifiers() { return getDeclarationSpecifiers(); } @Override public TDeclarationSpecifiers getDeclarationSpecifiers() { return (TDeclarationSpecifiers) getChild(0); } @Override public TSpecifierQualifierList getSpecifierQualifierList() { return null; } @Override public void setSpecifiers(CommonSpecifiers node) { if (!(node instanceof TDeclarationSpecifiers)) throw new CXInternalError("tried to assign wrong type of specifiers"); setChild(0, (TDeclarationSpecifiers) node); } @Override public void setSpecifiers(LinkedList<TreeNode> specs) { setChild(0, TDeclarationSpecifiers.from(specs)); } @Override public boolean hasCommonDeclarator() { return hasDeclarator(); } @Override public boolean hasDeclarator() { return getInitDeclaratorList().hasDeclarator(); } @Override public boolean hasAbstractDeclarator() { return false; } @Override public CommonDeclarator getCommonDeclarator() { return getDeclarator(); } @Override public TDeclarator getDeclarator() { return getInitDeclaratorList().getDeclarator(); } @Override public TAbstractDeclarator getAbstractDeclarator() { return null; } @Override public void setCommonDeclarator(CommonDeclarator node) { if (node == null) { getInitDeclaratorList().setDeclarator(null); } else { if (!(node instanceof TDeclarator)) throw new CXInternalError("tried to assign wrong type of declarator"); getInitDeclaratorList().setDeclarator((TDeclarator) node); } } }
sparber/CComprehensiveDatatypes
src/tree/declarations/TDeclarationDSIDL.java
Java
mit
2,522
#include <pebble.h> #include "description.h" #include "../types.h" #include "../constants.h" static Window *s_window; static ScrollLayer *s_scroll_layer; static TextLayer *s_name_layer; static TextLayer *s_description_layer; static const int max_scroll_height = 10000; extern GFont s_font_semi_bold_20; extern GFont s_font_semi_bold_22; void description_window_init(void) { s_window = window_create(); window_set_background_color(s_window, GColorWhite); window_set_window_handlers(s_window, (WindowHandlers) { .load = description_window_load, .unload = description_window_unload }); } void description_window_deinit(void) { window_destroy(s_window); } void description_window_show(show show) { window_stack_push(s_window, true); description_window_update(show); } void description_window_hide(void) { window_stack_remove(s_window, true); } bool description_window_is_visible(void) { return window_stack_get_top_window() == s_window; } void description_window_update(show show) { Layer *window_layer = window_get_root_layer(s_window); GRect bounds = layer_get_frame(window_layer); text_layer_set_text(s_name_layer, show.name); text_layer_set_text(s_description_layer, show.description); GSize name_size = text_layer_get_content_size(s_name_layer); GSize desc_size = text_layer_get_content_size(s_description_layer); text_layer_set_size(s_name_layer, name_size); layer_set_frame( text_layer_get_layer(s_name_layer), grect_inset( GRect(0, 0, bounds.size.w, name_size.h + PADDING), GEdgeInsets(PADDING, PADDING, 0, PADDING) ) ); layer_set_frame( text_layer_get_layer(s_description_layer), grect_inset( GRect( 0, name_size.h + 5, bounds.size.w, name_size.h + 5 + desc_size.h ), GEdgeInsets(0, PADDING) ) ); scroll_layer_set_content_size( s_scroll_layer, GSize(bounds.size.w, name_size.h + 5 + desc_size.h + (PADDING * 4)) ); } static void description_window_load(Window *window) { Layer *window_layer = window_get_root_layer(window); GRect bounds = layer_get_frame(window_layer); GRect max_text_bounds = GRect(0, 0, bounds.size.w, max_scroll_height); // Initialize the scroll layer s_scroll_layer = scroll_layer_create(bounds); // This binds the scroll layer to the window so that up and down map to scrolling // You may use scroll_layer_set_callbacks to add or override interactivity scroll_layer_set_click_config_onto_window(s_scroll_layer, window); // Initialize the text layer s_name_layer = text_layer_create(max_text_bounds); // Style the text text_layer_set_background_color(s_name_layer, GColorClear); text_layer_set_text_color(s_name_layer, GColorBlack); text_layer_set_text_alignment(s_name_layer, GTextAlignmentLeft); text_layer_set_font(s_name_layer, s_font_semi_bold_22); text_layer_set_overflow_mode(s_name_layer, GTextOverflowModeWordWrap); // Initialize the text layer s_description_layer = text_layer_create(max_text_bounds); // Style the text text_layer_set_background_color(s_description_layer, GColorClear); text_layer_set_text_color(s_description_layer, GColorBlack); text_layer_set_text_alignment(s_description_layer, GTextAlignmentLeft); text_layer_set_font(s_description_layer, s_font_semi_bold_20); text_layer_set_overflow_mode(s_description_layer, GTextOverflowModeWordWrap); // Add the layers for display scroll_layer_add_child(s_scroll_layer, text_layer_get_layer(s_name_layer)); scroll_layer_add_child(s_scroll_layer, text_layer_get_layer(s_description_layer)); layer_add_child(window_layer, scroll_layer_get_layer(s_scroll_layer)); } static void description_window_unload(Window *window) { text_layer_destroy(s_description_layer); text_layer_destroy(s_name_layer); scroll_layer_destroy(s_scroll_layer); }
UniversityRadioYork/pebble-timelord
src/windows/description.c
C
mit
4,195
# -*- coding: utf-8 -*- import smtplib from django.contrib.auth.models import Permission from django.test import TestCase from principal.forms import * from principal.models import * from principal.services import DepartmentService, CertificationService, UserService, ImpartSubjectService, \ AdministratorService from gestionalumnos.settings import * from django.core import mail from django.test.utils import override_settings class CertificationTestCase(TestCase): def setUp(self): # Departments self.department_lsi = Departamento.objects.create( codigo='1', nombre='Departamento de Lenguajes y Sistemas Informaticos', web='http://www.lsi.us.es' ) self.department_dte = Departamento.objects.create( codigo='2', nombre='Departamento de Tecnologia Electronica', web='https://www.dte.us.es/docencia/etsii/gii-is/redes-de-computadores' ) self.department_atc = Departamento.objects.create( codigo='3', nombre='Departamento de Arquitectura y Tecnologia de Computadores', web='http://www.atc.us.es/' ) # Subjects self.subject_egc = Asignatura.objects.create( cuatrimestre='1', nombre='Evolucion y gestion de la configuracion', curso='4', codigo='2050032', creditos='6', duracion='C', web='http://www.lsi.us.es/docencia/pagina_asignatura.php?id=111', tipo_asignatura='OB', departamento=self.department_lsi, ) self.subject_rc = Asignatura.objects.create( cuatrimestre='1', nombre='Redes de computadores', curso='2', codigo='2050013', creditos='6', duracion='C', web='https://www.dte.us.es/docencia/etsii/gii-is/redes-de-computadores', tipo_asignatura='OB', departamento=self.department_dte, ) self.subject_cm = Asignatura.objects.create( cuatrimestre='1', nombre='Computacion Movil', curso='4', codigo='2060045', creditos='6', duracion='C', web='http://www.us.es/estudios/grados/plan_206/asignatura_2060045', tipo_asignatura='OP', departamento=self.department_atc, ) self.subject_ispp = Asignatura.objects.create( cuatrimestre='2', nombre='Ingenieria del Software y Practica Profesional', curso='4', codigo='2050039', creditos='6', duracion='C', web='http://www.lsi.us.es/docencia/pagina_asignatura.php?id=110', tipo_asignatura='OB', departamento=self.department_lsi, ) # Certifications self.certification_isw = Titulacion.objects.create( codigo='1', nombre='Grado en Informatica - Ingenieria del Software', ) self.certification_isw.asignaturas.add(self.subject_rc, self.subject_ispp, self.subject_egc) self.certification_isc = Titulacion.objects.create( codigo='2', nombre='Grado en Informatica - Ingenieria de Computadores', ) self.certification_isc.asignaturas.add(self.subject_rc) self.certification_iti = Titulacion.objects.create( codigo='3', nombre='Grado en Informatica - Tecnologias Informaticas', ) self.certification_iti.asignaturas.add(self.subject_cm, self.subject_rc) def test_create_and_save_ok_1(self): data_form = { 'code': '123456', 'name': 'Grado en Informatica - Tecnologias Informaticas' } form = CertificationEditForm(data=data_form) self.assertEqual(form.is_valid(), True) certification = CertificationService.create_and_save(form) certification_bd = Titulacion.objects.get(codigo=123456) self.assertEqual(certification_bd, certification) def test_create_and_save_error_1(self): data_form = { 'code': '1', 'name': 'Grado en Informatica - Ingenieria del Software' } form = CertificationEditForm(data=data_form) self.assertEqual(form.is_valid(), False) def test_find_all_ok_1(self): certifications = list(CertificationService.find_all()) list_certifications = [self.certification_isc, self.certification_isw, self.certification_iti] self.assertListEqual(certifications, list_certifications) def test_find_by_code_ok_1(self): certification = CertificationService.find_by_code('2') self.assertEqual(certification, self.certification_isc) def test_find_by_code_error_1(self): certification = CertificationService.find_by_code('99') self.assertEqual(certification, None) def test_find_by_subject_ok_1(self): certifications = list(CertificationService.find_by_subject(self.subject_rc.id)) list_certifications = [self.certification_isw, self.certification_isc, self.certification_iti] self.assertListEqual(certifications, list_certifications) def test_find_by_subject_ok_2(self): certifications = list(CertificationService.find_by_subject(self.subject_ispp.id)) list_certifications = [self.certification_isw] self.assertListEqual(certifications, list_certifications) def test_find_by_subject_ok_3(self): certifications = list(CertificationService.find_by_subject('4874')) self.assertListEqual(certifications, []) def test_search_ok_1(self): certifications = list(CertificationService.search('Grado')) list_certifications = [self.certification_isc, self.certification_isw, self.certification_iti] self.assertListEqual(certifications, list_certifications) def test_search_ok_2(self): certifications = list(CertificationService.search('i')) list_certifications = [self.certification_isc, self.certification_isw, self.certification_iti] self.assertListEqual(certifications, list_certifications) def test_search_ok_3(self): certifications = list(CertificationService.search('Tecnologias')) list_certifications = [self.certification_iti] self.assertListEqual(certifications, list_certifications) def test_search_ok_4(self): certifications = list(CertificationService.search('z')) self.assertListEqual(certifications, []) def test_find_one_ok_1(self): certification = CertificationService.find_one(self.certification_isw.id) self.assertEqual(certification, self.certification_isw) class AdministratorTestCase(TestCase): def setUp(self): # Administrators self.administrator1 = Administrador.objects.create( username='admin', is_staff=True, is_superuser=False ) self.administrator1.set_password('admin') self.administrator1.user_permissions.add(Permission.objects.get(codename='administrator')) self.administrator1.user_permissions.add(Permission.objects.get(codename='view_subject_details')) def test_find_one_ok_1(self): administrator = AdministratorService.find_one(self.administrator1.id) self.assertEqual(administrator, self.administrator1) class DepartmentTestCase(TestCase): def setUp(self): # Departments self.department_lsi = Departamento.objects.create( codigo='1', nombre='Departamento de Lenguajes y Sistemas Informaticos', web='http://www.lsi.us.es' ) self.department_dte = Departamento.objects.create( codigo='2', nombre='Departamento de Tecnologia Electronica', web='https://www.dte.us.es/docencia/etsii/gii-is/redes-de-computadores' ) self.department_atc = Departamento.objects.create( codigo='3', nombre='Departamento de Arquitectura y Tecnologia de Computadores', web='http://www.atc.us.es/' ) def test_reconstruct_and_save_ok_1(self): data_form = { 'code': '4', 'name': 'Departamento de Fisica', 'web': 'http://www.fisica.us.es/' } form = DepartmentEditForm(data=data_form) self.assertEqual(form.is_valid(), True) department = DepartmentService.reconstruct_and_save(form) department_bd = Departamento.objects.get(codigo=4) self.assertEqual(department_bd, department) def test_reconstruct_and_save_ok_2(self): data_form = DepartmentService.get_form_data(self.department_lsi) data_form['name'] = 'Test' form = DepartmentEditForm(data=data_form) self.assertEqual(form.is_valid(), True) department = DepartmentService.reconstruct_and_save(form) department_bd = Departamento.objects.get(id=self.department_lsi.id) self.assertEqual(department_bd, department) self.assertEqual(department_bd.nombre, 'Test') def test_reconstruct_and_save_error_1(self): data_form = DepartmentService.get_form_data(self.department_lsi) data_form['code'] = '3' form = DepartmentEditForm(data=data_form) self.assertEqual(form.is_valid(), False) def test_reconstruct_and_save_error_2(self): data_form = DepartmentService.get_form_data(self.department_lsi) data_form['id'] = '4944' form = DepartmentEditForm(data=data_form) self.assertEqual(form.is_valid(), False) def test_reconstruct_and_save_error_3(self): data_form = DepartmentService.get_form_data(self.department_lsi) data_form['id'] = None form = DepartmentEditForm(data=data_form) self.assertEqual(form.is_valid(), False) def test_find_all_ok_1(self): departments = list(DepartmentService.find_all()) list_departments = [self.department_atc, self.department_lsi, self.department_dte] self.assertListEqual(departments, list_departments) def test_find_by_code_ok_1(self): department = DepartmentService.find_by_code('3') self.assertEqual(department, self.department_atc) def test_find_by_code_error_1(self): department = DepartmentService.find_by_code('99') self.assertEqual(department, None) def test_get_form_data_ok_1(self): data_form = DepartmentService.get_form_data(self.department_atc) data_form1 = { 'id': self.department_atc.id, 'code': self.department_atc.codigo, 'name': self.department_atc.nombre, 'web': self.department_atc.web } self.assertDictEqual(data_form, data_form1) def test_get_form_data_error_1(self): data_form = DepartmentService.get_form_data(self.department_atc) data_form1 = { 'id': self.department_atc.id, 'code': '324245', 'name': self.department_atc.nombre, 'web': self.department_atc.web } self.assertNotEqual(data_form, data_form1) def test_search_ok_1(self): departments = list(DepartmentService.search('Departamento')) list_departments = [self.department_atc, self.department_lsi, self.department_dte] self.assertListEqual(departments, list_departments) def test_search_ok_2(self): departments = list(DepartmentService.search('i')) list_departments = [self.department_atc, self.department_lsi, self.department_dte] self.assertListEqual(departments, list_departments) def test_search_ok_3(self): departments = list(DepartmentService.search('Lenguajes')) list_departments = [self.department_lsi] self.assertListEqual(departments, list_departments) def test_search_ok_4(self): departments = list(DepartmentService.search('zz')) self.assertListEqual(departments, []) def test_get_form_data_xml_ok_1(self): department = { 'codigo': self.department_atc.codigo, 'nombre': self.department_atc.nombre, 'web': self.department_atc.web } data_form = DepartmentService.get_form_data_xml(department) data_form1 = { 'code': self.department_atc.codigo, 'name': self.department_atc.nombre, 'web': self.department_atc.web } self.assertDictEqual(data_form, data_form1) def test_get_form_data_xml_error_1(self): department = { 'codigo': '946514', 'nombre': self.department_atc.nombre, 'web': self.department_atc.web } data_form = DepartmentService.get_form_data_xml(department) data_form1 = { 'code': self.department_atc.codigo, 'name': self.department_atc.nombre, 'web': self.department_atc.web } self.assertNotEqual(data_form, data_form1) def test_get_form_data_csv_ok_1(self): department = [ self.department_atc.codigo, self.department_atc.nombre, self.department_atc.web ] data_form = DepartmentService.get_form_data_csv(department) data_form1 = { 'code': self.department_atc.codigo, 'name': self.department_atc.nombre, 'web': self.department_atc.web } self.assertDictEqual(data_form, data_form1) def test_get_form_data_csv_error_1(self): department = [ '49498', self.department_atc.nombre, self.department_atc.web ] data_form = DepartmentService.get_form_data_csv(department) data_form1 = { 'code': self.department_atc.codigo, 'name': self.department_atc.nombre, 'web': self.department_atc.web } self.assertNotEqual(data_form, data_form1) def test_rollback_ok_1(self): departments = list(DepartmentService.find_all()) list_departments = [self.department_atc, self.department_lsi, self.department_dte] self.assertListEqual(departments, list_departments) DepartmentService.rollback(list_departments) departments = list(DepartmentService.find_all()) self.assertListEqual([], departments) def test_find_one_ok_1(self): department = DepartmentService.find_one(self.department_atc.id) self.assertEqual(department, self.department_atc) class ImpartSubjectTestCase(TestCase): def setUp(self): # Departments self.department_lsi = Departamento.objects.create( codigo='1', nombre='Departamento de Lenguajes y Sistemas Informaticos', web='http://www.lsi.us.es' ) self.department_dte = Departamento.objects.create( codigo='2', nombre='Departamento de Tecnologia Electronica', web='https://www.dte.us.es/docencia/etsii/gii-is/redes-de-computadores' ) self.department_atc = Departamento.objects.create( codigo='3', nombre='Departamento de Arquitectura y Tecnologia de Computadores', web='http://www.atc.us.es/' ) # Subjects self.subject_egc = Asignatura.objects.create( cuatrimestre='1', nombre='Evolucion y gestion de la configuracion', curso='4', codigo='2050032', creditos='6', duracion='C', web='http://www.lsi.us.es/docencia/pagina_asignatura.php?id=111', tipo_asignatura='OB', departamento=self.department_lsi, ) self.subject_rc = Asignatura.objects.create( cuatrimestre='1', nombre='Redes de computadores', curso='2', codigo='2050013', creditos='6', duracion='C', web='https://www.dte.us.es/docencia/etsii/gii-is/redes-de-computadores', tipo_asignatura='OB', departamento=self.department_dte, ) self.subject_cm = Asignatura.objects.create( cuatrimestre='1', nombre='Computacion Movil', curso='4', codigo='2060045', creditos='6', duracion='C', web='http://www.us.es/estudios/grados/plan_206/asignatura_2060045', tipo_asignatura='OP', departamento=self.department_atc, ) self.subject_ispp = Asignatura.objects.create( cuatrimestre='2', nombre='Ingenieria del Software y Practica Profesional', curso='4', codigo='2050039', creditos='6', duracion='C', web='http://www.lsi.us.es/docencia/pagina_asignatura.php?id=110', tipo_asignatura='OB', departamento=self.department_lsi, ) # Lecturers self.lecturer_benavides = Profesor.objects.create( username='benavides', email='benavides@us.es', categoria='Profesor Titular de Universidad', telefono='954559897', despacho='F 0.48', web='http://www.lsi.us.es/~dbc/', first_name='David', last_name='Benavides Cuevas', tutoriaactivada=True, dni='55555555X' ) self.lecturer_benavides.set_password('practica') self.lecturer_benavides.user_permissions.add(Permission.objects.get(codename='profesor')) self.lecturer_benavides.user_permissions.add(Permission.objects.get(codename='view_certification_list')) self.lecturer_benavides.user_permissions.add(Permission.objects.get(codename='view_tutorial_request_list')) self.lecturer_corchuelo = Profesor.objects.create( username='corchu', email='corchu@us.es', categoria='Profesor Titular de Universidad', telefono='954552770', despacho='F 1.63', first_name='Rafael', last_name='Corchuelo Gil', web='https://www.lsi.us.es/personal/pagina_personal.php?id=12', tutoriaactivada=True, dni='66666666X' ) self.lecturer_corchuelo.set_password('practica') self.lecturer_corchuelo.user_permissions.add(Permission.objects.get(codename='profesor')) self.lecturer_corchuelo.user_permissions.add(Permission.objects.get(codename='view_certification_list')) self.lecturer_corchuelo.user_permissions.add(Permission.objects.get(codename='view_tutorial_request_list')) self.lecturer_muller = Profesor.objects.create( username='cmuller', email='cmuller@lsi.us.es', categoria='Becario FPI', telefono='954553868', despacho='F 0.43', first_name='Carlos', last_name='Muller Cejas', web='https://www.lsi.us.es/personal/pagina_personal.php?id=108', tutoriaactivada=True, dni='77777777X' ) self.lecturer_muller.set_password('practica') self.lecturer_muller.user_permissions.add(Permission.objects.get(codename='profesor')) self.lecturer_muller.user_permissions.add(Permission.objects.get(codename='view_certification_list')) self.lecturer_muller.user_permissions.add(Permission.objects.get(codename='view_tutorial_request_list')) self.lecturer_veronica = Profesor.objects.create( username='averonica', email='cmuller@lsi.us.es', categoria='Profesor Titular de Universidad ', telefono='954557095 ', despacho='G 1.69', first_name='Ana Veronica', last_name='Medina Rodriguez', web='http://www.dte.us.es/personal/vmedina/', tutoriaactivada=True, dni='88888888X' ) self.lecturer_veronica.set_password('practica') self.lecturer_veronica.user_permissions.add(Permission.objects.get(codename='profesor')) self.lecturer_veronica.user_permissions.add(Permission.objects.get(codename='view_certification_list')) self.lecturer_veronica.user_permissions.add(Permission.objects.get(codename='view_tutorial_request_list')) def test_reconstruct_and_save_ok_1(self): data_form = { 'subject_id': self.subject_ispp.id, 'lecturer_id': self.lecturer_corchuelo.id, 'lecturer': self.lecturer_corchuelo.first_name + self.lecturer_corchuelo.last_name, 'position': 'Coordinador' } form = UserLinkSubjectForm(data=data_form) self.assertEqual(form.is_valid(), True) impart_subject = ImpartSubjectService.reconstruct_and_save(form) impart_subject_bd = Imparteasignatura.objects.get(profesor=self.lecturer_corchuelo, asignatura=self.subject_ispp) self.assertEqual(impart_subject, impart_subject_bd) def test_reconstruct_and_save_error_1(self): data_form = { 'subject_id': '', 'lecturer_id': self.lecturer_corchuelo.id, 'lecturer': self.lecturer_corchuelo.first_name + self.lecturer_corchuelo.last_name, 'position': 'Coordinador' } form = UserLinkSubjectForm(data=data_form) self.assertEqual(form.is_valid(), False) def test_reconstruct_and_save_error_2(self): data_form = { 'subject_id': self.subject_ispp.id, 'lecturer_id': '', 'lecturer': self.lecturer_corchuelo.first_name + self.lecturer_corchuelo.last_name, 'position': 'Coordinador' } form = UserLinkSubjectForm(data=data_form) self.assertEqual(form.is_valid(), False) def test_reconstruct_and_save_error_3(self): data_form = { 'subject_id': self.subject_ispp.id, 'lecturer_id': self.lecturer_corchuelo.id, 'lecturer': self.lecturer_corchuelo.first_name + self.lecturer_corchuelo.last_name, 'position': '' } form = UserLinkSubjectForm(data=data_form) self.assertEqual(form.is_valid(), False) def test_reconstruct_and_save_error_4(self): data_form = { 'subject_id': '99854', 'lecturer_id': self.lecturer_corchuelo.id, 'lecturer': self.lecturer_corchuelo.first_name + self.lecturer_corchuelo.last_name, 'position': '' } form = UserLinkSubjectForm(data=data_form) self.assertEqual(form.is_valid(), False) def test_reconstruct_and_save_error_5(self): data_form = { 'subject_id': self.subject_ispp.id, 'lecturer_id': '74985', 'lecturer': self.lecturer_corchuelo.first_name + self.lecturer_corchuelo.last_name, 'position': '' } form = UserLinkSubjectForm(data=data_form) self.assertEqual(form.is_valid(), False) def test_get_form_data_xml_ok_1(self): lecturer = { 'uvus': self.lecturer_muller.username, 'cargo': 'Profesor' } data_form = ImpartSubjectService.get_form_data_xml(lecturer, self.subject_ispp) data = { 'subject_id': self.subject_ispp.id, 'lecturer_id': self.lecturer_muller.id, 'lecturer': self.lecturer_muller.first_name + self.lecturer_muller.last_name, 'position': 'Profesor' } self.assertDictEqual(data_form, data) def test_get_form_data_xml_error_1(self): lecturer = { 'uvus': self.lecturer_muller.username, 'cargo': 'Profesor' } data_form = ImpartSubjectService.get_form_data_xml(lecturer, self.subject_ispp) data = { 'subject_id': self.subject_ispp.id, 'lecturer_id': '-1', 'lecturer': self.lecturer_muller.first_name + self.lecturer_muller.last_name, 'position': 'Profesor' } self.assertNotEqual(data_form, data) def test_get_form_data_xml_error_2(self): lecturer = { 'uvus': self.lecturer_muller.username, 'cargo': 'Profesor' } data_form = ImpartSubjectService.get_form_data_xml(lecturer, self.subject_ispp) data = { 'subject_id': '-1', 'lecturer_id': self.lecturer_muller.id, 'lecturer': self.lecturer_muller.first_name + self.lecturer_muller.last_name, 'position': 'Profesor' } self.assertNotEqual(data_form, data) # def test_get_form_data_csv_ok_1(self): # # lecturer = [ # 'Profesor', # self.lecturer_muller.dni, # self.lecturer_muller.last_name + "," + self.lecturer_muller.first_name, # self.lecturer_muller.username, # 'null', # 'Coordinador' # ] # data_form = ImpartSubjectService.get_form_data_csv(lecturer, self.subject_ispp) # data = { # 'subject_id': self.subject_ispp.id, # 'lecturer_id': self.lecturer_muller.id, # 'lecturer': "" + self.lecturer_muller.first_name + " " + self.lecturer_muller.last_name, # 'position': 'Profesor' # } # self.assertEqual(data_form, data) class UserTestCase(TestCase): def setUp(self): # Departments self.department_lsi = Departamento.objects.create( codigo='1', nombre='Departamento de Lenguajes y Sistemas Informaticos', web='http://www.lsi.us.es' ) self.department_dte = Departamento.objects.create( codigo='2', nombre='Departamento de Tecnologia Electronica', web='https://www.dte.us.es/docencia/etsii/gii-is/redes-de-computadores' ) self.department_atc = Departamento.objects.create( codigo='3', nombre='Departamento de Arquitectura y Tecnologia de Computadores', web='http://www.atc.us.es/' ) # Subjects self.subject_egc = Asignatura.objects.create( cuatrimestre='1', nombre='Evolucion y gestion de la configuracion', curso='4', codigo='2050032', creditos='6', duracion='C', web='http://www.lsi.us.es/docencia/pagina_asignatura.php?id=111', tipo_asignatura='OB', departamento=self.department_lsi, ) self.subject_rc = Asignatura.objects.create( cuatrimestre='1', nombre='Redes de computadores', curso='2', codigo='2050013', creditos='6', duracion='C', web='https://www.dte.us.es/docencia/etsii/gii-is/redes-de-computadores', tipo_asignatura='OB', departamento=self.department_dte, ) self.subject_cm = Asignatura.objects.create( cuatrimestre='1', nombre='Computacion Movil', curso='4', codigo='2060045', creditos='6', duracion='C', web='http://www.us.es/estudios/grados/plan_206/asignatura_2060045', tipo_asignatura='OP', departamento=self.department_atc, ) self.subject_ispp = Asignatura.objects.create( cuatrimestre='2', nombre='Ingenieria del Software y Practica Profesional', curso='4', codigo='2050039', creditos='6', duracion='C', web='http://www.lsi.us.es/docencia/pagina_asignatura.php?id=110', tipo_asignatura='OB', departamento=self.department_lsi, ) # Alumnos self.student_carborgar = Alumno.objects.create( username='carborgar', first_name='Carlos', last_name='Borja Garcia - Baquero', email='carborgar@alum.us.es', dni='47537495X' ) self.student_carborgar.set_password('practica') self.student_carborgar.user_permissions.add(Permission.objects.get(codename='alumno')) self.student_carborgar.user_permissions.add(Permission.objects.get(codename='view_certification_list')) self.student_carborgar.user_permissions.add(Permission.objects.get(codename='view_tutorial_request_list')) self.student_carborgar.user_permissions.add(Permission.objects.get(codename='view_subject_details')) self.student_juamaiosu = Alumno.objects.create( username='juamaiosu', first_name='Juan Elias', last_name='Maireles Osuna', email='juamaiosu@alum.us.es', dni='47537560X' ) self.student_juamaiosu.set_password('practica') self.student_juamaiosu.user_permissions.add(Permission.objects.get(codename='alumno')) self.student_juamaiosu.user_permissions.add(Permission.objects.get(codename='view_certification_list')) self.student_juamaiosu.user_permissions.add(Permission.objects.get(codename='view_tutorial_request_list')) self.student_juamaiosu.user_permissions.add(Permission.objects.get(codename='view_subject_details')) self.student_rubgombar = Alumno.objects.create( username='rubgombar', first_name='Ruben', last_name='Gomez Barrera', email='ruben@alum.us.es', dni='11111111X' ) self.student_rubgombar.set_password('practica') self.student_rubgombar.user_permissions.add(Permission.objects.get(codename='alumno')) self.student_rubgombar.user_permissions.add(Permission.objects.get(codename='view_certification_list')) self.student_rubgombar.user_permissions.add(Permission.objects.get(codename='view_tutorial_request_list')) self.student_rubgombar.user_permissions.add(Permission.objects.get(codename='view_subject_details')) self.student_davjimvar = Alumno.objects.create( username='davjimvar', first_name='David', last_name='Jimenez Vargas', email='david@alum.us.es', dni='22222222X' ) self.student_davjimvar.set_password('practica') self.student_davjimvar.user_permissions.add(Permission.objects.get(codename='alumno')) self.student_davjimvar.user_permissions.add(Permission.objects.get(codename='view_certification_list')) self.student_davjimvar.user_permissions.add(Permission.objects.get(codename='view_tutorial_request_list')) self.student_davjimvar.user_permissions.add(Permission.objects.get(codename='view_subject_details')) self.student_javrodleo = Alumno.objects.create( username='javrodleo', first_name='Javier', last_name='Rodriguez Leon', email='javier@alum.us.es', dni='33333333X' ) self.student_javrodleo.set_password('practica') self.student_javrodleo.user_permissions.add(Permission.objects.get(codename='alumno')) self.student_javrodleo.user_permissions.add(Permission.objects.get(codename='view_certification_list')) self.student_javrodleo.user_permissions.add(Permission.objects.get(codename='view_tutorial_request_list')) self.student_javrodleo.user_permissions.add(Permission.objects.get(codename='view_subject_details')) # Lecturers self.lecturer_benavides = Profesor.objects.create( username='benavides', email='benavides@us.es', categoria='Profesor Titular de Universidad', telefono='954559897', despacho='F 0.48', web='http://www.lsi.us.es/~dbc/', first_name='David', last_name='Benavides Cuevas', tutoriaactivada=True, dni='55555555X' ) self.lecturer_benavides.set_password('practica') self.lecturer_benavides.user_permissions.add(Permission.objects.get(codename='profesor')) self.lecturer_benavides.user_permissions.add(Permission.objects.get(codename='view_certification_list')) self.lecturer_benavides.user_permissions.add(Permission.objects.get(codename='view_tutorial_request_list')) self.lecturer_corchuelo = Profesor.objects.create( username='corchu', email='corchu@us.es', categoria='Profesor Titular de Universidad', telefono='954552770', despacho='F 1.63', first_name='Rafael', last_name='Corchuelo Gil', web='https://www.lsi.us.es/personal/pagina_personal.php?id=12', tutoriaactivada=True, dni='66666666X' ) self.lecturer_corchuelo.set_password('practica') self.lecturer_corchuelo.user_permissions.add(Permission.objects.get(codename='profesor')) self.lecturer_corchuelo.user_permissions.add(Permission.objects.get(codename='view_certification_list')) self.lecturer_corchuelo.user_permissions.add(Permission.objects.get(codename='view_tutorial_request_list')) self.lecturer_muller = Profesor.objects.create( username='cmuller', email='cmuller@lsi.us.es', categoria='Becario FPI', telefono='954553868', despacho='F 0.43', first_name='Carlos', last_name='Muller Cejas', web='https://www.lsi.us.es/personal/pagina_personal.php?id=108', tutoriaactivada=True, dni='77777777X' ) self.lecturer_muller.set_password('practica') self.lecturer_muller.user_permissions.add(Permission.objects.get(codename='profesor')) self.lecturer_muller.user_permissions.add(Permission.objects.get(codename='view_certification_list')) self.lecturer_muller.user_permissions.add(Permission.objects.get(codename='view_tutorial_request_list')) self.lecturer_veronica = Profesor.objects.create( username='averonica', email='cmuller@lsi.us.es', categoria='Profesor Titular de Universidad ', telefono='954557095 ', despacho='G 1.69', first_name='Ana Veronica', last_name='Medina Rodriguez', web='http://www.dte.us.es/personal/vmedina/', tutoriaactivada=True, dni='88888888X' ) self.lecturer_veronica.set_password('practica') self.lecturer_veronica.user_permissions.add(Permission.objects.get(codename='profesor')) self.lecturer_veronica.user_permissions.add(Permission.objects.get(codename='view_certification_list')) self.lecturer_veronica.user_permissions.add(Permission.objects.get(codename='view_tutorial_request_list')) self.impart_ispp = Imparteasignatura.objects.create( cargo='Coordinador', profesor=self.lecturer_corchuelo, asignatura=self.subject_ispp ) self.impart_ispp = Imparteasignatura.objects.create( cargo='Profesor', profesor=self.lecturer_muller, asignatura=self.subject_ispp ) self.impart_egc = Imparteasignatura.objects.create( cargo='Coordinador', profesor=self.lecturer_benavides, asignatura=self.subject_egc ) self.student_carborgar.asignaturas = [self.subject_egc, self.subject_ispp] self.student_juamaiosu.asignaturas = [self.subject_egc] def test_find_by_username_ok_1(self): user = UserService.find_by_username(self.student_carborgar.username) user_db = User.objects.get(username=self.student_carborgar.username) self.assertEqual(user, user_db) def test_find_by_username_error_1(self): user = UserService.find_by_username('ghslih') self.assertEqual(user, None) def test_delete_ok_1(self): username = self.student_carborgar.username UserService.delete(self.student_carborgar) error = False try: User.objects.get(username=username) except User.DoesNotExist: error = True self.assertTrue(error) def test_rollback_users_ok_1(self): user_create = {self.lecturer_muller: 'password', self.lecturer_corchuelo: 'password'} len_list1 = len(list(UserService.find_all())) UserService.rollback_users(user_create) len_list2 = len(list(UserService.find_all())) self.assertIs(len_list1 - 2, len_list2) def test_rollback_ok_1(self): number_link_student_carborgar1 = len(list(self.student_carborgar.asignaturas.all())) number_link_student_juamaiosu1 = len(list(self.student_juamaiosu.asignaturas.all())) number_link_lecturer_benavides1 = len(list(self.lecturer_benavides.imparteasignatura_set.all())) student_link = [self.student_juamaiosu, self.student_carborgar] lecturer_link = [self.lecturer_benavides] user_create = [self.lecturer_veronica] username = self.lecturer_veronica.username UserService.rollback(user_create, student_link, lecturer_link, self.subject_egc.id) number_link_student_carborgar2 = len(list(self.student_carborgar.asignaturas.all())) number_link_student_juamaiosu2 = len(list(self.student_juamaiosu.asignaturas.all())) number_link_lecturer_benavides2 = len(list(self.lecturer_benavides.imparteasignatura_set.all())) self.assertEqual(number_link_student_carborgar1 - 1, number_link_student_carborgar2) self.assertEqual(number_link_student_juamaiosu1 - 1, number_link_student_juamaiosu2) self.assertEqual(number_link_lecturer_benavides1 - 1, number_link_lecturer_benavides2) error = False try: User.objects.get(username=username) except User.DoesNotExist: error = True self.assertTrue(error) class SubjectTestCase(TestCase): def setUp(self): # Departments self.department_lsi = Departamento.objects.create( codigo='1', nombre='Departamento de Lenguajes y Sistemas Informaticos', web='http://www.lsi.us.es' ) self.department_dte = Departamento.objects.create( codigo='2', nombre='Departamento de Tecnologia Electronica', web='https://www.dte.us.es/docencia/etsii/gii-is/redes-de-computadores' ) self.department_atc = Departamento.objects.create( codigo='3', nombre='Departamento de Arquitectura y Tecnologia de Computadores', web='http://www.atc.us.es/' ) # Subjects self.subject_egc = Asignatura.objects.create( cuatrimestre='1', nombre='Evolucion y gestion de la configuracion', curso='4', codigo='1', creditos='6', duracion='C', web='http://www.lsi.us.es/docencia/pagina_asignatura.php?id=111', tipo_asignatura='OB', departamento=self.department_lsi, ) self.subject_rc = Asignatura.objects.create( cuatrimestre='1', nombre='Redes de computadores', curso='2', codigo='2', creditos='6', duracion='C', web='https://www.dte.us.es/docencia/etsii/gii-is/redes-de-computadores', tipo_asignatura='OB', departamento=self.department_dte, ) self.subject_cm = Asignatura.objects.create( cuatrimestre='1', nombre='Computacion Movil', curso='4', codigo='3', creditos='6', duracion='C', web='http://www.us.es/estudios/grados/plan_206/asignatura_2060045', tipo_asignatura='OP', departamento=self.department_atc, ) self.subject_ispp = Asignatura.objects.create( cuatrimestre='2', nombre='Ingenieria del Software y Practica Profesional', curso='4', codigo='4', creditos='6', duracion='C', web='http://www.lsi.us.es/docencia/pagina_asignatura.php?id=110', tipo_asignatura='OB', departamento=self.department_lsi, ) # Alumnos self.student_carborgar = Alumno.objects.create( username='carborgar', first_name='Carlos', last_name='Borja Garcia - Baquero', email='carborgar@alum.us.es', dni='47537495X' ) self.student_carborgar.set_password('practica') self.student_carborgar.user_permissions.add(Permission.objects.get(codename='alumno')) self.student_carborgar.user_permissions.add(Permission.objects.get(codename='view_certification_list')) self.student_carborgar.user_permissions.add(Permission.objects.get(codename='view_tutorial_request_list')) self.student_carborgar.user_permissions.add(Permission.objects.get(codename='view_subject_details')) self.student_juamaiosu = Alumno.objects.create( username='juamaiosu', first_name='Juan Elias', last_name='Maireles Osuna', email='juamaiosu@alum.us.es', dni='47537560X' ) self.student_juamaiosu.set_password('practica') self.student_juamaiosu.user_permissions.add(Permission.objects.get(codename='alumno')) self.student_juamaiosu.user_permissions.add(Permission.objects.get(codename='view_certification_list')) self.student_juamaiosu.user_permissions.add(Permission.objects.get(codename='view_tutorial_request_list')) self.student_juamaiosu.user_permissions.add(Permission.objects.get(codename='view_subject_details')) self.student_rubgombar = Alumno.objects.create( username='rubgombar', first_name='Ruben', last_name='Gomez Barrera', email='ruben@alum.us.es', dni='11111111X' ) self.student_rubgombar.set_password('practica') self.student_rubgombar.user_permissions.add(Permission.objects.get(codename='alumno')) self.student_rubgombar.user_permissions.add(Permission.objects.get(codename='view_certification_list')) self.student_rubgombar.user_permissions.add(Permission.objects.get(codename='view_tutorial_request_list')) self.student_rubgombar.user_permissions.add(Permission.objects.get(codename='view_subject_details')) self.student_davjimvar = Alumno.objects.create( username='davjimvar', first_name='David', last_name='Jimenez Vargas', email='david@alum.us.es', dni='22222222X' ) self.student_davjimvar.set_password('practica') self.student_davjimvar.user_permissions.add(Permission.objects.get(codename='alumno')) self.student_davjimvar.user_permissions.add(Permission.objects.get(codename='view_certification_list')) self.student_davjimvar.user_permissions.add(Permission.objects.get(codename='view_tutorial_request_list')) self.student_davjimvar.user_permissions.add(Permission.objects.get(codename='view_subject_details')) self.student_javrodleo = Alumno.objects.create( username='javrodleo', first_name='Javier', last_name='Rodriguez Leon', email='javier@alum.us.es', dni='33333333X' ) self.student_javrodleo.set_password('practica') self.student_javrodleo.user_permissions.add(Permission.objects.get(codename='alumno')) self.student_javrodleo.user_permissions.add(Permission.objects.get(codename='view_certification_list')) self.student_javrodleo.user_permissions.add(Permission.objects.get(codename='view_tutorial_request_list')) self.student_javrodleo.user_permissions.add(Permission.objects.get(codename='view_subject_details')) # Lecturers self.lecturer_benavides = Profesor.objects.create( username='benavides', email='benavides@us.es', categoria='Profesor Titular de Universidad', telefono='954559897', despacho='F 0.48', web='http://www.lsi.us.es/~dbc/', first_name='David', last_name='Benavides Cuevas', tutoriaactivada=True, dni='55555555X' ) self.lecturer_benavides.set_password('practica') self.lecturer_benavides.user_permissions.add(Permission.objects.get(codename='profesor')) self.lecturer_benavides.user_permissions.add(Permission.objects.get(codename='view_certification_list')) self.lecturer_benavides.user_permissions.add(Permission.objects.get(codename='view_tutorial_request_list')) self.lecturer_corchuelo = Profesor.objects.create( username='corchu', email='corchu@us.es', categoria='Profesor Titular de Universidad', telefono='954552770', despacho='F 1.63', first_name='Rafael', last_name='Corchuelo Gil', web='https://www.lsi.us.es/personal/pagina_personal.php?id=12', tutoriaactivada=True, dni='66666666X' ) self.lecturer_corchuelo.set_password('practica') self.lecturer_corchuelo.user_permissions.add(Permission.objects.get(codename='profesor')) self.lecturer_corchuelo.user_permissions.add(Permission.objects.get(codename='view_certification_list')) self.lecturer_corchuelo.user_permissions.add(Permission.objects.get(codename='view_tutorial_request_list')) self.lecturer_muller = Profesor.objects.create( username='cmuller', email='cmuller@lsi.us.es', categoria='Becario FPI', telefono='954553868', despacho='F 0.43', first_name='Carlos', last_name='Muller Cejas', web='https://www.lsi.us.es/personal/pagina_personal.php?id=108', tutoriaactivada=True, dni='77777777X' ) self.lecturer_muller.set_password('practica') self.lecturer_muller.user_permissions.add(Permission.objects.get(codename='profesor')) self.lecturer_muller.user_permissions.add(Permission.objects.get(codename='view_certification_list')) self.lecturer_muller.user_permissions.add(Permission.objects.get(codename='view_tutorial_request_list')) self.lecturer_veronica = Profesor.objects.create( username='averonica', email='cmuller@lsi.us.es', categoria='Profesor Titular de Universidad ', telefono='954557095 ', despacho='G 1.69', first_name='Ana Veronica', last_name='Medina Rodriguez', web='http://www.dte.us.es/personal/vmedina/', tutoriaactivada=True, dni='88888888X' ) self.lecturer_veronica.set_password('practica') self.lecturer_veronica.user_permissions.add(Permission.objects.get(codename='profesor')) self.lecturer_veronica.user_permissions.add(Permission.objects.get(codename='view_certification_list')) self.lecturer_veronica.user_permissions.add(Permission.objects.get(codename='view_tutorial_request_list')) self.impart_ispp_corchu = Imparteasignatura.objects.create( cargo='Coordinador', profesor=self.lecturer_corchuelo, asignatura=self.subject_ispp ) self.impart_ispp_muller = Imparteasignatura.objects.create( cargo='Profesor', profesor=self.lecturer_muller, asignatura=self.subject_ispp ) self.impart_ispp_benavides = Imparteasignatura.objects.create( cargo='Coordinador', profesor=self.lecturer_benavides, asignatura=self.subject_ispp ) self.impart_egc_benavides = Imparteasignatura.objects.create( cargo='Coordinador', profesor=self.lecturer_benavides, asignatura=self.subject_egc ) self.student_carborgar.asignaturas = [self.subject_egc, self.subject_ispp] self.student_juamaiosu.asignaturas = [self.subject_egc] def test_get_student_subjects_ok_1(self): subjects = list(SubjectService.get_student_subjects(self.student_carborgar.id)) subjects1 = [self.subject_egc, self.subject_ispp] self.assertListEqual(subjects, subjects1) def test_get_lecturer_subjects_ok_1(self): subjects = list(SubjectService.get_lecturer_subjects(self.lecturer_benavides.id)) subjects1 = [self.subject_egc, self.subject_ispp] self.assertListEqual(subjects, subjects1) def test_create_and_save_ok_1(self): data_form = { 'name': 'Prueba', 'course': '1', 'code': '5', 'quarter': '1', 'credits': '6', 'web': 'http://www.lsi.us.es/docencia/pagina_asignatura.php?id=110', 'duration': 'C', 'type': 'OB', 'departament': self.department_lsi.id, } form = SubjectEditForm(data=data_form) self.assertEqual(form.is_valid(), True) subject = SubjectService.create(form) SubjectService.save(subject) subject_bd = Asignatura.objects.get(codigo=subject.codigo) self.assertEqual(subject, subject_bd) def test_create_and_save_error_1(self): data_form = { 'name': 'Prueba', 'course': '1', 'code': '4', 'quarter': '1', 'credits': '6', 'web': 'http://www.lsi.us.es/docencia/pagina_asignatura.php?id=110', 'duration': 'C', 'type': 'OB', 'departament': self.department_lsi.id, } form = SubjectEditForm(data=data_form) self.assertEqual(form.is_valid(), False) def test_create_and_save_error_2(self): data_form = { 'name': 'Prueba', 'course': '10', 'code': '5', 'quarter': '1', 'credits': '6', 'web': 'http://www.lsi.us.es/docencia/pagina_asignatura.php?id=110', 'duration': 'C', 'type': 'OB', 'departament': self.department_lsi.id, } form = SubjectEditForm(data=data_form) self.assertEqual(form.is_valid(), False) def test_create_and_save_error_3(self): data_form = { 'name': 'Prueba', 'course': '1', 'code': '5', 'quarter': '8', 'credits': '6', 'web': 'http://www.lsi.us.es/docencia/pagina_asignatura.php?id=110', 'duration': 'C', 'type': 'OB', 'departament': self.department_lsi.id, } form = SubjectEditForm(data=data_form) self.assertEqual(form.is_valid(), False) def test_find_by_code_ok_1(self): subject = SubjectService.find_by_code(self.subject_ispp.codigo) self.assertEqual(subject, self.subject_ispp) def test_find_by_code_error_1(self): subject = SubjectService.find_by_code('5') self.assertEqual(subject, None) def test_find_one_ok_1(self): subject = SubjectService.find_one(self.subject_ispp.id) self.assertEqual(subject, self.subject_ispp) def test_find_one_error_1(self): subject = SubjectService.find_one('-1') self.assertEqual(subject, None) @override_settings(EMAIL_BACKEND='django.core.mail.backends.smtp.EmailBackend') class EmailTestCase(TestCase): def test_send_email(self): try: mail_sent_success = mail.send_mail('Test', 'Test', EMAIL_HOST_USER, [EMAIL_HOST_USER], fail_silently=True) self.assertEqual(mail_sent_success, 1) except Exception: self.assertEqual(False, True, 'No se ha podido enviar el correo')
carborgar/gestionalumnostfg
principal/tests.py
Python
mit
52,227
<?php /* * This file is part of the Tinyissue package. * * (c) Mohamed Alsharaf <mohamed.alsharaf@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tinyissue\Http\Controllers; use Illuminate\Http\Request; use Tinyissue\Form\Project as Form; use Tinyissue\Form\GlobalIssue as IssueForm; use Tinyissue\Http\Requests\FormRequest; use Tinyissue\Model\Project; use Tinyissue\Model\User; /** * ProjectsController is the controller class for managing request related to projects. * * @author Mohamed Alsharaf <mohamed.alsharaf@gmail.com> */ class ProjectsController extends Controller { /** * Display list of active/archived projects. * * @param int $status * * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View */ public function getIndex($status = Project::STATUS_OPEN) { $viewData = []; if (!$this->auth->guest()) { $projects = $this->getLoggedUser()->projectsWithCountOpenIssues($status)->get(); if ($status) { $countActive = $projects->count(); $countArchived = $this->getLoggedUser()->projectsWithCountOpenIssues(Project::STATUS_ARCHIVED)->count(); } else { $countActive = $this->getLoggedUser()->projectsWithCountOpenIssues(Project::STATUS_OPEN)->count(); $countArchived = $projects->count(); } $viewData['projects'] = $this->getLoggedUser()->projects()->get(); } else { $viewData['sidebar'] = 'public'; $project = new Project(); $projects = $project->projectsWithOpenIssuesCount($status, Project::PRIVATE_NO)->get(); if ($status) { $countActive = $projects->count(); $countArchived = $project->projectsWithOpenIssuesCount(Project::STATUS_ARCHIVED, Project::PRIVATE_NO)->count(); } else { $countActive = $project->projectsWithOpenIssuesCount(Project::STATUS_OPEN, Project::PRIVATE_NO)->count(); $countArchived = $projects->count(); } $user = new User(); $viewData['activeUsers'] = $user->activeUsers(); } $viewData['content_projects'] = $projects; $viewData['active'] = $status === Project::STATUS_OPEN ? 'active' : 'archived'; $viewData['active_count'] = $countActive; $viewData['archived_count'] = $countArchived; return view('projects.index', $viewData); } /** * Add new project form. * * @param Form $form * * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View */ public function getNew(Form $form) { return view('projects.new', [ 'form' => $form, 'projects' => $this->getLoggedUser()->projects()->get(), ]); } /** * To create a new project. * * @param Project $project * @param FormRequest\Project $request * * @return \Illuminate\Http\RedirectResponse */ public function postNew(Project $project, FormRequest\Project $request) { $project->createProject($request->all()); return redirect($project->to()); } /** * Ajax: Calculate the progress of user projects. * * @param Request $request * @param Project $project * * @return \Symfony\Component\HttpFoundation\Response */ public function postProgress(Request $request, Project $project) { // Get all projects with count of closed and opened issues $projects = $project->projectsWithCountIssues((array) $request->input('ids')); // The project progress Html and value $progress = $projects->transform(function (Project $project) { $progress = $project->getProgress(); $view = view('partials/progress', ['text' => $progress . '%', 'progress' => $progress])->render(); return [ 'id' => $project->id, 'progress' => [ 'html' => $view, 'value' => $progress, ], ]; })->lists('progress', 'id')->all(); return response()->json(['status' => true, 'progress' => $progress]); } /** * Add new issue form. * * @param IssueForm $form * * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View */ public function getNewIssue(IssueForm $form) { return view('projects.new-issue', [ 'form' => $form, 'projects' => $this->getLoggedUser()->projects()->get(), ]); } /** * To create a new issue. * * @param Project\Issue $issue * @param FormRequest\GlobalIssue $request * * @return \Illuminate\Http\RedirectResponse */ public function postNewIssue(Project\Issue $issue, FormRequest\GlobalIssue $request) { $project = Project::find((int) $request->input('project')); $issue->setRelation('project', $project); $issue->setRelation('user', $this->getLoggedUser()); $issue->createIssue([ 'title' => $request->input('title'), 'body' => $request->input('body'), 'tag_type' => $request->input('tag_type'), 'upload_token' => $request->input('upload_token'), 'assigned_to' => (int) $project->default_assignee, 'time_quote' => 0, ]); return redirect($issue->to()) ->with('notice', trans('tinyissue.issue_has_been_created')); } }
satrun77/tinyissue
app/Http/Controllers/ProjectsController.php
PHP
mit
5,800
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="Lengkeng"> <META NAME="keywords" CONTENT="LengKeng"> <meta name="Author" content="LengKeng, E-mail: ohmygodvt95@gmail.com"> <meta name="copyright" content="Copyright <?php echo date('Y');?> by LengKeng"> <link rel="shortcut icon" type="image/png" href="<?php echo base_url();?>asset/images/favicon.png" /> <title>Admin</title> <!-- Load CSS--> <link rel="stylesheet" type="text/css" href="<?php echo base_url();?>asset/css/reset.min.css"> <link rel="stylesheet" type="text/css" href="<?php echo base_url();?>asset/css/bootstrap.min.css"> <link rel="stylesheet" type="text/css" href="<?php echo base_url();?>asset/css/bootstrap-theme.min.css"> <link rel="stylesheet" type="text/css" href="<?php echo base_url();?>asset/css/font-awesome.min.css"> <link rel="stylesheet" type="text/css" href="<?php echo base_url();?>asset/css/sweetalert.min.css"> <!-- Load customize style --> <link href="http://allfont.net/css/?fonts=bebas-neue" rel="stylesheet" type="text/css"> <link href="http://fonts.googleapis.com/css?family=Raleway:400,500" rel="stylesheet" type="text/css"> <link rel="stylesheet" type="text/css" href="<?php echo base_url();?>asset/css/style1.css"> <style type="text/css"> * { transition: 0.1s; } .head div{ font-weight: bolder; text-transform: uppercase; border-bottom: 4px solid gray; } .dt div{ line-height: 50px; border-bottom: 1px solid rgba(0,0,0, 0.4); } .btn{ width: 100%!important; } /*footer*/ footer{min-height:80px;background-color:#254F75;} footer h3{font-weight:100;font-family:"Roboto";font-size:20px;color:#fff;line-height:80px;} </style> </head> <body> <!-- menu-no-logged --> <?php $this->load->view('module/menu/menu-no-login');?> <div class="container" style="margin-top: 50px; margin-bottom: 50px;"> <h1 class="text-center">Báo lỗi của người dùng</h1> <hr> <div role="tabpanel"> <!-- Nav tabs --> <ul class="nav nav-tabs" role="tablist"> <li role="presentation" class="active"> <a href="#new" aria-controls="home" role="tab" data-toggle="tab">Lỗi mới <sup><span class="badge"><?php echo count($data_new); ?></span> </sup></a> </li> <li role="presentation"> <a href="#seen" aria-controls="tab" role="tab" data-toggle="tab">Đã xem qua <sup><span class="badge"><?php echo count($data_seen); ?></span> </a> </li> <li role="presentation"> <a href="#done" aria-controls="tab" role="tab" data-toggle="tab">Đã giải quyết <sup><span class="badge"><?php echo count($data_done); ?></span> </a> </li> </ul> <!-- Tab panes --> <div class="tab-content"> <div role="tabpanel" class="tab-pane active" id="new"> <table class="table table-hover"> <thead> <tr> <th>Mã</th> <th>Người báo</th> <th>Thời gian</th> <th>Loại lỗi</th> <th>Thuộc tuyến</th> <th>Hành động</th> </tr> </thead> <tbody> <?php foreach ($data_new as $key) { echo '<tr> '; $item = json_decode($key->stringdata, FALSE); echo '<td>'.$key->_id.'</td> '; echo '<td>'.$item->userEmail.'</td> '; echo '<td>'.$key->time_stamp.'</td> '; echo '<td>'.$item->reportType.'</td> '; echo '<td>'.$item->busLine->code.'</td> '; if($key->status == '0'){ echo '<td><a href="'.site_url('report/xuly/'.$key->_id).'" class="btn btn-danger"><i class="fa fa-fw fa-wrench"></i>Lỗi mới</a></td>'; } else if($key->status == '2'){ echo '<td><a href="'.site_url('report/xuly/'.$key->_id).'" title="" class="btn btn-success"><i class="fa fa-fw fa-check"></i>Đã giải quyết</a></td>'; } else if($key->status == '1'){ echo '<td><a href="'.site_url('report/xuly/'.$key->_id).'" title="" class="btn btn-warning"><i class="fa fa-fw fa-eye"></i>Đã xem qua</a></td>'; } echo '</tr>'; } ?> </tbody> </table> </div> <div role="tabpanel" class="tab-pane" id="seen"> <table class="table table-hover"> <thead> <tr> <th>Mã</th> <th>Người báo</th> <th>Thời gian</th> <th>Loại lỗi</th> <th>Thuộc tuyến</th> <th>Hành động</th> </tr> </thead> <tbody> <?php foreach ($data_seen as $key) { echo '<tr> '; $item = json_decode($key->stringdata, FALSE); echo '<td>'.$key->_id.'</td> '; echo '<td>'.$item->userEmail.'</td> '; echo '<td>'.$key->time_stamp.'</td> '; echo '<td>'.$item->reportType.'</td> '; echo '<td>'.$item->busLine->code.'</td> '; if($key->status == '0'){ echo '<td><a href="'.site_url('report/xuly/'.$key->_id).'" class="btn btn-danger"><i class="fa fa-fw fa-wrench"></i>Lỗi mới</a></td>'; } else if($key->status == '2'){ echo '<td><a href="'.site_url('report/xuly/'.$key->_id).'" title="" class="btn btn-success"><i class="fa fa-fw fa-check"></i>Đã giải quyết</a></td>'; } else if($key->status == '1'){ echo '<td><a href="'.site_url('report/xuly/'.$key->_id).'" title="" class="btn btn-warning"><i class="fa fa-fw fa-eye"></i>Đã xem qua</a></td>'; } echo '</tr>'; } ?> </tbody> </table> </div> <div role="tabpanel" class="tab-pane" id="done"> <table class="table table-hover"> <thead> <tr> <th>Mã</th> <th>Người báo</th> <th>Thời gian</th> <th>Loại lỗi</th> <th>Thuộc tuyến</th> <th>Hành động</th> </tr> </thead> <tbody> <?php foreach ($data_done as $key) { echo '<tr> '; $item = json_decode($key->stringdata, FALSE); echo '<td>'.$key->_id.'</td> '; echo '<td>'.$item->userEmail.'</td> '; echo '<td>'.$key->time_stamp.'</td> '; echo '<td>'.$item->reportType.'</td> '; echo '<td>'.$item->busLine->code.'</td> '; if($key->status == '0'){ echo '<td><a href="'.site_url('report/xuly/'.$key->_id).'" class="btn btn-danger"><i class="fa fa-fw fa-wrench"></i>Lỗi mới</a></td>'; } else if($key->status == '2'){ echo '<td><a href="'.site_url('report/xuly/'.$key->_id).'" title="" class="btn btn-success"><i class="fa fa-fw fa-check"></i>Đã giải quyết</a></td>'; } else if($key->status == '1'){ echo '<td><a href="'.site_url('report/xuly/'.$key->_id).'" title="" class="btn btn-warning"><i class="fa fa-fw fa-eye"></i>Đã xem qua</a></td>'; } echo '</tr>'; } ?> </tbody> </table> </div> </div> </div> </div> <?php $this->load->view('module/footer');?> <!-- Load jQuery --> <script type="text/javascript" src="<?php echo base_url();?>asset/js/jquery.min.js"></script> <script type="text/javascript" src="<?php echo base_url();?>asset/js/bootstrap.min.js"></script> <script type="text/javascript" src="<?php echo base_url();?>asset/js/sweetalert.min.js"></script> <!-- loading --> <script type="text/javascript" src="<?php echo base_url();?>asset/js/loading.js"></script> </body> </html>
ohmygodvt95/PHP.SIG.Hanoibus
application/views/report/index.php
PHP
mit
11,841
using System; using System.Reflection; namespace nH.Web.Areas.HelpPage.ModelDescriptions { public interface IModelDocumentationProvider { string GetDocumentation(MemberInfo member); string GetDocumentation(Type type); } }
nHook/nH.Web
src/nH.Web/Areas/HelpPage/ModelDescriptions/IModelDocumentationProvider.cs
C#
mit
251
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE762_Mismatched_Memory_Management_Routines__delete_array_long_malloc_84_goodB2G.cpp Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete_array.label.xml Template File: sources-sinks-84_goodB2G.tmpl.cpp */ /* * @description * CWE: 762 Mismatched Memory Management Routines * BadSource: malloc Allocate data using malloc() * GoodSource: Allocate data using new [] * Sinks: * GoodSink: Deallocate data using free() * BadSink : Deallocate data using delete [] * Flow Variant: 84 Data flow: data passed to class constructor and destructor by declaring the class object on the heap and deleting it after use * * */ #ifndef OMITGOOD #include "std_testcase.h" #include "CWE762_Mismatched_Memory_Management_Routines__delete_array_long_malloc_84.h" namespace CWE762_Mismatched_Memory_Management_Routines__delete_array_long_malloc_84 { CWE762_Mismatched_Memory_Management_Routines__delete_array_long_malloc_84_goodB2G::CWE762_Mismatched_Memory_Management_Routines__delete_array_long_malloc_84_goodB2G(long * dataCopy) { data = dataCopy; /* POTENTIAL FLAW: Allocate memory with a function that requires free() to free the memory */ data = (long *)malloc(100*sizeof(long)); } CWE762_Mismatched_Memory_Management_Routines__delete_array_long_malloc_84_goodB2G::~CWE762_Mismatched_Memory_Management_Routines__delete_array_long_malloc_84_goodB2G() { /* FIX: Free memory using free() */ free(data); } } #endif /* OMITGOOD */
maurer/tiamat
samples/Juliet/testcases/CWE762_Mismatched_Memory_Management_Routines/s02/CWE762_Mismatched_Memory_Management_Routines__delete_array_long_malloc_84_goodB2G.cpp
C++
mit
1,554
/** * Todo: * - Allow hiding of trades (seperates upcoming and finished games) * - Allow auto-retry for when bots are down * - Allow auto-accept offers * - Create popup for browser action (next X games, my winnings) */ // CONSTANTS var GREEN = "#76EE00", ORANGE = "#FFA500", RED = "#FF0000", IMG_PATHS_19 = ["imgs/action/bad_19.png", "imgs/action/unstable_19.png", "imgs/action/good_19.png", "imgs/action/empty_19.png"], IMG_PATHS_38 = ["imgs/action/bad_38.png", "imgs/action/unstable_38.png", "imgs/action/good_38.png", "imgs/action/empty_38.png"]; // VARIABLES var lastError; chrome.runtime.onStartup.addListener(function(){ console.log("onStartup called"); set_icon(3); }) // INIT function init() { console.log("Starting extension"); chrome.alarms.clearAll(); // create alarm to call icon updater every minute get_status(status_loop); chrome.alarms.create("loopAlarm", {periodInMinutes: 1}); chrome.alarms.onAlarm.addListener(function(a){ var d = new Date(); console.log("Checking status ("+d.getHours()+":"+d.getMinutes()+":"+d.getSeconds()+")"); get_status(status_loop); }); } chrome.runtime.onInstalled.addListener(init); /** * Listens for message */ chrome.runtime.onMessage.addListener(function(request,sender,callback) { // if we're getting upcoming matches if (request.get === "games") { get_games(request.num, (function(callback){ return function(arr){ callback(arr); } })(callback)); } // if we're getting status if (request.get === "status") { if (!callback) callback = status_loop; chrome.storage.local.get("status", callback); } // if we're asked to highlight a tab if (request.post === "highlight") { chrome.tabs.highlight({tabs: [sender.tab.index]}, callback); } return true; }); /** * Get the next X games * Can return less than X games, if no more exist * @param {int} num - number of games to return * @param {function} callback - callback function * Calls callback with one parameter: * {array} - array of match objects, each formatted as follows: * {time: string, * link: string * team1: { * name: string, * percent: int, * imgUrl: string * }, * team2: { * name: string, * percent: int, * imgUrl: string * }} */ function get_games(num, callback) { // since we need logic in the callback, we gotta do it like this var func = (function(num,callback){return function(){ // this function is called by XMLHttpRequest // all logic is in here // if site failed to load, error if (this.status !== 200) { callback({error: this.statusText, errno: this.status}); return; } else { // note: to save a bit on DOM parsing, I extract a substring first // this might break in the future; possible TODO: create more reliable method // extract the relevant part of the markup var str = this.responseText, startInd = str.indexOf("<article class=\"standard\" id=\"bets"), endInd = str.indexOf("<div id=\"modalPreview", startInd), containerStr = this.responseText.substring(startInd,endInd); // parse var parser = new DOMParser(), doc = parser.parseFromString(containerStr, "text/html"), matches = doc.querySelectorAll(".matchmain"); // TODO: add error handling var output = []; // loop through all matches for (var i = 0, j = matches.length; i < j && output.length < num; i++) { var match = matches[i], finished = match.querySelector(".match").className.indexOf("notaviable") !== -1, timeStr = match.querySelector(".matchheader div:first-child").innerHTML.replace('"', '\"').trim(); // if match is over or live, skip it if (finished || timeStr.indexOf("LIVE") !== -1) continue; // extract data var matchLink = "http://csgolounge.com/"+match.querySelector(".matchleft > a").getAttribute("href"), team1Container = match.querySelector(".match a > div:first-child"), team1 = {name: team1Container.querySelector("b:first-child").textContent, percent: parseInt(team1Container.querySelector("i").textContent), imgUrl: /url\('(.*?)'\)/.exec(team1Container.querySelector(".team").getAttribute("style"))[1]}, team2Container = match.querySelector(".match a > div:nth-child(3)"), team2 = {name: team2Container.querySelector("b:first-child").textContent, percent: parseInt(team2Container.querySelector("i").textContent), imgUrl: /url\('(.*?)'\)/.exec(team2Container.querySelector(".team").getAttribute("style"))[1]}; // format object, and push to output output.push({time: timeStr, link: matchLink, team1: team1, team2: team2}); } // end callback(output); } }})(num, callback); get("http://csgolounge.com/", func); } /** * Repeatedly checks the status of the lounge bots * Only to be used as callback for get_status */ function status_loop(vals) { if (!vals) console.error("status_loop should only be used as callback for get_status"); var iconNum = vals.error ? 3 : // if error, change to grey (vals.status.indexOf(ORANGE) === -1 && vals.status.indexOf(RED) === -1) ? 2 : // if good, change to green (!vals.offline) ? 1 : // if bots are online, but service(s) are down 0; // if down, change to red if (vals.error) console.error("Failed to get status: [#"+vals.errno+"] "+vals.error); set_icon(iconNum); } /** * Get the current bot status on CSGOLounge * @param {function} callback - callback function * Calls callback with one parameter: * {array} - array of color values for top-most row in status table (see csgolounge.com/status) */ function get_status(callback) { // since we need logic in the callback, we gotta do it like this var func = (function(callback, timeout){return function(){ // this function is called by XMLHttpRequest // all logic is in here // clear timeout, so icon isn't changed to grey clearTimeout(timeout); // if site failed to load, error if (this.status !== 200) { callback({error: this.statusText, errno: this.status}); return; } else { // extract colors var response = this.responseText.replace(/\s/g,""), // remove whitespace offline = (response.indexOf("BOTSAREOFFLINE") !== -1), tableReg = /<tablealign="center"cellpadding="7"[0-9a-z=%"]+>.*?<\/table>/, table = tableReg.exec(response)[0], colorReg = /#[0-8A-F]+/g, colors = table.match(colorReg); // extract color codes from table // save to status, so we don't need to retrieve again on popup chrome.storage.local.set({status: colors}, function(){}); // call actual callback callback({offline: offline, status: colors}); } }})(callback, setTimeout(function(){set_icon(3)}, 5000)); // request status page, running the above function get("http://csgolounge.com/status", func); } /* =============================================================== * * Helper functions * =============================================================== */ /** * Sets the browserAction icon * @param {int} type - icon to change to: red (0), orange (1), green (2) or grey (3) */ function set_icon(type) { chrome.browserAction.setIcon({path: {19: IMG_PATHS_19[type], 38: IMG_PATHS_38[type]}}); } /** * Perform a GET request to a url * @param {string} url - The URL to request to * @param {function} callback - The function to call once the request is performed * @param {object} headers - a header object in the format {header: value} */ function get(url, callback, headers) { // create xmlhttprequest instance var xhr = new XMLHttpRequest(); // init xhr.addEventListener("load", callback); xhr.open("GET", url, true); // set headers for (var h in headers) { if (headers.hasOwnProperty(h)) xhr.setRequestHeader(h, headers[h]); } // send xhr.send(); } /** * Perform a POST request to a url * @param {string} url - The URL to request to * @param {object} data - the POST data * @param {function} callback - The function to call once the request is performed * @param {object} headers - a header object in the format {header: value} */ function post(url, data, callback, headers) { // create xmlhttprequest instance var xhr = new XMLHttpRequest(), formatted = []; if (typeof data === "object") { for (var k in data) { formatted.push(encodeURIComponent(k) + "=" + encodeURIComponent(data[k])); } formatted = formatted.join("&"); } else { formatted = data; } // init xhr.addEventListener("load", callback); xhr.open("POST", url, true); xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; charset=UTF-8"); // set headers for (var h in headers) { if (headers.hasOwnProperty(h)) xhr.setRequestHeader(h, headers[h]); } // send xhr.send(formatted); }
birjolaxew/Lounge-Enhancer
js/bg.js
JavaScript
mit
10,380
export type PhenomicDB = { destroy: () => Promise<*>, put: (sub: string | Array<string>, key: string, value: any) => Promise<*>, get: (sub: string | Array<string>, key: string) => Promise<*>, getPartial: (sub: string | Array<string>, key: string) => Promise<*>, getList: ( sub: string | Array<string>, config: LevelStreamConfig, filter?: string, filterValue: string ) => Promise<*> }; export type PhenomicInputPlugins = { plugins?: Array<(arg: PhenomicInputConfig) => PhenomicPlugin>, presets?: Array<(arg: PhenomicInputConfig) => PhenomicInputPlugins> }; export type PhenomicInputConfig = { path?: string, outdir?: string, port?: number, bundleName?: string, plugins?: Array<(arg: PhenomicInputConfig) => PhenomicPlugin>, presets?: Array<(arg: PhenomicInputConfig) => PhenomicInputPlugins> }; export type PhenomicContentFile = { name: string, fullpath: string // exists: boolean, // type: string }; type PhenomicTransformResult = { data: Object, partial: Object }; type PhenomicHtmlPropsType = { body: React$Element<*>, state?: React$Element<*>, script: React$Element<*> }; type PhenomicHtmlType = (props: PhenomicHtmlPropsType) => React$Element<*>; type PhenomicPluginRenderHTMLType = ( config: PhenomicConfig, props?: { body?: string, state?: Object }, html?: PhenomicHtmlType ) => string; export type PhenomicPlugin = { name: string, // transformer supportedFileTypes?: Array<string>, transform?: ({ config?: PhenomicConfig, file: PhenomicContentFile, contents: Buffer }) => Promise<PhenomicTransformResult> | PhenomicTransformResult, // api define?: (api: express$Application, db: PhenomicDB) => mixed, // collector collect?: (db: PhenomicDB, fileName: string, parsed: Object) => Array<mixed>, // bunder buildForPrerendering?: Function, // renderer getRoutes?: Function, renderServer?: Function, renderHTML?: PhenomicPluginRenderHTMLType, // common addDevServerMiddlewares?: ( config: PhenomicConfig ) => Array<express$Middleware | Promise<express$Middleware>> }; export type PhenomicPlugins = Array<PhenomicPlugin>; export type PhenomicPresets = Array<PhenomicPreset>; export type PhenomicExtensions = PhenomicPreset; export type PhenomicConfig = { path: string, outdir: string, port: number, bundleName: string, plugins: Array<PhenomicPlugin> }; export type PhenomicQueryConfig = { collection?: string, id?: string, after?: string, by?: string, value?: string, limit?: number }; export type PhenomicRoute = { path: string, params?: { [key: string]: any }, component: { getQueries?: (props: { params: { [key: string]: any } }) => { [key: string]: PhenomicQueryConfig } }, collection?: string | PhenomicQueryConfig }; // @todo why this inconsistency? export type PhenomicFetch = | IsomorphicFetch | ((config: PhenomicQueryConfig) => Promise<any>); export type phenomic$Query = string; export type phenomic$Queries = Array<phenomic$Query>;
pelhage/phenomic
flow/interfaces/phenomic.js
JavaScript
mit
3,029
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Trailing-Zeroes-In-NFactorial-Faster")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("Trailing-Zeroes-In-NFactorial-Faster")] [assembly: AssemblyCopyright("Copyright © 2016")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] // The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid("f6db17bc-7cd1-4599-aca7-1cdb87cca65e")] // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")]
petyakostova/Telerik-Academy
C#/C# 1/6. Loops-Homework/Trailing-Zeroes-In-NFactorial-Faster/Properties/AssemblyInfo.cs
C#
mit
1,448
'use strict'; const assert = require('assert'); const app = require('../../../src/app'); describe('authority service', function() { it('registered the authorities service', () => { assert.ok(app.service('authorities')); }); });
frank-trampe/turkeywing
test/services/authority/index.test.js
JavaScript
mit
238
using Microsoft.TeamFoundation.Controls; namespace Kemmis.MyWorkItemsOnPendingChangesPage.MyWorkItems { [TeamExplorerSection(SectionId, TeamExplorerPageIds.PendingChanges, 35)] internal class PendingChangesMyWorkItemsSection : MyWorkItemsSection { public const string SectionId = "4C82595C-9E77-467E-9F25-D886E694C361"; } }
kemmis/Kemmis.MyWorkItemsOnPendingChangesPage
Kemmis.MyWorkItemsOnPendingChangesPage/MyWorkItems/PendingChangesMyWorkItemsSection.cs
C#
mit
351
class AddSupplierId < ActiveRecord::Migration[5.0] def change add_column :products, :supplier_id, :integer end end
ceedubs84/mini-capstone
db/migrate/20161122013500_add_supplier_id.rb
Ruby
mit
123
expr ==== ![test image](https://raw.github.com/6502/expr/master/images/test.jpg) Tiny library for run-time evaluation of expressions for C++. The code is just one include file and one cpp file (about 500 lines in total, no dependencies besides standard C++ library) providing only one class `Expr`. Usage ----- You can instantiate an `Expr` object by parsing an expression from a `const char *`: Expr e = Expr::parse("1/(1 + x)", vars); or also Expr e("1/(1 + x)", vars); where `vars` is an `std::map<std::string, double>` instance containing variables. Referencing undefined variables is a parse time error. To evaluate the expression with current variable values just call `e.eval()`. Warning ------- For efficiency reasons the variables are stored in parsed expressions as `double *`. This is fine for `std::map<std::string, double>` because the address of an item inside a map is guaranteed to never change when other items are added or if item value is changed. The map variable used in the expression however must not be removed when an `Expr` instance depending on them is stil alive because calling `eval` in that case would be undefined behavior. `Expr` can be copied but note that the copy refers to the same variables in memory. An `Expr` instance can be initialized with a single `double` value and in that case is a constant expression returning that value. Default constructor returns a constant expr evaluating to 0.0 and an `Expr` instance can also be implicitly converted to a double (it calls `eval`). Partial parsing --------------- It's also possible to parse an expression without giving an error if extra characters are present. This is done using `Expr::parsePartial` that requires a `const char *&` instead of a `const char *`. The character pointer will be on the first character not used for parsing the expression and not being on the terminating `NUL` is not considered an error. Functions --------- Using `Expr::addFunction(name, f)` it's possible to add external functions of 0, 1 or 2 parameters. Predefined functions from `<math.h>` are: **floor**, **fabs**, **sqrt**, **sin**, **cos**, **tan**, **atan**, **atan2**, **pow** and there is also **random** taking no parameters and returning a number between 0 and 1 implemented as `double(rand()) / RAND_MAX`. Syntax ------ C syntax is used; implemented operators (in order of precedence) are: - (unary) (sign change) * / (multiplication/division) + - (addition/subtraction) << >> (left and right shift) & (bitwise and) | ^ (bitwise or / xor) < <= > >= == != (comparison, result is 0 or 1) && (logical and) || (logical or) **NOTE**: precedence is not the same as in C because C precendence for bitwise operations is just wrong. variables and function names are parsed with `[a-zA-Z_][a-zA-Z0-9_]*`. Comments can be included: characters from `;` to the end of a line are ignored during parsing. Errors ------ Parsing errors throw an instance of `Expr::Error` (that derives from `std::runtime_error`). Speed ----- `Expr` compiles the expression into bytecode for a register based virtual machine. In the expression used in test_expr image generation: ((128 + sin(((x-320)*(x-320) + (y-240)*(y-240))*k)*127) ^ (255 * ((floor(x/128)+floor(y/96)) & 1))) + random()*32-16 the evaluation is about 3 times slower than optimized C++ equivalent for the same. Currently there are no optimizations of any kind implemented.
6502/expr
README.md
Markdown
mit
3,594
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE78_OS_Command_Injection__char_listen_socket_execlp_66b.c Label Definition File: CWE78_OS_Command_Injection.strings.label.xml Template File: sources-sink-66b.tmpl.c */ /* * @description * CWE: 78 OS Command Injection * BadSource: listen_socket Read data using a listen socket (server side) * GoodSource: Fixed string * Sinks: execlp * BadSink : execute command with execlp * Flow Variant: 66 Data flow: data passed in an array from one function to another in different source files * * */ #include "std_testcase.h" #include <wchar.h> #ifdef _WIN32 #define COMMAND_INT_PATH "%WINDIR%\\system32\\cmd.exe" #define COMMAND_INT "cmd.exe" #define COMMAND_ARG1 "/c" #define COMMAND_ARG2 "dir" #define COMMAND_ARG3 data #else /* NOT _WIN32 */ #include <unistd.h> #define COMMAND_INT_PATH "/bin/sh" #define COMMAND_INT "sh" #define COMMAND_ARG1 "ls" #define COMMAND_ARG2 "-la" #define COMMAND_ARG3 data #endif #ifdef _WIN32 #include <winsock2.h> #include <windows.h> #include <direct.h> #pragma comment(lib, "ws2_32") /* include ws2_32.lib when linking */ #define CLOSE_SOCKET closesocket #else #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #define INVALID_SOCKET -1 #define SOCKET_ERROR -1 #define CLOSE_SOCKET close #define SOCKET int #endif #define TCP_PORT 27015 #define LISTEN_BACKLOG 5 #ifdef _WIN32 #include <process.h> #define EXECLP _execlp #else /* NOT _WIN32 */ #define EXECLP execlp #endif #ifndef OMITBAD void CWE78_OS_Command_Injection__char_listen_socket_execlp_66b_badSink(char * dataArray[]) { /* copy data out of dataArray */ char * data = dataArray[2]; /* execlp - searches for the location of the command among * the directories specified by the PATH environment variable */ /* POTENTIAL FLAW: Execute command without validating input possibly leading to command injection */ EXECLP(COMMAND_INT, COMMAND_INT, COMMAND_ARG1, COMMAND_ARG2, COMMAND_ARG3, NULL); } #endif /* OMITBAD */ #ifndef OMITGOOD /* goodG2B uses the GoodSource with the BadSink */ void CWE78_OS_Command_Injection__char_listen_socket_execlp_66b_goodG2BSink(char * dataArray[]) { char * data = dataArray[2]; /* execlp - searches for the location of the command among * the directories specified by the PATH environment variable */ /* POTENTIAL FLAW: Execute command without validating input possibly leading to command injection */ EXECLP(COMMAND_INT, COMMAND_INT, COMMAND_ARG1, COMMAND_ARG2, COMMAND_ARG3, NULL); } #endif /* OMITGOOD */
maurer/tiamat
samples/Juliet/testcases/CWE78_OS_Command_Injection/s04/CWE78_OS_Command_Injection__char_listen_socket_execlp_66b.c
C
mit
2,670
BlueSkies ========= It can be tricky to start getting accuracy landings right. While inexperienced, we tend to make same mistakes over and over again, especially on an unfamiliar dropzone or in high winds: final legs are often too long or too short, we fly with the wind for too long, making it impossible to get where we intended to land. One of the reasons for that is the lack of intuition of how canopies behave in strong winds. If you're in low jump numbers, you haven't really had a chance to develop the intuition yet. That's why we've decided to create a simple tool to emulate the behaviour of a ram-air canopy, hoping that playing with the tool will help with that to some extent. Of course, the tool isn't meant to replace proper instruction or real experience, but we hope that it can make the learning process more efficient. Here is what this tool can be used for: * Practicing different landing patterns in strong winds. * Getting an idea of where can you make it back from under your main or reserve. * Entering the current wind conditions before the jump and getting a rough idea of what to expect under canopy. The simulation is quite simple and aimed to reflect the experience of skydivers with low jump numbers. The canopy is assumed to be loaded quite moderately: it has 10 m/s (22.4 mph) horizontal and 5 m/s (11.2 mph) vertical speed with no breaks applied, zero horizontal and 10 m/s (22.4 mph) vertical speed with breaks fully depressed, 7.5 m/s (16.8 mph) horizontal and 3.0 m/s (6.7 mph) vertical speed in quarter breaks. We took this numbers from a Russian book on skydiving, and, hopefully, they somewhat resemble the real experience. At least, the fact that you can go further by applying some breaks when you are upwind seems to be simulated correctly. All turns are assumed to be flat, that is, slow and with no altitude loss. The landing pattern is computed assuming an approach with slightly depressed breaks. The altitudes of the turning points are 300m (985ft), 200m (656ft) and 100m (328ft). It's also possible to highlight all locations reachable by the canopy from its current position, and all locations from where you can still reach the target. It can be useful for analysing landing patterns: if the target is close to the bounds of the red area during your approach, the pattern doesn't leave a loot of room for errors, which is something you don't want. If you have any suggestions on improving the tool, want us to add a new dropzone or to buy us a beer, feel free to drop an email to boris.jangel [at] gmail [dot] com. Also, the source code is available on github, and we are more than willing to accept pull requests. Blue skies!
hr0nix/BlueSkies
README.md
Markdown
mit
2,713