wbzyl-seminarium 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :minor: 1
3
- :patch: 6
3
+ :patch: 8
4
4
  :major: 0
@@ -0,0 +1,13 @@
1
+ require 'seminarium'
2
+
3
+ gem 'wbzyl-rack-codehighlighter'
4
+ require 'rack/codehighlighter'
5
+
6
+ gem 'ultraviolet'
7
+ require 'uv'
8
+
9
+ use Rack::ShowExceptions
10
+ #use Rack::Lint
11
+ use Rack::Codehighlighter, :ultraviolet
12
+
13
+ run Seminarium::Rails.new
@@ -1,4 +1,14 @@
1
+ /* hack for RDiscount comments */
2
+
3
+ h4 {
4
+ display: none;
5
+ }
6
+
1
7
  html {
8
+ /* http://www.hicksdesign.co.uk/journal/forcing-scrollbars-now-even-better */
9
+ height: 100%;
10
+ margin-bottom: 1px;
11
+
2
12
  background: #121621 url(src/shattered_mirror.png);
3
13
  }
4
14
 
@@ -6,7 +16,10 @@ body {
6
16
  width: 913px;
7
17
  margin: 40px 0px 0px 42px;
8
18
  padding: 0 0 11px 22px;
9
- line-height: 1.6;
19
+
20
+ font-family: "DejaVu Sans", "PakTypeNaqsh", "Trebuchet MS", sans-serif ;
21
+ line-height: 28px;
22
+
10
23
  background-color: red;
11
24
  background: transparent url(src/body.png) repeat-y;
12
25
  }
@@ -21,7 +34,7 @@ body {
21
34
  h1 {
22
35
  width: 847px;
23
36
  margin: 0 0 22px -22px;
24
- padding: 8px 22px 8px 44px;
37
+ padding: 28px 22px 28px 44px;
25
38
  font-family: Airmole Stripe, Times, serif;
26
39
  font-weight: normal;
27
40
  font-size: 333%;
@@ -39,6 +52,7 @@ h2, h3, h4 {
39
52
  }
40
53
 
41
54
  h2 {
55
+ padding-bottom: 8px;
42
56
  border-bottom: 2px dotted black;
43
57
  }
44
58
 
@@ -47,11 +61,14 @@ blockquote {
47
61
  width: 341px;
48
62
  margin-left: 561px;
49
63
  */
64
+ font-size: 90%;
65
+ line-height: 1.5;
50
66
  width: 275px;
51
67
  margin: 0 0 0 583px;
52
68
  padding: 11px 11px 0 11px;
53
69
  position: absolute;
54
- background: rgb(252, 229, 192);
70
+ color: #800;
71
+ background-color: rgb(252, 229, 192);
55
72
  -moz-border-radius: 4px;
56
73
  }
57
74
 
@@ -61,9 +78,9 @@ blockquote img {
61
78
  }
62
79
 
63
80
  blockquote p.author {
64
- margin-top: -1.5em;
81
+ margin-top: -0.5em;
65
82
  padding-right: 44px;
66
- color: black;
83
+ color: #B00;;
67
84
  font-style: italic;
68
85
  text-align: right;
69
86
  }
@@ -17,6 +17,10 @@ module Seminarium
17
17
  set :app_file, __FILE__
18
18
  set :static, true
19
19
 
20
+ def title(name = "Seminarium 2009/2010")
21
+ @title = "Rails 3 | " + name
22
+ end
23
+
20
24
  #set :logging, true
21
25
  end
22
26
  end
File without changes
@@ -4,7 +4,7 @@
4
4
  <meta http-equiv="Content-type" content="text/html; charset=utf-8">
5
5
  <%= stylesheet_link_tag "/stylesheets/rails-2009.css", "/stylesheets/screen.css", "/stylesheets/uv.css" %>
6
6
 
7
- <title><%= @title || "Seminarium 2009/2010" %></title>
7
+ <title><%= @title || "Rails 3 | Seminarium 2009/2010" %></title>
8
8
  </head>
9
9
 
10
10
  <body>
@@ -1,6 +1,17 @@
1
- # Indeks
1
+ # Rails 3
2
2
 
3
- 1. {%= link_to "Kompozycja artykułu, prezentacji, pracy licencjackiej, magisterskiej", "/info/styl-naukowy" %}
3
+ <blockquote>
4
+ {%= image_tag "/images/simpsons.math.png", :alt => "[Simpson &amp; Math]" %}
5
+ <p>
6
+ A piece of program is like a poem, and we can ask if it satisfies our
7
+ aesthetic criteria: Is this argument sound? Does it make sense? Is it
8
+ simple and elegant? Does it get me closer to the heart of the matter?
9
+ </p>
10
+ <p class="author">— Paul Lockhart</p>
11
+ </blockquote>
12
+
13
+ 1. {%= link_to "Kompozycja artykułu i pracy magisterskiej", "/info/styl-naukowy" %}
14
+ 1. {%= link_to "Jekyll – zakładamy bloga", "/info/jekyll" %}
4
15
 
5
16
  ## Prezentacje
6
17
 
@@ -0,0 +1,9 @@
1
+ #### {% title "Jekyll" %}
2
+
3
+ # Jekyll
4
+
5
+ Jekyll is a simple, blog aware, static site generator.
6
+
7
+ * [home](http://wiki.github.com/mojombo/jekyll) — zaczynamy
8
+ od „Getting Started”
9
+
@@ -1,3 +1,5 @@
1
+ #### {% title "Jak pisać pracę?" %}
2
+
1
3
  # Jak pisać pracę mgr?
2
4
 
3
5
  Opracowano na podstawie:
@@ -58,6 +60,19 @@ według następującego ogólnego **planu**:
58
60
  * argumentacja przemawiająca za tezą, wsparta przykładami
59
61
  * zakończenie — wnioski
60
62
 
63
+ <blockquote>
64
+ {%= image_tag "/images/agnieszka_osiecka.jpg", :alt => "[Agnieszka Osiecka]", :title => "Agnieszka Osiecka" %}
65
+ <p>
66
+ Zawsze miała przede wszystkim gotowy tytuł,
67
+ dopiero do niego wymyślała całą resztę,
68
+ często już na planie, w trakcie realizacji,
69
+ nie kłopocząc się zupełnie o całą dokumentację.
70
+ </p>
71
+ <p class="author">Z. Turowska o A. Osieckiej</p>
72
+ </blockquote>
73
+
74
+ <!-- Zofia Turowska, Agnieszki. Pejzaże z Agnieszką Osiecką, s. 92 -->
75
+
61
76
  Każdy praca powinna mieć **tytuł**. Wysiłek włożony w jego
62
77
  obmyślenie jest opłacalny. Zaletami tytułu są prostota
63
78
  i zwięzłość.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wbzyl-seminarium
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wlodek Bzyl
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-06-02 00:00:00 -07:00
12
+ date: 2009-06-12 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -86,8 +86,10 @@ files:
86
86
  - TODO
87
87
  - VERSION.yml
88
88
  - config.ru
89
+ - lib/config.ru
89
90
  - lib/public/doc/neukirchen07introducingrack.pdf
90
91
  - lib/public/favicon.ico
92
+ - lib/public/images/agnieszka_osiecka.jpg
91
93
  - lib/public/images/emurphy.gif
92
94
  - lib/public/images/openquote.gif
93
95
  - lib/public/images/rack-1.png
@@ -96,6 +98,7 @@ files:
96
98
  - lib/public/images/rack-2.svg
97
99
  - lib/public/images/rack-logo.png
98
100
  - lib/public/images/rack-logo.svg
101
+ - lib/public/images/simpsons.math.png
99
102
  - lib/public/javascripts/lang-css.js
100
103
  - lib/public/javascripts/lang-hs.js
101
104
  - lib/public/javascripts/lang-lisp.js
@@ -119,8 +122,10 @@ files:
119
122
  - lib/public/stylesheets/uv.css
120
123
  - lib/seminarium.rb
121
124
  - lib/seminarium/rails.rb
125
+ - lib/tmp/restart.txt
122
126
  - lib/views/info.rdiscount
123
127
  - lib/views/info/index.rdiscount
128
+ - lib/views/info/jekyll.rdiscount
124
129
  - lib/views/info/styl-naukowy.rdiscount
125
130
  - lib/views/slajdy/index.erb
126
131
  - lib/views/slajdy/modularne-aplikacje-www.erb