narou 2.9.0 → 2.9.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of narou might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a962858440f93d650554b2b78407eda291d43c3d
4
- data.tar.gz: b6f3967d9260b6e809f67694be415e6b84d6d80c
3
+ metadata.gz: e6f1f3923a737dce87d92079bd0907296d15cf3c
4
+ data.tar.gz: 9bb46326d69b9b22baf4fd1096c296b8337d6e87
5
5
  SHA512:
6
- metadata.gz: 824990cc1c9702d5fe25ca0ebcb3a0798a323a86010e983c1e00e109424e4199506bc9a577e29860360956e7d7f02a4b1236c1d9ba53513024667f15548da60c
7
- data.tar.gz: f035ecea9bae6033ef969815af1ff32e7ce6c295094bd806d29bcd38348cfc1f6f131de4b9014c92cc02b1aa4b5371e540be15e6fb7c3983bbb76da94ae84a27
6
+ metadata.gz: e17e251b5c19c7dc433a4c29bcf2727359d712fc249cd94cb4f7bd3850883fad3d8249b1ab5237280966655887a76dd7edf0884b10ac61cd2628e4100dc2d64b
7
+ data.tar.gz: 89bd0ff80baeb5632a4f86e3527220b483e7a6eb69b5bd1b6e8cd2e9baec87363a05f5d3c1258c21eb9117d8945c223578a88a6c6835f2350fb564886ad2d602
data/ChangeLog.md CHANGED
@@ -2,6 +2,19 @@
2
2
  更新履歴 - ChangeLog
3
3
  ====================
4
4
 
5
+ 2.9.1 : 2016/03/30
6
+ ------------------
7
+ #### 仕様変更
8
+ - 「メニュー>表示」の、「ボタンを画面下部に固定」を「ボタンを画面下部に表示」
9
+ に変更しました。それに合わせて、「ボタンをページ上部に表示」を追加しました。
10
+ 画面下部にボタンを固定表示した場合でも、今までのボタンを残せるようになります
11
+
12
+ #### 修正
13
+ - inspect コマンドでエラーが出る場合があったのを修正
14
+ - diff コマンドの引数を省略した時にエラーが出ていたのを修正
15
+ - Internet Explorer で WEB UI が正常に動作しない不具合を修正
16
+
17
+
5
18
  2.9.0 : 2016/03/28
6
19
  ------------------
7
20
  #### WEB UI
data/README.md CHANGED
@@ -37,6 +37,19 @@ Narou.rb ― 「小説家になろう」「小説を読もう!」ダウンロ
37
37
  更新履歴 - ChangeLog
38
38
  --------------------
39
39
 
40
+ 2.9.1 : 2016/03/30
41
+ ------------------
42
+ #### 仕様変更
43
+ - 「メニュー>表示」の、「ボタンを画面下部に固定」を「ボタンを画面下部に表示」
44
+ に変更しました。それに合わせて、「ボタンをページ上部に表示」を追加しました。
45
+ 画面下部にボタンを固定表示した場合でも、今までのボタンを残せるようになります
46
+
47
+ #### 修正
48
+ - inspect コマンドでエラーが出る場合があったのを修正
49
+ - diff コマンドの引数を省略した時にエラーが出ていたのを修正
50
+ - Internet Explorer で WEB UI が正常に動作しない不具合を修正
51
+
52
+
40
53
  2.9.0 : 2016/03/28
41
54
  ------------------
42
55
  #### WEB UI
data/lib/command/diff.rb CHANGED
@@ -80,14 +80,16 @@ module Command
80
80
  def execute(argv)
81
81
  short_number_option_parse(argv)
82
82
  super
83
- @options["number"] = 1 unless @options["number"]
83
+ @options["number"] ||= 1
84
84
  if argv.empty?
85
- latest = Database.instance.sort_by_last_update.first
85
+ latest = Database.instance.sort_by("last_update").first
86
86
  return unless latest
87
87
  id = latest["id"]
88
+ @novel_data = latest
88
89
  else
89
90
  target = argv.shift
90
- id = Downloader.get_id_by_target(target)
91
+ @novel_data = Downloader.get_data_by_target(target)
92
+ id = @novel_data["id"]
91
93
  end
92
94
  unless id
93
95
  error "#{target} は存在しません"
@@ -132,7 +134,7 @@ module Command
132
134
 
133
135
  def clean_diff(id)
134
136
  cache_root_dir = Downloader.get_cache_root_dir(id)
135
- print Database.instance.get_data("id", id)["title"] + " の"
137
+ print @novel_data["title"] + " の"
136
138
  unless File.exist?(cache_root_dir)
137
139
  puts "差分はひとつもありません"
138
140
  return
@@ -193,14 +195,14 @@ module Command
193
195
  cache_dir = list ? list[nth - 1] : nil
194
196
  end
195
197
  unless cache_dir
196
- puts "差分データがありません"
198
+ puts "#{@novel_data["title"]} の差分データがありません"
197
199
  return nil
198
200
  end
199
201
  cache_section_list = Dir.glob("#{cache_dir}/*.yaml").sort_by { |path|
200
202
  File.basename(path, ".yaml").split(" ", 2)[0].to_i
201
203
  }
202
204
  if cache_section_list.length == 0
203
- puts "最新話のみのアップデートのようです"
205
+ puts "#{@novel_data["title"]} は最新話のみのアップデートのようです"
204
206
  return nil
205
207
  end
206
208
  novel_dir = Downloader.get_novel_section_save_dir(Downloader.get_novel_data_dir_by_target(id))
@@ -241,7 +243,7 @@ module Command
241
243
  def get_diff_list(id)
242
244
  list = {
243
245
  id: id,
244
- title: Database.instance.get_data("id", id)["title"],
246
+ title: @novel_data["title"],
245
247
  list: []
246
248
  }
247
249
  cache_list = get_sorted_cache_list(id)
@@ -303,8 +305,7 @@ module Command
303
305
  def display_diff_on_oneself(id)
304
306
  require_relative "../diffviewer"
305
307
  temp_paths = create_temp_files(id) or return
306
- title = Database.instance.get_data("id", id)["title"]
307
- puts "#{title} の差分を表示します"
308
+ puts "#{@novel_data["title"]} の差分を表示します"
308
309
  DiffViewer.new(*temp_paths).view
309
310
  ensure
310
311
  temp_paths.map(&:delete) if temp_paths
@@ -35,7 +35,7 @@ module Command
35
35
  latest_id = Inventory.load("latest_convert")["id"]
36
36
  if latest_id
37
37
  data = Downloader.get_data_by_target(latest_id)
38
- display_log(data["title"])
38
+ display_log(data)
39
39
  end
40
40
  return
41
41
  end
@@ -47,13 +47,13 @@ module Command
47
47
  error "#{target} は存在しません"
48
48
  next
49
49
  end
50
- display_log(data["title"])
50
+ display_log(data)
51
51
  end
52
52
  end
53
53
 
54
- def display_log(title)
55
- puts "(#{title} の小説状態調査状況ログ)"
56
- novel_setting = NovelSetting.load(title, false, false)
54
+ def display_log(data)
55
+ puts "(#{data["title"]} の小説状態調査状況ログ)"
56
+ novel_setting = NovelSetting.load(data["id"], false, false)
57
57
  puts Inspector.read_messages(novel_setting) || "調査ログがまだ無いようです"
58
58
  end
59
59
  end
data/lib/version.rb CHANGED
@@ -3,4 +3,4 @@
3
3
  # Copyright 2013 whiteleaf. All rights reserved.
4
4
  #
5
5
 
6
- Version = "2.9.0"
6
+ Version = "2.9.1"
@@ -459,7 +459,7 @@ var Narou = (function() {
459
459
  },
460
460
 
461
461
  findItem: function(command) {
462
- return this.items.find(function(item) {
462
+ return _.find(this.items, function(item) {
463
463
  return item.command === command;
464
464
  });
465
465
  },
@@ -341,39 +341,6 @@ $(document).ready(function() {
341
341
  $("#myFilter-clear").hide();
342
342
  }
343
343
 
344
- /*
345
- * コントロールパネル(操作ボタン群)をフッターに移動させる/元に戻す
346
- */
347
- var fixed_buttons = storage.get("buttons_fix_footer");
348
-
349
- function fix_buttons_to_footer() {
350
- refreshTooltop(
351
- $("#control-panel > div")
352
- .appendTo("#footer-navbar > .container")
353
- .addClass("in-footer dropup")
354
- .find("[data-toggle=tooltip]")
355
- .data("placement", "top")
356
- );
357
- table.fireChangeSelect();
358
- $("#footer-navbar").removeClass("hide");
359
- }
360
-
361
- function cancel_fix_buttons() {
362
- $("#footer-navbar").addClass("hide");
363
- refreshTooltop(
364
- $("#footer-navbar > .container > div")
365
- .appendTo("#control-panel")
366
- .removeClass("in-footer dropup")
367
- .find("[data-toggle=tooltip]")
368
- .data("placement", "bottom")
369
- );
370
- table.fireChangeSelect();
371
- }
372
-
373
- if (fixed_buttons) {
374
- fix_buttons_to_footer();
375
- }
376
-
377
344
  /*
378
345
  * 凍結の表示状態制御
379
346
  */
@@ -393,6 +360,7 @@ $(document).ready(function() {
393
360
  visibility_frozen_novel = storage.get("visibility_frozen_novel");
394
361
  visibility_nonfrozen_novel = storage.get("visibility_nonfrozen_novel");
395
362
  var visibility_open_new_tab = storage.get("open_new_tab_setting_pages");
363
+ var visibility_buttons_hide_page_top = !storage.get("buttons_hide_page_top");
396
364
  var visibility_buttons_fix_footer = storage.get("buttons_fix_footer");
397
365
  if (typeof visibility_frozen_novel === "undefined")
398
366
  visibility_frozen_novel = true;
@@ -400,6 +368,8 @@ $(document).ready(function() {
400
368
  visibility_nonfrozen_novel = true;
401
369
  if (typeof visibility_open_new_tab === "undefined")
402
370
  visibility_open_new_tab = false;
371
+ if (typeof visibility_buttons_hide_page_top === "undefined")
372
+ visibility_buttons_hide_page_top = true;
403
373
  if (typeof visibility_buttons_fix_footer === "undefined")
404
374
  visibility_buttons_fix_footer = false;
405
375
  // メニューのチェック状態も復元
@@ -407,6 +377,7 @@ $(document).ready(function() {
407
377
  $("#action-view-frozen")[method[visibility_frozen_novel | 0]]("active");
408
378
  $("#action-view-nonfrozen")[method[visibility_nonfrozen_novel | 0]]("active");
409
379
  $("#action-view-toggle-setting-page-open-new-tab")[method[visibility_open_new_tab | 0]]("active");
380
+ $("#action-view-toggle-buttons-show-page-top")[method[visibility_buttons_hide_page_top | 0]]("active");
410
381
  $("#action-view-toggle-buttons-fix-footer")[method[visibility_buttons_fix_footer | 0]]("active");
411
382
  }
412
383
 
@@ -463,12 +434,11 @@ $(document).ready(function() {
463
434
  /*
464
435
  * イジェクトボタンの show / hide イベント
465
436
  */
466
- var $button_eject = $("#button-eject");
467
437
  notification.on("device.ejectable", function(ejectable) {
468
438
  if (ejectable)
469
- $button_eject.removeClass("hide");
439
+ $(".button-eject").removeClass("hide");
470
440
  else
471
- $button_eject.addClass("hide");
441
+ $(".button-eject").addClass("hide");
472
442
  });
473
443
 
474
444
  /*************************************************************
@@ -882,19 +852,36 @@ $(document).ready(function() {
882
852
 
883
853
  /*
884
854
  * メニュー
885
- * 表示>ボタンを画面下部に固定
855
+ * 表示>ボタンをページ上部に表示
856
+ */
857
+ $("#action-view-toggle-buttons-show-page-top").on(click_event_name, function(e) {
858
+ e.preventDefault();
859
+ slideNavbar.slide();
860
+ $(this).toggleClass("active");
861
+ var is_hide_buttons_page_top = !storage.get("buttons_hide_page_top");
862
+ storage.set("buttons_hide_page_top", is_hide_buttons_page_top);
863
+ storage.save();
864
+ if (is_hide_buttons_page_top)
865
+ $("#control-panel").addClass("hide");
866
+ else
867
+ $("#control-panel").removeClass("hide");
868
+ });
869
+
870
+ /*
871
+ * メニュー
872
+ * 表示>ボタンを画面下部に表示
886
873
  */
887
874
  $("#action-view-toggle-buttons-fix-footer").on(click_event_name, function(e) {
888
875
  e.preventDefault();
889
876
  slideNavbar.slide();
890
877
  $(this).toggleClass("active");
891
- fixed_buttons = !storage.get("buttons_fix_footer");
892
- storage.set("buttons_fix_footer", fixed_buttons);
878
+ var is_fixed_buttons = !storage.get("buttons_fix_footer");
879
+ storage.set("buttons_fix_footer", is_fixed_buttons);
893
880
  storage.save();
894
- if (fixed_buttons)
895
- fix_buttons_to_footer();
881
+ if (is_fixed_buttons)
882
+ $("#footer-navbar").removeClass("hide");
896
883
  else
897
- cancel_fix_buttons();
884
+ $("#footer-navbar").addClass("hide");
898
885
  });
899
886
 
900
887
  /*
@@ -1090,28 +1077,19 @@ $(document).ready(function() {
1090
1077
  var selected_count = table.rows(".selected").data().length;
1091
1078
  $("#badge-number-of-selecting").text(selected_count);
1092
1079
  if (selected_count > 0) {
1093
- refreshTooltop("#button-update", "選択した小説を更新");
1094
- refreshTooltop("#button-send", "選択した小説を送信");
1080
+ refreshTooltop(".button-update", "選択した小説を更新");
1081
+ refreshTooltop(".button-send", "選択した小説を送信");
1095
1082
  enable_menu_item(".enable-selected");
1096
1083
  }
1097
1084
  else {
1098
- refreshTooltop("#button-update", "すべての小説を更新");
1099
- refreshTooltop("#button-send", "更新された小説を送信");
1085
+ refreshTooltop(".button-update", "すべての小説を更新");
1086
+ refreshTooltop(".button-send", "更新された小説を送信");
1100
1087
  disable_menu_item(".enable-selected");
1101
1088
  }
1102
1089
  });
1103
1090
  };
1104
1091
  register_badge_number_of_selecting(table);
1105
1092
 
1106
- /*
1107
- * Tooltip 化
1108
- */
1109
- refreshTooltop("[data-toggle=tooltip]");
1110
-
1111
- $("button").on("mouseleave", function() {
1112
- $(this).tooltip("hide");
1113
- });
1114
-
1115
1093
  /*
1116
1094
  * ボタンを一時的に非アクティブ化
1117
1095
  */
@@ -1129,7 +1107,7 @@ $(document).ready(function() {
1129
1107
  * ボタン
1130
1108
  * Download > 新規ダウンロード
1131
1109
  */
1132
- $("#button-download").on("click", function(e) {
1110
+ $(".button-download").on("click", function(e) {
1133
1111
  e.preventDefault();
1134
1112
  action.download();
1135
1113
  });
@@ -1138,7 +1116,7 @@ $(document).ready(function() {
1138
1116
  * ボタン
1139
1117
  * Download > 選択した小説を強制再ダウンロード
1140
1118
  */
1141
- $("#button-download-force").on("click", function(e) {
1119
+ $(".button-download-force").on("click", function(e) {
1142
1120
  e.preventDefault();
1143
1121
  action.downloadForce();
1144
1122
  });
@@ -1147,7 +1125,7 @@ $(document).ready(function() {
1147
1125
  * ボタン
1148
1126
  * Update
1149
1127
  */
1150
- $("#button-update").on("click", function(e) {
1128
+ $(".button-update").on("click", function(e) {
1151
1129
  e.preventDefault();
1152
1130
  disableButtonMoment($(this));
1153
1131
  action.update();
@@ -1157,7 +1135,7 @@ $(document).ready(function() {
1157
1135
  * ボタン
1158
1136
  * Update > 表示されている小説を更新
1159
1137
  */
1160
- $("#button-update-view").on("click", function(e) {
1138
+ $(".button-update-view").on("click", function(e) {
1161
1139
  e.preventDefault();
1162
1140
  action.updateView();
1163
1141
  });
@@ -1166,7 +1144,7 @@ $(document).ready(function() {
1166
1144
  * ボタン
1167
1145
  * Update > 最新話掲載日を更新
1168
1146
  */
1169
- $("#button-update-general-lastup").on("click", function(e) {
1147
+ $(".button-update-general-lastup").on("click", function(e) {
1170
1148
  e.preventDefault();
1171
1149
  action.updateGeneralLastup();
1172
1150
  });
@@ -1175,7 +1153,7 @@ $(document).ready(function() {
1175
1153
  * ボタン
1176
1154
  * Update > 凍結済みも更新
1177
1155
  */
1178
- $("#button-update-force").on("click", function(e) {
1156
+ $(".button-update-force").on("click", function(e) {
1179
1157
  e.preventDefault();
1180
1158
  action.updateForce();
1181
1159
  });
@@ -1184,7 +1162,7 @@ $(document).ready(function() {
1184
1162
  * ボタン
1185
1163
  * Send
1186
1164
  */
1187
- $("#button-send").on("click", function(e) {
1165
+ $(".button-send").on("click", function(e) {
1188
1166
  e.preventDefault();
1189
1167
  disableButtonMoment($(this));
1190
1168
  action.send();
@@ -1194,7 +1172,7 @@ $(document).ready(function() {
1194
1172
  * ボタン
1195
1173
  * Send > hotnentry を送信
1196
1174
  */
1197
- $("#button-send-hotentry").on("click", function(e) {
1175
+ $(".button-send-hotentry").on("click", function(e) {
1198
1176
  e.preventDefault();
1199
1177
  action.send("hotentry");
1200
1178
  });
@@ -1203,7 +1181,7 @@ $(document).ready(function() {
1203
1181
  * ボタン
1204
1182
  * Freeze > 選択した小説を凍結
1205
1183
  */
1206
- $("#button-freeze-on").on("click", function(e) {
1184
+ $(".button-freeze-on").on("click", function(e) {
1207
1185
  e.preventDefault();
1208
1186
  action.freezeOn();
1209
1187
  });
@@ -1212,7 +1190,7 @@ $(document).ready(function() {
1212
1190
  * ボタン
1213
1191
  * Freeze > 選択した小説の凍結を解除
1214
1192
  */
1215
- $("#button-freeze-off").on("click", function(e) {
1193
+ $(".button-freeze-off").on("click", function(e) {
1216
1194
  e.preventDefault();
1217
1195
  action.freezeOff();
1218
1196
  });
@@ -1221,7 +1199,7 @@ $(document).ready(function() {
1221
1199
  * ボタン
1222
1200
  * Remove > 選択した小説を削除
1223
1201
  */
1224
- $("#button-remove").on("click", function(e) {
1202
+ $(".button-remove").on("click", function(e) {
1225
1203
  e.preventDefault();
1226
1204
  action.remove();
1227
1205
  });
@@ -1230,7 +1208,7 @@ $(document).ready(function() {
1230
1208
  * ボタン
1231
1209
  * Convert
1232
1210
  */
1233
- $("#button-convert").on("click", function(e) {
1211
+ $(".button-convert").on("click", function(e) {
1234
1212
  e.preventDefault();
1235
1213
  disableButtonMoment($(this));
1236
1214
  action.convert();
@@ -1240,7 +1218,7 @@ $(document).ready(function() {
1240
1218
  * ボタン
1241
1219
  * Other > 選択した小説の差分を表示
1242
1220
  */
1243
- $("#button-diff").on("click", function(e) {
1221
+ $(".button-diff").on("click", function(e) {
1244
1222
  e.preventDefault();
1245
1223
  action.diff();
1246
1224
  });
@@ -1249,7 +1227,7 @@ $(document).ready(function() {
1249
1227
  * ボタン
1250
1228
  * Other > 選択した小説の調査状況ログを表示
1251
1229
  */
1252
- $("#button-inspect").on("click", function(e) {
1230
+ $(".button-inspect").on("click", function(e) {
1253
1231
  e.preventDefault();
1254
1232
  action.inspect();
1255
1233
  });
@@ -1258,7 +1236,7 @@ $(document).ready(function() {
1258
1236
  * ボタン
1259
1237
  * Other > 選択した小説の保存フォルダを開く
1260
1238
  */
1261
- $("#button-folder").on("click", function(e) {
1239
+ $(".button-folder").on("click", function(e) {
1262
1240
  e.preventDefault();
1263
1241
  action.folder();
1264
1242
  });
@@ -1267,7 +1245,7 @@ $(document).ready(function() {
1267
1245
  * ボタン
1268
1246
  * Other > 選択した小説のバックアップを作成
1269
1247
  */
1270
- $("#button-backup").on("click", function(e) {
1248
+ $(".button-backup").on("click", function(e) {
1271
1249
  e.preventDefault();
1272
1250
  action.backup();
1273
1251
  });
@@ -1276,7 +1254,7 @@ $(document).ready(function() {
1276
1254
  * ボタン
1277
1255
  * Other > 選択した小説の設定の未設定項目に共通設定を焼付ける
1278
1256
  */
1279
- $("#button-setting-burn").on("click", function(e) {
1257
+ $(".button-setting-burn").on("click", function(e) {
1280
1258
  e.preventDefault();
1281
1259
  action.settingBurn();
1282
1260
  });
@@ -1285,7 +1263,7 @@ $(document).ready(function() {
1285
1263
  * ボタン
1286
1264
  * Eject
1287
1265
  */
1288
- $("#button-eject").on("click", function(e) {
1266
+ $(".button-eject").on("click", function(e) {
1289
1267
  e.preventDefault();
1290
1268
  action.eject();
1291
1269
  });
@@ -1374,5 +1352,44 @@ $(document).ready(function() {
1374
1352
  }
1375
1353
 
1376
1354
  disable_menu_item(".navbar li.disabled");
1355
+
1356
+ /*
1357
+ * コントロールパネル(操作ボタン群)をフッターにコピーする
1358
+ */
1359
+ function copy_buttons_to_footer() {
1360
+ refreshTooltop(
1361
+ $("#control-panel > div")
1362
+ .clone(true)
1363
+ .appendTo("#footer-navbar > .container")
1364
+ .addClass("in-footer dropup")
1365
+ .find("[data-toggle=tooltip]")
1366
+ .data("placement", "top")
1367
+ );
1368
+ table.fireChangeSelect();
1369
+ }
1370
+
1371
+ function fix_buttons() {
1372
+ }
1373
+
1374
+ function cancel_fix_buttons() {
1375
+ $("#footer-navbar").addClass("hide");
1376
+ }
1377
+
1378
+ if (storage.get("buttons_hide_page_top"))
1379
+ $("#control-panel").addClass("hide");
1380
+
1381
+ copy_buttons_to_footer();
1382
+ if (storage.get("buttons_fix_footer"))
1383
+ $("#footer-navbar").removeClass("hide");
1384
+
1385
+ /*
1386
+ * Tooltip 化
1387
+ */
1388
+ refreshTooltop("[data-toggle=tooltip]");
1389
+
1390
+ $("button").on("mouseleave", function() {
1391
+ $(this).tooltip("hide");
1392
+ });
1393
+
1377
1394
  });
1378
1395
 
@@ -97,7 +97,7 @@
97
97
  });
98
98
 
99
99
  :scss
100
- $height: 430px;
100
+ $height: 410px;
101
101
 
102
102
  #menu_items {
103
103
  height: $height;
@@ -36,11 +36,16 @@
36
36
  %span.active-ok.glyphicon.glyphicon-ok
37
37
  変換設定ページは新規タブで開く
38
38
  %li.divider
39
+ %li#action-view-toggle-buttons-show-page-top
40
+ %a(href="#")
41
+ %span
42
+ %span.active-ok.glyphicon.glyphicon-ok
43
+ ボタンをページ上部に表示
39
44
  %li#action-view-toggle-buttons-fix-footer
40
45
  %a(href="#")
41
46
  %span
42
47
  %span.active-ok.glyphicon.glyphicon-ok
43
- ボタンを画面下部に固定
48
+ ボタンを画面下部に表示
44
49
  %li.divider
45
50
  %li#action-view-link-to-edit-menu
46
51
  %a(href="/edit_menu")
@@ -199,35 +204,35 @@
199
204
  #control-panel
200
205
  .control-panel-inner
201
206
  .btn-group
202
- %button#button-download.btn.btn-primary(type="button" data-toggle="tooltip" |
207
+ %button.button-download.btn.btn-primary(type="button" data-toggle="tooltip" |
203
208
  title="新規ダウンロード") Download |
204
209
  %button.btn.btn-primary.dropdown-toggle(type="button" data-toggle="dropdown")
205
210
  %span.caret
206
211
  %span.sr-only Toggle Dropdown
207
212
  %ul.dropdown-menu(role="menu")
208
213
  %li
209
- %a#button-download-force(href="#") 選択した小説を強制再ダウンロード
214
+ %a.button-download-force(href="#") 選択した小説を強制再ダウンロード
210
215
  .btn-group
211
- %button#button-update.btn.btn-success(type="button" data-toggle="tooltip") Update
216
+ %button.button-update.btn.btn-success(type="button" data-toggle="tooltip") Update
212
217
  %button.btn.btn-success.dropdown-toggle(type="button" data-toggle="dropdown")
213
218
  %span.caret
214
219
  %span.sr-only Toggle Dropdown
215
220
  %ul.dropdown-menu(role="menu")
216
221
  %li
217
- %a#button-update-view(href="#") 表示されている小説を更新
222
+ %a.button-update-view(href="#") 表示されている小説を更新
218
223
  %li
219
- %a#button-update-force(href="#") 凍結済みでも更新
224
+ %a.button-update-force(href="#") 凍結済みでも更新
220
225
  %li
221
- %a#button-update-general-lastup(href="#") 最新話掲載日を更新
226
+ %a.button-update-general-lastup(href="#") 最新話掲載日を更新
222
227
  .btn-group
223
- %button#button-send.btn.btn-warning(type="button" data-toggle="tooltip") Send
228
+ %button.button-send.btn.btn-warning(type="button" data-toggle="tooltip") Send
224
229
  - if Inventory.load("local_setting")["hotentry"]
225
230
  %button.btn.btn-warning.dropdown-toggle(type="button" data-toggle="dropdown")
226
231
  %span.caret
227
232
  %span.sr-only Toggle Dropdown
228
233
  %ul.dropdown-menu(role="menu")
229
234
  %li
230
- %a#button-send-hotentry(href="#") hotentry を送信
235
+ %a.button-send-hotentry(href="#") hotentry を送信
231
236
  .btn-group
232
237
  %button.btn.btn-info.dropdown-toggle.enable-selected(type="button" data-toggle="dropdown")
233
238
  Freeze
@@ -235,14 +240,14 @@
235
240
  %span.sr-only Toggle Dropdown
236
241
  %ul.dropdown-menu(role="menu")
237
242
  %li
238
- %a#button-freeze-on(href="#") 選択した小説を凍結
243
+ %a.button-freeze-on(href="#") 選択した小説を凍結
239
244
  %li
240
- %a#button-freeze-off(href="#") 選択した小説の凍結を解除
245
+ %a.button-freeze-off(href="#") 選択した小説の凍結を解除
241
246
  .btn-group
242
- %button#button-remove.btn.btn-danger.enable-selected(type="button" data-toggle="tooltip" |
247
+ %button.button-remove.btn.btn-danger.enable-selected(type="button" data-toggle="tooltip" |
243
248
  title="選択した小説を削除") Remove |
244
249
  .btn-group
245
- %button#button-convert.btn.btn-default.enable-selected(type="button" data-toggle="tooltip" |
250
+ %button.button-convert.btn.btn-default.enable-selected(type="button" data-toggle="tooltip" |
246
251
  title="選択した小説を変換") Convert |
247
252
  .btn-group
248
253
  %button.btn.btn-default.dropdown-toggle.enable-selected(type="button" data-toggle="dropdown")
@@ -251,17 +256,17 @@
251
256
  %span.sr-only Toggle Dropdown
252
257
  %ul.dropdown-menu(role="menu")
253
258
  %li
254
- %a#button-diff(href="#") 選択した小説の最新の差分を表示
259
+ %a.button-diff(href="#") 選択した小説の最新の差分を表示
255
260
  %li
256
- %a#button-inspect(href="#") 選択した小説の調査状況ログを表示
261
+ %a.button-inspect(href="#") 選択した小説の調査状況ログを表示
257
262
  %li
258
- %a#button-folder(href="#") 選択した小説の保存フォルダを開く
263
+ %a.button-folder(href="#") 選択した小説の保存フォルダを開く
259
264
  %li
260
- %a#button-backup(href="#") 選択した小説のバックアップを作成
265
+ %a.button-backup(href="#") 選択した小説のバックアップを作成
261
266
  %li
262
- %a#button-setting-burn(href="#") 選択した小説の設定の未設定項目に共通設定を焼付ける
267
+ %a.button-setting-burn(href="#") 選択した小説の設定の未設定項目に共通設定を焼付ける
263
268
  .btn-group
264
- %button#button-eject.hide.btn.btn-default(type="button" data-toggle="tooltip" title="端末を取り出す")
269
+ %button.button-eject.hide.btn.btn-default(type="button" data-toggle="tooltip" title="端末を取り出す")
265
270
  Eject
266
271
 
267
272
  -# 小説の一覧テーブル
@@ -46,6 +46,15 @@ body {
46
46
  }
47
47
  }
48
48
 
49
+ // FireFox リンク選択時の点線を消す
50
+ a:link,
51
+ a:visited,
52
+ a:active,
53
+ a:hover {
54
+ overflow: hidden;
55
+ outline: none;
56
+ }
57
+
49
58
  .centering {
50
59
  left: 0;
51
60
  right: 0;
data/narou.gemspec CHANGED
@@ -32,6 +32,20 @@ Gem::Specification.new do |gem|
32
32
  install_message = <<-EOS
33
33
  #{"*" * 60}
34
34
 
35
+ 2.9.1 : 2016/03/30
36
+ ------------------
37
+ #### 仕様変更
38
+ - 「メニュー>表示」の、「ボタンを画面下部に固定」を「ボタンを画面下部に表示」
39
+ に変更しました。それに合わせて、「ボタンをページ上部に表示」を追加しました。
40
+ 画面下部にボタンを固定表示した場合でも、今までのボタンを残せるようになります
41
+
42
+ #### 修正
43
+ - inspect コマンドでエラーが出る場合があったのを修正
44
+ - diff コマンドの引数を省略した時にエラーが出ていたのを修正
45
+ - Internet Explorer で WEB UI が正常に動作しない不具合を修正
46
+
47
+
48
+
35
49
  2.9.0 : 2016/03/28
36
50
  ------------------
37
51
  #### WEB UI
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: narou
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.0
4
+ version: 2.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - whiteleaf7
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-27 00:00:00.000000000 Z
11
+ date: 2016-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: termcolorlight
@@ -538,6 +538,20 @@ metadata: {}
538
538
  post_install_message: |
539
539
  ************************************************************
540
540
 
541
+ 2.9.1 : 2016/03/30
542
+ ------------------
543
+ #### 仕様変更
544
+ - 「メニュー>表示」の、「ボタンを画面下部に固定」を「ボタンを画面下部に表示」
545
+ に変更しました。それに合わせて、「ボタンをページ上部に表示」を追加しました。
546
+ 画面下部にボタンを固定表示した場合でも、今までのボタンを残せるようになります
547
+
548
+ #### 修正
549
+ - inspect コマンドでエラーが出る場合があったのを修正
550
+ - diff コマンドの引数を省略した時にエラーが出ていたのを修正
551
+ - Internet Explorer で WEB UI が正常に動作しない不具合を修正
552
+
553
+
554
+
541
555
  2.9.0 : 2016/03/28
542
556
  ------------------
543
557
  #### WEB UI