Removed option to disable model attribution

Some models have robot attribution as a requirement in the usage
agreement
This commit is contained in:
somebody
2023-01-04 17:22:47 -06:00
parent ab0277549c
commit 8460b0de68
3 changed files with 1 additions and 30 deletions

View File

@@ -1167,11 +1167,9 @@ class user_settings(settings):
self.cluster_requested_models = [] # The models which we allow to generate during cluster mode
self.wigen_use_own_wi = False
self.wigen_amount = 80
self.screenshot_show_attribution = True
self.screenshot_show_story_title = True
self.screenshot_show_author_name = True
self.screenshot_author_name = "Anonymous"
self.screenshot_show_model_name = True
self.screenshot_use_boring_colors = False

View File

@@ -6972,16 +6972,6 @@ sync_hooks.push({
}
});
sync_hooks.push({
class: "user",
name: "screenshot_show_attribution",
func: function(show) {
robotAttribution.classList.toggle("hidden", !show);
$el("#screenshot-options-attribution").classList.toggle("disabled", !show);
if (show) robotAttribution.scrollIntoView();
}
});
sync_hooks.push({
class: "user",
name: "screenshot_show_story_title",
@@ -7001,15 +6991,6 @@ sync_hooks.push({
}
});
sync_hooks.push({
class: "user",
name: "screenshot_show_model_name",
func: function(show) {
$el("#model-name-vis").classList.toggle("hidden", !show);
robotAttribution.scrollIntoView();
}
});
sync_hooks.push({
class: "user",
name: "screenshot_use_boring_colors",

View File

@@ -366,11 +366,7 @@
FIXME: screenshot-setting is a lazy hack until var_sync can converted to an attribute for scanning and such
-->
<span class="header">Options</span>
<div class="option">
Show Attribution
<input id="sw-attribution" class="screenshot-setting var_sync_user_screenshot_show_attribution" type="checkbox" data-size="mini" data-onstyle="success" data-toggle="toggle">
</div>
<div id="screenshot-options-attribution" class="indent">
<div id="screenshot-options-attribution">
<div class="option">
Show Story Title
<input class="screenshot-setting var_sync_user_screenshot_show_story_title" type="checkbox" data-size="mini" data-onstyle="success" data-toggle="toggle">
@@ -385,10 +381,6 @@
<input class="screenshot-setting var_sync_user_screenshot_author_name">
</div>
</div>
<div class="option">
Show Model Name
<input class="screenshot-setting var_sync_user_screenshot_show_model_name" type="checkbox" data-size="mini" data-onstyle="success" data-toggle="toggle">
</div>
<div class="option">
Boring Colors
<input class="screenshot-setting var_sync_user_screenshot_use_boring_colors" type="checkbox" data-size="mini" data-onstyle="success" data-toggle="toggle">