This commit is contained in:
zhongjin 2024-05-23 15:09:59 +08:00
parent 6a4badb048
commit e6648d1830
9 changed files with 275 additions and 0 deletions

9
config/locales/zh-CN.yml Normal file
View File

@ -0,0 +1,9 @@
# Sample localization file for English. Add more files in this directory for other locales.
# See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
zh-CN:
user_mailer:
ask_for_invitation:
subject: 'Thanks for signing up for cartodb beta'
invitation_sent:
subject: 'Thanks for signing up for cartodb beta'

View File

@ -0,0 +1,11 @@
<svg width="58px" height="38px" viewBox="688 430 58 38" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="IMG" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" transform="translate(689.000000, 431.000000)">
<path d="M0,2.00174332 C0,0.89621101 0.902308181,0 1.99306965,0 L54.0069304,0 C55.1076723,0 56,0.889261723 56,2.00174332 L56,29.9982567 C56,31.103789 55.1032859,32 54.0073354,32 L17.4262695,32 L8,36 L8,32 L1.99810135,32 C0.894580447,32 0,31.1107383 0,29.9982567 L0,2.00174332 L0,2.00174332 Z" id="Rectangle-2087" stroke="#EEEEEE" fill="#FFFFFF"></path>
<path d="M54.0069304,0 C55.1076723,0 56,0.901950359 56,2.0085302 L56,12 L0,12 L0,2.0085302 C0,0.899249601 0.902308181,0 1.99306965,0 L54.0069304,0 Z" id="Rectangle-678" fill="#CBCED0"></path>
<rect id="Rectangle-678" fill="#FFFFFF" opacity="0.32" x="6" y="4" width="28" height="4"></rect>
<rect id="Rectangle-679" fill="#DDDDDD" x="5" y="17" width="45" height="2"></rect>
<rect id="Rectangle-680" fill="#DDDDDD" x="5" y="21" width="26" height="2"></rect>
<rect id="Rectangle-680" fill="#DDDDDD" x="5" y="25" width="19" height="2"></rect>
<path d="M43.6,6 L46,8 L49.6,2 L52,10 L40,10 L43.6,6 Z M41,4 C41.5522847,4 42,3.55228475 42,3 C42,2.44771525 41.5522847,2 41,2 C40.4477153,2 40,2.44771525 40,3 C40,3.55228475 40.4477153,4 41,4 Z" id="Rectangle-5896" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -0,0 +1,11 @@
<svg width="58px" height="38px" viewBox="688 430 58 38" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="IMG" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" transform="translate(689.000000, 431.000000)">
<path d="M0,2.00174332 C0,0.89621101 0.902308181,0 1.99306965,0 L54.0069304,0 C55.1076723,0 56,0.889261723 56,2.00174332 L56,29.9982567 C56,31.103789 55.1032859,32 54.0073354,32 L17.4262695,32 L8,36 L8,32 L1.99810135,32 C0.894580447,32 0,31.1107383 0,29.9982567 L0,2.00174332 L0,2.00174332 Z" id="Rectangle-2087" stroke="#EEEEEE" fill="#FFFFFF"></path>
<path d="M54.0069304,0 C55.1076723,0 56,0.901950359 56,2.0085302 L56,12 L0,12 L0,2.0085302 C0,0.899249601 0.902308181,0 1.99306965,0 L54.0069304,0 Z" id="Rectangle-678" fill="#CBCED0"></path>
<rect id="Rectangle-678" fill="#FFFFFF" opacity="0.32" x="6" y="4" width="28" height="4"></rect>
<rect id="Rectangle-679" fill="#DDDDDD" x="5" y="17" width="45" height="2"></rect>
<rect id="Rectangle-680" fill="#DDDDDD" x="5" y="21" width="26" height="2"></rect>
<rect id="Rectangle-680" fill="#DDDDDD" x="5" y="25" width="19" height="2"></rect>
<path d="M43.6,6 L46,8 L49.6,2 L52,10 L40,10 L43.6,6 Z M41,4 C41.5522847,4 42,3.55228475 42,3 C42,2.44771525 41.5522847,2 41,2 C40.4477153,2 40,2.44771525 40,3 C40,3.55228475 40.4477153,4 41,4 Z" id="Rectangle-5896" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -0,0 +1,36 @@
<div class="CDB-infowindow CDB-infowindow--light js-infowindow" data-h5url="true">
<div class="CDB-infowindow-close js-close"></div>
<div class="CDB-infowindow-container">
<div class="CDB-infowindow-header CDB-infowindow-headerMedia js-header js-cover">
{{#loading}}<div class="CDB-Loader js-loader"></div>{{/loading}}
<div class="CDB-infowindow-mediaTitle">
{{#content.fields.1}}
{{#value}}
<h4 class="CDB-infowindow-title">
<span>{{{ value }}}</span>
</h4>
{{/value}}
{{/content.fields.1}}
</div>
<iframe id="mainContent" width="100%" height="100%" src=""></iframe>
</div>
<div class="CDB-infowindow-inner js-inner">
{{#loading}}<div class="CDB-Loader js-loader"></div>{{/loading}}
<div class="CDB-infowindow-list js-content">
{{#content.fields}}
{{#index}}
<div class="CDB-infowindow-listItem CDB-infowindow-listItem--order{{index}}">
{{#title}}<h5 class="CDB-infowindow-subtitle">{{title}}</h5>{{/title}}
{{#value}}<h4 class="CDB-infowindow-title">{{{ value }}}</h4>{{/value}}
{{^value}}<h4 class="CDB-infowindow-title">null</h4>{{/value}}
</div>
{{/index}}
{{/content.fields}}
</div>
</div>
<div class="CDB-hook">
<div class="CDB-hook-inner"></div>
</div>
</div>
</div>

View File

@ -0,0 +1,40 @@
<div class="CDB-infowindow CDB-infowindow--light js-infowindow" data-video="true">
<div class="CDB-infowindow-close js-close"></div>
<div class="CDB-infowindow-container">
<div class="CDB-infowindow-header CDB-infowindow-headerMedia js-header js-cover">
{{#loading}}<div class="CDB-Loader js-loader"></div>{{/loading}}
<div class="CDB-infowindow-mediaTitle">
{{#content.fields.1}}
{{#value}}
<h4 class="CDB-infowindow-title">
<span>{{{ value }}}</span>
</h4>
{{/value}}
{{/content.fields.1}}
</div>
<div>
<video muted="muted" id="hls-video" width="100%" class="video-js vjs-default-skin vjs-big-play-centered" controls
preload="auto" data-setup="{}" poster="" style="width:100%;height:auto">
<source src="" type="application/x-mpegURL" id="target">
</video>
</div>
</div>
<div class="CDB-infowindow-inner js-inner">
{{#loading}}<div class="CDB-Loader js-loader"></div>{{/loading}}
<div class="CDB-infowindow-list js-content">
{{#content.fields}}
{{#index}}
<div class="CDB-infowindow-listItem CDB-infowindow-listItem--order{{index}}">
{{#title}}<h5 class="CDB-infowindow-subtitle">{{title}}</h5>{{/title}}
{{#value}}<h4 class="CDB-infowindow-title">{{{ value }}}</h4>{{/value}}
{{^value}}<h4 class="CDB-infowindow-title">null</h4>{{/value}}
</div>
{{/index}}
{{/content.fields}}
</div>
</div>
<div class="CDB-hook">
<div class="CDB-hook-inner"></div>
</div>
</div>
</div>

View File

@ -0,0 +1,38 @@
<div class="CDB-infowindow CDB-infowindow--light js-infowindow" data-cover="true">
<div class="CDB-infowindow-close js-close"></div>
<div class="CDB-infowindow-container">
<div class="CDB-infowindow-header CDB-infowindow-headerMedia js-header js-cover">
{{#loading}}<div class="CDB-Loader js-loader"></div>{{/loading}}
<div class="CDB-infowindow-mediaTitle">
{{#content.fields.1}}
<h4 class="CDB-infowindow-title">
<span>{{=<% %>=}}{{<%={{ }}=%>{{{ name }}}{{=<% %>=}}}}<%={{ }}=%></span>
</h4>
{{/content.fields.1}}
</div>
</div>
<div class="CDB-infowindow-inner js-inner">
{{#loading}}<div class="CDB-Loader js-loader"></div>{{/loading}}
<div class="CDB-infowindow-list js-content">
{{#content.fields}}
{{#position}}
<div class="CDB-infowindow-listItem CDB-infowindow-listItem--order{{position}}">
{{#title}}
{{#alternative_name}}
<h5 class="CDB-infowindow-subtitle">{{{alternative_name}}}</h5>
{{/alternative_name}}
{{^alternative_name}}
<h5 class="CDB-infowindow-subtitle">{{{name}}}</h5>
{{/alternative_name}}
{{/title}}
<h4 class="CDB-infowindow-title">{{=<% %>=}}{{<%={{ }}=%>{{{ name }}}{{=<% %>=}}}}<%={{ }}=%></h4>
</div>
{{/position}}
{{/content.fields}}
</div>
</div>
<div class="CDB-hook">
<div class="CDB-hook-inner"></div>
</div>
</div>
</div>

View File

@ -0,0 +1,38 @@
<div class="CDB-infowindow CDB-infowindow--light js-infowindow" data-cover="true">
<div class="CDB-infowindow-close js-close"></div>
<div class="CDB-infowindow-container">
<div class="CDB-infowindow-header CDB-infowindow-headerMedia js-header js-cover">
{{#loading}}<div class="CDB-Loader js-loader"></div>{{/loading}}
<div class="CDB-infowindow-mediaTitle">
{{#content.fields.1}}
<h4 class="CDB-infowindow-title">
<span>{{=<% %>=}}{{<%={{ }}=%>{{{ name }}}{{=<% %>=}}}}<%={{ }}=%></span>
</h4>
{{/content.fields.1}}
</div>
</div>
<div class="CDB-infowindow-inner js-inner">
{{#loading}}<div class="CDB-Loader js-loader"></div>{{/loading}}
<div class="CDB-infowindow-list js-content">
{{#content.fields}}
{{#position}}
<div class="CDB-infowindow-listItem CDB-infowindow-listItem--order{{position}}">
{{#title}}
{{#alternative_name}}
<h5 class="CDB-infowindow-subtitle">{{{alternative_name}}}</h5>
{{/alternative_name}}
{{^alternative_name}}
<h5 class="CDB-infowindow-subtitle">{{{name}}}</h5>
{{/alternative_name}}
{{/title}}
<h4 class="CDB-infowindow-title">{{=<% %>=}}{{<%={{ }}=%>{{{ name }}}{{=<% %>=}}}}<%={{ }}=%></h4>
</div>
{{/position}}
{{/content.fields}}
</div>
</div>
<div class="CDB-hook">
<div class="CDB-hook-inner"></div>
</div>
</div>
</div>

View File

@ -0,0 +1,46 @@
<div class="cartodb-popup header with-image v2" data-cover="true">
<a href="#close" class="cartodb-popup-close-button close">x</a>
<div class="cartodb-popup-header">
<div class="cover">
<div id="spinner"></div>
<div class="image_not_found"> <i></i> <a href="#map" class="help">Non-valid picture URL</a></div>
{{#content.fields}}
{{#index}}
{{#value}}
<h1 class="order{{index}}">{{{ value }}}</h1>
{{/value}}
{{^value}}
<h1 class="order{{index}}">null</h1>
{{/value}}
{{/index}}
{{^index}}
{{^value}}
<h1 class="empty">null</h1>
{{/value}}
<span class="separator"></span>
{{/index}}
{{/content.fields}}
<div class="shadow"></div>
</div>
</div>
<div class="cartodb-popup-content-wrapper">
<div class="cartodb-popup-content">
{{#content.fields}}
<div class="order{{index}}">
{{#index}}
{{#title}}<h4>{{title}}</h4>{{/title}}
{{#value}}
<p>{{{ value }}}</p>
{{/value}}
{{^value}}
<p class="empty">null</p>
{{/value}}
{{/index}}
</div>
{{/content.fields}}
</div>
</div>
<div class="cartodb-popup-tip-container"></div>
</div>

View File

@ -0,0 +1,46 @@
<div class="cartodb-popup header with-image v2" data-cover="true">
<a href="#close" class="cartodb-popup-close-button close">x</a>
<div class="cartodb-popup-header">
<div class="cover">
<div id="spinner"></div>
<div class="image_not_found"> <i></i> <a href="#map" class="help">Non-valid picture URL</a></div>
{{#content.fields}}
{{#index}}
{{#value}}
<h1 class="order{{index}}">{{{ value }}}</h1>
{{/value}}
{{^value}}
<h1 class="order{{index}}">null</h1>
{{/value}}
{{/index}}
{{^index}}
{{^value}}
<h1 class="empty">null</h1>
{{/value}}
<span class="separator"></span>
{{/index}}
{{/content.fields}}
<div class="shadow"></div>
</div>
</div>
<div class="cartodb-popup-content-wrapper">
<div class="cartodb-popup-content">
{{#content.fields}}
<div class="order{{index}}">
{{#index}}
{{#title}}<h4>{{title}}</h4>{{/title}}
{{#value}}
<p>{{{ value }}}</p>
{{/value}}
{{^value}}
<p class="empty">null</p>
{{/value}}
{{/index}}
</div>
{{/content.fields}}
</div>
</div>
<div class="cartodb-popup-tip-container"></div>
</div>