Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Update gcc dependency to 0.3.17. | [package]
name = "mpi"
version = "0.1.9"
authors = ["Benedikt Steinbusch <benedikt.steinbusch@googlemail.com>"]
description = "Message Passing Interface bindings for Rust"
homepage = "https://github.com/bsteinb/rsmpi"
repository = "https://github.com/bsteinb/rsmpi"
documentation = "http://bsteinb.github.io/rsmpi/"
readme = "README.md"
keywords = [ "message-passing", "parallel" ]
license = "MIT"
build = "build.rs"
[dependencies]
libc = "0.1.10"
[build-dependencies]
gcc = "0.3.16"
bindgen = "0.15.0"
#[dependencies.c_import]
#git = "https://github.com/vojtechkral/rust-c-import.git"
| [package]
name = "mpi"
version = "0.1.9"
authors = ["Benedikt Steinbusch <benedikt.steinbusch@googlemail.com>"]
description = "Message Passing Interface bindings for Rust"
homepage = "https://github.com/bsteinb/rsmpi"
repository = "https://github.com/bsteinb/rsmpi"
documentation = "http://bsteinb.github.io/rsmpi/"
readme = "README.md"
keywords = [ "message-passing", "parallel" ]
license = "MIT"
build = "build.rs"
[dependencies]
libc = "0.1.10"
[build-dependencies]
gcc = "0.3.17"
bindgen = "0.15.0"
#[dependencies.c_import]
#git = "https://github.com/vojtechkral/rust-c-import.git"
|
Change docs location, bump version | [package]
name = "blc"
version = "0.1.1"
authors = ["ljedrz <ljedrz@gmail.com>"]
description = "An implementation of the binary lambda calculus"
repository = "https://github.com/ljedrz/blc"
documentation = "https://ljedrz.github.io/blc/doc/blc/index.html"
readme = "README.md"
license = "CC0-1.0"
keywords = ["lambda", "calculus", "church", "functional", "binary"]
categories = ["encoding"]
exclude = [".cargo/*"]
[dependencies]
lambda_calculus = "0.1.4" | [package]
name = "blc"
version = "0.1.2"
authors = ["ljedrz <ljedrz@gmail.com>"]
description = "An implementation of the binary lambda calculus"
repository = "https://github.com/ljedrz/blc"
documentation = "https://docs.rs/blc"
readme = "README.md"
license = "CC0-1.0"
keywords = ["lambda", "calculus", "church", "functional", "binary"]
categories = ["encoding"]
exclude = [".cargo/*"]
[dependencies]
lambda_calculus = "0.1.4" |
Increase minor version to `0.1.1` | [package]
name = "rsoundio"
version = "0.1.0"
authors = ["Andreas Linz <klingt.net@gmail.com>"]
description = "libsoundio bindings for Rust"
keywords = ["audio", "stream", "recording"]
documentation = "https://docs.klingt.net/rustdoc/rsoundio"
repository = "https://git.klingt.net/alinz/rsoundio"
license = "GPL-3.0"
readme = "README.md"
links = "soundio"
build = "build.rs"
[dependencies]
[build-dependencies]
pkg-config = "0.3.7"
[dev-dependencies]
rci = "0.1.*"
| [package]
name = "rsoundio"
version = "0.1.1"
authors = ["Andreas Linz <klingt.net@gmail.com>"]
description = "libsoundio bindings for Rust"
keywords = ["audio", "stream", "recording"]
documentation = "https://docs.klingt.net/rustdoc/rsoundio"
repository = "https://git.klingt.net/alinz/rsoundio"
license = "GPL-3.0"
readme = "README.md"
links = "soundio"
build = "build.rs"
[dependencies]
[build-dependencies]
pkg-config = "0.3.7"
[dev-dependencies]
rci = "0.1.*"
|
Update validator_derive requirement from 0.14 to 0.15 | [package]
name = "rust-web-boilerplate"
version = "0.1.0"
authors = ["Sven-Hendrik Haase <svenstaro@gmail.com>"]
edition = "2018"
[lib]
name = "rust_web_boilerplate"
path = "src/lib.rs"
[dependencies]
uuid = { version = "0.8", features = ["serde", "v4"] }
chrono = { version = "0.4", features = ["serde"] }
argon2rs = "0.2"
rocket = "0.4"
diesel = { version = "1.4", features = ["postgres", "uuidv07", "chrono", "serde_json"] }
dotenv = "0.15"
serde = "1"
serde_json = "1"
serde_derive = "1"
validator = "0.15"
validator_derive = "0.14"
ring = "0.13"
rand = "0.7"
[dev-dependencies]
quickcheck = "0.9"
speculate = "0.1"
parking_lot = { version = "0.12", features = ["nightly"] }
[dependencies.rocket_contrib]
version = "0.4"
default-features = false
features = ["json", "diesel_postgres_pool"]
[features]
default = []
| [package]
name = "rust-web-boilerplate"
version = "0.1.0"
authors = ["Sven-Hendrik Haase <svenstaro@gmail.com>"]
edition = "2018"
[lib]
name = "rust_web_boilerplate"
path = "src/lib.rs"
[dependencies]
uuid = { version = "0.8", features = ["serde", "v4"] }
chrono = { version = "0.4", features = ["serde"] }
argon2rs = "0.2"
rocket = "0.4"
diesel = { version = "1.4", features = ["postgres", "uuidv07", "chrono", "serde_json"] }
dotenv = "0.15"
serde = "1"
serde_json = "1"
serde_derive = "1"
validator = "0.15"
validator_derive = "0.15"
ring = "0.13"
rand = "0.7"
[dev-dependencies]
quickcheck = "0.9"
speculate = "0.1"
parking_lot = { version = "0.12", features = ["nightly"] }
[dependencies.rocket_contrib]
version = "0.4"
default-features = false
features = ["json", "diesel_postgres_pool"]
[features]
default = []
|
Set min version to v0.20 | name = "Minimalist"
license = "Apache License 2.0"
licenselink = "https://github.com/digitalcraftsman/hugo-minimalist-theme/blob/master/LICENSE.md"
description = "A minimalistic theme with the focus on blogging."
homepage = "https://github.com/digitalcraftsman"
tags = ["disqus", "google analytics", "responsive", "syntax highlighting", "l10n"]
features = ["", ""]
min_version = 0.14
[author]
name = "Digitalcraftsman"
homepage = "https://github.com/digitalcraftsman"
# If porting an existing theme
[original]
name = "Raphael Riegger"
homepage = "http://rriegger.com/"
repo = "https://github.com/rriegger/MinimalisticBlogTheme"
| name = "Minimalist"
license = "Apache License 2.0"
licenselink = "https://github.com/digitalcraftsman/hugo-minimalist-theme/blob/master/LICENSE.md"
description = "A minimalistic theme with the focus on blogging."
homepage = "https://github.com/digitalcraftsman"
tags = ["disqus", "google analytics", "responsive", "syntax highlighting", "l10n"]
features = []
min_version = 0.20
[author]
name = "Digitalcraftsman"
homepage = "https://github.com/digitalcraftsman"
# If porting an existing theme
[original]
name = "Raphael Riegger"
homepage = "http://rriegger.com/"
repo = "https://github.com/rriegger/MinimalisticBlogTheme"
|
Use the unstable feature of string_cache and selectors in geckolib | [package]
name = "geckoservo"
version = "0.0.1"
authors = ["The Servo Project Developers"]
[lib]
name = "geckoservo"
path = "lib.rs"
crate-type = ["staticlib"]
[dependencies]
app_units = {version = "0.2.1", features = ["plugins"]}
bitflags = "0.3"
cssparser = {version = "0.5.3", features = ["heap_size", "serde-serialization"]}
euclid = {version = "0.6.2", features = ["plugins"]}
heapsize = "0.3.0"
heapsize_plugin = "0.1.2"
lazy_static = "0.1"
libc = "0.2"
log = "0.3"
num_cpus = "0.2.2"
selectors = {version = "0.5", features = ["heap_size"]}
smallvec = "0.1"
string_cache = {version = "0.2.10", features = ["heap_size"]}
url = {version = "0.5.5", features = ["heap_size"]}
[dependencies.plugins]
path = "../../components/plugins"
[dependencies.util]
path = "../../components/util"
[dependencies.style]
path = "../../components/style"
| [package]
name = "geckoservo"
version = "0.0.1"
authors = ["The Servo Project Developers"]
[lib]
name = "geckoservo"
path = "lib.rs"
crate-type = ["staticlib"]
[dependencies]
app_units = {version = "0.2.1", features = ["plugins"]}
bitflags = "0.3"
cssparser = {version = "0.5.3", features = ["heap_size", "serde-serialization"]}
euclid = {version = "0.6.2", features = ["plugins"]}
heapsize = "0.3.0"
heapsize_plugin = "0.1.2"
lazy_static = "0.1"
libc = "0.2"
log = "0.3"
num_cpus = "0.2.2"
selectors = {version = "0.5", features = ["heap_size", "unstable"]}
smallvec = "0.1"
string_cache = {version = "0.2.10", features = ["heap_size", "unstable"]}
url = {version = "0.5.5", features = ["heap_size"]}
[dependencies.plugins]
path = "../../components/plugins"
[dependencies.util]
path = "../../components/util"
[dependencies.style]
path = "../../components/style"
|
Add an execute (`lalrpop-exe`) that one can use to run LALRPOP manually. | [package]
name = "lalrpop-exe"
version = "0.10.0" # LALRPOP
authors = ["Niko Matsakis <niko@alum.mit.edu>"]
license = "Apache-2.0/MIT"
[dependencies.lalrpop-util]
path = "../lalrpop-util"
[dependencies.lalrpop]
path = "../lalrpop"
[dependencies]
docopt = "0.6"
rustc-serialize = "0.3" | [package]
name = "lalrpop-exe"
version = "0.10.0" # LALRPOP
authors = ["Niko Matsakis <niko@alum.mit.edu>"]
license = "Apache-2.0/MIT"
[dependencies.lalrpop-util]
path = "../lalrpop-util"
[dependencies.lalrpop]
path = "../lalrpop"
[dependencies]
docopt = "0.6"
rustc-serialize = "0.3"
|
Update to `syn` 1 in `stdweb-internal-test-macro` | [package]
name = "stdweb-internal-test-macro"
version = "0.1.0"
authors = ["Jan Bujak <j@exia.io>"]
repository = "https://github.com/koute/stdweb"
homepage = "https://github.com/koute/stdweb"
documentation = "https://docs.rs/stdweb/*/stdweb/"
license = "MIT/Apache-2.0"
description = "Internal crate of the `stdweb` crate"
[lib]
proc-macro = true
[dependencies]
quote = "0.6"
proc-macro2 = "0.4"
| [package]
name = "stdweb-internal-test-macro"
version = "0.1.0"
authors = ["Jan Bujak <j@exia.io>"]
repository = "https://github.com/koute/stdweb"
homepage = "https://github.com/koute/stdweb"
documentation = "https://docs.rs/stdweb/*/stdweb/"
license = "MIT/Apache-2.0"
description = "Internal crate of the `stdweb` crate"
[lib]
proc-macro = true
[dependencies]
quote = "1"
proc-macro2 = "1"
|
Bump ipnetwork version to 0.14.0 | [package]
name = "pnet_datalink"
version = "0.21.0"
authors = ["Robert Clipsham <robert@octarineparrot.com>", "Linus Färnstrand <faern@faern.net>"]
license = "MIT/Apache-2.0"
homepage = "https://github.com/libpnet/libpnet"
repository = "https://github.com/libpnet/libpnet"
description = "Cross-platform, datalink layer networking."
keywords = ["networking", "datalink", "ethernet", "raw"]
categories = ["network-programming"]
[features]
netmap = []
[dependencies]
libc = "0.2.42"
ipnetwork = "0.13"
pnet_base = { path = "../pnet_base", version = "0.21.0" }
pnet_sys = { path = "../pnet_sys", version = "0.21.0" }
pcap = { version = "0.7", optional = true }
netmap_sys = { version = ">=0.0", optional = true, features = ["netmap_with_libs"] }
[target.'cfg(windows)'.dependencies]
winapi = "0.2"
| [package]
name = "pnet_datalink"
version = "0.21.0"
authors = ["Robert Clipsham <robert@octarineparrot.com>", "Linus Färnstrand <faern@faern.net>"]
license = "MIT/Apache-2.0"
homepage = "https://github.com/libpnet/libpnet"
repository = "https://github.com/libpnet/libpnet"
description = "Cross-platform, datalink layer networking."
keywords = ["networking", "datalink", "ethernet", "raw"]
categories = ["network-programming"]
[features]
netmap = []
[dependencies]
libc = "0.2.42"
ipnetwork = "0.14.0"
pnet_base = { path = "../pnet_base", version = "0.21.0" }
pnet_sys = { path = "../pnet_sys", version = "0.21.0" }
pcap = { version = "0.7", optional = true }
netmap_sys = { version = ">=0.0", optional = true, features = ["netmap_with_libs"] }
[target.'cfg(windows)'.dependencies]
winapi = "0.2"
|
Update insta requirement from 0.15 to 0.16 | [package]
name = "codespan-reporting"
version = "0.9.2"
readme = "../README.md"
license = "Apache-2.0"
authors = ["Brendan Zabarauskas <bjzaba@yahoo.com.au>"]
description = "Beautiful diagnostic reporting for text-based programming languages"
homepage = "https://github.com/brendanzab/codespan"
repository = "https://github.com/brendanzab/codespan"
documentation = "https://docs.rs/codespan-reporting"
exclude = ["assets/**"]
edition = "2018"
[dependencies]
serde = { version = "1", optional = true, features = ["derive"] }
termcolor = "1"
unicode-width = "0.1"
[dev-dependencies]
anyhow = "1"
insta = "0.15"
lazy_static = "1.4"
peg = "0.6"
rustyline = "6"
structopt = "0.3"
unindent = "0.1"
[features]
serialization = ["serde", "serde/rc"]
| [package]
name = "codespan-reporting"
version = "0.9.2"
readme = "../README.md"
license = "Apache-2.0"
authors = ["Brendan Zabarauskas <bjzaba@yahoo.com.au>"]
description = "Beautiful diagnostic reporting for text-based programming languages"
homepage = "https://github.com/brendanzab/codespan"
repository = "https://github.com/brendanzab/codespan"
documentation = "https://docs.rs/codespan-reporting"
exclude = ["assets/**"]
edition = "2018"
[dependencies]
serde = { version = "1", optional = true, features = ["derive"] }
termcolor = "1"
unicode-width = "0.1"
[dev-dependencies]
anyhow = "1"
insta = "0.16"
lazy_static = "1.4"
peg = "0.6"
rustyline = "6"
structopt = "0.3"
unindent = "0.1"
[features]
serialization = ["serde", "serde/rc"]
|
Set max logging level to INFO in the release build | [package]
authors = ["Mika Attila <radiantstatue@gmail.com>"]
name = "rgmk"
version = "0.1.0"
[dependencies]
byteorder = "0.3.13"
log = "0.3.2"
quick-error = "0.1.4"
env_logger = "0.3.1"
| [package]
authors = ["Mika Attila <radiantstatue@gmail.com>"]
name = "rgmk"
version = "0.1.0"
[dependencies]
byteorder = "0.3.13"
log = { version = "0.3.3", features = ["release_max_level_info"] }
quick-error = "0.1.4"
env_logger = "0.3.1"
|
Fix "human panic" for Rust 1.25 | [package]
name = "libnewsboat"
version = "2.14.0"
authors = ["Alexander Batischev <eual.jp@gmail.com>"]
[dependencies]
chrono = "0.4"
rand = "0.5"
once_cell = "0.1.6"
regex = "1.0"
url = "1.7"
dirs = "1.0.4"
backtrace = "0.3"
[dev-dependencies]
tempfile = "3"
| [package]
name = "libnewsboat"
version = "2.14.0"
authors = ["Alexander Batischev <eual.jp@gmail.com>"]
[dependencies]
chrono = "0.4"
rand = "0.5"
once_cell = "0.1.6"
regex = "1.0"
url = "1.7"
dirs = "1.0.4"
# At least 0.3.13 doesn't work with 1.25:
# https://travis-ci.org/newsboat/newsboat/jobs/468075104#L1032
# https://travis-ci.org/newsboat/newsboat/jobs/468075114#L2803
# I simply rolled back to 0.3.9, which did work.
backtrace = "= 0.3.9"
[dev-dependencies]
tempfile = "3"
|
Update phf requirement from 0.9 to 0.10 | [package]
authors = ["Nick Babcock <nbabcock19@hotmail.com>"]
license = "MIT"
name = "boxcars"
readme = "README.md"
edition = "2018"
repository = "https://github.com/nickbabcock/boxcars"
description = "Rocket league replay parser"
keywords = ["rocket-league"]
categories = ["parsing"]
version = "0.9.1-pre"
include = ["src/**/*.rs", "Cargo.toml", "build.rs"]
[dependencies]
serde = { version = "1", features = ["derive"] }
encoding_rs = "0.8"
phf = { version = "0.9", features = ["macros"] }
fnv = "1.0"
bitter = "0.5"
[dev-dependencies]
serde_json = "1"
criterion = "0.3"
[profile.bench]
lto = true
codegen-units = 1
[[bench]]
path = "benches/bench_boxcars.rs"
name = "bench_boxcars"
harness = false
| [package]
authors = ["Nick Babcock <nbabcock19@hotmail.com>"]
license = "MIT"
name = "boxcars"
readme = "README.md"
edition = "2018"
repository = "https://github.com/nickbabcock/boxcars"
description = "Rocket league replay parser"
keywords = ["rocket-league"]
categories = ["parsing"]
version = "0.9.1-pre"
include = ["src/**/*.rs", "Cargo.toml", "build.rs"]
[dependencies]
serde = { version = "1", features = ["derive"] }
encoding_rs = "0.8"
phf = { version = "0.10", features = ["macros"] }
fnv = "1.0"
bitter = "0.5"
[dev-dependencies]
serde_json = "1"
criterion = "0.3"
[profile.bench]
lto = true
codegen-units = 1
[[bench]]
path = "benches/bench_boxcars.rs"
name = "bench_boxcars"
harness = false
|
Update error-chain and binary name | [package]
authors = ["The Rust Project Developers"]
name = "installer"
version = "0.0.0"
[[bin]]
doc = false
name = "rust-installer"
path = "src/main.rs"
[dependencies]
error-chain = "0.10.0"
flate2 = "0.2.19"
tar = "0.4.13"
walkdir = "1.0.7"
xz2 = "0.1.3"
[dependencies.clap]
features = ["yaml"]
version = "2.19.0"
[target."cfg(windows)".dependencies]
lazy_static = "0.2.8"
kernel32-sys = "0.2.2"
winapi = "0.2.8"
| [package]
authors = ["The Rust Project Developers"]
name = "installer"
version = "0.0.0"
[[bin]]
doc = false
name = "fabricate"
path = "src/main.rs"
[dependencies]
error-chain = "0.11.0"
flate2 = "0.2.19"
tar = "0.4.13"
walkdir = "1.0.7"
xz2 = "0.1.3"
[dependencies.clap]
features = ["yaml"]
version = "2.19.0"
[target."cfg(windows)".dependencies]
lazy_static = "0.2.8"
kernel32-sys = "0.2.2"
winapi = "0.2.8"
|
Update nalgebra requirement from 0.17 to 0.18 | [package]
name = "bvh"
description = "A fast BVH using SAH"
version = "0.3.1"
edition = "2018"
authors = [
"Sven-Hendrik Haase <svenstaro@gmail.com>",
"Alexander Dmitriev <alexander.dmitriev2580@gmail.com>"
]
readme = "README.md"
repository = "https://github.com/svenstaro/bvh"
documentation = "https://docs.rs/crate/bvh"
keywords = ["bvh", "bounding", "volume", "sah", "aabb"]
license = "MIT"
[dependencies]
approx = "0.3"
nalgebra = "0.17"
rand = "0.6"
log = "0.4"
num = "0.2"
[dev-dependencies]
quickcheck = "0.8"
obj-rs = "0.5"
[features]
bench = []
[profile.release]
lto = true
[profile.bench]
lto = true
| [package]
name = "bvh"
description = "A fast BVH using SAH"
version = "0.3.1"
edition = "2018"
authors = [
"Sven-Hendrik Haase <svenstaro@gmail.com>",
"Alexander Dmitriev <alexander.dmitriev2580@gmail.com>"
]
readme = "README.md"
repository = "https://github.com/svenstaro/bvh"
documentation = "https://docs.rs/crate/bvh"
keywords = ["bvh", "bounding", "volume", "sah", "aabb"]
license = "MIT"
[dependencies]
approx = "0.3"
nalgebra = "0.18"
rand = "0.6"
log = "0.4"
num = "0.2"
[dev-dependencies]
quickcheck = "0.8"
obj-rs = "0.5"
[features]
bench = []
[profile.release]
lto = true
[profile.bench]
lto = true
|
Remove dependency wildcard to publish crate | [package]
name = "rust_ofp"
version = "0.1.0"
authors = ["Sam Baxter <sbaxter@cs.umass.edu>"]
description = "Simple Rust OpenFlow 0x01 controller"
documentation = "https://baxtersa.github.io/rust_ofp/docs"
repository = "https://github.com/baxtersa/rust_ofp"
readme = "README.md"
keywords = ["SDN", "Networking", "OpenFlow"]
license = "MIT"
exclude = [
"scripts/*",
".travis.yml",
".gitignore",
]
[lib]
name = "rust_ofp"
path = "src/lib.rs"
[[bin]]
name = "rust_ofp_controller"
path = "src/main.rs"
[dependencies]
byteorder = "*"
| [package]
name = "rust_ofp"
version = "0.1.0"
authors = ["Sam Baxter <sbaxter@cs.umass.edu>"]
description = "Simple Rust OpenFlow 0x01 controller"
documentation = "https://baxtersa.github.io/rust_ofp/docs"
repository = "https://github.com/baxtersa/rust_ofp"
readme = "README.md"
keywords = ["SDN", "Networking", "OpenFlow"]
license = "MIT"
exclude = [
"scripts/*",
".travis.yml",
".gitignore",
]
[lib]
name = "rust_ofp"
path = "src/lib.rs"
[[bin]]
name = "rust_ofp_controller"
path = "src/main.rs"
[dependencies]
byteorder = "1.0.0"
|
Add some metadata for ranges | [package]
name = "ion-ranges"
version = "0.1.0"
authors = ["Michael Murphy <mmstickman@gmail.com>"]
edition = "2018"
[dependencies]
| [package]
name = "ion-ranges"
version = "0.1.0"
authors = ["Michael Murphy <mmstickman@gmail.com>"]
edition = "2018"
description = "extra traits to parse the stdlib's range"
license = "MIT"
repository = "https://gitlab.redox-os.org/redox-os/ion"
[dependencies]
|
Switch back to librato l2met | # General configuration
[hekad]
maxprocs = 4
# Dashboard
[dashboard]
type = "DashboardOutput"
address = ":4352"
ticker_interval = 15
# Docker input plugin, takes all logs from docker socket as input
[docker]
type = "DockerLogInput"
[docker_syslog_encoder]
type = "SandboxEncoder"
filename = "lua_encoders/docker_syslog.lua"
preserve_data = true
# Sumologic output
[sumologic]
message_matcher = "TRUE"
type = "HttpOutput"
address = "%ENV[SUMOLOGIC_URL]"
encoder = "docker_syslog_encoder"
[cbuf_librato_encoder]
type = "SandboxEncoder"
filename = "lua_encoders/cbuf_librato.lua"
preserve_data = true
[librato]
type = "HttpOutput"
message_matcher = "Type == 'heka.sandbox-output' && Fields[payload_type] == 'cbuf'"
encoder = "cbuf_librato_encoder"
address = "https://metrics-api.librato.com/v1/metrics"
username = "%ENV[LIBRATO_USER]"
password = "%ENV[LIBRATO_PASS]"
[librato.headers]
Content-Type = ["application/json"]
# Log out docker container logs to stdout
[LogOutput]
message_matcher = "Fields[ContainerName] != 'empire-logger'"
encoder = "docker_syslog_encoder"
| # -------
# General
# -------
[hekad]
maxprocs = 4
[DashboardOutput]
address = ":4352"
ticker_interval = 15
# ------
# Inputs
# ------
[docker]
type = "DockerLogInput"
# --------
# Decoders
# --------
# -------
# Filters
# -------
# --------
# Encoders
# --------
[docker_syslog_encoder]
type = "SandboxEncoder"
filename = "lua_encoders/docker_syslog.lua"
preserve_data = true
# -------
# Outputs
# -------
# Log docker container logs to stdout. Useful for debugging.
[LogOutput]
message_matcher = "Fields[ContainerName] != 'empire-logger'"
encoder = "docker_syslog_encoder"
# Sumologic output
[sumologic]
type = "HttpOutput"
message_matcher = "TRUE"
address = "%ENV[SUMOLOGIC_URL]"
encoder = "docker_syslog_encoder"
# Librato l2met output
[librato_l2met]
type = "HttpOutput"
message_matcher = "TRUE"
address = "%ENV[LIBRATO_URL]"
encoder = "docker_syslog_encoder"
|
Update keywords in crates.io metadata | [package]
name = "serde_bytes"
version = "0.11.6" # remember to update html_root_url
authors = ["David Tolnay <dtolnay@gmail.com>"]
categories = ["encoding", "no-std"]
description = "Optimized handling of `&[u8]` and `Vec<u8>` for Serde"
documentation = "https://docs.serde.rs/serde_bytes/"
edition = "2018"
keywords = ["serde", "serialization", "no_std"]
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/serde-rs/bytes"
rust-version = "1.31"
[features]
default = ["std"]
std = ["serde/std"]
alloc = ["serde/alloc"]
[dependencies]
serde = { version = "1.0", default-features = false }
[dev-dependencies]
bincode = "1.0"
serde_derive = "1.0"
serde_test = "1.0"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
| [package]
name = "serde_bytes"
version = "0.11.6" # remember to update html_root_url
authors = ["David Tolnay <dtolnay@gmail.com>"]
categories = ["encoding", "no-std"]
description = "Optimized handling of `&[u8]` and `Vec<u8>` for Serde"
documentation = "https://docs.serde.rs/serde_bytes/"
edition = "2018"
keywords = ["serde", "serialization", "no_std", "bytes"]
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/serde-rs/bytes"
rust-version = "1.31"
[features]
default = ["std"]
std = ["serde/std"]
alloc = ["serde/alloc"]
[dependencies]
serde = { version = "1.0", default-features = false }
[dev-dependencies]
bincode = "1.0"
serde_derive = "1.0"
serde_test = "1.0"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
|
Rename from poet_sys to poet-sys | [package]
name = "poet_sys"
version = "0.1.0"
authors = ["Connor Imes <cimes@mozilla.com>"]
[dependencies]
libc = "0.1"
| [package]
name = "poet-sys"
version = "0.1.0"
authors = ["Connor Imes <cimes@mozilla.com>"]
[dependencies]
libc = "0.1"
|
Add link to docs | [package]
name = "ucl"
version = "0.1.0"
description = "Rust bindings to libucl"
authors = ["Łukasz Niemier <lukasz@niemier.pl>"]
license-file = "LICENSE"
repository = "https://github.com/hauleth/ucl-rs"
[dependencies]
libucl-sys = "*"
libc = "*"
| [package]
name = "ucl"
version = "0.1.1"
description = "Rust bindings to libucl"
documentation = "http://lukasz.niemier.pl/ucl-rs"
authors = ["Łukasz Niemier <lukasz@niemier.pl>"]
license-file = "LICENSE"
repository = "https://github.com/hauleth/ucl-rs"
[dependencies]
libucl-sys = "*"
libc = "*"
|
Enable LTO in release mode | [package]
name = "rustrelay"
version = "0.1.0"
authors = ["Romain Vimont <rvimont@genymobile.com>"]
[lib]
name = "relaylib"
path = "src/lib.rs"
[dependencies]
mio = "0.6" # for async I/O
slab = "0.3" # helper for mio Tokens
log = "0.3" # for logs
chrono = "0.3" # for formatting timestamp in logs
| [package]
name = "rustrelay"
version = "0.1.0"
authors = ["Romain Vimont <rvimont@genymobile.com>"]
[lib]
name = "relaylib"
path = "src/lib.rs"
[dependencies]
mio = "0.6" # for async I/O
slab = "0.3" # helper for mio Tokens
log = "0.3" # for logs
chrono = "0.3" # for formatting timestamp in logs
[profile.release]
lto = true # link-time optimization
|
Add declaration indicating the PEP 517 build backend needed for building setuptools. | [build-system]
requires = ["wheel"]
[tool.towncrier]
package = "setuptools"
package_dir = "setuptools"
filename = "CHANGES.rst"
directory = "changelog.d"
title_format = "v{version}"
issue_format = "#{issue}"
template = "towncrier_template.rst"
underlines = ["-"]
[[tool.towncrier.type]]
directory = "deprecation"
name = "Deprecations"
showcontent = true
[[tool.towncrier.type]]
directory = "breaking"
name = "Breaking Changes"
showcontent = true
[[tool.towncrier.type]]
directory = "change"
name = "Changes"
showcontent = true
[[tool.towncrier.type]]
directory = "doc"
name = "Documentation changes"
showcontent = true
[[tool.towncrier.type]]
directory = "misc"
name = "Misc"
showcontent = true
| [build-system]
requires = ["wheel"]
build-backend = "setuptools.build_meta"
[tool.towncrier]
package = "setuptools"
package_dir = "setuptools"
filename = "CHANGES.rst"
directory = "changelog.d"
title_format = "v{version}"
issue_format = "#{issue}"
template = "towncrier_template.rst"
underlines = ["-"]
[[tool.towncrier.type]]
directory = "deprecation"
name = "Deprecations"
showcontent = true
[[tool.towncrier.type]]
directory = "breaking"
name = "Breaking Changes"
showcontent = true
[[tool.towncrier.type]]
directory = "change"
name = "Changes"
showcontent = true
[[tool.towncrier.type]]
directory = "doc"
name = "Documentation changes"
showcontent = true
[[tool.towncrier.type]]
directory = "misc"
name = "Misc"
showcontent = true
|
Enable lto on release build | [package]
name = "craycray"
version = "0.1.0"
authors = ["Vzaa <Vzaa@users.noreply.github.com>"]
[dependencies]
sdl2 = "0.29.1"
vecmath = "0.3.0"
rayon = "0.7.0"
clap = "2.23.3"
serde = "1.0.2"
serde_derive = "1.0.2"
serde_json = "1.0.1"
| [package]
name = "craycray"
version = "0.1.0"
authors = ["Vzaa <Vzaa@users.noreply.github.com>"]
[dependencies]
sdl2 = "0.29.1"
vecmath = "0.3.0"
rayon = "0.7.0"
clap = "2.23.3"
serde = "1.0.2"
serde_derive = "1.0.2"
serde_json = "1.0.1"
[profile.release]
lto = true
|
Add claps-rs + description and license | [package]
name = "gooddata-fs"
version = "0.0.5"
authors = [
"Tomas Korcak <korczis@gmail.com>"
]
[dependencies]
chomp = "0.2.5"
chrono = "0.2"
cookie = "0.2.4"
env_logger = "0.3"
fuse = "0.2"
hyper = "0.9"
libc = { version = "0.2", default-features = false }
log = "0.3"
lru-cache = "0.0.7"
rand = "0.3.0"
regex = "0.1"
rustc-serialize = "0.3"
time = "0.1.35"
users = "0.5.0"
[lib]
name = "gooddata_fs"
path = "src/lib.rs"
[[bin]]
name = "gooddata-fs"
path = "src/main.rs"
doc = false
[profile.dev]
opt-level = 0
debug = true
rpath = false
lto = false
debug-assertions = true
codegen-units = 4
debuginfo = 2
[profile.release]
opt-level = 3
debug = false
rpath = false
lto = true
debug-assertions = false
# codegen-units ignored with lto=true
# panic = "abort"
| [package]
name = "gooddata-fs"
version = "0.0.5"
authors = [
"Tomas Korcak <korczis@gmail.com>"
]
description = "GoodData as Filesystem (using FUSE)"
license = "MIT"
repository = "https://github.com/korczis/gooddata-fs"
[dependencies]
chomp = "0.2.5"
chrono = "0.2"
clap = "*"
cookie = "0.2.4"
env_logger = "0.3"
fuse = "0.2"
hyper = "0.9"
libc = { version = "0.2", default-features = false }
log = "0.3"
lru-cache = "0.0.7"
rand = "0.3.0"
regex = "0.1"
rustc-serialize = "0.3"
time = "0.1.35"
users = "0.5.0"
[lib]
name = "gooddata_fs"
path = "src/lib.rs"
[[bin]]
name = "gooddata-fs"
path = "src/main.rs"
doc = false
[profile.dev]
opt-level = 0
debug = true
rpath = false
lto = false
debug-assertions = true
codegen-units = 4
debuginfo = 2
[profile.release]
opt-level = 3
debug = false
rpath = false
lto = true
debug-assertions = false
# codegen-units ignored with lto=true
# panic = "abort"
|
Complete project metadata so it is crates.io ready. | [package]
name = "kekbit"
version = "0.1.0"
authors = ["motoras <motoras@gmail.com>"]
edition = "2018"
[workspace]
members = [
".",
"kekbit-core",
]
[dependencies.kekbit-core]
version = "0.1.0"
path = "./kekbit-core"
[badges]
travis-ci = { repository = "motoras/kekbit", branch = "master" }
[profile.dev]
opt-level = 0
debug = true
rpath = false
lto = false
debug-assertions = true
codegen-units = 16
panic = 'unwind'
incremental = true
overflow-checks = true
[profile.release]
opt-level = 3
debug = false
rpath = false
lto = false
debug-assertions = false
codegen-units = 1
panic = 'unwind'
incremental = false
overflow-checks = false
[profile.test]
opt-level = 0
debug = true
rpath = false
lto = false
debug-assertions = true
codegen-units = 16
incremental = true
overflow-checks = true
[profile.bench]
opt-level = 3
debug = false
rpath = false
lto = false
debug-assertions = false
codegen-units = 1
incremental = true
overflow-checks = false
| [package]
name = "kekbit"
version = "0.1.0"
authors = ["motoras <motoras@gmail.com>"]
edition = "2018"
license = "MIT"
description = "Ultralight persistent data channels"
[workspace]
members = [
".",
"kekbit-core",
]
[dependencies.kekbit-core]
version = "0.1.0"
path = "./kekbit-core"
[badges]
travis-ci = { repository = "motoras/kekbit", branch = "master" }
[profile.dev]
opt-level = 0
debug = true
rpath = false
lto = false
debug-assertions = true
codegen-units = 16
panic = 'unwind'
incremental = true
overflow-checks = true
[profile.release]
opt-level = 3
debug = false
rpath = false
lto = false
debug-assertions = false
codegen-units = 1
panic = 'unwind'
incremental = false
overflow-checks = false
[profile.test]
opt-level = 0
debug = true
rpath = false
lto = false
debug-assertions = true
codegen-units = 16
incremental = true
overflow-checks = true
[profile.bench]
opt-level = 3
debug = false
rpath = false
lto = false
debug-assertions = false
codegen-units = 1
incremental = true
overflow-checks = false
|
Remove popup as a feature and give it the right name | name = "Hugo Bootstrap Premium"
license = "MIT"
licenselink = "https://github.com/appernetic/hugo-bootstrap-mod/LICENSE.md"
description = "A hugo theme using bootstrap, bootswatch, font-awesome, highlight.js and a popover email opt-in form"
homepage = "https://github.com/appernetic/hugo-bootstrap-premium"
tags = ["blog", "technical", "personal"]
features = ["blog", "technical", "personal, popover opt-in form"]
min_version = 0.15
[author]
name = "Göran Svensson"
homepage = "http://appernetic.github.io"
[original]
author = "Murali Rath/Steven Enten"
homepage = "https://github.com/enten/hyde-y"
repo = "https://github.com/enten/hyde-y"
| name = "Hugo Bootstrap Premium"
license = "MIT"
licenselink = "https://github.com/appernetic/hugo-bootstrap-premium/LICENSE.md"
description = "A hugo theme using bootstrap, bootswatch, font-awesome, highlight.js and a popover email opt-in form"
homepage = "https://github.com/appernetic/hugo-bootstrap-premium"
tags = ["blog", "technical", "personal"]
features = ["blog", "technical", "personal"]
min_version = 0.15
[author]
name = "Göran Svensson"
homepage = "http://appernetic.github.io"
[original]
author = "Murali Rath/Steven Enten"
homepage = "https://github.com/enten/hyde-y"
repo = "https://github.com/enten/hyde-y"
|
Use extension_helpers to find cython extensions | [build-system]
requires = [
"wheel",
"setuptools",
"Cython>=0.29.2",
"oldest-supported-numpy",
]
build-backend = 'setuptools.build_meta'
[tool.pytest.ini_options]
markers = [
"might_download: marks tests that might download a file",
]
| [build-system]
requires = [
"wheel",
"setuptools",
"cython>=0.29.2",
"oldest-supported-numpy",
"extension-helpers",
]
build-backend = 'setuptools.build_meta'
[tool.pytest.ini_options]
markers = [
"might_download: marks tests that might download a file",
]
|
Add sha224, sha384, sha512224, sha512256 | [package]
name = "shasum"
version = "0.2.0"
authors = ["Vadim Smirnov <smirnovvad7@gmail.com>"]
[dependencies]
octavo = { git = "https://github.com/libOctavo/octavo" }
clap = "^2" | [package]
name = "shasum"
version = "0.3.0"
authors = ["Vadim Smirnov <smirnovvad7@gmail.com>"]
[dependencies]
octavo = { git = "https://github.com/libOctavo/octavo" }
clap = "^2" |
Disable debug symbols by for dev profile | [workspace]
members = ["crates/*", "examples/*", "xtask"]
# xtask should only be compiled when invoked explicitly
default-members = ["crates/*", "examples/*"]
resolver = "2"
| [workspace]
members = ["crates/*", "examples/*", "xtask"]
# xtask should only be compiled when invoked explicitly
default-members = ["crates/*", "examples/*"]
resolver = "2"
[profile.dev]
# Speeds up test times by more than 10% in a simple test
# Set to 1 or 2 if you want to use a debugger in this workspace
debug = 0
|
Enable opt-level 3 for fuzzing and add note about other flags |
[package]
name = "vobsub-fuzz"
version = "0.0.1"
authors = ["Automatically generated"]
publish = false
[package.metadata]
cargo-fuzz = true
[dependencies.vobsub]
path = ".."
[dependencies.libfuzzer-sys]
git = "https://github.com/rust-fuzz/libfuzzer-sys.git"
# Prevent this from interfering with workspaces
[workspace]
members = ["."]
[[bin]]
name = "fuzzer_script_1"
path = "fuzzers/fuzzer_script_1.rs"
|
[package]
name = "vobsub-fuzz"
version = "0.0.1"
authors = ["Automatically generated"]
publish = false
[package.metadata]
cargo-fuzz = true
[profile.dev]
# Optimize the code as much as we can before running.
# https://github.com/rust-fuzz/cargo-fuzz/issues/63
opt-level = 3
# How can we pass this?
# https://github.com/rust-fuzz/cargo-fuzz/issues/64
#-fsanitize-coverage=trace-cmp
[dependencies.vobsub]
path = ".."
[dependencies.libfuzzer-sys]
git = "https://github.com/rust-fuzz/libfuzzer-sys.git"
# Prevent this from interfering with workspaces
[workspace]
members = ["."]
[[bin]]
name = "fuzzer_script_1"
path = "fuzzers/fuzzer_script_1.rs"
|
Set a full base url for docs | baseURL = "/"
languageCode = "en-us"
title = "Templater"
[blackfriday]
angledQuotes = true
fractions = false
plainIDAnchors = true
smartlists = true
extensions = ["hardLineBreak"]
[params]
author = "Thomas Boerger"
description = "A template processor for environment variables"
keywords = "template, environment, processor"
| baseURL = "https://webhippie.github.io/templater/"
languageCode = "en-us"
title = "Templater"
[blackfriday]
angledQuotes = true
fractions = false
plainIDAnchors = true
smartlists = true
extensions = ["hardLineBreak"]
[params]
author = "Thomas Boerger"
description = "A template processor for environment variables"
keywords = "template, environment, processor"
|
Fix gcc version required by libprofiler_builtins | [package]
authors = ["The Rust Project Developers"]
build = "build.rs"
name = "profiler_builtins"
version = "0.0.0"
[lib]
name = "profiler_builtins"
path = "lib.rs"
test = false
bench = false
doc = false
[dependencies]
core = { path = "../libcore" }
[build-dependencies]
gcc = "0.3.27"
| [package]
authors = ["The Rust Project Developers"]
build = "build.rs"
name = "profiler_builtins"
version = "0.0.0"
[lib]
name = "profiler_builtins"
path = "lib.rs"
test = false
bench = false
doc = false
[dependencies]
core = { path = "../libcore" }
[build-dependencies]
gcc = "0.3.50"
|
Fix for latest rust nightly. | [package]
name = "sdl2_net"
version = "0.0.1"
authors = ["Nathan Braswell <miloignis@gmail.com>"]
description = "SDL2_net bindings and wrappers"
licence = "MIT"
[dependencies]
sdl2 = "0.0.21"
| [package]
name = "sdl2_net"
version = "0.0.1"
authors = ["Nathan Braswell <miloignis@gmail.com>"]
description = "SDL2_net bindings and wrappers"
licence = "MIT"
[dependencies]
sdl2 = "0.0.31"
|
Add optional package metadata field. | [package]
name = "cassowary"
version = "0.1.0"
authors = ["Konstantin Terziev <kd.terziev@gmail.com>"]
[dependencies]
| [package]
name = "cassowary"
version = "0.1.0"
authors = ["Konstantin Terziev <kd.terziev@gmail.com>"]
description = "The Cassowary constraint solver algorithm written in the Rust Programming Language."
repository = "https://github.com/MrKonstantinT/rust-cassowary"
readme = "README.md"
keywords = ["cassowary", "solver", "layouts"]
license = "MIT"
[dependencies]
|
Prepare app_units crate for publishing | [package]
name = "app_units"
version = "0.1.0"
authors = ["The Servo Project Developers"]
[dependencies]
serde = "0.6"
serde_macros = "0.5"
rustc-serialize = "0.3"
euclid = "0.2"
| [package]
name = "app_units"
version = "0.1.0"
authors = ["The Servo Project Developers"]
description = "Servo app units type (Au)"
documentation = "http://doc.servo.org/app_units/"
repository = "https://github.com/servo/app_units"
license = "MIT / Apache-2.0"
[dependencies]
serde = "0.6"
serde_macros = "0.5"
rustc-serialize = "0.3"
euclid = "0.2"
|
Add package metadata for askama crate | [package]
name = "askama"
version = "0.1.0"
authors = ["Dirkjan Ochtman <dirkjan@ochtman.nl>"]
workspace = ".."
[dependencies]
htmlescape = { git = "https://github.com/veddan/rust-htmlescape" }
nom = "2.0"
| [package]
name = "askama"
version = "0.1.0"
authors = ["Dirkjan Ochtman <dirkjan@ochtman.nl>"]
description = "Type-safe compiled templates for Rust"
repository = "https://github.com/djc/askama"
license = "MIT/Apache-2.0"
workspace = ".."
[dependencies]
htmlescape = { git = "https://github.com/veddan/rust-htmlescape" }
nom = "2.0"
|
Move example and test dependencies to dev-dependencies | [package]
name = "json5format"
version = "0.1.0"
authors = ["Rich Kadel <richkadel@google.com>"]
edition = "2018"
keywords = ["json", "json5", "style", "formatter", "comments"]
license = "BSD-3-Clause"
description = "Customizable JSON5 document formatter that preserves comments"
repository = "https://github.com/google/json5format"
[dependencies]
anyhow = "1.0.25"
lazy_static = "1.4"
maplit = "1.0"
regex = "1.0.6"
proptest = "0.9.3"
structopt = "0.2.14"
| [package]
name = "json5format"
version = "0.1.0"
authors = ["Rich Kadel <richkadel@google.com>"]
edition = "2018"
keywords = ["json", "json5", "style", "formatter", "comments"]
license = "BSD-3-Clause"
description = "Customizable JSON5 document formatter that preserves comments"
repository = "https://github.com/google/json5format"
[dependencies]
lazy_static = "1.4"
regex = "1.0.6"
[dev-dependencies]
anyhow = "1.0.25"
maplit = "1.0"
proptest = "0.9.3"
structopt = "0.2.14" |
Update yaml-rust requirement from 0.3.4 to 0.4.2 | [package]
name = "pretty-git-prompt"
version = "0.2.0"
authors = ["Tomas Tomecek <tomas@tomecek.net>"]
description = "Your current git repository information inside a beautiful shell prompt."
license = "MIT"
license-file = "LICENSE"
documentation = "https://github.com/TomasTomecek/pretty-git-prompt/blob/master/README.md"
homepage = "https://github.com/TomasTomecek/pretty-git-prompt"
repository = "https://github.com/TomasTomecek/pretty-git-prompt"
[[bin]]
bench = false
path = "src/main.rs"
name = "pretty-git-prompt"
[dependencies]
yaml-rust = "0.3.4"
[dependencies.clap]
version = "2.19"
default-features = false
[dependencies.git2]
version = "0.7"
default-features = false
features = []
| [package]
name = "pretty-git-prompt"
version = "0.2.0"
authors = ["Tomas Tomecek <tomas@tomecek.net>"]
description = "Your current git repository information inside a beautiful shell prompt."
license = "MIT"
license-file = "LICENSE"
documentation = "https://github.com/TomasTomecek/pretty-git-prompt/blob/master/README.md"
homepage = "https://github.com/TomasTomecek/pretty-git-prompt"
repository = "https://github.com/TomasTomecek/pretty-git-prompt"
[[bin]]
bench = false
path = "src/main.rs"
name = "pretty-git-prompt"
[dependencies]
yaml-rust = "0.4.2"
[dependencies.clap]
version = "2.19"
default-features = false
[dependencies.git2]
version = "0.7"
default-features = false
features = []
|
Update skia and bump version number. | [package]
name = "azure"
version = "0.14.0"
authors = ["The Servo Project Developers"]
documentation = "http://doc.servo.org/azure/"
build = "build.rs"
[features]
default = []
plugins = ["serde", "serde_derive", "heapsize", "heapsize_derive"]
[build-dependencies]
cmake = "0.1"
[dependencies]
euclid = "0.11"
heapsize = {version = "0.3", optional = true}
heapsize_derive = {version = "0.1.0", optional = true}
libc = "0.2"
serde = {version = "0.9", optional = true}
serde_derive = {version = "0.9", optional = true}
servo-skia = "0.30000003"
[target.'cfg(all(target_os = "linux", target_os = "android"))'.dependencies]
freetype = "0.2"
servo-freetype-sys = "4.0.1"
[target.'cfg(target_os = "linux")'.dependencies]
x11 = { version = "2.0.0", features = ["xlib"] }
[target.'cfg(target_os = "android")'.dependencies]
servo-egl = "0.2"
[target.'cfg(target_os = "macos")'.dependencies]
core-foundation = "0.3"
core-graphics = "0.7"
core-text = "4.0"
| [package]
name = "azure"
version = "0.15.0"
authors = ["The Servo Project Developers"]
documentation = "http://doc.servo.org/azure/"
build = "build.rs"
[features]
default = []
plugins = ["serde", "serde_derive", "heapsize", "heapsize_derive"]
[build-dependencies]
cmake = "0.1"
[dependencies]
euclid = "0.11"
heapsize = {version = "0.3", optional = true}
heapsize_derive = {version = "0.1.0", optional = true}
libc = "0.2"
serde = {version = "0.9", optional = true}
serde_derive = {version = "0.9", optional = true}
servo-skia = "0.30000004"
[target.'cfg(all(target_os = "linux", target_os = "android"))'.dependencies]
freetype = "0.2"
servo-freetype-sys = "4.0.1"
[target.'cfg(target_os = "linux")'.dependencies]
x11 = { version = "2.0.0", features = ["xlib"] }
[target.'cfg(target_os = "android")'.dependencies]
servo-egl = "0.2"
[target.'cfg(target_os = "macos")'.dependencies]
core-foundation = "0.3"
core-graphics = "0.7"
core-text = "4.0"
|
Use git version of document rather than local | [package]
name = "xpath"
version = "0.0.1"
authors = ["Jake Goulding <jake.goulding@gmail.com>"]
[dependencies.document]
path = "../document"
| [package]
name = "xpath"
version = "0.0.1"
authors = ["Jake Goulding <jake.goulding@gmail.com>"]
[dependencies.document]
git = "https://github.com/shepmaster/sxd-document.git"
|
Add LTO to new example | [package]
name = "adc"
version = "0.0.1"
[features]
default = ["mcu_lpc17xx"]
mcu_lpc17xx = ["zinc/mcu_lpc17xx"]
[dependencies]
zinc = { path = "../.." }
macro_platformtree = { path = "../../macro_platformtree" }
rust-libcore = "*"
| [package]
name = "adc"
version = "0.0.1"
[features]
default = ["mcu_lpc17xx"]
mcu_lpc17xx = ["zinc/mcu_lpc17xx"]
[dependencies]
zinc = { path = "../.." }
macro_platformtree = { path = "../../macro_platformtree" }
rust-libcore = "*"
[profile.release]
lto = true
|
Add a newline to the resource | [server]
hostname = "localhost"
node_ip = "127.0.0.1"
base_path = "https://$ref{server.hostname}:${carbon.management.port}"
[super_admin]
username = "admin"
password = "admin"
create_admin_account = true
[user_store]
type = "read_write_ldap_unique_id"
connection_url = "ldap://localhost:${Ports.EmbeddedLDAP.LDAPServerPort}"
connection_name = "uid=admin,ou=system"
connection_password = "admin"
base_dn = "dc=wso2,dc=org" #refers the base dn on which the user and group search bases will be generated
[database.identity_db]
type = "h2"
url = "jdbc:h2:./repository/database/WSO2IDENTITY_DB;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000"
username = "wso2carbon"
password = "wso2carbon"
[database.shared_db]
type = "h2"
url = "jdbc:h2:./repository/database/WSO2SHARED_DB;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000"
username = "wso2carbon"
password = "wso2carbon"
[keystore.primary]
file_name = "wso2carbon.jks"
password = "wso2carbon" | [server]
hostname = "localhost"
node_ip = "127.0.0.1"
base_path = "https://$ref{server.hostname}:${carbon.management.port}"
[super_admin]
username = "admin"
password = "admin"
create_admin_account = true
[user_store]
type = "read_write_ldap_unique_id"
connection_url = "ldap://localhost:${Ports.EmbeddedLDAP.LDAPServerPort}"
connection_name = "uid=admin,ou=system"
connection_password = "admin"
base_dn = "dc=wso2,dc=org" #refers the base dn on which the user and group search bases will be generated
[database.identity_db]
type = "h2"
url = "jdbc:h2:./repository/database/WSO2IDENTITY_DB;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000"
username = "wso2carbon"
password = "wso2carbon"
[database.shared_db]
type = "h2"
url = "jdbc:h2:./repository/database/WSO2SHARED_DB;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000"
username = "wso2carbon"
password = "wso2carbon"
[keystore.primary]
file_name = "wso2carbon.jks"
password = "wso2carbon"
|
Use minor version for deps and add unstable feature for Travis CI | [package]
authors = ["Gestalt LUR <gestapolur@gmail.com>"]
name = "ali-ecs-ctl"
version = "0.2.0"
[dependencies]
chrono = "0.3"
clap = "~2.22.2"
hyper = "0.10"
reqwest = "0.5.0"
rustc-serialize = "0.3"
sha1 = "0.2.0"
url = "1.4.0"
[dependencies.uuid]
features = ["serde", "v4"]
version = "0.4"
| [package]
authors = ["Gestalt LUR <gestapolur@gmail.com>"]
name = "ali-ecs-ctl"
version = "0.2.0"
[dependencies]
chrono = "0.3"
clap = "2.22"
hyper = "0.10"
reqwest = "0.5"
rustc-serialize = "0.3"
sha1 = "0.2"
url = "1.4"
[dependencies.uuid]
features = ["serde", "v4"]
version = "0.4"
[features]
unstable = []
|
Add black config - skip popular cache dirs | [tool.black]
target_version = ['py35', 'py36', 'py37', 'py38']
include = '\.pyi?$'
exclude = '''
/(\.git/
|\.eggs
|\.hg
|__pycache__
|\.cache
|\.ipynb_checkpoints
|\.mypy_cache
|\.pytest_cache
|\.tox
|\.venv
|node_modules
|_build
|buck-out
|build
|dist
|media
|infrastructure
|templates
|locale
|docs
)/
'''
| |
Update x86 requirement from 0.35.0 to 0.36.0 in /x86test | [package]
name = "x86test"
version = "0.0.3"
authors = ["Gerd Zellweger <mail@gerdzellweger.com>"]
repository = "https://github.com/gz/rust-x86"
documentation = "https://docs.rs/x86test"
readme = "README.md"
keywords = ["vm", "os", "amd64", "kvm", "x86-64"]
license = "MIT OR Apache-2.0"
edition = '2018'
description = """
Custom test runner for bare-metal x86 tests.
"""
[dependencies]
x86test-macro = { path = "x86test_macro", version = "0.0.3" }
x86test-types = { path = "x86test_types", version = "0.0.3" }
kvm-sys = "0.3.0"
x86 = "0.35.0"
mmap = "0.1.1"
log = "0.4"
klogger = { version = "0.0.6", features = ["use_ioports"] }
| [package]
name = "x86test"
version = "0.0.3"
authors = ["Gerd Zellweger <mail@gerdzellweger.com>"]
repository = "https://github.com/gz/rust-x86"
documentation = "https://docs.rs/x86test"
readme = "README.md"
keywords = ["vm", "os", "amd64", "kvm", "x86-64"]
license = "MIT OR Apache-2.0"
edition = '2018'
description = """
Custom test runner for bare-metal x86 tests.
"""
[dependencies]
x86test-macro = { path = "x86test_macro", version = "0.0.3" }
x86test-types = { path = "x86test_types", version = "0.0.3" }
kvm-sys = "0.3.0"
x86 = "0.36.0"
mmap = "0.1.1"
log = "0.4"
klogger = { version = "0.0.6", features = ["use_ioports"] }
|
Add licenselink and min Hugo version | author = "Markus Eliasson"
description = "Liquorice is a small black and white theme for Hugo."
license = "MIT"
name = "liquorice"
source_repo = "https://github.com/eliasson/liquorice"
tags = ["", ""]
| author = "Markus Eliasson"
description = "Liquorice is a small black and white theme for Hugo."
license = "MIT"
licenselink = "https://github.com/eliasson/liquorice/blob/master/LICENSE"
name = "liquorice"
source_repo = "https://github.com/eliasson/liquorice"
tags = ["", ""]
min_version=0.12
|
Set HUGO_VERSION for deploy preview | [environment]
HUGO_VERSION = "0.26"
[context.production.environment]
HUGO_ENV = "production"
|
[context.production.environment]
HUGO_VERSION = "0.26"
HUGO_ENV = "production"
[context.deploy-preview.environment]
HUGO_VERSION = "0.26"
|
Add Alire description for ado mysql package | description = "Ada Database Objects (Mysql)"
tags = ["database", "uml", "sql", "mysql", "mariadb"]
name = "ado_mysql"
version = "2.2.1"
licenses = "Apache-2.0"
authors = ["Stephane.Carrez@gmail.com"]
maintainers = ["Stephane.Carrez@gmail.com"]
maintainers-logins = ["stcarrez"]
project-files = [".alire/mysql/ado_mysql.gpr"]
website = "https://gitlab.com/stcarrez/ada-ado"
long-description = """
[](https://jenkins.vacs.fr/job/Ada-ADO/)
[](https://jenkins.vacs.fr/job/Ada-ADO/)
[](https://codecov.io/gh/stcarrez/ada-ado)
[](https://ada-ado.readthedocs.io/en/latest/?badge=latest)
This is the MySQL driver for the Ada Database Objects library.
"""
[[depends-on]]
ado = "^2.2.1"
libmysqlclient = "*"
[gpr-externals]
ADO_LIBRARY_TYPE = ["relocatable", "static", "static-pic"]
BUILD = ["distrib", "debug", "optimize", "profile", "coverage"]
[configuration]
disabled = true
| |
Add PT-BR (Brazilian Portuguese) translation | [create-header-md]
other = "Crie um arquivo content/_header.md para customizar isto"
[create-footer-md]
other = "Crie um arquivo content/_footer.md para customizar o conteúdo do rodapé"
[Search-placeholder]
other = "Buscar..."
[Clear-History]
other = "Limpar Histórico"
[Page]
other = "Página"
[Next-Pages]
other = "Próximas Páginas"
[Previous-Pages]
other = "Páginas Anteriores"
[pagination-on]
other = "de"
[Attachments-label]
other = "Anexos"
[title-404]
other = "Erro"
[message-404]
other = "Woops. Esta página não existe."
[Go-to-homepage]
other = "Página Principal"
[Edit-this-page]
other = "Melhorar esta página"
[Expand-title]
other = "Expandir..."
[last-update-on]
other = "Última atualização em"
| |
Add DeepSource for static analysis | version = 1
exclude_patterns = ["*.pb.go"]
[[analyzers]]
name = "go"
enabled = true
[analyzers.meta]
import_paths = ["github.com/syncthing/syncthing"] | |
Make the form query more accurate | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix weather: <http://vocab-ld.org/vocab/weather#> .
@prefix hydra: <http://www.w3.org/ns/hydra/core#> .
@prefix xhtml: <http://www.w3.org/1999/xhtml#> .
@prefix schema: <http://schema.org/> .
<summary.ttl>
a weather:Summary ;
hydra:freetextQuery "spring" ;
xhtml:start <../index.ttl> ;
weather:pickLocation <../search.ttl> .
weather:pickLocation
a hydra:Link ;
hydra:supportedOperation [
a weather:PickLocationOperation ;
hydra:title "Search for a location" ;
hydra:expects weather:PickLocationForm ;
hydra:returns weather:PickLocationState ;
hydra:method "GET"
] .
weather:PickLocationForm
a hydra:Class ;
hydra:supportedProperty [
a hydra:SupportedProperty ;
hydra:property hydra:freetextQuery ;
hydra:variable "q"
] .
| @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix weather: <http://vocab-ld.org/vocab/weather#> .
@prefix hydra: <http://www.w3.org/ns/hydra/core#> .
@prefix xhtml: <http://www.w3.org/1999/xhtml#> .
@prefix schema: <http://schema.org/> .
<summary.ttl>
a weather:Summary ;
hydra:freetextQuery "Springfield, IL" ;
xhtml:start <../index.ttl> ;
weather:pickLocation <../search.ttl> .
weather:pickLocation
a hydra:Link ;
hydra:supportedOperation [
a weather:PickLocationOperation ;
hydra:title "Search for a location" ;
hydra:expects weather:PickLocationForm ;
hydra:returns weather:PickLocationState ;
hydra:method "GET"
] .
weather:PickLocationForm
a hydra:Class ;
hydra:supportedProperty [
a hydra:SupportedProperty ;
hydra:property hydra:freetextQuery ;
hydra:variable "q"
] .
|
Add 1st Machine specific attribute | @prefix ogit.MARS.Machine: <http://www.purl.org/ogit/MARS/Machine/> .
@prefix ogit: <http://www.purl.org/ogit/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
ogit.MARS.Machine:cpuArch
a owl:DatatypeProperty;
rdfs:subPropertyOf ogit:Attribute;
rdfs:label "Machine/cpuArch";
dcterms:description "CPU architecture. the output onf 'uname -m' on UNIX like systems";
# For ranges, see http://dublincore.org/documents/dcmi-period/
dcterms:valid "start=2018-05-25;";
dcterms:creator "fotto@arago.de";
dcterms:created "2018-05-22";
dcterms:modified "2018-05-22";
ogit:admin-contact "arago GmbH";
ogit:tech-contact "arago GmbH";
ogit:history (
[
dcterms:identifier "1";
dcterms:date "2018-05-22";
dcterms:description "initial";
dcterms:creator "fotto@arago.de";
]
);
.
| |
Add September talk and social | {% extends "master.twig" %}
{% block main_content %}
<div class="inner cover">
<p class="lead">
<img id="phpdorset-logo" src="/images/logo-transparent.png">
</p>
<h2>Next event</h2>
<p class="event-location">
No Library Talk - Summer Social
</p>
<p class="event-location">
<a href="http://phpdorset.eventbrite.co.uk?s=25654495">
Mon August 4<sup>th</sup> 2014 6:00pm<br>
The Libertine,<br>
1 Alumhurst Road,<br>
Bournemouth<br>
BH4 8EL
</a>
</p>
</div>
{% endblock %}
| {% extends "master.twig" %}
{% block main_content %}
<div class="inner cover">
<p class="lead">
<img id="phpdorset-logo" src="/images/logo-transparent.png">
</p>
<h2>Next event</h2>
<p class="event-location">
<a href="http://phpdorset.eventbrite.co.uk">
Mon September 1<sup>st</sup> 2014 6:05pm<br>
Westbourne Library,<br>
Alum Chine Road,<br>
BH4 8DX
</a>
</p>
<p class="event-location">
And then 7:00pm<br>
The Libertine,<br>
1 Alumhurst Road,<br>
Bournemouth<br>
BH4 8EL
</p>
</div>
{% endblock %}
|
Fix error if no format is defined | {#
This file is part of the Sonata package.
(c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
{% extends sonata_block.templates.block_base %}
{% block block %}
{% if settings.title %}
<h3 class="sonata-media-block-media-title">{{ settings.title }}</h3>
{% endif %}
<div class="sonata-media-block-media-container">
{% if media %}
{% media media, settings.format %}
{% else %}
{# no media selected ... #}
{% endif %}
</div>
{% endblock %}
| {#
This file is part of the Sonata package.
(c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
{% extends sonata_block.templates.block_base %}
{% block block %}
{% if settings.title %}
<h3 class="sonata-media-block-media-title">{{ settings.title }}</h3>
{% endif %}
<div class="sonata-media-block-media-container">
{% if media and settings.format%}
{% media media, settings.format %}
{% else %}
{# no media selected or format defined... #}
{% endif %}
</div>
{% endblock %}
|
Use select for more than two options. | {% include "field/preamble.twig" %}
<span class="multiple-choice-field">
{% for choiceSlug, choice in choices %}
<input type="checkbox" name="{{ slug }}" value="{{ choiceSlug }}" {% if choiceSlug == initial %}checked{% endif %}> {{ choice }}
{% endfor %}
</span>
{% include "field/postamble.twig" %} | {% include "field/preamble.twig" %}
<span class="multiple-choice-field">
{% for choiceSlug, choice in choices %}
<input type="checkbox" name="{{ slug }}" value="{{ choiceSlug }}" {% if choiceSlug in initial %}checked{% endif %}> {{ choice }}
{% endfor %}
</span>
{% include "field/postamble.twig" %} |
Fix the dump method in twig template for prod | <style type="text/css">.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}</style>
Hi,<br/>
<p>
SP Dashboard heeft getracht een 'spd-request-production-entity' Jira issue aan te maken. Maar dit is mislukt. De volgende
exception message is opgegooid.
</p>
<pre>
{{ exception.message }}
{{ dump(exception.trace) }}
</pre>
<p>
De entity "{{ entityId }}" van Service {{ serviceName }} is niet in Manage opgenomen, omdat JIRA niet beschikbaar was om een ticket aan te maken. Los het JIRA probleem op, daarna kan de entity alsnog worden gepubliceerd.
</p>
<p>
Met vriendelijke groet,
</p>
<p>
SURFconext
</p>
| <style type="text/css">.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}</style>
Hi,<br/>
<p>
SP Dashboard heeft getracht een 'spd-request-production-entity' Jira issue aan te maken. Maar dit is mislukt. De volgende
exception message is opgegooid.
</p>
<pre>
{{ exception.message }}
</pre>
<p>
De entity "{{ entityId }}" van Service {{ serviceName }} is niet in Manage opgenomen, omdat JIRA niet beschikbaar was om een ticket aan te maken. Los het JIRA probleem op, daarna kan de entity alsnog worden gepubliceerd.
</p>
<p>
Met vriendelijke groet,
</p>
<p>
SURFconext
</p>
|
Change copy form view widget's HTML. | {% trans_default_domain 'admin' %}
{{ form_start(form, {'attr': {'class': 'js-form', 'data-reload-page': 1}}) }}
{{ form_widget(form) }}
<button type="submit"
class="table-row__btn-clone"
title="{{ (translation_prefix ~ 'action.copy.submit')|trans|e('html_attr') }}"
onclick="return confirm('{{ 'common.confirm'|trans|e('js') }}');">
</button>
{{ form_end(form) }}
| {% trans_default_domain 'admin' %}
{% set title = (translation_prefix ~ 'action.copy.submit')|trans %}
{% set classes = {
'default': 'table-row__btn-clone',
'show': 'modal-actions__btn-copy',
} %}
{{ form_start(form, {'attr': {'class': 'js-form', 'data-reload-page': 1}}) }}
{{ form_widget(form) }}
<button type="submit"
class="{{ classes[style]|default(classes.default) }}"
title="{{ title|e('html_attr') }}"
onclick="return confirm('{{ 'common.confirm'|trans|e('js') }}');">
{{ title }}
</button>
{{ form_end(form) }}
|
Add register link on login page | {# src/RCloud/Bundle/UserBundle/Resources/views/Security/login.html.twig #}
{% extends 'RCloudUserBundle::layout.html.twig' %}
{% trans_default_domain 'FOSUserBundle' %}
{% block fos_user_content %}
{% if error %}
<div>{{ error|trans }}</div>
{% endif %}
<form action="{{ path("fos_user_security_check") }}" method="post">
<input type="hidden" name="_csrf_token" value="{{ csrf_token }}" />
<div class="form-group">
<label for="username">{{ 'security.login.username'|trans }}</label>
<input type="text" id="username" name="_username" value="{{ last_username }}" required="required" />
</div>
<div class="form-group">
<label for="password">{{ 'security.login.password'|trans }}</label>
<input type="password" id="password" name="_password" required="required" />
</div>
<div class="checkbox">
<input type="checkbox" id="remember_me" name="_remember_me" value="on" />
<label for="remember_me">{{ 'security.login.remember_me'|trans }}</label>
</div>
<div class="form-group">
<input type="submit" id="_submit" name="_submit" value="{{ 'security.login.submit'|trans }}" />
</div>
</form>
<div>
<a href="{{ path('fos_user_registration_register') }}">Register</a>
</div>
{% endblock %} | {# src/RCloud/Bundle/UserBundle/Resources/views/Security/login.html.twig #}
{% extends 'RCloudUserBundle::layout.html.twig' %}
{% trans_default_domain 'FOSUserBundle' %}
{% block title %}Login{% endblock %}
{% block fos_user_content %}
{% if error %}
<div>{{ error|trans }}</div>
{% endif %}
<form action="{{ path("fos_user_security_check") }}" method="post">
<input type="hidden" name="_csrf_token" value="{{ csrf_token }}" />
<div class="form-group">
<label for="username">{{ 'security.login.username'|trans }}</label>
<input type="text" id="username" name="_username" value="{{ last_username }}" required="required" />
</div>
<div class="form-group">
<label for="password">{{ 'security.login.password'|trans }}</label>
<input type="password" id="password" name="_password" required="required" />
</div>
<div class="checkbox">
<input type="checkbox" id="remember_me" name="_remember_me" value="on" />
<label for="remember_me">{{ 'security.login.remember_me'|trans }}</label>
</div>
<div class="form-group">
<input type="submit" id="_submit" name="_submit" value="{{ 'security.login.submit'|trans }}" />
</div>
</form>
<div>
<a href="{{ path('fos_user_registration_register') }}">Register</a>
</div>
{% endblock %} |
Fix tiny regression in browse template | <h4>{{ result }}</h4>
{% if result.tags|length %}
<p class="text-muted">{{ render_value(result.tags) }}</p>
{% endif %}
<p>{{ result.path }}</p>
| <h4>{{ result }}</h4>
{% if result.tags|length %}
<p class="text-muted">{{ render_value(result.tags) }}</p>
{% endif %}
<p>{{ result.fileName }}</p>
|
Use Bootstrap's .btn-block, instead of our custom .display-block | {% if items|length == 0 %}
{{ "devture_user.no_items"|trans }}
{% else %}
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>{{ "devture_user.username"|trans }}</th>
<th class="hidden-xs">{{ "devture_user.email"|trans }}</th>
<th>{{ "devture_user.name"|trans }}</th>
</tr>
</thead>
<tbody>
{% for entity in items %}
{% set link = path('devture_user.edit', {'id': entity.id}) %}
<tr>
<td>
<a href="{{ link }}" class="display-block">
<strong>{{ entity.username }}</strong>
</a>
</td>
<td class="hidden-xs">
<a href="{{ link }}" class="display-block">
{{ entity.email }}
</a>
</td>
<td>
<a href="{{ link }}" class="display-block">
{{ entity.name }}
</a>
</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
| {% if items|length == 0 %}
{{ "devture_user.no_items"|trans }}
{% else %}
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>{{ "devture_user.username"|trans }}</th>
<th class="hidden-xs">{{ "devture_user.email"|trans }}</th>
<th>{{ "devture_user.name"|trans }}</th>
</tr>
</thead>
<tbody>
{% for entity in items %}
{% set link = path('devture_user.edit', {'id': entity.id}) %}
<tr>
<td>
<a href="{{ link }}" class="btn-block">
<strong>{{ entity.username }}</strong>
</a>
</td>
<td class="hidden-xs">
<a href="{{ link }}" class="btn-block">
{{ entity.email }}
</a>
</td>
<td>
<a href="{{ link }}" class="btn-block">
{{ entity.name }}
</a>
</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
|
Add download link for the PDF | {% extends "layout.html.twig" %}
{% block content %}
<h1>Book</h1>
<ul>
{% for filename, data in book %}
{{ _self.renderFile(filename, data) }}
{% endfor %}
</ul>
<h1>Articles</h1>
<ul>
{% for filename, data in articles %}
{{ _self.renderFile(filename, data) }}
{% endfor %}
</ul>
<h1>FAQs</h1>
<ul>
{% for filename, data in faqs %}
{{ _self.renderFile(filename, data) }}
{% endfor %}
</ul>
<h1>API Docs</h1>
<p>If you need to work with composer as a library you may also want to check out the <a href="/apidoc/master/index.html">API Docs</a></p>
{% endblock %}
{% macro renderFile(filename, data) %}
<li>
<a href="{{ data.link }}">{{ filename }}</a>
{% if data.metadata.tagline is defined %}<span class="tagline">{{ data.metadata.tagline }}</span>{% endif %}
</li>
{% endmacro %} | {% extends "layout.html.twig" %}
{% block content %}
<h1>Book</h1>
<ul>
{% for filename, data in book %}
{{ _self.renderFile(filename, data) }}
{% endfor %}
</ul>
<h1>Articles</h1>
<ul>
{% for filename, data in articles %}
{{ _self.renderFile(filename, data) }}
{% endfor %}
</ul>
<h1>FAQs</h1>
<ul>
{% for filename, data in faqs %}
{{ _self.renderFile(filename, data) }}
{% endfor %}
</ul>
<h1>PDF Docs</h1>
<p>The whole documentation is also available as a <a href="/book.pdf">PDF download</a>.</p>
<h1>API Docs</h1>
<p>If you need to work with composer as a library you may also want to check out the <a href="/apidoc/master/index.html">API Docs</a></p>
{% endblock %}
{% macro renderFile(filename, data) %}
<li>
<a href="{{ data.link }}">{{ filename }}</a>
{% if data.metadata.tagline is defined %}<span class="tagline">{{ data.metadata.tagline }}</span>{% endif %}
</li>
{% endmacro %} |
Add filters dropdown on the admin talks page | {% extends "layouts/admin.twig" %}
{% block content %}
<h2 class="headline">Submitted Talks</h2>
{% include "admin/talks/_table.twig" %}
{{ pagination|raw }}
{% endblock %}
{% block scripts %}
{{ parent() }}
<script src="/assets/js/admin/talk.js"></script>
{% endblock %} | {% extends "layouts/admin.twig" %}
{% block content %}
<h2 class="headline">Submitted Talks</h2>
<form method="get" class="form-inline" role="form">
<div class="form-group">
<label>Filter By:</label>
<select name="filter" class="form-control">
<option value="">None</option>
<option value="favorited"{% if filter|lower == 'favorited' %} SELECTED{% endif %}>Favorited Talks</option>
<option value="rated"{% if filter|lower == 'rated' %} SELECTED{% endif %}>Rated Talks</option>
<option value="notrated"{% if filter|lower == 'notrated' %} SELECTED{% endif %}>Not Rated Talks</option>
<option value="viewed"{% if filter|lower == 'viewed' %} SELECTED{% endif %}>Viewed Talks</option>
<option value="notviewed"{% if filter|lower == 'notviewed' %} SELECTED{% endif %}>Not Viewed Talks</option>
</select>
</div>
<button type="submit" class="btn btn-default">Go</button>
</form>
{% include "admin/talks/_table.twig" %}
{{ pagination|raw }}
{% endblock %}
{% block scripts %}
{{ parent() }}
<script src="/assets/js/admin/talk.js"></script>
{% endblock %} |
Fix borders in order - show - addresses | {% if order.billingAddress is not null %}
<h4 class="ui attached styled header{% if order.shippingAddress is null %} top{% endif %}">
{{ 'sylius.ui.billing_address'|trans }}
</h4>
<div class="ui attached segment" id="billing-address">
{% include '@SyliusAdmin/Common/_address.html.twig' with {'address': order.billingAddress} %}
</div>
{% endif %}
{% if order.shippingAddress is not null %}
<h4 class="ui top attached styled header">
{{ 'sylius.ui.shipping_address'|trans }}
</h4>
<div class="ui attached segment" id="shipping-address">
{% include '@SyliusAdmin/Common/_address.html.twig' with {'address': order.shippingAddress} %}
</div>
{% endif %}
<div class="ui attached segment" id="edit-addresses">
<a href="{{ path('sylius_admin_order_update', {'id': order.id}) }}" class="ui icon labeled tiny fluid button">
<i class="pencil icon"></i> {{ 'sylius.ui.edit_addresses'|trans }}
</a>
</div>
| {% if order.billingAddress is not null %}
<h4 class="ui attached styled header top">
{{ 'sylius.ui.billing_address'|trans }}
</h4>
<div class="ui attached segment" id="billing-address">
{% include '@SyliusAdmin/Common/_address.html.twig' with {'address': order.billingAddress} %}
</div>
{% endif %}
{% if order.shippingAddress is not null %}
<h4 class="ui attached styled header{% if order.billingAddress is null %} top{% endif %}">
{{ 'sylius.ui.shipping_address'|trans }}
</h4>
<div class="ui attached segment" id="shipping-address">
{% include '@SyliusAdmin/Common/_address.html.twig' with {'address': order.shippingAddress} %}
</div>
{% endif %}
<div class="ui attached segment" id="edit-addresses">
<a href="{{ path('sylius_admin_order_update', {'id': order.id}) }}" class="ui icon labeled tiny fluid button">
<i class="pencil icon"></i> {{ 'sylius.ui.edit_addresses'|trans }}
</a>
</div>
|
Index template page now inherits from layout | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Simple Slim example</title>
</head>
<body>
<h1>Simple Slim example</h1>
<p>This is being rendered from a <strong>Twig</strong> template.</p>
<p>Last friday was "{{ date|date('Y-m-d') }}".</p>
</body>
</html>
| {% extends 'layout.html.twig' %}
{% block content %}
<h1>Simple Slim example</h1>
<p>This is being rendered from a <strong>Twig</strong> template.</p>
<p>Last friday was "{{ date|date('Y-m-d') }}".</p>
{% endblock content %} |
Update Meetup after location to the Westbourne Pub | {% extends "master.twig" %}
{% block main_content %}
<div class="inner cover">
<p class="lead">
<img id="phpdorset-logo" src="/images/logo-transparent.png">
</p>
<h2>Next event</h2>
<p class="event-location">
<a href="http://phpdorset.eventbrite.co.uk">
Mon December 1<sup>st</sup> 2014 6:05pm<br>
Westbourne Library,<br>
Alum Chine Road,<br>
BH4 8DX
</a>
</p>
<p class="event-location">
And then 7:00pm<br>
The Libertine,<br>
1 Alumhurst Road,<br>
Bournemouth<br>
BH4 8EL
</p>
</div>
{% endblock %}
| {% extends "master.twig" %}
{% block main_content %}
<div class="inner cover">
<p class="lead">
<img id="phpdorset-logo" src="/images/logo-transparent.png">
</p>
<h2>Next event</h2>
<p class="event-location">
<a href="http://phpdorset.eventbrite.co.uk">
Mon December 1<sup>st</sup> 2014 6:05pm<br>
Westbourne Library,<br>
Alum Chine Road,<br>
BH4 8DX
</a>
</p>
<p class="event-location">
And then 7:00pm<br>
<strong style="font-size:18px;line-height:35px">** The Westbourne **</strong><br>
45 Poole Road,<br>
Bournemouth<br>
BH4 9DN
</p>
</div>
{% endblock %}
|
Fix grant check on create content template | {% extends "ShuweeAdminBundle::page_content.html.twig" %}
{% form_theme form 'bootstrap_3_layout.html.twig' %}
{% block page_title %}{{ 'crud.create' | trans({}, 'ShuweeAdminBundle') }}{% endblock %}
{% block action_links %}
{% if grants['list'] %}
<a href="{{ admin_get_path(admin, 'index') }}" class="btn btn-sm btn-default" type="button"><i class="glyphicon glyphicon-chevron-left"></i> {{'nav.backtolist' | trans({}, 'ShuweeAdminBundle') }}</a>
{% endif %}
{% endblock %}
{% block header_title %}
{{ 'crud.create' | trans({}, 'ShuweeAdminBundle') }} <small>{{ admin_get_label(admin) }}</small>
{% endblock %}
{% block body %}
{{ form(form) }}
{% endblock %}
| {% extends "ShuweeAdminBundle::page_content.html.twig" %}
{% form_theme form 'bootstrap_3_layout.html.twig' %}
{% block page_title %}{{ 'crud.create' | trans({}, 'ShuweeAdminBundle') }}{% endblock %}
{% block action_links %}
{% if admin.isGranted('LIST') %}
<a href="{{ admin_get_path(admin, 'index') }}" class="btn btn-sm btn-default" type="button"><i class="glyphicon glyphicon-chevron-left"></i> {{'nav.backtolist' | trans({}, 'ShuweeAdminBundle') }}</a>
{% endif %}
{% endblock %}
{% block header_title %}
{{ 'crud.create' | trans({}, 'ShuweeAdminBundle') }} <small>{{ admin_get_label(admin) }}</small>
{% endblock %}
{% block body %}
{{ form(form) }}
{% endblock %}
|
Add triggering of change event | {% block elfinder_widget %}
<input type="text" {{ block('widget_attributes') }} {% if value is not empty %}value="{{ value }}" {% endif %} data-type="elfinder-input-field" />
{% if enable and instance is defined %}
<script type="text/javascript" charset="utf-8">
$('[data-type="elfinder-input-field"][id="{{ id }}"]').on("click",function() {
var childWin = window.open("{{path('elfinder', {'instance': instance })}}?id={{ id }}", "popupWindow", "height=450, width=900");
});
function setValue(value, element_id) {
$('[data-type="elfinder-input-field"]' + (element_id ? '[id="'+ element_id +'"]': '')).val(value);
}
</script>
{% endif %}
{% endblock %}
| {% block elfinder_widget %}
<input type="text" {{ block('widget_attributes') }} {% if value is not empty %}value="{{ value }}" {% endif %} data-type="elfinder-input-field" />
{% if enable and instance is defined %}
<script type="text/javascript" charset="utf-8">
$('[data-type="elfinder-input-field"][id="{{ id }}"]').on("click",function() {
var childWin = window.open("{{path('elfinder', {'instance': instance })}}?id={{ id }}", "popupWindow", "height=450, width=900");
});
function setValue(value, element_id) {
$('[data-type="elfinder-input-field"]' + (element_id ? '[id="'+ element_id +'"]': '')).val(value).change();
}
</script>
{% endif %}
{% endblock %}
|
Update comment form action URL | <div class="comment-form">
<h3> add comment </h3>
<form id="form" class="comment-form" method="post" action="{{ site.url~'/wp-comments-post.php' }}">
{% if user %}
<input type="hidden" name="email" value="{{ user.email }}">
<input type="hidden" name="author" value="{{ user.name }}">
<input type="hidden" name="url" value="{{ user.link }}">
{% else %}
<div>
<label for="email"> email </label>
<input required name="email" type="text" id="email"/>
<label for="author"> username </label>
<input required name="author" type="text" id="author"/>
<label for="url"> url </label>
<input name="url" id="url" type="text"/>
</div>
{% endif %}
<div>
<label for="comment"> comment </label>
<textarea placeholder="comment text" name="comment" cols="60" rows="3" id="comment"></textarea>
</div>
<input name="comment_post_ID" value="{{ post.id }}" id="comment_post_ID" type="hidden">
<input name="comment_parent" id="comment_parent" value="{{ comment.ID|default('0') }}" type="hidden">
<div>
<button type="submit" name="Submit" class="btn"> send </button>
<button type="reset"> cancel </button>
<p> Your comment will be revised by the site if needed. </p>
</div>
</form>
</div> | <div class="comment-form">
<h3> add comment </h3>
<form id="form" class="comment-form" method="post" action="{{ site.site_url~'/wp-comments-post.php' }}">
{% if user %}
<input type="hidden" name="email" value="{{ user.email }}">
<input type="hidden" name="author" value="{{ user.name }}">
<input type="hidden" name="url" value="{{ user.link }}">
{% else %}
<div>
<label for="email"> email </label>
<input required name="email" type="text" id="email"/>
<label for="author"> username </label>
<input required name="author" type="text" id="author"/>
<label for="url"> url </label>
<input name="url" id="url" type="text"/>
</div>
{% endif %}
<div>
<label for="comment"> comment </label>
<textarea placeholder="comment text" name="comment" cols="60" rows="3" id="comment"></textarea>
</div>
<input name="comment_post_ID" value="{{ post.id }}" id="comment_post_ID" type="hidden">
<input name="comment_parent" id="comment_parent" value="{{ comment.ID|default('0') }}" type="hidden">
<div>
<button type="submit" name="Submit" class="btn"> send </button>
<button type="reset"> cancel </button>
<p> Your comment will be revised by the site if needed. </p>
</div>
</form>
</div>
|
Remove carriage returns and trim white space in title | {% extends "::base.html.twig" %}
{% block title %}
Welcome to {{ name }}'s page!
{% endblock %}
{% block body %}
Hello {{ name }}!
{% endblock %} | {% extends "::base.html.twig" %}
{% block title -%}
Welcome to {{ name }}'s page!
{%- endblock %}
{% block body %}
Hello {{ name }}!
{% endblock %} |
Access Denied Page iin dev env | {% extends status_code == 403 ? bap.layout : 'TwigBundle::layout.html.twig' %}
{% if status_code == 403 %}
{% block title %}
{{ exception.message }} ({{ status_code }} {{ status_text }})
{% endblock %}
{% block body %}
{% include 'TwigBundle:Exception:exception.html.twig' %}
{% endblock %}
{% else %}
{% block content %}
<div class="alert alert-block pagination-centered popup-box">
<h1>{{ status_code }} {{ status_text }}</h1>
{% if 404 == status_code %}
<p>The URL you requested was not found.</p>
<img src="{{ asset('bundles/oroui/img/no.png') }}" alt="Error page" />
{% else %}
<img src="{{ asset('bundles/oroui/img/503.png') }}" alt="Error page" />
{% endif %}
</div>
{% endblock %}
{% endif %} | |
Add value to submit button on filiere::ajouter template | {% extends "MgatePersonneBundle::layout.html.twig" %}
{% block title %}
Ajouter une Filière {{ parent() }}
{% endblock %}
{% block content_title %}
Ajouter une Filière
{% endblock %}
{% block content_bundle %}
{{ form_start(form) }}
{{ form_label(form.nom) }} {{ form_widget(form.nom) }} {{ form_errors(form.nom) }}<br><br>
{{ form_label(form.description) }} {{ form_widget(form.description) }} {{ form_errors(form.description) }}
<br>
<input type="submit" class="btn"/>
{{ form_end(form) }}
{% endblock %}
| {% extends "MgatePersonneBundle::layout.html.twig" %}
{% block title %}
Ajouter une Filière {{ parent() }}
{% endblock %}
{% block content_title %}
Ajouter une Filière
{% endblock %}
{% block content_bundle %}
{{ form_start(form) }}
{{ form_label(form.nom) }} {{ form_widget(form.nom) }} {{ form_errors(form.nom) }}<br><br>
{{ form_label(form.description) }} {{ form_widget(form.description) }} {{ form_errors(form.description) }}
<br>
<input type="submit" class="btn" value="Valider"/>
{{ form_end(form) }}
{% endblock %}
|
Change template, return value instead | <?php
/**
* {{ controllerName }}
*
*/
class {{ controllerName }}
{
public function watch($channel)
{
echo 'You are watching ' . $channel;
}
} | <?php
/**
* {{ controllerName }}
*
*/
class {{ controllerName }}
{
public function watch($channel)
{
return 'You are watching ' . $channel;
}
} |
Use the base URL from the framework for the link on our logo instead of hardcoding it | {% extends "base.twig" %}
{% block title %}{% endblock %}
{% block nav %}
<div class="top-menu">
<nav class="ink-navigation ink-grid">
<ul class="menu horizontal black">
<li id="kennyl"><a href="/deneb"><span class="darkBlue">kennyl</span><span class="lightBlue">.im</span></a></li>
{% block navmenu %}
{% endblock %}
</ul>
</nav>
</div>
{% endblock %}
{% block content %}
<div class="ink-grid">
<div class="column-group">
<div class="all-85 push-center" id="content-box">
<h2>{{ meta['header'] }}</h2>
{{ include(template_from_string(contents)) | markdown }}
</div>
</div>
</div>
{% endblock %}
{% block footer %}
<div class="tiny-100 small-100 medium-85 large-85 xlarge-85 push-center">
<footer>
<p class="align-center"><i class="fa fa-info-circle"></i> <a href="http://creativecommons.org/licenses/by-nc/4.0/">CC-BY-NC 4.0</a> | <i class="fa fa-envelope"></i> mailto[at]kennyl[dot]im | <i class=""></p>
</footer>
</div>
{% endblock %}
| {% extends "base.twig" %}
{% block title %}{% endblock %}
{% block nav %}
<div class="top-menu">
<nav class="ink-navigation ink-grid">
<ul class="menu horizontal black">
<li id="kennyl"><a href={{ baseUrl }}><span class="darkBlue">kennyl</span><span class="lightBlue">.im</span></a></li>
{% block navmenu %}
{% endblock %}
</ul>
</nav>
</div>
{% endblock %}
{% block content %}
<div class="ink-grid">
<div class="column-group">
<div class="all-85 push-center" id="content-box">
<h2>{{ meta['header'] }}</h2>
{{ include(template_from_string(contents)) | markdown }}
</div>
</div>
</div>
{% endblock %}
{% block footer %}
<div class="tiny-100 small-100 medium-85 large-85 xlarge-85 push-center">
<footer>
<p class="align-center"><i class="fa fa-info-circle"></i> <a href="http://creativecommons.org/licenses/by-nc/4.0/">CC-BY-NC 4.0</a> | <i class="fa fa-envelope"></i> mailto[at]kennyl[dot]im | <i class=""></p>
</footer>
</div>
{% endblock %}
|
Add step 1 unknown address | {% extends 'MunicipalesBundle:theme:layout.html.twig' %}
{% block title %}{{ 'candidate.html_title'|trans }}{% endblock %}
{% block content %}
<h1>{{ 'candidate.h1_title'|trans }}</h1>
<p class="important">
<div>
{{ error }}
</div>
</p>
{% endblock %} | |
Use the card view for the item listing. | {% extends 'LigiBundle::layout.html.twig' %}
{% block body -%}
<h1 class="ui dividing header">{% trans %}Item list{% endtrans %}</h1>
<table class="ui table">
<thead>
<tr>
<th>{% trans %}Name{% endtrans %}</th>
</tr>
</thead>
<tbody>
{% for entity in entities %}
<tr>
<td><a href="{{ path('item_show', { 'id': entity.id }) }}">{{ entity.name }}</a></td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}
| {% extends 'LigiBundle::layout.html.twig' %}
{% block title %}{% trans %}Item list{% endtrans %}{% endblock title %}
{% block body -%}
<h1 class="ui dividing header">{% trans %}Item list{% endtrans %}</h1>
<div class="ui cards">
{% for entity in entities %}
<div class="card">
<div class="image">
<a class="ui fluid image" href="{{ path('ligi_item_show', { 'id': entity.id }) }}">
<img src="/images/avatar2/large/matthew.png" />
</a>
</div>
<div class="content">
<div class="header">
<a href="{{ path('ligi_item_show', { 'id': entity.id }) }}">
{{ entity.name }}
</a>
</div>
<div class="description">
{{ entity.description }}
</div>
</div>
</div>
{% endfor %}
</div>
{% endblock %}
|
Remove Tiqr second factor for now. | {% extends "::base.html.twig" %}
{% block page_title %}{{ 'ss.registration.selector.title.welcome'|trans({'%name%': 'Fabien'}) }}{% endblock %}
{% block page_header %}
{{ parent() }}
{% include 'SurfnetStepupSelfServiceSelfServiceBundle::Registration/partial/progressBar.html.twig' with {'progress': 0} only %}
{% endblock %}
{% block content %}
<h2>{{ block('page_title') }}</h2>
<p>{{ 'ss.registration.selector.text.explain_wizard'|trans }}</p>
<p>{{ 'ss.registration.selector.text.please_select_second_factor'|trans }}</p>
<div class="row">
{% include 'SurfnetStepupSelfServiceSelfServiceBundle::Registration/partial/secondFactor.html.twig' with {
'type': 'yubikey',
'security': 3,
'url': path('surfnet_stepup_self_service_self_service_registration_yubikey_prove_possession')
} only %}
{% include 'SurfnetStepupSelfServiceSelfServiceBundle::Registration/partial/secondFactor.html.twig' with {
'type': 'sms',
'security': 2,
'url': path('surfnet_stepup_self_service_self_service_registration_sms_send_challenge')
} only %}
{% include 'SurfnetStepupSelfServiceSelfServiceBundle::Registration/partial/secondFactor.html.twig' with {
'type': 'tiqr',
'security': 2,
'url': '#'
} only %}
</div>
{% endblock %}
| {% extends "::base.html.twig" %}
{% block page_title %}{{ 'ss.registration.selector.title.welcome'|trans({'%name%': 'Fabien'}) }}{% endblock %}
{% block page_header %}
{{ parent() }}
{% include 'SurfnetStepupSelfServiceSelfServiceBundle::Registration/partial/progressBar.html.twig' with {'progress': 0} only %}
{% endblock %}
{% block content %}
<h2>{{ block('page_title') }}</h2>
<p>{{ 'ss.registration.selector.text.explain_wizard'|trans }}</p>
<p>{{ 'ss.registration.selector.text.please_select_second_factor'|trans }}</p>
<div class="row">
{% include 'SurfnetStepupSelfServiceSelfServiceBundle::Registration/partial/secondFactor.html.twig' with {
'type': 'yubikey',
'security': 3,
'url': path('surfnet_stepup_self_service_self_service_registration_yubikey_prove_possession')
} only %}
{% include 'SurfnetStepupSelfServiceSelfServiceBundle::Registration/partial/secondFactor.html.twig' with {
'type': 'sms',
'security': 2,
'url': path('surfnet_stepup_self_service_self_service_registration_sms_send_challenge')
} only %}
</div>
{% endblock %}
|
Add pure JavaScript implementation for flash alerts | {% block alert %}
{% stylesheets
"@RasFlashAlertBundle/Resources/public/css/alerts.css"
output = 'css/alert/alerts.css'
%}
<link rel="stylesheet" href="{{ asset_url }}" />
{% endstylesheets %}
{% for alert in flashAlerts %}
<div class="alert alert-{{ alert.type }}">
<button type="button" class="close" data-dismiss="alert">×</button>
{{ alert.message | raw }}
</div>
{% endfor %}
{% endblock %}
| {% stylesheets
"@RasFlashAlertBundle/Resources/public/css/alerts.css"
output = 'css/alert/alerts.css'
%}
<link rel="stylesheet" href="{{ asset_url }}" />
{% endstylesheets %}
<div id="ras-flash-alerts">
{% for alert in flashAlerts %}
<div class="alert alert-{{ alert.type }}">
<button type="button" class="close">×</button>
{{ alert.message | raw }}
</div>
{% endfor %}
</div>
<script type="text/javascript">
// Pure JavaScript implementation for flash alerts
window.onload = function () {
var elements = document.getElementById("ras-flash-alerts")
.getElementsByTagName('button');
for (var i in elements) {
if ((" " + elements[i].className + " ").indexOf("close") > -1) {
elements[i].onclick = function () {
this.parentNode.style.display = 'none';
};
}
}
}
</script>
|
Add a legend for screenreaders | {#=== INIT ===========================================================================================================#}
{% set attributes_fieldset = {
class: 'form-group',
data_bolt_field: block('fieldset_type'),
data_bolt_fconf: fieldset_conf|default() is iterable ? fieldset_conf : null
} %}
{% set attributes_label = {
class: block('fieldset_label_class') ~ (block('fieldset_label_class') == 'col-xs-12' ? '' : ' control-label'),
for: block('fieldset_label_for'),
} %}
{% if block('fieldset_label_info') %}
{% set field_label = macro.infopop(block('fieldset_label_text'), block('fieldset_label_info')) %}
{% else %}
{% set field_label = block('fieldset_label_text') %}
{% endif %}
{#=== OUTPUT =========================================================================================================#}
<fieldset{{ macro.attr(attributes_fieldset) }}>
<label{{ macro.attr(attributes_label) }}>{{ field_label }}</label>
{% block fieldset_controls %}{% endblock fieldset_controls %}
</fieldset>
| {#=== INIT ===========================================================================================================#}
{% set attributes_fieldset = {
class: 'form-group',
data_bolt_field: block('fieldset_type'),
data_bolt_fconf: fieldset_conf|default() is iterable ? fieldset_conf : null
} %}
{% set attributes_label = {
class: block('fieldset_label_class') ~ (block('fieldset_label_class') == 'col-xs-12' ? '' : ' control-label'),
for: block('fieldset_label_for'),
} %}
{% if block('fieldset_label_info') %}
{% set field_label = macro.infopop(block('fieldset_label_text'), block('fieldset_label_info')) %}
{% else %}
{% set field_label = block('fieldset_label_text') %}
{% endif %}
{#=== OUTPUT =========================================================================================================#}
<fieldset{{ macro.attr(attributes_fieldset) }}>
<legend class="sr-only">{% block fieldset_label_text %}{% endblock fieldset_label_text %}</legend>
<label{{ macro.attr(attributes_label) }}>{{ field_label }}</label>
{% block fieldset_controls %}{% endblock fieldset_controls %}
</fieldset>
|
Fix button to say Save instead of Add User on Edit User Page | {% include '_header.twig' with { 'active':'settings' } %}
{% form_theme form 'form_bolt_layout.twig' %}
<h1>{{title}}</h1>
<form action="#" method="post" class="form-inline" autocomplete="off">
{{ form_widget(form) }}
<input type="submit" value="Add user" name="submit" class="btn btn-primary" />
</form>
{% include '_footer.twig' %}
| {% include '_header.twig' with { 'active':'settings' } %}
{% form_theme form 'form_bolt_layout.twig' %}
<h1>{{title}}</h1>
<form action="#" method="post" class="form-inline" autocomplete="off">
{{ form_widget(form) }}
<input type="submit" value="Save" name="submit" class="btn btn-primary" />
</form>
{% include '_footer.twig' %}
|
Resolve default language not reachable with http_accept_language | <ul class="dropdown">
<li>
{% set langobj = grav['language'] %}
{% set key = langswitcher.current %}
{% set language = langswitcher.languages[key] %}
{% set lang_url = base_url_simple ~ langobj.getLanguageURLPrefix(key)~langswitcher.page_route ?: '/' %}
<a id="language-current" hreflang="{{key}}" rel="alternate" href="{{ lang_url ~ uri.params }}" class="language-toggler"><i class="icon fa-globe"></i> <span>{{ native_name(key)|capitalize }}</span></a>
<ul class="overthrow">
{% for key in langswitcher.languages %}
{% if key != langswitcher.current %}
{% set lang_url = base_url_simple ~ langobj.getLanguageURLPrefix(key)~langswitcher.page_route ?: '/' %}
<li><a hreflang="{{key}}" rel="alternate" href="{{ lang_url ~ uri.params }}"><span>{{ native_name(key)|capitalize }}</span></a></li>
{% endif %}
{% endfor %}
<li><a target="_blank" href="{{ theme_config.github.tree ~ 'README.md#translations' }}"><i class="fa fa-github"></i> <span>{{ "MSG_HELP_TRANSLATE"|t }}</span></a></li>
</ul>
</li>
</ul>
| <ul class="dropdown">
<li>
{% set langobj = grav['language'] %}
{% set key = langswitcher.current %}
{% set language = langswitcher.languages[key] %}
{% set lang_url = base_url_simple ~ langobj.getLanguageURLPrefix(key)~langswitcher.page_route ?: langobj.getDefault() %}
<a id="language-current" hreflang="{{key}}" rel="alternate" href="{{ lang_url ~ uri.params }}" class="language-toggler"><i class="icon fa-globe"></i> <span>{{ native_name(key)|capitalize }}</span></a>
<ul class="overthrow">
{% for key in langswitcher.languages %}
{% if key != langswitcher.current %}
{% set lang_url = base_url_simple ~ langobj.getLanguageURLPrefix(key)~langswitcher.page_route ?: langobj.getDefault() %}
<li><a hreflang="{{key}}" rel="alternate" href="{{ lang_url ~ uri.params }}"><span>{{ native_name(key)|capitalize }}</span></a></li>
{% endif %}
{% endfor %}
<li><a target="_blank" href="{{ theme_config.github.tree ~ 'README.md#translations' }}"><i class="fa fa-github"></i> <span>{{ "MSG_HELP_TRANSLATE"|t }}</span></a></li>
</ul>
</li>
</ul>
|
Add twig block for collections | {% set collection = (collection is defined) ? collection : 'blocks' %}
{% set element = (element is defined) ? element : 'main' %}
{% set blocks = (blocks is defined) ? blocks : content[collection] %}
<{{ element }} property='{{ collection }}' typeof='collection'>
{% for index,block in blocks %}
{% include '@ConnectHollandSuluBlock/html5/'~block.type~'.html.twig'
with {
block: block,
rel: collection,
blockview: view[collection][index]
}
%}
{% endfor %}
</{{ element }}>
| {% set collection = (collection is defined) ? collection : 'blocks' %}
{% set element = (element is defined) ? element : 'main' %}
{% set blocks = (blocks is defined) ? blocks : content[collection] %}
{% block block_collection %}
<{{ element }} property='{{ collection }}' typeof='collection'>
{% block block_collection_content %}
{% for index,block in blocks %}
{% include '@ConnectHollandSuluBlock/html5/'~block.type~'.html.twig'
with {
block: block,
rel: collection,
blockview: view[collection][index]
}
%}
{% endfor %}
{% endblock %}
</{{ element }}>
{% endblock %}
|
Add provinceName field to Address [AddresingBundle] Fix BulidAdddresFormSubscriberSpec | <address>
<strong>{{ address.firstName }} {{ address.lastName }}</strong>
{% if address.company %}
{{ address.company }}<br/>
{% endif %}
{{ address.phoneNumber }}<br/>
{{ address.street }}<br/>
{{ address.city }}<br/>
{% if address.provinceCode %}
{{ address.provinceCode|sylius_province_abbreviation }}<br/>
{% endif %}
<i class="{{ address.countryCode|lower }} flag"></i>
{{ address.countryCode|sylius_country_name|upper }} {{ address.postcode }}
</address>
| <address>
<strong>{{ address.firstName }} {{ address.lastName }}</strong>
{% if address.company %}
{{ address.company }}<br/>
{% endif %}
{{ address.phoneNumber }}<br/>
{{ address.street }}<br/>
{{ address.city }}<br/>
{% if address.provinceCode %}
{{ address.provinceCode|sylius_province_abbreviation }}<br/>
{% elseif address.provinceName %}
{{ address.provinceName }}<br/>
{% endif %}
<i class="{{ address.countryCode|lower }} flag"></i>
{{ address.countryCode|sylius_country_name|upper }} {{ address.postcode }}
</address>
|
Update iframe links for U16 Extra | <table>
{% for programName, programRoutes in routes %}
<tr><td class="row-hdr" style="border: 1px solid black;">{{ programName }}</td>
{% for gender, genderUrls in programRoutes %}
<td style="border: 1px solid black;">
{% for age, url in genderUrls %}
{% if age != "U10" %}
{% if programName == 'Extra' %}
{% set age = age ~ cerad_cap_gender(gender) %}
{% if age == 'U16B' %}
<a href="http://2014nationalgames.org/medal-round-u16b/">U16B</a>
{% elseif age == 'U16G' %}
<a href="http://2014nationalgames.org/medal-round-u16g/">U16G</a>
{% else %}
<a href="{{ url }}">{{ age }}</a>
{% endif %}
{% else %}
<a href="{{ url }}">{{ age ~ cerad_cap_gender(gender) }}</a>
{% endif %}
{% endif %}
{% endfor %} {# ages #}
</td>
{% endfor %} {# genders #}
</tr>
{% endfor %}{# programs #}
</table>
| <table>
{% for programName, programRoutes in routes %}
<tr><td class="row-hdr" style="border: 1px solid black;">{{ programName }}</td>
{% for gender, genderUrls in programRoutes %}
<td style="border: 1px solid black;">
{% for age, url in genderUrls %}
{% if age != "U10" %}
{% if programName == 'Extra' %}
{% set age = age ~ cerad_cap_gender(gender) %}
{% if age == 'U16B' %}
<a href="http://zayso.org/natgames2014x/project/natgames/results-poolplay?level=AYSO_U16B_Extra">U16B</a>
{% elseif age == 'U16G' %}
<a href="http://zayso.org/natgames2014x/project/natgames/results-poolplay?level=AYSO_U16G_Extra">U16G</a>
{% else %}
<a href="{{ url }}">{{ age }}</a>
{% endif %}
{% else %}
<a href="{{ url }}">{{ age ~ cerad_cap_gender(gender) }}</a>
{% endif %}
{% endif %}
{% endfor %} {# ages #}
</td>
{% endfor %} {# genders #}
</tr>
{% endfor %}{# programs #}
</table>
|
Fix list views with actions | {% for action in actions %}
{% if 'list' == action.name %}
{% set action_href = request_parameters.referer|default('') ? request_parameters.referer|easyadmin_urldecode : path('easyadmin', request_parameters|merge({ action: 'list' })) %}
{% elseif 'method' == action.type %}
{% set action_href = path('easyadmin', request_parameters|merge({ action: action.name, id: item_id })) %}
{% elseif 'route' == action.type %}
{% set action_href = path(action.name, request_parameters|merge({ action: action.name, id: item_id })) %}
{% endif %}
{% set confirm = false %}
{% if action.confirm is defined %}
{% set confirm = (action.confirm|trans({}, translation_domain))|default('confirm_modal.content'|trans({}, 'EasyAdminBundle')) %}
{% endif %}
{{ include(action.template, {
action: action,
action_href: action_href,
is_dropdown: is_dropdown|default(false),
item: item,
item_id: item_id,
request_parameters: request_parameters,
translation_domain: translation_domain,
trans_parameters: trans_parameters,
confirm: confirm
}, with_context = false) }}
{% endfor %}
| {% for action in actions %}
{% if 'list' == action.name %}
{% set action_href = request_parameters.referer|default('') ? request_parameters.referer|easyadmin_urldecode : path('easyadmin', request_parameters|merge({ action: 'list' })) %}
{% elseif 'method' == action.type %}
{% set action_href = path('easyadmin', request_parameters|merge({ action: action.name, id: item_id })) %}
{% elseif 'route' == action.type %}
{% set action_href = path(action.name, request_parameters|merge({ action: action.name, id: item_id })) %}
{% endif %}
{% set confirm = false %}
{% if action.confirm is defined %}
{% set confirm = (action.confirm|trans({}, translation_domain))|default('confirm_modal.content'|trans({}, 'EasyAdminBundle')) %}
{% endif %}
{{ include(action.template|default('@EasyAdmin/default/action.html.twig'), {
action: action,
action_href: action_href,
is_dropdown: is_dropdown|default(false),
item: item|default,
item_id: item_id,
request_parameters: request_parameters,
translation_domain: translation_domain,
trans_parameters: trans_parameters,
confirm: confirm
}, with_context = false) }}
{% endfor %}
|
Fix to show the latest feed image | {% for post in feed|slice(1, count) %}
<li><a href="{{ post.link }}" target="_blank"><img src="{{ post.image }}" alt=""></a></li>
{% endfor %} | {% for post in feed|slice(0, count) %}
<li><a href="{{ post.link }}" target="_blank"><img src="{{ post.image }}" alt=""></a></li>
{% endfor %}
|
Fix version number in platform and crm - Fixed current version | {% extends "OroUIBundle:Default:index.html.twig" %}
{% oro_title_set({titleTemplate: 'Dashboard'}) %}
{% block content %}
<div class="span2">
<h2>UI</h2>
<a class="btn" href="{{ path('oro_ui_index') }}">Run demo</a>
</div>
<div class="span2">
<h2>Search</h2>
<a class="btn" href="{{ path('acme_demo_advanced_search') }}">Run demo</a>
</div>
<div class="span2">
<h2>User</h2>
<a class="btn" href="{{ path('oro_user_index') }}">Run demo</a>
</div>
<div class="span3">
<h2>Measure</h2>
<a class="btn" href="{{ path('acme_demomeasure_measure_index') }}">Run demo</a>
</div>
<div class="span3">
<h2>Filter</h2>
<a class="btn" href="{{ path('acme_demo_filterbundle_demo_frontend') }}">Run demo</a>
</div>
<div class="span2">
<h2>Workflow</h2>
<a class="btn" href="{{ path('acme_demoworkflow_phonecall_list') }}">Run demo</a>
</div>
<div class="version-container">
{# TODO Replace hardcoded version with data from backend #}
<strong>Version:</strong> 1.0.0-alpha5
</div>
{% endblock %}
| {% extends "OroUIBundle:Default:index.html.twig" %}
{% oro_title_set({titleTemplate: 'Dashboard'}) %}
{% block content %}
<div class="span2">
<h2>UI</h2>
<a class="btn" href="{{ path('oro_ui_index') }}">Run demo</a>
</div>
<div class="span2">
<h2>Search</h2>
<a class="btn" href="{{ path('acme_demo_advanced_search') }}">Run demo</a>
</div>
<div class="span2">
<h2>User</h2>
<a class="btn" href="{{ path('oro_user_index') }}">Run demo</a>
</div>
<div class="span3">
<h2>Measure</h2>
<a class="btn" href="{{ path('acme_demomeasure_measure_index') }}">Run demo</a>
</div>
<div class="span3">
<h2>Filter</h2>
<a class="btn" href="{{ path('acme_demo_filterbundle_demo_frontend') }}">Run demo</a>
</div>
<div class="span2">
<h2>Workflow</h2>
<a class="btn" href="{{ path('acme_demoworkflow_phonecall_list') }}">Run demo</a>
</div>
<div class="version-container">
{# TODO Replace hardcoded version with data from backend #}
<strong>Version:</strong> 1.0.0-alpha6
</div>
{% endblock %}
|
Make our analysis widget contain links. | {# This file is generated by the Spoon2Twig Converter #}
{% if warnings %}
<div id="widgetSettingsAnalyse" class="panel panel-primary">
<div class="panel-heading">
<h2 class="panel-title">{{ 'lbl.Analysis'|trans|capitalize }}</h2>
</div>
<div class="panel-body">
<ul>
{% for warning in warnings %}
<li>{{ warning.message }}</li>
{% endfor %}
</ul>
</div>
</div>
{% endif %}
| {# This file is generated by the Spoon2Twig Converter #}
{% if warnings %}
<div id="widgetSettingsAnalyse" class="panel panel-primary">
<div class="panel-heading">
<h2 class="panel-title">{{ 'lbl.Analysis'|trans|capitalize }}</h2>
</div>
<div class="panel-body">
<ul>
{% for warning in warnings %}
<li>{{ warning.message | raw }}</li>
{% endfor %}
</ul>
</div>
</div>
{% endif %}
|
Add a link to the github project | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Pairfony - where passionate PHP developers come to perfect their craft</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
{% stylesheets '@ObPairfonyBundle/Resources/public/css/*' output='css/styles.css' %}
<link rel="stylesheet" href="{{ asset_url }}" />
{% endstylesheets %}
</head>
<body>
<div class="pf-container">
<img class="pf-logo" src="/bundles/obpairfony/img/pairfony-header.png" alt=""/>
<p class="pf-tagline">
Pairfony is the place where passionate PHP developers of all levels come to meet and perfect their craft.
</p>
{% if app.user is not null %}
<a id="github-button" class="pf-button" href="{{ path('logout') }}">
Logout
</a>
{% else %}
<a id="github-button" class="pf-button" href="{{ hwi_oauth_login_url('github') }}">
Sign in with github
</a>
{% endif %}
<div class="pf-beta">
<h1>Oh hai{% if app.user is not null %} <span class="blue">{{ app.user.username }}</span> {% endif %}!</h1>
<p>Nothing to see yet, come back later...</p>
</div>
</div>
</body>
</html> | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Pairfony - where passionate PHP developers come to perfect their craft</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
{% stylesheets '@ObPairfonyBundle/Resources/public/css/*' output='css/styles.css' %}
<link rel="stylesheet" href="{{ asset_url }}" />
{% endstylesheets %}
</head>
<body>
<div class="pf-container">
<img class="pf-logo" src="/bundles/obpairfony/img/pairfony-header.png" alt=""/>
<p class="pf-tagline">
Pairfony is the place where passionate PHP developers of all levels come to meet and perfect their craft.
</p>
{% if app.user is not null %}
<a id="github-button" class="pf-button" href="{{ path('logout') }}">
Logout
</a>
{% else %}
<a id="github-button" class="pf-button" href="{{ hwi_oauth_login_url('github') }}">
Sign in with github
</a>
{% endif %}
<div class="pf-beta">
<h1>Oh hai{% if app.user is not null %} <span class="blue">{{ app.user.username }}</span> {% endif %}!</h1>
<p>Nothing to see yet, watch <a class="blue" href="https://github.com/marcaube/Pairfony">the project on GitHub</a></p>
</div>
</div>
</body>
</html> |
Rename method submit to formSubmit | {% extends "base/class.php.twig" %}
{% block file_path %}
Drupal\{{module}}\Entity\Form\{{ entity_class }}DeleteForm.
{% endblock %}
{% block namespace_class %}
namespace Drupal\{{module}}\Entity\Form;
{% endblock %}
{% block use_class %}
use Drupal\Core\Entity\ContentEntityConfirmFormBase;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Url;
{% endblock %}
{% block class_declaration %}
/**
* Provides a form for deleting a {{ entity_class }} entity.
*
* @ingroup {{module}}
*/
class {{ entity_class }}DeleteForm extends ContentEntityConfirmFormBase
{% endblock %}
{% block class_methods %}
/**
* {@inheritdoc}
*/
public function getQuestion() {
return t('Are you sure you want to delete entity %name?', array('%name' => $this->entity->label()));
}
/**
* {@inheritdoc}
*/
public function getCancelUrl() {
return new Url('{{ entity_name }}.list');
}
/**
* {@inheritdoc}
*/
public function getConfirmText() {
return t('Delete');
}
/**
* {@inheritdoc}
*/
public function submit(array $form, FormStateInterface $form_state) {
$this->entity->delete();
watchdog('content', '@type: deleted %title.', array('@type' => $this->entity->bundle(), '%title' => $this->entity->label()));
$form_state->setRedirect('{{ entity_name }}.list');
}
{% endblock %}
| {% extends "base/class.php.twig" %}
{% block file_path %}
Drupal\{{module}}\Entity\Form\{{ entity_class }}DeleteForm.
{% endblock %}
{% block namespace_class %}
namespace Drupal\{{module}}\Entity\Form;
{% endblock %}
{% block use_class %}
use Drupal\Core\Entity\ContentEntityConfirmFormBase;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Url;
{% endblock %}
{% block class_declaration %}
/**
* Provides a form for deleting a {{ entity_class }} entity.
*
* @ingroup {{module}}
*/
class {{ entity_class }}DeleteForm extends ContentEntityConfirmFormBase
{% endblock %}
{% block class_methods %}
/**
* {@inheritdoc}
*/
public function getQuestion() {
return t('Are you sure you want to delete entity %name?', array('%name' => $this->entity->label()));
}
/**
* {@inheritdoc}
*/
public function getCancelUrl() {
return new Url('{{ entity_name }}.list');
}
/**
* {@inheritdoc}
*/
public function getConfirmText() {
return t('Delete');
}
/**
* {@inheritdoc}
*/
public function submitForm(array &$form, FormStateInterface $form_state) {
$this->entity->delete();
watchdog('content', '@type: deleted %title.', array('@type' => $this->entity->bundle(), '%title' => $this->entity->label()));
$form_state->setRedirect('{{ entity_name }}.list');
}
{% endblock %}
|
Add an ability to set a class | {% block yandex_maps_widget %}
<div id="{{ form.vars.id }}" style="width: {{ form.vars.width }}px; height: {{ form.vars.height }}px;"></div>
{% for child in form %}
{% if child.vars.value is empty %}
{{ form_row(child, {
value: form.vars.default[child.vars.name]
}) }}
{% else %}
{{ form_row(child) }}
{% endif %}
{% endfor %}
<script>
new YandexMapsWidgetClass('{{ form.vars.id }}');
</script>
{% endblock %} | {% block yandex_maps_widget %}
<div id="{{ form.vars.id }}" class="{{ attr.class }}" style="width: {{ form.vars.width }}px; height: {{ form.vars.height }}px;"></div>
{% for child in form %}
{% if child.vars.value is empty %}
{{ form_row(child, {
value: form.vars.default[child.vars.name]
}) }}
{% else %}
{{ form_row(child) }}
{% endif %}
{% endfor %}
<script>
new YandexMapsWidgetClass('{{ form.vars.id }}');
</script>
{% endblock %}
|
Fix promotion template to fit with wireframes | {% extends "ProjectAppBundle::layout.html.twig" %}
{% block content %}
<h2>Promotions</h2>
<div class="bloc-top">
<a class="btn btn-second" href="{{ path('promotion_new') }}">Ajouter une promotion</a>
</div>
<div class="panel-group">
{% if promotions is empty %}
<div class="panel-item">
<div class="panel-content">
Aucune promotion n'est actuellement disponible.
</div>
</div>
{% else %}
{% for promotion in promotions %}
<div class="panel-item">
<div class="panel-content">
<div class="panel-header">
<h3 class="pull-left">{{ promotion.startDate|date('Y') }} - {{ promotion.endDate|date('Y') }}</h3>
</div>
<div class="panel-content">
Formation : {{ promotion.formation.name }}
<div class="pull-right">
<a class="btn btn-second" href="{{ path('promotion_show', { 'id': promotion.id }) }}">Gérer</a>
<a class="btn btn-second" href="{{ path('promotion_show', { 'id': promotion.id }) }}">Archiver</a>
</div>
</div>
</div>
</div>
{% endfor %}
{% endif %}
</div>
<div class="bloc-bottom">
<a class="btn btn-second" href="{{ path('promotion_new') }}">Ajouter une promotion</a>
</div>
{% endblock %}
| {% extends "ProjectAppBundle::layout.html.twig" %}
{% block content %}
<div class="bloc-top">
<a class="btn btn-second" href="{{ path('promotion_new') }}">Ajouter une promotion</a>
</div>
<div class="panel-group">
{% if promotions is empty %}
<div class="panel-item">
<div class="panel-content">
Aucune promotion n'est actuellement disponible.
</div>
</div>
{% else %}
{% for promotion in promotions %}
<div class="panel-item">
<div class="panel-content">
<div class="panel-header">
<h3 class="pull-left">{{ promotion.startDate|date('Y') }} - {{ promotion.endDate|date('Y') }}</h3>
</div>
<div class="panel-content">
Formation : {{ promotion.formation.name }}
<div class="pull-right">
<a class="btn btn-second" href="{{ path('promotion_show', { 'id': promotion.id }) }}">Gérer</a>
<a class="btn btn-second" href="{{ path('promotion_show', { 'id': promotion.id }) }}">Archiver</a>
</div>
</div>
</div>
</div>
{% endfor %}
{% endif %}
</div>
{% endblock %}
|
Add fallback to app.php for images which are not in the cache | server {
listen {{port}};
server_name {% for alias in aliases %}{{alias}} {% endfor %};
root {{root}};
error_log {{error_log}};
access_log {{access_log}};
location ~* \.(jpg|jpeg|png|gif|ico|css|js|svg|woff)$ {
expires 365d;
}
{% for config in configs %}
include {{config}};
{% endfor %}
}
| server {
listen {{port}};
server_name {% for alias in aliases %}{{alias}} {% endfor %};
root {{root}};
error_log {{error_log}};
access_log {{access_log}};
location ~* \.(jpg|jpeg|png|gif|ico|css|js|svg|woff)$ {
expires 365d;
try_files $uri /app.php$is_args$args;
}
{% for config in configs %}
include {{config}};
{% endfor %}
}
|
Update style for password change page | {##
# This file is part of CSBill package.
#
# (c) 2013-2014 Pierre du Plessis <info@customscripts.co.za>
#
# This source file is subject to the MIT license that is bundled
# with this source code in the file LICENSE.
#}
{% extends "CSBillCoreBundle:Layout:single_column.html.twig" %}
{% block title %}{{ "Change Password" }}{% endblock title %}
{% block content %}
{% include "FOSUserBundle:ChangePassword:changePassword_content.html.twig" %}
{% endblock content %}
| {##
# This file is part of CSBill package.
#
# (c) 2013-2014 Pierre du Plessis <info@customscripts.co.za>
#
# This source file is subject to the MIT license that is bundled
# with this source code in the file LICENSE.
#}
{% extends "CSBillCoreBundle:Layout:single_column.html.twig" %}
{% block title %}{{ "Change Password" }}{% endblock title %}
{% block content %}
<div class="widget">
{{ form_start(form) }}
{{ form_row(form) }}
<div>
<button type="submit" class="btn btn-primary">
{{ icon('save') }} {{ 'change_password.submit'|trans({}, 'FOSUserBundle') }}
</button>
<a href="{{ path('fos_user_profile_show') }}" class="btn btn-warning">
{{ icon('ban') }} {{ 'profile.edit.cancel'|trans }}
</a>
</div>
{{ form_end(form) }}
</div>
{% endblock content %}
|
Update Form theme file for Symfony 2.1 (fix deprecations) | {% extends 'form_div_layout.html.twig' %}
{% block field_label %}
{% spaceless %}
{% set attr = attr|merge({'class': attr.class|default('') ~ ' control-label'}) %}
{% set attr = attr|merge({'for': id}) %}
{{ block('generic_label') }}
{% endspaceless %}
{% endblock field_label %}
{% block field_row %}
{% spaceless %}
<div class="control-group">
{{ form_label(form, label|default(null)) }}
{{ form_errors(form) }}
<div class="controls">
{{ form_widget(form) }}
</div>
</div>
{% endspaceless %}
{% endblock field_row %}
| {% extends 'form_div_layout.html.twig' %}
{% block form_label %}
{% set label_attr = label_attr|merge({'class': (label_attr.class|default('') ~ ' control-label')|trim}) %}
{{parent()}}
{% endblock %}
{% block form_row %}
{% spaceless %}
<div class="control-group">
{{ form_label(form, label|default(null)) }}
{#
If the child is a compound form, the errors are rendered inside
the container. See also block form_rows.
#}
{% if not compound %}
{{ form_errors(form) }}
{% endif %}
<div class="controls">
{{ form_widget(form) }}
</div>
</div>
{% endspaceless %}
{% endblock form_row %}
|
Set the correct component namespace | <div is="wps-main-template">
<section class="pageWrapper">
<header class="mainHeader">
{{ area('mainHeader') }}
</header>
<main class="mainContent">
{{ area('pageComponents') }}
</main>
<footer class="mainFooter">
{{ area('mainFooter') }}
</footer>
</section>
</div>
| <div is="flynt-main-template">
<section class="pageWrapper">
<header class="mainHeader">
{{ area('mainHeader') }}
</header>
<main class="mainContent">
{{ area('pageComponents') }}
</main>
<footer class="mainFooter">
{{ area('mainFooter') }}
</footer>
</section>
</div>
|
Use the actual correct url to simplesamlphp.org | <div id="footer">
<div class="wrap">
<div class="center copyrights dark-bg">
<br>Copyright © 2007-2018
<a href="https://www.simeplsamlphp.org/">SimpleSAMLphp</a>
</div>
<div class="logo-footer-right">
<div class="logo-footer">
<img class="pure-img" src="/{{ baseurlpath }}resources/icons/ssplogo-fish-small.png" alt="Small fish logo">
</div>
</div>
</div>
</div>
| <div id="footer">
<div class="wrap">
<div class="center copyrights dark-bg">
<br>Copyright © 2007-2018
<a href="https://simplesamlphp.org/">SimpleSAMLphp</a>
</div>
<div class="logo-footer-right">
<div class="logo-footer">
<img class="pure-img" src="/{{ baseurlpath }}resources/icons/ssplogo-fish-small.png" alt="Small fish logo">
</div>
</div>
</div>
</div>
|
Fix import macro icon in macro infoTooltip | {% macro buttonIcon(url, icon, label, buttonType, extra) %}
<a href="{{ url }}" class="btn {{ buttonType|default('btn-default') }}" title="{{ label }}" {{ extra }}>
{% import _self as macro %}
{{ macro.icon(icon) }}
<span class="btn-text">{{ label }}</span>
</a>
{% endmacro %}
{% macro required() %}
<abbr tabindex="0" data-toggle="tooltip" aria-label="{{ 'lbl.RequiredField'|trans|ucfirst }}" title="{{ 'lbl.RequiredField'|trans|ucfirst }}">*</abbr>
{% endmacro %}
{% macro icon(icon) %}
<span class="fa fa-{{ icon }}" aria-hidden="true"></span>
{% endmacro %}
{% macro infoTooltip(title) %}
<abbr tabindex="0" data-toggle="tooltip" aria-label="{{ title }}" title="{{ title }}">{{ _self.icon('info-circle') }}</abbr>
{% endmacro %}
{% macro dataGrid(dataGrid, noItemsMessage) %}
<div class="row">
<div class="col-md-12">
{% if dataGrid %}
<div class="table-responsive">
{{ dataGrid|raw }}
</div>
{% else %}
<p>
{% if noItemsMessage %}
{{ noItemsMessage|raw }}
{% else %}
{{ 'msg.NoItems'|trans|raw }}
{% endif %}
</p>
{% endif %}
</div>
</div>
{% endmacro %}
| {% macro buttonIcon(url, icon, label, buttonType, extra) %}
<a href="{{ url }}" class="btn {{ buttonType|default('btn-default') }}" title="{{ label }}" {{ extra }}>
{% import _self as macro %}
{{ macro.icon(icon) }}
<span class="btn-text">{{ label }}</span>
</a>
{% endmacro %}
{% macro required() %}
<abbr tabindex="0" data-toggle="tooltip" aria-label="{{ 'lbl.RequiredField'|trans|ucfirst }}" title="{{ 'lbl.RequiredField'|trans|ucfirst }}">*</abbr>
{% endmacro %}
{% macro icon(icon) %}
<span class="fa fa-{{ icon }}" aria-hidden="true"></span>
{% endmacro %}
{% macro infoTooltip(title) %}
{% import _self as macro %}
<abbr tabindex="0" data-toggle="tooltip" aria-label="{{ title }}" title="{{ title }}">{{ macro.icon('info-circle') }}</abbr>
{% endmacro %}
{% macro dataGrid(dataGrid, noItemsMessage) %}
<div class="row">
<div class="col-md-12">
{% if dataGrid %}
<div class="table-responsive">
{{ dataGrid|raw }}
</div>
{% else %}
<p>
{% if noItemsMessage %}
{{ noItemsMessage|raw }}
{% else %}
{{ 'msg.NoItems'|trans|raw }}
{% endif %}
</p>
{% endif %}
</div>
</div>
{% endmacro %}
|
Fix permissions with lastest build | {% block from %}
FROM jolicode/base:latest
{% endblock %}
{% block content %}
{% endblock %}
ENV WORKDIR $HOME/project
ADD . $WORKDIR
WORKDIR ~/project
{% block env %}{% endblock %}
{% block before_install %}{% endblock %}
{% block install %}{% endblock %}
{% block before_script %}{% endblock %}
{% block script %}{% endblock %} | {% block from %}
FROM jolicode/base:latest
{% endblock %}
{% block content %}
{% endblock %}
ENV WORKDIR $HOME/project
ADD . $WORKDIR
WORKDIR $HOME/project
RUN sudo chown travis:travis -R $HOME/project
{% block env %}{% endblock %}
{% block before_install %}{% endblock %}
{% block install %}{% endblock %}
{% block before_script %}{% endblock %}
{% block script %}{% endblock %} |
Change the submit form size | {% extends 'AppMainBundle::layout.html.twig' %}
{% block main %}
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="submit">
<h2>Add your own plays!</h2>
{{ form_start(form) }}
{{ form_row(form.title) }}
{{ form_row(form.author) }}
{{ form_row(form.url) }}
{{ form_end(form) }}
</submit>
</div>
</div>
</div>
{% endblock %}
| {% extends 'AppMainBundle::layout.html.twig' %}
{% block main %}
<div class="container">
<div class="row">
<div class="col-md-6 col-md-offset-3">
<div class="submit">
<h2>Add your own plays!</h2>
{{ form_start(form) }}
{{ form_row(form.title) }}
{{ form_row(form.author) }}
{{ form_row(form.url) }}
{{ form_end(form) }}
</submit>
</div>
</div>
</div>
{% endblock %}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.