This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.shortcuts import render | |
from django.views.generic import View | |
from .models import Event | |
class EventsList(View): | |
model = Event | |
title = 'Events' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.db import models | |
class Event(models.Model): | |
subject = models.CharField(max_length=256) | |
what = models.CharField(max_length=512) | |
where = models.CharField(max_length=256) | |
extra = models.CharField(max_length=1024) | |
def __str__(self): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
{% block js %} | |
$(document).ready(function (e) { | |
var subjects = {{ subjects|safe }}; | |
var whats = {{ whats|safe }}; | |
var wheres = {{ wheres|safe }}; | |
var extras = {{ extras|safe }}; | |
function generateEvents() { | |
var events_html = ''; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.clearfix {zoom: 1} | |
.clearfix:after { | |
content: "."; | |
clear: both; | |
display: block; | |
height: 0; | |
visibility: hidden; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<Defs> | |
<ResearchProjectDef> | |
<defName>HP_AdvancedPower</defName> | |
<label>advanced power</label> | |
<description>Allows you to build advanced power buildings.</description> | |
<baseCost>2500</baseCost> | |
<techLevel>Industrial</techLevel> | |
<prerequisites> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--=========================== Non-Food ==============================--> | |
<ThingDef Name="RC2_CoffeeBase" ParentName="RC2_PlantBase" Abstract="true"> | |
<label>coffee bush</label> | |
<description>Coffee! This bean is used the worlds over for its caffeine content and delicious taste (when roasted and brewed). Can only be grown in arid regions.</description> | |
<statBases> | |
<MaxHitPoints>80</MaxHitPoints> | |
<Nutrition>0.15</Nutrition> | |
</statBases> | |
<graphicData> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ThingDef ParentName="BuildingBase"> | |
<defName>SRTSMkIII</defName> | |
<label>SRTS Mk.III: Phoenix</label> | |
<description>The Phoenix offers similar fuel efficiency to the Albatross, but with an increased fuel reserve and carry capacity. Additionally, the Mk.II is harder to kill and uses less materials in its construction at the cost of some advanced chemistry.</description> | |
<graphicData> | |
<texPath>SRTSDropShip</texPath> | |
<graphicClass>Graphic_Multi</graphicClass> | |
<drawSize>(9,9)</drawSize> | |
<shadowData> | |
<volume>(0.1, 0.1, 0.1)</volume> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<Patch> | |
<Operation Class="PatchOperationReplace"> | |
<xpath>Defs/ThingDef[defName="SRTSMkII"]/costList</xpath> | |
<value> | |
<costList> | |
<Plasteel>1000</Plasteel> | |
<Steel>5000</Steel> | |
<ComponentIndustrial>75</ComponentIndustrial> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<Defs> | |
<ThingDef Name="SRTSCompBase" Abstract="True"> | |
<thingClass>ThingWithComps</thingClass> | |
<category>Item</category> | |
<resourceReadoutPriority>Middle</resourceReadoutPriority> | |
<useHitPoints>true</useHitPoints> | |
<selectable>true</selectable> | |
<altitudeLayer>Item</altitudeLayer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Log uploaded on Sunday, December 01, 2019, 1:28:10 AM | |
Loaded mods: | |
ModCheck: 0Harmony(1.2.0.1), ModCheck(1.8.1.0) | |
Core: (no assemblies) | |
RimThemes: 0Harmony(1.2.0.1), LibAPNG(0.2.6979.15011), RimThemes(2019.3.4.1) | |
SRTS Expanded: 0Harmony(1.2.0.1), SRTS(1.0.0.0) | |
Startup impact: 0Harmony(1.2.0.1), StartupImpact(1.1.7027.12912) | |
RIMMSAssemble: RIMMSAssemble(1.0.7115.1013) | |
HugsLib[ov:6.1.3]: 0Harmony(1.2.0.1), HugsLib(av:1.0.0.0,fv:6.1.3) | |
JecsTools: 0Harmony(1.0.9.1), 0JecsTools(1.0.8.0), AbilityUser(1.18.0.0), AbilityUserAI(1.18.0.0), CompActivatableEffect(1.18.0.0), CompAnimated(1.18.0.0), CompBalloon(1.18.0.0), CompBigBox(1.18.0.0), CompDeflector(1.18.0.0), CompDelayedSpawner(1.18.0.0), CompExtraSounds(1.18.0.0), CompInstalledPart(1.18.0.0), CompLumbering(1.18.0.0), CompOverlays(1.18.0.0), CompOversizedWeapon(1.18.0.0), CompSlotLoadable(1.18.0.0), CompToggleDef(1.18.0.0), CompVehicle(1.17.0.1), PawnShields(1.0.0.0), ThinkNodes(1.0.0.0) |
OlderNewer